/* ═══════════════════════════════════════════════════════════
   CALDWELL PLUMBING & HEATING — STYLESHEET
   style.css
   ═══════════════════════════════════════════════════════════ */

/* ─── 1. CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  --navy:         #0d1f3c;
  --navy-mid:     #162a4e;
  --navy-light:   #1e3a68;
  --amber:        #e07b2a;
  --amber-light:  #f09040;
  --amber-dark:   #c26518;
  --amber-pale:   #fdf0e3;
  --cream:        #f5f0e8;
  --warm-white:   #fdf9f4;
  --off-white:    #fff;
  --slate:        #5a6a7e;
  --slate-light:  #8a9bb0;
  --text-dark:    #1c2b3a;
  --text-mid:     #4a5a6e;
  --text-light:   #7a8a9e;
  --border:       #e4ddd4;
  --border-light: #ede8e0;
  --shadow-xs:    0 1px 4px rgba(13,31,60,0.06);
  --shadow-sm:    0 2px 10px rgba(13,31,60,0.08);
  --shadow-md:    0 8px 28px rgba(13,31,60,0.12);
  --shadow-lg:    0 20px 56px rgba(13,31,60,0.16);
  --shadow-xl:    0 32px 80px rgba(13,31,60,0.2);
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    22px;
  --radius-xl:    32px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --t:            0.28s;
  --max-w:        1240px;
  --font-h:       'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-b:       'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-b);
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ─── 3. UTILITY ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .container { padding-inline: 2.5rem; }
}

@media (min-width: 1280px) {
  .container { padding-inline: 3rem; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: background var(--t) var(--ease),
              color var(--t) var(--ease),
              border-color var(--t) var(--ease),
              transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

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

.btn--primary {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
  box-shadow: 0 4px 16px rgba(224,123,42,0.28);
}
.btn--primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  box-shadow: 0 6px 22px rgba(224,123,42,0.38);
}

.btn--ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline {
  background: transparent;
  color: var(--amber);
  border-color: var(--amber);
}
.btn--outline:hover {
  background: var(--amber-pale);
}

.btn--sm  { padding: 0.625rem 1.25rem; font-size: 0.9rem; }
.btn--lg  { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; }


/* ─── 4. SECTION LAYOUT ─────────────────────────────────── */
.section {
  padding-block: 5.5rem;
}

.section--alt {
  background: var(--cream);
}

.section--dark {
  background: var(--navy);
}

.section-header {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.section-eyebrow--light {
  color: var(--amber-light);
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title--light { color: #fff; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.section-sub--light { color: rgba(255,255,255,0.72); }


/* ─── 5. SCROLL REVEAL ANIMATIONS ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }

/* ─── 7. HEADER ─────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: 1.125rem;
  transition: background var(--t) var(--ease),
              padding var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}

/* Added only during banner dismiss so scroll-linked movement never transitions */
.header.is-dismissing-banner {
  transition: background var(--t) var(--ease),
              padding var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              top 0.3s var(--ease);
}

.header.scrolled {
  background: rgba(253, 249, 244, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo__sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

/* On hero (transparent header) the logo text is white */
.header:not(.scrolled) .logo__name { color: #fff; }
.header:not(.scrolled) .logo__sub  { color: rgba(255,255,255,0.65); }

/* Nav */
.nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--t);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
  border-radius: 1px;
}

.nav__link:hover { color: var(--navy); }
.nav__link:hover::after { transform: scaleX(1); }

/* On dark header */
.header:not(.scrolled) .nav__link { color: rgba(255,255,255,0.8); }
.header:not(.scrolled) .nav__link:hover { color: #fff; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--t);
}

.header__phone:hover { color: var(--amber); }

.header:not(.scrolled) .header__phone { color: rgba(255,255,255,0.9); }
.header:not(.scrolled) .header__phone:hover { color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.375rem;
  margin-left: auto;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t), background var(--t);
}

.header:not(.scrolled) .hamburger__line { background: #fff; }

.hamburger.is-active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ─── 8. MOBILE MENU ────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}

.mobile-menu:not([hidden]) {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu__link {
  display: block;
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--t), padding-left var(--t);
}

.mobile-menu__link:hover {
  color: var(--amber);
  padding-left: 0.5rem;
}

.mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}


/* ─── 9. HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

/* Animated blueprint grid background */
.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--navy);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 54px,
      rgba(255,255,255,0.028) 54px,
      rgba(255,255,255,0.028) 55px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 54px,
      rgba(255,255,255,0.028) 54px,
      rgba(255,255,255,0.028) 55px
    );
  animation: grid-drift 18s linear infinite;
}

