/* =========================================================
   The Brillo — styles
   Palette comes ONLY from the brand (Palette Colors.png) + white.
   ========================================================= */

:root {
  /* Brand palette */
  --navy: #004469;   /* primary text, buttons, dark sections */
  --blue: #386E8B;   /* secondary text (AA on white and on sky) */
  --mist: #7AAABD;   /* decoration, borders, lines only (not for small text) */
  --sky:  #C2F3FF;   /* light brand background, logo background */
  --white: #FFFFFF;

  /* Derived tints (same hues, just transparency) */
  --navy-08: rgba(0, 68, 105, 0.08);
  --navy-14: rgba(0, 68, 105, 0.14);
  --navy-30: rgba(0, 68, 105, 0.30);
  --sky-12: rgba(194, 243, 255, 0.12);
  --sky-24: rgba(194, 243, 255, 0.24);
  --sky-70: rgba(194, 243, 255, 0.78);
  --mist-40: rgba(122, 170, 189, 0.40);

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --header-h: 68px;
}

/* ---------- Base / mobile-native baseline ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

input, select, textarea { font-size: 16px; font-family: inherit; }
button, a, [role="button"], summary, label { touch-action: manipulation; }
button, .btn, summary, .seg label, .check { user-select: none; -webkit-user-select: none; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}
.section-navy :focus-visible,
.contact :focus-visible,
.statement :focus-visible { outline-color: var(--sky); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

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

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

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.source {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--blue);
  opacity: 0.95;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.2 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 0.95rem; }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-sky { background: var(--sky); color: var(--navy); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--sky-70); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--blue); }
  .btn-ghost:hover { background: var(--navy); color: var(--white); }
  .btn-sky:hover { background: var(--white); }
  .btn-outline-light:hover { background: var(--sky); color: var(--navy); border-color: var(--sky); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(194, 243, 255, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--navy-14); background: rgba(255, 255, 255, 0.86); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }

.main-nav { display: none; }
@media (min-width: 960px) {
  .main-nav { display: flex; gap: 28px; }
  .main-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--navy);
    padding: 6px 0;
    background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px;
    transition: background-size 220ms var(--ease-out);
  }
}
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover { background-size: 100% 2px; }
}

/* ---------- Decorative sparkles (from the logo) ---------- */
.spark { position: absolute; color: var(--white); pointer-events: none; }
.spark-a { width: 34px; height: 34px; top: 9%; right: 8%; }
.spark-b { width: 18px; height: 18px; top: 22%; right: 20%; color: var(--mist); }
.spark-c { width: 22px; height: 22px; bottom: 12%; left: 4%; color: var(--mist); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sky);
  padding: 36px 0 64px;
}
.hero::after {
  /* soft white glow so the section isn't a flat block */
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 80vmax;
  height: 80vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-title {
  margin-top: 14px;
  font-size: clamp(2.9rem, 11.5vw, 7.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 13ch;
  text-wrap: balance;
}
.hero-title em { font-size: 1.08em; letter-spacing: -0.02em; color: var(--blue); }

.hero-grid {
  display: grid;
  row-gap: 28px;
}
.hero-visual { margin-top: 12px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 1px 0 var(--navy-08);
}
.hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mist); }

.hero-lead {
  margin-top: 18px;
  max-width: 38ch;
  font-size: 1.15rem;
  color: var(--navy);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.hero-actions .btn { width: 100%; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue);
}
.trust-row li { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .icon { width: 1.1em; height: 1.1em; color: var(--navy); }

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(76%, 300px);
  padding-bottom: 120px;
}
.hero-seal {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 30px 60px -30px var(--navy-30);
}
.glass-card {
  position: absolute;
  left: -14%;
  right: -14%;
  bottom: 0;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px -24px var(--navy-30);
}
.glass-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.glass-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 4px 0;
}
.glass-card .icon { width: 1.05em; height: 1.05em; color: var(--blue); }

@media (min-width: 600px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
}

