/* =========================================================
   ALPINE JANITORIAL — Site-wide styles
   Brand colors sampled from the official logo:
     Alpine blue  #016699  (sunburst rays)
     Mountain     #5A5E5D  (peaks)
     Black / white (wordmark + background)
   Visual motifs pulled from the logo: sunburst rays and mountain
   ridgelines. Subpage-only styles live in subpage-styles.css.
   ========================================================= */

:root {
  /* Brand */
  --blue: #016699;
  --blue-deep: #014a70;
  --blue-sky: #3aa0d4;        /* brighter blue for use on dark backgrounds only */
  --blue-ice: #e4f0f6;
  --ink: #0b0d0f;             /* logo black */
  --ink-2: #14181b;
  --ink-3: #1d2327;
  --mountain: #5a5e5d;        /* logo peaks */
  --stone: #9aa1a3;
  --snow: #f2f5f7;
  --white: #ffffff;

  /* Text */
  --text: #161b1e;
  --muted: #586166;
  --line: #dbe2e6;

  /* Layout */
  --header-height: 88px;
  --container: 1200px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 18px 40px -22px rgba(11, 13, 15, 0.45);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Fonts */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Lato', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: var(--white); }

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

p + p { margin-top: 1em; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.icon { width: 22px; height: 22px; flex-shrink: 0; }

.accent-word { color: var(--blue); }
.band-dark .accent-word,
.hero .accent-word,
.page-hero .accent-word { color: var(--blue-sky); }
.cta-band .accent-word { color: var(--ink); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--blue);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* =========================
   BUTTONS & LINKS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -12px rgba(1, 102, 153, 0.8); }
.btn-primary:hover { background: var(--blue-deep); }

.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--white); }

.btn-ghost { border-color: var(--blue); color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: var(--white); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-outline-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.btn-sm { padding: 11px 20px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.text-link::after {
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}
.text-link:hover::after,
.service-card:hover .text-link::after { width: 36px; }

.center-actions { text-align: center; margin-top: 44px; }

/* =========================
   TOP BAR + HEADER
   ========================= */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}
.topbar-note { display: inline-flex; align-items: center; gap: 8px; }
.topbar-note .icon { width: 15px; height: 15px; color: var(--blue-sky); }
.topbar-sep { opacity: 0.35; margin: 0 4px; }
.topbar-email:hover { color: var(--white); }
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: var(--white);
}
.topbar-phone .icon { width: 15px; height: 15px; color: var(--blue-sky); }
.topbar-phone strong { font-weight: 500; font-size: 1rem; }
.topbar-phone:hover { color: var(--blue-sky); }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--ink);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, height 0.4s var(--ease);
}
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8); }

/* Homepage: header floats over the hero photo until you scroll */
.header-homepage {
  position: absolute;     /* sits just under the contact bar, over the hero */
  left: 0;
  right: 0;
  top: 40px;
}
.header-homepage:not(.scrolled) { background: transparent; }
.header-homepage.scrolled {   /* contact bar has scrolled away — pin to the top */
  position: fixed;
  top: 0;
  background: rgba(11, 13, 15, 0.97);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}

.logo { display: block; flex-shrink: 0; }
.logo img {
  height: 74px;
  width: auto;
  transition: transform 0.5s var(--ease);
}
.logo:hover img { transform: scale(1.04); }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav-item { position: relative; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  padding: 8px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blue-sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-caret { width: 11px; height: 8px; transition: transform 0.3s ease; }
.has-dropdown:hover .nav-caret,
.has-dropdown.open .nav-caret { transform: rotate(180deg); }

/* Services dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 380px;
  padding: 10px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  border-top: 3px solid var(--blue);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s;
}
.dropdown::before {           /* hover bridge between link and panel */
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -22px;
  height: 22px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown-link {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius);
}
.dropdown-link:hover,
.dropdown-link.active { background: var(--blue-ice); }
.dropdown-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--blue-sky);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.dropdown-link:hover .dropdown-icon { background: var(--blue); color: var(--white); }
.dropdown-link strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.dropdown-link small { display: block; font-size: 0.88rem; line-height: 1.45; color: var(--muted); margin-top: 2px; }

.header-cta { margin-left: 4px; }

