/* ============================================
   WEST COAST CLEANERS — DESIGN SYSTEM
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=Quicksand:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Caveat:wght@600&display=swap');

:root {
  /* Accent colors — West Coast sea blue */
  --green-deep: #1A5270;      /* primary accent — headings, nav, CTA band */
  --green-mid: #2E86AB;       /* secondary accent */
  --green-bright: #4DA8C7;    /* highlights, icons, hover */
  --sage-light: #E3EFF6;      /* section backgrounds — soft sea mist */
  --sage-pale: #F0F7FB;       /* alternating subtle bg */
  --ink: #1C3344;              /* main text — blue slate */
  --ink-soft: #4D6578;         /* secondary text */
  --white: #FFFFFF;
  --line: #C4D9E6;             /* hairline borders */

  /* Logo accent colors — used ONLY as deliberate contrast moments */
  --sunset-coral: #F2664B;
  --sunset-teal: #4DA8C7;

  /* Button colors — sea blue */
  --btn-sea: #1E7094;
  --btn-sea-hover: #155A75;
  --btn-sea-soft: rgba(30, 112, 148, 0.14);

  /* Type */
  --font-display: 'Quicksand', sans-serif;
  --font-hero: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-script: 'Caveat', cursive;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 12px 32px rgba(26, 82, 112, 0.12);
  --shadow-card: 0 6px 20px rgba(28, 51, 68, 0.08);

  /* iOS safe areas (requires viewport-fit=cover) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);

  /* iPhone layout widths (logical px): SE 375 · standard 390 · Plus/Pro Max 430 */
  --iphone-compact: 375px;
  --iphone-standard: 390px;
  --iphone-large: 430px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(7.5rem + var(--safe-top));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  height: -webkit-fill-available;
}

#how-it-works,
#about,
#why-choose-us,
#testimonials,
#contact,
#regular-deep-cleaning,
#carpets-rugs-upholstery,
#post-construction-cleaning {
  scroll-margin-top: calc(7.5rem + var(--safe-top));
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  min-height: 100dvh;
}

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(30, 112, 148, 0.15);
}

button {
  -webkit-tap-highlight-color: rgba(30, 112, 148, 0.15);
}

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { color: var(--ink-soft); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(1.5rem, var(--safe-left));
  padding-right: max(1.5rem, var(--safe-right));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.6rem;
  perspective: 600px;
  transform-style: preserve-3d;
}

.eyebrow-char {
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.eyebrow-char--space {
  width: 0.28em;
}

.title-char {
  display: inline-block;
  will-change: transform, opacity;
}

.title-word {
  display: inline-block;
  white-space: nowrap;
}

.title-char--space {
  width: 0.25em;
}

.script-accent {
  font-family: var(--font-script);
  font-weight: 600;
  color: var(--green-bright);
  font-size: 1.6em;
  display: inline-block;
  transform: rotate(-3deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--sunset-teal);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--btn-sea);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(30, 112, 148, 0.25);
}
.btn-primary:hover { background: var(--btn-sea-hover); transform: translateY(-2px); }

@keyframes header-quote-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 12px 32px rgba(30, 112, 148, 0.25);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 5px rgba(77, 168, 199, 0.32), 0 14px 36px rgba(30, 112, 148, 0.32);
  }
}

.header-quote-btn.is-pulsing {
  animation: header-quote-pulse 0.7s ease-in-out 3;
}

.btn-outline {
  background: transparent;
  border-color: var(--btn-sea);
  color: var(--btn-sea);
}
.btn-outline:hover { background: var(--btn-sea-soft); transform: translateY(-2px); }

.btn-light {
  background: var(--white);
  color: var(--btn-sea);
}
.btn-light:hover { background: var(--btn-sea-soft); transform: translateY(-2px); }

/* Section spacing */
.section {
  padding: var(--space-2xl) 0;
}
.section-sage {
  background: var(--sage-light);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-lg);
}
.section-head p { margin-top: 0.75rem; }

