/* Blueguard Solutions — site stylesheet
   Matches the printed brochure: deep navy panels, brand blue, gold accent rules,
   condensed bold headings, ringed circle icons, numbered blue circles, water waves. */

/* ---------- fonts: self-hosted Barlow (SIL OFL, see fonts/OFL.txt) ---------- */
/* Barlow itself is declared in <head> (see build.py FONT_FACES). These metric-matched stand-ins only
   show if a font is unavailable; they take up the same space as Barlow. */
@font-face { font-family: "Barlow Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 97.5%; ascent-override: 102.6%; descent-override: 20.5%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Condensed Fallback"; src: local("Arial Bold"), local("Arial"), local("Helvetica Neue"); size-adjust: 76.4%; ascent-override: 130.8%; descent-override: 26.2%; line-gap-override: 0%; }

:root {
  --navy: #0b2a52;         /* brochure navy panels */
  --navy-deep: #071d3b;    /* darkest bands, footer */
  --ink: #0b2347;          /* text on light */
  --ink-soft: #40506b;     /* secondary text on light */
  --on-dark-soft: #c3cfe2; /* secondary text on navy */
  --blue: #1667c7;         /* brand blue: buttons, numbers */
  --blue-hover: #0f56ab;
  --sky: #3d8fdb;          /* icon rings, light accents */
  --sky-light: #8cc4f5;    /* icons/ticks on navy */
  --link: #0f5bb5;         /* text links on light */
  --gold: #f2b13f;         /* accent rules, badges */
  --gold-deep: #e09a1c;
  --bg: #f2f5f9;           /* page ground */
  --surface: #ffffff;
  --tint: #e8f1fb;         /* pale blue fills */
  --line: #d9e2ee;

  --font-display: "Barlow Condensed", "Barlow Condensed Fallback", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, sans-serif;
  --font-body: "Barlow", "Barlow Fallback", "Segoe UI", system-ui, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(11, 35, 71, .06), 0 12px 32px -16px rgba(11, 35, 71, .28);
  --header-h: 84px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #0a4689; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: inherit; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible, .section--navy :focus-visible { outline-color: var(--gold); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }

/* ---------- type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.kicker::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: var(--gold); flex: none; }
.on-dark .kicker, .section--navy .kicker, .hero .kicker, .page-hero .kicker { color: var(--sky-light); }
.display { font-weight: 800; text-transform: uppercase; letter-spacing: -0.005em; line-height: .92; font-size: clamp(50px, 8vw, 104px); }
.h1 { font-weight: 800; text-transform: uppercase; line-height: .95; font-size: clamp(42px, 6vw, 76px); }
.h2 { font-weight: 800; line-height: 1; font-size: clamp(36px, 4.6vw, 58px); letter-spacing: -0.005em; }
.h2.rule::after, .rule-after::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 4px; background: var(--gold); margin-top: 16px; }
.center .h2.rule::after { margin-inline: auto; }
.h3 { font-weight: 700; line-height: 1.12; font-size: 25px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; }
.muted { color: var(--ink-soft); }
.on-dark .muted, .section--navy .muted { color: var(--on-dark-soft); }
.prose { max-width: 68ch; display: grid; gap: 18px; }
.prose p { font-size: 18px; }
.accent-blue { color: var(--sky-light); }
.accent-text { color: var(--blue); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(22,103,199,.8); }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #f6c262; color: var(--navy-deep); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint); color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { min-height: 46px; padding: 10px 20px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--navy-deep); color: var(--on-dark-soft); font-size: 14.5px; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-block: 8px; }
.topbar-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 3px solid var(--gold); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 28px -16px rgba(11,35,71,.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 60px; width: auto; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav-link:hover { background: var(--tint); color: var(--ink); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--blue); }
.nav-link .chev { width: 16px; height: 16px; transition: transform .2s ease; }
.has-sub.is-open .chev { transform: rotate(180deg); }
.submenu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 16px; box-shadow: var(--shadow); display: none; }
.has-sub.is-open .submenu { display: block; }
.submenu a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.3; }
.submenu a .mini-ring { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 3px solid var(--sky); display: grid; place-items: center; color: var(--navy); background: #fff; }
.submenu a .mini-ring svg { width: 20px; height: 20px; }
.submenu a small { display: block; font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.submenu a:hover { background: var(--tint); }
.submenu a[aria-current="page"] { color: var(--blue); }
.nav-cta { margin-left: 10px; }

.menu-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

@media (max-width: 1100px) {
  :root { --header-h: 72px; }
  .brand img { height: 50px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 12px var(--gutter-r) calc(28px + env(safe-area-inset-bottom, 0px)) var(--gutter); display: none; }
  .menu-open .site-nav { display: block; }
  .menu-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 22px; }
  .submenu { position: static; display: none; min-width: 0; border: 0; box-shadow: none; padding: 0 0 8px; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- wave dividers ---------- */
.wave { display: block; width: 100%; height: clamp(36px, 6vw, 80px); }
.wave--bottom { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.hero-media, .hero-media img, .hero-media picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media { z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7,29,59,.96) 0%, rgba(11,42,82,.88) 42%, rgba(11,42,82,.45) 75%, rgba(11,42,82,.3) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; padding-block: clamp(64px, 9vw, 120px) clamp(110px, 12vw, 170px); }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-sub { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; max-width: 30ch; color: #fff; }
.hero-text { max-width: 54ch; color: #dbe5f3; font-size: 18px; }
.hero .btn-row { margin-top: 6px; }
.hero-card { background: rgba(7,29,59,.78); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; gap: 18px; }
.hero-card h2 { font-size: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.hero-card h2::after { content: ""; display: block; width: 52px; height: 4px; background: var(--gold); border-radius: 4px; margin-top: 10px; }
.hero-card .contact-line { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: center; }
.hero-card .contact-line .dot { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.hero-card .contact-line .dot svg { width: 20px; height: 20px; color: #fff; }
.hero-card .contact-line a, .hero-card .contact-line span { color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.hero-card .contact-line a:hover { text-decoration: underline; }
.hero-card .contact-line a { display: inline-block; padding-block: 9px; margin-block: -9px; }
.hero-card .small { color: var(--on-dark-soft); font-size: 15px; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: minmax(0, 1fr); } .hero-card { max-width: 520px; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.page-hero .hero-shade { background: linear-gradient(100deg, rgba(7,29,59,.95) 0%, rgba(11,42,82,.86) 50%, rgba(11,42,82,.45) 100%); }
.page-hero-inner { padding-block: clamp(52px, 7vw, 96px) clamp(92px, 10vw, 140px); display: grid; gap: 18px; max-width: 780px; justify-items: start; }
.page-hero .lead { color: #dbe5f3; }
.page-hero-sub { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.15; }
.breadcrumb { font-size: 14.5px; color: var(--on-dark-soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); position: relative; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--white { background: var(--surface); }
.section--navy { background: var(--navy); color: #fff; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 780px; }
.section-head.center { margin-inline: auto; justify-items: center; text-align: center; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 40px; }
@media (max-width: 720px) { .section-head--split { grid-template-columns: minmax(0, 1fr); } }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- ring icons (brochure "Our services" circles) ---------- */
.ring { width: 92px; height: 92px; border-radius: 50%; background: #fff; border: 6px solid var(--sky); box-shadow: 0 0 0 4px rgba(61,143,219,.18); display: grid; place-items: center; color: var(--navy); flex: none; }
.ring svg { width: 42px; height: 42px; }
.ring--sm { width: 64px; height: 64px; border-width: 4px; }
.ring--sm svg { width: 28px; height: 28px; }

/* ---------- service cards ---------- */
.service-card { background: var(--surface); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; border-bottom: 4px solid transparent; }
.service-card:hover { color: var(--ink); transform: translateY(-4px); border-bottom-color: var(--gold); }
.service-card h3 { font-size: 26px; font-weight: 700; line-height: 1.05; margin-top: 6px; }
.service-card p { color: var(--ink-soft); font-size: 16.5px; }
.service-card .price { margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--blue); }
.services-panel { background: var(--navy); border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 4vw, 52px); position: relative; overflow: hidden; }
.services-panel .section-head { color: #fff; }

/* ---------- feature (photo) cards ---------- */
.feature-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; text-decoration: none; isolation: isolate; }
.feature-card picture, .feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.feature-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,29,59,.1) 0%, rgba(7,29,59,.55) 38%, rgba(7,29,59,.94) 72%, rgba(7,29,59,.97) 100%); }
.feature-card:hover img { transform: scale(1.04); }
.feature-card:hover { color: #fff; }
.feature-card .body { padding: 28px; display: grid; gap: 8px; justify-items: start; }
.feature-card .tag { background: var(--gold); color: var(--navy-deep); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.feature-card h2 { font-size: clamp(38px, 4vw, 52px); font-weight: 800; text-transform: uppercase; line-height: .95; }
.feature-card p { color: #dbe5f3; max-width: 44ch; }
.feature-card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.feature-card .more svg { width: 18px; height: 18px; transition: transform .2s ease; }
.feature-card:hover .more svg { transform: translateX(4px); }

/* ---------- highlights strip ---------- */
.highlights { background: var(--surface); position: relative; z-index: 2; }
.highlights ul { list-style: none; margin: 0; padding: 24px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
.highlights li { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.1; }
.highlights .ring { width: 52px; height: 52px; border-width: 4px; box-shadow: none; }
.highlights .ring svg { width: 24px; height: 24px; }
@media (max-width: 1100px) { .highlights ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .highlights ul { grid-template-columns: minmax(0, 1fr); } }

/* ---------- numbered items (why choose, steps) ---------- */
.num { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 24px; flex: none; box-shadow: 0 0 0 5px rgba(22,103,199,.15); }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.why-item { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.why-item h3 { font-size: 25px; font-weight: 700; line-height: 1.1; margin-bottom: 6px; }
.why-item p { color: var(--ink-soft); font-size: 17px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: minmax(0, 1fr); } }

.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.process::before { content: ""; position: absolute; left: 10%; right: 10%; top: 23px; height: 3px; background: linear-gradient(90deg, var(--sky), var(--gold)); border-radius: 3px; z-index: 0; }
.process li { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: center; text-align: center; }
.process .card-like { background: var(--surface); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); display: grid; gap: 8px; height: 100%; }
.section--white .process .card-like { background: var(--bg); box-shadow: none; }
.process h3 { font-size: 22px; font-weight: 700; line-height: 1.1; }
.process p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 1100px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .process::before { left: 22px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; background: linear-gradient(180deg, var(--sky), var(--gold)); }
  .process li { grid-template-columns: 46px minmax(0, 1fr); justify-items: start; text-align: left; gap: 18px; padding-bottom: 18px; }
  .process .card-like { width: 100%; }
}

/* ---------- chips & lists ---------- */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 18px; font-weight: 600; font-size: 16px; }
.section--white .chips li { background: var(--bg); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 17.5px; }
.checklist svg { width: 24px; height: 24px; flex: none; color: var(--blue); margin-top: 1px; }
.on-dark .checklist svg, .section--navy .checklist svg { color: var(--gold); }

/* ---------- media ---------- */
.media { border-radius: var(--radius); overflow: hidden; position: relative; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--43 img { aspect-ratio: 4 / 3; }
.media--wide img { aspect-ratio: 16 / 10; }
.media--accent::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40%; height: 6px; background: var(--gold); }

.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ba figure { margin: 0; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 10px; }
.ba img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; }
.ba figcaption { font-family: var(--font-display); font-weight: 700; font-size: 21px; text-transform: uppercase; letter-spacing: .04em; padding: 10px 6px 4px; display: flex; align-items: center; gap: 8px; }
.ba .dot { width: 11px; height: 11px; border-radius: 50%; background: #9a7b3c; }
.ba .dot--clean { background: var(--blue); }

/* ---------- price tables ---------- */
.price-wrap { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.price-table caption { text-align: left; padding: 18px 20px; font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: .03em; color: #fff; background: var(--navy); caption-side: top; }
.price-table caption small { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 15px; color: var(--on-dark-soft); margin-left: 8px; }
.price-table th, .price-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table thead th { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); background: var(--tint); border-bottom: 0; }
.price-table tbody th { font-weight: 600; }
.price-table td { font-variant-numeric: tabular-nums; }
.price-table .num-col { text-align: right; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody tr:nth-child(even) { background: #f8fafd; }
.price-table .na { color: #5f6c84; }
.price-table strong { font-family: var(--font-display); font-weight: 700; font-size: 21px; white-space: nowrap; }
.price-table .free { color: #157a3c; font-family: var(--font-display); font-weight: 700; font-size: 21px; }
@media (max-width: 680px) {
  .price-table caption { padding: 16px 18px; }
  .price-table caption small { display: block; margin: 4px 0 0; }
  .price-table--stack caption { display: block; width: 100%; }
  .extra-rate { flex-wrap: wrap; gap: 6px 16px; }
  .extra-rate .val { font-size: 19px; margin-left: 58px; }
  .price-table th, .price-table td { padding: 13px 16px; }
  .price-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table--stack, .price-table--stack tbody, .price-table--stack tr, .price-table--stack th, .price-table--stack td { display: block; width: 100%; }
  .price-table--stack tbody tr { padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .price-table--stack tbody tr:last-child { border-bottom: 0; }
  .price-table--stack tbody th { padding: 0 8px 6px; border: 0; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
  .price-table--stack td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 5px 8px; border: 0; text-align: right; }
  .price-table--stack td::before { content: attr(data-label); text-align: left; color: var(--ink-soft); font-size: 15px; }
}
.note { font-size: 16.5px; color: var(--ink-soft); max-width: 72ch; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 18px; border: 1.5px solid var(--line); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--sky); }
.section--white .faq details { background: var(--bg); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 38px minmax(0, 1fr) 32px; align-items: center; gap: 14px; padding: 18px 20px; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 19px; }
.faq summary .plus { width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--blue); display: grid; place-items: center; transition: transform .2s ease; }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .answer { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding: 0 20px 20px; color: var(--ink-soft); font-size: 17.5px; }
.faq .answer .a { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.faq .answer p { max-width: 75ch; align-self: center; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { margin-bottom: 22px; }
@media (max-width: 560px) { .faq summary { grid-template-columns: 32px minmax(0, 1fr) 28px; gap: 12px; padding: 16px; font-size: 20px; } .faq summary .q, .faq .answer .a { width: 32px; height: 32px; font-size: 17px; } .faq .answer { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 0 16px 18px; } }

/* ---------- navy panel with photo ---------- */
.dark-panel { background: var(--navy); color: #fff; border-radius: calc(var(--radius) + 6px); overflow: hidden; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dark-panel .panel-media, .dark-panel .panel-media picture { height: 100%; }
.dark-panel .panel-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.dark-panel .panel-body { padding: clamp(28px, 5vw, 64px); display: grid; align-content: center; gap: 18px; }
.dark-panel .panel-body p { color: var(--on-dark-soft); font-size: 18px; }
@media (max-width: 900px) { .dark-panel { grid-template-columns: minmax(0, 1fr); } .dark-panel .panel-media img { min-height: 0; aspect-ratio: 16 / 10; } }

/* ---------- CTA band (brochure gold ribbon) ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 5vw, 60px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; border: 40px solid rgba(61,143,219,.18); z-index: -1; }
.cta-band::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--gold); }
.cta-band .h2 { max-width: 20ch; }
.cta-band p { color: var(--on-dark-soft); margin-top: 12px; max-width: 54ch; font-size: 18px; }
.cta-band > div:first-child { min-width: 0; flex: 1 1 380px; }
.cta-phones { display: grid; gap: 4px; margin-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.cta-phones a { color: #fff; text-decoration: none; }
.cta-phones a:hover { color: var(--gold); }

.ribbon { background: var(--gold); color: var(--navy-deep); }
.ribbon .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 22px; }
.ribbon p { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; display: flex; align-items: center; gap: 14px; }
.ribbon p svg { width: 34px; height: 34px; flex: none; }
.ribbon .btn { background: var(--navy); color: #fff; }
.ribbon .btn:hover { background: var(--navy-deep); color: #fff; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); display: grid; gap: 22px; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--gold); }
.contact-card h2 { font-size: 32px; font-weight: 800; text-transform: uppercase; }
.contact-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; }
.contact-item .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item .label { font-size: 14px; color: var(--on-dark-soft); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact-item .value { font-size: 18px; font-weight: 600; overflow-wrap: anywhere; display: grid; gap: 2px; }
.contact-item a { color: #fff; text-decoration: none; display: inline-block; padding-block: 6px; margin-block: -6px; }
.contact-item a:hover { text-decoration: underline; color: #fff; }
.hours div { display: grid; }
.hours div + div { margin-top: 8px; }
.hours div span:last-child { font-weight: 400; color: var(--on-dark-soft); }

.form-card { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border-top: 6px solid var(--blue); }
.form-card h2 { font-size: 32px; font-weight: 800; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 15.5px; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #c8d4e3; border-radius: 12px; background: #fff; font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22,103,199,.16); }
.field [aria-invalid="true"] { border-color: #c42b2b; }
.field .error { color: #b42020; font-size: 14px; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border: 1.5px solid #c8d4e3; border-radius: 12px; font-weight: 500; cursor: pointer; }
.radio-row input { width: 18px; height: 18px; min-height: 0; accent-color: var(--blue); margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--blue); background: var(--tint); }
.form-note { font-size: 14.5px; color: var(--ink-soft); }
.form-status { border-radius: 12px; padding: 14px 16px; font-size: 16px; }
.form-status--ok { background: #e7f6ec; color: #135a2b; }
.form-status--warn { background: #fff4e0; color: #6b4300; }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-soft); font-size: 16px; position: relative; }
.site-footer .wave-top { display: block; width: 100%; height: clamp(30px, 5vw, 64px); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.footer-brand img { height: 74px; width: auto; background: #fff; border-radius: 14px; padding: 8px 12px; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.footer-brand .tagline { color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 21px; margin-top: 12px; }
.site-footer h2 { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 16px; font-weight: 700; }
.site-footer h2::after { content: ""; display: block; width: 36px; height: 3px; background: var(--gold); border-radius: 3px; margin-top: 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #e6ebf5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 14.5px; }

/* ---------- mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .topbar { display: none; }
  body { font-size: 17px; }
  .mobile-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.98); border-top: 3px solid var(--gold); padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter); box-shadow: 0 -8px 24px -16px rgba(11,35,71,.45); }
  .mobile-bar .btn { min-height: 50px; padding: 10px 12px; font-size: 16px; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .menu-open .mobile-bar, .page-contact .mobile-bar { display: none; }
  .page-contact { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .btn-row .btn { flex: 1 1 100%; }
  .form-card button[type="submit"] { width: 100%; justify-self: stretch !important; }
  .service-card, .why-item { padding-inline: 0; }
  .service-card { padding: 26px 20px; }
  .feature-card { min-height: 380px; }
  .hero-card { padding: 22px; }
}

/* ---------- misc ---------- */
.stack { display: grid; gap: 18px; justify-items: start; }
.mt-l { margin-top: clamp(32px, 4vw, 48px); }
.center { text-align: center; }
.inline-link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.inline-link svg { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.inline-link:hover svg { transform: translateX(3px); }
.notice { background: var(--tint); border-left: 5px solid var(--gold); border-radius: 12px; padding: 16px 20px; font-size: 16.5px; }
.legal { max-width: 72ch; display: grid; gap: 16px; }
.legal h2 { font-size: 28px; margin-top: 18px; }
.legal ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.extra-rates { display: grid; gap: 10px; margin-top: 18px; }
.extra-rate { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); border-radius: 14px; padding: 14px 18px; border: 1.5px solid var(--line); }
.extra-rate .label { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17.5px; }
.extra-rate .label .ring { width: 44px; height: 44px; border-width: 3px; box-shadow: none; }
.extra-rate .label .ring svg { width: 20px; height: 20px; }
.extra-rate .val { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--blue); white-space: nowrap; }
.extra-rate .val.free { color: #157a3c; }
.extra-rate .val a, .price-table td a { display: inline-block; padding-block: 10px; margin-block: -10px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   POLISH LAYER — smoothness, motion, mobile refinements
   ===================================================================== */

:root { interpolate-size: allow-keywords; --ease: cubic-bezier(.2,.7,.2,1); --ease-out: cubic-bezier(.16,1,.3,1); }
a, button, summary, label, input, select, textarea { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
img { background-color: #dfe6ef; }
.brand img, .footer-brand img, .ring img { background: none; }
::selection { background: #cfe2f8; color: var(--navy-deep); }

/* ---------- page-to-page transitions (Chrome, Edge, Safari 18.2+) ---------- */
@view-transition { navigation: auto; }
.topbar { view-transition-name: topbar; }
.site-header { view-transition-name: site-header; }
.mobile-bar { view-transition-name: mobile-bar; }
::view-transition-group(*) { animation-duration: 180ms; animation-timing-function: var(--ease); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }

/* ---------- header: solid, shrinks on desktop, hides on scroll down on mobile ---------- */
.site-header { background: #fff; transition: transform .32s var(--ease-out), box-shadow .25s ease; }
@media (max-width: 1100px) {
  .site-header.is-hidden { transform: translateY(calc(-100% - 4px)); box-shadow: none; }
}

/* ---------- buttons, cards: tactile feedback ---------- */
.btn { transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s var(--ease), box-shadow .18s ease; }
@media (hover: hover) {
  .btn-primary:hover, .btn-gold:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(11,35,71,.55); }
}
.btn:active, .service-card:active, .feature-card:active { transform: scale(.98); }
.service-card, .feature-card { transition: transform .28s var(--ease-out), box-shadow .28s ease, border-color .28s ease; }
.nav-link { transition: background-color .15s ease, color .15s ease; }

/* ---------- desktop dropdown: animated ---------- */
@media (min-width: 1101px) {
  .submenu { display: block; visibility: hidden; opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top left;
             transition: opacity .18s ease, transform .22s var(--ease-out), visibility 0s linear .22s; }
  .has-sub.is-open .submenu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-group-label { display: none; }
}

/* ---------- mobile menu: slides/fades in, services listed directly ---------- */
.nav-group-label { display: none; }
@media (max-width: 1100px) {
  .site-nav { display: block; visibility: hidden; opacity: 0; transform: translateY(-10px);
              transition: opacity .2s ease, transform .28s var(--ease-out), visibility 0s linear .28s; }
  .menu-open .site-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  html.menu-open, html.menu-open body { overflow: hidden; }
  .nav-list > li { opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .3s var(--ease-out); }
  .menu-open .nav-list > li { opacity: 1; transform: none; }
  .menu-open .nav-list > li:nth-child(2) { transition-delay: .03s; } .menu-open .nav-list > li:nth-child(3) { transition-delay: .06s; }
  .menu-open .nav-list > li:nth-child(4) { transition-delay: .09s; } .menu-open .nav-list > li:nth-child(5) { transition-delay: .12s; }
  .menu-open .nav-list > li:nth-child(6) { transition-delay: .15s; } .menu-open .nav-list > li:nth-child(7) { transition-delay: .18s; }
  .sub-toggle { display: none; }
  .nav-group-label { display: block; padding: 18px 12px 6px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
  .has-sub .submenu, .has-sub.is-open .submenu { display: grid; gap: 2px; visibility: visible; opacity: 1; transform: none; padding: 0 0 6px; border: 0; box-shadow: none; }
  .submenu a { padding: 10px 8px; font-size: 17px; }
  .nav-list > li:first-child .nav-link { border-top: 0; }
  .nav-list > li.has-sub { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
  .nav-list > li > .nav-link { border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu-toggle svg { transition: transform .25s var(--ease-out), opacity .2s ease; }
  .menu-toggle { position: relative; }
  .menu-toggle .icon-open, .menu-toggle .icon-close { display: block; position: absolute; }
  .menu-toggle .icon-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
  .menu-open .menu-toggle .icon-open { display: block; opacity: 0; transform: rotate(90deg) scale(.6); }
  .menu-open .menu-toggle .icon-close { opacity: 1; transform: none; }
}

/* ---------- FAQ: smooth open/close where supported ---------- */
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .32s var(--ease-out), content-visibility .32s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq .answer { transition: opacity .3s ease .05s, transform .3s var(--ease-out) .05s; }
.faq details:not([open]) .answer { opacity: 0; transform: translateY(-4px); }
.faq summary { transition: background-color .15s ease; }
@media (hover: hover) { .faq summary:hover { background: rgba(22,103,199,.04); } }
.faq summary .plus { transition: transform .3s var(--ease-out), background-color .2s ease; }

/* ---------- scroll reveal (only when JS is running; see failsafe in <head>) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
img.fade { opacity: 0; transition: opacity .45s ease; }
img.fade.is-loaded { opacity: 1; }
[data-count] { font-variant-numeric: tabular-nums; }

/* ---------- headings & spacing fixes ---------- */
.hero-card h2 { line-height: 1.05; }
.feature-card h2, .display, .h1, .h2 { text-wrap: balance; }
.lead, .muted, p { text-wrap: pretty; }

/* ---------- mobile refinements ---------- */
@media (max-width: 720px) {
  .kicker { font-size: 14.5px; letter-spacing: .11em; gap: 10px; }
  .kicker::before { width: 22px; }
  .section { padding-block: 56px; }
  .section-head { margin-bottom: 28px; }
  .hero-inner { padding-block: 44px 96px; gap: 28px; }
  .hero-card { padding: 20px; gap: 14px; }
  .hero-card h2 { font-size: 21px; }
  .hero-card .contact-line { grid-template-columns: 38px minmax(0, 1fr); }
  .hero-card .contact-line .dot { width: 38px; height: 38px; }
  .hero-card .contact-line.is-extra, .hero-card .small { display: none; }

  .highlights ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding: 18px 0 20px; }
  .highlights li { font-size: 16px; gap: 10px; }
  .highlights .ring { width: 40px; height: 40px; border-width: 3px; }
  .highlights .ring svg { width: 19px; height: 19px; }

  .services-panel { padding: 26px 14px 14px; border-radius: 22px; }
  .services-panel .grid { gap: 10px; }
  .service-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; text-align: left; align-items: start; padding: 18px 16px; }
  .service-card > .ring { grid-row: 1 / span 3; width: 56px; height: 56px; border-width: 4px; box-shadow: none; }
  .service-card > .ring svg { width: 26px; height: 26px; }
  .service-card h3 { font-size: 22px; margin-top: 2px; }
  .service-card p { font-size: 15.5px; }
  .service-card .price { padding-top: 4px; font-size: 18px; }
  .grid.grid-2 .service-card[style] { display: flex; }

  .why-item { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .why-item .num { width: 40px; height: 40px; font-size: 21px; }
  .why-item h3 { font-size: 22px; }

  .feature-card { min-height: 340px; }
  .feature-card .body { padding: 22px; }
  .cta-band { padding: 28px 22px; }
  .cta-phones { font-size: 24px; }
  .ribbon p { font-size: 22px; }
  .ribbon .btn-row, .ribbon .btn { width: 100%; }
  .page-hero-inner { padding-block: 40px 88px; }
  .mobile-bar { transition: transform .3s var(--ease-out); }
  .form-card, .contact-card { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .reveal, img.fade { opacity: 1 !important; transform: none !important; transition: none !important; }
  .faq details::details-content { transition: none; }
}
@media (min-width: 1101px) { .submenu { min-width: 360px; } .submenu a small { white-space: nowrap; } }
.service-card p, .why-item p, .process p, .card-like p { line-height: 1.5; }
.cta-phones a { display: inline-block; padding-block: 6px; }

/* =====================================================================
   PREMIUM MOTION LAYER
   ===================================================================== */

/* ---------- hero entrance ---------- */
.display .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.display .line > span { display: inline-block; }
.hero-media { will-change: transform; }

@media (prefers-reduced-motion: no-preference) {
  html.intro:not(.wf) .hero .hero-media img, html.intro:not(.wf) .page-hero .hero-media img { animation: kb-in 2.2s var(--ease-out) both; }
  html.intro:not(.wf) .display .line > span { animation: line-up 1s var(--ease-out) both; }
  html.intro:not(.wf) .display .line:nth-child(2) > span { animation-delay: .12s; }
  html.intro:not(.wf) .hero .kicker { animation: rise .8s var(--ease-out) both; }
  html.intro:not(.wf) .hero-sub { animation: rise .8s var(--ease-out) .32s both; }
  html.intro:not(.wf) .hero-text { animation: rise .8s var(--ease-out) .42s both; }
  html.intro:not(.wf) .hero .btn-row { animation: rise .8s var(--ease-out) .52s both; }
  html.intro:not(.wf) .hero-card { animation: rise-side .9s var(--ease-out) .45s both; }
  html.intro:not(.wf) .page-hero-inner > * { animation: rise .75s var(--ease-out) both; }
  html.intro:not(.wf) .page-hero-inner > :nth-child(2) { animation-delay: .06s; }
  html.intro:not(.wf) .page-hero-inner > :nth-child(3) { animation-delay: .12s; }
  html.intro:not(.wf) .page-hero-inner > :nth-child(4) { animation-delay: .2s; }
  html.intro:not(.wf) .page-hero-inner > :nth-child(5) { animation-delay: .28s; }
  html.intro:not(.wf) .page-hero-inner > :nth-child(6) { animation-delay: .36s; }
}
@keyframes kb-in { from { transform: scale(1.09); } }
@keyframes line-up { from { transform: translateY(108%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise-side { from { opacity: 0; transform: translateX(28px); } }

/* ---------- headings: gold rule draws in ---------- */
.reveal .h2.rule::after, .reveal.h2.rule::after {
  transform: scaleX(0); transform-origin: left center; transition: transform .9s var(--ease-out) calc(var(--d, 0s) + .25s);
}
.section-head.center.reveal .h2.rule::after { transform-origin: center; }
.reveal.in .h2.rule::after { transform: none; }

/* ---------- 5-step process: line draws, numbers pop ---------- */
.process.pending::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.4s var(--ease-out) .15s; }
.process.pending.drawn::before { transform: none; }
@media (max-width: 1100px) { .process.pending::before { transform: scaleY(0); transform-origin: top center; } .process.pending.drawn::before { transform: none; } }
.process > li.reveal .num { opacity: 0; transform: scale(.4); transition: opacity .4s ease calc(var(--d, 0s) + .2s), transform .6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + .2s); }
.process > li.reveal.in .num { opacity: 1; transform: none; }
.why-item.reveal .num { transform: scale(.5); transition: transform .6s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + .15s); }
.why-item.reveal.in .num { transform: none; }

/* ---------- richer hovers (pointer devices only) ---------- */
.service-card .ring, .why-item .num { transition: background-color .35s ease, color .35s ease, border-color .35s ease, transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease; }
@media (hover: hover) {
  .service-card:hover .ring { background: var(--blue); color: #fff; border-color: var(--sky); transform: rotate(-8deg) scale(1.06); box-shadow: 0 0 0 7px rgba(61,143,219,.18); }
  .why-item:hover .num { transform: scale(1.12); background: var(--navy); }
  .why-item h3 { transition: color .25s ease; }
  .why-item:hover h3 { color: var(--blue); }
  .btn-primary, .btn-gold { position: relative; overflow: hidden; isolation: isolate; }
  .btn-primary::after, .btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease-out); }
  .btn-primary:hover::after, .btn-gold:hover::after { transform: translateX(120%); }
  .media img { transition: transform .8s var(--ease-out); }
  .media:hover img { transform: scale(1.03); }
  .footer-links a { transition: color .2s ease, padding-left .25s var(--ease-out); }
  .footer-links a:hover { padding-left: 4px; }
}

/* ---------- before / after slider ---------- */
.compare { position: relative; margin: 0; width: 100%; max-width: 580px; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: #1a2230; box-shadow: var(--shadow); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; justify-self: center; }
.compare-img, .compare-img picture, .compare-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare-img { pointer-events: none; }
.compare img { -webkit-user-drag: none; user-drag: none; }
.compare-img img { object-fit: cover; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; }
.compare-knob { position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(7,29,59,.35); transition: transform .25s var(--ease-out); }
.compare-knob svg { width: 26px; height: 26px; }
.compare.is-dragging .compare-knob { transform: scale(1.1); }
.compare-tag { position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; transition: opacity .3s ease; }
.compare-tag--before { left: 16px; background: rgba(7,29,59,.78); color: #fff; }
.compare-tag--after { right: 16px; background: var(--gold); color: var(--navy-deep); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; pointer-events: none; }
.compare-range:focus-visible ~ .compare-handle .compare-knob, .compare:has(.compare-range:focus-visible) .compare-knob { outline: 3px solid var(--gold); outline-offset: 3px; }
.section--white .compare, .split .compare { box-shadow: 0 20px 50px -24px rgba(11,35,71,.55); }

@media (prefers-reduced-motion: reduce) {
  .reveal .h2.rule::after, .process.pending::before, .process > li.reveal .num, .why-item.reveal .num { transform: none !important; opacity: 1 !important; }
  .hero-media { transform: none !important; }
}
.process li { grid-template-rows: auto 1fr; align-content: start; }
@media (max-width: 1100px) { .process li { grid-template-rows: none; } }

/* ---------- first visit: hold the page for the fonts (max 1.2s), then show it fully styled.
   (visibility, not opacity, so browsers still record first paint / LCP correctly) ---------- */
html.wf body { visibility: hidden; }

/* Home: numbered "why" list with titles only (full text on About) */
.why-grid--titles .why-item { align-items: center; padding: 20px 0; }
.why-grid--titles .why-item h3 { margin-bottom: 0; }
.section-more { margin-top: clamp(22px, 3vw, 34px); }
/* Feature cards without body copy: a touch shorter */
.feature-card .body .more { margin-top: 4px; }
/* Phones: the sticky Call / Book bar covers contact, so the hero stays one clear message */
@media (max-width: 600px) { .hero .hero-card { display: none; } }
