/* ═══════════════════════════════════════════════════════════════
   NORTHERN BEACHES CLEANING — styles.css
   ───────────────────────────────────────────────────────────────
   Table of contents:
     1.  Custom Properties (design tokens)
     2.  Reset & Base
     3.  Typography helpers
     4.  Shared layout helpers (.container, .section-header, .eyebrow)
     5.  Shared button styles
     6.  Floating contact buttons
     7.  Navbar & mobile menu
     8.  Hero section
     9.  Services section
     10. Calculator section
     11. Why Choose Me section
     12. Before & After Gallery / Carousel
     13. Testimonials / Reviews section
     14. Areas Served section
     15. Final CTA section
     16. Footer
     17. Scroll-reveal animation (.fade-up)
     18. Responsive overrides (media queries)
═══════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────────
   1. CUSTOM PROPERTIES — Design Tokens
   All colours, fonts, spacing and shadows defined here.
   Edit these to retheme the entire site instantly.
───────────────────────────────────────────────────────────── */
:root {
  /* Colour palette */
  --clr-teal:       #0a8a7a;   /* primary brand colour */
  --clr-teal-dk:    #076e62;   /* hover / dark variant */
  --clr-teal-lt:    #e5f4f2;   /* light tint for backgrounds */
  --clr-navy:       #0d2030;   /* headings, dark elements */
  --clr-ink:        #1b2b36;   /* body text */
  --clr-muted:      #637585;   /* secondary text, captions */
  --clr-border:     #dde6ea;   /* borders, dividers */
  --clr-bg:         #f7f9fa;   /* light section backgrounds */
  --clr-white:      #ffffff;
  --clr-gold:       #e8a020;   /* accent — price, stars */
  --clr-gold-lt:    #fef5e0;

  /* Contact button colours */
  --clr-wa:         #25d366;   /* WhatsApp green */
  --clr-wa-dk:      #1daa55;
  --clr-sms:        #0071e3;   /* Apple/iOS blue for SMS */
  --clr-sms-dk:     #0060c2;

  /* Typography */
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --nav-height: 68px;          /* used for scroll-padding offsets */

  /* Border radius */
  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  /* Shadows */
  --shadow-sm:  0 2px 10px rgba(13, 32, 48, .07);
  --shadow:     0 8px 32px rgba(13, 32, 48, .11);
  --shadow-lg:  0 20px 60px rgba(13, 32, 48, .17);
}


/* ─────────────────────────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Offset scroll targets so the fixed navbar doesn't cover headings */
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--clr-ink);
  background: var(--clr-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-teal); border-radius: 3px; }


/* ─────────────────────────────────────────────────────────────
   3. TYPOGRAPHY — Global heading scale
───────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--clr-navy);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem);   }

/* Italic emphasis in headings uses brand teal */
h1 em,
h2 em {
  font-style: italic;
  color: var(--clr-teal);
}


/* ─────────────────────────────────────────────────────────────
   4. SHARED LAYOUT HELPERS
───────────────────────────────────────────────────────────── */

/* Max-width wrapper, centred */
.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 5%;
}

/* Section wrapper — applied to all <section> elements */
section {
  padding-block: 88px;
  padding-inline: 5%;
}

/* Section heading block (eyebrow + h2 + intro text) */
.section-header {
  margin-bottom: 48px;
}

/* Small label above headings — e.g. "What I Offer" */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-teal);
  margin-bottom: 10px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--clr-teal);
  border-radius: 2px;
}

/* Subtitle paragraph under a section heading */
.section-intro {
  font-size: .97rem;
  color: var(--clr-muted);
  line-height: 1.8;
  max-width: 560px;
  margin-top: 10px;
}
.section-intro a {
  color: var(--clr-teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ─────────────────────────────────────────────────────────────
   5. SHARED BUTTON STYLES
───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .93rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

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

/* Icon inside button */
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Size modifier */
.btn--lg {
  font-size: 1rem;
  padding: 16px 32px;
}

/* Colour variants */
.btn--wa {
  background: var(--clr-wa);
  color: var(--clr-white);
  padding: 13px 26px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, .3);
}
.btn--wa:hover {
  background: var(--clr-wa-dk);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .42);
}

