/* =========================================================
   4You Cleaning Services LLC
   ========================================================= */

:root {
  --ink: #0d0b26;
  --ink-2: #16133d;
  --ink-3: #221d57;
  --violet: #3a28e1;
  --violet-2: #5a48ff;
  --lilac: #a99cff;
  --lilac-2: #d9d3ff;
  --mist: #f4f2ff;
  --ivory: #fbfaf8;
  --white: #ffffff;
  --text: #1a1833;
  --muted: #5f5c7a;
  --line: rgba(26, 24, 51, .1);
  --line-light: rgba(255, 255, 255, .12);

  --grad: linear-gradient(135deg, #3a28e1 0%, #6a4dff 55%, #9b7bff 100%);
  --grad-soft: linear-gradient(135deg, rgba(58, 40, 225, .1), rgba(155, 123, 255, .14));

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -24px rgba(22, 19, 61, .28);
  --shadow-lg: 0 40px 90px -30px rgba(22, 19, 61, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.12; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--violet); color: #fff; }

.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
use[href="#i-star"] { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.hp { position: absolute !important; left: -9999px; opacity: 0; }

.container { width: min(1220px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 18px;
}
.eyebrow .i { width: 1.1em; height: 1.1em; }
.eyebrow--light { color: var(--lilac); }

.section-head { max-width: 760px; margin: 0 auto clamp(44px, 6vw, 70px); text-align: center; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
}
.section-title em { color: var(--violet); font-weight: 400; }
.section-title--light { color: #fff; }
.section-title--light em { color: var(--lilac); }
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 20px auto 0; max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 16px 28px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
  transform: translate(var(--bx), var(--by));
  isolation: isolate; overflow: hidden;
}
.btn .i { transition: transform .4s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--sm { padding: 11px 20px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--violet { background: var(--grad); background-size: 160% 160%; color: #fff; box-shadow: 0 14px 34px -12px rgba(58, 40, 225, .7); }
.btn--violet::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--violet:hover { box-shadow: 0 20px 44px -12px rgba(58, 40, 225, .85); background-position: 100% 0; }
.btn--violet:hover::after { transform: translateX(120%); }
.btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.05); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); }
.btn--ghost-dark { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.btn--ghost-dark:hover { border-color: var(--violet); color: var(--violet); }
.btn[disabled] { opacity: .7; pointer-events: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 40%, var(--ink-3), var(--ink) 70%);
  transition: opacity .8s var(--ease), visibility .8s, clip-path 1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader__inner { position: relative; display: grid; justify-items: center; gap: 18px; }
.loader__roof { position: absolute; width: 260px; top: -40px; opacity: .5; fill: none; stroke: var(--lilac); stroke-width: 2; }
.loader__roof path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s var(--ease) forwards; }
.loader__roof path + path { animation-delay: .25s; }
.loader img { width: 230px; opacity: 0; transform: translateY(14px) scale(.96); animation: rise 1s .3s var(--ease) forwards; }
.loader__line { font-family: var(--serif); font-size: 1.25rem; color: rgba(255,255,255,.75); opacity: 0; animation: rise 1s .7s var(--ease) forwards; margin: 0; }
.loader__line em { color: var(--lilac); }
body.is-loaded .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }
.no-loader .loader, html:not(.js) .loader { display: none; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: .82rem; position: relative; z-index: 1; border-bottom: 1px solid var(--line-light); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 42px; }
.topbar__item { display: inline-flex; align-items: center; gap: .5em; margin: 0; transition: color .3s; }
.topbar__item .i { color: var(--lilac); }
a.topbar__item:hover { color: #fff; }
.topbar__item--strong { color: #fff; font-weight: 700; }
.topbar__links { display: flex; gap: 26px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  margin-bottom: calc(var(--header-h) * -1);
  transition: background .5s var(--ease), box-shadow .5s, height .4s var(--ease);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; width: 150px; flex: none; }
.brand img { width: 100%; transition: opacity .4s; }
.brand__dark { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; gap: 34px; }
.nav > a { position: relative; color: rgba(255,255,255,.85); font-weight: 600; font-size: .95rem; padding: 6px 0; transition: color .3s; }
.nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--lilac); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav > a:hover { color: #fff; }
.nav > a:hover::after, .nav > a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__mobile-extra { display: none; }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: .5em; color: #fff; font-weight: 700; font-size: .93rem; }
.header__phone .i { color: var(--lilac); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; place-items: center; }
.burger .i { width: 22px; height: 22px; }
.burger .i--close { display: none; }

.header.is-scrolled { background: rgba(251, 250, 248, .86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 40px -20px rgba(13, 11, 38, .25); height: 72px; }
.header.is-scrolled .brand__light { opacity: 0; }
.header.is-scrolled .brand__dark { opacity: 1; }
.header.is-scrolled .nav > a { color: var(--text); }
.header.is-scrolled .nav > a:hover { color: var(--violet); }
.header.is-scrolled .nav > a::after { background: var(--violet); }
.header.is-scrolled .header__phone { color: var(--ink); }
.header.is-scrolled .header__phone .i { color: var(--violet); }
.header.is-scrolled .burger { color: var(--ink); border-color: var(--line); background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 60px) 0 120px;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, var(--ink-3) 0%, var(--ink) 62%);
  color: #fff; text-align: center;
}
.hero__sparkles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(80px); opacity: .75; }
.hero__aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.hero__aurora span:nth-child(1) { width: 46vw; height: 46vw; left: 8%; top: 18%; background: #3a28e1; animation: drift 18s ease-in-out infinite alternate; }
.hero__aurora span:nth-child(2) { width: 38vw; height: 38vw; right: 6%; top: 8%; background: #7a52ff; opacity: .7; animation: drift 22s ease-in-out infinite alternate-reverse; }
.hero__aurora span:nth-child(3) { width: 30vw; height: 30vw; left: 40%; bottom: 4%; background: #2a6bff; opacity: .4; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(6vw, -4vw) scale(1.15); } }

.hero__house { position: absolute; left: 50%; top: 52%; width: min(1100px, 130vw); transform: translate(-50%, -50%); z-index: -1; fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.hero__house path { stroke-dasharray: 1300; stroke-dashoffset: 1300; }
.hero__house-roof { stroke: rgba(122, 100, 255, .55); stroke-width: 2; }
.hero__house-inner { stroke: rgba(255, 255, 255, .12); stroke-width: 1.5; }
.hero__house-chimney { stroke: rgba(122, 100, 255, .45); stroke-width: 2; }
body.is-ready .hero__house path { animation: draw 2.6s .2s var(--ease) forwards; }
body.is-ready .hero__house-inner { animation-delay: .6s !important; }
body.is-ready .hero__house-chimney { animation-delay: 1.4s !important; }

.hero { text-align: left !important; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__copy { min-width: 0; }
.hero__visual { position: relative; min-width: 0; }
.hero__photo { position: relative; border-radius: 220px 220px 28px 28px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); border: 1px solid rgba(255,255,255,.14); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(13,11,38,.45)); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 30%; transform: scale(1.12); transition: transform 2.2s var(--ease); }
body.is-ready .hero__photo img { transform: scale(1); }
.hero__visual::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border-radius: 220px 220px 28px 28px; border: 1.5px solid rgba(169,156,255,.35); }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 20px 40px -18px rgba(0,0,0,.55); animation: float 6s ease-in-out infinite; z-index: 2; }
.float strong { display: block; font-size: .9rem; line-height: 1.2; }
.float small { font-size: .74rem; color: var(--muted); }
.float__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.float__icon--dark { background: var(--ink); }
.float--a { left: -34px; bottom: 70px; }
.float--b { right: -24px; top: 90px; animation-delay: -2s; }
.float--c { right: 18px; bottom: -18px; gap: 4px; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: .82rem; animation-delay: -4s; }
.float--c .i { width: 12px; height: 12px; color: var(--lilac-2); }
.float--c span { margin-left: 6px; }
.hero__spark { position: absolute; color: var(--lilac); z-index: 2; animation: twinkle 3s ease-in-out infinite; }
.hero__spark--1 { width: 30px; height: 30px; top: 6px; right: 40px; }
.hero__spark--2 { width: 18px; height: 18px; top: 50px; right: 10px; animation-delay: 1.2s; }
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: .98; letter-spacing: -.035em;
  font-variation-settings: "opsz" 144;
  margin-bottom: 30px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.shimmer {
  font-weight: 400;
  background: linear-gradient(100deg, #b6a8ff 0%, #ffffff 30%, #8f7bff 50%, #ffffff 70%, #b6a8ff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s linear infinite;
  padding-right: .06em;
}
@keyframes shimmer { to { background-position: -250% 0; } }
.hero__lead { max-width: 460px; color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.6vw, 1.15rem); margin-bottom: 38px; }

/* Entrance animation */
.js [data-hero] { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 100ms); }
.js .hero__title [data-hero] { transform: translateY(105%); }
body.is-ready [data-hero], body.is-ready .hero__title [data-hero] { opacity: 1; transform: none; }

/* Quick start bar */
.quick {
  display: flex; align-items: stretch; gap: 6px;
  padding: 8px; border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12);
  text-align: left;
}
.quick { width: fit-content; max-width: 100%; }
.quick__field { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 6px 20px; min-width: 170px; border-radius: 999px; transition: background .3s; }
.quick__field + .quick__field { border-left: 1px solid rgba(255,255,255,.12); }
.quick__field:hover { background: rgba(255,255,255,.06); }
.quick__label { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--lilac); display: inline-flex; align-items: center; gap: .45em; }
.quick select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: #fff; font: 600 1rem var(--sans); padding: 2px 22px 2px 0; cursor: pointer; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a99cff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; background-size: 16px; }
.quick select option { color: var(--text); }

.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 34px; font-size: .9rem; color: rgba(255,255,255,.75); }
.hero__trust li { display: inline-flex; align-items: center; gap: .5em; }
.hero__trust li > span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(169,156,255,.14); border: 1px solid rgba(169,156,255,.25); }
.hero__trust .i { color: var(--lilac); width: 16px; height: 16px; }

