:root {
  --navy: #1E2433;
  --navy-deep: #182030;
  --gold-1: #937A4F;
  --gold-2: #D6BD8D;
  --amber: #A8571A;
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --ink: #1E2433;
  --muted: #566074;
  --line: rgba(30, 36, 51, .12);
  --glass: rgba(30, 36, 51, .9);
  --sheet: rgba(247, 245, 240, .86);
  --font: system-ui, -apple-system, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --gutter: 1.25rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11161F;
    --surface: #1A2130;
    --ink: #F1EEE6;
    --muted: #A5ABB8;
    --line: rgba(241, 238, 230, .14);
    --sheet: rgba(26, 33, 48, .86);
    --amber: #E0894A;
  }
}
@media (prefers-contrast: more) {
  :root { --line: currentColor; --muted: var(--ink); --glass: #1E2433; --sheet: var(--bg); }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --glass: #1E2433; --sheet: var(--bg); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 100%/1.5 var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 68rem; margin-inline: auto; padding-inline: var(--gutter); }
.kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-1);
}
@media (prefers-color-scheme: dark) { .kicker { color: var(--gold-2); } }
.dark .kicker { color: var(--gold-2); }
.h2 {
  font-size: clamp(1.75rem, 6vw, 2.75rem); font-weight: 600; line-height: 1.08; letter-spacing: -.022em;
  margin-top: .75rem; text-wrap: balance;
}
.lead { color: var(--muted); font-size: 1.0625rem; margin-top: 1rem; max-width: 40rem; text-wrap: pretty; }
.rv { color: var(--amber); font-size: .75em; font-weight: 600; background: none; white-space: nowrap; }