/* ============ HEADER ============ */
@property --scroll-progress {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

.site-header {
  --scroll-progress: 0;
  --header-height: calc(72px + (1 - var(--scroll-progress)) * 40px);
  --header-logo-width: calc(6rem + (1 - var(--scroll-progress)) * 3.5rem);
  --logo-pad-top: calc(0.15rem + (1 - var(--scroll-progress)) * 0.35rem);
  --logo-pad-bottom: 0.12rem;
  --header-glass-alpha: calc(0.58 + var(--scroll-progress) * 0.14);
  --header-blur: calc(10px + var(--scroll-progress) * 4px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: var(--safe-top);
  background: rgba(255, 255, 255, var(--header-glass-alpha));
  backdrop-filter: blur(var(--header-blur)) saturate(1.15);
  -webkit-backdrop-filter: blur(var(--header-blur)) saturate(1.15);
  border-bottom: 1px solid rgba(196, 217, 230, calc(var(--scroll-progress) * 0.65));
  box-shadow: 0 4px 20px rgba(28, 51, 68, calc(var(--scroll-progress) * 0.07));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding-left: max(1.5rem, var(--safe-left));
  padding-right: max(1.5rem, var(--safe-right));
  max-width: 1180px;
  margin: 0 auto;
  gap: 1.5rem;
  box-sizing: border-box;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  padding-block: var(--logo-pad-top) var(--logo-pad-bottom);
  transform: translateZ(0);
}
.logo-link img {
  width: var(--header-logo-width);
  height: auto;
  max-width: none;
  object-fit: contain;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav > a {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}
.main-nav > a.active { color: var(--green-deep); }
.main-nav > a:hover { color: var(--green-deep); }
.main-nav > a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--green-bright);
  transition: width 0.2s ease;
}
.main-nav > a:hover::after,
.main-nav > a.active::after { width: 100%; }

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active { color: var(--green-deep); }

.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--green-bright);
  transition: width 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after,
.nav-dropdown-trigger.active::after { width: 100%; }

.nav-dropdown-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown:focus-within .nav-dropdown-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0.45rem 0;
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 120;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--sage-light);
  color: var(--green-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sage-light);
  color: var(--green-deep);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
}
.phone-pill svg { width: 16px; height: 16px; flex-shrink: 0; }

.header-actions .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
  line-height: 1.15;
  box-shadow: 0 4px 14px rgba(30, 112, 148, 0.18);
}

.header-actions .btn:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle svg { width: 28px; height: 28px; color: var(--green-deep); }

/* ============ HERO SLIDER ============ */
.hero-slider {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: clamp(520px, 88vh, 760px);
  min-height: clamp(520px, 88vh, 760px);
  display: flex;
  align-items: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.9s ease;
}

.hero-slide-bg {
  position: absolute;
  top: -6%;
  left: -12%;
  width: 124%;
  height: 112%;
  min-height: 112%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform-origin: center center;
  will-change: transform, opacity;
}

/* ============ HERO PARALLAX SLIDE (slide 2) ============ */
.hero-slide--parallax {
  perspective: 1200px;
}

.hero-parallax-scene {
  transform-style: preserve-3d;
  overflow: hidden;
}

.hero-parallax-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
}

.hero-parallax-layer.background {
  z-index: 1;
}

.hero-parallax-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-parallax-mist {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255, 255, 255, 0.22) 0%, transparent 65%),
    linear-gradient(105deg, rgba(240, 247, 251, 0.35) 0%, rgba(240, 247, 251, 0.08) 55%, transparent 80%);
}

.hero-parallax-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.hero-parallax-accent--left {
  width: clamp(120px, 22vw, 260px);
  height: clamp(120px, 22vw, 260px);
  left: 8%;
  bottom: 12%;
  background: rgba(122, 184, 122, 0.45);
}

.hero-parallax-accent--right {
  width: clamp(90px, 16vw, 200px);
  height: clamp(90px, 16vw, 200px);
  right: 12%;
  top: 18%;
  background: rgba(26, 82, 112, 0.35);
}