.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: scrolldot 2s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--violet); color: #fff; overflow: hidden; padding: 20px 0; position: relative; z-index: 2; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.7rem); white-space: nowrap; }
.marquee .i { width: 18px; height: 18px; color: var(--lilac-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Services ---------- */
.services { background: var(--ivory); }
.services { padding-top: clamp(60px, 8vw, 100px); }
.services::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 40% at 90% 10%, rgba(122,100,255,.1), transparent 70%), radial-gradient(ellipse 40% 40% at 0% 90%, rgba(58,40,225,.07), transparent 70%); pointer-events: none; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(230px, auto); gap: 20px; position: relative; }

/* Photo cards */
.pcard { position: relative; display: flex; align-items: flex-end; min-height: 400px; border-radius: var(--radius); overflow: hidden; isolation: isolate; color: #fff; box-shadow: 0 20px 50px -30px rgba(13,11,38,.6); }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,11,38,0) 35%, rgba(13,11,38,.88) 100%); transition: background .5s; }
.pcard:hover img { transform: scale(1.07); }
.pcard:hover::after { background: linear-gradient(180deg, rgba(58,40,225,.1) 20%, rgba(13,11,38,.92) 100%); }
.pcard--wide { grid-column: span 2; }
.pcard--wide img { object-position: 30% 40%; }
.pcard--banner { grid-column: 1 / -1; min-height: 330px; }
.pcard--banner::after { background: linear-gradient(90deg, rgba(13,11,38,.9) 0%, rgba(13,11,38,.55) 45%, rgba(13,11,38,0) 75%); }
.pcard--banner .pcard__body { max-width: 460px; align-self: center; }
.pcard--banner img { object-position: 70% 40%; }
.pcard__icon { position: absolute; top: 20px; left: 20px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); transition: background .4s, transform .6s var(--ease); }
.pcard__icon .i { width: 24px; height: 24px; }
.pcard:hover .pcard__icon { background: var(--violet); transform: rotate(-8deg); }
.pcard__badge { position: absolute; top: 28px; left: 84px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--violet); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pcard__body { padding: 28px; }
.pcard h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.01em; margin-bottom: 12px; }
.pcard p { color: rgba(255,255,255,.8); margin-bottom: 14px; }
.pcard__go { position: absolute; right: 22px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--violet); transition: transform .5s var(--ease), background .4s, color .4s; }
.pcard:hover .pcard__go { transform: rotate(-45deg); background: var(--violet); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; align-items: center; gap: .45em; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); font-size: .8rem; font-weight: 700; }
.tags .i { width: 14px; height: 14px; color: var(--lilac-2); }

