/* =========================================================
   Family Care & Home Assistance Uganda
   Static site stylesheet.

   THEME: light by default, dark automatically when the visitor's
   device is set to dark mode. To force one, put data-theme="light"
   or data-theme="dark" on the <html> element.

   Accent: peach. Secondary brand touch: sky blue.
   Radius rule: cards 20px, panels 24-28px, inputs 12px, buttons pill.
   ========================================================= */

/* ---------- Fixed brand scales (identical in both themes) ---------- */
:root {
  --ink-950: #060a12;
  --ink-900: #0a1020;
  --ink-850: #0e1628;
  --ink-800: #131d33;
  --ink-700: #1c2a47;

  --peach-200: #ffe4d3;
  --peach-300: #ffcdb0;
  --peach-400: #ffb08a;
  --peach-500: #ff9466;
  --peach-600: #f0733f;
  --peach-700: #bd4718;
  --on-peach: #1a0e08;

  --sky-300: #a9d2ff;
  --sky-400: #7db9ff;
  --sky-500: #4e9bff;
  --sky-700: #1a5fbf;

  --on-media: #ffffff;
  --on-media-2: rgba(255, 255, 255, 0.84);

  --r-card: 20px;
  --r-panel: 24px;
  --r-input: 12px;
  --r-pill: 999px;

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 72px;
  --container: 1280px;
}

/* ---------- LIGHT THEME (default) ---------- */
:root {
  color-scheme: light;

  --bg: #fcf9f7;
  --bg-2: #f5efe9;
  --surface: #ffffff;
  --surface-2: #fffaf6;
  --surface-solid: #ffffff;
  --surface-deep: #fff2ea;
  --chip-active: rgba(16, 26, 43, 0.07);
  --grad-end: rgba(255, 255, 255, 0.94);

  --text: #101a2b;
  --text-2: #445068;
  --muted: #5f6b80;

  --line: rgba(16, 26, 43, 0.1);
  --line-2: rgba(16, 26, 43, 0.16);
  --line-strong: rgba(16, 26, 43, 0.3);

  --brand-ink: #a63d13;
  --brand-soft: rgba(255, 148, 102, 0.18);
  --brand-glow: rgba(240, 115, 63, 0.32);
  --sky-ink: var(--sky-700);
  --sky-soft: rgba(78, 155, 255, 0.16);
  --danger-ink: #c0341c;

  --nav-bg: rgba(252, 249, 247, 0.8);
  --overlay-bg: rgba(252, 249, 247, 0.97);
  --input-bg: #ffffff;
  --input-border: rgba(16, 26, 43, 0.47);
  --placeholder: #6a7488;

  --table-bg: #ffffff;
  --table-head: #f5efe9;
  --table-zebra: rgba(16, 26, 43, 0.028);
  --minus: #767f8d;

  --shadow-card: 0 12px 30px -20px rgba(16, 26, 43, 0.3);
  --shadow-lift: 0 26px 55px -28px rgba(16, 26, 43, 0.32);
  --shadow-hero: 0 40px 90px -35px rgba(16, 26, 43, 0.42);
  --orb-op: 0.5;
}