.btn--sms {
  background: var(--clr-sms);
  color: var(--clr-white);
  padding: 13px 26px;
  box-shadow: 0 5px 20px rgba(0, 113, 227, .26);
}
.btn--sms:hover {
  background: var(--clr-sms-dk);
  box-shadow: 0 8px 28px rgba(0, 113, 227, .38);
}

.btn--teal {
  background: var(--clr-teal);
  color: var(--clr-white);
  padding: 13px 26px;
  box-shadow: 0 5px 20px rgba(10, 138, 122, .3);
}
.btn--teal:hover {
  background: var(--clr-teal-dk);
  box-shadow: 0 8px 28px rgba(10, 138, 122, .42);
}

.btn--outline {
  background: transparent;
  color: var(--clr-navy);
  padding: 12px 24px;
  border: 2px solid var(--clr-border);
}
.btn--outline:hover {
  border-color: var(--clr-teal);
  color: var(--clr-teal);
  background: var(--clr-teal-lt);
}


/* ─────────────────────────────────────────────────────────────
   6. FLOATING CONTACT BUTTONS
   Fixed to bottom-right. Always visible on mobile.
───────────────────────────────────────────────────────────── */
.float-cta {
  position: fixed;
  right: 18px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .82rem;
  color: var(--clr-white);
  border: none;
  box-shadow: 0 5px 22px rgba(0, 0, 0, .22);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.float-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.float-btn--wa  { background: var(--clr-wa);  }
.float-btn--sms { background: var(--clr-sms); }

/* Label hidden on mobile to save space */
.float-btn__label { display: inline; }


/* ─────────────────────────────────────────────────────────────
   7. NAVBAR & MOBILE MENU
───────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 5%;
  z-index: 800;
  /* Transparent by default; becomes opaque on scroll via JS */
  transition: background .3s ease, box-shadow .3s ease;
}

/* Class added by JS on scroll */
#navbar.scrolled {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 16px rgba(13, 32, 48, .08);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--clr-navy);
}
.nav__logo strong { color: var(--clr-teal); }

/* Desktop links list */
.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__links a {
  font-size: .84rem;
  font-weight: 500;
  color: var(--clr-ink);
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: color .18s;
}
.nav__links a:hover { color: var(--clr-teal); }

/* CTA pill in the nav */
.nav__cta {
  background: var(--clr-teal) !important;
  color: var(--clr-white) !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600 !important;
  text-transform: none !important;
  transition: background .18s !important;
}
.nav__cta:hover { background: var(--clr-teal-dk) !important; }

/* Hamburger button — hidden on desktop */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 5px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-navy);
  border-radius: 2px;
  transition: .28s;
}

/* Mobile full-screen overlay menu */
.mobile-menu {
  /* Hidden by default; toggled open by JS */
  display: none;
  position: fixed;
  inset: 0;
  background: var(--clr-white);
  z-index: 790;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-navy);
  transition: color .18s;
}
.mobile-menu a:hover { color: var(--clr-teal); }

.mobile-menu__close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: var(--clr-navy);
}


/* ─────────────────────────────────────────────────────────────
   8. HERO SECTION
   Two-column grid: text left, photo right.
───────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  padding-top: var(--nav-height); /* push content below fixed navbar */
  display: grid;
  grid-template-columns: 54% 46%;
  padding-inline: 0; /* photo column goes edge-to-edge on right */
  overflow: hidden;
}

/* Left column */
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 5% 60px 8%;
}

/* Small pill badge above the headline */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-teal-lt);
  border: 1px solid rgba(10, 138, 122, .2);
  color: var(--clr-teal-dk);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  width: fit-content;
  margin-bottom: 22px;
}

.hero__title { margin-bottom: 18px; }

.hero__subtitle {
  font-size: 1.02rem;
  color: var(--clr-muted);
  max-width: 420px;
  line-height: 1.8;
  margin-bottom: 34px;
}

/* CTA button row */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

/* Trust chips row */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--clr-muted);
}

