/* =========================================================
   Artisan Window Cleaning: site styles
   Palette and type taken from artisangenius.com (styles.css :root)
   ========================================================= */
:root {
  --blue: #4954e6;          /* AG --blue */
  --blue-light: #edeefd;    /* AG --blue-light */
  --dark-blue: #1f2361;     /* AG --dark-blue */
  --grey-01: #989ca3;       /* AG --grey-01 */
  --grey-02: #282246;       /* AG --grey-02 */
  --grey-03: #75708c;       /* AG --grey-03 */
  --black: #000; --white: #fff;
  --blue-hover: #3a44cf;
  --blue-mist: rgba(73, 84, 230, .1);
  --line: rgba(73, 84, 230, .35);
  --line-soft: rgba(0, 0, 0, .08);
  --ink: var(--black); --ink-soft: var(--grey-02); --muted: var(--grey-03);
  --danger: #c62828; --ok: #1b7a43;
  --shadow: 0 18px 50px rgba(0, 0, 0, .12);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, .06);
  --radius: 14px; --radius-btn: 9px;
  --header-h: 72px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1120px;
  /* map component theme */
  --okcm-font: var(--font); --okcm-accent: var(--blue); --okcm-accent-wash: var(--blue-light); --okcm-ink: var(--ink-soft); --okcm-radius: 14px; --okcm-line: var(--line-soft);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font); line-height: 1.1; letter-spacing: .01em; color: var(--ink); }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 9999; }
.skip:focus { left: 8px; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section.wash { background: var(--blue-light); }
.section.dark { background: var(--dark-blue); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.section.dark .eyebrow { color: #aeb4ff; }
.h1 { font-size: clamp(2.6rem, 8.4vw, 6.5rem); font-weight: 700; letter-spacing: .01em; line-height: 1.02; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 700; }
.h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); line-height: 1.6; }
.muted { color: var(--muted); }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }
/* underline swoosh like artisangenius.com's hero */
.swoosh { position: relative; white-space: nowrap; display: inline-block; }
.swoosh::after { content: ""; position: absolute; left: 2%; right: 0; bottom: -.08em; height: .2em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 80 4, 200 2, 297 9' fill='none' stroke='%234954e6' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.placeholder-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #fff4d6; color: #7a5600; border-radius: 999px; padding: 3px 10px; vertical-align: middle; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: var(--radius-btn); border: 1px solid transparent; font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .2s var(--ease), border-color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); box-shadow: 0 8px 22px rgba(73, 84, 230, .3); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); background: var(--blue-light); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.02rem; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }
.link-arrow { color: var(--blue); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; height: var(--header-h); background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-soft); }
#site-header { min-height: var(--header-h); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand svg { height: 42px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a.nav-link, .nav button.nav-link { font: 600 .95rem var(--font); color: var(--ink-soft); text-decoration: none; padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.nav a.nav-link:hover, .nav button.nav-link:hover, .nav .nav-link[aria-current="page"] { color: var(--blue); }
.nav .nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav-cta { display: flex; gap: 10px; margin-left: 10px; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.dropdown-menu a small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.dropdown-menu a:hover { background: var(--blue-light); color: var(--blue); }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-soft); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s var(--ease); }
.menu-toggle span::before { position: absolute; top: -6px; } .menu-toggle span::after { position: absolute; top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); } .nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; clip-path: inset(0 0 0 100%); transition: clip-path .3s var(--ease), visibility 0s .3s; margin: 0; visibility: hidden; }
  .nav-open .nav { clip-path: inset(0); visibility: visible; transition: clip-path .3s var(--ease); }
  .nav a.nav-link, .nav button.nav-link { font-size: 1.15rem; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; justify-content: space-between; }
  .nav .nav-link[aria-current="page"] { box-shadow: none; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .nav-cta { flex-direction: column; margin: 18px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 52px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand svg { height: 36px; } }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 0; text-align: center; overflow: hidden; }
.hero .lead { max-width: 640px; margin: 22px auto 30px; }
.hero-note { font-size: .88rem; color: var(--muted); margin-top: 16px; }
.hero-collage { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: 1.1fr 1fr 1.25fr 1fr; grid-template-rows: 220px 220px; gap: 14px; width: min(1320px, 100% - 28px); margin-inline: auto; }
.hero-collage figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--blue-light); }
.hero-collage figure:nth-child(1) { grid-row: span 2; }
.hero-collage figure:nth-child(3) { grid-row: span 2; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: kb 18s var(--ease) infinite alternate; }
.hero-collage figure:nth-child(2n) img { animation-delay: -6s; }
.hero-collage figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); color: var(--ink-soft); font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
@keyframes kb { to { transform: scale(1.12) translate(-1%, -1%); } }
@media (max-width: 760px) {
  .hero-collage { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 140px 140px; gap: 10px; }
  .hero-collage figure:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .hero-collage figure:nth-child(3) { grid-row: auto; }
  .hero-collage figure:nth-child(n+6) { display: none; }
}