/* ---------- DARK THEME (device setting, or forced) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --bg: #060a12;
    --bg-2: rgba(4, 7, 14, 0.72);
    --surface: rgba(255, 255, 255, 0.035);
    --surface-2: rgba(255, 255, 255, 0.06);
    --surface-solid: rgba(12, 18, 32, 0.9);
    --surface-deep: #131d33;
    --chip-active: rgba(255, 255, 255, 0.08);
    --grad-end: rgba(14, 22, 40, 0.92);

    --text: #f6f1ec;
    --text-2: #c9cfdb;
    --muted: #8e9ab3;

    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.15);
    --line-strong: rgba(255, 255, 255, 0.3);

    --brand-ink: var(--peach-400);
    --brand-soft: rgba(255, 148, 102, 0.14);
    --brand-glow: rgba(255, 148, 102, 0.55);
    --sky-ink: var(--sky-300);
    --sky-soft: rgba(78, 155, 255, 0.16);
    --danger-ink: #ff9b8a;

    --nav-bg: rgba(6, 10, 18, 0.72);
    --overlay-bg: rgba(6, 10, 18, 0.96);
    --input-bg: rgba(255, 255, 255, 0.045);
    --input-border: rgba(255, 255, 255, 0.15);
    --placeholder: #8791a6;

    --table-bg: rgba(10, 16, 32, 0.6);
    --table-head: rgba(255, 255, 255, 0.04);
    --table-zebra: rgba(255, 255, 255, 0.025);
    --minus: #4a5670;

    --shadow-card: 0 20px 40px -24px rgba(0, 0, 0, 0.6);
    --shadow-lift: 0 30px 60px -20px rgba(0, 0, 0, 0.65);
    --shadow-hero: 0 50px 100px -30px rgba(0, 0, 0, 0.75);
    --orb-op: 0.6;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #060a12;
  --bg-2: rgba(4, 7, 14, 0.72);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-solid: rgba(12, 18, 32, 0.9);
  --surface-deep: #131d33;
  --chip-active: rgba(255, 255, 255, 0.08);
  --grad-end: rgba(14, 22, 40, 0.92);

  --text: #f6f1ec;
  --text-2: #c9cfdb;
  --muted: #8e9ab3;

  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --line-strong: rgba(255, 255, 255, 0.3);

  --brand-ink: var(--peach-400);
  --brand-soft: rgba(255, 148, 102, 0.14);
  --brand-glow: rgba(255, 148, 102, 0.55);
  --sky-ink: var(--sky-300);
  --sky-soft: rgba(78, 155, 255, 0.16);
  --danger-ink: #ff9b8a;

  --nav-bg: rgba(6, 10, 18, 0.72);
  --overlay-bg: rgba(6, 10, 18, 0.96);
  --input-bg: rgba(255, 255, 255, 0.045);
  --input-border: rgba(255, 255, 255, 0.15);
  --placeholder: #8791a6;

  --table-bg: rgba(10, 16, 32, 0.6);
  --table-head: rgba(255, 255, 255, 0.04);
  --table-zebra: rgba(255, 255, 255, 0.025);
  --minus: #4a5670;

  --shadow-card: 0 20px 40px -24px rgba(0, 0, 0, 0.6);
  --shadow-lift: 0 30px 60px -20px rgba(0, 0, 0, 0.65);
  --shadow-hero: 0 50px 100px -30px rgba(0, 0, 0, 0.75);
  --orb-op: 0.6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--text-2); max-width: 58ch; }
.muted { color: var(--muted); }
.accent { color: var(--brand-ink); }
.sky { color: var(--sky-ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.6rem 1rem; background: var(--peach-500); color: var(--on-peach);
  border-radius: var(--r-pill); font-weight: 600; transition: top 0.2s;
}
.skip:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), 100% - 2 * clamp(20px, 5vw, 48px));
  margin-inline: auto;
}
main { position: relative; z-index: 1; }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head p { margin-top: 1rem; }
.section-head .actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Background orbs ---------- */
.orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: var(--orb-op); will-change: transform; }
.orb-peach {
  width: 58vw; height: 58vw; left: -20vw; top: -24vw;
  background: radial-gradient(circle, rgba(255, 148, 102, 0.5), rgba(255, 148, 102, 0) 65%);
  animation: drift 24s ease-in-out infinite alternate;
}
.orb-sky {
  width: 46vw; height: 46vw; right: -16vw; top: 14vh;
  background: radial-gradient(circle, rgba(78, 155, 255, 0.38), rgba(78, 155, 255, 0) 65%);
  animation: drift 30s ease-in-out infinite alternate-reverse;
}
.orb-peach2 {
  width: 50vw; height: 50vw; left: 20vw; bottom: -30vw;
  background: radial-gradient(circle, rgba(255, 148, 102, 0.28), rgba(255, 148, 102, 0) 65%);
  animation: drift 36s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(6vw, 7vh, 0) scale(1.08); } }

/* ---------- Navigation ---------- */
#top-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
/* The full company name is the lockup. "Uganda" sits beneath it as a locator.
   The markup keeps a real space between the words so it reads correctly with
   no stylesheet, in reader modes and to screen readers. */
.brand {
  display: flex; align-items: center; gap: 0.7rem; min-width: 0;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.12;
  font-size: clamp(0.84rem, 0.7rem + 0.45vw, 1.06rem);
}
.brand-name { display: block; }
.brand-name small {
  display: block; margin-top: 0.22rem;
  font-size: 0.64em; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brand-ink);
}
.mark { flex: none; width: clamp(28px, 1.2vw + 22px, 36px); height: auto; }
.nav-links {
  display: flex; gap: 0.2rem; list-style: none; padding: 0.3rem;
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface);
}
.nav-links a {
  display: block; padding: 0.5rem 0.95rem; border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 500; color: var(--text-2); transition: color 0.25s, background 0.25s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--chip-active); }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