/* Right column: full-bleed photo */
.hero__photo {
  position: relative;
  overflow: hidden;
  background: var(--clr-navy); /* fallback if image is missing */
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
/* Subtle left-edge fade to blend photo into content column */
.hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, .12), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

/* Floating rating card on the photo */
.hero__rating-card {
  position: absolute;
  bottom: 32px;
  left: -22px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  /* Gentle float animation defined in keyframes below */
  animation: cardFloat 3.6s ease-in-out infinite;
}
.hero__rating-icon {
  width: 40px;
  height: 40px;
  background: var(--clr-teal-lt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.hero__rating-card strong {
  display: block;
  font-size: .88rem;
  color: var(--clr-navy);
}
.hero__rating-card span {
  font-size: .74rem;
  color: var(--clr-muted);
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-9px); }
}


/* ─────────────────────────────────────────────────────────────
   9. SERVICES SECTION
───────────────────────────────────────────────────────────── */
#services { background: var(--clr-bg); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 34px 28px 28px;
  border: 1.5px solid var(--clr-border);
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
/* Coloured top bar on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-teal), #1abcaa);
  opacity: 0;
  transition: opacity .25s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

/* Featured card (deep cleaning) — dark navy style */
.service-card--featured {
  background: var(--clr-navy);
  border-color: transparent;
}
.service-card--featured::before { opacity: 1; }

.service-card__icon {
  font-size: 2.1rem;
  margin-bottom: 16px;
}

.service-card__name {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--clr-navy);
  margin-bottom: 6px;
}
.service-card--featured .service-card__name { color: var(--clr-white); }

.service-card__price {
  font-size: 1.4rem;
  color: var(--clr-teal);
  margin-bottom: 10px;
}
.service-card--featured .service-card__price { color: var(--clr-gold); }

.service-card__desc {
  font-size: .87rem;
  color: var(--clr-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}
.service-card--featured .service-card__desc { color: rgba(255, 255, 255, .6); }

/* Feature bullet list */
.service-card__features {
  font-size: .82rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.service-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--clr-muted);
}
.service-card__features li::before {
  content: '✓';
  color: var(--clr-teal);
  font-weight: 700;
  flex-shrink: 0;
}
.service-card--featured .service-card__features li { color: rgba(255, 255, 255, .55); }
.service-card--featured .service-card__features li::before { color: var(--clr-gold); }

/* Disclaimer note below the grid */
.services__note {
  max-width: 560px;
  margin: 26px auto 0;
  text-align: center;
  font-size: .85rem;
  color: var(--clr-muted);
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 13px 20px;
}
.services__note strong { color: var(--clr-teal); }
.services__note a {
  color: var(--clr-teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ─────────────────────────────────────────────────────────────
   10. CALCULATOR SECTION
───────────────────────────────────────────────────────────── */
#calculator {
  background: var(--clr-white);
  /* Decorative top gradient bar */
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--clr-teal), #1abcaa, var(--clr-gold)) 1;
}

.calc__header { max-width: 600px; }

/* Two-column: form on left, estimate panel on right */
.calc__layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

/* ── Form ─────────────────────────────────────────────────── */
.calc__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Each question group */
.form-group {
  border: none; /* reset fieldset border */
  padding: 0;
}

.form-label,
.form-group legend {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-navy);
  margin-bottom: 12px;
  display: block;
}

/* ── Service Type Radio Cards ─────────────────────────────── */
.service-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* Hide the native radio input, use label as visual */
.service-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.service-opt__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 16px 10px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s;
  text-align: center;
}
.service-opt__card:hover {
  border-color: var(--clr-teal);
  background: var(--clr-teal-lt);
}

/* Style the card when its radio is checked */
.service-opt input:checked + .service-opt__card {
  border-color: var(--clr-teal);
  background: var(--clr-teal-lt);
  box-shadow: 0 0 0 3px rgba(10, 138, 122, .15);
}

.service-opt__icon  { font-size: 1.55rem; }
.service-opt__name  { font-size: .85rem; font-weight: 700; color: var(--clr-navy); }
.service-opt__price { font-size: .72rem; color: var(--clr-teal); font-weight: 600; }

/* ── Steppers ─────────────────────────────────────────────── */
.steppers-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stepper-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stepper-wrap__label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-muted);
}