/* ---------- Buttons: feedback lives on press ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: 0 1.5rem; border: 0; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: -.005em; text-align: center; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform 100ms ease-out, filter 100ms ease-out;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { transform: scale(.97); filter: brightness(.96); }
.btn svg { width: 1.25rem; height: 1.25rem; flex: none; }
.btn-gold {
  color: var(--navy);
  background: linear-gradient(135deg, #BFA56F 0%, #D6BD8D 48%, #B3965F 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 22px -12px rgba(147,122,79,.55);
}
.btn-ghost {
  color: #F7F5F0; background: rgba(247,245,240,.07);
  box-shadow: inset 0 0 0 1px rgba(214,189,141,.4);
}
.btn-outline { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) { .btn-gold:hover { filter: brightness(1.05); } .btn-ghost:hover { background: rgba(247,245,240,.12); } }

/* ---------- Glass header ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  padding-top: env(safe-area-inset-top);
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(214,189,141,.35), 0 8px 24px -16px rgba(0,0,0,.5);
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; }
.bar img { height: 2rem; width: auto; }
.bar nav { display: none; }
.bar .btn { min-height: 2.5rem; padding: 0 1rem; font-size: .9375rem; }
@media (min-width: 760px) {
  .bar nav { display: flex; gap: 1.75rem; margin-inline: auto 1.75rem; }
  .bar nav a { color: rgba(247,245,240,.8); text-decoration: none; font-size: .9375rem; transition: color 100ms; }
  .bar nav a:hover { color: #fff; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #F7F5F0; background: var(--navy);
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(5.5rem + env(safe-area-inset-top)) 0 4rem;
  background-image: radial-gradient(120% 80% at 80% 0%, #2B3350 0%, var(--navy) 55%, var(--navy-deep) 100%);
}
.hero .mark {
  position: absolute; right: -22%; bottom: -8%; width: min(120vw, 56rem); opacity: .07; pointer-events: none;
}
.hero .wrap { position: relative; }
.hero .kicker { color: var(--gold-2); max-width: 22rem; }
.hero h1 {
  margin-top: 1.25rem; font-size: clamp(2.2rem, 9.4vw, 4.5rem); font-weight: 600;
  line-height: 1.04; letter-spacing: -.028em; text-wrap: balance; max-width: 16ch;
}
.hero h1 em { font-style: normal; background: linear-gradient(135deg,#B3965F,#D6BD8D 50%,#B3965F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { margin-top: 1.5rem; max-width: 34rem; font-size: 1.125rem; color: rgba(247,245,240,.78); text-wrap: pretty; }
.hero .cta { margin-top: 2rem; display: grid; gap: .75rem; max-width: 22rem; }
.hero .fine { margin-top: 1.25rem; font-size: .8125rem; color: rgba(247,245,240,.55); }
@media (min-width: 560px) { .hero .cta { display: flex; max-width: none; } }
.dark-rule { width: 3rem; height: 1px; margin-top: 1.75rem; background: linear-gradient(90deg, var(--gold-2), transparent); }

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; scroll-margin-top: 3.5rem; }
@media (min-width: 760px) { section { padding: 6.5rem 0; } }

/* Tabs (segmented control) */
.seg { margin-top: 2rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.seg::-webkit-scrollbar { display: none; }
.seg-track {
  position: relative; display: inline-flex; gap: .125rem; padding: .25rem; border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}
.seg-pill {
  position: absolute; top: .25rem; bottom: .25rem; left: 0; width: 0; border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 4px 12px -4px rgba(0,0,0,.18);
}
.tab {
  position: relative; z-index: 1; min-height: 2.75rem; padding: 0 1.1rem; border: 0; background: none; border-radius: 999px;
  font-size: .9375rem; font-weight: 550; white-space: nowrap; color: var(--muted); cursor: pointer;
  transition: color 120ms ease-out, transform 100ms ease-out; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.tab:active { transform: scale(.96); }
.tab[aria-selected="true"] { color: var(--ink); }

.panel {
  margin-top: 1.25rem; padding: 1.5rem; border-radius: 1.5rem; background: var(--surface);
  box-shadow: 0 1px 0 var(--line) inset, 0 24px 48px -32px rgba(30,36,51,.35);
  animation: panel-in 280ms var(--ease-out);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }
.panel h3 { font-size: 1.375rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; text-wrap: balance; }
.panel .why { margin-top: .75rem; color: var(--muted); text-wrap: pretty; }
.risks { margin-top: 1.25rem; display: grid; gap: .75rem; }
.risks li { position: relative; padding-left: 1.5rem; text-wrap: pretty; }
.risks li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--amber);
}
.base { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.base b { color: var(--ink); font-weight: 600; }
@media (min-width: 760px) { .panel { padding: 2.25rem; display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; } .panel .base { grid-column: 1 / -1; } .risks { margin-top: 0; } }

/* Steps */
.steps { margin-top: 2.5rem; display: grid; gap: 1.25rem; counter-reset: s; }
.step { padding: 1.5rem; border-radius: 1.5rem; background: var(--surface); box-shadow: 0 1px 0 var(--line) inset; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  display: block; font-size: 2.5rem; font-weight: 300; letter-spacing: -.03em; line-height: 1;
  background: linear-gradient(180deg,#937A4F,#D6BD8D 55%,#937A4F); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin-top: 1rem; font-size: 1.1875rem; font-weight: 650; letter-spacing: -.01em; }
.step p { margin-top: .5rem; color: var(--muted); text-wrap: pretty; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left;
  min-height: 4rem; padding: 1rem 0; border: 0; background: none; cursor: pointer;
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.q:active { opacity: .65; }
.q .pm { flex: none; position: relative; width: 1.25rem; height: 1.25rem; transition: transform 260ms var(--ease-out); }
.q .pm::before, .q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: .875rem; height: 1.5px; margin: -.75px 0 0 -.4375rem; background: var(--gold-1); border-radius: 2px; }
.q .pm::after { transform: rotate(90deg); }
.q[aria-expanded="true"] .pm { transform: rotate(45deg); }
.a { height: 0; overflow: hidden; }
.a-in { padding: 0 0 1.25rem; color: var(--muted); opacity: 0; transition: opacity 200ms ease-out; text-wrap: pretty; max-width: 42rem; }
.q[aria-expanded="true"] + .a .a-in { opacity: 1; }
.js .faq-item .a { height: 0; }
html:not(.js) .a { height: auto; } html:not(.js) .a-in { opacity: 1; }

/* Final CTA + footer */
.final { background: var(--navy); color: #F7F5F0; text-align: left; position: relative; overflow: hidden; background-image: radial-gradient(120% 90% at 10% 100%, #2B3350 0%, var(--navy) 60%); }
.final .h2 { max-width: 18ch; }
.final .lead { color: rgba(247,245,240,.75); }
.final .btn { margin-top: 2rem; }
footer { background: var(--navy-deep); color: rgba(247,245,240,.62); padding: 3rem 0 calc(7rem + env(safe-area-inset-bottom)); font-size: .8125rem; }
footer img { height: 3rem; width: auto; margin-bottom: 1.25rem; }
footer p + p { margin-top: .75rem; }
footer p { max-width: 44rem; text-wrap: pretty; }

/* Floating glass WhatsApp */
.fab {
  position: fixed; z-index: 25; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom));
  transform: translate(-50%, 160%); opacity: 0; pointer-events: none;
  transition: transform 520ms var(--ease-out), opacity 240ms ease-out;
}
.fab.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.fab a {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 3.25rem; padding: 0 1.4rem 0 1.1rem; border-radius: 999px;
  color: #F7F5F0; text-decoration: none; font-weight: 600; white-space: nowrap;
  background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(214,189,141,.45), inset 0 0 0 1px rgba(214,189,141,.18), 0 14px 32px -12px rgba(0,0,0,.55);
  transition: transform 100ms ease-out;
}
.fab a:active { transform: scale(.96); }
.fab svg { width: 1.375rem; height: 1.375rem; color: var(--gold-2); }
@media (min-width: 760px) { .fab { left: auto; right: 1.5rem; transform: translate(0, 160%); } .fab.on { transform: none; } }

/* Reveal on scroll (non-gesture) */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 500ms ease-out, transform 640ms var(--ease-out); transition-delay: var(--d, 0ms); }


@media (prefers-reduced-motion: reduce) {
  .panel { animation: none; }
  .js .reveal, .js .reveal.in { transform: none; transition: opacity 200ms ease-out; }
  .fab, .fab.on { transform: translate(-50%, 0); transition: opacity 200ms ease-out; }
  @media (min-width: 760px) { .fab, .fab.on { transform: none; } }
  .q .pm, .sw::after { transition: none; }
}

/* Minimal gold rule before kickers: a quiet brand detail */
.kicker::before { content: ""; flex: none; width: 1.5rem; height: 1px; background: currentColor; opacity: .65; }
::selection { background: rgba(214, 189, 141, .45); }

/* Tabs as a vertical list beside the content on wide screens (when the track opts in with data-v-lg) */
.tabs-layout .panel { margin-top: 1.25rem; }
@media (min-width: 900px) {
  .tabs-layout { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 2rem; align-items: start; margin-top: 2.5rem; }
  .tabs-layout .seg { margin: 0; padding: 0; overflow: visible; position: sticky; top: 5rem; }
  .tabs-layout .panel { margin-top: 0; }
  .seg-track[data-v-lg] { display: flex; flex-direction: column; width: 100%; gap: .125rem; border-radius: 1.25rem; }
  .seg-track[data-v-lg] .tab { display: flex; align-items: center; width: 100%; min-height: 3rem; padding: 0 1rem; border-radius: .9rem; text-align: left; }
  .seg-track[data-v-lg] .seg-pill { top: 0; bottom: auto; left: .25rem; right: .25rem; width: auto; border-radius: .9rem; }
}

/* A grid/flex display must never reveal a hidden tab panel */
.panel[hidden], .sheet[hidden] { display: none; }
@media (prefers-color-scheme: dark) {
  .seg-pill { background: color-mix(in srgb, var(--ink) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent); }
  .tab[aria-selected="true"] { color: var(--ink); }
}

/* Google reviews block (hidden until configured) */
.reviews[hidden] { display: none; }
.rv-sum { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1rem; color: var(--muted); }
.rv-sum b { font-size: 2.5rem; font-weight: 600; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.rv-stars { color: var(--gold-1); letter-spacing: .1em; font-size: 1.0625rem; }
.rv-list { margin-top: 1.5rem; display: grid; gap: .75rem; }
@media (min-width: 760px) { .rv-list { grid-template-columns: repeat(3, 1fr); } }
.rv-card { margin: 0; padding: 1.25rem; border-radius: 1.25rem; display: flex; flex-direction: column; gap: .75rem; background: var(--surface); box-shadow: 0 1px 0 var(--line) inset; }
.rv-card blockquote { margin: 0; font-size: .9375rem; line-height: 1.6; text-wrap: pretty; }
.rv-card figcaption { margin-top: auto; display: grid; font-size: .8125rem; color: var(--muted); }
.rv-card figcaption a { color: var(--ink); font-weight: 600; text-decoration: none; }
.rv-actions { margin-top: 1.5rem; display: grid; gap: .75rem; }
@media (min-width: 560px) { .rv-actions { display: flex; flex-wrap: wrap; } }
footer a.review-link { color: var(--gold-2); text-underline-offset: 3px; }

/* Anything marked hidden stays hidden, whatever display its class sets */
[hidden] { display: none !important; }