.icon-btn {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; transition: background 0.25s;
}
.icon-btn:hover { background: var(--chip-active); }
.nav-toggle { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--overlay-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 0.3rem;
  padding: clamp(1.5rem, 6vw, 3rem);
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu a.menu-link {
  font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 700;
  letter-spacing: -0.03em; color: var(--text-2); padding: 0.35rem 0;
  transform: translateY(12px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), color 0.2s;
  transition-delay: calc(var(--i) * 60ms);
}
.menu.open a.menu-link { transform: none; opacity: 1; }
.menu a.menu-link[aria-current="page"], .menu a.menu-link:hover { color: var(--brand-ink); }
.menu .close { position: absolute; top: 0.9rem; right: clamp(1rem, 5vw, 2.4rem); }
.menu .menu-foot { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

/* The longer company name needs the room, so the links fold into the menu a little earlier. */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 600px) {
  .nav-cta .btn { display: none; }
  .nav-inner { gap: 0.75rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.45rem; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; white-space: nowrap; position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.35s, background 0.3s, border-color 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn .ph { font-size: 1.15em; }
.btn-primary {
  background: linear-gradient(135deg, var(--peach-300), var(--peach-500) 60%, var(--peach-600));
  color: var(--on-peach);
  box-shadow: 0 10px 30px -12px var(--brand-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px var(--brand-glow); }
.btn-ghost { border-color: var(--line-2); background: var(--surface); color: var(--text); }
.btn-ghost:hover { border-color: var(--line-strong); background: var(--chip-active); transform: translateY(-2px); }
.btn-dark { background: var(--ink-950); color: #f6f1ec; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45); }
.btn-dark:hover { transform: translateY(-2px); background: var(--ink-900); }
.btn-lg { padding: 1.05rem 1.75rem; font-size: 1.02rem; }
.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.86rem; }
.btn-block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--brand-ink); }
.link .ph { transition: transform 0.3s var(--ease); }
.link:hover .ph { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin: 1.2rem 0 1.3rem; }
.hero .lead { max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-visual { position: relative; perspective: 1200px; }
.hero-frame {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-hero), 0 0 0 1px var(--line-2);
  transform-style: preserve-3d; transition: transform 0.6s var(--ease);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 10, 18, 0.55), transparent 45%);
}
.hero-card { position: absolute; left: -2.5rem; bottom: 2.4rem; width: min(340px, 88%); }
.hero-glow {
  position: absolute; inset: -12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle at 30% 70%, rgba(255, 148, 102, 0.35), transparent 55%),
              radial-gradient(circle at 80% 20%, rgba(78, 155, 255, 0.3), transparent 50%);
  filter: blur(40px);
}
[data-enter] { opacity: 0; transform: translateY(18px); animation: enter 0.9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes enter { to { opacity: 1; transform: none; } }

@media (max-width: 1023px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-frame { aspect-ratio: 4 / 3; }
  .hero-card { left: 1rem; bottom: 1rem; }
}
@media (max-width: 640px) {
  .hero-card { position: static; width: 100%; margin-top: 1rem; }
}

/* ---------- Family visit report component ---------- */
.report {
  background: var(--surface-solid);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2); border-radius: var(--r-card);
  padding: 1.2rem 1.3rem; box-shadow: var(--shadow-lift); font-size: 0.9rem;
}
.report.large { padding: 1.7rem 1.8rem; font-size: 0.98rem; }
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.9rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); }
.report-head strong { font-family: var(--font-display); font-size: 0.95em; display: flex; align-items: center; gap: 0.5rem; }
.report-head strong .ph { color: var(--brand-ink); }
.report-head time { color: var(--muted); font-size: 0.85em; white-space: nowrap; }
.report-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; color: var(--muted); font-size: 0.85em; margin-bottom: 0.8rem; }
.report-meta b { color: var(--text-2); font-weight: 600; }
.report ul { list-style: none; display: grid; gap: 0.5rem; }
.report li { display: flex; gap: 0.6rem; align-items: center; color: var(--text-2); }
.js .report li { opacity: 0; transform: translateX(-6px); }
.js .report.in li { animation: tick 0.55s var(--ease) forwards; animation-delay: calc(var(--i) * 140ms + 200ms); }
.report li .ph { color: var(--brand-ink); font-size: 1.15em; background: var(--brand-soft); border-radius: 50%; padding: 0.2rem; flex: none; }
@keyframes tick { to { opacity: 1; transform: none; } }
.report-note { margin-top: 0.9rem; padding-top: 0.85rem; border-top: 1px solid var(--line); display: grid; gap: 0.4rem; font-size: 0.9em; color: var(--text-2); }
.report-note b { color: var(--sky-ink); font-weight: 600; }

/* ---------- Clocks band ---------- */
.clocks {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(78, 155, 255, 0.08), transparent 38%, transparent 62%, rgba(255, 148, 102, 0.1));
}
.clocks-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding-block: 2.4rem; }
.clock { display: grid; gap: 0.25rem; }
.clock .city { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.clock time { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.clock .meta { color: var(--text-2); font-size: 0.9rem; }
.clock.you time { color: var(--sky-ink); }
.clock.kla time { color: var(--brand-ink); }
.clock.kla { text-align: right; }
.clocks-mid { text-align: center; max-width: 30ch; color: var(--text-2); display: grid; gap: 0.5rem; justify-items: center; font-size: 0.95rem; }
.clocks-mid .ph { font-size: 2rem; color: var(--brand-ink); }
@media (max-width: 760px) {
  .clocks-grid { grid-template-columns: 1fr 1fr; }
  .clocks-mid { grid-column: 1 / -1; order: 3; max-width: none; }
}

/* ---------- Hub ring (one number instead of seven) ---------- */
.hub-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.values-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.ring { position: relative; width: min(540px, 100%); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.ring::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: 1px dashed var(--line-2); }
.ring::after { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 148, 102, 0.28), transparent 70%); filter: blur(12px); }
.hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 32cqw; height: 32cqw; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 1rem;
  background: linear-gradient(135deg, var(--peach-300), var(--peach-600)); color: var(--on-peach);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(0.85rem, 3cqw, 1.05rem); line-height: 1.15;
  box-shadow: 0 0 0 10px rgba(255, 148, 102, 0.14), 0 30px 60px -24px var(--brand-glow);
}
.hub .ph { font-size: 1.8em; margin-bottom: 0.2rem; }
.node {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  --a: calc(var(--i) * (360deg / 7) - 90deg);
  transform: translate(-50%, -50%) rotate(var(--a)) translate(43cqw) rotate(calc(-1 * var(--a)));
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.95rem;
  border-radius: var(--r-pill); background: var(--surface-solid); border: 1px solid var(--line-2);
  font-size: 0.86rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.7s var(--ease); transition-delay: calc(var(--i) * 90ms + 150ms);
}
.node .ph { color: var(--sky-ink); font-size: 1.1rem; }
.js .ring:not(.in) .node { opacity: 0; }
@media (max-width: 1023px) { .hub-wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ring { aspect-ratio: auto; display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
  .ring::before, .ring::after { display: none; }
  .hub { position: static; transform: none; width: 100%; height: auto; border-radius: var(--r-card); margin-bottom: 0.6rem; padding: 1.2rem; display: flex; gap: 0.6rem; }
  .node, .js .ring:not(.in) .node { position: static; transform: none; opacity: 1; }
}

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(190px, auto); gap: 1rem; }
.cell {
  position: relative; border-radius: var(--r-card); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); background: var(--surface); padding: 1.6rem;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px;
  box-shadow: var(--shadow-card); transition: border-color 0.3s;
}
.cell:hover { border-color: var(--line-strong); }
.cell.img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.cell.img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 10, 18, 0.94) 18%, rgba(6, 10, 18, 0.3) 65%, rgba(6, 10, 18, 0.08)); }
.cell:hover img { transform: scale(1.05); }
.cell h3 { margin: 0.5rem 0 0.4rem; font-size: 1.25rem; }
.cell p { color: var(--text-2); font-size: 0.94rem; max-width: 42ch; }