/* Mobile menu button */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  z-index: 120;
}
.menu-bar {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(380px, 90vw);
  background: var(--ink-2);
  z-index: 99;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
  padding: 140px 30px 36px;
  overflow-y: auto;
}
.mobile-menu.open { transform: none; visibility: visible; box-shadow: -30px 0 60px rgba(0, 0, 0, 0.5); }
.mobile-menu-nav { display: flex; flex-direction: column; }
.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav-link.active,
.mobile-nav-link:hover { color: var(--blue-sky); }
.mobile-subnav {
  display: flex;
  flex-direction: column;
  padding: 6px 0 10px 16px;
  border-left: 2px solid var(--blue);
  margin: 6px 0 4px;
}
.mobile-subnav-link {
  color: rgba(255, 255, 255, 0.7);
  padding: 7px 0;
  font-size: 1.02rem;
}
.mobile-subnav-link.active,
.mobile-subnav-link:hover { color: var(--white); }
.mobile-menu-cta { margin-top: 28px; }
.mobile-menu-phone {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--blue-sky);
}

/* =========================
   SECTIONS / BANDS
   ========================= */
.band { position: relative; padding: 104px 0; }
.band-tight { padding: 72px 0; }
.band-tight-top { padding-top: 64px; }
.band-white { background: var(--white); }
.band-snow { background: var(--snow); }
.band-dark { background: var(--ink); color: rgba(255, 255, 255, 0.82); overflow: hidden; }
.band-dark h2, .band-dark h3 { color: var(--white); }

.section-header {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-header p { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }
.band-dark .section-header p { color: rgba(255, 255, 255, 0.7); }

/* Eyebrow label with a tiny sunburst before it */
.section-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-label::before,
.eyebrow::before {
  content: '';
  width: 22px;
  height: 11px;
  border-radius: 22px 22px 0 0;
  background: repeating-conic-gradient(from -90deg at 50% 100%, currentColor 0 7deg, transparent 7deg 15deg);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 3px, #000 3.5px);
          mask: radial-gradient(circle at 50% 100%, transparent 3px, #000 3.5px);
}
.band-dark .section-label,
.hero .eyebrow,
.page-hero .eyebrow { color: var(--blue-sky); }

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  color: var(--ink);
}

/* Mountain ridgeline dividers */
.ridge {
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
}
.ridge-bottom { bottom: -1px; z-index: 3; fill: var(--white); }
.ridge-top { top: -59px; fill: var(--ink); }

/* =========================
   HOMEPAGE HERO
   ========================= */
.hero {
  position: relative;
  min-height: min(880px, 100vh);
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 80px) 0 150px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  transform: scale(1.06);
  animation: hero-drift 18s ease-out forwards;
}
@keyframes hero-drift { to { transform: scale(1); } }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 13, 15, 0.92) 0%, rgba(11, 13, 15, 0.7) 45%, rgba(11, 13, 15, 0.35) 100%),
    linear-gradient(180deg, rgba(11, 13, 15, 0.55) 0%, transparent 30%, transparent 70%, rgba(11, 13, 15, 0.6) 100%);
}