.hero-slider.is-second-slide .hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(240, 247, 251, 0.94) 0%,
    rgba(240, 247, 251, 0.78) 36%,
    rgba(240, 247, 251, 0.42) 58%,
    rgba(240, 247, 251, 0.12) 78%,
    transparent 100%
  );
}

.hero-slider.is-parallax-active .hero-slide {
  transition: none;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slider.is-textless-slide .hero-copy,
.hero-slider.is-textless-slide .hero-rating {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(240, 247, 251, 0.96) 0%,
    rgba(240, 247, 251, 0.9) 36%,
    rgba(240, 247, 251, 0.55) 58%,
    rgba(240, 247, 251, 0.15) 78%,
    transparent 100%
  );
  pointer-events: none;
  transition: background 0.6s ease;
}

.hero-slider.is-textless-slide .hero-overlay {
  background: transparent;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
}

.hero-copy {
  max-width: 560px;
  transition: background 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease, border-color 0.5s ease;
}

/* Slide 1 — glass panel over the photo */
.hero-slider.is-first-slide .hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(240, 247, 251, 0.12) 0%,
    rgba(240, 247, 251, 0.06) 45%,
    transparent 72%
  );
}

.hero-slider.is-first-slide .hero-copy {
  background: rgba(255, 255, 255, 0.43);
  backdrop-filter: blur(8.64px) saturate(1.1);
  -webkit-backdrop-filter: blur(8.64px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 16px 48px rgba(26, 82, 112, 0.1);
}

.hero-slider.is-first-slide .hero-rating {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px) saturate(1.05);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-slider.is-first-slide .hero-copy .hero-tagline {
  display: block;
  opacity: 1;
  visibility: visible;
  width: min(100%, 32rem);
  max-width: 100%;
  height: auto;
  margin-top: 0.25rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  filter:
    drop-shadow(0 0 1px rgba(26, 82, 112, 0.9))
    drop-shadow(0 1px 3px rgba(26, 82, 112, 0.7))
    drop-shadow(0 4px 12px rgba(255, 255, 255, 0.95));
}

.hero-copy .hero-tagline {
  display: block;
  width: min(100%, 32rem);
  max-width: 100%;
  height: auto;
  margin-top: 0.25rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.hero-slider:not(.is-first-slide) .hero-copy .hero-tagline {
  display: none !important;
}

.hero-slider.is-first-slide .hero-title-line--primary {
  display: none !important;
}

.hero-title-line--primary {
  display: block;
}

.hero-title-line--accent {
  display: block;
}

/* Slide 1 desktop — glass panel midway between centered and flush-left */
@media (min-width: 981px) {
  .hero-slider.is-first-slide .hero-inner {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: calc(max(1.5rem, var(--safe-left)) + (100vw - min(1180px, 100vw)) / 4);
    padding-right: max(1.5rem, var(--safe-right));
  }

  .hero-slider.is-first-slide .hero-overlay {
    background: linear-gradient(
      95deg,
      rgba(240, 247, 251, 0.14) 0%,
      rgba(240, 247, 251, 0.08) 42%,
      rgba(240, 247, 251, 0.03) 56%,
      transparent 72%
    );
  }
}


.hero-title {
  margin-bottom: 1.1rem;
  font-family: var(--font-hero);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--green-deep);
}

.hero-copy > .hero-title {
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 700;
}

.hero-copy > .hero-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
}
.hero-title-line {
  display: block;
}
.hero-title-line.hi-green,
.hero-copy h1 .hi-green { color: var(--green-mid); }

.hero-title-line.hi-green.hi-green-stroke,
.hero-copy h1 .hi-green.hi-green-stroke {
  -webkit-text-stroke: 3px #000;
  paint-order: stroke fill;
}

.hero-text {
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 1.6rem;
}