/* ---------- trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
.trust div { background: #fff; padding: 26px 20px; text-align: center; }
.trust strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--blue); line-height: 1.1; }
.trust span { font-size: .9rem; color: var(--muted); }
@media (max-width: 700px) { .trust { grid-template-columns: 1fr 1fr; } }

/* ---------- section heads / grids ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.section-head .h2 { max-width: 720px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.card-body { padding: 22px; }

/* service feature blocks */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature.reverse .feature-media { order: 2; }
.feature-media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .badge { position: absolute; left: 16px; bottom: 16px; background: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-sm); }
.feature-media .badge b { color: var(--blue); }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; color: var(--ink-soft); }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%234954e6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.reverse .feature-media { order: 0; } }

/* ---------- review marquee (inspired by Framer "Review Motion Pro") ---------- */
.reviews { position: relative; overflow: hidden; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding: 10px 0; }
.marquee + .marquee { margin-top: 18px; }
.marquee-track { display: flex; gap: 18px; padding-right: 18px; flex: none; animation: marquee var(--dur, 60s) linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.review { flex: none; width: 340px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; transition: transform .3s var(--ease), box-shadow .3s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1rem; }
.review p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.review .who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: .9rem; flex: none; }
.who b { display: block; font-size: .95rem; } .who small { color: var(--muted); font-size: .82rem; }
.marquee-controls { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
@media (max-width: 600px) { .review { width: 82vw; } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; } .marquee { overflow-x: auto; scroll-snap-type: x mandatory; } .review { scroll-snap-align: start; }
  .hero-collage img { animation: none; } html { scroll-behavior: auto; }
}

