/* ============================================================
   Glass Squad — Premium Custom Glass, Dallas–Fort Worth
   Design system: refined glassmorphism · deep slate + ice teal
   Fonts: Fraunces (display) · Inter (body)
   ============================================================ */

:root {
  --ink: #0b1526;          /* near-black slate */
  --ink-soft: #22314a;
  --muted: #4b5a72;
  --line: #dfe6ef;
  --bg: #f5f8fb;
  --surface: #ffffff;
  --teal: #0e7d8a;
  --teal-deep: #0a5f6a;
  --ice: #7fd8e3;
  --sky: #b9e8f2;
  --gold: #c8a24a;
  --grad-glass: linear-gradient(135deg, #0e7d8a 0%, #1794a3 45%, #38b6c9 100%);
  --grad-hero: radial-gradient(1200px 700px at 78% 18%, rgba(56,182,201,.28), transparent 60%),
               radial-gradient(900px 600px at 12% 88%, rgba(14,125,138,.30), transparent 55%),
               linear-gradient(168deg, #0b1526 0%, #101f36 55%, #0c2233 100%);
  --shadow-sm: 0 1px 2px rgba(11,21,38,.06), 0 2px 8px rgba(11,21,38,.06);
  --shadow-md: 0 2px 6px rgba(11,21,38,.07), 0 12px 32px rgba(11,21,38,.10);
  --shadow-lg: 0 8px 24px rgba(11,21,38,.12), 0 24px 64px rgba(11,21,38,.16);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1160px;
  --z-nav: 50;
  --z-fab: 40;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; font-weight: 600; }
p  { margin: 0 0 1em; }
a  { color: var(--teal-deep); }
img, svg { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; border-radius: 2px;
  background: var(--grad-glass); flex: none;
}
.on-dark .eyebrow, .eyebrow.light { color: var(--ice); }

.lede { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.on-dark .lede { color: #bccbe0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; font-family: inherit;
  text-decoration: none; cursor: pointer; border: 0;
  transition: box-shadow .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
  min-height: 48px;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  color: #fff; background: var(--grad-glass);
  box-shadow: 0 6px 18px rgba(14,125,138,.35);
}
.btn-primary:hover { box-shadow: 0 10px 28px rgba(14,125,138,.5); transform: translateY(-1px); }
.btn-primary:focus-visible, .btn-ghost:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 6px;
}
.btn-ghost {
  color: var(--ink); background: rgba(255,255,255,.85);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }
.on-dark .btn-ghost {
  color: #eaf4fa; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px);
}
.on-dark .btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 14px 14px auto; z-index: var(--z-nav);
  max-width: calc(var(--wrap) + 48px); margin: 0 auto;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--shadow-md);
  transition: box-shadow .25s ease;
}
.site-header .bar {
  display: flex; align-items: center; gap: 22px;
  padding: 10px 12px 10px 22px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand .word { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.22rem; letter-spacing: -.01em; line-height: 1; }
.brand .word small { display: block; font-family: "Inter", sans-serif; font-weight: 600; font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--teal-deep); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px; border: 0; background: none;
  font: 600 .95rem/1 "Inter", sans-serif; color: var(--ink-soft);
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.main-nav > a:hover, .nav-drop > button:hover,
.main-nav > a[aria-current="page"] { background: rgba(14,125,138,.09); color: var(--teal-deep); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-drop.open > button svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  min-width: 320px; padding: 10px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
}
.nav-drop.open .drop-panel { display: block; }
.drop-panel a {
  display: flex; gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  transition: background-color .15s ease;
}
.drop-panel a:hover { background: rgba(14,125,138,.08); color: var(--teal-deep); }
.drop-panel a svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.nav-cta { margin-left: 6px; padding: 12px 22px; min-height: 42px; font-size: .95rem; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--ink); }