/* Cards that sit on a photograph keep light text in both themes */
.cell.img { color: var(--on-media); }
.cell.img h3 { color: var(--on-media); }
.cell.img p { color: var(--on-media-2); }
.cell.img .ico { background: rgba(255, 255, 255, 0.16); color: var(--on-media); }

.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--brand-soft); color: var(--brand-ink); font-size: 1.45rem;
}
.ico.blue { background: var(--sky-soft); color: var(--sky-ink); }
.cell .ico { margin-bottom: auto; }
.cell.tint-peach { background: linear-gradient(150deg, rgba(255, 148, 102, 0.22), rgba(255, 148, 102, 0.05) 70%); }
.cell.tint-sky { background: linear-gradient(150deg, rgba(78, 155, 255, 0.2), rgba(78, 155, 255, 0.05) 70%); }
.cell .link { margin-top: 0.8rem; font-size: 0.9rem; }
.c12 { grid-column: span 12; } .c8 { grid-column: span 8; } .c7 { grid-column: span 7; }
.c6 { grid-column: span 6; } .c5 { grid-column: span 5; } .c4 { grid-column: span 4; }
.r2 { grid-row: span 2; }
@media (max-width: 900px) { .bento > * { grid-column: span 12 !important; grid-row: auto !important; } }

/* Pointer spotlight (set by JS via --mx/--my) */
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 148, 102, 0.14), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.spot:hover::after { opacity: 1; }

/* ---------- Split / frames / features ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.rev > :first-child { order: 2; }
.frame { border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--line-2); position: relative; background: var(--surface-deep); box-shadow: var(--shadow-card); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.r43 { aspect-ratio: 4 / 3; } .frame.r45 { aspect-ratio: 4 / 5; } .frame.r169 { aspect-ratio: 16 / 9; } .frame.r219 { aspect-ratio: 21 / 9; }
.feats { display: grid; gap: 1.3rem; margin-top: 1.8rem; }
.feat { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.feat h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.feat p { color: var(--text-2); font-size: 0.95rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
}

/* ---------- Pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 1.2rem; align-items: stretch; margin-top: 1rem; }
.tier {
  position: relative; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface);
  padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; box-shadow: var(--shadow-card);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.tier:hover { border-color: var(--line-strong); }
.tier.featured {
  background: linear-gradient(160deg, rgba(255, 148, 102, 0.2), var(--grad-end) 55%);
  border-color: rgba(240, 115, 63, 0.55);
  box-shadow: 0 0 0 1px rgba(240, 115, 63, 0.18), 0 40px 80px -34px var(--brand-glow);
  transform: translateY(-12px);
}
.tier .tag {
  position: absolute; top: -0.85rem; left: 2rem; padding: 0.32rem 0.8rem; border-radius: var(--r-pill);
  background: var(--peach-500); color: var(--on-peach); font-size: 0.74rem; font-weight: 700; font-family: var(--font-display);
}
.tier h3 { font-size: 1.35rem; }
.tier .for { color: var(--muted); font-size: 0.92rem; margin-top: 0.3rem; }
.tier .price { font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.tier .price .cur { font-size: 0.95rem; color: var(--muted); vertical-align: top; margin-right: 0.3rem; letter-spacing: 0; font-weight: 600; }
.tier .price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 0.3rem; }
.tier ul { list-style: none; display: grid; gap: 0.55rem; font-size: 0.93rem; color: var(--text-2); }
.tier li { display: flex; gap: 0.6rem; align-items: flex-start; }
.tier li .ph { color: var(--brand-ink); margin-top: 0.25rem; flex: none; }
.tier .btn { margin-top: auto; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } .tier.featured { transform: none; } }

/* ---------- Tiles (verification, values) ---------- */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tile {
  border-radius: 16px; border: 1px solid var(--line); background: var(--surface); padding: 1.15rem;
  display: grid; gap: 0.7rem; align-content: start; font-size: 0.92rem; font-weight: 600;
  box-shadow: var(--shadow-card); transition: border-color 0.3s, background 0.3s;
}
.tile:hover { border-color: var(--line-strong); background: var(--surface-2); }
.tile .ph { font-size: 1.6rem; color: var(--sky-ink); }
.tile.peach .ph { color: var(--brand-ink); }
.tile p { font-weight: 400; color: var(--text-2); font-size: 0.9rem; }
@media (max-width: 1000px) { .tiles, .tiles.four { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .tiles, .tiles.four, .tiles.three { grid-template-columns: repeat(2, 1fr); } }

.never {
  margin-top: 1.2rem; border-radius: var(--r-panel); border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(78, 155, 255, 0.14), var(--grad-end) 50%);
  padding: clamp(1.6rem, 3vw, 2.4rem); display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: center;
}
.never ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.2rem; font-size: 0.93rem; color: var(--text-2); }
.never li { display: flex; gap: 0.6rem; align-items: flex-start; }
.never li .ph { color: var(--danger-ink); margin-top: 0.22rem; flex: none; }
@media (max-width: 900px) { .never { grid-template-columns: 1fr; } .never ul { grid-template-columns: 1fr; } }