.hero-ctas {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.hero-areas {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.hero-areas-pin {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--green-bright);
}

.hero-areas-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-areas-label {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-areas-locations {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.4;
}

.trust-badges {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.trust-badges li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.trust-badges svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--green-bright);
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-card);
  color: var(--ink);
}
.hero-rating .stars { color: #F2A93B; font-size: 1.1rem; letter-spacing: 1px; }
.hero-rating .rating-num { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.hero-rating small { color: var(--ink-soft); display: block; font-size: 0.78rem; }

@media (max-width: 980px) {
  .hero-slider.is-first-slide .hero-rating {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-deep);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, transform 0.18s ease;
}
.hero-nav svg { width: 22px; height: 22px; }
.hero-nav:hover { background: var(--white); transform: translateY(-50%) scale(1.05); }
.hero-nav-prev { left: max(1rem, var(--safe-left)); }
.hero-nav-next { right: max(1rem, var(--safe-right)); }

/* ============ IMAGE PLACEHOLDER (consistent, plain, swappable) ============ */
.img-placeholder {
  background: var(--sage-light);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--ink-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.img-placeholder svg {
  width: 38px; height: 38px;
  color: var(--green-mid);
  opacity: 0.7;
}
.img-placeholder span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.img-placeholder.placeholder-hero { min-height: 380px; }
.img-placeholder.placeholder-square { aspect-ratio: 1 / 1; }
.img-placeholder.placeholder-wide { aspect-ratio: 16 / 9; }
.img-placeholder.placeholder-card { aspect-ratio: 4 / 3; border-radius: var(--radius-md); }

/* ============ HOW IT WORKS ============ */
.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
}
.step {
  text-align: center;
}
.step-icon {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
}
.step-icon svg { width: 40px; height: 40px; color: var(--green-deep); }
.step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; }
.step-arrow {
  color: var(--line);
  font-size: 1.6rem;
}
.step-arrow svg { width: 32px; height: 32px; color: var(--green-bright); opacity: 0.6; }

/* ============ ABOUT / WHY US (homepage) ============ */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.about-copy ul {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.about-copy ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--ink);
}
.about-copy ul svg {
  width: 22px; height: 22px;
  color: var(--white);
  background: var(--green-bright);
  border-radius: 50%;
  padding: 4px;
  flex-shrink: 0;
  margin-top: 1px;
}

.why-choose-list {
  perspective: 800px;
}

.why-choose-list li {
  transform-origin: left center;
}

.why-choose-services-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  gap: 0.65rem;
  padding: 0.9rem 1.85rem;
  box-shadow:
    0 14px 36px rgba(30, 112, 148, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

#why-choose-us .why-choose-services-btn {
  margin-top: 1.6rem;
}

.why-choose-services-btn.btn-primary:hover,
.why-choose-services-btn.btn-light:hover,
.why-choose-services-btn.btn-outline:hover {
  transform: none;
}

.site-header .why-choose-services-btn {
  margin-top: 0;
  padding: 0.7rem 1.45rem;
  font-size: 0.92rem;
}

.cta-band .why-choose-services-btn.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cta-band .why-choose-services-btn.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.why-choose-services-btn.btn-light {
  box-shadow:
    0 14px 36px rgba(30, 112, 148, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.why-choose-services-btn.btn-outline {
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.why-choose-services-btn__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
  pointer-events: none;
  z-index: 0;
}

.why-choose-services-btn__label,
.why-choose-services-btn__arrow {
  position: relative;
  z-index: 1;
}

.why-choose-services-btn__arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .why-choose-services-btn__shine {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-choose-list li,
  .why-choose-list li svg {
    transform: none !important;
    opacity: 1 !important;
  }
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-caption {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.98rem;
  padding: 0 0.5rem;
}

.about-intro {
  max-width: 42rem;
  margin: 0 auto;
}
.about-intro > h2 {
  margin-bottom: 1.25rem;
}
.about-intro > p + p,
.about-intro > h3 + ul + p {
  margin-top: 1rem;
}
.about-intro h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
.about-intro .about-motto {
  font-weight: 500;
  color: var(--ink);
}
.about-intro ul strong {
  white-space: nowrap;
}

/* ============ SERVICES PREVIEW (grid of cards) ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.service-card .icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.service-card .icon-circle svg { width: 28px; height: 28px; color: var(--green-deep); }

/* ============ SERVICE DETAIL (services.html) ============ */
.service-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}
.service-detail.reverse .service-detail-copy { order: 2; }
.service-detail.reverse .img-placeholder,
.service-detail.reverse .service-detail-photo { order: 1; }

.service-detail-photo,
.about-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-md);
  display: block;
}