/* Icon cards */
.icard { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.icard::before { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: var(--grad-soft); z-index: -1; transition: transform .8s var(--ease); }
.icard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(58,40,225,.25); }
.icard:hover::before { transform: scale(2.6); }
.icard__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 22px; box-shadow: 0 12px 26px -12px rgba(58,40,225,.8); transition: transform .6s var(--ease); }
.icard__icon .i { width: 27px; height: 27px; stroke-width: 1.6; }
.icard:hover .icard__icon { transform: rotate(-10deg) scale(1.08); }
.icard h3 { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); margin-bottom: 8px; }
.icard p { color: var(--muted); font-size: .94rem; margin-bottom: 18px; }
.icard__go { margin-top: auto; display: inline-flex; align-items: center; gap: .45em; font-weight: 800; font-size: .88rem; color: var(--violet); }
.icard__go .i { transition: transform .4s var(--ease); }
.icard:hover .icard__go .i { transform: translateX(5px); }

/* Perks strip */
.perks { position: relative; z-index: 3; margin-top: -1px; background: var(--ivory); padding: 34px 0 0; }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.perk:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.perk__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); color: var(--violet); flex: none; transition: background .4s, color .4s; }
.perk:hover .perk__icon { background: var(--violet); color: #fff; }
.perk__icon .i { width: 22px; height: 22px; }
.perk strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.perk small { color: var(--muted); font-size: .8rem; }

/* ---------- Standard (dark) ---------- */
.standard { background: var(--ink); color: rgba(255,255,255,.75); overflow: hidden; }
.standard__glow { position: absolute; width: 60vw; height: 60vw; left: -20vw; top: -10vw; background: radial-gradient(circle, rgba(58,40,225,.45), transparent 65%); filter: blur(40px); pointer-events: none; }
.standard__grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.standard__copy p { font-size: 1.08rem; margin: 22px 0 34px; max-width: 480px; }
.tabs { position: relative; display: inline-flex; flex-wrap: wrap; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line-light); }
.tab { position: relative; z-index: 1; border: 0; background: none; color: rgba(255,255,255,.7); padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: .92rem; transition: color .4s; }
.tab.is-active { color: #fff; }
.tabs__ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--grad); box-shadow: 0 10px 30px -10px rgba(58,40,225,.9); transition: transform .55s var(--ease), width .55s var(--ease); }
.standard__panels { position: relative; padding: clamp(16px, 2.4vw, 24px); border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--line-light); backdrop-filter: blur(10px); }
.panel[hidden] { display: none; }
.panel__img { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 8; margin-bottom: 22px; }
.panel__img img { width: 100%; height: 100%; object-fit: cover; }
.panel.is-active .panel__img img { animation: imgIn 1s var(--ease) both; }
@keyframes imgIn { from { transform: scale(1.12); opacity: .3; } to { transform: none; opacity: 1; } }
.tab { display: inline-flex; align-items: center; gap: .45em; }
.tab .i { width: 16px; height: 16px; }
.panel.is-active .checklist li { animation: listIn .7s var(--ease) both; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line-light); color: #fff; font-weight: 600; font-size: .92rem; }
.checklist .i { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: rgba(169,156,255,.14); color: var(--lilac); flex: none; }
.checklist__extra { color: var(--lilac) !important; font-style: italic; font-family: var(--serif); font-size: 1.08rem; }
.checklist__extra .i { background: transparent; border: 1px dashed rgba(169,156,255,.5); }
.panel.is-active .checklist li:nth-child(2) { animation-delay: .05s; }
.panel.is-active .checklist li:nth-child(3) { animation-delay: .1s; }
.panel.is-active .checklist li:nth-child(4) { animation-delay: .15s; }
.panel.is-active .checklist li:nth-child(5) { animation-delay: .2s; }
.panel.is-active .checklist li:nth-child(6) { animation-delay: .25s; }
.panel.is-active .checklist li:nth-child(7) { animation-delay: .3s; }
@keyframes listIn { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

/* ---------- Quote / Wizard ---------- */
.quote { background: linear-gradient(180deg, var(--mist), var(--ivory)); overflow: hidden; }
.quote::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(90,72,255,.16), transparent 65%); pointer-events: none; }
.quote__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; position: relative; }
.quote__intro { position: sticky; top: 120px; }
.quote__intro .section-lead { margin: 22px 0 36px; }
.quote__perks { display: grid; gap: 18px; margin-bottom: 40px; }
.quote__perks li { display: flex; gap: 16px; align-items: flex-start; color: var(--muted); font-size: .96rem; }
.quote__perks li > span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--violet); box-shadow: 0 10px 24px -14px rgba(58,40,225,.5); flex: none; }
.quote__perks strong { display: block; color: var(--ink); font-size: 1.02rem; }
.quote__call { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.quote__call p { margin: 0; width: 100%; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink); }
.quote__call a { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; color: var(--violet); }