@media (min-width: 900px) {
  .hero { padding: 56px 0 96px; }
  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-areas: "head visual" "body visual";
    grid-template-rows: auto 1fr;
    column-gap: 56px;
    row-gap: 32px;
  }
  .hero-copy-head { grid-area: head; }
  .hero-copy-body { grid-area: body; }
  .hero-visual { grid-area: visual; align-self: start; justify-self: end; width: min(100%, 400px); margin-top: 28px; padding-bottom: 70px; }
  .hero-title { font-size: clamp(3.6rem, 6.4vw, 6rem); }
  .glass-card { left: -48px; right: auto; width: 290px; }
}

/* Hero entrance — one-time, short stagger. Opacity only when reduced motion. */
@keyframes enter-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes enter-fade { from { opacity: 0; } to { opacity: 1; } }

.js [data-enter] { animation: enter-up 620ms var(--ease-out) both; }
.js .hero .eyebrow[data-enter] { animation-delay: 0ms; }
.js .hero-title[data-enter] { animation-delay: 60ms; }
.js .hero-tag[data-enter] { animation-delay: 160ms; }
.js .hero-lead[data-enter] { animation-delay: 210ms; }
.js .hero-actions[data-enter] { animation-delay: 270ms; }
.js .trust-row[data-enter] { animation-delay: 320ms; }
.js .hero-visual[data-enter] { animation-delay: 140ms; }

/* ---------- Scroll reveal (once) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .js [data-enter] { animation: enter-fade 300ms ease both; }
  .js .reveal { transform: none; }
  .js .reveal.is-in { transition: opacity 300ms ease; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; position: relative; }
.section-tight { padding: 24px 0 72px; }
.section-sky { background: var(--sky); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy .eyebrow { color: var(--sky); }
.section-navy em { color: var(--sky); }

@media (min-width: 900px) {
  .section { padding: 112px 0; }
  .section-tight { padding: 32px 0 112px; }
}

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 {
  margin-top: 12px;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section-head h2 em { color: var(--blue); }
.section-navy .section-head h2 em { color: var(--sky); }
.section-intro { margin-top: 16px; font-size: 1.1rem; max-width: 60ch; }
.section-navy .section-intro { color: var(--sky); }

@media (min-width: 900px) { .section-head { margin-bottom: 56px; } }

/* ---------- Why it matters: timeline ---------- */
.timeline {
  counter-reset: tl;
  display: grid;
  gap: 0;
  position: relative;
}
.tl-step {
  position: relative;
  padding: 0 0 32px 64px;
}
.tl-step::before {
  /* vertical connector on mobile */
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 4px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--mist) 0 6px, transparent 6px 12px);
}
.tl-step:last-child { padding-bottom: 0; }
.tl-step:last-child::before { display: none; }
.tl-icon {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--navy);
}
.tl-icon .icon { width: 24px; height: 24px; }
.tl-step.is-risk .tl-icon { background: var(--navy); color: var(--sky); }
.tl-step h3 { font-size: 1.2rem; font-weight: 800; padding-top: 10px; }
.tl-step p { margin-top: 6px; color: var(--navy); max-width: 42ch; }

@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .tl-step { padding: 72px 0 0; }
  .tl-step::before {
    left: 60px;
    right: -20px;
    top: 23px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--mist) 0 6px, transparent 6px 12px);
  }
  .tl-step h3 { padding-top: 0; }
}

.fact-grid {
  display: grid;
  gap: 16px;
  margin-top: 56px;
}
.fact-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--navy-14);
}
.fact-card h3 { font-size: 1.2rem; font-weight: 800; margin-top: 14px; }
.fact-card p { margin-top: 8px; }
.fact-big {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.fact-big span { font-size: 0.55em; font-weight: 700; color: var(--blue); margin-left: 0.04em; vertical-align: 0.5em; }
.fact-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--sky);
}
.fact-icon .icon { width: 26px; height: 26px; }
.fact-card:first-child { background: var(--sky); border-color: transparent; }

@media (min-width: 760px) { .fact-grid { grid-template-columns: repeat(3, 1fr); } }

