/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */

/*
Document
========
*/

/**
Use a better box model (opinionated).
*/

*,
::before,
::after {
  box-sizing: border-box;
}

html {
  /* Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3) */
  font-family:
    system-ui,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif,
    'Apple Color Emoji',
    'Segoe UI Emoji';
  line-height: 1.15;
  /* 1. Correct the line height in all browsers. */
  -webkit-text-size-adjust: 100%;
  /* 2. Prevent adjustments of font size after orientation changes in iOS. */
  tab-size: 4;
  /* 3. Use a more readable tab size (opinionated). */
}

/*
Sections
========
*/

body {
  margin: 0;
  /* Remove the margin in all browsers. */
}

/*
Text-level semantics
====================
*/

/**
Add the correct font weight in Chrome and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Consolas,
    'Liberation Mono',
    Menlo,
    monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
Tabular data
============
*/

/**
Correct table border color inheritance in Chrome and Safari. (https://issues.chromium.org/issues/40615503, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/

table {
  border-color: currentcolor;
}

/*
Forms
=====
*/

/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
Correct the inability to style clickable types in iOS and Safari.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  appearance: button;
  -webkit-appearance: button;
}

/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/

legend {
  padding: 0;
}

/**
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/**
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  appearance: textfield;
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Interactive
===========
*/

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/* ***** END OF NORMALISE ***** */

/*
========================================
Variables & Fonts
========================================
*/

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-brand: #a1c8ab;
  --color-brand-rgb: 161, 200, 171;
  --color-secondary: #44734c;
  --color-secondary-rgb: 68, 115, 76;
  --color-white: #ffffff;
  --color-white-rgb: 255, 255, 255;
  --color-black: #000000;
  --color-black-rgb: 0, 0, 0;
  --color-dark: #111111;
  --color-dark-rgb: 17, 17, 17;
  --color-ink: #2d3436;
  --color-ink-rgb: 45, 52, 54;
  --color-text: #333333;
  --color-text-rgb: 51, 51, 51;
  --color-grey: #666666;
  --color-grey-rgb: 102, 102, 102;
  --color-light: #f5f5f5;
  --color-light-rgb: 245, 245, 245;
  --color-background: #f5f5f5;
  --color-background-tinted: var(--color-brand);
  --color-border: #dddddd;
  --color-border-rgb: 221, 221, 221;
  --color-danger: #b44631;
  --color-danger-rgb: 180, 70, 49;
  --shadow-rgb: 0, 0, 0;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.08);
  --content-max: 1200px;
  --container-gutter: clamp(8px, 4vw, 16px);
  --radius-xl: 18px;
  --nav-height: 0px;
}

/*
========================================
Base Styles & Typography
========================================
*/

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: "Lato", sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
}

* {
  box-sizing: border-box;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Headings */
h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

/* Typography Helpers */
.font-thin {
  font-weight: 100;
}

.font-regular {
  font-weight: 400;
}

.font-bold {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.color-brand {
  color: var(--color-brand);
}

.color-secondary {
  color: var(--color-secondary);
}

/*
========================================
Layout & Utilities
========================================
*/

.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
}

[id] {
  scroll-margin-top: var(--nav-height);
}

/* Helper Classes */
.flex-row-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .flex-row-column {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}

.margin-bottom-sm {
  margin-bottom: 0.75rem;
}

.margin-bottom-md {
  margin-bottom: 1rem;
}

.margin-bottom-lg {
  margin-bottom: 2rem;
}

/* Sections */
.section {
  background-color: var(--color-background);
  padding: 6rem 0;
}

.section-brand-bg {
  background-color: rgba(var(--color-brand-rgb), 0.3);
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 1rem;
  }
}

/* Specific Section Colors */
#gardencare,
#home-maintenance,
#why-we,
#reviews,
#quote,
#bodycorp {
  background-color: rgba(var(--color-brand-rgb), 0.3);
  color: var(--color-ink);
}

#gardenservices,
#maintenanceservices,
#bodycorporateservices {
  background-color: var(--color-background-tinted);
}