/* Stepper control group (minus | value | plus) */
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.stepper__btn {
  width: 40px;
  height: 40px;
  background: var(--clr-bg);
  border: none;
  font-size: 1.15rem;
  color: var(--clr-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.stepper__btn:hover {
  background: var(--clr-teal-lt);
  color: var(--clr-teal);
}
.stepper__btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.stepper__val {
  width: 52px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--clr-navy);
  border-left: 1.5px solid var(--clr-border);
  border-right: 1.5px solid var(--clr-border);
  background: var(--clr-white);
  user-select: none;
}

/* ── Checkbox Options ─────────────────────────────────────── */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

/* Hide native checkbox */
.check-opt input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.check-opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: .87rem;
  font-weight: 500;
  color: var(--clr-ink);
  transition: border-color .18s, background .18s;
}
.check-opt:hover {
  border-color: var(--clr-teal);
  background: var(--clr-teal-lt);
}
.check-opt input:checked ~ * { color: var(--clr-teal-dk); }
.check-opt:has(input:checked) {
  border-color: var(--clr-teal);
  background: var(--clr-teal-lt);
  font-weight: 600;
}

/* Custom checkbox visual */
.check-opt__box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--clr-border);
  border-radius: 4px;
  background: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}
.check-opt input:checked + .check-opt__box {
  background: var(--clr-teal);
  border-color: var(--clr-teal);
}
.check-opt input:checked + .check-opt__box::after {
  content: '✓';
  font-size: .65rem;
  font-weight: 900;
  color: var(--clr-white);
}

.check-opt__icon { font-size: .95rem; }
.check-opt small { opacity: .6; font-size: .78rem; }

/* ── Window Count input ───────────────────────────────────── */
.windows-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  /* Hidden by default — shown by JS when "Windows" checkbox is ticked */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .22s, transform .22s;
}
.windows-row.visible {
  opacity: 1;
  pointer-events: all;
  transform: none;
}
.windows-row__label {
  font-size: .84rem;
  color: var(--clr-muted);
}
.windows-row input[type="number"] {
  width: 66px;
  height: 38px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--ff-body);
  color: var(--clr-navy);
}
.windows-row input:focus {
  outline: none;
  border-color: var(--clr-teal);
  box-shadow: 0 0 0 3px rgba(10, 138, 122, .12);
}

/* ── Estimate Panel ───────────────────────────────────────── */
.estimate-panel {
  /* Sticky so it stays visible as user fills in the form */
  position: sticky;
  top: calc(var(--nav-height) + 16px);
  background: var(--clr-navy);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  color: var(--clr-white);
  box-shadow: var(--shadow-lg);
}

.estimate-panel__title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 20px;
}

/* Breakdown rows */
.estimate-rows { display: flex; flex-direction: column; }
.estimate-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  gap: 12px;
}
.estimate-row:last-child { border-bottom: none; }
.estimate-row dt { font-size: .84rem; color: rgba(255, 255, 255, .5); }
.estimate-row dd {
  font-size: .9rem;
  font-weight: 600;
  color: var(--clr-white);
  text-align: right;
  max-width: 200px;
}

/* Large price display box */
.estimate-price-block {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin: 20px 0 16px;
}
.estimate-price-block__label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  margin-bottom: 6px;
}
.estimate-price-block__value {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1;
  /* JS adds/removes .price-pulse class to trigger animation */
  transition: color .2s;
}

/* Price flash animation triggered by JS */
@keyframes pricePulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.07); }
}
.price-pulse { animation: pricePulse .28s ease; }

.estimate-panel__note {
  font-size: .72rem;
  color: rgba(255, 255, 255, .33);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Send buttons inside estimate panel */
.estimate-btns {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.estimate-btns .btn {
  width: 100%;
  justify-content: center;
  font-size: .88rem;
  padding: 13px;
}


/* ─────────────────────────────────────────────────────────────
   11. WHY CHOOSE ME SECTION
───────────────────────────────────────────────────────────── */
#why { background: var(--clr-bg); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 0; /* header already has margin-bottom */
}

.why-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border: 1.5px solid var(--clr-border);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--clr-teal);
}

