/* ==========================================================================
   Nick Badame Refrigeration LLC — public site styles
   Fonts: Barlow (UI / headings), Roboto Slab (review cards)
   ========================================================================== */

:root {
  --blue: #067cd2;
  --blue-600: #0569b3;
  --blue-700: #04558f;
  --blue-light: #5fb0ee;
  --blue-tint: #e7f1fb;

  --ink: #0f1114;
  --charcoal: #17191c;
  --charcoal-2: #202226;
  --steel: #2b2f35;

  --text: #1c2026;
  --text-soft: #444c57;
  --muted: #6b7480;
  --line: #dbe2ec;
  --line-soft: #e8edf3;
  --panel: #eef1f7;
  --white: #ffffff;
  --star: #f2c200;

  --success: #1f8a4c;
  --danger: #c62f2f;

  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-slab: "Roboto Slab", Georgia, serif;

  --container: 1240px;
  --gutter: 24px;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow-card: 0 2px 4px rgba(15, 17, 20, .06), 0 10px 24px rgba(15, 17, 20, .08);
  --shadow-lift: 0 4px 10px rgba(15, 17, 20, .08), 0 18px 40px rgba(15, 17, 20, .14);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--ink); font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .6em 1.25em;
  font-family: var(--font); font-size: 16px; font-weight: 500; letter-spacing: .02em; line-height: 1.1;
  text-decoration: none; text-transform: uppercase; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 14px; height: 14px; stroke-width: 2.2; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); color: #fff; box-shadow: 0 6px 18px rgba(6, 124, 210, .35); }
.btn-outline-light { border-color: rgba(255,255,255,.85); color: #fff; background: rgba(15,17,20,.25); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-square { border-radius: 0; padding-inline: 1.15em; font-size: 19px; font-weight: 400; min-height: 50px; }
.btn-lg { min-height: 54px; padding-inline: 1.6em; font-size: 17px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header .header-inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h); max-width: 1440px; margin-inline: auto; padding-inline: 40px;
}
.brand { position: relative; z-index: 2; display: block; flex: none; align-self: flex-start; padding-top: 12px; }
.brand img { width: 136px; transition: width .3s var(--ease); filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.site-header.is-stuck .brand { padding-top: 6px; }
.site-header.is-stuck .brand img { width: 96px; }

/* Home: transparent header overlapping the hero, logo hangs over hero as in prototype */
.page-home .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(10,11,13,.92), rgba(10,11,13,.72)); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.page-home .brand { padding-top: 28px; }
.page-home .brand img { width: 196px; }
.page-home .site-header.is-stuck { background: rgba(10,11,13,.97); }
.page-home .site-header.is-stuck .brand { padding-top: 6px; }
.page-home .site-header.is-stuck .brand img { width: 96px; }

/* Inline photo inside article copy (source photos are small; keep them modest) */
.media-right { float: right; width: 340px; margin: 6px 0 18px 32px; }
.media-right img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.media-right figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.clearfix::after { content: ""; display: table; clear: both; }
@media (max-width: 640px) { .media-right { float: none; width: 100%; margin: 0 0 22px; } }