/* ---------- Pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--surface); font-size: 0.9rem; font-weight: 500;
}
.pill .ph { color: var(--brand-ink); }
.pill.solid { background: var(--brand-soft); border-color: rgba(240, 115, 63, 0.35); color: var(--brand-ink); font-weight: 600; }

/* ---------- Supporting families in ----------
   One static list, each city once. The separator dot sits in the gap before
   each city; the wrapper clips the dot that would start a new line. */
.cities-title { font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: -0.01em; color: var(--muted); margin-bottom: 1rem; }
.city-clip { overflow: hidden; }
.city-list {
  --sep: 1.15em;
  list-style: none; display: flex; flex-wrap: wrap; row-gap: 0.3rem; margin-left: calc(-1 * var(--sep));
  font-family: var(--font-display); font-size: clamp(1.4rem, 3.3vw, 2.5rem); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.25; color: var(--text);
}
.city-list li { position: relative; padding-left: var(--sep); }
.city-list li::before {
  content: ""; position: absolute; left: calc(var(--sep) / 2 - 0.14em); top: 55%;
  width: 0.28em; height: 0.28em; border-radius: 50%; background: var(--peach-500); transform: translateY(-50%);
}
.city-list .home { color: var(--brand-ink); }

/* ---------- CTA block (peach in both themes) ---------- */
.cta {
  border-radius: 28px; padding: clamp(2.4rem, 6vw, 5rem); position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, var(--peach-300), var(--peach-500) 55%, #ff7f52);
  color: var(--on-peach); display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 2rem; align-items: center;
}
.cta::before {
  content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -18%; top: -45%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 155, 255, 0.5), transparent 65%); filter: blur(30px);
}
.cta h2 { color: var(--on-peach); }
.cta p { color: rgba(26, 14, 8, 0.78); margin-top: 0.8rem; max-width: 46ch; }
.cta-actions { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; justify-self: end; }
.cta-actions .note { font-size: 0.85rem; color: rgba(26, 14, 8, 0.72); }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } .cta-actions { justify-self: start; } }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 4rem 0 2rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer .brand { margin-bottom: 1rem; }
.footer .tag { color: var(--text-2); max-width: 34ch; font-size: 0.95rem; }
.footer h4 { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: 0.55rem; font-size: 0.95rem; }
.footer a { color: var(--text-2); transition: color 0.2s; }
.footer a:hover { color: var(--brand-ink); }
.footer .contact-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer .contact-list .ph { color: var(--brand-ink); margin-top: 0.25rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted);
}
.footer-bottom .credit-link { color: var(--muted); text-decoration: underline; text-underline-offset: 0.2em; }
.footer-bottom .credit-link:hover { color: var(--brand-ink); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)); padding-bottom: clamp(2rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: end;
}
.page-hero h1 { margin: 1rem 0 1.2rem; font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.page-hero .frame { aspect-ratio: 16 / 10; }
.page-hero.stack { grid-template-columns: 1fr; align-items: start; }
@media (max-width: 900px) { .page-hero { grid-template-columns: 1fr; } }

/* Photographic page header: text always sits on a dark scrim, both themes */
.banner { position: relative; isolation: isolate; min-height: 72dvh; display: flex; align-items: flex-end; padding-top: var(--nav-h); color: var(--on-media); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 10, 18, 0.96) 6%, rgba(6, 10, 18, 0.72) 45%, rgba(6, 10, 18, 0.55)); }
.banner .container { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.banner h1 { margin: 1rem 0 1rem; color: var(--on-media); }
.banner .lead { color: var(--on-media-2); }
.banner .eyebrow { color: var(--peach-300); }

/* On a page that opens with a photograph, the header sits on the picture until
   the visitor scrolls, so it keeps light text in both themes. */
body:has(.banner) .nav:not(.is-scrolled) .brand { color: var(--on-media); text-shadow: 0 1px 3px rgba(6, 10, 18, 0.55); }
body:has(.banner) .nav:not(.is-scrolled) .brand small { color: var(--peach-300); }
body:has(.banner) .nav:not(.is-scrolled) .nav-links {
  background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
body:has(.banner) .nav:not(.is-scrolled) .nav-links a { color: rgba(255, 255, 255, 0.88); }
body:has(.banner) .nav:not(.is-scrolled) .nav-links a:hover,
body:has(.banner) .nav:not(.is-scrolled) .nav-links a[aria-current="page"] {
  color: var(--on-media); background: rgba(255, 255, 255, 0.22);
}
body:has(.banner) .nav:not(.is-scrolled) .icon-btn {
  color: var(--on-media); background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3);
}

/* ---------- Panels ---------- */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.panel { border-radius: var(--r-panel); padding: clamp(1.8rem, 3vw, 2.6rem); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-card); }
.panel.peach { background: linear-gradient(145deg, rgba(255, 148, 102, 0.24), rgba(255, 148, 102, 0.06)); }
.panel.sky { background: linear-gradient(145deg, rgba(78, 155, 255, 0.22), rgba(78, 155, 255, 0.06)); }
.panel > .ph { font-size: 2.1rem; color: var(--brand-ink); }
.panel.sky > .ph { color: var(--sky-ink); }
.panel.sky .link { color: var(--sky-ink); }
.panel h3 { margin: 0.8rem 0 0.6rem; font-size: 1.4rem; }
.panel p { color: var(--text-2); }
@media (max-width: 800px) { .panels { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */
.svc-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.svc-index { position: sticky; top: calc(var(--nav-h) + 1.5rem); display: grid; gap: 0.2rem; list-style: none; }
.svc-index a {
  display: flex; align-items: center; gap: 0.6rem; padding: 0.62rem 0.9rem; border-radius: 12px;
  color: var(--muted); font-weight: 500; font-size: 0.92rem; border-left: 2px solid transparent; transition: 0.25s;
}
.svc-index a .ph { font-size: 1.1rem; }
.svc-index a:hover { color: var(--text); }
.svc-index a.active { color: var(--text); background: var(--chip-active); border-left-color: var(--peach-600); }
.svc { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 1rem); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.svc-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.svc-head p { color: var(--text-2); margin-top: 0.5rem; max-width: 60ch; }
.svc .frame { margin-bottom: 1.4rem; }
.svc .note { margin-top: 1.2rem; font-size: 0.9rem; color: var(--muted); display: flex; gap: 0.5rem; align-items: flex-start; }
.svc .note .ph { color: var(--sky-ink); margin-top: 0.2rem; }
.provider-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.7rem; margin-bottom: 1.4rem; }
.provider {
  border-radius: 14px; border: 1px solid var(--line); background: var(--surface); padding: 1rem 0.8rem;
  display: grid; gap: 0.5rem; justify-items: center; text-align: center; font-size: 0.84rem; font-weight: 600;
  box-shadow: var(--shadow-card);
}
.provider .ph { font-size: 1.5rem; color: var(--brand-ink); }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } .svc-index { position: static; display: flex; flex-wrap: wrap; } .svc-index a { border-left: 0; } }
@media (max-width: 640px) { .provider-grid { grid-template-columns: repeat(3, 1fr); } }

