/* Roof To Curb Cleaning
   Shape rule: buttons and chips are full pills, photos and cards use --r (20px), inputs use --r-sm (12px).
   Color rule: pink (brand) is the only action color. Cyan (brand) is used only for water details. */

:root {
  --pink: #ea074e;
  --pink-deep: #c9063f;
  --cyan: #06b0dd;
  --cyan-ink: #04789a;

  --bg: #fbfcfd;
  --surface: #ffffff;
  --tint: #eef6f9;
  --ink: #0e1a24;
  --ink-2: #44525d;
  --ink-3: #6b7781;
  --line: #dfe6eb;
  --shadow: 0 1px 2px rgb(14 40 60 / .06), 0 12px 32px -12px rgb(14 40 60 / .18);
  --on-photo: #ffffff;

  --r: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Outfit", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --nav-h: 84px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --pink: #ff3d76;
    --pink-deep: #e8175d;
    --cyan: #3cc8ee;
    --cyan-ink: #6fd6f3;
    --bg: #0c141b;
    --surface: #121d26;
    --tint: #10222c;
    --ink: #eef3f6;
    --ink-2: #b4c0c9;
    --ink-3: #8a98a3;
    --line: #22313c;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 40px -16px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0; }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.125rem; max-width: 56ch; }
.eyebrow { font: 600 .8125rem/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--cyan-ink); margin-bottom: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn i { font-size: 1.15em; }
.btn--primary { background: var(--pink-deep); color: #fff; box-shadow: 0 8px 20px -10px rgb(201 6 63 / .7); }
.btn--primary:hover { background: var(--pink); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--text { height: auto; padding: 6px 0; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.btn--text:hover { text-decoration-color: var(--pink); }
.btn--sm { height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); display: grid; place-items: center; font-size: 1.2rem; cursor: pointer; transition: border-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { border-color: var(--ink-3); }
.icon-btn:active { transform: scale(.95); }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.nav__logo img { height: 62px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a, .nav__phone { text-decoration: none; font-weight: 500; font-size: .96875rem; color: var(--ink-2); transition: color .2s; }
.nav__links a:hover, .nav__phone:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); font-size: 1.6rem; cursor: pointer; border-radius: 999px; }
.mobile-menu { display: grid; padding: 8px 16px 20px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 4px; text-decoration: none; font: 500 1.125rem var(--display); border-bottom: 1px solid var(--line); }
.mobile-menu__call { color: var(--pink-deep); display: flex; gap: 8px; align-items: center; border-bottom: 0 !important; }

@media (max-width: 1080px) { .nav__links { display: none; } .nav__actions { margin-left: auto; } }
@media (max-width: 640px) {
  :root { --nav-h: 70px; }
  .nav__logo img { height: 50px; }
  .nav__phone, .nav__actions .btn { display: none; }
  .nav__toggle { display: grid; place-items: center; }
}

/* Logo needs a light chip in dark mode because "CLEANING" is dark text */
@media (prefers-color-scheme: dark) {
  .nav__logo img, .estimate__logo { background: #fff; border-radius: 12px; padding: 4px 8px; box-sizing: content-box; }
}

/* Stars + rating pill */
.stars { display: inline-flex; gap: 1px; color: #f5b301; font-size: .95rem; }
.stars--lg { font-size: 1.35rem; gap: 2px; }
.rating-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-size: .9375rem; color: var(--ink-2);
  box-shadow: var(--shadow); margin-bottom: 26px; transition: transform .25s var(--ease);
}
.rating-pill:hover { transform: translateY(-1px); }
.rating-pill strong { color: var(--ink); }

/* Hero */
.hero { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero__inner { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; min-height: calc(100dvh - var(--nav-h) - 160px); }
.hero__sub { margin-top: 22px; font-size: 1.1875rem; color: var(--ink-2); max-width: 44ch; }
.hero__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; padding-bottom: 48px; padding-right: 40px; }
.hero__photo { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__eric {
  position: absolute; right: 0; bottom: 0; width: 30%; margin: 0; border-radius: var(--r); overflow: hidden;
  border: 6px solid var(--bg); box-shadow: var(--shadow); aspect-ratio: 3 / 4;
}
.hero__eric img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { padding-right: 24px; padding-bottom: 36px; }
  .hero__eric { width: 30%; border-width: 4px; }
}
@media (max-width: 480px) {
  .hero__ctas .btn { flex: 1 1 100%; }
  .rating-pill { font-size: .875rem; }
}

/* Load-in motion */
@media (prefers-reduced-motion: no-preference) {
  [data-rise] { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  [data-reveal].is-in { opacity: 1; transform: none; }
}

/* Facts */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__list li { display: flex; gap: 14px; align-items: flex-start; padding: 26px 20px 26px 0; }
.facts__list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.facts__list i { font-size: 1.6rem; color: var(--cyan-ink); margin-top: 2px; }
.facts__list span { display: grid; font-size: .9375rem; color: var(--ink-3); line-height: 1.4; }
.facts__list strong { color: var(--ink); font: 600 1rem/1.3 var(--display); margin-bottom: 2px; }
@media (max-width: 900px) {
  .facts__list { grid-template-columns: 1fr 1fr; }
  .facts__list li { padding: 20px 12px 20px 0; }
  .facts__list li + li { padding-left: 0; border-left: 0; }
  .facts__list li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .facts__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) { .facts__list i { display: none; } }

/* Services bento */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "win win house house"
    "win win roof gutter"
    "flat flat deck deck"
    "solar solar extra extra";
}
.tile { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); min-height: 260px; display: flex; flex-direction: column; }
.tile > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover > img, .tile:hover .tile__img img { transform: scale(1.04); }
.tile__body { position: relative; padding: 24px; display: grid; gap: 8px; align-content: start; }
.tile__body p { color: var(--ink-2); font-size: .975rem; max-width: 48ch; }
.tile__body--over { margin-top: auto; color: var(--on-photo); padding-top: 120px; background: linear-gradient(to top, rgb(8 18 26 / .86) 0%, rgb(8 18 26 / .55) 55%, transparent 100%); }
.tile__body--over h3 { color: #fff; }
.tile__body--over p { color: rgb(255 255 255 / .86); }
.tile__img { height: 150px; overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile__link { display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; color: #fff; font-weight: 600; text-decoration: none; }
.tile__link i { transition: transform .3s var(--ease); }
.tile__link:hover i { transform: translateX(3px); }
.tile--windows { grid-area: win; min-height: 560px; }
.tile--house { grid-area: house; }
.tile--roof { grid-area: roof; }
.tile--gutters { grid-area: gutter; }
.tile--flat { grid-area: flat; min-height: 300px; }
.tile--deck { grid-area: deck; min-height: 300px; }
.tile--solar { grid-area: solar; min-height: 300px; }
.tile--extras { grid-area: extra; background: var(--tint); border-color: transparent; justify-content: center; }
.chips { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9375rem; font-weight: 500; }
.chips i { color: var(--cyan-ink); font-size: 1.1rem; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "win win" "house house" "roof gutter" "flat flat" "deck deck" "solar solar" "extra extra"; }
  .tile--windows { min-height: 460px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "win" "house" "roof" "gutter" "flat" "deck" "solar" "extra"; }
  .tile--windows { min-height: 420px; }
}

/* Window process: numbered photo cards */
.layers__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.layer img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--tint); }
.layer h3 { margin-top: 18px; display: flex; gap: 10px; align-items: baseline; }
.layer h3 span { font: 600 .875rem/1 var(--display); color: var(--pink-deep); }
.layer p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; max-width: 46ch; }
@media (max-width: 960px) {
  .layers__grid {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(250px, 74%);
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin;
    margin-right: calc(clamp(16px, 4vw, 40px) * -1); padding-right: clamp(16px, 4vw, 40px);
  }
  .layer { scroll-snap-align: start; }
}

/* Equipment on the truck */
.kit { background: var(--surface); border-block: 1px solid var(--line); }
.kit__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.kit__fig { margin: 0; }
.kit__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.kit__fig figcaption { margin-top: 18px; }
.kit__fig p { margin-top: 8px; color: var(--ink-2); max-width: 56ch; }
@media (max-width: 760px) { .kit__pair { grid-template-columns: 1fr; } }

/* Reviews */
.reviews__top { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: end; margin-bottom: 40px; }
.reviews__score { display: flex; align-items: center; gap: 18px; padding-right: clamp(24px, 5vw, 64px); border-right: 1px solid var(--line); }
.reviews__big { font: 600 clamp(4rem, 8vw, 6rem)/.9 var(--display); letter-spacing: -.05em; }
.reviews__count { color: var(--ink-3); margin-top: 6px; font-size: .9375rem; }
.reviews__formerly { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; max-width: 46ch; color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.reviews__formerly i { color: var(--pink); font-size: 1.25rem; margin-top: 1px; flex: none; }
.reviews__formerly strong { color: var(--ink); font-weight: 600; }
.review__renamed { display: flex; align-items: flex-start; gap: 6px; margin-top: 12px; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--pink) 8%, transparent); color: var(--ink-2); font-size: .8125rem; line-height: 1.4; }
.review__renamed i { color: var(--pink); font-size: 1rem; margin-top: 1px; flex: none; }
.reviews__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 32px) / 3)); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 20px; scrollbar-width: none;
}
.reviews__rail::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
}
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; background: var(--tint); flex: none; display: grid; place-items: center; font: 600 1rem var(--display); color: var(--cyan-ink); }
.review__name { font: 600 1rem/1.2 var(--display); }
.review__when { font-size: .8125rem; color: var(--ink-3); }
.review__text { color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-open .review__text { -webkit-line-clamp: unset; display: block; }
.review__more { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--ink); font: 600 .9375rem var(--body); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); cursor: pointer; }
.review__g { margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--ink-3); }
.review--skeleton { min-height: 260px; }
.review--skeleton span { display: block; height: 14px; border-radius: 8px; background: linear-gradient(90deg, var(--tint), var(--line), var(--tint)); background-size: 200% 100%; }
.review--skeleton span:first-child { width: 50%; height: 44px; border-radius: 22px; }
.review--skeleton span:nth-child(3) { width: 70%; }
@media (prefers-reduced-motion: no-preference) {
  .review--skeleton span { animation: shimmer 1.4s linear infinite; }
  @keyframes shimmer { to { background-position: -200% 0; } }
}
.reviews__empty { padding: 40px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--ink-3); }
.reviews__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.reviews__nav { display: flex; gap: 8px; }
@media (max-width: 760px) {
  .reviews__top { grid-template-columns: 1fr; }
  .reviews__score { border-right: 0; padding-right: 0; }
  .reviews__rail { grid-auto-columns: 86%; }
}

