@view-transition { navigation: auto; }

:root {
  --ink: #18233a;
  --muted: #5d6779;
  --bg: #faf7f2;
  --card: #ffffff;
  --line: #e8e1d5;
  --brand: #14284b;
  --brand-2: #23457a;
  --gold: #c8963e;
  --gold-soft: #f3e6cc;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 40, 75, .06), 0 8px 24px rgba(20, 40, 75, .08);
  --shadow-lg: 0 2px 4px rgba(20, 40, 75, .06), 0 20px 48px rgba(20, 40, 75, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; color: var(--brand); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 .4em; font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 .4em; font-weight: 600; }
h3 { font-size: 1.3rem; margin: 0 0 .5em; font-weight: 600; }
a { color: var(--brand-2); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
section { padding: clamp(64px, 10vw, 112px) 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(20, 40, 75, .06); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.logo:hover .logo-mark { transform: rotate(90deg); }
.logo-mark { transition: transform .5s var(--ease); width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: grid; place-items: center; color: var(--gold); font-size: 1rem; }
nav, .nav-links { display: flex; align-items: center; gap: 28px; }
nav { gap: 10px 28px; }
.nav-links a, nav > a:not(.btn):not(.icon-btn) { position: relative; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .97rem; }
.nav-links a::after, nav > a:not(.btn):not(.icon-btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover::after, nav > a:not(.btn):not(.icon-btn):hover::after { transform: scaleX(1); }
.logo, .btn { white-space: nowrap; }
.icon-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); color: var(--brand); place-items: center; cursor: pointer; padding: 0; }
.icon-btn svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  nav { gap: 8px; }
  .icon-btn { display: grid; }
  .nav-links, nav > a:not(.btn):not(.icon-btn) { display: none; }
  header.open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20,40,75,.1); padding: 8px 16px 16px; }
  header.open .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  header.open .nav-links a::after { display: none; }
}
@media (max-width: 480px) { header:has(.menu-btn) .btn.small { display: none; } }
@media (max-width: 420px) { .logo { font-size: 1.08rem; gap: 8px; } .logo-mark { width: 30px; height: 30px; } }

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 0;
  background: linear-gradient(135deg, #d6a64f, #b8862f); color: #fff; font: inherit; font-weight: 600; text-decoration: none;
  box-shadow: 0 6px 18px rgba(200, 150, 62, .35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(200, 150, 62, .45); }
.btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); transition: transform .7s var(--ease); }
.btn:hover::before { transform: translateX(100%); }
.btn.small { padding: 10px 20px; font-size: .95rem; }
.btn.ghost { background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.4); box-shadow: none; }
.btn.ghost:hover { background: rgba(255,255,255,.16); }
.btn.dark { background: var(--brand); box-shadow: 0 6px 18px rgba(20, 40, 75, .25); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 85% -10%, #2c5590 0%, transparent 60%), linear-gradient(160deg, var(--brand) 0%, #0f1f3b 100%);
  color: #fff; padding: clamp(72px, 12vw, 140px) 0;
}
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.82); }
.hero-grid { display: grid; gap: 56px; align-items: center; grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: rgba(255,255,255,.78); font-size: .93rem; }
.badges span::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 8px; }