@media (max-width: 920px) {
  .main-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
    border: 1px solid var(--line); border-radius: 22px;
    box-shadow: var(--shadow-lg); padding: 12px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-drop > button { width: 100%; justify-content: space-between; padding: 13px 16px; }
  .drop-panel { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; background: rgba(14,125,138,.05); margin-top: 4px; }
  .nav-cta { margin: 8px 4px 2px; justify-content: center; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero);
  color: #eef6fb;
  padding: 190px 0 110px;
}
.hero.compact { padding: 175px 0 90px; }
.hero .lede { color: #c3d3e6; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--ice); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; color: #cfe6ef; }
.hero-points svg { width: 17px; height: 17px; color: var(--ice); flex: none; }

.hero-art { position: relative; min-height: 380px; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }

.glass-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-radius: 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  font-size: .88rem; font-weight: 600; color: #fff;
}
.glass-chip svg { width: 22px; height: 22px; color: var(--ice); flex: none; }
.glass-chip small { display: block; font-weight: 500; color: #a9c3d4; font-size: .76rem; }
.chip-1 { top: 8%; left: -4%; }
.chip-2 { bottom: 10%; right: -2%; }

@media (max-width: 920px) {
  .hero { padding: 120px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Conversion: on stacked layouts show the estimate form FIRST (visual order only —
     the H1 stays first in the DOM for SEO). Mobile visitors were scrolling only ~6%
     and never reaching the form when it sat below the value-prop column. */
  .hero-grid.has-form { gap: 26px; }
  .hero-grid.has-form .hero-form-col { order: -1; }
  .hero-grid.has-form .hero-form-head { margin-bottom: 12px; }
  .hero-art { min-height: 0; }
  .chip-1 { left: 0; } .chip-2 { right: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tint { background: linear-gradient(180deg, #eef4f9 0%, var(--bg) 100%); }
.section.dark { background: var(--grad-hero); color: #e8f1f8; }
.section.dark h1, .section.dark h2 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lede { margin-inline: auto; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .card-grid, .card-grid.two { grid-template-columns: 1fr; } }

.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--ink);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
  overflow: hidden; cursor: pointer;
}
.svc-card::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: var(--grad-glass); opacity: 0; transition: opacity .25s ease;
}
.svc-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(14,125,138,.35); transform: translateY(-4px); }
.svc-card:hover::after { opacity: 1; }
.svc-card .icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(14,125,138,.12), rgba(56,182,201,.18));
  border: 1px solid rgba(14,125,138,.18);
}
.svc-card .icon svg { width: 27px; height: 27px; color: var(--teal-deep); }
.svc-card p { color: var(--muted); font-size: .96rem; margin: 0; flex: 1; }
.svc-card .go {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .92rem; color: var(--teal-deep);
}
.svc-card .go svg { width: 16px; height: 16px; transition: transform .2s ease; }
.svc-card:hover .go svg { transform: translateX(4px); }

/* feature cards (why us / benefits) */
.feat {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.dark .feat, .on-dark .feat {
  background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
}
.feat .icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-glass); box-shadow: 0 6px 16px rgba(14,125,138,.35);
}
.feat .icon svg { width: 23px; height: 23px; color: #fff; }
.feat h3 { margin: 0; }
.dark .feat h3, .on-dark .feat h3 { color: #fff; }
.feat p { margin: 0; color: var(--muted); font-size: .95rem; }
.dark .feat p, .on-dark .feat p { color: #b7c8db; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: 30px 24px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: "Fraunces", serif; font-size: 2rem; font-weight: 700;
  background: var(--grad-glass); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- Service area ---------- */
.area-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .area-band { grid-template-columns: 1fr; } }
.city-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.city-cloud li {
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .93rem;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2);
  color: #dcebf4; backdrop-filter: blur(6px);
}
.city-cloud li.hq { background: var(--grad-glass); border-color: transparent; color: #fff; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(14,125,138,.4); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 1.02rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  width: 30px; height: 30px; flex: none; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(14,125,138,.1); color: var(--teal-deep);
  transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.faq summary .chev svg { width: 15px; height: 15px; }
.faq details[open] summary .chev { transform: rotate(180deg); background: var(--grad-glass); color: #fff; }
.faq .a { padding: 0 22px 20px; color: var(--muted); font-size: .97rem; }
.faq .a p { margin: 0 0 .6em; } .faq .a p:last-child { margin: 0; }

/* ---------- Estimate / Jobber form ---------- */
.estimate { background: var(--grad-hero); color: #e8f1f8; }
.estimate-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 920px) { .estimate-grid { grid-template-columns: 1fr; } }
.estimate h2 { color: #fff; }
.estimate .lede { color: #bfd0e2; }
.trust-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 15px; }
.trust-list li { display: flex; gap: 13px; align-items: flex-start; color: #d5e4ef; font-size: .98rem; }
.trust-list svg { width: 21px; height: 21px; color: var(--ice); flex: none; margin-top: 2px; }
.trust-list strong { color: #fff; }
.form-shell {
  border-radius: 22px; padding: 14px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  min-height: 420px;
}
.form-shell .form-note { padding: 10px 12px 4px; font-size: .85rem; color: var(--muted); }
.form-shell iframe, .form-shell div { max-width: 100%; }

/* ---------- Jobber embed: instant skeleton + lazy load ---------- */
.jobber-embed { position: relative; min-height: 500px; }
.jobber-embed > div[id] { position: relative; z-index: 1; }
.form-skel {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 12px; padding: 18px 16px;
  transition: opacity .4s ease, visibility .4s ease;
}
.jobber-embed.is-loaded .form-skel { opacity: 0; visibility: hidden; pointer-events: none; }
.form-skel .skel-line, .form-skel .skel-field, .form-skel .skel-btn {
  border-radius: 8px;
  background: linear-gradient(100deg, #eef2f6 30%, #f7fafc 50%, #eef2f6 70%);
  background-size: 200% 100%; animation: skel-shimmer 1.3s ease-in-out infinite;
}
.skel-line--label { height: 11px; width: 38%; margin-top: 4px; }
.skel-2col { display: flex; gap: 12px; }
.skel-2col .skel-field { flex: 1; }
.skel-field { height: 42px; }
.skel-field--tall { height: 84px; }
.skel-btn { height: 46px; width: 132px; margin-top: 6px;
  background: linear-gradient(100deg, #cfe6ea 30%, #e6f4f6 50%, #cfe6ea 70%); background-size: 200% 100%; }
.skel-hint { margin-top: 10px; font-size: .82rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.skel-hint::before { content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #cbd8e2; border-top-color: var(--teal); animation: skel-spin .8s linear infinite; }
.jobber-embed.is-fallback { display: grid; place-items: center; }
@keyframes skel-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes skel-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .form-skel .skel-line, .form-skel .skel-field, .form-skel .skel-btn { animation: none; }
  .skel-hint::before { animation: none; }
}

/* ---------- Hero lead form (homepage) ---------- */
.hero-grid.has-form { align-items: start; }
.hero-form-col { position: relative; }
.hero-form-head { margin: 0 0 16px; }
.hero-form-title { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: .1rem 0 .4rem; }
.hero-form-sub { color: #c3d3e6; font-size: .98rem; margin: 0; max-width: 46ch; }

/* ---------- Bottom CTA card (scrolls to hero form) ---------- */
.cta-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 36px 34px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  border: 1px solid rgba(127,216,227,.28);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.cta-card__mark { width: 48px; height: 48px; filter: drop-shadow(0 10px 22px rgba(0,0,0,.3)); }
.cta-card h3 { color: #fff; font-size: 1.55rem; margin: 0; }
.cta-card p { color: #c3d3e6; margin: 0; }
.cta-card .btn { margin-top: 4px; }
.cta-card__note { font-size: .84rem; color: #9fb4cb; }

/* ---------- Page hero art panes (service pages) ---------- */
.pane-art { display: grid; place-items: center; }
.pane-art > svg { width: min(440px, 100%); height: auto; filter: drop-shadow(0 26px 50px rgba(0,0,0,.35)); }
.pane-art .chip-1 { top: 4%; left: 0; }
.pane-art .chip-2 { bottom: 4%; right: 0; }
.glass-chip { max-width: 260px; }

/* checklist rows (what we install) */
.offer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; padding: 0; margin: 0; list-style: none; }
@media (max-width: 700px) { .offer-list { grid-template-columns: 1fr; } }
.offer-list li {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .97rem;
}
.offer-list svg { width: 21px; height: 21px; color: var(--teal); flex: none; margin-top: 2px; }
.offer-list strong { display: block; }
.offer-list span { color: var(--muted); font-size: .9rem; }

/* split content band */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 720px) { .stat-band { grid-template-columns: 1fr 1fr; } }
.stat {
  text-align: center; padding: 26px 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}
.stat .num { font-family: "Fraunces", serif; font-size: 2rem; font-weight: 700; color: var(--ice); line-height: 1; }
.stat .lbl { font-size: .85rem; font-weight: 600; color: #b7c8db; margin-top: 8px; letter-spacing: .04em; text-transform: uppercase; }

/* related services strip */
.rel-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.rel-strip a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .93rem; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.rel-strip a:hover { border-color: var(--teal); color: var(--teal-deep); box-shadow: var(--shadow-md); }
.rel-strip a svg { width: 17px; height: 17px; color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: #081020; color: #a9bbd0; padding: 74px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 44px; padding-bottom: 54px; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand .word small { color: var(--ice); }
.site-footer p { font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer ul a { color: #a9bbd0; text-decoration: none; font-size: .94rem; transition: color .15s ease; }
.site-footer ul a:hover { color: var(--ice); }
.addr { font-style: normal; font-size: .94rem; line-height: 1.7; }
.addr svg { width: 17px; height: 17px; color: var(--ice); flex: none; margin-top: 3px; }
.addr .row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0; font-size: .85rem; color: #6f8199;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center;
}

/* ---------- Breadcrumbs (service pages) ---------- */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-size: .84rem; font-weight: 600; margin-bottom: 20px;
}
.crumbs a { color: #9fc0d4; text-decoration: none; transition: color .15s ease; }
.crumbs a:hover { color: var(--ice); }
.crumbs .sep { color: #56718a; }
.crumbs [aria-current="page"] { color: #e5f1f8; }

/* ---------- Mobile optimization ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .section { padding: 64px 0; }
  .hero { padding: 100px 0 56px; }
  .hero.compact { padding: 100px 0 56px; }
  .hero-grid.has-form .hero-form-sub { font-size: .9rem; margin-top: 6px; }
  .hero-grid.has-form .hero-form-title { font-size: 1.4rem; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .section-head { margin-bottom: 38px; }
  .svc-card { padding: 24px 20px 22px; }
  .feat, .step { padding: 22px 20px; }
  .offer-list li { padding: 14px 15px; }
  .faq summary { padding: 16px 16px; font-size: .98rem; }
  .faq .a { padding: 0 16px 16px; }
  .form-shell { padding: 8px; border-radius: 16px; }
  .estimate-grid, .hero-grid, .area-band, .split { gap: 36px; }
  .glass-chip { padding: 10px 14px; font-size: .8rem; max-width: 220px; }
  .footer-grid { gap: 32px; padding-bottom: 40px; }
  .site-header { inset: 10px 10px auto; }
  .rel-strip a { padding: 11px 16px; font-size: .89rem; }
  .city-cloud li { padding: 9px 15px; font-size: .88rem; }
}

/* ---------- Reveal on scroll (progressive enhancement: hidden only when JS present) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: .01ms !important; }
}

/* subtle float for hero art */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floaty { animation: floaty 7s ease-in-out infinite; }

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 10px; font-weight: 700;
}
.skip:focus { left: 12px; }

/* ---------- Real project photography ---------- */
.hero-photo {
  display: block; width: 100%; max-height: 520px; object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 30px 60px rgba(0,0,0,.4), 0 0 0 8px rgba(255,255,255,.06);
}
.hero-art.has-photo { min-height: 0; }
.hero.compact .hero-photo { max-height: 440px; }

.work-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-gallery figure {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow); aspect-ratio: 4 / 3;
}
.work-gallery img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.work-gallery figure:hover img { transform: scale(1.045); }
.work-gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 34px 18px 14px;
  background: linear-gradient(180deg, rgba(11,21,38,0) 0%, rgba(11,21,38,.82) 78%);
  color: #fff; font-size: .88rem; font-weight: 600; letter-spacing: .01em;
}
.work-gallery figcaption small { display: block; font-weight: 500; color: #a9c3d4; font-size: .76rem; }
@media (max-width: 920px) { .work-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .work-gallery { grid-template-columns: 1fr; gap: 16px; }
  .hero-photo { max-height: 380px; }
}

/* ---------- Hero form trust chips (homepage) ---------- */
.form-trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.form-trust li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: #dff3f7;
  background: rgba(127,216,227,.12); border: 1px solid rgba(127,216,227,.28);
}
.form-trust svg { width: 14px; height: 14px; color: var(--ice); flex: none; }
@media (max-width: 560px) {
  /* Paid mobile traffic: chips replace the paragraph so the form's first fields stay above the fold */
  .hero-grid.has-form .hero-form-sub { display: none; }
  .form-trust { margin-top: 10px; gap: 6px; }
  .form-trust li { font-size: .76rem; padding: 5px 10px 5px 8px; }
}

/* ---------- Sticky mobile quote bar (injected by main.js on pages with #estimate) ---------- */
.sticky-cta { display: none; }
@media (max-width: 920px) {
  .sticky-cta {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: var(--z-fab);
    display: flex; align-items: center; gap: 12px;
    padding: 10px 10px 10px 18px; border-radius: 999px;
    background: rgba(11,21,38,.88); border: 1px solid rgba(127,216,227,.3);
    box-shadow: 0 18px 44px rgba(11,21,38,.38);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transform: translateY(140%); opacity: 0; pointer-events: none;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
  }
  .sticky-cta.is-shown { transform: none; opacity: 1; pointer-events: auto; }
  .sticky-cta__note { flex: 1; min-width: 0; font-size: .8rem; line-height: 1.25; color: #c3d3e6; }
  .sticky-cta__note strong { display: block; color: #fff; font-size: .9rem; }
  .sticky-cta .btn { padding: 12px 20px; min-height: 46px; font-size: .95rem; white-space: nowrap; }
  body.has-sticky-cta .site-footer { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ---------- Footer legal links ---------- */
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.footer-legal a, .footer-linkbtn {
  color: #a9bbd0; text-decoration: none; font: inherit; font-size: .85rem;
  background: none; border: 0; padding: 4px 0; cursor: pointer; transition: color .15s ease;
}
.footer-legal a:hover, .footer-linkbtn:hover { color: var(--ice); }

/* ---------- Cookie banner (shown by main.js until the visitor chooses) ---------- */
.cookie-banner {
  position: fixed; z-index: calc(var(--z-nav) + 10);
  left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); max-width: 440px;
  display: grid; gap: 14px; padding: 18px 18px 16px 20px; border-radius: var(--radius);
  background: rgba(11,21,38,.94); color: #c3d3e6; border: 1px solid rgba(127,216,227,.28);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: cookie-in .35s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { margin: 0; font-size: .9rem; line-height: 1.5; }
.cookie-banner__text strong { display: block; color: #fff; font-size: .98rem; margin-bottom: 3px; }
.cookie-banner__text a { color: var(--ice); }
.cookie-banner__actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-banner__actions .btn { padding: 10px 20px; min-height: 44px; font-size: .92rem; }
.cookie-banner .btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; }
.cookie-banner .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: var(--ice); color: #fff; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .cookie-banner { left: 10px; right: 10px; max-width: none; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}
body.cookie-open .sticky-cta { display: none; }
@media (prefers-reduced-motion: reduce) { .cookie-banner { animation: none; } }
