/* ============================================================
   Alexander Heating & Cooling — Charleston, SC
   Fire & Ice build — full-bleed photo heroes, flame/shard/wave
   dividers, circular fire-ice split badge motif, ghost watermarks.
   Brand: fire red #E3192E + deep ice-slate #0C2534 (from logo).
   Ice blue #1B9AD6 is a restrained cooling cue only.
   ============================================================ */

:root {
  --color-primary: #E3192E;          /* fire red */
  --color-primary-hover: #C01123;
  --color-primary-soft: rgba(227, 25, 46, 0.10);
  --color-secondary: #0C2534;        /* deep ice-slate */
  --color-secondary-hover: #081B27;
  --color-ice: #1B9AD6;              /* cooling cue accent only */
  --color-ice-link: #0C6E9E;         /* ice for TEXT on light bg — #1B9AD6 fails 4.5:1 on white */
  --color-ice-soft: rgba(27, 154, 214, 0.10);

  --color-bg: #FFFFFF;
  --color-surface: #EAF4FB;          /* ice-soft light sections */
  --color-surface-dark: #0C2534;
  --color-surface-darker: #061520;

  --color-text: #22303B;
  --color-text-light: #5D6E7A;
  --color-text-on-dark: #FFFFFF;
  --color-text-on-dark-muted: #A3B8C6;

  --color-border: #DCE8F0;
  --color-border-dark: rgba(255, 255, 255, 0.09);

  --color-google-star: #FBBC04;
  --badge-star-color: #FBBC04;
  --badge-text-color: #FFFFFF;

  --color-overlay: rgba(7, 22, 32, 0.62);

  /* Single-line font swap: change 'Anton' here AND the FONT_LINK in _build.js */
  --font-display: 'Anton', sans-serif;
  --font-body: 'Figtree', sans-serif;

  --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-7: 32px; --space-8: 40px; --space-9: 48px;
  --space-11: 64px; --space-12: 80px;
  --section-pad: 84px;
  --container-width: 1200px;
  --gap: 24px;

  --shadow-sm: 0 2px 10px rgba(7, 30, 44, 0.10);
  --shadow-md: 0 10px 28px rgba(7, 30, 44, 0.15);
  --shadow-lg: 0 22px 52px rgba(7, 30, 44, 0.22);
  --shadow-card-hover: 0 16px 36px rgba(7, 30, 44, 0.20);
  --shadow-dropdown: 0 12px 36px rgba(0, 0, 0, 0.25);

  --radius: 6px; --radius-lg: 12px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --speed-fast: 0.25s; --speed: 0.45s; --speed-slow: 0.8s;

  --z-mobile-overlay: 999; --z-nav: 1000; --z-utility-bar: 1001;
  --z-dropdown: 1002; --z-mobile-cta: 1100;

  --fireice-gradient: linear-gradient(90deg, #E3192E 0%, #E3192E 48%, #1B9AD6 52%, #1B9AD6 100%);

  /* ghost watermarks — 3-4% opacity per brand spec */
  --flake-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%231B9AD6' stroke-opacity='0.04' stroke-width='0.7' stroke-linecap='round'%3E%3Cpath d='M12 1v22M12 1l-2.6 2.6M12 1l2.6 2.6M12 23l-2.6-2.6M12 23l2.6-2.6M2.5 6.5l19 11M2.5 6.5l.4 3.6M2.5 6.5l3.6-.7M21.5 17.5l-3.6.7M21.5 17.5l-.4-3.6M21.5 6.5l-19 11M21.5 6.5l-3.6-.7M21.5 6.5l-.4 3.6M2.5 17.5l3.6.7M2.5 17.5l.4-3.6'/%3E%3C/g%3E%3C/svg%3E");
  --flame-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z' fill='none' stroke='%23FFFFFF' stroke-opacity='0.04' stroke-width='0.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* body alone isn't enough: the off-canvas mobile menu (right:-100%) widens the
   html element on phones, which stretches every fixed left/right element */
html { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

/* Anton is single-weight (400) — the display face carries its weight in its
   condensed forms; letter-spacing per typography scale */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.16;
}
h1 { font-size: clamp(33px, 4.1vw, 55px); line-height: 1.1; }
h2 { font-size: clamp(28px, 3vw, 43px); line-height: 1.14; }
h3 { font-size: clamp(20px, 2vw, 26px); }
p + p { margin-top: var(--space-4); }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

.section { padding: var(--section-pad) 0; position: relative; }
.section--ice { background: var(--color-surface); }
.section--dark { background: var(--color-surface-dark); color: #fff; }
.section--dark .section-title { color: #fff; }
.section__footer { text-align: center; margin-top: var(--space-8); }

/* ghost watermarks (signature device #3) */
.section--flake::before {
  content: ""; position: absolute; right: -70px; bottom: -70px;
  width: 420px; height: 420px;
  background: var(--flake-mark) no-repeat center / contain;
  pointer-events: none;
}
.section--flame::before {
  content: ""; position: absolute; right: -60px; top: -20px;
  width: 420px; height: 420px;
  background: var(--flame-mark) no-repeat center / contain;
  pointer-events: none;
}
.section--flake > .container, .section--flame > .container { position: relative; z-index: 1; }

/* eyebrow chip with circular fire/ice split badge (signature device #2) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--color-primary-hover); /* darker red — #E3192E fails 4.5:1 on the ice-soft band */
  margin-bottom: var(--space-3);
}
.eyebrow .split-badge { width: 18px; height: 18px; flex-shrink: 0; }
.text-center .eyebrow { justify-content: center; }
.section--dark .eyebrow, .band .eyebrow { color: #FBBC04; }

.section-title { color: var(--color-secondary); margin-bottom: var(--space-5); }
.section-title--underline::after {
  content: ""; display: block; width: 92px; height: 5px;
  background: var(--fireice-gradient); border-radius: 3px; margin: 16px auto 0;
}
.section-title--underline.left::after { margin-left: 0; }

/* === SECTION DIVIDERS (never the same twice in a row) === */
.section-divider { line-height: 0; overflow: hidden; }
.section-divider svg { display: block; width: 100%; height: auto; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.05em;
  line-height: 1;
  padding: 17px 34px;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.btn > span { display: inline-block; }
.btn--primary { background: var(--color-primary); color: #fff; border: 3px double rgba(255,255,255,0.85); }
.btn--primary:hover { background: var(--color-secondary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--dark { background: var(--color-secondary); color: #fff; border: 3px double rgba(255,255,255,0.85); }
.btn--dark:hover { background: var(--color-primary); transform: translateY(-2px); }
.btn--outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary); background: #fff;
  padding: 15px 32px; box-shadow: none;
}
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--outline-light {
  border: 2px solid #fff; color: #fff; background: transparent;
  padding: 15px 32px; box-shadow: none;
}
.btn--outline-light:hover { background: #fff; color: var(--color-secondary); transform: translateY(-2px); }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--xs { padding: 8px 16px; font-size: 12.5px; border-width: 2px; }
.btn-pair { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* === MOBILE STICKY CTA === */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-mobile-cta); }
  .mobile-cta-bar a {
    flex: 1; padding: 14px 0; text-align: center;
    font-family: var(--font-display); font-weight: 400; font-size: 14.5px;
    text-transform: uppercase; letter-spacing: 0.06em;
  }
  .mobile-cta-bar__primary { background: var(--color-primary); color: #fff; }
  .mobile-cta-bar__call { background: var(--color-secondary); color: #fff; }
  body { padding-top: 46px; }
}

/* === UTILITY BAR === */
.utility-bar {
  position: relative; z-index: var(--z-utility-bar);
  background: var(--color-surface-darker); color: #fff;
  padding: 8px 0; font-size: 13.5px;
}
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.utility-bar__item { display: inline-flex; align-items: center; gap: 7px; color: var(--color-text-on-dark-muted); }
.utility-bar__item svg { width: 15px; height: 15px; color: var(--color-ice); }
.utility-bar__actions { display: flex; align-items: center; gap: 16px; }
.utility-bar__phone { color: #fff; font-weight: 700; font-size: 14.5px; }
.utility-bar__phone:hover { color: #6FC5EC; }
@media (max-width: 768px) {
  /* the sticky mobile CTA bar already carries phone + Book Now — the
     utility bar just duplicates them badly wrapped, so drop it entirely */
  .utility-bar { display: none; }
}

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: var(--color-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--speed-fast) var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 84px; }
.nav__logo img { height: 60px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 0; }
.nav__link, .nav__dropdown-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 14.5px; text-transform: uppercase; letter-spacing: 0.04em;
  color: #fff;
  padding: 10px 12px; border-radius: var(--radius);
  transition: color var(--speed-fast) var(--ease), background var(--speed-fast) var(--ease);
}
.nav__link:hover, .nav__dropdown-toggle:hover { color: #6FC5EC; background: rgba(255, 255, 255, 0.06); }
.nav__dropdown-toggle--hot:hover { color: #FF8B98; }
.nav__dropdown { position: relative; }
.nav__dropdown-toggle svg { transition: transform var(--speed-fast) var(--ease); }
.nav__dropdown:hover .nav__dropdown-toggle svg { transform: rotate(180deg); }
.nav__dropdown-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 245px;
  background: var(--color-surface-darker);
  border-radius: 0 0 var(--radius) var(--radius);
  border-top: 3px solid var(--color-primary);
  padding: 8px;
  box-shadow: var(--shadow-dropdown);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: var(--z-dropdown);
}
.nav__dropdown-menu--cool { border-top-color: var(--color-ice); }
.nav__dropdown-menu--hot { border-top-color: var(--color-primary); }
.nav__dropdown:hover .nav__dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown-item {
  display: block; padding: 10px 14px;
  color: #fff; font-size: 15px; font-weight: 500;
  border-radius: 5px;
  transition: background var(--speed-fast) var(--ease);
}
.nav__dropdown-item:hover { background: var(--color-primary); }
.nav__dropdown-menu--cool .nav__dropdown-item:hover { background: var(--color-ice); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: calc(var(--z-dropdown) + 1); }
.nav__hamburger span { width: 25px; height: 3px; border-radius: 2px; background: #fff; transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease); }
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.nav-overlay {
  position: fixed; inset: 0; background: rgba(6, 21, 32, 0.75);
  opacity: 0; visibility: hidden;
  transition: opacity var(--speed) var(--ease);
  z-index: var(--z-mobile-overlay);
}
.nav-overlay.active { opacity: 1; visibility: visible; }

@media (max-width: 1024px) {
  .nav__hamburger { display: flex; }
  .nav__actions { display: none; }
  .nav__links {
    position: fixed; top: 0; right: -100%;
    width: 85%; max-width: 400px; height: 100vh;
    background: var(--color-surface-darker);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 90px 28px 32px;
    transition: right var(--speed) var(--ease-out);
    z-index: var(--z-nav); overflow-y: auto;
  }
  .nav__links.open { right: 0; }
  .nav__link, .nav__dropdown-toggle { color: #fff; width: 100%; justify-content: space-between; }
  .nav__dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; box-shadow: none; background: rgba(255,255,255,0.05);
    border-top: none; min-width: 0;
  }
  .nav__dropdown.open .nav__dropdown-menu { display: block; }
}

/* === HERO — full-width background photo + dark gradient overlay (default) === */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 620px;
  padding: 72px 0 130px;
  color: #fff;
  background: var(--color-secondary);
  overflow: hidden;
}
.hero--home { min-height: 700px; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.hero--photo .hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(7, 22, 32, 0.92) 0%, rgba(7, 22, 32, 0.72) 44%, rgba(9, 28, 42, 0.34) 100%);
}
/* heavy overlay variant — required for the upscaled maintenance photo */
.hero--heavy .hero__bg::after {
  background: linear-gradient(96deg, rgba(7, 22, 32, 0.95) 0%, rgba(7, 22, 32, 0.86) 48%, rgba(9, 28, 42, 0.68) 100%);
}
/* branded fire/ice gradient hero (pages without a photo) */
.hero--gradient {
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(27, 154, 214, 0.22), transparent 60%),
    radial-gradient(900px 560px at 0% 100%, rgba(227, 25, 46, 0.20), transparent 60%),
    linear-gradient(118deg, #071722 0%, #0C2534 58%, #10344A 100%);
}
.hero--gradient::before {
  content: ""; position: absolute; right: -80px; top: -40px;
  width: 460px; height: 460px;
  background: var(--flake-mark) no-repeat center / contain;
  pointer-events: none;
}
.hero--gradient::after {
  content: ""; position: absolute; left: -90px; bottom: -30px;
  width: 420px; height: 420px;
  background: var(--flame-mark) no-repeat center / contain;
  pointer-events: none;
}
.hero--compact { min-height: 380px; padding: 48px 0 110px; }
.hero .container { position: relative; z-index: 2; }
.hero__content { max-width: 780px; }

.hero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-bottom: var(--space-6); animation: fadeInUp 0.8s var(--ease-out) 0s both; }
.hero__badge { display: flex; align-items: center; gap: 12px; }
.hero__badge-logo { width: 42px; height: 42px; flex-shrink: 0; }
.hero__badge-logo--bbb {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: #fff; color: #005A78;
  border-radius: 8px;
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0.02em;
}
.hero__badge-info { display: flex; flex-direction: column; gap: 2px; }
.hero__badge-stars { display: flex; gap: 1px; }
.hero__badge-stars svg { width: 17px; height: 17px; fill: var(--badge-star-color); }
.hero__badge-text {
  font-family: var(--font-display);
  font-weight: 400; font-size: 1rem; color: var(--badge-text-color);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.hero__title { margin-bottom: var(--space-4); text-shadow: 0 3px 18px rgba(0,0,0,0.35); animation: fadeInUp 0.8s var(--ease-out) 0.12s both; }
/* "440+ Five-Star Google Reviews" — gold-on-red treatment */
.hero__count { margin-bottom: var(--space-5); animation: fadeInUp 0.8s var(--ease-out) 0.2s both; }
.hero__count span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 27px);
  text-transform: uppercase; letter-spacing: 0.04em;
  color: #FFD34D; /* brighter gold — #FBBC04 on the red fails 3:1 at this size */
  background: var(--color-primary);
  padding: 8px 18px 7px;
  border-radius: var(--radius);
  transform: skewX(-6deg);
  box-shadow: var(--shadow-md);
}
.hero__text { font-size: clamp(16.5px, 1.5vw, 19px); color: rgba(255,255,255,0.94); max-width: 640px; margin-bottom: var(--space-6); animation: fadeInUp 0.8s var(--ease-out) 0.3s both; }
.hero__trust {
  display: grid; grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px 40px; margin-bottom: var(--space-7);
  animation: fadeInUp 0.8s var(--ease-out) 0.38s both;
}
.hero__trust-item { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; color: #fff; }
.hero__trust-item svg { width: 20px; height: 20px; color: #FBBC04; flex-shrink: 0; }
.hero__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; animation: fadeInUp 0.8s var(--ease-out) 0.45s both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ice-shard bottom edge on every hero */
.hero__edge {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  line-height: 0; pointer-events: none;
}
.hero__edge svg { display: block; width: 100%; height: 70px; }

/* === BREADCRUMBS === */
.breadcrumbs { padding: 0 0 var(--space-4); font-size: 0.875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; }
.breadcrumbs a { color: rgba(255,255,255,0.75); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs .current { color: #fff; font-weight: 600; }

/* === CATEGORY CARDS (red = heating, ice = cooling — signature device #4) === */
.card-grid { display: grid; gap: var(--gap); margin-top: var(--space-8); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.cat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border-top: 5px solid;
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.cat-card--cool { border-top-color: var(--color-ice); }
.cat-card--hot { border-top-color: var(--color-primary); }
.cat-card--mix { border-image: var(--fireice-gradient) 1; border-top: 5px solid; }
.cat-card__icon {
  width: 66px; height: 66px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  margin-bottom: var(--space-4);
}
.cat-card--cool .cat-card__icon { background: var(--color-ice-soft); color: var(--color-ice); }
.cat-card--hot .cat-card__icon { background: var(--color-primary-soft); color: var(--color-primary); }
.cat-card--mix .cat-card__icon { background: linear-gradient(90deg, rgba(227,25,46,0.10) 50%, rgba(27,154,214,0.10) 50%); color: var(--color-secondary); }
.cat-card__icon svg { width: 34px; height: 34px; }
.cat-card h3 { color: var(--color-secondary); margin-bottom: 8px; }
.cat-card p { font-size: 15px; color: var(--color-text-light); margin-bottom: 18px; }
.cat-card__links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cat-card .btn { margin-top: auto; }

/* service/location chips — red-left / blue-right 2px border (signature device #2) */
.chip {
  display: inline-block;
  padding: 6px 13px;
  font-size: 13.5px; font-weight: 600;
  color: var(--color-secondary);
  background: #F5FAFD;
  border: 1px solid var(--color-border);
  border-left: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-ice);
  border-radius: 999px;
  transition: background var(--speed-fast) var(--ease), color var(--speed-fast) var(--ease);
}
.chip:hover { background: var(--color-secondary); color: #fff; }

/* === BANDS (form + pitch) — fire (red) or ice (dark slate) === */
.band {
  position: relative;
  color: #fff;
  padding: calc(var(--section-pad) + 36px) 0;
  margin: 50px 0;
  clip-path: polygon(0 44px, 100% 0, 100% calc(100% - 44px), 0 100%);
  overflow: hidden;
}
.band--fire { background: linear-gradient(115deg, #A80D1F 0%, var(--color-primary) 55%, #7C0918 130%); }
.band--fire::before {
  content: ""; position: absolute; right: -60px; top: -10px;
  width: 460px; height: 460px;
  background: var(--flame-mark) no-repeat center / contain;
  pointer-events: none;
}
.band--ice { background: linear-gradient(115deg, #071722 0%, var(--color-secondary) 55%, #113850 130%); }
.band--ice::before {
  content: ""; position: absolute; right: -60px; bottom: -60px;
  width: 460px; height: 460px;
  background: var(--flake-mark) no-repeat center / contain;
  pointer-events: none;
}
.band .section-title { color: #fff; }
.band__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-9); align-items: center; position: relative; }
.band p { color: rgba(255,255,255,0.9); }

/* form card inside band */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px;
  color: var(--color-text);
  border-top: 5px solid;
  border-image: var(--fireice-gradient) 1;
}
.form-card__title { font-family: var(--font-display); font-weight: 400; font-size: 24px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--color-secondary); margin-bottom: 4px; }
.form-card__sub { font-size: 14px; color: var(--color-text-light); margin-bottom: 18px; }
/* .band p paints paragraphs white for dark bands — but the form card inside a
   band is WHITE, so its text must stay dark or it disappears */
.band .form-card p { color: var(--color-text-light); }

/* === SPLIT (photo + text) === */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-9); align-items: center; }
.split__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.split__img::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--fireice-gradient); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.stat-row { display: flex; gap: var(--space-7); margin-top: var(--space-6); flex-wrap: wrap; }
.stat { font-family: var(--font-display); max-width: 150px; }
.stat__num { font-size: 44px; color: var(--color-primary); line-height: 1; letter-spacing: 0.02em; }
.stat__label { font-family: var(--font-body); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--color-text-light); font-weight: 700; margin-top: 5px; line-height: 1.35; }

/* === REVIEW SLIDER + CARDS === */
.review-slider {
  display: flex; gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 22px;
  margin-top: var(--space-8);
  -webkit-overflow-scrolling: touch;
}
.review-slider::-webkit-scrollbar { height: 8px; }
.review-slider::-webkit-scrollbar-track { background: var(--color-surface); border-radius: 4px; }
.review-slider::-webkit-scrollbar-thumb { background: var(--color-ice); border-radius: 4px; }
.review-slider .review-card { flex: 0 0 380px; scroll-snap-align: start; }

.review-card {
  position: relative;
  background: var(--color-surface-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-primary);
  border-right: 3px solid var(--color-ice);
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.review-card__g {
  position: absolute; top: 22px; right: 22px;
  width: 34px; height: 34px;
  background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.review-card__g svg { width: 20px; height: 20px; }
.review-card__stars { display: flex; gap: 2px; color: var(--color-google-star); margin-bottom: var(--space-3); }
.review-card__stars svg { width: 17px; height: 17px; fill: currentColor; }
.review-card__text { font-size: 14.5px; color: rgba(255,255,255,0.92); margin-bottom: var(--space-4); }
.review-card__author { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.03em; font-size: 16px; color: #6FC5EC; text-transform: uppercase; }
.review-card__when { font-size: 12.5px; color: var(--color-text-on-dark-muted); }
.reviews__cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: var(--space-7); }

/* === AREA CARDS (chip border treatment) === */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-8); }
.area-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-ice);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease);
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.area-card__city {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 400; font-size: 19px;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 6px;
}
.area-card__city svg { width: 19px; height: 19px; color: var(--color-primary); flex-shrink: 0; }
.area-card__links { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13.5px; }
.area-card__links a { color: var(--color-ice-link); font-weight: 500; }
.area-card__links a:hover { text-decoration: underline; }
.area-card__links span { color: var(--color-border); }

/* === CTA BANDS === */
.cta-section {
  position: relative;
  padding: 110px 0;
  text-align: center; color: #fff;
  background-size: cover; background-position: center 55%;
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  margin-top: 50px;
}
/* photo variant gets a HEAVY overlay (homepage final CTA) */
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 22, 32, 0.93) 0%, rgba(12, 37, 52, 0.86) 55%, rgba(122, 9, 24, 0.82) 100%);
}
.cta-section--gradient {
  background:
    radial-gradient(800px 480px at 100% 0%, rgba(27, 154, 214, 0.24), transparent 60%),
    linear-gradient(112deg, #7C0918 0%, var(--color-primary) 42%, #0C2534 100%);
}
.cta-section--gradient::before { background: var(--flame-mark) no-repeat right -60px top -20px / 420px; }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: var(--space-3); color: #fff; }
.cta-section p { max-width: 640px; margin: 0 auto var(--space-7); color: rgba(255,255,255,0.92); }

/* === FAQ === */
.faq-list { max-width: 840px; margin: var(--space-8) auto 0; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item:nth-child(even) { border-left-color: var(--color-ice); }
.faq-item__question {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  width: 100%;
  padding: 19px 24px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  color: var(--color-secondary); text-align: left;
  transition: background var(--speed-fast) var(--ease);
}
.faq-item__question:hover { background: var(--color-surface); }
.faq-item__question svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--speed-fast) var(--ease); color: var(--color-primary); }
.faq-item.active .faq-item__question svg { transform: rotate(180deg); }
.faq-item__answer { max-height: 0; overflow: hidden; transition: max-height var(--speed) var(--ease); }
.faq-item__answer-inner { padding: 0 24px 20px; font-size: 15px; color: var(--color-text-light); }
.faq-item.active .faq-item__answer { max-height: 420px; }

/* === CHECK LIST (internal links) === */
.check-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-6); margin-top: var(--space-5); }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; }
.check-list svg { width: 19px; height: 19px; color: var(--color-primary); flex-shrink: 0; margin-top: 4px; }
.check-list li:nth-child(even) svg { color: var(--color-ice); }
.check-list a { color: var(--color-text); font-weight: 500; }
.check-list a:hover { color: var(--color-primary); }

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--space-8); }
.step-grid--4 { grid-template-columns: repeat(4, 1fr); }
.step {
  background: #fff; border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-ice);
}
.step:nth-child(even) { border-top-color: var(--color-primary); }
.step__num {
  font-family: var(--font-display); font-size: 46px;
  background: var(--fireice-gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: var(--space-3);
}
.step h3 { color: var(--color-secondary); margin-bottom: var(--space-2); }
.step p { font-size: 15px; color: var(--color-text-light); }

/* === FORMS === */
.lead-form {
  max-width: 680px; margin: var(--space-8) auto 0;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-md);
  border-top: 5px solid;
  border-image: var(--fireice-gradient) 1;
}
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.lead-form__full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; }
.form-label { margin-bottom: 6px; font-weight: 500; font-size: 0.85rem; color: var(--color-text); }
.form-input, .form-textarea {
  width: 100%; padding: 12px 15px;
  border: 1px solid #C6D6E1;
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.98rem;
  color: var(--color-text); background: #fff;
  transition: border-color var(--speed-fast) var(--ease), box-shadow var(--speed-fast) var(--ease);
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--color-ice);
  box-shadow: 0 0 0 3px var(--color-ice-soft);
}
.lead-form__submit {
  grid-column: 1 / -1;
  padding: 16px 32px;
  background: var(--color-primary); color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-display); font-size: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em;
  transition: background var(--speed-fast) var(--ease);
}
.lead-form__submit:hover { background: var(--color-secondary); }
.lead-form__consent { grid-column: 1 / -1; font-size: 11.5px; line-height: 1.5; color: var(--color-text-light); margin-top: var(--space-2); }
.form-card .lead-form__consent { font-size: 10.5px; }
.form-card .lead-form__grid { gap: 12px; }
.form-card .form-input, .form-card .form-textarea { padding: 10px 13px; }