.service-detail-list {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.service-detail-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--green-bright);
}
.service-detail-list strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}
.service-detail-list span {
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.service-card p { font-size: 0.92rem; margin-bottom: 0; }

/* Testimonials showcase — see css/testimonials.css */

/* ============ RATING SUMMARY (testimonials.html) ============ */
.rating-summary {
  display: flex;
  justify-content: center;
}
.rating-summary-score {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--sage-light);
  border-radius: var(--radius-pill);
  padding: 1rem 2rem;
}
.rating-summary-score .rating-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--green-deep);
}
.rating-summary-score .stars { color: #F2A93B; font-size: 1.3rem; letter-spacing: 1px; }
.rating-summary-score .rating-label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 600;
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--green-deep);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  position: relative;
  color: var(--white);
}
.cta-band h2 { color: var(--white); margin-bottom: 0.6rem; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 480px; margin: 0 auto 1.6rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ============ FOOTER ============ */
.site-footer {
  background: #132F42;
  color: rgba(255,255,255,0.78);
  padding: var(--space-xl) 0 calc(var(--space-md) + var(--safe-bottom));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
}
.site-footer p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.footer-links a:hover { color: var(--green-bright); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
}
.footer-contact-item svg { width: 18px; height: 18px; color: var(--green-bright); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ============ PAGE HEADER (for sub-pages) ============ */
.page-header {
  background: var(--sage-light);
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
}
.page-header p { max-width: 580px; margin: 0.8rem auto 0; }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  bottom: max(1.6rem, var(--safe-bottom));
  right: max(1.6rem, var(--safe-right));
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 90;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; color: white; }

/* ============ CONTACT PAGE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-info-card {
  background: var(--sage-light);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact-info-card .icon-circle {
  width: 48px; height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}
.contact-info-card .icon-circle svg { width: 22px; height: 22px; color: var(--green-deep); }
.contact-info-card h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.contact-info-card p { font-size: 0.94rem; margin-bottom: 0; }
.contact-info-card a { color: var(--green-deep); font-weight: 600; }
.contact-info-card a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.contact-form-wrap h2 { margin-bottom: 0.4rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  resize: vertical;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green-bright);
  box-shadow:
    0 0 0 3px rgba(77, 168, 199, 0.28),
    0 0 14px rgba(77, 168, 199, 0.38),
    0 0 28px rgba(46, 134, 171, 0.22);
}
.form-submit { margin-top: 0.4rem; align-self: flex-start; }
.form-success {
  display: none;
  background: var(--sage-light);
  color: var(--green-deep);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  margin-top: 0.6rem;
}
.form-success.visible { display: block; }
.form-error {
  display: none;
  background: #fdecea;
  color: #8a2f24;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  margin-top: 0.6rem;
}
.form-error a {
  color: inherit;
  font-weight: 600;
}
.form-error.visible { display: block; }
.form-submit.is-sending {
  opacity: 0.75;
  cursor: wait;
}

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


@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem max(1.5rem, var(--safe-right)) max(1.5rem, var(--safe-bottom)) max(1.5rem, var(--safe-left));
    border-bottom: 1px solid var(--line);
    gap: 1rem;
  }
  .main-nav.nav-open { display: flex; }
  .main-nav > a,
  .nav-dropdown-trigger,
  .nav-dropdown-menu a {
    will-change: transform, opacity;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    width: 100%;
    margin-top: 0.15rem;
    padding: 0.15rem 0 0.35rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-dropdown-menu a {
    padding: 0.45rem 0 0.45rem 0.85rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-dropdown-chevron { display: none; }
  .nav-toggle { display: block; }
  .site-header {
    --header-height: calc(64px + (1 - var(--scroll-progress)) * 28px);
    --header-logo-width: calc(5.25rem + (1 - var(--scroll-progress)) * 2.25rem);
    --logo-pad-top: calc(0.1rem + (1 - var(--scroll-progress)) * 0.25rem);
    --logo-pad-bottom: 0.1rem;
  }
  .site-header.is-scrolled .main-nav.nav-open {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .hero-slider {
    height: clamp(480px, 82vh, 680px);
    min-height: clamp(480px, 82vh, 680px);
  }
  .hero-nav {
    width: 40px;
    height: 40px;
  }
  .hero-nav svg { width: 20px; height: 20px; }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(240, 247, 251, 0.96) 0%,
      rgba(240, 247, 251, 0.88) 55%,
      rgba(240, 247, 251, 0.45) 100%
    );
  }
  .hero-slider.is-first-slide .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(240, 247, 251, 0.2) 0%,
      rgba(240, 247, 251, 0.08) 50%,
      transparent 100%
    );
  }
  .hero-slider.is-textless-slide .hero-overlay {
    background: transparent;
  }
  .hero-slider.is-first-slide {
    align-items: flex-start;
  }

  .hero-slider.is-first-slide .hero-inner {
    padding-top: calc(var(--space-sm) + 0.25rem);
  }

  .hero-slider.is-first-slide .hero-copy {
    padding: var(--space-sm) var(--space-md);
    margin-top: 0;
  }
  .about-block { grid-template-columns: 1fr; }

  /* Why choose us — show full warehouse sign on mobile (no side crop) */
  #why-choose-us .about-photo {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }

  .service-detail { grid-template-columns: 1fr; }
  .service-detail.reverse .service-detail-copy { order: 1; }
  .service-detail.reverse .img-placeholder { order: 2; }
  .img-placeholder.placeholder-card { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); margin: 0 auto; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
}