/* Sunburst rising from behind the ridge, straight from the logo */
.hero-sunburst {
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: min(1500px, 140vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  border-radius: 1000px 1000px 0 0;
  background: repeating-conic-gradient(from -90deg at 50% 100%, rgba(58, 160, 212, 0.13) 0 2.2deg, transparent 2.2deg 6deg);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 24%, #000 25%, #000 42%, transparent 62%);
          mask: radial-gradient(circle at 50% 100%, transparent 24%, #000 25%, #000 42%, transparent 62%);
  pointer-events: none;
  opacity: 0;
  animation: sunrise 2.4s var(--ease) 0.3s forwards;
}
@keyframes sunrise {
  from { opacity: 0; transform: translateX(-50%) translateY(80px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}
.hero-title {
  font-size: clamp(3rem, 7.2vw, 5.9rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin-bottom: 26px;
}
.hero-text {
  font-size: 1.2rem;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-services {
  list-style: none;
  display: grid;
  gap: 12px;
}
.hero-services a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(11, 13, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.hero-services a:hover { background: rgba(1, 102, 153, 0.85); border-color: rgba(255, 255, 255, 0.3); transform: translateX(-4px); }
.hero-service-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: var(--blue-sky);
  flex-shrink: 0;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.hero-services a:hover .hero-service-icon { color: var(--white); border-color: var(--white); }
.hero-service-text { flex: 1; }
.hero-service-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-service-text small { display: block; font-size: 0.88rem; line-height: 1.4; color: rgba(255, 255, 255, 0.7); margin-top: 2px; }
.hero-services .icon-arrow { width: 20px; opacity: 0.6; }

/* =========================
   TRUST STRIP
   ========================= */
/* Full-width gray band; the hero's mountain ridge is filled with the
   same gray so the peaks run straight into it. */
.hero .ridge-bottom { fill: var(--snow); }
.trust {
  background: var(--snow);
  padding: 22px 0 46px;
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 28px;
}
.trust-item:first-child { padding-left: 0; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .icon { width: 34px; height: 34px; color: var(--blue); }
.trust-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
}
.trust-label { font-weight: 700; font-size: 0.98rem; line-height: 1.35; color: var(--ink); }

/* =========================
   SERVICE CARDS
   ========================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(11, 13, 15, 0.5));
}
.service-card-icon {
  position: absolute;
  left: 24px;
  top: -28px;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  border: 4px solid var(--white);
}
.service-card-body { position: relative; padding: 42px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 { font-size: 1.55rem; color: var(--ink); margin-bottom: 10px; }
.service-card-body p { color: var(--muted); margin-bottom: 20px; flex: 1; }

.services-extra {
  max-width: 760px;
  margin: 44px auto 0;
  text-align: center;
  color: var(--muted);
}
.services-extra .icon { color: var(--blue); display: inline-block; vertical-align: -5px; margin-right: 6px; }
.services-extra strong { color: var(--ink); }
.services-extra a { color: var(--blue); font-weight: 700; border-bottom: 1px solid currentColor; }
.services-extra a:hover { color: var(--ink); }

/* =========================
   SPLIT (image + copy)
   ========================= */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-media::before {         /* offset blue frame */
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--blue);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.split-media { z-index: 0; }
.media-tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.split-copy .section-title { margin-bottom: 22px; }
.split-copy p { color: var(--muted); }

.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 28px;
}
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--ink); line-height: 1.4; }
.check-list .icon {
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  stroke-width: 2.6;
}

/* =========================
   WHY CHOOSE US (dark)
   ========================= */
.band-dark::before {             /* faint sunburst behind dark bands */
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 1200px;
  height: 600px;
  transform: translateX(-50%) rotate(180deg);
  border-radius: 600px 600px 0 0;
  background: repeating-conic-gradient(from -90deg at 50% 100%, rgba(58, 160, 212, 0.07) 0 2deg, transparent 2deg 6deg);
  pointer-events: none;
}
.band-dark > .container { position: relative; z-index: 1; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  padding: 40px 32px;
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s ease, transform 0.4s var(--ease);
}
.why-card:hover { border-color: rgba(58, 160, 212, 0.5); transform: translateY(-4px); }
.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-sky);
  border: 1px solid rgba(58, 160, 212, 0.45);
  margin-bottom: 24px;
}
.why-icon .icon { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.why-card p { color: rgba(255, 255, 255, 0.7); }

/* =========================
   HOMEPAGE RESULTS (tabs + one before/after pair)
   ========================= */
.results {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;
}
.results-copy .section-title { margin-bottom: 14px; }
.results-copy > p { color: var(--muted); }

.results-tabs {
  display: grid;
  margin: 30px 0 28px;
  border-top: 1px solid var(--line);
}
.results-tab {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 18px 0 18px 18px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.results-tab:hover { background: var(--snow); }
.results-tab.active { border-left-color: var(--blue); background: var(--snow); }
.results-tab-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--stone);
  padding-top: 2px;
  transition: color 0.3s ease;
}
.results-tab.active .results-tab-num { color: var(--blue); }
.results-tab-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}
.results-tab-text small {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 2px;
}

.results-media { position: relative; }
.results-media::before {          /* offset blue frame, same as the About photo */
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--blue);
  border-radius: var(--radius-lg);
}
.results-pair {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 6px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  animation: results-in 0.5s ease;
}
.results-pair[hidden] { display: none; }
@keyframes results-in { from { opacity: 0; } to { opacity: 1; } }
.results-pair figure {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 4px);
}
.results-pair img { width: 100%; height: 100%; object-fit: cover; }
/* The old photos already have BEFORE / AFTER burned in, so the captions
   are for screen readers only. Remove these two lines if new, unlabeled
   photos come in and you want visible pills. */
.results-pair figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========================
   BEFORE / AFTER COMPARE SLIDER (service page galleries)
   ========================= */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}
.compare-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }

