/* =========================================================
   Apex Turf — Landing Page Styles
   ========================================================= */

:root {
  /* Brand palette */
  --green-950: #0b1c13;
  --green-900: #0f2818;
  --green-800: #163a25;
  --green-700: #1e4f31;
  --green-600: #2c7a43;
  --green-500: #3fae4a;
  --green-400: #6fcf7a;
  --green-100: #e7f5e9;

  --orange-600: #d97b06;
  --orange-500: #f5941e;
  --orange-400: #ffb04d;

  --ink-900: #14201a;
  --ink-700: #3a463f;
  --ink-500: #63736a;
  --ink-300: #9fb0a6;

  --cream-50: #f8f9f4;
  --cream-100: #f1f3ec;
  --white: #ffffff;

  --shadow-sm: 0 2px 8px rgba(14, 30, 20, 0.08);
  --shadow-md: 0 8px 24px rgba(14, 30, 20, 0.14);
  --shadow-lg: 0 20px 48px rgba(14, 30, 20, 0.22);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --header-h: 84px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--green-950); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
section { position: relative; }
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
svg.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost {
  background: var(--green-100);
  color: var(--green-800);
}
.btn-ghost:hover { background: var(--green-500); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: .85rem; }

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: .9em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange-500);
  display: inline-block;
}
.eyebrow.light { color: var(--green-400); }

.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-head p { color: var(--ink-500); font-size: 1.05rem; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(11,28,19,.92), rgba(11,28,19,.75));
  backdrop-filter: blur(10px);
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.is-scrolled {
  background: rgba(9, 22, 15, .96);
  box-shadow: var(--shadow-md);
  height: 68px;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: .6em; }
.brand img { height: 46px; width: auto; transition: height .2s ease; }
.site-header.is-scrolled .brand img { height: 40px; }

.main-nav { display: flex; }
.main-nav ul { display: flex; gap: 2rem; }
.main-nav a {
  position: relative;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  padding: 8px 2px;
  transition: color .2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: none;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  color: var(--white);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 920px) {
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(9, 22, 15, .98);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
  .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-open .main-nav { max-height: 480px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-primary.desktop-only { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex;
  overflow: hidden;
  background: var(--green-950);
}
.hero-split {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  min-height: calc(100vh - var(--header-h));
}
.hero-pane {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 60px 5vw 70px;
  overflow: hidden;
  min-height: 480px;
}
.hero-pane .pane-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-pane .pane-overlay {
  position: absolute;
  inset: 0;
}
.pane-left .pane-overlay {
  background: linear-gradient(180deg, rgba(9,20,13,.55) 0%, rgba(9,20,13,.25) 40%, rgba(9,20,13,.85) 100%);
}
.pane-right .pane-overlay {
  background: linear-gradient(180deg, rgba(6,12,20,.6) 0%, rgba(6,12,20,.3) 40%, rgba(6,12,20,.9) 100%);
}
.hero-pane::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 3;
  pointer-events: none;
}
.pane-left::after {
  right: -70px;
  background: linear-gradient(100deg, transparent 45%, rgba(63,174,74,.9) 49%, rgba(111,207,122,.7) 51%, transparent 55%);
}
.hero-content { position: relative; z-index: 2; max-width: 480px; color: var(--white); }
.hero-content h1, .hero-content h2 { color: var(--white); }
.pane-badge {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1em;
}
.pane-left .pane-badge { background: rgba(111,207,122,.18); color: var(--green-400); border: 1px solid rgba(111,207,122,.4); }
.pane-right .pane-badge { background: rgba(245,148,30,.18); color: var(--orange-400); border: 1px solid rgba(245,148,30,.4); }
.hero-content h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.hero-content h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.hero-content .sub { color: rgba(255,255,255,.85); font-size: 1.02rem; max-width: 420px; }

.pane-stats { display: flex; gap: 22px; margin: 1.3em 0 1.5em; flex-wrap: wrap; }
.pane-stats .stat { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.9); }
.pane-stats .stat span.ico {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
}
.pane-stats .stat svg { width: 20px; height: 20px; }