/* Split Layout */
.split-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.split-left,
.split-right {
  flex: 1;
  min-width: 300px;
}

.split-left img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.split-right p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.section.stack-image .split-layout {
  flex-direction: column;
  align-items: stretch;
}

.section.stack-image .split-left,
.section.stack-image .split-right {
  max-width: 900px;
  width: 100%;
  margin-inline: auto;
}

.section.stack-image .split-left {
  margin-bottom: 1.25rem;
}

.section.stack-image .split-left img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(var(--shadow-rgb), 0.15);
}

@media (max-width: 768px) {
  #print .split-layout {
    flex-direction: column-reverse;
  }
}

/* Logo Strip (Layout/Component) */
@media (max-width: 768px) {
  .logo-strip {
    gap: 2rem;
  }

  .logo-strip img {
    height: 40px;
  }
}

/*
========================================
Components
========================================
*/

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--color-brand);
  padding-block: 1rem;
  z-index: 999;
  border-bottom: 3px solid var(--color-brand);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 50px;
  height: auto;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-weight: 900;
  z-index: 1001;
}

.nav-links a {
  font-size: 1rem;
  padding: 0.75rem 1rem;
  display: block;
  color: var(--color-dark);
  position: relative;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0%;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-secondary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-secondary);
}

.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-dark);
  position: relative;
  z-index: 1002;
}

.hide-navbar {
  opacity: 0;
}

.show-navbar {
  opacity: 1;
}

@media (max-width: 1100px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: var(--color-dark);
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 3rem;
    display: flex;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    border-bottom: 10px solid #fff;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: var(--color-brand);
  }

  .nav-links a:focus,
  .nav-links a:active {
    outline: none;
    box-shadow: none;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hamburger {
    display: block;
  }
}

@media (max-width: 768px) {
  .logo {
    height: 30px;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--nav-height));
  padding-top: calc(var(--nav-height) + 1.5rem);
  padding-bottom: 2rem;
  background-image: url("../imgs/hero-bg.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.hero-left {
  flex: 1;
  color: var(--color-light);
}

.hero-left h1 {
  font-size: clamp(2.6rem, 6vw + 1rem, 3.4rem);
  line-height: 1.1;
  text-wrap: balance;
  margin-bottom: 1rem;
}

.hero-left p {
  font-size: clamp(1rem, 0.5vw + 0.8rem, 1.2rem);
  line-height: 1.55;
}

.subtitle {
  font-size: clamp(1.125rem, 1.2vw + 0.8rem, 2rem);
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-logo img {
  max-width: 200px;
  height: auto;
  display: block;
}

.hero-right {
  flex: 1;
}

.hero-right picture,
.hero-right img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-right img {
  aspect-ratio: 3 / 2;
  max-height: clamp(260px, 60vh, 620px);
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(var(--shadow-rgb), 0.25);
  opacity: 0;
  animation: fadeInRight 1.2s ease forwards;
  animation-delay: 1.2s;
}

@media (min-width: 1400px) {
  .hero-right img {
    border-radius: 14px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--nav-height) + 1rem);
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-left {
    text-align: center;
  }

  .hero-right {
    width: 100%;
    max-width: 720px;
  }

  .hero-logo {
    justify-content: center;
  }

  .hero-logo img {
    max-width: 100px;
  }
}

/* --- Buttons --- */
.cta-button,
.cta-buttonTwo {
  display: inline-block;
  padding: clamp(0.65rem, 0.4vw + 0.5rem, 0.9rem) clamp(1.2rem, 1vw + 0.6rem, 2rem);
  font-size: clamp(0.95rem, 0.4vw + 0.8rem, 1.1rem);
  font-weight: 700;
  color: var(--color-text);
  background-color: var(--color-brand);
  border: none;
  border-radius: 999px;
  transition: background-color 0.3s ease, color 0.3s ease;
  opacity: 0;
  cursor: pointer;
}

.cta-button {
  animation: fadeInLeft 1s ease forwards;
  animation-delay: 1.5s;
}

.cta-buttonTwo {
  animation: fadeInLeft 1s ease forwards;
  animation-delay: 2s;
}