/* ============ IPHONE VIEWPORTS ============ */
/* iPhone 14/15 Plus & Pro Max — up to 430px */
@media (max-width: 430px) {
  .section {
    padding: var(--space-xl) 0;
  }

  .page-header {
    padding: var(--space-lg) 0 var(--space-md);
  }

  .hero-slider {
    height: clamp(440px, 85dvh, 720px);
    min-height: clamp(440px, 85dvh, 720px);
    align-items: flex-end;
  }

  .hero-inner {
    padding-top: var(--space-lg);
    padding-bottom: calc(var(--space-lg) + var(--safe-bottom) + 1.5rem);
  }

  .hero-slider.is-first-slide .hero-inner {
    padding-top: 0.875rem;
  }

  .hero-slider.is-first-slide .hero-copy {
    padding: var(--space-sm) var(--space-md);
    margin-top: 0;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy .hero-tagline {
    width: min(100%, 100%);
  }

  .hero-text {
    font-size: 1rem;
    max-width: 100%;
  }

  .trust-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .header-inner {
    gap: 0.65rem;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .phone-pill span {
    display: none;
  }

  .phone-pill,
  .header-actions .btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }

  h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.35rem);
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: max(1.25rem, var(--safe-bottom));
    right: max(1.25rem, var(--safe-right));
  }

  .cta-band {
    padding: var(--space-lg) var(--space-md);
  }
}

