/* ============================================================
   SHERM LANDSCAPING — styles.css
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --green-dark:    #081c15;
  --green-primary: #2d6a4f;
  --green-light:   #52b788;
  --green-accent:  #95d5b2;
  --cream:         #f8f9f0;
  --text:          #1a1a1a;
  --muted:         #5a6e5a;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(8,28,21,.08);
  --shadow-md: 0 6px 24px rgba(8,28,21,.12);
  --shadow-lg: 0 16px 48px rgba(8,28,21,.18);

  --transition: 0.3s ease;
  --max-width: 1160px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: 5rem; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.section-title.light { color: var(--cream); }

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--green-light);
  color: var(--green-dark);
}
.btn-primary:hover {
  background: var(--green-accent);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--cream);
}

.btn-outline-dark {
  background: transparent;
  color: var(--green-primary);
  border-color: var(--green-primary);
}
.btn-outline-dark:hover {
  background: var(--green-primary);
  color: var(--cream);
}

/* Button group — flexbox wrapper for centered button collections */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,28,21,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(82,183,136,.18);
  padding-block: .9rem;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(248,249,240,.8);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-light);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active { color: var(--cream); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__cta {
  padding: .5rem 1.25rem;
  font-size: .875rem;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__close-item { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green-dark);
  color: rgba(248,249,240,.75);
  padding-block: 4rem 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(82,183,136,.15);
}

.footer__brand p {
  font-size: .9rem;
  line-height: 1.7;
  margin-top: .75rem;
  max-width: 280px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
}

.footer__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__contact-info {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer__contact-info a {
  font-size: .9rem;
  color: var(--green-accent);
  transition: color var(--transition);
}
.footer__contact-info a:hover { color: var(--cream); }

.footer__col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 1rem;
}

.footer__col ul { display: flex; flex-direction: column; gap: .5rem; }

.footer__col ul a {
  font-size: .9rem;
  transition: color var(--transition);
}
.footer__col ul a:hover { color: var(--cream); }

.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8rem;
  color: rgba(248,249,240,.4);
}

/* Response Pro credit link — replaces former inline onmouseover/onmouseout handlers */
.footer__credit-link {
  color: inherit;
  opacity: .7;
  transition: opacity .3s;
}
.footer__credit-link:hover { opacity: 1; }

/* ============================================================
   HERO (shared base)
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-dark) 0%, #0d3320 55%, #1a4d35 100%);
  overflow: hidden;
  padding-block: 7rem 5rem;
  padding-bottom: calc(5rem + 70px); /* reserve space for grass strip */
  color: var(--cream);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(82,183,136,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(45,106,79,.4) 0%, transparent 60%);
  pointer-events: none;
}