.compare {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
  user-select: none;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare::before {               /* divider line */
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--white);
  z-index: 2;
  pointer-events: none;
}
.compare-handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  border: 3px solid var(--white);
  display: grid;
  place-items: center;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.compare-handle svg { width: 22px; height: 22px; }
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  margin: 0;
}
.compare-range:focus-visible ~ .compare-handle,
.compare:focus-within .compare-handle { outline: 3px solid var(--blue-sky); outline-offset: 3px; }
.compare figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(11, 13, 15, 0.85));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

/* =========================
   REVIEWS
   ========================= */
.band-reviews { background: var(--ink); }
.band-reviews::before { display: none; }
.reviews-bg { position: absolute; inset: 0; }
.reviews-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; filter: grayscale(1); }
.reviews-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(11, 13, 15, 0.7) 40%, var(--ink) 100%);
}

.testimonial-grid {
  columns: 3;
  column-gap: 24px;
}
.testimonial-grid-1 { columns: 1; max-width: 720px; margin: 0 auto; }
.testimonial-grid-2 { columns: 2; max-width: 960px; margin: 0 auto; }
.testimonial {
  break-inside: avoid;
  margin-bottom: 24px;
  padding: 32px 30px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
}
.quote-mark { width: 34px; height: 26px; color: var(--blue-sky); margin-bottom: 16px; }
.testimonial blockquote { color: rgba(255, 255, 255, 0.86); font-size: 1rem; line-height: 1.7; }
.testimonial figcaption {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.testimonial figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.testimonial figcaption span { font-size: 0.9rem; color: var(--stone); }

/* =========================
   LOCATION
   ========================= */
.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.location-copy .section-title { margin-bottom: 18px; }
.location-copy > p { color: var(--muted); }
.location-copy > p a { color: var(--blue); font-weight: 700; }

.info-list { list-style: none; display: grid; gap: 18px; margin-top: 30px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list > li > .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--blue-sky);
}
.info-list a { color: var(--blue); font-weight: 700; }
.info-list a:hover { color: var(--ink); }
.info-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  border: 6px solid var(--white);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.8); }

/* =========================
   CONTACT + FORM
   ========================= */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}