@keyframes grid-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 55px 55px; }
}

/* Gradient overlay — darkens bottom, adds warm glow top-right */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(224,123,42,0.12) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(13,31,60,0.15) 0%, rgba(13,31,60,0.6) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr 380px;
    gap: 4rem;
  }
}

.hero__content { color: #fff; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1.25rem;
}

.hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(224,123,42,0.25);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

.hero__headline {
  font-family: var(--font-h);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero__headline em {
  font-style: italic;
  color: var(--amber);
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.hero__sub strong { color: #fff; }

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

.hero__actions .btn {
  flex: 1;
  min-width: 180px;
  justify-content: center;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}

/* Hero quick-form card */
.hero__card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

.hero__card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.5rem;
}

.hero__card-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
}

.hero__form .form-group {
  margin-bottom: 1rem;
}

.hero__card-note {
  margin-top: 0.875rem;
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ─── 10. FORM ELEMENTS ─────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%235a6a7e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(224,123,42,0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

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

.form-required { color: var(--amber); margin-left: 2px; }

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

@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-privacy {
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.5;
}


/* ─── 11. SERVICES SECTION ──────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--off-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--amber);
}

.service-card--featured {
  background: var(--navy);
  border-color: var(--navy);
}

.service-card--featured .service-card__title,
.service-card--featured .service-card__desc,
.service-card--featured .service-card__list li {
  color: rgba(255,255,255,0.9);
}

.service-card--featured .service-card__icon {
  color: var(--amber);
}

.service-card--featured .service-card__list li::before {
  background: var(--amber);
}

.service-card__icon {
  color: var(--amber);
  margin-bottom: 1.25rem;
  width: 52px;
  height: 52px;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}

.service-card:hover .service-card__icon {
  background: var(--amber);
  color: #fff;
}

.service-card--featured .service-card__icon {
  background: rgba(255,255,255,0.1);
}

.service-card--featured:hover .service-card__icon {
  background: var(--amber);
}

.service-card__body { flex: 1; }

.service-card__title {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.625rem;
}

.service-card__desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-card__list {
  margin-bottom: 1.5rem;
}

.service-card__list li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-card__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.service-card__cta {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--amber);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  transition: color var(--t), letter-spacing var(--t);
}

.service-card:hover .service-card__cta { letter-spacing: 0.02em; }

.service-card--featured .service-card__cta {
  color: var(--amber-light);
  border-top-color: rgba(255,255,255,0.12);
}

.service-card__cta--urgent {
  color: #fff;
  background: var(--amber);
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  text-align: center;
  margin-top: auto;
}

.service-card__cta--urgent:hover {
  background: var(--amber-light);
}


/* ─── 12. STATS ROW ─────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0;
}

@media (min-width: 700px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  background: var(--off-white);
  padding: 2.5rem 2rem;
  text-align: center;
}

.stat__number {
  font-family: var(--font-h);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat__suffix {
  font-family: var(--font-h);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--amber);
  margin-left: 0.1rem;
}

.stat__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}


/* ─── 13. USPs GRID ─────────────────────────────────────── */
.usps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .usps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .usps-grid { grid-template-columns: repeat(3, 1fr); }
}

.usp-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-light);
  background: var(--off-white);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}

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

.usp-card__icon {
  color: var(--amber);
  margin-bottom: 1rem;
  width: 48px;
  height: 48px;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), color var(--t);
}

.usp-card:hover .usp-card__icon {
  background: var(--amber);
  color: #fff;
}

.usp-card__title {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.usp-card__desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}


/* ─── 14. HOW IT WORKS ──────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .steps {
    flex-direction: row;
    align-items: flex-start;
  }
}

.step {
  flex: 1;
  text-align: center;
  padding: 2rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  position: relative;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}

.step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--amber);
}

.step__number {
  font-family: var(--font-h);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--amber);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.05em;
}

.step__icon {
  color: var(--amber);
  margin: 0 auto 1.25rem;
  width: 56px;
  height: 56px;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), color var(--t);
}

.step:hover .step__icon {
  background: var(--amber);
  color: #fff;
}

.step__title {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.625rem;
}

.step__desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.step__connector {
  display: none;
  flex-shrink: 0;
  width: 100px;
  color: var(--border);
  margin-top: 5rem;
}

@media (min-width: 860px) {
  .step__connector { display: block; }
}


/* ─── 15. TESTIMONIALS ──────────────────────────────────── */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(100%);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .testimonial-card { flex: 0 0 calc(50% - 0.75rem); }
}