.statement {
  position: relative;
  overflow: hidden;
  margin-top: 72px;
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
}
.statement p {
  font-size: clamp(1.7rem, 5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 30ch;
  text-wrap: balance;
}
.statement em { color: var(--sky); }
@media (min-width: 900px) { .statement { margin-top: 112px; padding: 88px 0; } .section#why-it-matters { padding-bottom: 0; } }
.section#why-it-matters { padding-bottom: 0; }

/* ---------- What's included ---------- */
.feature-grid { display: grid; gap: 14px; }
.feature {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--navy);
  flex: none;
}
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { margin-top: 16px; font-size: 1.15rem; font-weight: 800; }
.feature p { margin-top: 6px; color: var(--blue); }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

.tip {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 2px dashed var(--mist);
  background: rgba(255, 255, 255, 0.45);
}
.tip .icon { width: 22px; height: 22px; margin-top: 3px; }

.sub-head {
  margin: 56px 0 18px;
  font-size: 1.5rem;
  font-weight: 800;
}
.extras-grid { display: grid; gap: 14px; }
.extra {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}
.extra .feature-icon { background: var(--sky-12); color: var(--sky); }
.extra h4 { font-size: 1.1rem; font-weight: 800; }
.extra p { margin-top: 6px; color: var(--sky); font-size: 0.98rem; }
.extra a { color: var(--white); font-weight: 700; }
@media (min-width: 900px) { .extras-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 14px; }
.step {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-14);
  background: var(--white);
}
.step-num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--mist);
}
.step h3 { margin-top: 12px; font-size: 1.2rem; font-weight: 800; }
.step p { margin-top: 8px; color: var(--blue); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--sky);
  font-weight: 600;
}
.note .icon { margin-top: 3px; }

/* ---------- Calculator ---------- */
.calc {
  display: grid;
  gap: 16px;
  align-items: start;
}
.calc-form {
  display: grid;
  gap: 26px;
  padding: 22px 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--navy);
}
.calc-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-group legend {
  padding: 0;
  margin-bottom: 12px;
  font-weight: 800;
  font-size: 1.05rem;
}
.legend-hint { font-weight: 500; color: var(--blue); }

/* Segmented radio control */
.seg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  gap: 8px;
}
.seg-wide { grid-template-columns: 1fr 1fr; }
#seg-bedrooms { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
#seg-bathrooms { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Mobile: live estimate pill that sticks to the bottom while choosing */
.calc-peek {
  position: sticky;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -6px -4px 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 12px 28px -10px var(--navy-30);
}
.calc-peek span { font-size: 0.85rem; font-weight: 600; color: var(--sky); }
.calc-peek strong { font-size: 1.1rem; font-weight: 800; margin-right: auto; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .calc-peek { display: none; } }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input, .check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.seg span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 4px;
  border-radius: 14px;
  border: 2px solid var(--navy-14);
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
  line-height: 1.2;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms var(--ease-out);
}
.seg small { font-weight: 500; font-size: 0.78rem; color: var(--blue); }
.seg label:active span { transform: scale(0.97); }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.seg input:checked + span small { color: var(--sky); }
.seg input:focus-visible + span, .check input:focus-visible + .check-box { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .seg label:hover input:not(:checked) + span { border-color: var(--mist); }
  .check:hover { border-color: var(--mist); }
}

/* Extras checkboxes */
.checks { display: grid; gap: 8px; }
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 2px solid var(--navy-14);
  cursor: pointer;
  position: relative;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.check-box {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 7px;
  border: 2px solid var(--blue);
  color: transparent;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.check-box .icon { width: 16px; height: 16px; }
.check input:checked + .check-box { background: var(--navy); border-color: var(--navy); color: var(--white); }
.check:has(input:checked) { border-color: var(--navy); background: rgba(194, 243, 255, 0.45); }
.check-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.check-text strong { font-weight: 700; }
.check-text small { color: var(--blue); font-size: 0.82rem; }
.check-price { font-weight: 700; font-size: 0.88rem; color: var(--blue); white-space: nowrap; }

.calc-result {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: rgba(194, 243, 255, 0.10);
  border: 1px solid var(--sky-24);
}
.result-label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); }
.result-range {
  display: block;
  margin-top: 10px;
  font-size: clamp(2.3rem, 9vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.result-from { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 0.62em; color: var(--sky); }
.result-range .to { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 0.62em; color: var(--sky); padding: 0 0.12em; }
.result-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.result-summary li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sky-12);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky);
}
.result-note { margin: 16px 0 20px; font-size: 0.92rem; color: var(--sky); }
.calc-noscript { font-weight: 600; }

