/* ==========================================================
   Thaly Cleaning Services
   Built on the logo: brand teal and white, a classic serif
   for headlines, wide-spaced caps for labels, four-point sparkles.
   ========================================================== */
:root {
  --teal: #05A5A6;          /* the logo color */
  --teal-600: #048789;      /* deeper end of teal surfaces, keeps white text readable */
  --teal-700: #037577;      /* teal for text and buttons on white */
  --teal-900: #063A3C;
  --ink: #0A2E30;
  --text: #3D5557;
  --muted: #6B8183;
  --tint: #E8F6F6;
  --tint-2: #CDECEC;
  --paper: #FFFFFF;
  --line: rgba(10, 46, 48, .12);
  --teal-grad: linear-gradient(105deg, var(--teal-600) 0%, var(--teal) 62%, #17B1B1 100%);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --r: 20px;
  --shadow: 0 1px 2px rgba(6, 58, 60, .06), 0 14px 34px -10px rgba(6, 58, 60, .2), 0 40px 80px -36px rgba(6, 58, 60, .3);
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, fieldset, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal); color: #fff; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2 { font-family: var(--serif); font-weight: 700; color: var(--ink); letter-spacing: -.012em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(2rem, 3.9vw, 3.1rem); }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: -.01em; line-height: 1.25; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); max-width: 33em; text-wrap: pretty; }

/* emphasised words: italic serif in brand teal */
.hl { font-style: italic; font-weight: 600; color: var(--teal-700); }

/* labels echo the logo's "— CLEANING SERVICE —" line */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 18px; }
.eyebrow::after { content: ""; width: 44px; height: 1.5px; background: currentColor; }
.head--center .eyebrow::before { content: ""; width: 44px; height: 1.5px; background: currentColor; }