.why-card__icon {
  width: 50px;
  height: 50px;
  background: var(--clr-teal-lt);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: 8px;
}

.why-card p {
  font-size: .84rem;
  color: var(--clr-muted);
  line-height: 1.7;
}


/* ─────────────────────────────────────────────────────────────
   12. BEFORE & AFTER GALLERY — CAROUSEL
   ─────────────────────────────────────────────────────────────
   Layout explanation:
     .gallery__carousel — relative container, holds everything
     .gallery__slider   — clips overflow so only one slide shows
     .gallery__track    — flex row of all slides; JS translates this
     .gallery__slide    — individual slide (full width of slider)
     .gallery__pair     — the before + divider + after layout
───────────────────────────────────────────────────────────── */
#gallery { background: var(--clr-white); }

.gallery__carousel {
  position: relative;
  margin-top: 0;
}

/* Clips the track to one slide width */
.gallery__slider {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--clr-border);
}

/* Flex row — JS moves this with transform: translateX */
.gallery__track {
  display: flex;
  /* Smooth slide transition */
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

/* Each slide takes up 100% of the slider width */
.gallery__slide {
  min-width: 100%;
  flex-shrink: 0;
}

/* Side-by-side before/after images */
.gallery__pair {
  display: flex;
  align-items: stretch;
}

.gallery__before,
.gallery__after {
  flex: 1;
  position: relative;
  margin: 0; /* reset figure margin */
  overflow: hidden;
}

.gallery__before img,
.gallery__after img {
  width: 100%;
  /* Fixed height so all slides match */
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery__before:hover img,
.gallery__after:hover img { transform: scale(1.03); }

/* Before / After label tags */
.gallery__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  pointer-events: none;
}
.gallery__tag--before { background: rgba(13, 32, 48, .62); color: #fff; }
.gallery__tag--after  { background: var(--clr-teal);       color: #fff; }

/* Arrow separator between images */
.gallery__divider {
  width: 36px;
  flex-shrink: 0;
  background: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: var(--clr-gold);
}

/* Caption bar below the pair */
.gallery__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--clr-white);
}
.gallery__footer strong { font-size: .88rem; color: var(--clr-navy); }
.gallery__footer span   { font-size: .76rem; color: var(--clr-muted); }

/* Previous / Next arrow buttons */
.gallery__btn {
  position: absolute;
  top: calc(340px / 2); /* vertically centred on image area */
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-white);
  border: 1.5px solid var(--clr-border);
  font-size: 1.1rem;
  color: var(--clr-navy);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, border-color .18s, color .18s, box-shadow .18s;
  z-index: 10;
}
.gallery__btn:hover {
  background: var(--clr-teal);
  border-color: var(--clr-teal);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(10, 138, 122, .32);
}

.gallery__btn--prev { left: -18px;  }
.gallery__btn--next { right: -18px; }

/* Dot indicators */
.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

/* Individual dots — created and managed by JS */
.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-border);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.gallery__dot.active {
  background: var(--clr-teal);
  transform: scale(1.3);
}


/* ─────────────────────────────────────────────────────────────
   13. TESTIMONIALS / REVIEWS SECTION
───────────────────────────────────────────────────────────── */
#reviews { background: var(--clr-bg); }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1.5px solid var(--clr-border);
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s;
}
.review-card:hover { box-shadow: var(--shadow); }

/* Decorative large quotation mark */
.review-card::after {
  content: '"';
  position: absolute;
  top: 10px;
  right: 18px;
  font-family: var(--ff-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--clr-teal-lt);
  pointer-events: none;
}