/* ---------- gallery ---------- */
.photo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.photo-strip a { scroll-snap-align: start; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gallery a, .photo-strip a { display: block; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--blue-light); }
.gallery img, .photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img, .photo-strip a:hover img { transform: scale(1.06); }
.gallery a span { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 4px 10px; color: var(--ink-soft); }
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(10, 12, 30, .92); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 16px; }
.lightbox img { max-width: min(1200px, 100%); max-height: 80vh; border-radius: 10px; object-fit: contain; }
.lightbox p { color: #dfe1ff; font-size: .9rem; margin: 10px 0 0; text-align: center; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .26); }
.lb-close { top: 14px; right: 14px; } .lb-prev { left: 14px; top: 50%; } .lb-next { right: 14px; top: 50%; }

/* ---------- map section ---------- */
.map-frame { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.map-frame .okcm { border: 0; border-radius: 0; }
.tabs { display: inline-flex; gap: 4px; background: var(--blue-light); padding: 4px; border-radius: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; font: 600 .95rem var(--font); color: var(--ink-soft); padding: 10px 16px; border-radius: 9px; cursor: pointer; min-height: 44px; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.legend { display: flex; gap: 18px; font-size: .9rem; color: var(--muted); margin-top: 12px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); margin-right: 6px; vertical-align: -1px; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.member { text-align: left; }
.member .portrait { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-light), #fff); display: grid; place-items: center; font-size: 3rem; font-weight: 700; color: var(--blue); margin-bottom: 14px; border: 1px solid var(--line-soft); }
.member h3 { font-size: 1.2rem; } .member .role { color: var(--blue); font-weight: 600; font-size: .92rem; margin: 2px 0 8px; }
.member p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- blog ---------- */
.featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-light); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card.big .thumb { aspect-ratio: 16 / 10; }
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.post-card h3 { font-size: 1.25rem; } .post-card.big h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.post-meta { font-size: .85rem; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.post-list { display: grid; gap: 14px; }
.post-row { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: center; text-decoration: none; color: inherit; padding: 12px; border-radius: 12px; border: 1px solid var(--line-soft); background: #fff; }
.post-row:hover { border-color: var(--line); background: var(--blue-light); }
.post-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.post-row h3 { font-size: 1.1rem; margin-bottom: 4px; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .post-row { grid-template-columns: 96px 1fr; gap: 12px; } .post-row p { display: none; } }
.article { max-width: 740px; margin-inline: auto; }
.article h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 10px 0 14px; }
.article .hero-img { border-radius: 18px; overflow: hidden; margin: 26px 0; aspect-ratio: 16 / 9; } .article .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font-size: 1.6rem; margin: 34px 0 10px; } .article p, .article li { color: var(--ink-soft); font-size: 1.08rem; }
.draft-banner { background: #fff4d6; color: #6b4b00; border: 1px solid #f0dfaf; border-radius: 12px; padding: 12px 16px; font-size: .95rem; margin-bottom: 18px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px 16px; }
.form-grid > * { grid-column: span 6; }
.form-grid .s3 { grid-column: span 3; } .form-grid .s2 { grid-column: span 2; } .form-grid .s4 { grid-column: span 4; }
@media (max-width: 640px) { .form-grid .s3, .form-grid .s2, .form-grid .s4 { grid-column: span 6; } .form-grid .s2.keep { grid-column: span 3; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > .label, fieldset > legend { font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.req::after { content: " *"; color: var(--blue); }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=date], .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: #fff; border: 1px solid #d6d8e4; border-radius: 10px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-mist); }
.field.invalid input, .field.invalid select, .field.invalid textarea, fieldset.invalid { border-color: var(--danger); }
.field .err, fieldset .err, .block .err { color: var(--danger); font-size: .85rem; min-height: 0; }
fieldset { border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px 16px; margin: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px; border-radius: 10px; border: 1px solid #d6d8e4; background: #fff; font-size: .95rem; color: var(--ink-soft); transition: .15s; }
.choice input:checked + span { background: var(--blue-light); border-color: var(--blue); color: var(--blue); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.yn { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.yn:last-child { border-bottom: 0; }
.yn .choices { margin: 0; flex-wrap: nowrap; }
@media (max-width: 520px) { .yn { grid-template-columns: 1fr; } }
.check-line { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; cursor: pointer; }
.check-line input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.block { border: 1px solid var(--line-soft); border-radius: 12px; padding: 16px; background: #fbfbff; position: relative; }
.block + .block { margin-top: 12px; }
.block-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.block-head h4 { font-size: 1rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.form-status.err { background: #fdecec; color: var(--danger); } .form-status.ok { background: #e8f6ee; color: var(--ok); }

/* calendar */
.cal { border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px; background: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { font-size: 1.02rem; }
.cal-head button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-soft); background: #fff; cursor: pointer; font-size: 18px; }
.cal-head button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: .75rem; font-weight: 700; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.cal-grid button { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 10px; background: var(--blue-light); color: var(--ink); font: 600 .95rem var(--font); cursor: pointer; }
.cal-grid button:hover:not(:disabled) { background: #dfe1fb; }
.cal-grid button:disabled { background: transparent; color: #c3c5d0; cursor: default; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.15); }
.cal-grid button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.slots button { min-height: 46px; border-radius: 10px; border: 1px solid #d6d8e4; background: #fff; font: 600 .95rem var(--font); cursor: pointer; color: var(--ink-soft); }
.slots button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.slots button:disabled { background: #f4f4f7; color: #b5b7c2; text-decoration: line-through; cursor: default; }
.slot-note { font-size: .88rem; color: var(--muted); margin-top: 8px; }

/* modal (quote) */
.modal { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 20px; background: rgba(15, 18, 50, .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s; }
.modal.show { opacity: 1; }
.modal-card { width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); position: relative; transform: translateY(12px); transition: transform .3s var(--ease); overscroll-behavior: contain; }
.modal.show .modal-card { transform: none; }
.modal-close { position: sticky; float: right; top: 12px; margin: 12px 12px 0 0; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-soft); background: #fff; font-size: 24px; cursor: pointer; z-index: 2; }
.quote-wrap { padding: clamp(20px, 4vw, 40px); }
.quote-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
@media (max-width: 860px) { .quote-cols { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .modal { padding: 0; place-items: stretch; }
  .modal-card { max-height: none; height: 100%; border-radius: 0; }
}
.quote-done { text-align: center; padding: 40px 10px; }
.quote-done .big-check { width: 72px; height: 72px; border-radius: 50%; background: var(--blue-light); display: grid; place-items: center; margin: 0 auto 16px; color: var(--blue); font-size: 36px; }
body.modal-open { overflow: hidden; }

/* ---------- CTA band / footer ---------- */
.cta-band { background: var(--dark-blue); color: #fff; border-radius: 22px; padding: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background-image: radial-gradient(circle at 85% 20%, rgba(73, 84, 230, .55), transparent 55%); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 620px; }
.cta-band p { color: #c9ccf5; margin: 10px 0 0; }
.site-footer { background: var(--dark-blue); color: #c9ccf5; padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); margin-top: clamp(64px, 9vw, 112px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #e4e6ff; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .brand svg { height: 46px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* page hero (inner pages) */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); background: linear-gradient(180deg, var(--blue-light), #fff); }
.page-hero .lead { max-width: 720px; margin-top: 16px; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--blue); text-decoration: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- chat widget ---------- */
.chat-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 2000; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; box-shadow: 0 12px 30px rgba(73, 84, 230, .45); cursor: pointer; display: grid; place-items: center; transition: transform .2s var(--ease); }
.chat-fab:hover { transform: scale(1.06); }
.chat-fab svg { width: 28px; height: 28px; }
.chat-panel { position: fixed; right: 18px; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 2001; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 120px)); background: #fff; border-radius: 18px; box-shadow: 0 24px 70px rgba(0, 0, 0, .25); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-soft); }
.chat-head { background: var(--dark-blue); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.chat-head b { display: block; font-size: 1rem; } .chat-head small { color: #c9ccf5; font-size: .78rem; }
.chat-head button { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fafaff; }
.msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: .95rem; line-height: 1.45; }
.msg.bot { background: #fff; border: 1px solid var(--line-soft); border-bottom-left-radius: 4px; color: var(--ink-soft); }
.msg.me { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg a { color: var(--blue); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; background: #fafaff; }
.chips button { border: 1px solid var(--line); background: #fff; color: var(--blue); border-radius: 999px; padding: 7px 12px; font: 600 .85rem var(--font); cursor: pointer; min-height: 36px; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line-soft); }
.chat-form input { flex: 1; font: 16px var(--font); border: 1px solid #d6d8e4; border-radius: 10px; padding: 10px 12px; min-height: 46px; }
.chat-form button { min-height: 46px; }
.chat-note { font-size: .72rem; color: var(--muted); text-align: center; padding: 0 10px 8px; }
@media (max-width: 600px) { .chat-panel { right: 0; left: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; } body.chat-open .chat-fab { display: none; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 4000; background: var(--dark-blue); color: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); font-weight: 600; }

/* grid children may shrink below their content width (prevents phone overflow) */
.form > *, .quote-cols > *, .form-grid > * { min-width: 0; }
.footer-areas { margin: 22px 0 0; font-size: .9rem; opacity: .8; line-height: 1.6; }

/* service commitments (shown where reviews go until real reviews are added) */
.review.promise h3 { font-size: 1.05rem; margin: 0; color: var(--ink, #1f2361); }
.review.promise .check { width: 34px; height: 34px; border-radius: 50%; background: #edeefd; color: #4954e6; display: grid; place-items: center; font-weight: 800; }
.review.promise small { color: var(--muted, #6b6f86); margin-top: auto; font-weight: 600; letter-spacing: .02em; }
/* ---------- price calculator ---------- */
.pcalc { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
.pcalc fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.pcalc legend { font-weight: 700; color: #1f2361; margin-bottom: 10px; font-size: 1.02rem; }
.pcalc legend small, .pcalc-f small { font-weight: 400; color: #6b6f86; }
.pcalc .choices { display: flex; flex-wrap: wrap; gap: 8px; }
.pcalc .choice span small { font-weight: 400; opacity: .8; }
.pcalc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 12px; }
.pcalc-f { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: #282246; }
.pcalc-f input, .pcalc-f select { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid rgba(73,84,230,.3); border-radius: 10px; background: #fff; min-height: 46px; }
.pcalc-f input:focus-visible, .pcalc-f select:focus-visible { outline: 3px solid #4954e6; outline-offset: 1px; }
.pcalc-f[hidden] { display: none; }
.pcalc-err { color: #b00020; margin: 8px 0 0; font-weight: 600; }
.pcalc-out { position: sticky; top: 96px; background: #1f2361; color: #fff; border-radius: 20px; padding: 26px; display: grid; gap: 10px; box-shadow: 0 24px 60px rgba(31,35,97,.25); }
.pcalc-out .eyebrow { color: #c9ccff; }
.pcalc-range { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.pcalc-per { color: #c9ccff; font-size: .95rem; }
.pcalc-lines { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
.pcalc-lines li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 6px; }
.pcalc-lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pcalc-lines li.min { color: #ffe08a; }
.pcalc-disc { background: rgba(255,255,255,.08); border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin: 4px 0; }
.pcalc-small { font-size: .85rem; color: #c9ccff; margin: 0; text-align: center; }
.pcalc-out .btn { width: 100%; justify-content: center; }
.pcalc-sources { font-size: .85rem; color: #6b6f86; }
@media (max-width: 860px) { .pcalc { grid-template-columns: 1fr; } .pcalc-out { position: static; } }