@media (min-width: 1100px) {
  .testimonial-card { flex: 0 0 calc(33.333% - 1rem); }
}

.testimonial-card__stars {
  font-size: 1rem;
  color: var(--amber);
  letter-spacing: 0.1em;
}

.testimonial-card__quote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  font-style: italic;
  quotes: "\201C" "\201D";
}

.testimonial-card__quote::before { content: open-quote; }
.testimonial-card__quote::after  { content: close-quote; }

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-weight: 700;
  font-size: 0.825rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card__name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  font-style: normal;
}

.testimonial-card__location {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.testimonial-card__service {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber-light);
  background: rgba(224,123,42,0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), color var(--t), border-color var(--t);
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--t), transform var(--t);
}

.carousel-dot.is-active,
.carousel-dot:hover {
  background: var(--amber);
  transform: scale(1.25);
}


/* ─── 16. PRICING ───────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--off-white);
  transition: box-shadow var(--t), transform var(--t);
  position: relative;
}

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

.pricing-card--featured {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber), var(--shadow-md);
}

.pricing-card--featured:hover {
  box-shadow: 0 0 0 1px var(--amber), var(--shadow-lg);
}

.pricing-card__badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--amber);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-card__header {
  padding: 1.75rem 1.75rem 0;
  margin-bottom: 1.5rem;
}

.pricing-card__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.625rem;
}

.pricing-card__price {
  font-size: 1rem;
  color: var(--text-mid);
}

.pricing-card__price strong {
  font-family: var(--font-h);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.04em;
}

.pricing-card__price span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.pricing-card__items {
  padding: 0 1.75rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.pricing-card__items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border-light);
}

.pricing-card__items li:last-child { border-bottom: none; }

.pricing-card__items li span:last-child {
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.pricing-card__note {
  padding: 1rem 1.75rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.pricing-card__guarantee {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.25rem 1.75rem;
  background: var(--amber-pale);
  font-size: 0.83rem;
  color: var(--amber-dark);
  font-weight: 500;
  line-height: 1.5;
}

.pricing-card .btn {
  margin: 1.5rem 1.75rem;
  width: calc(100% - 3.5rem);
  justify-content: center;
}

.pricing-disclaimer {
  text-align: center;
  font-size: 0.83rem;
  color: var(--text-light);
  margin-top: 2.5rem;
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.65;
}


/* ─── 17. SERVICE AREAS ─────────────────────────────────── */
.areas-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .areas-layout { grid-template-columns: 1fr 1fr; }
}

/* Decorative map visual */
.areas-map__visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  aspect-ratio: 1;
}

.areas-map__ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed var(--border);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-pulse 3s ease-in-out infinite;
}

.areas-map__ring--1 { width: 40%;  height: 40%;  animation-delay: 0s; }
.areas-map__ring--2 { width: 65%;  height: 65%;  animation-delay: 0.5s; }
.areas-map__ring--3 { width: 90%;  height: 90%;  animation-delay: 1s; }

@keyframes ring-pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

.areas-map__centre {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(13,31,60,0.1);
}

.areas-map__dot {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(224,123,42,0.2);
}

.areas-map__dot::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}

.areas-map__dot:hover::after { opacity: 1; }

/* Areas list */
.areas-list__title {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.areas-list__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.areas-list__grid li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding: 0.6rem 1rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--t), color var(--t);
}

.areas-list__grid li:hover {
  background: var(--amber-pale);
  color: var(--amber-dark);
}

.areas-list__grid li:nth-child(even) { border-right: none; }
.areas-list__grid li:nth-last-child(-n+2) { border-bottom: none; }

.areas-list__note {
  font-size: 0.875rem;
  color: var(--text-mid);
}

.areas-list__note a {
  color: var(--amber);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ─── 18. FAQ ────────────────────────────────────────────── */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background: var(--off-white);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem 1.75rem;
  font-family: var(--font-b);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--t), color var(--t);
}

.faq-question:hover {
  background: var(--amber-pale);
  color: var(--amber-dark);
}

.faq-question[aria-expanded="true"] {
  background: var(--amber-pale);
  color: var(--amber-dark);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--amber);
  transition: transform var(--t) var(--ease);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.75rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  border-top: 1px solid var(--border-light);
  margin-top: 0;
}

.faq-answer[hidden] { display: none; }