.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .45; animation: float 14s ease-in-out infinite; }
.blob.one { width: 380px; height: 380px; background: var(--gold); top: -120px; left: -140px; opacity: .18; }
.blob.two { width: 460px; height: 460px; background: #3d6bb3; bottom: -200px; right: -120px; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -24px) scale(1.06); } }

.plan-card {
  background: rgba(255,255,255,.97); color: var(--ink);
  border-radius: 22px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: rotate(1.5deg); animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: rotate(1.5deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(-10px); } }
.plan-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.plan-card .sub { color: var(--muted); font-size: .9rem; margin: 0 0 18px; }
.plan-card ul { list-style: none; margin: 0; padding: 0; }
.plan-card li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 500; opacity: 0; animation: tick .5s var(--ease) forwards; }
.plan-card li:nth-child(1) { animation-delay: .6s; }
.plan-card li:nth-child(2) { animation-delay: .8s; }
.plan-card li:nth-child(3) { animation-delay: 1s; }
.plan-card li:nth-child(4) { animation-delay: 1.2s; }
.plan-card li:nth-child(5) { animation-delay: 1.4s; }
.check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #e3f1e6; color: #2f7a45; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
@keyframes tick { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.plan-card .status { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #34a853; box-shadow: 0 0 0 0 rgba(52,168,83,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52,168,83,0); } 100% { box-shadow: 0 0 0 0 rgba(52,168,83,0); } }

.hero-in > * { opacity: 0; animation: rise .8s var(--ease) forwards; }
.hero-in > *:nth-child(2) { animation-delay: .1s; }
.hero-in > *:nth-child(3) { animation-delay: .2s; }
.hero-in > *:nth-child(4) { animation-delay: .3s; }
.hero-in > *:nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Why us */
.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 48px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.icon { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 26px; height: 26px; }
.feature p { margin: 0; color: var(--muted); }

/* Packages */
#packages { background: linear-gradient(180deg, var(--bg) 0%, #f1ece3 100%); }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 48px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.tag { position: absolute; top: -13px; left: 26px; background: var(--gold); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.card ul { list-style: none; padding: 0; margin: 4px 0 22px; }
.card li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .96rem; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.price { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-top: 1px dashed var(--line); font-size: .95rem; color: var(--muted); }
.price strong { font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; color: var(--brand); }
.card .btn { margin-top: auto; }
.card .price + .btn { margin-top: 20px; }
.card .push { margin-top: auto; }

.addons { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.addon { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; transition: box-shadow .3s; }
.addon:hover { box-shadow: var(--shadow); }
.addon div { flex: 1; }
.addon strong { display: block; color: var(--brand); }
.addon small { color: var(--muted); }
.addon .amt { font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; font-weight: 600; color: var(--brand); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; position: relative; }
.steps li { counter-increment: s; position: relative; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand); color: #fff; font-family: "Fraunces", Georgia, serif; font-size: 1.4rem; font-weight: 600;
  margin-bottom: 18px; box-shadow: 0 0 0 8px var(--gold-soft);
}
.steps p { color: var(--muted); margin: 0; }

/* Reviews */
#reviews { background: linear-gradient(180deg, var(--bg) 0%, #f1ece3 100%); }
.reviews { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 48px; }
.review { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px; margin: 0; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.review::before { content: "\201C"; position: absolute; top: 4px; right: 22px; font-family: "Fraunces", Georgia, serif; font-size: 5.5rem; line-height: 1; color: var(--gold-soft); }
.stars { color: var(--gold); font-size: 1.15rem; letter-spacing: 3px; margin-bottom: 14px; }
.stars .off { color: var(--line); }
.review blockquote { margin: 0 0 22px; font-size: 1.02rem; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--brand); }
.review figcaption small { display: block; font-weight: 400; color: var(--muted); }
.avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--gold); display: grid; place-items: center; font-family: "Fraunces", Georgia, serif; font-weight: 600; }

/* FAQ */
#faq { background: var(--card); }
.faq { max-width: 820px; margin: 48px auto 0; }
details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: var(--bg); transition: background .3s, box-shadow .3s; }
details[open] { background: var(--card); box-shadow: var(--shadow); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; color: var(--brand); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details .answer { padding: 0 22px 18px; color: var(--ink); }
details .answer p { margin: 0 0 12px; }
details[open] .answer { animation: open .35s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* CTA + contact */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff;
  border-radius: 28px; padding: clamp(40px, 7vw, 72px); display: grid; gap: 40px; grid-template-columns: 1.2fr 1fr; align-items: center;
}
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.82); }
.cta .blob { opacity: .25; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px 18px; transition: background .3s; }
.contact-list li:hover { background: rgba(255,255,255,.14); }
.contact-list a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-list small { display: block; color: rgba(255,255,255,.65); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--gold); }