.hero__content { position: relative; z-index: 1; max-width: 680px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(82,183,136,.15);
  border: 1px solid rgba(82,183,136,.3);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--green-accent);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero__title em {
  font-style: italic;
  color: var(--green-accent);
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(248,249,240,.75);
  margin-bottom: 2.25rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== GRASS STRIP ===== */
.grass-strip {
  position: absolute;
  bottom: -2px; /* overlap the seam by 2px so no gap on any screen */
  left: 0;
  width: 100%;
  height: 72px;
  pointer-events: none;
  z-index: 2;
  overflow: visible; /* let the ground fill bleed into the bar */
}

.grass-svg {
  position: absolute;
  bottom: 2px; /* keep blades visually at the same level */
  left: 0;
  width: 100%;
  height: 70px;
  display: block;
}

/* Ground fill — full-width solid band that bleeds into the stats bar,
   eliminating any sub-pixel gap on all screen densities */
.grass-strip::after {
  content: '';
  position: absolute;
  bottom: -4px; /* extend below the strip edge */
  left: 0;
  width: 100%;
  height: 18px;
  background: var(--green-primary); /* #2d6a4f — matches stats bar exactly */
  pointer-events: none;
  z-index: 1;
}

/* Blade sway — smooth sine via cubic-bezier on each keyframe step.
   transform-origin is set inline per blade by JS so rotate() pivots at root. */
@keyframes sway-a {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(4deg); }
  75%  { transform: rotate(-3.5deg); }
  100% { transform: rotate(0deg); }
}
@keyframes sway-b {
  0%   { transform: rotate(0deg); }
  30%  { transform: rotate(-4.5deg); }
  70%  { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}
@keyframes sway-c {
  0%   { transform: rotate(0deg); }
  40%  { transform: rotate(3deg); }
  80%  { transform: rotate(-2.5deg); }
  100% { transform: rotate(0deg); }
}

[data-sway="a"] { animation: sway-a 3.2s cubic-bezier(0.45,0.05,0.55,0.95) infinite; }
[data-sway="b"] { animation: sway-b 3.8s cubic-bezier(0.45,0.05,0.55,0.95) infinite; }
[data-sway="c"] { animation: sway-c 2.9s cubic-bezier(0.45,0.05,0.55,0.95) infinite; }
/* ===== /GRASS STRIP ===== */

/* Decorative leaf shapes */
.hero__deco {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: .06;
  pointer-events: none;
}

/* ============================================================
   INDEX — STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--green-primary);
  padding-block: 2.5rem;
  position: relative;
}

/* Fade the hero's bottom colour (#1a4d35) into the stats bar.
   Uses the hero gradient's end colour so the join is invisible.
   z-index: 1 ensures it paints over the bar's own background. */
.stats-bar::before {
  content: '';
  position: absolute;
  top: -2px; /* overlap the seam */
  left: 0;
  width: 100%;
  height: 28px;
  background: linear-gradient(to bottom, #1a4d35 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat__number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}

.stat__label {
  font-size: .875rem;
  color: var(--green-accent);
  margin-top: .35rem;
  font-weight: 500;
}

/* ============================================================
   SERVICES PREVIEW / CARDS
   ============================================================ */
.services-preview { background: var(--cream); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.card {
  background: #f0f4ee;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--green-accent);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: rgba(82,183,136,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--green-primary);
}

.card__title {
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-bottom: .6rem;
}

.card__text {
  font-size: .925rem;
  color: var(--muted);
  line-height: 1.65;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--green-primary);
  transition: gap var(--transition), color var(--transition);
}
.card__link:hover { gap: .6rem; color: var(--green-light); }

/* ============================================================
   WHY US
   ============================================================ */
.why-us {
  background: linear-gradient(160deg, #0d3320 0%, var(--green-dark) 100%);
  color: var(--cream);
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.trust-point {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.trust-point__icon {
  width: 48px;
  height: 48px;
  background: rgba(82,183,136,.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-accent);
}

.trust-point__title {
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: .35rem;
}

.trust-point__text {
  font-size: .9rem;
  color: rgba(248,249,240,.65);
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--cream); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: #f0f4ee;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green-light);
  border: 1px solid var(--green-accent);
  border-left: 4px solid var(--green-light);
  position: relative;
}

.testimonial-card__quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--green-accent);
  font-family: 'Playfair Display', serif;
  margin-bottom: .5rem;
}

.testimonial-card__text {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: .9rem;
  color: var(--green-dark);
}

.testimonial-card__location {
  font-size: .8rem;
  color: var(--muted);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--green-primary);
  padding-block: 4.5rem;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--cream);
  margin-bottom: 1rem;
}

.cta-banner__sub {
  font-size: 1rem;
  color: rgba(248,249,240,.75);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-inline: auto;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story { background: var(--cream); }

.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-story__text p {
  font-size: .975rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-story__text p:last-child { margin-bottom: 0; }

.photo-placeholder {
  background: linear-gradient(135deg, rgba(45,106,79,.15), rgba(82,183,136,.1));
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(45,106,79,.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
}

.photo-placeholder svg { color: var(--green-accent); opacity: .6; }

.about-photos { background: #f0f4ee; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: minmax(220px, auto);
  gap: 1rem;
  margin-top: 3rem;
}

.about-values { background: var(--cream); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.value-card {
  background: #f0f4ee;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--green-light);
  border: 1px solid var(--green-accent);
  border-top: 3px solid var(--green-light);
  text-align: center;
}

.value-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(82,183,136,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--green-primary);
}

.value-card__title {
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: .6rem;
}

.value-card__text {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-full { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.service-card {
  background: #f0f4ee;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--green-accent);
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(82,183,136,.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--green-primary);
}

.service-card__title {
  font-size: 1.25rem;
  color: var(--green-dark);
  margin-bottom: .75rem;
}

.service-card__text {
  font-size: .925rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.service-card__features li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--muted);
}

.service-card__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-methods { background: var(--cream); }

.contact-methods__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-method {
  background: #f0f4ee;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid var(--green-accent);
  min-width: 0; /* lets grid cell shrink so inner flex can wrap */
}

.contact-method > div:last-child {
  min-width: 0;
  flex: 1;
}

.contact-method__icon {
  width: 48px;
  height: 48px;
  background: rgba(82,183,136,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-primary);
}

.contact-method__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .25rem;
}

.contact-method__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-method__value a {
  color: var(--green-primary);
  transition: color var(--transition);
  overflow-wrap: inherit;
}
.contact-method__value a:hover { color: var(--green-light); }

/* ---------- Forms ---------- */
.contact-forms { background: #f0f4ee; }

.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.form-card {
  background: #f0f4ee;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--green-accent);
}

.form-card__title {
  font-size: 1.35rem;
  color: var(--green-dark);
  margin-bottom: .5rem;
}

.form-card__sub {
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: .825rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px solid rgba(45,106,79,.2);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(82,183,136,.15);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6e5a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit { margin-top: 1.5rem; width: 100%; justify-content: center; padding: .75rem 1.75rem; }

.form-message {
  display: none;
  margin-top: 1rem;
  padding: .9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
}

.form-message.success {
  display: block;
  background: rgba(82,183,136,.12);
  border: 1px solid rgba(82,183,136,.35);
  color: var(--green-primary);
}

.form-message.error {
  display: block;
  background: rgba(220,53,69,.08);
  border: 1px solid rgba(220,53,69,.25);
  color: #b91c1c;
}

/* ============================================================
   INNER PAGE HERO (smaller)
   ============================================================ */
.hero--inner {
  padding-block: 5rem 3.5rem;
  padding-bottom: 3.5rem; /* no grass strip on inner pages */
}

.hero--inner .hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

/* ============================================================
   RESPONSIVE — 768px breakpoint
   ============================================================ */
/* ============================================================
   MOBILE OPTIMIZATION — 768px breakpoint
   ============================================================ */
@media (max-width: 768px) {
  /* Reduce section padding on mobile */
  .section { padding-block: 2rem; }

  /* ===== NAV ===== */
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    top: 0;                          /* Cover full screen from top */
    height: 100dvh;                  /* dvh accounts for mobile browser chrome */
    background: rgba(8,28,21,.97);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 2rem 1.25rem;
    padding-top: 80px;               /* Clear the nav bar */
    gap: 0;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth momentum scroll on iOS */
  }

  .nav__links.open { display: flex; }

  /* Stack nav links vertically, full-width */
  .nav__links li {
    width: 100%;
    border-bottom: 1px solid rgba(82,183,136,.15);
  }

  .nav__links a {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem 0;
    text-align: left;
    min-height: 44px; /* Touch target */
  }

  .nav__links a::after { display: none; }

  /* CTA button full-width at bottom of mobile menu */
  .nav__links .nav__cta {
    margin-top: auto;
    padding-top: 2rem;
    border-bottom: none;
  }

  .nav__cta {
    width: auto;
    align-self: flex-start;
    padding: .625rem 1.25rem;
    font-size: .9rem;
    min-height: 44px;
    margin-top: 1rem;
  }

  .nav__close-item {
    display: block;
    border-bottom: 1px solid rgba(82,183,136,.15);
    padding-bottom: .5rem;
    margin-bottom: .5rem;
  }
  .nav__close-btn {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: .75rem 0;
    min-height: 44px;
  }

  .nav__hamburger { display: flex; }

  /* ===== HERO ===== */
  .hero {
    padding-block: 5rem 2rem;
    padding-bottom: calc(2rem + 70px); /* grass strip space */
  }

  .hero__deco { display: none; }

  .hero__title {
    font-size: 2.4rem; /* Explicit mobile size */
    margin-bottom: 1rem;
  }

  .hero__sub {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  /* Stack hero buttons vertically, full-width */
  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: .875rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  /* Inner hero pages (about, services, contact) */
  .hero--inner {
    padding-block: 4rem 2rem;
  }

  .hero--inner .hero__title {
    font-size: 2rem;
  }

  /* ===== STATS BAR ===== */
  .stats-bar {
    padding-block: 2rem;
  }

  .stats-bar__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* ===== CARDS ===== */
  .cards-grid,
  .services-grid,
  .why-us__grid,
  .values-grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Reduce card padding on mobile so cards don't feel oversized */
  .card {
    padding: 1.25rem 1rem;
  }
  .card__icon {
    width: 36px;
    height: 36px;
    margin-bottom: .6rem;
  }
  .card__title {
    font-size: 1rem;
    margin-bottom: .4rem;
  }
  .card__text {
    font-size: .875rem;
    line-height: 1.5;
  }
  .service-card {
    padding: 1.25rem 1rem;
  }
  .service-card__icon {
    width: 36px;
    height: 36px;
  }
  .service-card__title {
    font-size: 1rem;
  }
  .service-card__text {
    font-size: .875rem;
  }
  .service-card__features li {
    font-size: .825rem;
  }
  .value-card {
    padding: 1.25rem 1rem;
  }

  .card__link {
    min-height: 44px;
    padding: .5rem 0;
    font-size: .9rem;
  }

  /* ===== CONTACT METHODS ===== */
  .contact-methods__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  /* ===== SECTION SPACING ===== */
  .section-title {
    margin-bottom: .75rem;
  }

  .hero__eyebrow {
    margin-bottom: 1rem;
  }

  /* ===== FOOTER ===== */
  .footer {
    padding-block: 3rem 1.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    padding-bottom: 2rem;
  }

  .footer__brand p,
  .footer__contact-info {
    margin-inline: auto;
  }

  .footer__logo {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .5rem;
    font-size: .75rem;
    padding-top: 1.25rem;
  }

  .footer__bottom span {
    display: block;
    width: 100%;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }

  /* ===== ABOUT PAGE ===== */
  /* Photo comes after text on mobile */
  .about-story__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-story__grid > div:last-child {
    order: 2; /* Photo placeholder after text */
  }

  .about-story__grid > div:first-child {
    order: 1; /* Text first */
  }

  /* Photo grid */
  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(180px, auto));
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .photo-placeholder {
    min-height: 200px;
  }

  /* ===== CONTACT PAGE ===== */
  /* Forms stack to single column on mobile */
  .forms-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Form rows (name + phone) stack to single column */
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Form inputs - ensure proper touch targets */
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group select,
  .form-group textarea {
    min-height: 44px;
    padding: .75rem 1rem;
    font-size: 16px; /* Prevent iOS zoom on focus */
  }

  .form-group textarea {
    min-height: 120px;
  }

  /* ===== CTA BANNER ===== */
  .cta-banner {
    padding-block: 3rem;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: .875rem;
  }

  .cta-banner__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  /* ===== TOUCH TARGETS ===== */
  /* Keep min-height: 44px only on specific full-width and critical buttons.
     Base .btn padding remains .75rem 1.75rem (desktop) on all devices. */
  .hero__actions .btn,
  .cta-banner__actions .btn,
  .form-submit,
  .nav__cta {
    min-height: 44px;
  }

  .form-submit {
    padding: .75rem 1.5rem;
  }

  /* ===== PREVENT HORIZONTAL SCROLL ===== */
  body {
    overflow-x: hidden;
  }

  .container {
    padding-inline: 1rem; /* Slightly reduce padding on smallest screens */
  }
}