.faq-answer a {
  color: var(--amber);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer p { margin-top: 0.75rem; }
.faq-answer p:first-child { margin-top: 0; }


/* ─── 19. CONTACT SECTION ───────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 360px; }
}

.contact-form-wrap {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form .form-row { margin-bottom: 0; }
.contact-form .form-row .form-group { margin-bottom: 0; }

/* Form success state */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.form-success[hidden] { display: none; }

.form-success__icon {
  margin: 0 auto 1.5rem;
  width: fit-content;
}

.form-success__title {
  font-family: var(--font-h);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.form-success__msg {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 420px;
  margin-inline: auto;
}

.form-success__msg a {
  color: var(--amber);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact Info Panel */
.contact-info__card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  color: #fff;
}

.contact-info__title {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.75rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-info__item:last-of-type { border-bottom: none; }

.contact-info__icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-light);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-info__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}

.contact-info__value a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  transition: color var(--t);
}

.contact-info__value a:hover { color: var(--amber-light); }

.contact-info__emergency {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(224,123,42,0.15);
  border: 1px solid rgba(224,123,42,0.3);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
}

.contact-info__emergency svg { color: var(--amber); flex-shrink: 0; margin-top: 2px; }

.contact-info__emergency a {
  color: var(--amber-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ─── 20. FOOTER ────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,0.72); }

.footer__wave {
  line-height: 0;
  overflow: hidden;
  background: var(--warm-white);
}

.footer__wave svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer__body {
  padding-top: 4rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  text-align: center; /* 320px: single column, centred */
}

@media (min-width: 375px) {
  .footer__inner { text-align: left; } /* 375px: single column, left-aligned */
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr 1.25fr;
    gap: 3rem;
  }
}

/* Footer brand */
.logo--light .logo__name { color: #fff; }
.logo--light .logo__sub  { color: rgba(255,255,255,0.5); }

.footer__tagline {
  font-family: var(--font-h);
  font-size: 1rem;
  font-style: italic;
  color: var(--amber-light);
  margin-top: 0.875rem;
  margin-bottom: 0.625rem;
}

.footer__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

@media (max-width: 374px) {
  .footer__desc { max-width: 100%; }
  .footer__socials { justify-content: center; }
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t), border-color var(--t), background var(--t);
}

.footer__social-link:hover {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(224,123,42,0.08);
}

/* Footer nav columns */
.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--t), padding-left var(--t);
}

.footer__links a:hover {
  color: rgba(255,255,255,0.9);
  padding-left: 4px;
}

/* Footer address */
.footer__address {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.footer__address p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.footer__address a {
  color: rgba(255,255,255,0.6);
  transition: color var(--t);
}

.footer__address a:hover { color: var(--amber-light); }

.footer__cta {
  color: var(--amber-light);
  border-color: rgba(224,123,42,0.4);
}

.footer__cta:hover {
  background: rgba(224,123,42,0.12);
  border-color: var(--amber-light);
}

/* Footer bar */
.footer__bar {
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 1.5rem;
}

.footer__bar-inner {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 700px) {
  .footer__bar-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
}

.footer__copy strong { color: rgba(255,255,255,0.55); }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.footer__legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
  transition: color var(--t);
}

.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* Agency credit */
.footer__credit {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-block: 0.875rem;
  text-align: center;
}

.footer__credit p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.22);
}

.footer__credit-link {
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  transition: color var(--t);
}

.footer__credit-link:hover {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}


/* ─── 21. RESPONSIVE OVERRIDES ──────────────────────────── */
@media (max-width: 959px) {
  .nav         { display: none; }
  .header__actions .header__phone { display: none; }
  .header__actions .btn--sm { display: none; }
  .hamburger   { display: flex; }
}

@media (max-width: 599px) {
  .section { padding-block: 4rem; }

  .hero { padding-top: 6rem; }

  .hero__card { display: none; }

  .stats-row { grid-template-columns: repeat(2, 1fr); }

  .testimonial-card { flex: 0 0 90%; }

  .contact-layout { grid-template-columns: 1fr; }

}


@media (max-width: 374px) {
  html { font-size: 15px; }
  .container { padding-inline: 1rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}


/* ─── 22. PRINT ─────────────────────────────────────────── */
@media print {
  .header, .emergency-banner, .mobile-menu, .hero__scroll,
  .testimonials-controls, .footer__socials { display: none !important; }
  body { font-size: 12pt; }
  .section { padding-block: 1.5rem; page-break-inside: avoid; }
}