.wizard { position: relative; }
.wizard__glow { position: absolute; inset: 30px -10px -20px; border-radius: 40px; background: var(--grad); filter: blur(50px); opacity: .35; z-index: 0; }
.wizard__card { position: relative; z-index: 1; background: #fff; border-radius: 30px; padding: clamp(26px, 4vw, 46px); box-shadow: var(--shadow-lg); border: 1px solid rgba(58,40,225,.08); min-height: 600px; display: flex; flex-direction: column; }
.wizard__steps { display: flex; justify-content: space-between; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a5a2bd; margin-bottom: 12px; }
.wizard__steps span { transition: color .4s; }
.wizard__steps span.is-active, .wizard__steps span.is-done { color: var(--violet); }
.wizard__bar { height: 4px; background: var(--mist); border-radius: 4px; overflow: hidden; margin-bottom: 34px; }
.wizard__bar span { display: block; height: 100%; width: 25%; background: var(--grad); border-radius: 4px; transition: width .7s var(--ease); }

#estimate-form { display: flex; flex-direction: column; flex: 1; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step.is-active { animation: stepIn .6s var(--ease) both; }
.step.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
.step__title { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--ink); letter-spacing: -.015em; margin-bottom: 26px; padding: 0; line-height: 1.15; }
.step__title em { color: var(--violet); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile__box { height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 20px 16px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; transition: all .35s var(--ease); }
.tile__box .i { width: 30px; height: 30px; color: var(--violet); stroke-width: 1.5; margin-bottom: 10px; transition: transform .5s var(--ease); }
.tile__box strong { color: var(--ink); font-size: .98rem; line-height: 1.25; }
.tile__box small { color: var(--muted); font-size: .8rem; }
.tile:hover .tile__box { border-color: rgba(58,40,225,.4); transform: translateY(-2px); }
.tile input:checked + .tile__box { border-color: var(--violet); background: linear-gradient(160deg, #f6f4ff, #fff); box-shadow: 0 14px 30px -18px rgba(58,40,225,.7), inset 0 0 0 1px var(--violet); }
.tile input:checked + .tile__box .i { transform: scale(1.12) rotate(-6deg); }
.tile input:focus-visible + .tile__box { outline: 2px solid var(--violet-2); outline-offset: 2px; }

.counters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.counter { padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.counter__label { font-size: .85rem; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: .5em; }
.counter__label .i { color: var(--violet); }
.counter__ctrl { display: flex; align-items: center; justify-content: space-between; }
.counter__ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); transition: all .3s; }
.counter__ctrl button:hover { border-color: var(--violet); background: var(--violet); color: #fff; }
.counter__ctrl input { width: 60px; border: 0; text-align: center; font: 500 1.8rem var(--serif); color: var(--ink); background: transparent; -moz-appearance: textfield; appearance: textfield; pointer-events: none; }
.counter__ctrl input::-webkit-inner-spin-button, .counter__ctrl input::-webkit-outer-spin-button { -webkit-appearance: none; }
.counter__ctrl input.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.25); color: var(--violet); } }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field__label { font-size: .85rem; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: .5em; }
.field__label small { color: var(--muted); font-weight: 500; }
.field__label .i { color: var(--violet); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fcfbff;
  font: 500 1rem var(--sans); color: var(--text);
  transition: border-color .3s, box-shadow .3s, background .3s;
  outline: none;
}
.field 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='%233a28e1' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(58,40,225,.1); }
.field input.is-invalid, .field select.is-invalid { border-color: #e0465c; box-shadow: 0 0 0 4px rgba(224,70,92,.1); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field--full { grid-column: 1 / -1; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 5px; border-radius: 16px; background: var(--mist); gap: 4px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 11px 6px; border-radius: 12px; font-weight: 700; font-size: .88rem; color: var(--muted); transition: all .35s var(--ease); }
.seg input:checked + span { background: #fff; color: var(--violet); box-shadow: 0 8px 20px -12px rgba(58,40,225,.6); }
.seg input:focus-visible + span { outline: 2px solid var(--violet-2); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-flex; align-items: center; gap: .4em; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; transition: all .3s var(--ease); background: #fff; }
.chips span b { font-size: .75rem; color: var(--violet); background: var(--mist); padding: 2px 7px; border-radius: 999px; }
.chips label:hover span { border-color: rgba(58,40,225,.4); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:checked + span b { background: var(--violet); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--violet-2); outline-offset: 2px; }
.chips input[type=checkbox]:checked + span::before { content: "✓"; color: var(--lilac); font-weight: 800; }

.switch { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; font-weight: 600; }
.switch input { position: absolute; opacity: 0; }
.switch__track { width: 52px; height: 30px; border-radius: 999px; background: #dcd9ea; position: relative; transition: background .3s; flex: none; }
.switch__track span { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.2); transition: transform .4s var(--ease); }
.switch input:checked + .switch__track { background: var(--violet); }
.switch input:checked + .switch__track span { transform: translateX(22px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--violet-2); outline-offset: 2px; }
.switch__text { display: inline-flex; align-items: center; gap: .5em; }
.switch__text .i { color: var(--violet); }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .88rem; color: var(--muted); margin-top: 4px; }
.check input { position: absolute; opacity: 0; }
.check__box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line); display: grid; place-items: center; flex: none; transition: all .3s; margin-top: 1px; }
.check__box .i { width: 14px; height: 14px; stroke-width: 3; color: #fff; opacity: 0; transform: scale(.5); transition: all .3s var(--ease); }
.check input:checked + .check__box { background: var(--violet); border-color: var(--violet); }
.check input:checked + .check__box .i { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--violet-2); outline-offset: 2px; }

.wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 30px; }
.wizard__nav [data-next], .wizard__nav [data-submit] { margin-left: auto; }
.form__note { display: flex; align-items: center; justify-content: center; gap: .5em; font-size: .8rem; color: var(--muted); margin: 18px 0 0; }
.form__error { color: #c8344a; font-weight: 600; font-size: .9rem; margin: 14px 0 0; }

.btn.is-loading .btn__label::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Result */
.result { position: relative; text-align: center; padding: 30px 0 10px; animation: stepIn .7s var(--ease) both; }
.result[hidden] { display: none; }
.result__burst { position: absolute; left: 50%; top: 40px; width: 380px; height: 380px; transform: translateX(-50%); background: radial-gradient(circle, rgba(90,72,255,.18), transparent 65%); pointer-events: none; z-index: -1; }
.result__kicker { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); padding: 8px 16px; background: var(--mist); border-radius: 999px; }
.result__price { font-family: var(--serif); font-size: clamp(3rem, 7vw, 4.6rem); color: var(--ink); letter-spacing: -.03em; line-height: 1; margin: 26px 0 6px; font-variation-settings: "opsz" 144; }
.result__price i { color: var(--lilac); font-style: normal; }
.result__per { color: var(--muted); font-weight: 600; }
.result__summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px 0; }
.result__summary li { padding: 7px 14px; border-radius: 999px; background: var(--mist); font-size: .85rem; font-weight: 600; color: var(--ink); }
.result__note { max-width: 460px; margin: 0 auto 28px; font-size: .92rem; color: var(--muted); }
.result__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* ---------- Process ---------- */
.process { background: var(--ivory); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps__line { position: absolute; top: 40px; left: 12%; right: 12%; height: 2px; background: var(--line); }
.steps__line span { display: block; height: 100%; width: 0; background: var(--grad); transition: width 2s var(--ease); }
.steps.is-in .steps__line span { width: 100%; }
.pstep { position: relative; text-align: center; padding: 0 10px; }
.pstep__num { position: relative; width: 82px; height: 82px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px -20px rgba(58,40,225,.5); color: var(--violet); transition: transform .5s var(--ease), background .5s, color .5s; }
.pstep__num .i { width: 30px; height: 30px; stroke-width: 1.5; }
.pstep__num span { position: absolute; top: -6px; right: -8px; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800; }
.pstep:hover .pstep__num { transform: translateY(-6px); background: var(--grad); color: #fff; }
.pstep h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 10px; color: var(--ink); }
.pstep p { color: var(--muted); font-size: .96rem; }

/* ---------- About ---------- */
.about { background: #fff; overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.about__media { position: relative; max-width: 520px; justify-self: center; width: 100%; }
.about__arch { border-radius: 260px 260px 30px 30px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); position: relative; }
.about__arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.about__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.about__media.is-in .about__arch img { transform: scale(1); }
.about__media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border-radius: 260px 260px 30px 30px; border: 1.5px solid rgba(58,40,225,.25); z-index: -1; }
.about__badge { position: absolute; left: -40px; bottom: 60px; width: 190px; padding: 18px 20px; border-radius: 22px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.about__chip { position: absolute; right: -30px; top: 80px; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: var(--shadow); animation: float 7s ease-in-out infinite reverse; }
.about__chip .i { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: var(--violet); }
.about__chip strong { display: block; font-size: .95rem; line-height: 1.2; }
.about__chip span { font-size: .8rem; color: var(--lilac); }
@keyframes float { 50% { transform: translateY(-12px); } }
.about__spark { position: absolute; color: var(--violet); }
.about__spark--1 { width: 34px; height: 34px; top: 10px; right: 20px; animation: twinkle 3s ease-in-out infinite; }
.about__spark--2 { width: 20px; height: 20px; top: 50px; right: -10px; color: var(--lilac); animation: twinkle 3s 1s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.6) rotate(45deg); opacity: .5; } }
.about__copy p { color: var(--muted); font-size: 1.05rem; }
.about__copy .section-title { margin-bottom: 26px; }
.about__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.about__feats li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.about__feats li > span { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--mist); color: var(--violet); flex: none; transition: transform .5s var(--ease), background .4s, color .4s; }
.about__feats li:hover > span { transform: rotate(-10deg); background: var(--violet); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 38px; padding-top: 34px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1; color: var(--violet); margin-bottom: 8px; }
.stat span { font-size: .82rem; font-weight: 600; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- Promise ---------- */
.promise { background: var(--ink); color: rgba(255,255,255,.75); padding: clamp(70px, 9vw, 110px) 0; overflow: hidden; }
.promise::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 100% at 20% 50%, rgba(58,40,225,.4), transparent 70%); }
.promise__inner { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.promise__seal { position: relative; width: 200px; height: 200px; display: grid; place-items: center; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spinSlow 24s linear infinite; }
.seal__ring text { fill: var(--lilac); font: 700 10.4px var(--sans); letter-spacing: 3.1px; }
.seal__star { width: 78px; height: 78px; padding: 18px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 0 60px rgba(90,72,255,.7); stroke-width: 1.6; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.promise h2 { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.4rem); color: #fff; letter-spacing: -.02em; margin-bottom: 18px; }
.promise h2 em { color: var(--lilac); }
.promise p:last-child { font-size: 1.08rem; max-width: 640px; margin: 0; }

/* ---------- Areas / Map ---------- */
.areas { background: var(--ivory); }
.areas__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: stretch; }
.areas__panel { background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); }
.town-check { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fcfbff; transition: border-color .3s, box-shadow .3s; }
.town-check:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(58,40,225,.1); }
.town-check .i { color: var(--violet); }
.town-check input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1rem var(--sans); outline: none; padding: 8px 0; color: var(--text); }
.town-check__result { min-height: 1.6em; margin: 12px 4px 18px; font-weight: 600; font-size: .92rem; }
.town-check__result.is-yes { color: #1f8a5b; }
.town-check__result.is-no { color: var(--muted); }
.town-check__result a { color: var(--violet); text-decoration: underline; }
.region-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mist); margin-bottom: 22px; }
.region-tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--muted); transition: all .3s; }
.region-tabs button.is-active { background: #fff; color: var(--violet); box-shadow: 0 6px 16px -10px rgba(58,40,225,.6); }
.town-lists { display: grid; gap: 22px; max-height: 430px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--lilac-2) transparent; }
.town-group[hidden] { display: none; }
.town-group h3 { display: flex; align-items: center; gap: .5em; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-bottom: 12px; }
.town-group h3 .i { color: var(--violet); }
.towns { display: flex; flex-wrap: wrap; gap: 8px; }
.towns button { border: 1.5px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--text); transition: all .3s var(--ease); }
.towns button:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); }
.towns button.is-active { background: var(--violet); border-color: var(--violet); color: #fff; }
.town-group[data-group="cape"] .towns button.is-active { background: var(--ink); border-color: var(--ink); }
.areas__note { margin: 20px 0 0; font-size: .9rem; color: var(--muted); }
.areas__note a { color: var(--violet); font-weight: 700; }

.areas__map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 560px; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--mist); }
#map { position: absolute; inset: 0; z-index: 1; }
.map__legend { position: absolute; z-index: 500; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); font-size: .8rem; font-weight: 700; box-shadow: 0 8px 20px -10px rgba(0,0,0,.3); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--south { background: var(--violet); }
.dot--cape { background: var(--ink); margin-left: 8px; }
.leaflet-container { font-family: var(--sans); background: #e9e6f7; }
.leaflet-control-attribution { font-size: 10px; }
.pin { position: relative; width: 18px; height: 18px; }
.pin__dot { position: absolute; inset: 3px; border-radius: 50%; background: var(--violet); border: 2px solid #fff; box-shadow: 0 3px 10px rgba(58,40,225,.55); transition: transform .3s var(--ease); }
.pin--cape .pin__dot { background: var(--ink); box-shadow: 0 3px 10px rgba(13,11,38,.5); }
.pin__pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(58,40,225,.4); animation: pulse 2.4s ease-out infinite; }
.pin--cape .pin__pulse { background: rgba(13,11,38,.3); }
.pin.is-active .pin__dot { transform: scale(1.6); }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.leaflet-tooltip.town-tip { background: var(--ink); color: #fff; border: 0; border-radius: 10px; padding: 6px 12px; font-weight: 700; font-size: .8rem; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.leaflet-tooltip.town-tip::before { border-top-color: var(--ink); }
.map__fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq__inner { max-width: 880px; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 18px; border: 1px solid var(--line); background: var(--ivory); transition: background .4s, border-color .4s, box-shadow .4s; }
.qa[open] { background: #fff; border-color: rgba(58,40,225,.25); box-shadow: var(--shadow); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--violet); flex: none; transition: transform .5s var(--ease), background .4s, color .4s; }
.qa[open] .qa__icon { transform: rotate(135deg); background: var(--violet); color: #fff; }
.qa__body { padding: 0 26px 22px; color: var(--muted); }
.qa__body p { margin: 0; }
.qa__body a { color: var(--violet); font-weight: 700; }
.qa[open] .qa__body { animation: fadeDown .5s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Final CTA ---------- */
.cta-final { position: relative; overflow: hidden; padding: clamp(100px, 13vw, 170px) 0; text-align: center; color: rgba(255,255,255,.75); background: var(--ink); isolation: isolate; }
.cta-final__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 70% at 50% 110%, rgba(90,72,255,.75), transparent 70%), radial-gradient(ellipse 40% 50% at 10% 0%, rgba(58,40,225,.4), transparent 70%), radial-gradient(ellipse 40% 50% at 90% 10%, rgba(155,123,255,.3), transparent 70%); }
.cta-final h2 { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 5.4rem); color: #fff; letter-spacing: -.03em; margin-bottom: 20px; font-variation-settings: "opsz" 144; }
.cta-final h2 em { color: var(--lilac); }
.cta-final p { font-size: 1.12rem; margin-bottom: 36px; }
.cta-final__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.footer { background: #08071a; color: rgba(255,255,255,.62); padding: 80px 0 30px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer__brand img { width: 190px; margin-bottom: 20px; }
.footer__brand p { max-width: 300px; }
.footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.footer__socials a, .nav__socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-light); color: #fff; transition: all .35s var(--ease); }
.footer__socials a:hover, .nav__socials a:hover { background: var(--violet); border-color: var(--violet); transform: translateY(-3px); }
.footer h4 { font-family: var(--serif); font-size: 1.2rem; color: #fff; margin-bottom: 20px; }
.footer ul { display: grid; gap: 11px; }
.footer a { transition: color .3s; }
.footer a:hover { color: #fff; }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: .6em; }
.footer__contact .i { color: var(--lilac); }
.footer__hours li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line-light); }
.footer__hours li span:last-child { color: #fff; font-weight: 600; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; font-size: .84rem; }
.footer__bottom p { margin: 0; }
.footer__top { display: inline-flex; align-items: center; gap: .5em; }
.footer__top .i { transform: rotate(-90deg); }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header__phone { display: none; }
  .nav { gap: 24px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .perks__grid { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .topbar__hide-sm { display: none; }
  .burger { display: grid; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center; gap: 10px;
    background: rgba(13, 11, 38, .97); backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; clip-path: circle(0 at calc(100% - 44px) 36px);
    transition: clip-path .8s var(--ease), opacity .4s, visibility .8s;
  }
  .nav > a { font-family: var(--serif); font-size: 2rem; color: #fff !important; }
  .nav__mobile-extra { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; color: var(--lilac); font-weight: 700; }
  .nav__mobile-extra > a { display: inline-flex; align-items: center; gap: .5em; }
  .nav__socials { display: flex; gap: 10px; margin-top: 8px; }
  body.menu-open .nav { opacity: 1; visibility: visible; clip-path: circle(150% at calc(100% - 44px) 36px); }
  body.menu-open .burger { color: #fff !important; border-color: rgba(255,255,255,.3) !important; background: rgba(255,255,255,.06) !important; }
  body.menu-open .burger .i--open { display: none; }
  body.menu-open .burger .i--close { display: block; }
  body.menu-open .brand__light { opacity: 1 !important; }
  body.menu-open .brand__dark { opacity: 0 !important; }
  body.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }
  body.menu-open { overflow: hidden; }

  .standard__grid, .quote__grid, .about__grid, .areas__grid, .hero__inner { grid-template-columns: 1fr; }
  .hero__inner { gap: 56px; }
  .hero__visual { max-width: 460px; width: 100%; justify-self: center; }
  .quote__intro { position: static; text-align: center; }
  .quote__perks { justify-items: center; }
  .quote__perks li { text-align: left; max-width: 340px; width: 100%; }
  .quote__call { justify-content: center; }
  .standard__copy { text-align: center; }
  .standard__copy p { margin-inline: auto; }
  .standard__panels { min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps__line { display: none; }
  .about__media { max-width: 440px; }
  .about__badge { left: -10px; }
  .about__chip { right: -10px; }
  .areas__map { min-height: 440px; }
  .promise__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .promise p:last-child { margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .container { width: min(1220px, 100% - 32px); }
  .topbar__inner { justify-content: center; }
  .topbar__inner > .topbar__item:first-child { display: none; }
  .brand { width: 118px; }
  .hero { padding: calc(var(--header-h) + 40px) 0 90px; min-height: 0; }
  .hero__scroll { display: none; }
  .quick { flex-direction: column; border-radius: 24px; width: 100%; padding: 10px; }
  .quick__field { min-width: 0; border-radius: 16px; padding: 10px 16px; }
  .quick__field + .quick__field { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .quick .btn { margin-top: 4px; }
  .hero__trust { gap: 10px 16px; font-size: .84rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .pcard--wide, .pcard--banner { grid-column: auto; }
  .pcard { min-height: 320px; }
  .svc-grid { gap: 14px; grid-auto-rows: auto; }
  .icard { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 18px; align-items: center; }
  .icard__icon { width: 52px; height: 52px; margin: 0; grid-row: span 3; align-self: start; }
  .icard h3 { font-size: 1.2rem; margin-bottom: 4px; }
  .icard p { font-size: .86rem; margin-bottom: 6px; }
  .icard__go { margin-top: 0; }
  .pcard--banner::after { background: linear-gradient(180deg, rgba(13,11,38,0) 25%, rgba(13,11,38,.9) 100%); }
  .pcard--banner .pcard__body { align-self: flex-end; }
  .pcard__body { padding: 22px 22px 24px; padding-right: 76px; }
  .perks { padding-top: 24px; }
  .perks__grid { gap: 10px; }
  .perk { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .checklist { gap: 8px; }
  .checklist li { font-size: .82rem; padding: 10px; gap: 8px; }
  .checklist .i { width: 24px; height: 24px; padding: 5px; }
  .float--a { left: -8px; bottom: 40px; }
  .float--b { right: -8px; top: 40px; }
  .float { padding: 9px 12px; }
  .float__icon { width: 32px; height: 32px; }
  .quick { width: 100%; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 10px 8px; font-size: .82rem; }
  .wizard__card { padding: 24px 18px; border-radius: 24px; min-height: 0; }
  .wizard__steps { font-size: .64rem; letter-spacing: .06em; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile__box { padding: 16px 12px; }
  .counters { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .seg span { font-size: .78rem; padding: 10px 4px; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .about__badge { width: 140px; padding: 12px 14px; bottom: 30px; }
  .about__chip { top: 30px; padding: 10px 14px; }
  .about__media::before { inset: -10px 10px 10px -10px; }
  .areas__map { min-height: 380px; }
  .town-lists { max-height: none; }
  .promise__seal { width: 160px; height: 160px; }
  .qa summary { padding: 18px 20px; font-size: 1.05rem; }
  .qa__body { padding: 0 20px 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .mobile-bar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: fixed; z-index: 70; left: 10px; right: 10px; bottom: 10px; padding: 8px; border-radius: 22px; background: rgba(13,11,38,.92); backdrop-filter: blur(14px); box-shadow: 0 16px 40px -10px rgba(0,0,0,.5); transform: translateY(130%); transition: transform .6s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5em; padding: 13px; border-radius: 16px; font-weight: 700; font-size: .95rem; color: #fff; }
  .mobile-bar__call { background: rgba(255,255,255,.08); }
  .mobile-bar__quote { background: var(--grad); }
}

.areas__grid > *, .quote__grid > *, .standard__grid > *, .about__grid > * { min-width: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-hero] { opacity: 1; transform: none; }
  .hero__house path { stroke-dashoffset: 0; }
}