/* Right pane tabs */
.pane-tabs {
  position: absolute;
  top: 34px; right: 5vw;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.pane-tabs button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.pane-tabs button.is-active {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--white);
  transform: scale(1.08);
}
.right-scenes { position: absolute; inset: 0; }
.right-scene {
  position: absolute; inset: 0;
  padding: 60px 5vw 70px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
  display: flex;
  align-items: flex-end;
}
.right-scene.is-active { opacity: 1; visibility: visible; }

.hero-divider {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.15);
  transform: skewX(-8deg) translateX(-1px);
  z-index: 3;
  display: none;
}
@media (min-width: 700px) { .hero-divider { display: block; } }

.scroll-cue {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: minmax(0,1fr); }
  /* min-height was a flat 60vh, which is shorter than the badge +
     heading + stats + button actually need once the longer Padel /
     Football / Golf headings wrap to 2-3 lines on a narrow phone —
     the content was overflowing the top of the pane and getting
     clipped there by the pane's own overflow:hidden (that's why the
     small category label was the first thing to disappear). A 660px
     floor guarantees room for the tallest scene at any phone height,
     while max() keeps it at 60vh on taller screens. */
  .hero-pane { min-height: max(60vh, 700px); padding: 40px 24px 48px; }
  /* Match the pane's own reduced mobile padding so Padel/Football/Golf
     get exactly the same spacing as Residential instead of keeping the
     larger desktop padding, which was also eating into the vertical
     room the badge and heading needed. */
  .right-scene { padding: 40px 24px 48px; }
  .pane-left::after { display: none; }
  .pane-tabs { top: 18px; right: 18px; }
}

/* ---------- Mobile hero: swipeable carousel replaces the stacked
   split panes below 900px. Desktop side-by-side layout above 900px
   is untouched. ---------- */
.hero-mobile-carousel { display: none; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-split, .hero-divider { display: none !important; }
  /* The bobbing "scroll" cue is absolutely positioned against .hero and
     was overlapping the carousel's pagination dots now that .hero's
     height hugs the compact carousel instead of a tall stacked pane. */
  .scroll-cue { display: none; }
  .hero-mobile-carousel { display: block; width: 100%; position: relative; padding: 20px 0 28px; }

  .hmc-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .hmc-track::-webkit-scrollbar { display: none; }

  .hmc-slide {
    position: relative;
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    height: min(74vh, 620px);
    min-height: 460px;
    margin: 0 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
  }
  .hmc-track { padding: 0 0 0 0; }
  /* First/last slide get extra outer margin so they don't sit flush
     against the viewport edge while still snapping to center. */
  .hmc-slide:first-child { margin-left: 24px; }
  .hmc-slide:last-child { margin-right: 24px; }

  .hmc-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
  }
  .hmc-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(9,20,13,.45) 0%, rgba(9,20,13,.25) 35%, rgba(9,20,13,.92) 100%);
  }
  .hmc-content { position: relative; z-index: 1; color: var(--white); padding: 28px 22px 30px; width: 100%; }
  .hmc-content h3 { color: var(--white); font-size: clamp(1.3rem, 5vw, 1.7rem); margin-bottom: .4em; }
  .hmc-content .sub { color: rgba(255,255,255,.85); font-size: .92rem; max-width: 420px; margin-bottom: 1.2em; }
  .hmc-content .pane-badge { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 1em; background: rgba(255,255,255,.14); color: var(--white); border: 1px solid rgba(255,255,255,.35); }
  .hmc-content .btn { white-space: normal; text-align: center; }

  .hmc-dots { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 18px; }
  .hmc-dot {
    width: 9px; height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--ink-300);
    opacity: .55;
    transition: opacity .2s ease, background .2s ease, transform .2s ease, width .2s ease;
  }
  .hmc-dot.is-active { background: var(--orange-500); opacity: 1; width: 22px; border-radius: 999px; }
}

@media (max-width: 420px) {
  .hmc-slide { height: min(70vh, 560px); min-height: 420px; margin: 0 16px; }
  .hmc-slide:first-child { margin-left: 16px; }
  .hmc-slide:last-child { margin-right: 16px; }
}

/* =========================================================
   Value Pillars
   ========================================================= */