/* Footer */
footer { background: #0f1b33; color: #b9c2d0; padding: 56px 0 40px; font-size: .9rem; }
footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 24px; }
footer .logo { color: #fff; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }

/* Legal pages */
.legal { max-width: 780px; padding-block: 64px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }
.note { color: var(--muted); font-size: .95rem; }

/* Forms: checkout + admin */
.form-page { max-width: 1080px; padding-block: 56px 88px; }
.form-grid { display: grid; gap: 32px; grid-template-columns: 1fr 340px; align-items: start; }
@media (max-width: 880px) { .form-grid { grid-template-columns: 1fr; } }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 24px; margin: 0 0 20px; }
legend { font-family: "Fraunces", Georgia, serif; font-size: 1.2rem; font-weight: 600; color: var(--brand); padding: 0 8px; }
.options { display: grid; gap: 12px; }
.option { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.option:hover { border-color: var(--gold); }
.option:has(input:checked) { border-color: var(--gold); background: #fdf8ee; }
.option:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.option input { accent-color: var(--gold); width: 20px; height: 20px; flex: none; }
.option span { flex: 1; }
.option small { display: block; color: var(--muted); }
.option b { font-family: "Fraunces", Georgia, serif; color: var(--brand); }
.summary { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.summary h2 { font-size: 1.3rem; }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.total { display: flex; justify-content: space-between; padding: 14px 0 18px; font-weight: 700; font-size: 1.15rem; color: var(--brand); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; margin: 4px 0 18px; }
.agree input { accent-color: var(--gold); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.summary .btn { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.secure { text-align: center; color: var(--muted); font-size: .85rem; margin: 12px 0 0; }
.msg { border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; font-size: .95rem; }
.msg:empty { display: none; }
.msg.err { background: #fdecea; color: #8a1c13; }
.msg.ok { background: #e3f1e6; color: #1e5631; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 500; font-size: .95rem; }
.field input, .field textarea { font: inherit; font-weight: 400; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field small { color: var(--muted); font-weight: 400; }
.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pill { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill.live { background: #e3f1e6; color: #1e5631; }
.pill.test { background: #fff4d6; color: #7a5600; }
.pill.none { background: #fdecea; color: #8a1c13; }
.done-card { max-width: 640px; margin: 0 auto; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(32px, 6vw, 56px); box-shadow: var(--shadow); }
.done-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: #e3f1e6; color: #2f7a45; display: grid; place-items: center; font-size: 2rem; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
[hidden] { display: none !important; }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(28px) scale(.98); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-in > *, .plan-card li { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .steps.draw::after { transform: none; }
}

/* ---------- Extra polish ---------- */

/* Reading progress bar (browsers without scroll timelines just skip it) */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--gold), #f1d08f); transform-origin: left; transform: scaleX(0); display: none; }
@supports (animation-timeline: scroll()) {
  .progress { display: block; animation: grow linear both; animation-timeline: scroll(root); }
}
@keyframes grow { to { transform: scaleX(1); } }

/* Hero: dot grid, shimmering gold words, 3D card */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at 75% 35%, #000 10%, transparent 65%); mask-image: radial-gradient(ellipse at 75% 35%, #000 10%, transparent 65%); }
.hero h1 em { background: linear-gradient(90deg, var(--gold) 0%, #f6dca3 45%, var(--gold) 90%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite; }
@keyframes shine { to { background-position: -200% center; } }
.tilt { transition: transform .5s var(--ease); transform-style: preserve-3d; opacity: 0; animation: rise 1s .3s var(--ease) forwards; }
.plan-card .check { animation: pop .5s var(--ease) backwards; }
.plan-card li:nth-child(1) .check { animation-delay: .7s; }
.plan-card li:nth-child(2) .check { animation-delay: .9s; }
.plan-card li:nth-child(3) .check { animation-delay: 1.1s; }
.plan-card li:nth-child(4) .check { animation-delay: 1.3s; }
.plan-card li:nth-child(5) .check { animation-delay: 1.5s; }

/* Scrolling strip of documents */
.marquee { overflow: hidden; background: #0f1f3b; border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.marquee span { color: rgba(255,255,255,.75); font-family: "Fraunces", Georgia, serif; font-size: 1.1rem; white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: "◆"; color: var(--gold); font-size: .7rem; margin-right: -28px; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Gold glow that follows the mouse over cards */
.feature, .addon { position: relative; }
.card::after, .feature::after, .review::after, .addon::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(200,150,62,.14), transparent 45%);
}
.card:hover::after, .feature:hover::after, .review:hover::after, .addon:hover::after { opacity: 1; }
.feature:hover .icon { transform: rotate(-6deg) scale(1.08); background: var(--gold); color: #fff; }
.icon { transition: transform .4s var(--ease), background .4s, color .4s; }
.card.featured { background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, var(--gold), #f1d08f, var(--gold)) border-box; border-color: transparent; }

/* Steps: a gold line draws across when the section scrolls in */
@media (min-width: 1000px) {
  .steps.draw::after { content: ""; position: absolute; top: 28px; left: 28px; right: calc((100% - 84px) / 4 - 28px); height: 2px; z-index: -1; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s .3s var(--ease); }
  .steps.draw.in::after { transform: scaleX(1); }
  .steps { isolation: isolate; }
}
.steps li::before { transition: transform .4s var(--ease), background .4s; }
.steps li:hover::before { transform: scale(1.1); background: var(--gold); }

/* Stars twinkle in one by one */
.review.in .stars { animation: rise .6s .2s var(--ease) backwards; }

@media (prefers-reduced-motion: reduce) {
  .tilt { opacity: 1; }
  .progress { display: none; }
}

/* Meet your attorney */
.about { display: grid; grid-template-columns: minmax(220px, 400px) 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 320px; } }
.about-photo { aspect-ratio: 6 / 7; border-radius: 28px; overflow: hidden; background: linear-gradient(150deg, var(--brand), var(--brand-2)); display: grid; place-items: center; box-shadow: var(--shadow-lg); position: relative; }
.about-photo::after { content: ""; position: absolute; inset: 12px; border: 1.5px solid rgba(200,150,62,.5); border-radius: 20px; pointer-events: none; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-mark { color: var(--gold); font-size: 4rem; }
.about-title { color: var(--gold); font-weight: 600; margin-top: -8px; }
.about-bio p { color: var(--muted); font-size: 1.07rem; }
.about .btn { margin-top: 12px; }

/* Package guide */
.guide { margin-top: 40px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.guide h3 { margin-bottom: 14px; }
.guide-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.guide-grid a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; padding: 16px; border-radius: 14px; background: var(--bg); border: 1.5px solid transparent; transition: border-color .25s, transform .25s var(--ease), background .25s; }
.guide-grid a:hover { border-color: var(--gold); transform: translateY(-3px); background: #fdf8ee; }
.guide-grid strong { color: var(--ink); font-weight: 500; }
.guide-grid span { color: var(--gold); font-weight: 600; font-size: .92rem; margin-top: auto; }

/* Call us first */
.callus { margin-top: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 48px; align-items: center; background: var(--gold-soft); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
@media (max-width: 760px) { .callus { grid-template-columns: 1fr; } }
.callus ul { margin: 0; padding-left: 1.2em; }
.callus li { margin-bottom: 6px; }
.callus p { margin-top: 0; color: var(--ink); }

/* Phones: lighter motion (no blur, slower strip) */
@media (hover: none) {
  .js .reveal { filter: none; }
  .marquee .track { animation-duration: 70s; }
}

/* Admin editors */
.field select { font: inherit; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.field textarea { resize: vertical; }
.rep { position: relative; border: 1px dashed var(--line); border-radius: 14px; padding: 16px 16px 8px; margin-bottom: 14px; background: var(--bg); }
.rep .rm { position: absolute; top: 8px; right: 10px; border: 0; background: none; color: #8a1c13; font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; }
.rep .row:first-child, .rep > .field:first-child { margin-right: 64px; }
.photo-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.photo-preview { width: 120px; height: 140px; border-radius: 16px; overflow: hidden; background: var(--bg); border: 1px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: .85rem; text-align: center; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.save-btn { position: sticky; bottom: 16px; box-shadow: 0 10px 30px rgba(20,40,75,.25); }

/* ---------- 10x pass ---------- */

/* Hero: slow aurora, mouse spotlight */
.aurora { position: absolute; z-index: -2; inset: -50%; background: conic-gradient(from 0deg, transparent 0 10%, rgba(200,150,62,.28) 18%, transparent 30%, rgba(61,107,179,.45) 48%, transparent 60%, rgba(200,150,62,.18) 78%, transparent 90%); filter: blur(90px); animation: spin 38s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(1turn); } }
@media (hover: none) { .aurora { display: none; } }
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(500px circle at var(--hx, 70%) var(--hy, 30%), rgba(255,255,255,.08), transparent 60%); }

/* Rotating word */
.rotate { display: inline-block; position: relative; transition: opacity .38s var(--ease), transform .38s var(--ease), filter .38s var(--ease); }
.rotate::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; border-radius: 9px; background: linear-gradient(90deg, var(--gold), #f1d08f); transform-origin: left; animation: underline 2.8s var(--ease) infinite; }
.rotate.out { opacity: 0; transform: translateY(-.25em); filter: blur(8px); }
@keyframes underline { 0% { transform: scaleX(0); } 20%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); transform-origin: right; } }

/* Plan card: floating chips + progress bar */
.tilt { position: relative; }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.96); color: var(--brand); font-weight: 600; font-size: .9rem; box-shadow: 0 16px 40px rgba(0,0,0,.28); white-space: nowrap; transform: translateZ(50px); }
.chip-a { top: -22px; left: -28px; animation: chipfloat 6s ease-in-out infinite, rise .8s 1.8s var(--ease) backwards; }
.chip-b { bottom: -20px; right: -18px; animation: chipfloat 7s -3s ease-in-out infinite, rise .8s 2.1s var(--ease) backwards; }
@keyframes chipfloat { 50% { translate: 0 -10px; } }
.chip-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #e3f1e6; color: #2f7a45; font-size: .75rem; }
.chip-dot.gold { background: var(--gold-soft); color: var(--gold); }
@media (max-width: 520px) { .chip-a { left: -6px; } .chip-b { right: -6px; } }
.progress-row { display: flex; justify-content: space-between; margin-top: 16px; font-size: .85rem; color: var(--muted); }
.progress-row b { color: #2f7a45; }
.bar { height: 8px; border-radius: 9px; background: var(--line); overflow: hidden; margin-top: 6px; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #34a853, #7ccf8f); transform-origin: left; animation: fill 1.4s .7s var(--ease) both; }
@keyframes fill { from { transform: scaleX(0); } }

/* Package cards lean toward the mouse */
@media (hover: hover) {
  .card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
}
.btn { transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, translate .2s var(--ease); }

/* Headings rise in word by word */
.js h2.reveal.split { opacity: 1; transform: none; filter: none; }
.js h2.split .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.js h2.split.in .w { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .js h2.split .w { opacity: 1; transform: none; filter: none; }
  .aurora { display: none; }
}

/* ---------- Even better pass ---------- */

/* Skip link for keyboard users */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Questionnaire preview */
.qpreview { max-width: 820px; margin: 48px auto 0; background: var(--card); }
.qpreview ul { margin: 0; padding: 0 22px 0 44px; columns: 2 280px; column-gap: 32px; }
.qpreview li { margin-bottom: 8px; break-inside: avoid; }
.qpreview .note { padding: 4px 22px 18px; margin: 0; }

/* Comparison table */
#compare { background: var(--card); }
.compare-wrap { margin-top: 48px; overflow-x: auto; border-radius: var(--radius); }
.compare { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; font-size: .97rem; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.compare thead th { font-family: "Fraunces", Georgia, serif; color: var(--brand); font-size: 1.05rem; font-weight: 600; padding-top: 28px; }
.compare td { color: var(--muted); }
.compare .us { background: linear-gradient(180deg, #fdf8ee, #faf1df); color: var(--brand); font-weight: 600; }
.compare thead .us { border-radius: 18px 18px 0 0; position: relative; }
.compare tbody tr:last-child .us { border-radius: 0 0 18px 18px; }
.compare tbody tr { transition: background .25s; }
.compare tbody tr:hover { background: var(--bg); }
.us-tag { display: inline-block; background: var(--gold); color: #fff; font-family: "Inter", sans-serif; font-size: .85rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(200,150,62,.35); }
.yes { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e3f1e6; color: #2f7a45; font-weight: 700; }
.compare-wrap.in .yes { animation: pop .5s var(--ease) backwards; }
.compare-wrap.in tr:nth-child(2) .yes { animation-delay: .1s; }
.compare-wrap.in tr:nth-child(3) .yes { animation-delay: .2s; }
.compare-wrap.in tr:nth-child(4) .yes { animation-delay: .3s; }
.compare-wrap.in tr:nth-child(5) .yes { animation-delay: .4s; }
.compare-wrap.in tr:nth-child(6) .yes { animation-delay: .5s; }

/* Phone action bar */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; padding: 10px; border-radius: 20px; background: rgba(250,247,242,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 40px rgba(20,40,75,.25); transform: translateY(140%); transition: transform .4s var(--ease); padding-bottom: calc(10px + env(safe-area-inset-bottom) / 2); }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { flex: 1; padding: 13px 16px; }
  .mobile-bar .btn.dark { flex: 0 0 34%; }
  footer { padding-bottom: 110px; }
}