/* Escalation ladder */
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; counter-reset: rung; list-style: none; }
.ladder li {
  position: relative; padding: 1.2rem; border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
  counter-increment: rung; font-weight: 600; font-size: 0.92rem; display: grid; gap: 0.5rem; align-content: start;
  box-shadow: var(--shadow-card);
}
.ladder li::before { content: counter(rung); font-family: var(--font-display); color: var(--on-peach); background: var(--peach-500); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; }
.ladder li span { font-weight: 400; color: var(--text-2); font-size: 0.86rem; }
@media (max-width: 900px) { .ladder { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--table-bg); box-shadow: var(--shadow-card); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.93rem; min-width: 720px; }
.compare th, .compare td { padding: 0.95rem 1.1rem; text-align: left; vertical-align: middle; }
.compare thead th { font-family: var(--font-display); font-size: 0.9rem; background: var(--table-head); border-bottom: 1px solid var(--line-2); }
.compare thead th:not(:first-child) { text-align: center; }
.compare thead th.featured { color: var(--brand-ink); }
.compare tbody th { font-weight: 500; color: var(--text-2); }
.compare tbody tr.group th { font-family: var(--font-display); font-weight: 600; color: var(--text); padding-top: 1.4rem; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.compare tbody td { text-align: center; color: var(--text-2); }
.compare tbody tr:not(.group):nth-child(even) > * { background: var(--table-zebra); }
.compare td .ph-check-circle { color: var(--brand-ink); font-size: 1.25rem; }
.compare td .ph-minus { color: var(--minus); font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.7rem; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 1.3rem; box-shadow: var(--shadow-card); transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(240, 115, 63, 0.42); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { color: var(--brand-ink); transition: transform 0.3s var(--ease); flex: none; }
.faq details[open] summary .ph { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--text-2); max-width: 70ch; }

/* ---------- Timeline (how it works) ---------- */
.timeline { position: relative; max-width: 860px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 1.3rem; padding: 1.3rem 0; position: relative; }
.step::before {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: -1.3rem; width: 2px;
  background: linear-gradient(var(--peach-500), var(--sky-500)); transform-origin: top;
  transition: transform 0.9s var(--ease) 0.2s;
}
.step:last-child::before { display: none; }
.js .step:not(.in)::before { transform: scaleY(0); }
.step .dot {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--surface-deep); border: 1px solid var(--line-2); font-size: 1.45rem; color: var(--brand-ink);
  transition: background 0.6s, box-shadow 0.6s, color 0.6s, border-color 0.6s;
}
.step.in .dot, html:not(.js) .step .dot { background: linear-gradient(135deg, var(--peach-400), var(--peach-600)); color: var(--on-peach); border-color: transparent; box-shadow: 0 0 0 8px rgba(255, 148, 102, 0.16); }
.step-body { padding-top: 0.6rem; }
.step h3 { margin-bottom: 0.35rem; font-size: 1.2rem; }
.step p { color: var(--text-2); max-width: 60ch; }
.step .pills { margin-top: 0.9rem; }
.step .pill { font-size: 0.82rem; padding: 0.4rem 0.8rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.channels { display: grid; gap: 0.8rem; margin-top: 2rem; }
.channel {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 1rem; align-items: center;
  padding: 1.1rem 1.2rem; border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-card); transition: border-color 0.3s, transform 0.3s var(--ease);
}
.channel:hover { border-color: var(--line-strong); transform: translateX(4px); }
.channel .ico { width: 48px; height: 48px; }
.channel strong { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.channel span { color: var(--muted); font-size: 0.88rem; }
.channel > .ph-arrow-up-right { color: var(--muted); }
.form {
  display: grid; gap: 1.1rem; border: 1px solid var(--line-2); border-radius: var(--r-panel);
  padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--surface-solid); box-shadow: var(--shadow-lift);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.form h2 { font-size: 1.5rem; }
.form > p { color: var(--text-2); font-size: 0.95rem; margin-top: -0.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--r-input); border: 1px solid var(--input-border);
  background: var(--input-bg); color: var(--text); font: inherit; font-size: 0.95rem; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field select option { background: var(--surface); color: var(--text); }
.field :is(input, select, textarea):focus { border-color: var(--brand-ink); box-shadow: 0 0 0 4px rgba(255, 148, 102, 0.22); }
.field .hint { font-size: 0.8rem; color: var(--muted); }
.field .error { font-size: 0.82rem; color: var(--danger-ink); display: none; }
.field.invalid .error { display: block; }
.field.invalid :is(input, select, textarea) { border-color: var(--danger-ink); }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.form-actions .alt { font-size: 0.88rem; color: var(--muted); }
.form-actions .alt a { color: var(--brand-ink); font-weight: 600; }
.form-success { display: none; text-align: left; padding: 1.4rem; border-radius: 16px; background: var(--brand-soft); border: 1px solid rgba(240, 115, 63, 0.35); }
.form-success.show { display: block; }
.form-success > :is(.ph, .ph-fill) { font-size: 2rem; color: var(--brand-ink); }
.form-success h3 { margin: 0.5rem 0 0.4rem; }
.form-success p { color: var(--text-2); font-size: 0.95rem; }
.form-success .actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ----------
   Content is only held back when the script is running (the "js" class is set
   by one line in each page's <head>). If the script cannot load, everything
   is simply visible. */
.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(24px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb { animation: none; }
  .reveal, .js .reveal:not(.in), [data-enter], .node, .js .ring:not(.in) .node, .report li, .js .report li {
    opacity: 1; transform: none; transition: none; animation: none;
  }
  .hero-frame, .cell.img img, .btn, .tier, .channel { transition: none; }
  .step::before, .js .step:not(.in)::before { transform: none; transition: none; }
  .menu a.menu-link { transition: none; }
}

/* ---------- Meta ads landing page ---------- */
.lp-nav .nav-inner { justify-content: space-between; }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pain {
  border-radius: var(--r-card); padding: 1.6rem; border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255, 148, 102, 0.14), var(--grad-end) 70%);
  display: grid; gap: 0.8rem; align-content: start; box-shadow: var(--shadow-card);
}
.pain .ph { font-size: 1.9rem; color: var(--brand-ink); }
.pain h3 { font-size: 1.12rem; }
.pain p { color: var(--text-2); font-size: 0.96rem; }
.stack { display: grid; gap: 0.7rem; }
.stack-item {
  display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start;
  padding: 1.2rem 1.3rem; border-radius: 16px; border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-card); transition: border-color 0.3s;
}
.stack-item:hover { border-color: var(--line-strong); }
.stack-item h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.stack-item p { color: var(--text-2); font-size: 0.93rem; }
.stack-item .solves { display: inline-flex; gap: 0.4rem; align-items: center; margin-top: 0.55rem; font-size: 0.8rem; color: var(--sky-ink); font-weight: 600; }
.guarantee {
  border-radius: var(--r-panel); padding: clamp(1.8rem, 4vw, 3rem); border: 1px solid rgba(240, 115, 63, 0.45);
  background: linear-gradient(135deg, rgba(255, 148, 102, 0.2), var(--grad-end) 60%);
  display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center; box-shadow: var(--shadow-card);
}
.guarantee .badge {
  width: 100px; height: 100px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--peach-300), var(--peach-600)); color: var(--on-peach); font-size: 2.8rem;
  box-shadow: 0 0 0 10px rgba(255, 148, 102, 0.16);
}
.guarantee h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.guarantee p { color: var(--text-2); margin-top: 0.6rem; max-width: 62ch; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step3 { padding: 1.5rem; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 0.6rem; align-content: start; box-shadow: var(--shadow-card); }
.step3 .n { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: var(--brand-ink); line-height: 1; letter-spacing: -0.04em; }
.step3 h3 { font-size: 1.12rem; }
.step3 p { color: var(--text-2); font-size: 0.95rem; }
.forwho { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.forwho > div { padding: 1.6rem; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-card); }
.forwho h3 { font-size: 1.12rem; margin-bottom: 0.9rem; }
.forwho ul { list-style: none; display: grid; gap: 0.55rem; color: var(--text-2); font-size: 0.95rem; }
.forwho li { display: flex; gap: 0.6rem; align-items: flex-start; }
.forwho li .ph { margin-top: 0.25rem; flex: none; }
.forwho .yes .ph { color: var(--brand-ink); }
.forwho .no .ph { color: var(--danger-ink); }
.price-day { font-size: 0.88rem; color: var(--muted); margin-top: -0.4rem; }
@media (max-width: 900px) {
  .pains, .steps3, .forwho { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; }
}

/* ---------- Call-to-action strip ---------- */
.cta-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2.1rem) clamp(1.4rem, 3vw, 2.3rem);
  border-radius: var(--r-panel); border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(255, 148, 102, 0.16), var(--grad-end) 62%);
  box-shadow: var(--shadow-card);
}
.cta-strip h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.cta-strip p { color: var(--text-2); font-size: 0.95rem; margin-top: 0.4rem; max-width: 46ch; }
.cta-strip .actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn-outline-dark { border-color: rgba(26, 14, 8, 0.42); color: var(--on-peach); background: transparent; }
.btn-outline-dark:hover { border-color: rgba(26, 14, 8, 0.75); background: rgba(255, 255, 255, 0.28); transform: translateY(-2px); }