@media (min-width: 900px) {
  .calc { grid-template-columns: 1.35fr 1fr; gap: 24px; }
  .calc-form { padding: 32px; }
  .calc-result { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; }
}

/* ---------- Why The Brillo ---------- */
.why-grid { display: grid; gap: 0; border-top: 1px solid var(--navy-14); }
.why {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--navy-14);
}
.why .icon { width: 28px; height: 28px; grid-row: span 2; color: var(--blue); margin-top: 2px; }
.why h3 { font-size: 1.2rem; font-weight: 800; }
.why p { margin-top: 6px; color: var(--blue); grid-column: 2; }
@media (min-width: 760px) {
  .why-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}
@media (min-width: 1040px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .why { padding: 32px 0; }
}

/* ---------- Photography card ---------- */
.photo-card {
  display: grid;
  gap: 20px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--sky);
  position: relative;
  overflow: hidden;
}
.photo-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--sky);
}
.photo-icon .icon { width: 30px; height: 30px; }
.photo-body h2 { margin-top: 8px; font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; }
.photo-body h2 em { color: var(--blue); }
.photo-body p:last-child { margin-top: 10px; max-width: 58ch; }
.photo-card .btn { justify-self: start; }
@media (min-width: 900px) {
  .photo-card { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 40px; }
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery-credit { margin-top: 10px; font-size: 0.8rem; color: var(--blue); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; } }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; gap: 14px; }
.testi {
  position: relative;
  margin: 0;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
}
.testi blockquote { margin: 0; }
.testi blockquote p { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.25; }
.testi figcaption { margin-top: 16px; font-weight: 700; font-size: 0.95rem; color: var(--blue); }
.testi-placeholder { background: rgba(255, 255, 255, 0.5); border: 2px dashed var(--mist); }
.testi-placeholder blockquote p, .testi-placeholder figcaption { color: var(--blue); }
.placeholder-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.testi-mark {
  display: block;
  height: 0.55em;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--mist);
}
@media (min-width: 760px) {
  .testi-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .testi { padding: 36px 32px; }
  .testi blockquote p { font-size: 1.85rem; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-list { border-top: 1px solid var(--navy-14); }
.faq-list details { border-bottom: 1px solid var(--navy-14); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon {
  width: 22px;
  height: 22px;
  color: var(--blue);
  transition: transform 200ms var(--ease-out);
}
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { padding: 0 40px 22px 0; color: var(--blue); max-width: 62ch; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.contact-inner { display: grid; justify-items: center; gap: 18px; position: relative; z-index: 1; }
.contact-seal { width: 128px; height: 128px; border-radius: 50%; border: 4px solid var(--sky-24); }
.contact h2 { font-size: clamp(2.2rem, 7vw, 4.2rem); font-weight: 800; letter-spacing: -0.04em; max-width: 16ch; text-wrap: balance; }
.contact h2 em { color: var(--sky); }
.contact p { color: var(--sky); font-size: 1.1rem; max-width: 44ch; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 420px; margin-top: 8px; }
.spark-d { width: 30px; height: 30px; top: 14%; left: 10%; color: var(--sky); opacity: 0.8; }
.spark-e { width: 18px; height: 18px; bottom: 18%; right: 12%; color: var(--mist); }
@media (min-width: 700px) {
  .contact { padding: 120px 0; }
  .contact-actions { flex-direction: row; justify-content: center; max-width: none; width: auto; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--sky);
  border-top: 1px solid var(--sky-12);
  padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px));
  font-size: 0.92rem;
}
.footer-inner { display: grid; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; }
.footer-name { font-weight: 800; color: var(--white); font-size: 1.05rem; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-meta a { color: var(--white); font-weight: 600; text-underline-offset: 3px; }
.footer-copy { color: var(--sky); opacity: 0.85; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-copy { grid-column: 1 / -1; }
}

/* ---------- Floating WhatsApp button ---------- */
.fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: 3px solid var(--sky);
  box-shadow: 0 14px 30px -10px var(--navy-30);
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  pointer-events: none;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.fab .icon { width: 28px; height: 28px; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab.is-visible:active { transform: scale(0.95); }
.no-js .fab, html:not(.js) .fab { opacity: 1; transform: none; pointer-events: auto; }