.pillars { background: var(--white); padding: 100px 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.pillar-card {
  background: var(--cream-50);
  border: 1px solid rgba(20,32,26,.06);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar-card.accent { background: linear-gradient(160deg, #fff6e8, #fdecc9); border-color: rgba(217,123,6,.2); }
.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.pillar-card.accent .pillar-icon { background: #fce3b8; color: var(--orange-600); }
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-card h3 { font-size: 1.08rem; }
.pillar-card p { color: var(--ink-500); font-size: .94rem; margin-bottom: 0; }

@media (max-width: 980px) { .pillar-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: minmax(0,1fr); } }

/* =========================================================
   Detail sections (alternating)
   ========================================================= */
.detail { padding: 96px 0; }
.detail:nth-of-type(even) { background: var(--white); }
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 60px;
  align-items: center;
}
.detail.reverse .detail-grid { direction: rtl; }
.detail.reverse .detail-grid > * { direction: ltr; }
.detail-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.detail-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.detail-text h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.detail-text p.lead { font-size: 1.05rem; color: var(--ink-700); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
@media (max-width: 480px) {
  .cta-row .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

.feature-list { display: flex; flex-direction: column; gap: 14px; margin: 1.6em 0 2em; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .96rem; color: var(--ink-700); }
.feature-list .check {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feature-list .check svg { width: 13px; height: 13px; }

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .detail.reverse .detail-grid { direction: ltr; }
}

/* =========================================================
   About
   ========================================================= */
.about { background: var(--green-950); color: var(--white); padding: 110px 0; position: relative; overflow: hidden; }
.about::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(63,174,74,.18), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(245,148,30,.12), transparent 40%);
}
.about .container { position: relative; z-index: 1; }
.about-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 60px; align-items: start; }
.about h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.about p.lead { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.about blockquote {
  margin: 1.6em 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--green-400);
  background: rgba(255,255,255,.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: rgba(255,255,255,.85);
}
.guarantee-cards { display: flex; flex-direction: column; gap: 20px; }
.guarantee-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 26px;
}
.guarantee-card .g-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(111,207,122,.16);
  color: var(--green-400);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.guarantee-card .g-icon svg { width: 22px; height: 22px; }
.guarantee-card h3 { color: var(--white); font-size: 1.05rem; }
.guarantee-card p { color: rgba(255,255,255,.72); font-size: .92rem; margin-bottom: 0; }

@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0,1fr); } }

.about-specialties {
  margin-top: 1.8em;
  padding-top: 1.6em;
  border-top: 1px solid rgba(255,255,255,.14);
}
.about-specialties h3 { color: var(--white); font-size: 1.1rem; margin-bottom: .4em; }
.about-specialties p { color: rgba(255,255,255,.8); font-size: 1rem; margin-bottom: 0; }

/* =========================================================
   Instagram banner
   ========================================================= */
.insta-banner { position: relative; padding: 90px 0; overflow: hidden; text-align: center; }
.insta-banner-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.insta-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,28,19,.82), rgba(11,28,19,.93));
}
.insta-banner-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.insta-banner-inner .eyebrow { justify-content: center; }
.insta-banner-inner h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.insta-banner-inner p { color: rgba(255,255,255,.82); font-size: 1.02rem; margin-bottom: 1.6em; }
.insta-banner-inner .btn svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 600px) { .insta-banner { padding: 64px 0; } }
@media (max-width: 420px) {
  .insta-banner-inner .btn { white-space: normal; text-align: center; padding: 14px 22px; }
}

/* =========================================================
   Contact / Quote form
   ========================================================= */