.review-card__stars {
  color: var(--clr-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-card__text {
  font-size: .9rem;
  color: var(--clr-ink);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 22px;
  /* Remove browser blockquote indentation */
  padding: 0;
  border: none;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-teal), var(--clr-navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .86rem;
  color: var(--clr-white);
  flex-shrink: 0;
}
.review-card__name     { font-weight: 700; font-size: .86rem; color: var(--clr-navy); }
.review-card__location { font-size: .74rem; color: var(--clr-muted); margin-top: 1px; }


/* ─────────────────────────────────────────────────────────────
   14. AREAS SERVED SECTION
───────────────────────────────────────────────────────────── */
#areas { background: var(--clr-white); }

/* Wrap without extra container (section itself has padding) */
.areas__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.area-chip {
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--clr-navy);
  cursor: default;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.area-chip:hover {
  background: var(--clr-teal);
  color: var(--clr-white);
  border-color: var(--clr-teal);
  transform: scale(1.04);
}


/* ─────────────────────────────────────────────────────────────
   15. FINAL CTA SECTION
───────────────────────────────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, var(--clr-navy) 0%, #0e3448 50%, #076e62 100%);
  text-align: center;
  padding-block: 108px;
  position: relative;
  overflow: hidden;
}

/* Decorative circles in background */
#cta::before,
#cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
#cta::before {
  width: 500px;
  height: 500px;
  background: rgba(10, 138, 122, .13);
  top: -180px;
  right: -120px;
}
#cta::after {
  width: 380px;
  height: 380px;
  background: rgba(232, 160, 32, .09);
  bottom: -140px;
  left: -80px;
}

#cta h2 {
  color: var(--clr-white);
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}
#cta p {
  color: rgba(255, 255, 255, .62);
  max-width: 500px;
  margin-inline: auto;
  font-size: .97rem;
  line-height: 1.8;
  margin-bottom: 38px;
  position: relative;
  z-index: 1;
}

.cta__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-bottom: 36px;
}

.cta__details {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta__details span {
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}


/* ─────────────────────────────────────────────────────────────
   16. FOOTER
───────────────────────────────────────────────────────────── */
footer {
  background: #08141d;
  padding: 38px 5% 26px;
  text-align: center;
}

.footer__logo {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 14px;
}
.footer__logo span { color: #1abcaa; }

.footer__links {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer__links a {
  font-size: .8rem;
  color: rgba(255, 255, 255, .38);
  transition: color .18s;
}
.footer__links a:hover { color: #1abcaa; }

.footer__copy {
  font-size: .76rem;
  color: rgba(255, 255, 255, .22);
  line-height: 1.8;
}


/* ─────────────────────────────────────────────────────────────
   17. SCROLL-REVEAL ANIMATION
   Elements start invisible/shifted. JS adds .visible class
   when they enter the viewport (IntersectionObserver).
───────────────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}


/* ─────────────────────────────────────────────────────────────
   18. RESPONSIVE OVERRIDES
───────────────────────────────────────────────────────────── */

/* Large tablets */
@media (max-width: 1100px) {
  .calc__layout { grid-template-columns: 1fr; }
  .estimate-panel { position: static; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablets */
@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
  .reviews__grid  { grid-template-columns: 1fr; }
  .gallery__before img,
  .gallery__after img { height: 240px; }
  .gallery__btn { top: calc(240px / 2); }
}

/* Mobile */
@media (max-width: 768px) {
  section { padding-block: 60px; }

  /* Hero: stack columns vertically */
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__content { padding: 80px 6% 50px; }
  .hero__photo   { height: 300px; }
  .hero__rating-card { left: 14px; bottom: 14px; }

  /* Show hamburger, hide desktop links */
  .nav__hamburger { display: flex; }
  .nav__links     { display: none; }

  /* Service radio cards: 3-col even on mobile but smaller text */
  .service-selector { grid-template-columns: repeat(3, 1fr); }
  .service-opt__card { padding: 12px 6px; }
  .service-opt__icon { font-size: 1.2rem; }
  .service-opt__name { font-size: .74rem; }

  /* Hide float button labels */
  .float-btn__label { display: none; }
  .float-btn { padding: 11px 13px; }

  /* Gallery arrows closer on small screens */
  .gallery__btn--prev { left: 6px;  }
  .gallery__btn--next { right: 6px; }
}

/* Small mobile */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }

  .why__grid    { grid-template-columns: 1fr; }
  .steppers-row { grid-template-columns: 1fr; }

  .cta__buttons { flex-direction: column; align-items: center; }
  .cta__buttons .btn { width: 100%; max-width: 300px; }
}