.cta-button:hover,
.cta-buttonTwo:hover {
  color: var(--color-light);
  background-color: var(--color-secondary);
}

.cta-button:active,
.cta-buttonTwo:active {
  background-color: var(--color-dark);
  color: var(--color-light);
}

.btn-row {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* --- Badges --- */
.badge {
  display: inline-block;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--color-brand);
  color: var(--color-light);
  border-radius: 999px;
  font-size: 0.85rem;
  backdrop-filter: saturate(120%) blur(2px);
  background: rgba(var(--color-black-rgb), 0.2);
}

.feature-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  justify-items: center;
  align-items: start;
}

.feature-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem;
}

.feature-badge>img {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 0.25rem;
}

.feature-badge h3 {
  margin: 0;
  font-size: 1.05rem;
}

.feature-badge p {
  margin: 0.25rem 0 0;
  max-width: 36ch;
}

@media (max-width: 900px) {
  .feature-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .feature-badges {
    grid-template-columns: 1fr;
  }
}

/* --- Cards --- */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1 1 320px;
  max-width: 350px;
  min-height: 420px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #222;
}

.card-description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
}

@media (max-width: 600px) {
  .cards {
    padding: 0;
    gap: 0;
  }

  .card {
    max-width: 100%;
    box-shadow: none;
    margin-bottom: 1rem;
  }
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.section-header h2.animate-fade-in-up {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.section-header .subtitle {
  font-size: 1.25rem;
  color: var(--color-grey);
  opacity: 0;
  transform: translateX(-30px);
  transition: all 2s ease;
}

.subtitle.animate-fade-in-left {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.section-header .subtitle.light-grey {
  color: var(--color-light);
}

/* --- Forms --- */
form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--color-text);
}

form input,
form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  color: var(--color-text);
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* --- Toast Notification --- */
.toast {
  visibility: hidden;
  min-width: 250px;
  margin-top: 1rem;
  background-color: var(--color-danger);
  color: var(--color-light);
  text-align: center;
  border-radius: 6px;
  padding: 1rem;
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.5s ease, bottom 0.5s ease;
  box-shadow: 0 8px 20px rgba(var(--shadow-rgb), 0.2);
}

.toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 40px;
}

/* --- Before/After Slider --- */
.ba-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #ddd;
  user-select: none;
  touch-action: none;
  aspect-ratio: 9 / 16;
}

.ba-after,
.ba-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.ba-before {
  clip-path: polygon(0 0, var(--cut, 50%) 0, var(--cut, 50%) 100%, 0 100%);
  transition: clip-path 0.06s linear;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--cut, 50%) - 18px);
  width: 36px;
  border: 0;
  background: transparent;
  cursor: ew-resize;
  outline-offset: 4px;
  transition: left 0.06s linear;
}

.ba-handle-line {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 0 0 6px rgba(0, 0, 0, 0.05);
}

.ba-handle:focus {
  outline: none;
}

.ba-handle:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 4px;
}

.ba-handle:focus:not(:focus-visible) {
  outline: none;
}

.ba-slider.show-before .badge:not(.badge-after) {
  opacity: 1;
}

.ba-slider.show-after .badge.badge-after {
  opacity: 1;
}

@media (max-width: 640px) {
  .ba-slider {
    aspect-ratio: 3 / 4;
  }
}

@media (prefers-reduced-motion: reduce) {

  .ba-before,
  .ba-handle {
    transition: none !important;
  }
}

/* --- Gallery (Grid & Masonry) --- */
.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-item {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.25s ease;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--color-secondary, #44734c);
  outline-offset: 3px;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Masonry layout for gallery.html */
.gallery-grid-masonry {
  display: block;
  /* Override grid so columns work */
  column-count: 2;
  column-gap: 12px;
}

/* Make each item behave nicely in columns */
.gallery-grid-masonry .gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 12px;
  break-inside: avoid;
  -moz-column-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

/* Keep your existing image behaviour */
.gallery-grid-masonry .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .gallery-grid-masonry {
    column-count: 3;
  }
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 1000;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  max-width: min(1200px, 95vw);
  max-height: 85vh;
  margin: 0;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 75vh;
  display: block;
  margin-inline: auto;
  border-radius: 8px;
}