.contact { padding: 110px 0; background: linear-gradient(160deg, var(--green-900), var(--green-950)); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 56px; }
.contact-info h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.contact-info p { color: rgba(255,255,255,.78); }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 1.8em; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: .96rem; }
.contact-list .c-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--green-400);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.contact-list .c-icon svg { width: 19px; height: 19px; }
.social-row { display: flex; gap: 12px; margin-top: 2em; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.social-row a:hover { background: var(--green-500); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

.quote-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  color: var(--ink-900);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; color: var(--ink-700); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #e1e5de;
  font-family: inherit;
  font-size: .95rem;
  background: var(--cream-50);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(63,174,74,.15);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: .78rem; color: var(--ink-500); margin-top: 10px; text-align: center; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: var(--green-100);
  color: var(--green-800);
  padding: 16px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 18px;
}
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0,1fr); } }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: #081810; color: rgba(255,255,255,.7); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.1fr);
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; max-width: 280px; color: rgba(255,255,255,.6); }
.footer-col h4 { color: var(--white); font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: .92rem; color: rgba(255,255,255,.65); transition: color .2s ease; }
.footer-col a:hover { color: var(--green-400); }
.footer-col .foot-contact { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.footer-col .foot-contact svg { width: 16px; height: 16px; margin-top: 3px; color: var(--green-400); flex: none; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .legal-links { display: flex; gap: 20px; }

@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0,1fr); } }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 96px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green-500);
  color: var(--white);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .2s ease;
  z-index: 90;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--green-600); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366; /* official WhatsApp brand green */
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(18, 140, 80, .4);
  z-index: 95;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  animation: whatsappPulse 2.6s ease-in-out infinite;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover {
  background: #1ebe5b;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 28px rgba(18, 140, 80, .5);
  animation-play-state: paused;
}
.whatsapp-float:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(18, 140, 80, .4), 0 0 0 0 rgba(37, 211, 102, .45); }
  50% { box-shadow: 0 8px 22px rgba(18, 140, 80, .4), 0 0 0 10px rgba(37, 211, 102, 0); }
}
@media (max-width: 600px) {
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
  .back-to-top { right: 16px; bottom: 82px; }
}

/* =========================================================
   Inner-page hero (Maintenance & Aftercare, and future pages)
   ========================================================= */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 80px;
  background: var(--green-950);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(63,174,74,.18), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(245,148,30,.12), transparent 40%);
}
.page-hero .container { position: relative; z-index: 1; max-width: 760px; }
.page-hero .back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.65);
  margin-bottom: 22px; transition: color .2s ease;
}
.page-hero .back-link:hover { color: var(--white); }
.page-hero .back-link svg { width: 15px; height: 15px; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero p.lead { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- Golden Rule callout ---------- */
.golden-rule {
  display: flex; align-items: flex-start; gap: 20px;
  max-width: 900px; margin: 0 auto;
  background: var(--green-100);
  border: 1px solid rgba(44,122,67,.18);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
}
.golden-rule .g-icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.golden-rule .g-icon svg { width: 24px; height: 24px; }
.golden-rule h3 { font-size: 1.05rem; margin-bottom: .35em; color: var(--green-900); }
.golden-rule p { color: var(--ink-700); font-size: .98rem; margin-bottom: 0; }
@media (max-width: 600px) { .golden-rule { flex-direction: column; padding: 26px; } }

/* ---------- Care-tip cards (4-up) ---------- */
.care-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.care-grid .pillar-card .pillar-tag {
  display: inline-block;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: .5em;
}
@media (max-width: 980px) { .care-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .care-grid { grid-template-columns: minmax(0,1fr); } }

/* ---------- Google review / testimonial cards ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.review-card {
  background: var(--cream-50);
  border: 1px solid rgba(20,32,26,.06);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review-stars { display: flex; gap: 3px; color: var(--orange-500); margin-bottom: 14px; }
.review-stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.review-quote { color: var(--ink-700); font-size: .95rem; line-height: 1.6; flex: 1; margin-bottom: 18px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green-600); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; flex: none;
}
.review-name { font-weight: 700; font-size: .92rem; color: var(--green-950); }
.review-role { color: var(--ink-500); font-size: .82rem; }
.reviews-cta { text-align: center; margin-top: 36px; }
@media (max-width: 980px) { .reviews-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .reviews-grid { grid-template-columns: minmax(0,1fr); } }

/* =========================================================
   Multi-page additions (October 2026)
   ========================================================= */

/* Mobile safety net + language toggle (moved here from index.html) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
img, video, svg, iframe, canvas { max-width: 100%; height: auto; }

.lang-toggle{display:inline-flex;align-items:center;gap:3px;margin-left:12px;padding:4px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(255,255,255,.08);cursor:pointer;font:inherit;font-size:.82rem;font-weight:700;letter-spacing:.03em;line-height:1;}
.lang-toggle .lang-sep{display:none;}
.lang-toggle .lang-opt{opacity:.65;transition:opacity .15s ease, background-color .15s ease, color .15s ease;padding:6px 10px;border-radius:999px;color:#fff;}
.lang-toggle .lang-opt.is-current{opacity:1;background:#fff;color:var(--green-950);}
.lang-toggle:hover{border-color:rgba(255,255,255,.75);background:rgba(255,255,255,.14);}
.lang-toggle .lang-opt:not(.is-current):hover{opacity:.9;}
.lang-toggle:focus-visible{outline:2px solid #fff;outline-offset:2px;}
@media (max-width:900px){ .lang-toggle{margin-left:8px;padding:3px;} .lang-toggle .lang-opt{padding:5px 8px;font-size:.78rem;} }

/* Contact link only in the mobile menu (desktop has the orange button) */
.main-nav .mobile-only { display: none; }
@media (max-width: 920px) { .main-nav .mobile-only { display: block; } }
@media (min-width: 921px) and (max-width: 1120px) { .main-nav ul { gap: 1.3rem; } }

/* ---------- Inner page hero with photo ---------- */
.page-hero .back-link { margin-bottom: 18px; }
.page-hero.has-bg {
  text-align: left;
  background-size: cover;
  background-position: center;
  padding: calc(var(--header-h) + 90px) 0 100px;
}
.page-hero.has-bg::before {
  background: linear-gradient(90deg, rgba(9,20,13,.94) 0%, rgba(9,20,13,.78) 50%, rgba(9,20,13,.4) 100%);
}
.page-hero.has-bg .container { max-width: 1240px; }
.page-hero.has-bg .hero-inner { max-width: 660px; }
.page-hero.has-bg .back-link { display: flex; width: fit-content; }
.page-hero.has-bg .eyebrow { justify-content: flex-start; }
.page-hero.has-bg p.lead { margin-left: 0; }
.page-hero .cta-row { margin-top: 1.8em; }
@media (max-width: 600px) {
  .page-hero.has-bg { padding: calc(var(--header-h) + 48px) 0 64px; }
  .page-hero.has-bg::before { background: rgba(9,20,13,.8); }
}
.detail.detail-white { background: var(--white); }

/* ---------- Services grid (home) ---------- */
.services { padding: 100px 0; background: var(--cream-50); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(20,32,26,.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-card .sc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.service-card h3 { font-size: 1.1rem; }
.service-card p { color: var(--ink-500); font-size: .93rem; flex: 1; }
.service-card .sc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--orange-600); }
.service-card .sc-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .sc-link svg { transform: translateX(4px); }
@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: minmax(0,1fr); } }