/* ---------- Two photographs side by side ---------- */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.two-up figure { margin: 0; position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-card); }
.two-up img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.two-up figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 0.4rem 0.9rem; border-radius: var(--r-pill);
  background: rgba(6, 10, 18, 0.74); color: var(--on-media); font-size: 0.85rem; font-weight: 600;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
@media (max-width: 640px) { .two-up { grid-template-columns: 1fr; } }

/* ---------- Image focus (keep faces in frame) ---------- */
.hero-frame img, .frame img, .cell.img img, .banner img, .page-hero .frame img { object-position: 50% 28%; }
.svc .frame.r219 { aspect-ratio: 16 / 9; }
@media (max-width: 1023px) { .hero-frame img { object-position: 50% 22%; } }

/* ---------- Small-screen nav fixes ---------- */
.lp-nav .btn .short { display: none; }
@media (max-width: 640px) {
  /* The landing page's fixed WhatsApp bar covers phones, so the header gives the name the room. */
  .lp-nav .btn { display: none; }
  .hero h1 { font-size: 2.15rem; }
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 45;
  width: 60px; height: 60px; border-radius: 50%; background: #1eaf55; color: #fff;
  display: grid; place-items: center; font-size: 2rem;
  box-shadow: 0 14px 34px -12px rgba(30, 175, 85, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(30, 175, 85, 0.55); animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(0.85); opacity: 0.9; } 100% { transform: scale(1.55); opacity: 0; } }