/* Area marquee */
.area { padding-block: clamp(56px, 8vw, 96px); overflow: hidden; }
.area__head h2 { max-width: 22ch; }
.marquee { margin-top: 36px; border-block: 1px solid var(--line); padding-block: 22px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 48px; }
.marquee__track span { font: 500 clamp(1.5rem, 3vw, 2.25rem)/1 var(--display); letter-spacing: -.02em; color: var(--ink-3); white-space: nowrap; }
.marquee__track span:nth-child(3n+1) { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: slide 48s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(calc(-50% - 24px)); } }
}
.area__list { margin-top: 24px; color: var(--ink-3); font-size: .9375rem; }

/* Estimate */
.estimate { background: var(--tint); }
.estimate__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.estimate__card { position: sticky; top: calc(var(--nav-h) + 24px); }
.estimate__logo { width: 180px; margin-bottom: 28px; }
.estimate__card > p { margin-top: 14px; color: var(--ink-2); font-size: 1.0625rem; max-width: 38ch; }
.contact { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.contact li { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; align-items: center; }
.contact i { font-size: 1.3rem; color: var(--cyan-ink); }
.contact a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact a:hover { color: var(--pink-deep); }
.contact span:not(.contact__plain) { grid-column: 2; font-size: .875rem; color: var(--ink-3); }
.contact__plain { color: var(--ink-2); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 4vw, 40px); display: grid; gap: 20px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .9375rem; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 10px; }
.field__opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan-ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 22%, transparent); }
.field input[aria-invalid="true"] { border-color: #c4122f; }
.field__help { font-size: .875rem; color: var(--ink-3); }
.field__error { font-size: .875rem; color: #b3102b; font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
@media (prefers-color-scheme: dark) { .field__error { color: #ff7a8f; } .field input[aria-invalid="true"] { border-color: #ff7a8f; } }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: .9375rem; color: var(--ink-2); background: var(--bg); transition: all .2s var(--ease); }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pick input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form__status { font-size: .9375rem; color: var(--ink-2); }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 14px 16px; border-radius: var(--r-sm); background: var(--tint); color: var(--ink); }
@media (max-width: 860px) {
  .estimate__inner { grid-template-columns: 1fr; }
  .estimate__card { position: static; }
}
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* Footer */
.footer { margin-top: -1px; }
.footer__wave { display: block; width: 100%; height: clamp(48px, 7vw, 110px); background: var(--tint); }
.footer__wave-pink { fill: var(--pink); }
.footer__wave-blue { fill: #06b0dd; }
.footer__body { background: #06b0dd; color: #06222d; padding: 8px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.footer__name { font: 600 1.5rem/1.2 var(--display); color: #041a22; margin-bottom: 6px; }
.footer__links { display: grid; gap: 8px; text-align: right; }
.footer__links a { color: #041a22; font-weight: 600; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__legal { grid-column: 1 / -1; font-size: .875rem; padding-top: 20px; border-top: 1px solid rgb(4 26 34 / .2); }
@media (max-width: 640px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { text-align: left; }
}

/* Floating call button on phones */
.call-fab {
  display: none; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 999px; background: var(--pink-deep); color: #fff; place-items: center; font-size: 1.5rem;
  box-shadow: 0 12px 28px -8px rgb(201 6 63 / .7); text-decoration: none; transition: transform .3s var(--ease), opacity .3s;
}
.call-fab.is-hidden { transform: translateY(90px); opacity: 0; }
@media (max-width: 640px) { .call-fab { display: grid; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Mobile: call + estimate locked to the bottom (replaces the floating call button) */
.mbar { display: none; }
@media (max-width: 640px) {
  .call-fab { display: none !important; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 28px -14px rgb(6 34 49 / .35);
  }
  .mbar .btn { height: 50px; padding: 0 12px; font-size: .9375rem; min-width: 0; }
  .mbar__call { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; gap: 6px; }
  .mbar__call i { color: var(--pink-deep); }
  .footer__body { padding-bottom: calc(40px + 72px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) and (prefers-color-scheme: dark) {
  .mbar__call { border-color: rgb(255 255 255 / .35); color: #fff; }
  .mbar__call i { color: #ff8fb0; }
}
@media (max-width: 360px) { .mbar__call { font-size: .8125rem !important; } }

/* Before and after */
.results__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.results__tabs button {
  height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink-2); font: 500 .9375rem/1 var(--body); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.results__tabs button:hover { border-color: var(--ink-3); color: var(--ink); }
.results__tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.results__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.ba { margin: 0; }
.ba[hidden] { display: none; }
.ba__frame { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--tint); user-select: none; touch-action: pan-y; }
.ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: 12px; z-index: 2; padding: 6px 12px; border-radius: 999px;
  font: 600 .8125rem/1 var(--body); color: #fff; background: rgb(8 18 26 / .62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none;
}
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; background: var(--pink-deep); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 3px; margin-left: -1.5px;
  background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .12); pointer-events: none;
}
.ba__handle i {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  background: #fff; color: #0e1a24; font-size: 1.25rem; box-shadow: 0 4px 14px rgb(0 0 0 / .3);
}
.ba__range {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba__frame:has(.ba__range:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 3px; }
.ba figcaption { margin-top: 12px; font-weight: 600; font-size: .9875rem; color: var(--ink); }
.results__more { margin-top: 28px; }
.results__more[hidden] { display: none; }
@media (max-width: 900px) { .results__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .results__grid { grid-template-columns: 1fr; }
  .results__tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .results__tabs::-webkit-scrollbar { display: none; }
  .results__tabs button { flex: none; }
}