/* four-point sparkle, from the logo */
.spark { display: block; width: 14px; height: 14px; flex: none; background: currentColor; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { padding: 14px 24px; font-size: .95rem; }
.btn--block { width: 100%; padding-block: 19px; }
.btn--primary { color: #fff; background: var(--teal-700); box-shadow: 0 10px 24px -10px rgba(3, 117, 119, .8); }
.btn--primary:hover { background: var(--teal-900); transform: translateY(-2px); }
.btn--white { color: var(--teal-700); background: #fff; box-shadow: 0 12px 28px -12px rgba(6, 58, 60, .55); }
.btn--white:hover { transform: translateY(-2px); color: var(--teal-900); }
.btn--outline { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--outline:hover { background: #fff; border-color: #fff; color: var(--teal-700); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.header.is-stuck { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(6, 58, 60, .6); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: block; flex: none; }
.brand img { height: 72px; width: auto; }
.brand--footer img { height: 108px; }

.nav { display: flex; gap: clamp(16px, 2.4vw, 32px); }
.nav a { position: relative; font-size: .96rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 0; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover { color: var(--teal-700); }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 20px; }
.phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.phone svg { width: 18px; height: 18px; fill: none; stroke: var(--teal-700); stroke-width: 1.8; stroke-linejoin: round; }

/* ---------- Hero: the logo's teal, edge to edge ---------- */
.hero { position: relative; overflow-x: clip; padding: clamp(40px, 6vw, 80px) 0 0; color: #fff; background: var(--teal-grad); }
.hero::before, .hero::after { content: ""; position: absolute; background: #fff; opacity: .1; pointer-events: none; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.hero::before { width: 260px; height: 260px; right: 41%; top: -70px; }
.hero::after { width: 120px; height: 120px; left: 3%; bottom: 120px; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); font-size: .86rem; font-weight: 700; color: #fff; margin-bottom: 24px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .hl { color: #fff; background: linear-gradient(#fff, #fff) 0 96% / 100% 3px no-repeat; padding-bottom: .04em; }
.hero .lead { color: #fff; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 600; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .18em; width: 21px; height: 21px; border-radius: 50%; background: var(--tint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23037577' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.hero .ticks li { color: #fff; }
.hero .ticks li::before { background-color: #fff; }
.ticks--lg { margin-top: 28px; }

/* logo medallion: frosted glass disc, two rings, twinkling sparkles */
.hero__art { display: grid; place-items: center; padding: 64px 0; }
.emblem { position: relative; display: grid; place-items: center; width: min(100%, 440px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .34), rgba(255, 255, 255, .1) 58%, rgba(255, 255, 255, .04)); border: 1.5px solid rgba(255, 255, 255, .6); box-shadow: inset 0 0 70px rgba(255, 255, 255, .14), 0 0 90px rgba(255, 255, 255, .16), 0 40px 70px -34px rgba(6, 58, 60, .7); }
.emblem::before, .emblem::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.emblem::before { inset: -26px; border: 1px solid rgba(255, 255, 255, .34); }
.emblem::after { inset: -56px; border: 1.5px dashed rgba(255, 255, 255, .26); }
.hero__logo { position: relative; width: 78%; height: auto; filter: drop-shadow(0 10px 18px rgba(6, 58, 60, .3)); }
.emblem__spark { position: absolute; color: #fff; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .7)); }
.emblem__spark--a { width: 46px; height: 46px; right: 3%; top: 5%; }
.emblem__spark--b { width: 22px; height: 22px; right: -8%; top: 24%; }
.emblem__spark--c { width: 30px; height: 30px; left: 1%; bottom: 9%; }
.emblem__spark--d { width: 18px; height: 18px; left: -9%; top: 30%; }

/* trust strip sits half on the teal, half on the white */
.trust { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: clamp(40px, 5vw, 64px) 0 -58px; padding: 10px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); color: var(--text); }
.trust li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; font-size: .9rem; line-height: 1.35; }
.trust li + li { border-left: 1px solid var(--line); }
.trust svg { width: 44px; height: 44px; padding: 10px; flex: none; border-radius: 50%; background: var(--tint); fill: none; stroke: var(--teal-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust strong { display: block; font-size: 1rem; font-weight: 700; color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 116px) 0; }
#results { padding-top: calc(clamp(64px, 9vw, 116px) + 58px); }
.tint { background: var(--tint); }
.teal { background: var(--teal-grad); color: #fff; }
.teal h2, .teal .eyebrow, .teal .hl { color: #fff; }
.teal .hl { background: linear-gradient(#fff, #fff) 0 96% / 100% 3px no-repeat; }
.teal .lead { font-weight: 500; }
.dark { background: var(--teal-900); color: rgba(255, 255, 255, .8); }

.head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.head .eyebrow { grid-column: 1 / -1; justify-self: start; }
.head__side { font-size: 1.05rem; padding-bottom: 6px; }
.head--center { display: block; text-align: center; }

/* ---------- Results ---------- */
.results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.result { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 14px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.result:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--tint-2); }
.result__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.result__pair figure { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--tint); }
.result__pair figure:first-child { border-radius: 16px 6px 6px 16px; }
.result__pair figure:last-child { border-radius: 6px 16px 16px 6px; }
.result__pair img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 46, 48, .85); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.tag--after { background: var(--teal-700); }
.result__text { padding: 20px 10px 10px; }
.result__text h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 6px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 24px; border-radius: var(--r); background: #fff; border-top: 4px solid var(--teal); transition: transform .3s ease, box-shadow .3s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--teal); margin-bottom: 8px; }
.service__icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service p { font-size: .97rem; flex: 1; }
.service a { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; font-size: .95rem; color: var(--teal-700); text-decoration: none; }
.service a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.service a:hover svg { transform: translateX(4px); }

.extras { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; padding: 20px 24px; border-radius: var(--r); border: 1.5px dashed rgba(3, 117, 119, .4); font-size: .95rem; }
.extras p { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.extras ul { display: flex; flex-wrap: wrap; gap: 8px; }
.extras li { padding: 6px 14px; border-radius: 999px; background: #fff; font-weight: 600; color: var(--teal-700); font-size: .9rem; }
.extras span { color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { padding: 32px 28px; border-radius: var(--r); background: var(--tint); }
.steps__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: #fff; margin-bottom: 20px; }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: .98rem; }

/* ---------- Area ---------- */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.area h2 { margin-bottom: 20px; }
.area .btn { margin-top: 30px; }
.cities { display: flex; flex-wrap: wrap; gap: 10px; }
.cities li { display: inline-flex; align-items: baseline; gap: 8px; padding: 13px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .14); font-weight: 700; font-size: 1.05rem; color: #fff; transition: background-color .2s ease; }
.cities li:hover { background: rgba(255, 255, 255, .26); }
.cities small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; }
.cities .is-main, .cities .is-main:hover { background: #fff; border-color: #fff; color: var(--teal-700); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head h2 { margin-bottom: 16px; }
.faq__list { display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
details[open] { border-color: var(--teal); box-shadow: 0 12px 30px -20px rgba(6, 58, 60, .5); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23037577' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s ease, background-color .25s ease; }
details[open] summary::after { transform: rotate(45deg); background-color: var(--tint-2); }
details p { padding: 0 22px 22px; max-width: 46em; }

/* ---------- Estimate ---------- */
.estimate { padding: clamp(64px, 9vw, 116px) 0; background: var(--tint); }
.estimate__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.estimate__copy { position: sticky; top: calc(var(--header-h) + 32px); }
.estimate__copy h2 { margin-bottom: 20px; }
.contacts { display: grid; gap: 12px; margin-top: 32px; }
.contacts a { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.contacts svg { width: 46px; height: 46px; padding: 12px; flex: none; border-radius: 50%; background: var(--teal); fill: none; stroke: #fff; stroke-width: 1.7; stroke-linejoin: round; }
.contacts small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contacts b { font-size: 1.1rem; color: var(--ink); overflow-wrap: anywhere; }

.card { background: #fff; border-radius: 28px; border-top: 6px solid var(--teal); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow); }
.card__kicker { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--tint); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 14px; }
.card__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 24px; }

.form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; }
label, legend { font-size: .9rem; font-weight: 700; color: var(--ink); }
.opt { font-weight: 500; color: var(--muted); font-size: .8rem; margin-left: 4px; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #F6FBFB; font-size: 1rem;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; appearance: none; -webkit-appearance: none;
}
select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A2E30' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; }
textarea { resize: vertical; min-height: 76px; }
input::placeholder, textarea::placeholder { color: #98ABAC; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background-color: #fff; box-shadow: 0 0 0 4px rgba(5, 165, 166, .18); }
.field.is-invalid input, .field.is-invalid select { border-color: #C2412D; background-color: #FDF3F1; }

.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 7px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: block; padding: 12px 6px; text-align: center; border-radius: 12px; border: 1.5px solid var(--line); background: #F6FBFB; font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.chips span:hover { border-color: var(--teal); }
.chips input:checked + span { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--teal-700); outline-offset: 2px; }

.form.is-sending { opacity: .6; pointer-events: none; }
.form__status { min-height: 1.2em; font-size: .92rem; font-weight: 600; color: #C2412D; text-align: center; }
.form__status:empty { display: none; }

.done { text-align: center; padding: 40px 10px; }
.done svg { width: 72px; height: 72px; margin: 0 auto 20px; fill: var(--tint); stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.done h3 { font-family: var(--serif); font-size: 2rem; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 28px; font-size: .96rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.footer__brand p { margin-top: 18px; max-width: 24em; }
.footer h3 { font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #8FDADA; margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer li { overflow-wrap: anywhere; }
.footer a { text-decoration: none; }
.footer li a:hover, .footer__base a:hover { color: #fff; text-decoration: underline; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .88rem; }

/* ---------- Mobile dock ---------- */
.dock { display: none; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .results .reveal:nth-child(2), .steps .reveal:nth-child(2), .services .reveal:nth-child(2) { transition-delay: .08s; }
  .steps .reveal:nth-child(3), .services .reveal:nth-child(3) { transition-delay: .16s; }
  .services .reveal:nth-child(4) { transition-delay: .24s; }

  .hero__copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: .07s; }
  .hero__copy > :nth-child(3) { animation-delay: .14s; }
  .hero__copy > :nth-child(4) { animation-delay: .21s; }
  .hero__copy > :nth-child(5) { animation-delay: .28s; }
  .emblem { animation: rise .9s .15s cubic-bezier(.2, .7, .2, 1) both, float 7s 1.2s ease-in-out infinite; }
  .emblem::after { animation: spin 60s linear infinite; }
  .emblem__spark { animation: twinkle 3.2s ease-in-out infinite; }
  .emblem__spark--b { animation-delay: .8s; }
  .emblem__spark--c { animation-delay: 1.6s; }
  .emblem__spark--d { animation-delay: 2.4s; }
  .pill .spark { animation: twinkle 3.2s ease-in-out infinite; }
  .hero::before { animation: drift 9s ease-in-out infinite alternate; }
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes pop { from { opacity: 0; transform: rotate(-10deg) scale(.85); } }
@keyframes twinkle { 50% { transform: scale(.7) rotate(45deg); opacity: .6; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: rotate(18deg) scale(1.08); } }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero__grid, .area, .faq, .estimate__grid { grid-template-columns: 1fr; }
  .hero__art { margin-inline: auto; width: 100%; padding: 56px 0 40px; }
  .emblem { width: min(100%, 360px); }
  .hero::before { right: -60px; }
  .head { grid-template-columns: 1fr; row-gap: 16px; }
  .results, .steps { grid-template-columns: 1fr; }
  .faq__head, .estimate__copy { position: static; }
}
@media (max-width: 620px) {
  body { font-size: 16px; padding-bottom: 76px; }
  :root { --header-h: 74px; }
  .header .phone span { display: none; }
  .brand img { height: 56px; }
  .brand--footer img { height: 96px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__art { padding: 44px 0 28px; }
  .emblem { width: 250px; }
  .emblem::before { inset: -16px; }
  .emblem::after { inset: -34px; }
  .emblem__spark--a { width: 34px; height: 34px; }
  .trust { grid-template-columns: 1fr; }
  .trust li + li { border-left: 0; border-top: 1px solid var(--line); }
  .services { grid-template-columns: 1fr; }
  .chips { grid-template-columns: 1fr 1fr; }
  .cities li { padding: 11px 16px; font-size: 1rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: var(--teal-900); box-shadow: 0 16px 40px -12px rgba(6, 58, 60, .7); transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
  .dock.is-on { transform: none; }
  .dock a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border-radius: 999px; color: #fff; font-weight: 700; font-size: .95rem; text-decoration: none; }
  .dock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
  .dock__main { flex: 1; background: #fff; color: var(--teal-700) !important; }
}

/* ==========================================================
   Effects
   ========================================================== */
/* scroll progress along the bottom of the header */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; }

/* services marquee */
.band { overflow: hidden; background: var(--teal-900); color: #fff; padding: 20px 0; }
.band__track { display: flex; align-items: center; gap: 28px; width: max-content; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.6rem); white-space: nowrap; }
.band .spark { width: 16px; height: 16px; color: var(--teal); }

/* light follows the pointer across the teal sections */
.spot { background: radial-gradient(460px circle at var(--mx, -999px) var(--my, -999px), rgba(255, 255, 255, .17), transparent 70%), var(--teal-grad); }

/* sparkles in the service-area section */
.teal { position: relative; overflow: hidden; }
.teal::before, .teal::after { content: ""; position: absolute; background: #fff; opacity: .12; pointer-events: none; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.teal::before { width: 220px; height: 220px; left: 42%; top: -60px; }
.teal::after { width: 110px; height: 110px; right: 4%; bottom: 30px; }
.teal > .wrap { position: relative; z-index: 1; }

/* buttons: a sheen sweeps across on hover */
.btn--primary, .btn--white { position: relative; overflow: hidden; }
.btn--primary::after, .btn--white::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); pointer-events: none; }
.btn--white::after { background: linear-gradient(90deg, transparent, rgba(5, 165, 166, .22), transparent); }

.brand img { transition: transform .3s ease; }
.brand:hover img { transform: scale(1.04); }
.service__icon { transition: transform .35s cubic-bezier(.2, .9, .3, 1.4); }
.service:hover .service__icon { transform: rotate(-10deg) scale(1.1); }
.result__pair img { transition: transform .7s cubic-bezier(.2, .7, .2, 1), clip-path 1.1s .35s cubic-bezier(.6, 0, .2, 1); }
.result:hover .result__pair img { transform: scale(1.06); }
.steps li { transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease; }
.steps li:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow); }
.trust li svg { transition: transform .35s cubic-bezier(.2, .9, .3, 1.4), background-color .3s ease, stroke .3s ease; }
.trust li:hover svg { transform: scale(1.12) rotate(-6deg); background: var(--teal); stroke: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .band__track { animation: marquee 34s linear infinite; }
  .band:hover .band__track { animation-play-state: paused; }
  .band .spark { animation: twinkle 3.2s ease-in-out infinite; }

  .btn--primary:hover::after, .btn--white:hover::after { animation: sheen .8s ease; }

  /* headline rises word by word */
  .fx .hero h1 { animation: none; }
  .fx .hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .06em .14em; margin: 0 -.06em -.14em; }
  .fx .hero h1 .w > span { display: inline-block; transform: translateY(115%); animation: word .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 80ms + 120ms); }

  /* decorative sparkles drift with the scroll */
  .hero::before, .hero::after { translate: 0 var(--py, 0px); }
  .teal::before { animation: drift 10s ease-in-out infinite alternate; }
  .teal::after { animation: twinkle 4s ease-in-out infinite; }

  /* the logo medallion leans toward the pointer */
  .hero__art { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s ease-out; }

  /* "after" photos wipe in, as if being wiped clean */
  .js .result .result__pair figure:last-child img { clip-path: inset(0 100% 0 0); }
  .js .result.is-in .result__pair figure:last-child img { clip-path: inset(0); }
  .js .result .tag--after { opacity: 0; transition: opacity .4s 1.2s ease; }
  .js .result.is-in .tag--after { opacity: 1; }

  /* step numbers pop, city chips cascade */
  .js .steps .reveal .steps__n { transform: scale(0) rotate(-120deg); transition: transform .7s .3s cubic-bezier(.2, .9, .3, 1.4); }
  .js .steps .reveal.is-in .steps__n { transform: none; }
  .js .cities li { opacity: 0; transform: translateY(14px) scale(.85); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .9, .3, 1.3), background-color .2s ease; transition-delay: calc(var(--n, 0) * 60ms + 150ms), calc(var(--n, 0) * 60ms + 150ms), 0s; }
  .js .cities.is-in li { opacity: 1; transform: none; }

  /* section labels draw their line */
  .js .reveal .eyebrow::after, .js .reveal .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .8s .3s ease; }
  .js .reveal.is-in .eyebrow::after, .js .reveal.is-in .eyebrow::before { transform: none; }

  details[open] > p { animation: faq .35s ease; }
  .done svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s ease forwards; }
}
@keyframes marquee { to { transform: translateX(calc(-50% - 14px)); } }
@keyframes sheen { to { left: 130%; } }
@keyframes word { to { transform: none; } }
@keyframes faq { from { opacity: 0; transform: translateY(-6px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