.contact-info { display: grid; gap: 26px; }
.contact-info .section-title { margin-bottom: 0; }
.contact-info > p { color: var(--muted); }
.contact-info .section-label { margin-bottom: -12px; }
.contact-call {
  padding: 26px 28px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-call::after {           /* little sunrise in the corner */
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 90px;
  border-radius: 180px 180px 0 0;
  background: repeating-conic-gradient(from -90deg at 50% 100%, rgba(58, 160, 212, 0.35) 0 4deg, transparent 4deg 10deg);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 30%, #000 31%);
          mask: radial-gradient(circle at 50% 100%, transparent 30%, #000 31%);
}
.contact-call .info-label { color: var(--blue-sky); }
.info-big {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
}
.info-big:hover { color: var(--blue-sky); }
.contact-call-hours { display: block; color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; }

.contact-tip {
  padding: 20px 22px;
  background: var(--blue-ice);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.98rem;
  color: var(--text);
}
.contact-tip strong { color: var(--ink); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-card-title { font-size: 2rem; color: var(--ink); margin-bottom: 6px; }
.form-card-sub { color: var(--muted); margin-bottom: 26px; }
.estimate-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-group > label,
.form-group > .group-label { font-weight: 700; font-size: 0.93rem; color: var(--ink); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 1rem;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--snow);
  color: var(--text);
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(1, 102, 153, 0.14);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--snow);
  font-size: 0.95rem;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--blue-sky); outline-offset: 2px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fineprint { text-align: center; font-size: 0.92rem; color: var(--muted); }
.form-fineprint a { color: var(--blue); font-weight: 700; }

.form-alert { padding: 16px 18px; border-radius: var(--radius); margin-bottom: 22px; font-size: 0.98rem; }
.form-alert-success { background: #e6f4ea; color: #1d5b2e; border: 1px solid #bfe0c8; }
.form-alert-error { background: #fbecea; color: #8a2419; border: 1px solid #f1c5bf; }

/* =========================
   CTA BAND
   ========================= */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  padding: 80px 0 120px;
}
.sunburst {
  position: absolute;
  right: -160px;
  bottom: -60px;
  width: 760px;
  height: 380px;
  border-radius: 760px 760px 0 0;
  background: repeating-conic-gradient(from -90deg at 50% 100%, rgba(255, 255, 255, 0.14) 0 2.5deg, transparent 2.5deg 7deg);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 28%, #000 29%);
          mask: radial-gradient(circle at 50% 100%, transparent 28%, #000 29%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta-band-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.cta-band-text { font-size: 1.1rem; color: rgba(255, 255, 255, 0.86); }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================
   FOOTER
   ========================= */
.footer {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  padding: 72px 0 0;
}
.cta-band + .footer .ridge-top { top: -59px; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-logo img { width: 150px; height: auto; margin-bottom: 18px; }
.footer-tagline { font-size: 0.96rem; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: var(--white);
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); }
.footer-social svg { width: 17px; height: 17px; }

.footer-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-list { list-style: none; display: grid; gap: 10px; }
.footer-list a:hover { color: var(--blue-sky); }
.footer-phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  color: var(--blue-sky);
  margin-bottom: 14px;
}
.footer-phone:hover { color: var(--white); }
.footer-contact { list-style: none; display: grid; gap: 10px; font-size: 0.96rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--blue-sky); margin-top: 4px; }
.footer-contact address { font-style: normal; }
.footer-contact a:hover { color: var(--white); }

.sub-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}
.sub-footer a { color: rgba(255, 255, 255, 0.75); }
.sub-footer a:hover { color: var(--blue-sky); }

/* =========================
   MOTION — simple fade-up reveals
   Added by scripts.js (IntersectionObserver); content is visible
   without JS and for reduced-motion users.
   ========================= */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js-motion [data-reveal].revealed { opacity: 1; transform: none; }
.js-motion [data-reveal="fade"] { transform: none; }
.js-motion [data-reveal="left"] { transform: translateX(-36px); }
.js-motion [data-reveal="right"] { transform: translateX(36px); }
.js-motion [data-reveal="left"].revealed,
.js-motion [data-reveal="right"].revealed { transform: none; }
@media (max-width: 960px) {
  .js-motion [data-reveal="left"]:not(.revealed),
  .js-motion [data-reveal="right"]:not(.revealed) { transform: translateY(26px); }
}

/* Hero headline: words rise in on load */
.js-motion .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  animation: word-rise 0.8s var(--ease) forwards;
  animation-delay: calc(0.1s + var(--i) * 0.07s);
}
@keyframes word-rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-sunburst { opacity: 1; }
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1100px) {
  .nav-desktop { gap: 22px; }
  .header-cta { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-height: 76px; }
  .nav-desktop { display: none; }
  .menu-btn { display: flex; }
  .logo img { height: 56px; }

  .band { padding: 80px 0; }
  .hero { min-height: 0; padding: calc(var(--header-height) + 64px) 0 130px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-services { max-width: 560px; }

  .trust-grid { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .trust-item { padding: 14px 24px; }
  .trust-item:nth-child(odd) { padding-left: 0; border-left: none; }

  .results { grid-template-columns: 1fr; gap: 48px; }
  .results-media { max-width: 640px; }

  .service-grid,
  .why-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

  .split,
  .location-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
  .split-media { max-width: 560px; }

  .compare-grid-3 { gap: 16px; }

  .testimonial-grid { columns: 2; }

  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }
  .header-homepage { top: 40px; }

  .band { padding: 68px 0; }
  .section-header { margin-bottom: 44px; }
  .hero-actions .btn { flex: 1 1 100%; }

  .trust { padding: 10px 0 30px; }
  .trust-grid { grid-template-columns: 1fr; row-gap: 0; }
  .trust-item { padding: 14px 0; }
  .trust-item + .trust-item { border-left: none; border-top: 1px solid var(--line); }

  .results-media::before { inset: 14px -10px -14px 14px; }
  /* Phones: photo right under the heading, tabs below it, so a tap
     changes a photo that's on screen */
  .results { gap: 0; }
  .results-copy { display: contents; }
  .results-copy > .section-label { order: 1; }
  .results-copy > .section-title { order: 2; }
  .results-copy > p { order: 3; margin-bottom: 26px; }
  .results-media { order: 4; margin-right: 10px; }
  .results-tabs { order: 5; margin: 36px 0 22px; }
  .results-copy > .text-link { order: 6; }

  .split-media::before { inset: 14px -10px -14px 14px; }
  .check-list { grid-template-columns: 1fr; }

  .compare-grid,
  .compare-grid-3 { grid-template-columns: 1fr; max-width: 420px; }

  .testimonial-grid,
  .testimonial-grid-2 { columns: 1; }

  .form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1 1 100%; }
  .sunburst { right: -300px; }

  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .sub-footer { flex-direction: column; }
}