.wa-float .label {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--surface-solid); border: 1px solid var(--line-2); border-radius: var(--r-pill);
  padding: 0.45rem 0.9rem; font-size: 0.85rem; font-weight: 600; font-family: var(--font-display); color: var(--text);
  box-shadow: var(--shadow-card); opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
.wa-float:hover .label, .wa-float:focus-visible .label { opacity: 1; }
@media (max-width: 640px) { .wa-float { width: 64px; height: 64px; font-size: 2.1rem; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }

/* ---------- Hero trust row (the trust promise, above the fold) ---------- */
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem 1.5rem; margin-top: 1.9rem; font-size: 0.92rem; font-weight: 600; color: var(--text-2); }
.trust-row li { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-row .ph { font-size: 1.25rem; color: var(--brand-ink); }

/* ---------- Why families trust us ---------- */
.trust-band {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 4vw, 4rem); align-items: center;
  padding: clamp(1.8rem, 4.5vw, 3.6rem); border-radius: 28px; border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 148, 102, 0.18), transparent 60%),
    radial-gradient(90% 80% at 100% 100%, rgba(78, 155, 255, 0.14), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow-card);
}
.trust-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin-top: 1rem; }
.trust-band .lead { margin-top: 1.1rem; }
.trust-band .link { margin-top: 1.4rem; }
.pillars { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.pillar {
  display: grid; gap: 0.55rem; align-content: start; padding: 1.3rem 1.3rem 1.4rem;
  border-radius: var(--r-card); background: var(--surface-solid); border: 1px solid var(--line);
}
.pillar h3 { font-size: 1.05rem; }
.pillar p { font-size: 0.92rem; color: var(--text-2); }
@media (max-width: 1023px) { .trust-band { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Testimonials ----------
   The section ships with the "hidden" attribute until genuine quotes are added. */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote {
  margin: 0; display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem;
  border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-card);
}
.quote .stars { display: flex; gap: 0.15rem; color: var(--brand-ink); font-size: 1.05rem; }
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--text); }
.quote figcaption { margin-top: auto; display: grid; gap: 0.1rem; font-size: 0.88rem; color: var(--muted); }
.quote figcaption strong { color: var(--text); font-family: var(--font-display); font-size: 0.95rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Packages at a glance ---------- */
.glance-wrap { margin-top: 1.4rem; }
.compare.glance { min-width: 0; }
.compare.glance thead th:first-child { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.compare.glance tbody tr:nth-child(n) > * { background: transparent; border-top: 1px solid var(--line); }
.compare.glance tbody tr:first-child > * { border-top: 0; }
.compare.glance .limited { font-size: 0.86rem; font-weight: 600; color: var(--muted); }

/* Both comparison tables: the recommended Comfort column carries a peach wash,
   and visit counts are set large so the step from 4 to 8 to 12 reads at a glance. */
.compare thead th:nth-child(3),
.compare tbody tr:not(.group):nth-child(n) > :nth-child(3) { background: rgba(255, 148, 102, 0.12); }
.compare .num { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--text); }
@media (max-width: 640px) {
  .compare.glance th, .compare.glance td { padding: 0.7rem 0.5rem; font-size: 0.85rem; }
  .compare .num { font-size: 1.2rem; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