.primary-nav { margin-left: auto; align-self: stretch; display: flex; }
.nav-list { display: flex; align-items: stretch; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 0; background: none; cursor: pointer;
  color: #fff; font-size: 16px; font-weight: 500; text-decoration: none; letter-spacing: .01em;
  border-radius: var(--radius-sm); position: relative;
}
.nav-link .icon { width: 12px; height: 12px; stroke-width: 2.2; opacity: .8; transition: transform .2s var(--ease); }
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover, .nav-list > li:hover > .nav-link { color: #fff; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-list > li.is-current > .nav-link::after { transform: scaleX(1); }

.subnav {
  position: absolute; top: calc(100% - 8px); left: 0; min-width: 250px;
  margin: 0; padding: 10px 0; list-style: none;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lift);
  border-top: 3px solid var(--blue);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.subnav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px; color: var(--text); font-weight: 500; font-size: 16px; text-decoration: none;
}
.subnav a .icon { width: 22px; height: 22px; color: var(--blue); }
.subnav a:hover, .subnav a:focus-visible, .subnav a[aria-current="page"] { background: var(--panel); color: var(--blue-600); }
.has-sub:hover > .subnav, .has-sub.is-open > .subnav {
  opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s;
}
.has-sub:hover > .nav-link .icon, .has-sub.is-open > .nav-link .icon { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-actions .btn { min-height: 42px; text-transform: none; font-size: 16px; padding-inline: 1em; }
.header-actions .btn-outline-light { background: transparent; border-color: rgba(255,255,255,.45); }
.header-actions .btn-outline-light:hover { border-color: #fff; }
.header-call, .nav-toggle { display: none; }

/* Mobile drawer pieces (hidden on desktop) */
.drawer-head, .drawer-foot { display: none; }
.nav-overlay { display: none; }

@media (max-width: 1240px) {
  .site-header .header-inner { padding-inline: 24px; gap: 12px; }
  .nav-link { padding-inline: 10px; font-size: 15.5px; }
  .nav-link::after { left: 10px; right: 10px; }
  .header-actions .btn-outline-light { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .site-header .header-inner { padding-inline: 16px; }
  .brand, .page-home .brand, .site-header.is-stuck .brand, .page-home .site-header.is-stuck .brand { padding-top: 0; align-self: center; }
  .brand img, .page-home .brand img, .site-header.is-stuck .brand img, .page-home .site-header.is-stuck .brand img { width: 92px; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-primary { display: none; }
  .header-call, .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: var(--radius-sm);
    color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); cursor: pointer;
  }
  .header-call { background: var(--blue); border-color: var(--blue); }
  .header-call .icon, .nav-toggle .icon { width: 22px; height: 22px; stroke-width: 1.8; }

  .primary-nav {
    position: fixed; inset: 0 0 0 auto; z-index: 120;
    width: min(380px, 88vw); flex-direction: column;
    background: var(--charcoal); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav-open .primary-nav { transform: translateX(0); visibility: visible; transition-delay: 0s; }
  .page-home .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.55); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
  .nav-open .nav-overlay { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav-open { overflow: hidden; }

  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .drawer-head img { width: 96px; }
  .drawer-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm); color: #fff; cursor: pointer; }
  .drawer-close .icon { width: 20px; height: 20px; stroke-width: 2; }

  .nav-list { flex-direction: column; gap: 0; padding: 8px 0; }
  .nav-list > li { display: block; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-link { width: 100%; justify-content: space-between; padding: 15px 22px; font-size: 18px; border-radius: 0; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"], .nav-list > li.is-current > .nav-link { color: var(--blue-light); }
  .nav-link .icon { width: 16px; height: 16px; }
  .subnav {
    position: static; min-width: 0; padding: 0 0 10px; border: 0; border-radius: 0; box-shadow: none;
    background: transparent; opacity: 1; visibility: visible; transform: none; display: none;
  }
  .has-sub:hover > .subnav { display: none; }
  .has-sub.is-open > .subnav { display: block; }
  .has-sub:hover > .nav-link .icon { transform: none; }
  .has-sub.is-open > .nav-link .icon { transform: rotate(180deg); }
  .subnav a { color: rgba(255,255,255,.82); padding: 10px 22px 10px 30px; font-size: 16.5px; }
  .subnav a .icon { color: var(--blue-light); }
  .subnav a:hover, .subnav a[aria-current="page"] { background: rgba(255,255,255,.05); color: #fff; }

  .drawer-foot { display: grid; gap: 10px; padding: 20px; margin-top: auto; border-top: 1px solid rgba(255,255,255,.08); }
  .drawer-foot .btn { width: 100%; }
  .drawer-foot .drawer-phone { display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 600; font-size: 19px; text-decoration: none; padding-top: 6px; }
  .drawer-foot .drawer-phone .icon { width: 20px; height: 20px; color: var(--blue-light); }
  .drawer-foot .drawer-hours { margin: 0; text-align: center; color: rgba(255,255,255,.6); font-size: 14.5px; }
}

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(600px, 50vw, 740px);
  display: flex; align-items: center;
  background: var(--ink);
  color: #fff;
  padding: 150px 0 80px;
}
.hero-media { position: absolute; inset: 0 0 0 auto; width: 66%; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, var(--ink) 33%, rgba(15,17,20,.82) 44%, rgba(15,17,20,.25) 64%, rgba(15,17,20,0) 80%),
    linear-gradient(0deg, rgba(15,17,20,.55) 0%, rgba(15,17,20,0) 30%);
}
.hero-content { max-width: 880px; padding-left: clamp(0px, 4vw, 70px); }
.eyebrow {
  display: inline-block; margin: 0 0 6px;
  font-size: 19px; font-weight: 400; letter-spacing: .03em; text-transform: uppercase;
  color: var(--blue-light);
}
.hero h1 {
  margin: 0; color: #fff;
  font-size: clamp(32px, 3.5vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -.005em;
  text-transform: uppercase; text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.hero h1 span { display: block; }
.hero-rule { width: min(370px, 60%); height: 1px; margin: 16px 0 22px; border: 0; background: rgba(255,255,255,.45); }
.hero-lead { max-width: 470px; margin: 0 0 26px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; font-weight: 400; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn { min-height: 44px; font-size: 16px; font-weight: 400; }
.hero-call { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: rgba(255,255,255,.75); font-size: 16px; }
.hero-call a { color: #fff; font-weight: 600; font-size: 19px; text-decoration: none; letter-spacing: .02em; }
.hero-call a:hover { color: var(--blue-light); }
.hero-call .icon { width: 20px; height: 20px; color: var(--blue-light); }

@media (max-width: 1080px) {
  .hero { padding: 120px 0 64px; min-height: 0; }
  .hero-media { width: 100%; }
  .hero-media img { object-position: 70% 50%; }
  .hero::before { background: linear-gradient(90deg, rgba(15,17,20,.94) 0%, rgba(15,17,20,.8) 45%, rgba(15,17,20,.35) 100%), linear-gradient(0deg, rgba(15,17,20,.7), rgba(15,17,20,0) 50%); }
  .hero-content { padding-left: 0; }
}
@media (max-width: 600px) {
  .hero { padding: 110px 0 52px; }
  .hero::before { background: linear-gradient(180deg, rgba(15,17,20,.72) 0%, rgba(15,17,20,.86) 55%, rgba(15,17,20,.95) 100%); }
  .eyebrow { font-size: 15px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-panel { background: var(--panel); }
.section-dark { background: var(--charcoal); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-title { font-size: clamp(28px, 3vw, 38px); font-weight: 300; letter-spacing: -.005em; color: var(--ink); }
.section-kicker { display: block; margin-bottom: 8px; color: var(--blue); font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-soft); font-size: 18px; }

/* Title flanked by rules (reviews heading in prototype) */
.rule-title { display: flex; align-items: center; gap: 28px; margin: 0 0 40px; font-size: clamp(26px, 3vw, 38px); font-weight: 300; color: var(--steel); text-align: center; }
.rule-title::before, .rule-title::after { content: ""; flex: 1; height: 1px; background: #cfd6e0; }
@media (max-width: 600px) { .rule-title { gap: 14px; } .rule-title::before, .rule-title::after { min-width: 18px; } }

/* ---------- Intro + shortcuts (home) ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(40px, 7vw, 110px); align-items: start; }
.intro h2 { font-size: clamp(32px, 3.3vw, 44px); font-weight: 300; margin-bottom: 18px; letter-spacing: -.005em; }
.intro .tagline { margin: 0 0 22px; line-height: 1.2; font-size: clamp(20px, 1.9vw, 25px); font-weight: 800; letter-spacing: .01em; color: var(--ink); text-transform: uppercase; }
.intro p { font-size: 17px; line-height: 1.95; color: var(--text); font-weight: 500; }
.intro .areas { color: var(--text-soft); }

.hours-block { margin: 28px 0 32px; }
.hours-title { display: inline-block; margin: 0 0 6px; font-size: 20px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; color: var(--ink); }
.hours-line { margin: 0; font-size: 17px; font-weight: 500; text-transform: uppercase; }
.hours-line .sep { display: inline-block; margin: 0 8px; color: var(--muted); }

@media (max-width: 1080px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Service shortcut panel ---------- */
.shortcuts {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px 14px;
}
.shortcuts h2, .shortcuts h3 { margin: 0 0 10px; font-size: 25px; font-weight: 500; letter-spacing: .01em; text-transform: uppercase; color: #6b7480; }
.shortcuts ul { margin: 0; padding: 0; list-style: none; }
.shortcuts li + li { border-top: 1px solid var(--line); }
.shortcuts a {
  display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 22px;
  padding: 11px 6px 11px 4px; color: var(--ink); font-size: 18.5px; font-weight: 500; text-decoration: none;
  border-radius: var(--radius-sm); transition: background-color .2s var(--ease), color .2s var(--ease);
}
.shortcuts a .icon { width: 38px; height: 38px; color: var(--blue); stroke-width: 1.3; }
.shortcuts a .chev { width: 18px; height: 18px; stroke-width: 2.2; color: var(--blue); transition: transform .2s var(--ease); }
.shortcuts a:hover, .shortcuts a[aria-current="page"] { background: #fff; color: var(--blue-600); }
.shortcuts a:hover .chev { transform: translateX(3px); }

/* ---------- Reviews ---------- */
.reviews { background: var(--panel); padding: 30px 0 56px; overflow: hidden; }
.reviews .rule-title { margin-bottom: 26px; }
.carousel { position: relative; max-width: 1440px; margin-inline: auto; padding-inline: 76px; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 30px) / 4); gap: 30px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 18px; margin: 0; list-style: none;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > li { scroll-snap-align: start; display: flex; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-60%);
  width: 52px; height: 72px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #6b7480; cursor: pointer; border-radius: var(--radius-sm);
}
.carousel-btn .icon { width: 34px; height: 34px; stroke-width: 1.4; }
.carousel-btn:hover { color: var(--blue); background: rgba(255,255,255,.6); }
.carousel-btn[disabled] { opacity: .3; cursor: default; background: none; color: #6b7480; }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots { display: none; justify-content: center; gap: 8px; margin-top: 6px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: #c2cbd7; cursor: pointer; }
.carousel-dots button[aria-current="true"] { background: var(--blue); width: 24px; border-radius: 6px; }

.review-card {
  position: relative; width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; padding: 24px 28px 28px; border: 1px solid #e3e8ef;
  box-shadow: 0 2px 6px rgba(15,17,20,.08);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.review-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.review-card .reviewer {
  display: flex; align-items: center; justify-content: center; min-height: 64px; margin: 0 0 8px;
  font-family: var(--font-slab); font-weight: 700; font-size: 25px; line-height: 1.05; color: var(--ink);
}
.stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 8px; color: var(--star); }
.stars .icon { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.review-card time { display: block; margin-bottom: 12px; font-family: var(--font-slab); font-size: 18px; color: var(--steel); font-weight: 400; }
.review-card blockquote {
  margin: 0; font-family: var(--font-slab); font-size: 15.5px; line-height: 1.6; color: var(--text-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card .read-more { margin-top: 14px; font-size: 15px; font-weight: 600; text-decoration: none; }
.placeholder-tag {
  position: absolute; top: 10px; right: 10px;
  padding: 2px 8px; border-radius: 20px; background: #fff4d6; color: #8a6200;
  font-family: var(--font); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

@media (max-width: 1240px) { .carousel-track { grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; } }
@media (max-width: 900px) {
  .carousel { padding-inline: 56px; }
  .carousel-btn.prev { left: 2px; } .carousel-btn.next { right: 2px; }
  .carousel-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
}
@media (max-width: 600px) {
  .carousel { padding-inline: var(--gutter); }
  .carousel-btn { display: none; }
  .carousel-dots { display: flex; }
  .carousel-track { grid-auto-columns: 86%; gap: 16px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { color: rgba(255,255,255,.88); }
.footer-main {
  position: relative; padding: 56px 0 50px;
  background:
    radial-gradient(1200px 400px at 15% 0%, rgba(255,255,255,.05), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 2px, transparent 2px 120px),
    linear-gradient(180deg, #232120, #1a1919);
}
.footer-grid { display: grid; grid-template-columns: 280px repeat(3, auto); justify-content: center; gap: 40px 72px; align-items: start; }
.footer-brand img { width: 220px; }
.footer-brand .license { margin: 16px 0 0; font-size: 14px; color: rgba(255,255,255,.55); letter-spacing: .02em; }
.footer-col h2 { margin: 0 0 4px; font-size: 17px; font-weight: 500; }
.footer-col h2 a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { line-height: 1.75; }
.footer-col a { color: rgba(255,255,255,.9); font-size: 17px; font-weight: 500; text-decoration: none; }
.footer-col a:hover { color: var(--blue-light); text-decoration: underline; }
.footer-col .dash::before { content: "- "; }

.footer-contact { background: #e8e8e8; color: var(--ink); padding: 18px 0; }
.footer-contact .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px; }
.footer-contact address { font-style: normal; font-size: 22px; font-weight: 300; letter-spacing: .01em; }
.footer-contact .phone { color: var(--ink); font-size: 22px; font-weight: 500; letter-spacing: .03em; text-decoration: none; }
.footer-contact .phone:hover { color: var(--blue); }
.footer-contact .divider { width: 1px; height: 14px; background: #b9b9b9; }
.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social a { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; transition: transform .2s var(--ease); }
.social a:hover { transform: translateY(-2px); }
.social svg { width: 30px; height: 30px; }

.footer-brands { background: #141413; padding: 34px 0; }
.footer-brands img { width: min(460px, 82%); margin-inline: auto; opacity: .9; }

.footer-legal { background: #fff; padding: 26px 0 30px; text-align: center; color: #9aa0a8; font-size: 14.5px; font-weight: 500; }
.footer-legal p { margin: 0 0 6px; }
.footer-legal nav a { color: #9aa0a8; text-decoration: none; }
.footer-legal nav a:hover { color: var(--blue); text-decoration: underline; }
.footer-legal nav span { margin: 0 6px; }

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; }
  .footer-brand img { width: 170px; }
}
@media (max-width: 680px) {
  .footer-main { padding: 44px 0 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-col.services { grid-column: 1 / -1; }
  .footer-contact .divider { display: none; }
  .footer-contact .container { flex-direction: column; gap: 8px; text-align: center; }
  .footer-contact address { font-size: 18px; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-banner {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  background: var(--ink); color: #fff;
}
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15,17,20,.95) 0%, rgba(15,17,20,.84) 42%, rgba(15,17,20,.45) 100%);
}
.page-banner .eyebrow { font-size: 16px; }
.page-banner h1 { margin: 0 0 12px; color: #fff; font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.page-banner p { max-width: 640px; margin: 0; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.88); }
.breadcrumb { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14.5px; color: rgba(255,255,255,.7); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255,255,255,.4); }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-banner .banner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.sidebar { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar .shortcuts { padding: 20px 22px 10px; }
.sidebar .shortcuts h2 { font-size: 20px; }
.sidebar .shortcuts a { grid-template-columns: 34px 1fr 18px; gap: 14px; font-size: 17px; padding-block: 9px; }
.sidebar .shortcuts a .icon { width: 30px; height: 30px; }
@media (max-width: 1080px) { .content-grid { grid-template-columns: 1fr; } .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }

.prose h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; margin-top: 0; }
.prose h3 { font-size: 22px; font-weight: 700; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-soft); font-size: 17.5px; }
.prose .lead { font-size: 20px; color: var(--text); line-height: 1.6; }
.prose img { border-radius: var(--radius); }

.figure { margin: 28px 0; }
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.figure figcaption { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 22px 0 28px; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--panel); border-radius: var(--radius-sm); color: var(--text); font-weight: 500; font-size: 17px; line-height: 1.4; }
.checklist .icon { width: 22px; height: 22px; color: var(--blue); stroke-width: 2.2; margin-top: -1px; }
@media (max-width: 600px) { .checklist { grid-template-columns: 1fr; } }

.callout {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 22px; border-left: 4px solid var(--blue); background: var(--blue-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
}
.callout .icon { width: 30px; height: 30px; color: var(--blue); }
.callout strong { display: block; color: var(--ink); font-size: 18px; }
.callout p { margin: 4px 0 0; color: var(--text-soft); }
.callout a { font-weight: 600; }

/* Info card (sidebar / contact) */
.info-card { background: var(--charcoal); color: rgba(255,255,255,.85); border-radius: var(--radius); padding: 26px 24px; }
.info-card h2, .info-card h3 { color: #fff; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; font-weight: 600; }
.info-card .big-phone { display: flex; align-items: center; gap: 10px; margin: 6px 0 16px; color: #fff; font-size: 27px; font-weight: 600; text-decoration: none; letter-spacing: .01em; }
.info-card .big-phone .icon { width: 26px; height: 26px; color: var(--blue-light); }
.info-card .big-phone:hover { color: var(--blue-light); }
.info-card .btn { width: 100%; }
.info-card dl { margin: 0 0 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 16px; }
.info-card dt { color: rgba(255,255,255,.6); }
.info-card dd { margin: 0; color: #fff; font-weight: 500; text-align: right; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--blue); color: #fff; padding: 44px 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 260px at 85% 50%, rgba(255,255,255,.14), transparent 70%), linear-gradient(90deg, var(--blue-700), var(--blue)); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-band h2 { margin: 0 0 4px; color: #fff; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); font-size: 18px; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-band .btn-light { background: #fff; color: var(--blue-700); }
.cta-band .btn-light:hover { background: var(--ink); color: #fff; }
.cta-band .cta-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 22px; font-weight: 600; text-decoration: none; }
.cta-band .cta-phone .icon { width: 22px; height: 22px; }
@media (max-width: 600px) { .cta-band .cta-actions, .cta-band .cta-actions .btn { width: 100%; } .cta-band .cta-phone { width: 100%; justify-content: center; } }

/* Cards grid (about values, locations) */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease); }
.card:hover { box-shadow: var(--shadow-card); border-color: transparent; transform: translateY(-2px); }
.card .card-icon { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; margin-bottom: 16px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); }
.card .card-icon .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-soft); }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

/* Split media block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-card); }
.split-media .badge-card { position: absolute; left: -18px; bottom: -22px; background: var(--ink); color: #fff; padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lift); border-left: 4px solid var(--blue); }
.split-media .badge-card strong { display: block; font-size: 30px; font-weight: 800; line-height: 1; }
.split-media .badge-card span { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-media .badge-card { left: 16px; } }

/* ---------- Service contract plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.plan:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.plan-head { padding: 24px 26px 22px; background: var(--charcoal); color: #fff; border-bottom: 4px solid var(--blue); }
.plan-head .plan-no { display: block; margin-bottom: 4px; color: var(--blue-light); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.plan-head h3 { margin: 0 0 10px; color: #fff; font-size: 23px; line-height: 1.2; }
.plan-head .plan-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: rgba(255,255,255,.8); }
.plan-head .plan-meta .icon { width: 18px; height: 18px; color: var(--blue-light); }
.plan-body { flex: 1; padding: 22px 26px 8px; }
.plan-body ul { margin: 0; padding: 0; list-style: none; }
.plan-body li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line-soft); color: var(--text-soft); font-size: 16px; line-height: 1.45; }
.plan-body li:last-child { border-bottom: 0; }
.plan-body li .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--blue); stroke-width: 2.4; }
.plan-foot { padding: 18px 26px 26px; }
.plan-foot .price { display: block; margin-bottom: 12px; font-weight: 700; font-size: 18px; color: var(--ink); text-transform: uppercase; letter-spacing: .03em; }
.plan-foot .btn { width: 100%; }
.labor { margin-top: 32px; display: grid; grid-template-columns: 300px 1fr; gap: 28px; padding: 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.labor h3 { font-size: 24px; margin: 0 0 6px; }
.labor ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.labor li { display: flex; gap: 10px; color: var(--text); font-weight: 500; line-height: 1.45; }
.labor li .icon { width: 20px; height: 20px; color: var(--blue); stroke-width: 2.4; margin-top: 2px; }
.fine-print { margin-top: 18px; font-size: 15px; color: var(--muted); }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; } .labor { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } .labor ul { grid-template-columns: 1fr; } .labor { padding: 22px; } }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn { padding: 9px 18px; border-radius: 30px; border: 1px solid var(--line); background: #fff; color: var(--text); font-weight: 500; font-size: 15.5px; cursor: pointer; transition: all .2s var(--ease); }
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gallery-grid li[hidden] { display: none; }
.gallery-item { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--panel); cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item .cap { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; text-align: left; color: #fff; font-weight: 600; font-size: 15px; background: linear-gradient(0deg, rgba(15,17,20,.85), transparent); opacity: 0; transform: translateY(6px); transition: all .25s var(--ease); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.05); }
.gallery-item:hover .cap, .gallery-item:focus-visible .cap { opacity: 1; transform: none; }
.gallery-item.is-placeholder { cursor: default; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 2px dashed #c6cfdb; color: var(--muted); font-size: 14.5px; font-weight: 500; text-align: center; padding: 16px; }
.gallery-item.is-placeholder .icon { width: 34px; height: 34px; color: #9aa6b5; }
@media (max-width: 1080px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .gallery-item .cap { opacity: 1; transform: none; font-size: 13.5px; padding: 24px 10px 8px; } }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 60px 70px; background: rgba(8,9,11,.92); }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 76vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { margin-top: 14px; color: rgba(255,255,255,.85); }
.lightbox button { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.lightbox button:hover { background: var(--blue); border-color: var(--blue); }
.lightbox button .icon { width: 24px; height: 24px; stroke-width: 2; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 70px 12px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; transform: none; } .lightbox .lb-prev { left: calc(50% - 60px); } .lightbox .lb-next { right: calc(50% - 60px); } }

/* ---------- Reviews page grid ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.review-grid > li { display: flex; }
.review-grid .review-card blockquote { -webkit-line-clamp: 6; }
@media (max-width: 1080px) { .review-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .review-grid { grid-template-columns: 1fr; } }
.review-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; margin-bottom: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.review-summary .score { display: flex; align-items: center; gap: 16px; }
.review-summary .score strong { font-size: 44px; font-weight: 800; line-height: 1; color: var(--ink); }
.review-summary .score .stars { justify-content: flex-start; margin: 0; }
.review-summary .score .stars .icon { width: 22px; height: 22px; }
.review-summary .score span { display: block; color: var(--muted); font-size: 15px; }

/* ---------- Locations ---------- */
.area-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.area-list li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; font-size: 18px; color: var(--ink); }
.area-list li.hq { grid-column: 1 / -1; background: var(--ink); color: #fff; border-color: var(--ink); }
.area-list li.hq small { display: block; font-weight: 400; color: rgba(255,255,255,.7); font-size: 15px; }
.area-list .icon { width: 24px; height: 24px; color: var(--blue); }
.area-list li.hq .icon { color: var(--blue-light); }
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); aspect-ratio: 4 / 3; }
.map-wide { aspect-ratio: 21 / 7; }
@media (max-width: 700px) { .map-wide { aspect-ratio: 4 / 3; } }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow-card); }
.form-card > h2 { font-size: 28px; margin-bottom: 6px; }
.form-card > p { color: var(--text-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.field .req { color: var(--danger); margin-left: 2px; }
.field .hint { font-size: 14px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font-size: 16.5px; background: #fff; color: var(--text);
  border: 1.5px solid #cfd7e2; border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23067cd2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.input:hover, .select:hover, .textarea:hover { border-color: #aebbcb; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(6,124,210,.15); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field .error-msg { display: none; font-size: 14px; color: var(--danger); font-weight: 500; }
.field.has-error .error-msg { display: block; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1.5px solid #cfd7e2; border-radius: var(--radius-sm); font-weight: 500; cursor: pointer; transition: all .2s var(--ease); }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-700); }
.choice input:focus-visible + span { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-note { font-size: 14.5px; color: var(--muted); margin: 0; }
.form-status { display: none; align-items: flex-start; gap: 12px; padding: 16px 18px; margin-top: 20px; border-radius: var(--radius-sm); font-weight: 500; }
.form-status .icon { width: 24px; height: 24px; }
.form-status.is-success { display: flex; background: #e8f6ee; color: var(--success); }
.form-status.is-error { display: flex; background: #fdecec; color: var(--danger); }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Steps list (estimate page) */
.steps { counter-reset: step; margin: 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 56px; color: rgba(255,255,255,.8); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; }
.steps strong { display: block; color: #fff; font-size: 17px; }

/* Pay invoice */
.pay-card { max-width: 640px; margin-inline: auto; text-align: center; }
.pay-card .pay-icon { display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue-tint); color: var(--blue); margin-bottom: 16px; }
.pay-card .pay-icon .icon { width: 36px; height: 36px; stroke-width: 1.5; }
.pay-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; text-align: left; }
.pay-steps div { padding: 16px; background: var(--panel); border-radius: var(--radius-sm); font-size: 15.5px; color: var(--text-soft); }
.pay-steps strong { display: block; color: var(--ink); font-size: 16.5px; }
.paypal-btn { background: #ffc439; color: #111; font-weight: 700; text-transform: none; font-size: 18px; min-height: 54px; border-radius: 30px; width: 100%; }
.paypal-btn:hover { background: #f2b51f; color: #111; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 14.5px; }
.secure-note .icon { width: 18px; height: 18px; color: var(--success); }
@media (max-width: 640px) { .pay-steps { grid-template-columns: 1fr; } }

/* Legal / sitemap */
.legal { max-width: 860px; }
.legal h2 { font-size: 24px; margin-top: 1.8em; }
.legal p, .legal li { color: var(--text-soft); }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); background: #fff4d6; color: #7a5600; font-size: 15.5px; font-weight: 500; margin-bottom: 28px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sitemap-grid h2 { font-size: 20px; text-transform: uppercase; letter-spacing: .04em; padding-bottom: 10px; border-bottom: 2px solid var(--blue); }
.sitemap-grid ul { list-style: none; padding: 0; margin: 0; }
.sitemap-grid li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.sitemap-grid a { font-weight: 500; text-decoration: none; }
.sitemap-grid a:hover { text-decoration: underline; }
@media (max-width: 800px) { .sitemap-grid { grid-template-columns: 1fr; } }

/* Utility */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.stack-lg > * + * { margin-top: 40px; }

/* Inner pages: a taller dark header so the logo can be larger and sit fully on the bar
   (client: "logo is too small"). Change --inner-logo-w to adjust the logo size. */
body:not(.page-home) { --header-h: 108px; --inner-logo-w: 150px; }
body:not(.page-home) .brand, body:not(.page-home) .site-header.is-stuck .brand { align-self: center; padding-top: 0; }
body:not(.page-home) .brand img, body:not(.page-home) .site-header.is-stuck .brand img { width: var(--inner-logo-w); }
@media (max-width: 1080px) {
  body:not(.page-home) { --header-h: 68px; --inner-logo-w: 92px; }
}