/* ---------- How we work ---------- */
.steps { padding: 96px 0; background: var(--cream-50); }
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.step-card { background: var(--white); border: 1px solid rgba(20,32,26,.06); border-radius: var(--radius-md); padding: 28px 24px; }
.step-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--green-500); margin-bottom: 14px; }
.step-card h3 { font-size: 1.05rem; }
.step-card p { color: var(--ink-500); font-size: .93rem; margin-bottom: 0; }
@media (max-width: 980px) { .step-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .step-grid { grid-template-columns: minmax(0,1fr); } }

/* ---------- FAQ ---------- */
.faq { padding: 96px 0; background: var(--white); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--cream-50); border: 1px solid rgba(20,32,26,.08); border-radius: var(--radius-md); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--green-950);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--orange-500); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; border-radius: var(--radius-md); }
.faq-item p { padding: 0 24px 22px; margin: 0; color: var(--ink-700); }

/* Reviews on service pages (1–2 cards, centered) */
.reviews-grid.compact { grid-template-columns: repeat(auto-fit, minmax(260px, 380px)); justify-content: center; }

/* ---------- About page ---------- */
.about.first-section { padding-top: calc(var(--header-h) + 80px); }
.about h1 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

/* ---------- CTA band ---------- */
.cta-band { padding: 84px 0; text-align: center; background: linear-gradient(160deg, var(--green-900), var(--green-950)); color: var(--white); }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 1.6em; }

/* ---------- Quote form: consent + error ---------- */
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 18px; font-size: .86rem; color: var(--ink-700); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green-600); }
.consent a { color: var(--green-700); text-decoration: underline; }
.form-error { margin-bottom: 16px; padding: 12px 16px; border-radius: 8px; background: #fdecea; color: #8a1c1c; font-size: .95rem; }

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 100px; background: var(--white); }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-700); }
.legal ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal .legal-note { color: var(--ink-500); font-size: .9rem; }
.legal .placeholder { background: #fff3cd; color: #7a5200; padding: 1px 5px; border-radius: 4px; font-weight: 600; }