/* iPhone 14/15, 13, 12 — 390px */
@media (max-width: 390px) {
  .site-header {
    --header-logo-width: calc(4.75rem + (1 - var(--scroll-progress)) * 2rem);
  }

  .hero-slider.is-first-slide .hero-inner {
    padding-top: 1rem;
  }

  .hero-slider.is-first-slide .hero-copy {
    padding: var(--space-sm) var(--space-md);
    margin-top: 0;
  }

  .hero-rating {
    padding: 0.9rem 1.1rem;
  }

  .rating-summary-score {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1.4rem;
  }

  .rating-summary-score .rating-label {
    border-left: none;
    padding-left: 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
  }
}

/* iPhone SE & compact — 375px */
@media (max-width: 375px) {
  .container {
    padding-left: max(1rem, var(--safe-left));
    padding-right: max(1rem, var(--safe-right));
  }

  .header-inner {
    padding-left: max(1rem, var(--safe-left));
    padding-right: max(1rem, var(--safe-right));
  }

  .hero-copy .hero-tagline {
    width: min(100%, 100%);
  }

  h1 {
    font-size: clamp(1.75rem, 8vw, 2.1rem);
  }

  .hero-slider.is-first-slide .hero-inner {
    padding-top: 1rem;
  }

  .hero-slider.is-first-slide .hero-copy {
    padding: var(--space-sm) var(--space-sm);
    margin-top: 0;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .footer-grid {
    gap: var(--space-md);
  }
}

/* iPhone SE & short viewports — extra clearance under sticky nav */
@media (max-width: 430px) and (max-height: 667px) {
  .hero-slider.is-first-slide .hero-inner {
    padding-top: 1.125rem;
  }

  .hero-slider.is-first-slide .hero-copy {
    margin-top: 0;
    padding: var(--space-sm) var(--space-sm);
  }
}

/* iPhone landscape */
@media (max-height: 430px) and (orientation: landscape) {
  .hero-slider {
    height: max(320px, 100dvh);
    min-height: max(320px, 100dvh);
  }

  .hero-inner {
    padding-top: var(--space-sm);
    padding-bottom: calc(var(--space-md) + var(--safe-bottom));
  }

  .hero-rating,
  .trust-badges {
    display: none;
  }

  .hero-ctas {
    margin-bottom: 1rem;
  }

  .site-header {
    --header-height: calc(56px + (1 - var(--scroll-progress)) * 16px);
    --header-logo-width: calc(4.5rem + (1 - var(--scroll-progress)) * 1.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .hero-slide { transition: none !important; }
}

/* ============ IPHONE / iOS SAFARI ============ */
@supports (-webkit-touch-callout: none) {
  body {
    overflow-x: hidden;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px; /* prevents auto-zoom on focus in iOS Safari */
  }

  .btn,
  .phone-pill,
  .nav-toggle {
    min-height: 44px; /* Apple HIG minimum touch target */
  }

  .main-nav > a,
  .nav-dropdown-trigger,
  .nav-dropdown-menu a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nav-dropdown-menu a {
    display: flex;
    width: 100%;
  }

  /* Slide 1 — keep frosted panel clear of sticky nav / notch */
  .hero-slider.is-first-slide {
    align-items: flex-start;
  }

  .hero-slider.is-first-slide .hero-inner {
    padding-top: 1rem;
  }

  @media (max-width: 430px) {
    .hero-slider.is-first-slide .hero-inner {
      padding-top: 1.125rem;
    }

    .hero-slider.is-first-slide .hero-copy {
      margin-top: 0;
    }
  }

  @media (max-width: 375px) {
    .hero-slider.is-first-slide .hero-inner {
      padding-top: 1.25rem;
    }
  }

  @media (max-width: 430px) and (max-height: 667px) {
    .hero-slider.is-first-slide .hero-inner {
      padding-top: 1.375rem;
    }
  }

  /* Dynamic viewport height for iOS Safari chrome */
  @media (max-width: 430px) {
    .hero-slider {
      min-height: 85dvh;
      min-height: 85svh;
    }
  }

  @media (max-height: 430px) and (orientation: landscape) {
    .main-nav.nav-open {
      max-height: calc(100dvh - var(--header-height) - var(--safe-top));
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
  }
}