/* === MAP === */
.map-section { line-height: 0; }
.map-embed { width: 100%; height: 320px; border: 0; }

/* === ICON CARDS === */
.icon-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--color-primary);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.icon-card--accent-blue { border-bottom-color: var(--color-ice); }
.icon-card--accent-red { border-bottom-color: var(--color-primary); }
.icon-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.icon-card--dark { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--color-border-dark); border-bottom: 4px solid var(--color-primary); }
.icon-card__icon {
  width: 64px; height: 64px; margin: 0 auto var(--space-4);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-primary-soft); color: var(--color-primary);
}
.icon-card__icon--red { background: var(--color-primary-soft); color: var(--color-primary); }
.icon-card__icon--blue { background: var(--color-ice-soft); color: var(--color-ice); }
.icon-card__icon--gold { background: rgba(251, 188, 4, 0.12); color: var(--color-google-star); }
.icon-card--dark .icon-card__icon--red { background: rgba(227, 25, 46, 0.18); color: #FF8B98; }
.icon-card--dark .icon-card__icon--blue { background: rgba(27, 154, 214, 0.18); color: #6FC5EC; }
.icon-card--dark .icon-card__icon--gold { background: rgba(251, 188, 4, 0.15); color: var(--color-google-star); }
.icon-card__icon svg { width: 32px; height: 32px; }
.icon-card h3 { color: var(--color-secondary); margin-bottom: var(--space-2); font-size: 19px; }
.icon-card p { font-size: 14.5px; color: var(--color-text-light); }
/* dark-variant text rules MUST come after ALL base rules — same specificity,
   so source order decides; before this fix they were painted navy-on-navy */
.icon-card--dark h3 { color: #fff; }
.icon-card--dark p { color: var(--color-text-on-dark-muted); }

/* === MEGA FOOTER === */
.footer {
  background: var(--color-surface-darker);
  padding: var(--space-12) 0 var(--space-7);
  color: var(--color-text-on-dark-muted);
  position: relative;
}
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--fireice-gradient); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: var(--space-8); }
.footer__logo { display: inline-block; margin-bottom: var(--space-4); }
.footer__logo img { height: 97px; width: auto; }
.footer__brand-desc { font-size: 14.5px; }
.footer__heading {
  font-size: 16px; color: #fff; margin-bottom: var(--space-4);
  letter-spacing: 0.09em;
  padding-bottom: 8px; border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}
.footer__links a {
  display: block; padding: 3.5px 0;
  color: var(--color-text-on-dark-muted); font-size: 14.5px;
  transition: color var(--speed-fast) var(--ease), padding-left var(--speed-fast) var(--ease);
}
.footer__links a:hover { color: #6FC5EC; padding-left: 4px; }
.footer__contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: var(--space-3); font-size: 14.5px; }
.footer__contact-item svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--color-ice); }
.footer__contact-item a { color: var(--color-text-on-dark-muted); }
.footer__contact-item a:hover { color: #6FC5EC; }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); color: #fff;
  transition: background var(--speed-fast) var(--ease);
}
.footer__social a:hover { background: var(--color-primary); }
.footer__social svg { width: 20px; height: 20px; fill: currentColor; }
.footer__badges { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-5); flex-wrap: wrap; }
.footer__badges img { height: 54px; width: auto; background: #fff; border-radius: 6px; padding: 5px; }
.footer__bottom {
  margin-top: var(--space-8); padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-dark);
  font-size: 13.5px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.legal-footer {
  background: #040D14;
  padding: var(--space-4) 0;
  text-align: center; font-size: 0.8rem;
  color: var(--color-text-on-dark-muted);
}
.legal-footer a { color: var(--color-text-on-dark-muted); }
.legal-footer a:hover { color: #6FC5EC; }

/* === PROSE === */
.prose { max-width: 840px; }
.prose h2 { color: var(--color-secondary); margin: var(--space-8) 0 var(--space-4); }
.prose h2:first-child, .prose .eyebrow + .section-title { margin-top: 0; }
.prose h3 { color: var(--color-secondary); margin: var(--space-6) 0 var(--space-3); }
.prose ul, .prose ol { padding-left: 24px; margin: var(--space-4) 0; }
.prose li { margin-bottom: 8px; }

/* === REVEAL === */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity var(--speed-slow) var(--ease-out), transform var(--speed-slow) var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .step-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .band__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: 1fr; }
  .review-slider .review-card { flex-basis: 340px; }
}
@media (max-width: 767px) {
  :root { --section-pad: 60px; }
  body { font-size: 15.5px; }
  .card-grid--2, .card-grid--3, .card-grid--4, .area-grid, .step-grid--4 { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .lead-form__grid, .form-card .lead-form__grid { grid-template-columns: 1fr; }
  .lead-form { padding: var(--space-6); }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; padding-bottom: 110px; }
  .hero--compact { min-height: 340px; }
  .hero__trust { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .band { clip-path: polygon(0 22px, 100% 0, 100% calc(100% - 22px), 0 100%); }
  .cta-section { clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 100%); padding: 80px 0; }
  .review-slider .review-card { flex-basis: 85%; }
  .section--flake::before, .section--flame::before { width: 280px; height: 280px; }
}
@media (max-width: 480px) {
  :root { --section-pad: 48px; }
  .btn { width: 100%; }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