.lightbox-figure figcaption {
  color: #fff;
  text-align: center;
  margin-top: 0.5rem;
  font-size: 1rem;
  opacity: 0.9;
}

.lightbox-close,
.lightbox-nav {
  background: #fff;
  border: 0;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.prev {
  left: 12px;
}

.lightbox-nav.next {
  right: 12px;
}

/* --- Review Cards --- */
.review-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.review-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 6px 16px rgba(var(--shadow-rgb, 0, 0, 0), 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  height: 4px;
  width: 100%;
  background: var(--color-secondary);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.review-card::after {
  content: "“";
  position: absolute;
  top: 0.35rem;
  right: 0.75rem;
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(var(--color-brand-rgb, 161, 200, 171), 0.25);
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(var(--shadow-rgb, 0, 0, 0), 0.1);
}

.review-text {
  margin: 0.25rem 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-ink);
}

.review-author {
  margin: 0;
  color: var(--color-grey);
  font-weight: 700;
}

.stars {
  display: block;
  letter-spacing: 0.2ch;
  margin-bottom: 0.35rem;
  color: var(--color-secondary);
}

@media (max-width: 960px) {
  .review-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .review-cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-card {
    transition: none;
  }

  .review-card:hover {
    transform: none;
  }
}

/* --- FAQ --- */
.faq details {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  background: #fff;
}

.faq details+details {
  margin-top: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-secondary, #44734c);
}

/* --- Scroll Down Arrow --- */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-decoration: none;
  padding-bottom: 40px;
}

.scroll-down .arrow {
  display: block;
  width: 24px;
  height: 24px;
  border-left: 3px solid var(--color-brand);
  border-bottom: 3px solid var(--color-brand);
  transform: rotate(-45deg);
  animation: bounce 2s infinite;
  opacity: 0.85;
}

/*
========================================
Footer
========================================
*/

.site-footer {
  --footer-bg: var(--color-background, #f5f5f5);
  --footer-text: var(--color-text, #333);
  --footer-muted: rgba(0, 0, 0, 0.55);
  --footer-line: rgba(0, 0, 0, 0.08);
  --footer-chip-bg: rgba(var(--color-brand-rgb, 161, 200, 171), 0.18);
  --footer-chip-bg-hover: rgba(var(--color-brand-rgb, 161, 200, 171), 0.28);
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--footer-line);
}

.footer-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) var(--container-gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}

.footer-col {
  min-width: 0;
}

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-copy {
  margin: 10px 0 6px;
  font-size: 0.95rem;
  color: var(--footer-muted);
}

.footer-social {
  justify-self: end;
  text-align: right;
}

.footer-social-title {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--footer-text);
}

.social-list {
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--footer-chip-bg);
  border: 1px solid var(--color-brand);
  transition: transform 160ms ease, background-color 160ms ease;
  outline: none;
}

.social-btn img {
  display: block;
  width: 20px;
  height: 20px;
}

.social-btn:hover {
  background: var(--footer-chip-bg-hover);
  transform: translateY(-1px);
}

.social-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(var(--color-brand-rgb, 161, 200, 171), 0.45);
}

@media (prefers-color-scheme: dark) {
  .site-footer {
    --footer-bg: #0f1113;
    --footer-text: #e8e8e8;
    --footer-muted: rgba(255, 255, 255, 0.65);
    --footer-line: rgba(255, 255, 255, 0.08);
    --footer-chip-bg: rgba(255, 255, 255, 0.06);
    --footer-chip-bg-hover: rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 720px) {
  .footer-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-self: center;
    text-align: center;
  }

  .logo img {
    max-height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-btn {
    transition: none;
  }
}

/*
========================================
Animations
========================================
*/

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0) rotate(-45deg);
  }

  40% {
    transform: translate(-50%, 8px) rotate(-45deg);
  }

  60% {
    transform: translate(-50%, 4px) rotate(-45deg);
  }
}