/* ════════════════════════════════════════════════
   reloPY — modern rebuild
   Palette preserved from original GoHighLevel site
   ════════════════════════════════════════════════ */

:root {
  --bg: #0d0b07;
  --bg-soft: #14100a;
  --bg-card: #171208;
  --ink: #f3ead9;
  --ink-dim: #cfc4ad;
  --ink-faint: #948a75;
  --gold: #d9a445;
  --gold-soft: #c9a15a;
  --gold-glow: rgba(217, 164, 69, 0.35);
  --line: rgba(217, 164, 69, 0.28);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.9s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(74, 53, 22, 0.35), transparent 65%),
    radial-gradient(900px 700px at -10% 80%, rgba(56, 40, 16, 0.3), transparent 65%),
    linear-gradient(168deg, #171209 0%, #0d0b07 45%, #090705 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.accent {
  color: var(--gold);
}

/* ══════════ Scroll-reveal primitives ══════════ */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity var(--dur) var(--ease-out) var(--d, 0s),
    transform var(--dur) var(--ease-out) var(--d, 0s);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .line__inner,
  .hero__sub,
  .hero__cta {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ══════════ Nav ══════════ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  transition:
    padding 0.45s var(--ease-out),
    background-color 0.45s ease,
    box-shadow 0.45s ease,
    backdrop-filter 0.45s ease;
}

.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(13, 11, 7, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(217, 164, 69, 0.15), 0 12px 40px rgba(0, 0, 0, 0.45);
}

.nav__inner {
  width: min(1280px, 94%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav__logo span {
  color: var(--gold);
}

.nav__links {
  display: flex;
  gap: 2.4rem;
}

.nav__link {
  position: relative;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}

/* ══════════ Hero ══════════ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 600px at 78% 38%, rgba(66, 48, 22, 0.55), transparent 65%),
    radial-gradient(700px 500px at 12% 85%, rgba(52, 36, 14, 0.5), transparent 70%),
    linear-gradient(160deg, #16110a 0%, #0d0b07 55%, #0a0805 100%);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { background-position: 0 0, 0 0, 0 0; }
  to   { background-position: -60px 30px, 40px -20px, 0 0; }
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
}

.hero__inner {
  padding-top: 60px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.8rem, 7.2vw, 5.6rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
}

.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.line__inner {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1.1s var(--ease-out) forwards;
}

.line:nth-child(2) .line__inner {
  animation-delay: 0.18s;
}

@keyframes lineUp {
  to { transform: translateY(0); }
}

.hero__sub {
  margin-top: 2rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 400;
  color: var(--ink-dim);
  max-width: 560px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.55s forwards;
}

.hero__cta {
  margin-top: 2.8rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.75s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
}

.hero__scroll-pill {
  display: block;
  width: 26px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  position: relative;
}

.hero__scroll-pill::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--gold);
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ══════════ Buttons ══════════ */

.btn {
  position: relative;
  display: inline-block;
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-decoration: none;
  padding: 16px 42px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  overflow: hidden;
  z-index: 1;
  transition:
    color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.35s var(--ease-out);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--gold-soft), var(--gold));
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease-out);
}

.btn:hover {
  color: #14100a;
  box-shadow: 0 0 0 1px var(--gold), 0 12px 40px -8px var(--gold-glow);
  transform: translateY(-2px);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn:active {
  transform: translateY(0);
}

.btn--lg {
  padding: 19px 54px;
  font-size: 1.16rem;
}

/* ══════════ Sections ══════════ */

.section {
  padding: clamp(90px, 12vw, 150px) 0;
  position: relative;
}

.why {
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(46, 33, 13, 0.35), transparent 70%),
    rgba(19, 15, 9, 0.5);
}

.ways {
  background: transparent;
}

.process {
  background:
    radial-gradient(1000px 600px at 85% 20%, rgba(46, 33, 13, 0.3), transparent 70%),
    rgba(19, 15, 9, 0.5);
}

.eyebrow {
  text-align: center;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.section__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.22;
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 2rem auto;
  transform-origin: center;
}

.rule.reveal {
  transform: scaleX(0);
  transition: transform 0.9s var(--ease-out) 0.15s, opacity 0.6s ease;
}

.rule.reveal.is-visible {
  transform: scaleX(1);
}

.section__sub {
  text-align: center;
  color: var(--ink-dim);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 400;
  max-width: 820px;
  margin: 0 auto clamp(48px, 6vw, 76px);
}

/* ══════════ Cards ══════════ */

.cards {
  display: grid;
  gap: clamp(20px, 2.6vw, 34px);
}

.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(35, 26, 12, 0.5), rgba(20, 15, 8, 0.72));
  border: 1px solid rgba(217, 164, 69, 0.18);
  border-top: 2px solid var(--gold-soft);
  padding: clamp(28px, 3vw, 42px) clamp(22px, 2.4vw, 34px);
  text-align: center;
  backdrop-filter: blur(6px);
  transition:
    opacity var(--dur) var(--ease-out) var(--d, 0s),
    transform var(--dur) var(--ease-out) var(--d, 0s),
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    background-color 0.45s ease;
}

.card.is-visible:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 164, 69, 0.55);
  box-shadow:
    0 24px 60px -18px rgba(0, 0, 0, 0.7),
    0 0 42px -14px var(--gold-glow);
}

.card__icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 1.6rem;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(217, 164, 69, 0.06);
  transition: transform 0.5s var(--ease-out), background-color 0.4s ease, box-shadow 0.4s ease;
}

.card__icon svg {
  width: 30px;
  height: 30px;
}

.card:hover .card__icon {
  transform: translateY(-4px) scale(1.06);
  background: rgba(217, 164, 69, 0.13);
  box-shadow: 0 0 28px -6px var(--gold-glow);
}

.card__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.42rem;
  margin-bottom: 1.1rem;
}

.card__body {
  color: var(--ink-dim);
  font-size: 1rem;
  font-weight: 400;
}

.card__body strong {
  color: var(--gold);
  font-weight: 500;
}

/* Featured card */

.card--featured {
  border: 1px solid rgba(217, 164, 69, 0.55);
  border-top-width: 2px;
  background: linear-gradient(180deg, rgba(53, 39, 16, 0.55), rgba(26, 19, 9, 0.85));
  box-shadow: 0 0 60px -22px var(--gold-glow);
}

.cards--ways .card--featured {
  transform: translateY(36px) scale(1);
}

.cards--ways .card--featured.is-visible {
  transform: scale(1.03);
}

.cards--ways .card--featured.is-visible:hover {
  transform: scale(1.03) translateY(-8px);
}

.card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(100deg, var(--gold-soft), var(--gold));
  color: #171008;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 7px 20px 6px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ══════════ Process ══════════ */

.phase {
  display: flex;
  justify-content: center;
  margin: clamp(44px, 5vw, 64px) 0 clamp(24px, 3vw, 34px);
}

.phase__label {
  display: inline-block;
  background: linear-gradient(100deg, var(--gold-soft), var(--gold));
  color: #171008;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 9px 26px 8px;
}

.steps {
  display: grid;
  gap: 18px;
}

.steps--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin-inline: auto;
}

.steps--narrow {
  max-width: 760px;
}

.steps--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.steps--center {
  max-width: 380px;
  margin: 18px auto 0;
}

.step {
  background: rgba(16, 12, 6, 0.82);
  border: 1px solid rgba(217, 164, 69, 0.16);
  border-top: 2px solid var(--gold-soft);
  padding: 26px 24px;
  transition:
    opacity var(--dur) var(--ease-out) var(--d, 0s),
    transform var(--dur) var(--ease-out) var(--d, 0s),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.step.is-visible:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 164, 69, 0.5);
  box-shadow: 0 18px 44px -16px rgba(0, 0, 0, 0.75), 0 0 34px -14px var(--gold-glow);
}

.step__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.step__num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.4s ease, color 0.4s ease, transform 0.5s var(--ease-out);
}

.step:hover .step__num {
  background: var(--gold);
  color: #171008;
  transform: rotate(-8deg) scale(1.06);
}

.step__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1.3;
}

.step__body {
  color: var(--ink-dim);
  font-size: 0.96rem;
  font-weight: 400;
}

.step--final {
  background: linear-gradient(180deg, rgba(69, 51, 21, 0.55), rgba(33, 24, 10, 0.9));
  border-color: rgba(217, 164, 69, 0.5);
}

.process__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(60px, 8vw, 96px);
}

/* ══════════ Footer ══════════ */

.footer {
  border-top: 1px solid rgba(217, 164, 69, 0.15);
  padding: 70px 0 44px;
  background: rgba(10, 8, 5, 0.78);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.footer__tag {
  color: var(--ink-faint);
  font-size: 1rem;
}

.footer__links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__copy {
  color: var(--ink-faint);
  font-size: 0.86rem;
  margin-top: 1rem;
}

/* ══════════ Responsive ══════════ */

@media (max-width: 1080px) {
  .steps--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .cards--3 {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .cards--ways .card--featured.is-visible,
  .cards--ways .card--featured.is-visible:hover {
    transform: scale(1);
  }

  .cards--ways .card--featured.is-visible:hover {
    transform: translateY(-8px);
  }

  .steps--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.6rem;
    background: rgba(10, 8, 5, 0.96);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .nav__links.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links .nav__link {
    font-size: 1.5rem;
  }

  .nav__burger {
    display: flex;
    position: relative;
    z-index: 10;
  }

  .nav__burger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav__burger.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav__burger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 560px) {
  .steps--2,
  .steps--5 {
    grid-template-columns: 1fr;
  }

  .hero__sub br {
    display: none;
  }
}

/* ════════════════════════════════════════════════
   About page
   ════════════════════════════════════════════════ */

/* ── Hero variant ── */

.hero--about {
  min-height: 88svh;
  text-align: center;
}

.hero__inner--center {
  width: min(980px, 92%);
  margin-inline: auto;
}

.hero__eyebrow {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.05s forwards;
}

.hero__title--center {
  text-align: center;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
}

.rule--hero {
  opacity: 0;
  transform: scaleX(0);
  animation: ruleIn 1s var(--ease-out) 0.6s forwards;
}

@keyframes ruleIn {
  to { opacity: 1; transform: scaleX(1); }
}

.hero__sub--center {
  margin-inline: auto;
  max-width: 760px;
}

/* ── Left-aligned section headers ── */

.eyebrow--left,
.section__title--left {
  text-align: left;
  margin-left: 0;
}

.section__sub--left {
  text-align: left;
  margin-left: 0;
  max-width: 780px;
}

/* ── Directional + special reveals ── */

.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity var(--dur) var(--ease-out) var(--d, 0s),
    transform var(--dur) var(--ease-out) var(--d, 0s),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
  will-change: opacity, transform;
}

.reveal-left { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }

.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease-out);
}

.reveal-clip.is-visible {
  clip-path: inset(0 0 0 0);
}

.reveal-quote {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out) 0.25s, transform 0.9s var(--ease-out) 0.25s;
}

.reveal-quote.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-left,
  .reveal-right,
  .reveal-clip,
  .reveal-quote,
  .chip,
  .hero__eyebrow,
  .rule--hero {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ── Founder ── */

.founder {
  background:
    radial-gradient(900px 540px at 12% 18%, rgba(46, 33, 13, 0.4), transparent 70%),
    rgba(19, 15, 9, 0.5);
}

.founder__grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(36px, 4vw, 56px);
}

.portrait {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(60, 44, 18, 0.5), rgba(16, 12, 6, 0.9));
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s ease, border-color 0.5s ease;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 235, 190, 0.14) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 1s var(--ease-out);
  pointer-events: none;
}

.portrait:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  border-color: rgba(217, 164, 69, 0.55);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.8), 0 0 46px -16px var(--gold-glow);
}

.portrait:hover::after {
  transform: translateX(120%);
}

.portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.04);
  transition: filter 0.6s ease, transform 0.8s var(--ease-out);
}

.portrait:hover img {
  filter: grayscale(0.75) contrast(1.06);
  transform: scale(1.025);
}

.founder__role {
  display: inline-block;
  margin-top: 18px;
  background: linear-gradient(100deg, var(--gold-soft), var(--gold));
  color: #171008;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 8px 22px 7px;
  border-radius: 999px;
}

/* ── Chips ── */

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip {
  display: inline-block;
  border: 1px solid rgba(217, 164, 69, 0.25);
  background: rgba(23, 18, 8, 0.8);
  color: var(--ink-dim);
  font-size: 0.92rem;
  font-weight: 400;
  padding: 8px 16px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(14px) scale(0.85);
  transition:
    opacity 0.6s var(--ease-out) var(--d, 0s),
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0s),
    border-color 0.3s ease,
    color 0.3s ease,
    background-color 0.3s ease;
}

.chips.is-visible .chip {
  opacity: 1;
  transform: none;
}

.chip:hover {
  border-color: rgba(217, 164, 69, 0.6);
  color: var(--ink);
  background: rgba(217, 164, 69, 0.1);
}

.chip--gold {
  border-color: rgba(217, 164, 69, 0.65);
  color: var(--gold);
  background: rgba(217, 164, 69, 0.1);
}

.chips--languages {
  margin-top: 34px;
}

/* ── Founder text + quote ── */

.founder__text p {
  color: var(--ink-dim);
  font-size: 1.08rem;
  font-weight: 400;
  margin-bottom: 1.6rem;
}

.quote {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.55;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(53, 39, 16, 0.4), rgba(26, 19, 9, 0.6));
  border-left: 3px solid var(--gold);
  padding: clamp(22px, 2.6vw, 32px) clamp(24px, 3vw, 40px);
  margin: 2.2rem 0;
  overflow: hidden;
}

.quote::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #f0cf8f, var(--gold));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.1s var(--ease-out) 0.3s;
}

.reveal-quote.is-visible.quote::before,
.quote.is-visible::before {
  transform: scaleY(1);
}

/* ── Team ── */

.team {
  background: transparent;
}

.team__body {
  max-width: 880px;
  margin-top: clamp(28px, 3.4vw, 44px);
}

.team__body p {
  color: var(--ink-dim);
  font-size: 1.08rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

/* ── Why Paraguay features ── */

.why-py {
  background:
    radial-gradient(1000px 560px at 88% 12%, rgba(46, 33, 13, 0.32), transparent 70%),
    rgba(19, 15, 9, 0.5);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
  margin-top: clamp(36px, 4vw, 56px);
}

.feature {
  background: linear-gradient(180deg, rgba(35, 26, 12, 0.42), rgba(20, 15, 8, 0.7));
  border: 1px solid rgba(217, 164, 69, 0.16);
  border-radius: 12px;
  padding: clamp(26px, 2.8vw, 38px);
}

.feature.is-visible:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 164, 69, 0.5);
  box-shadow: 0 22px 54px -18px rgba(0, 0, 0, 0.72), 0 0 38px -14px var(--gold-glow);
}

.feature__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.feature__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(217, 164, 69, 0.07);
  transition: transform 0.5s var(--ease-out), background-color 0.4s ease, box-shadow 0.4s ease;
}

.feature:hover .feature__icon {
  transform: translateY(-3px) scale(1.08);
  background: rgba(217, 164, 69, 0.14);
  box-shadow: 0 0 26px -8px var(--gold-glow);
}

.feature__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.3;
  padding-top: 8px;
}

.feature__body {
  color: var(--ink-dim);
  font-size: 1rem;
  font-weight: 400;
}

.feature__stat {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(217, 164, 69, 0.16);
}

.stat__value {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  background: linear-gradient(100deg, #f0cf8f 0%, var(--gold) 55%, #a87b2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  display: block;
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Why reloPY ── */

.why-relopy {
  background: transparent;
}

.cards--pillars {
  margin-top: clamp(36px, 4vw, 56px);
  text-align: left;
}

.cards--pillars .card {
  text-align: left;
  border-radius: 12px;
}

.cards--pillars .card__icon {
  margin: 0 0 1.4rem;
}

.cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 800px;
  margin-inline: auto;
}

.cards--2.cards--pillars {
  margin-top: clamp(20px, 2.4vw, 30px);
}

.card__icon--emoji {
  font-size: 1.5rem;
  border-radius: 14px;
}

/* ── CTA ── */

.cta {
  position: relative;
  overflow: hidden;
  background: rgba(19, 15, 9, 0.5);
  text-align: center;
}

.cta__glow {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(600px 380px at 50% 45%, rgba(217, 164, 69, 0.14), transparent 70%);
  animation: ctaPulse 7s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes ctaPulse {
  from { opacity: 0.65; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.08); }
}

.cta__inner {
  position: relative;
}

.cta__actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.6rem;
}

.btn--solid {
  background: linear-gradient(100deg, var(--gold-soft), var(--gold));
  color: #171008;
  border-color: transparent;
}

.btn--solid::before {
  background: linear-gradient(100deg, #f0cf8f, var(--gold-soft));
}

.btn--solid:hover {
  color: #171008;
}

/* ── Footer contact ── */

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 0.4rem;
}

.footer__contact-label {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer__contact a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer__contact a:hover {
  color: var(--gold);
}

/* ── About responsive ── */

@media (max-width: 920px) {
  .founder__grid {
    grid-template-columns: 1fr;
  }

  .founder__media {
    max-width: 380px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .reveal-left,
  .reveal-right {
    transform: translateY(36px);
  }

  .cards--2 {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

/* ════════════════════════════════════════════════
   Services page
   ════════════════════════════════════════════════ */

/* ── Scroll progress bar (site-wide, injected by JS) ── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 2.5px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress__bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-soft), #f0cf8f, var(--gold));
  box-shadow: 0 0 12px var(--gold-glow);
  transform: scaleX(0);
  transform-origin: left;
}

/* ── Services hero ── */

.hero--services {
  text-align: center;
}

.hero__title--italic .line__inner {
  font-style: italic;
  font-weight: 600;
}

.hero__cta--center {
  display: flex;
  justify-content: center;
}

.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px 56px;
  justify-content: center;
  text-align: left;
  margin-top: 3rem;
}

.hero-stat {
  color: var(--ink-dim);
  font-size: 1.02rem;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) var(--d, 1s) forwards;
}

.hero-stat strong {
  color: var(--gold);
  font-weight: 600;
}

/* ── Flagship banner ── */

.flagship-banner {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: clamp(28px, 3.4vw, 44px);
}

.flagship-banner span {
  position: relative;
  display: inline-block;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 11px 34px 10px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  overflow: hidden;
}

.flagship-banner span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 235, 190, 0.22) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: bannerShine 3.4s var(--ease-out) infinite;
}

@keyframes bannerShine {
  0%   { transform: translateX(-130%); }
  55%  { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}

/* ── Plans grid ── */

.plans {
  background:
    radial-gradient(1000px 600px at 50% 8%, rgba(46, 33, 13, 0.32), transparent 70%),
    rgba(19, 15, 9, 0.5);
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  align-items: start;
  perspective: 1400px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(30, 23, 11, 0.55), rgba(17, 13, 7, 0.85));
  border: 1px solid rgba(217, 164, 69, 0.18);
  border-radius: 14px;
  padding: clamp(26px, 2.6vw, 38px) clamp(22px, 2.2vw, 32px);
}

/* 3D rise on reveal */
.plan.reveal {
  transform: translateY(56px) rotateX(7deg);
  transform-origin: center bottom;
  transition:
    opacity 1s var(--ease-out) var(--d, 0s),
    transform 1s var(--ease-out) var(--d, 0s),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.plan.reveal.is-visible {
  transform: none;
}

.plan.is-visible:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 164, 69, 0.5);
  box-shadow: 0 26px 64px -20px rgba(0, 0, 0, 0.75), 0 0 44px -16px var(--gold-glow);
}

.plan--flagship {
  border-color: rgba(217, 164, 69, 0.6);
  background: linear-gradient(180deg, rgba(53, 39, 16, 0.6), rgba(24, 18, 8, 0.92));
  box-shadow: 0 0 70px -26px var(--gold-glow);
}

.plan--flagship.reveal.is-visible {
  transform: scale(1.035);
}

.plan--flagship.is-visible:hover {
  transform: scale(1.035) translateY(-8px);
  box-shadow: 0 30px 74px -22px rgba(0, 0, 0, 0.8), 0 0 60px -18px var(--gold-glow);
}

.plan__badge {
  position: absolute;
  top: 0;
  right: 26px;
  transform: translateY(-50%);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 7px 18px 6px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan__badge--free {
  background: linear-gradient(100deg, #2f8f5b, #3fae6a);
  color: #06130b;
}

.plan__badge--flagship {
  background: linear-gradient(100deg, var(--gold-soft), var(--gold));
  color: #171008;
}

.plan__eyebrow {
  color: var(--ink-faint);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.plan__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.plan__title--gold {
  color: var(--gold);
}

.plan__desc {
  color: var(--ink-dim);
  font-size: 0.98rem;
  font-weight: 400;
  margin-bottom: 22px;
}

.plan__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid rgba(217, 164, 69, 0.16);
  border-bottom: 1px solid rgba(217, 164, 69, 0.16);
  padding: 16px 0;
  margin-bottom: 22px;
}

.plan__meta-item:last-child {
  border-left: 1px solid rgba(217, 164, 69, 0.16);
  padding-left: 14px;
}

.plan__meta-label {
  display: block;
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.plan__meta-value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
}

.plan__meta-value--gold {
  color: var(--gold);
}

.plan__price {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 3.2vw, 3rem);
  line-height: 1.1;
}

.plan__price--free {
  color: #4cbf7a;
}

.plan__price--gold {
  background: linear-gradient(100deg, #f0cf8f 0%, var(--gold) 55%, #b3842f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan__price-note {
  color: var(--ink-dim);
  font-size: 0.95rem;
  font-weight: 400;
  margin: 6px 0 14px;
}

.plan__ruc {
  color: var(--ink-faint);
  font-size: 0.9rem;
  font-weight: 400;
  border-bottom: 1px solid rgba(217, 164, 69, 0.16);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.plan__ruc strong {
  color: var(--ink-dim);
  font-weight: 500;
}

/* Staggered checklist reveal */

.plan__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 26px;
}

.plan__list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-dim);
  font-size: 0.97rem;
  font-weight: 400;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.plan__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 600;
}

.plan--free .plan__list li::before {
  color: #4cbf7a;
}

.plan__list li strong {
  color: var(--ink);
  font-weight: 500;
}

.plan.is-visible .plan__list li {
  opacity: 1;
  transform: none;
}

.plan.is-visible .plan__list li:nth-child(1)  { transition-delay: 0.35s; }
.plan.is-visible .plan__list li:nth-child(2)  { transition-delay: 0.42s; }
.plan.is-visible .plan__list li:nth-child(3)  { transition-delay: 0.49s; }
.plan.is-visible .plan__list li:nth-child(4)  { transition-delay: 0.56s; }
.plan.is-visible .plan__list li:nth-child(5)  { transition-delay: 0.63s; }
.plan.is-visible .plan__list li:nth-child(6)  { transition-delay: 0.70s; }
.plan.is-visible .plan__list li:nth-child(7)  { transition-delay: 0.77s; }
.plan.is-visible .plan__list li:nth-child(8)  { transition-delay: 0.84s; }
.plan.is-visible .plan__list li:nth-child(9)  { transition-delay: 0.91s; }
.plan.is-visible .plan__list li:nth-child(10) { transition-delay: 0.98s; }

.plan__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.plan__actions .btn {
  width: 100%;
  text-align: center;
}

.plan__link {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s var(--ease-out);
}

.plan__link:hover {
  color: #f0cf8f;
  transform: translateX(3px);
}

.btn--green {
  border-color: #3fae6a;
  color: #4cbf7a;
}

.btn--green::before {
  background: linear-gradient(100deg, #2f8f5b, #3fae6a);
}

.btn--green:hover {
  color: #06130b;
  box-shadow: 0 0 0 1px #3fae6a, 0 12px 40px -8px rgba(63, 174, 106, 0.35);
}

/* ── Investor program ── */

.invest {
  background: transparent;
}

.invest__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.invest-card {
  background: linear-gradient(180deg, rgba(28, 24, 20, 0.75), rgba(16, 13, 9, 0.9));
  border: 1px solid rgba(217, 164, 69, 0.14);
  border-radius: 12px;
  padding: clamp(26px, 2.8vw, 38px);
}

.invest-card.is-visible:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 164, 69, 0.5);
  box-shadow: 0 22px 54px -18px rgba(0, 0, 0, 0.72), 0 0 38px -14px var(--gold-glow);
}

.invest-card__eyebrow {
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.invest-card__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.invest-card__price {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink-dim);
  margin-bottom: 14px;
}

.invest-card__price span {
  font-weight: 700;
  font-size: 1.9rem;
  background: linear-gradient(100deg, #f0cf8f 0%, var(--gold) 55%, #b3842f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.invest-card__price em {
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}

.invest-card__body {
  color: var(--ink-dim);
  font-size: 1rem;
  font-weight: 400;
}

.invest__note {
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.98rem;
  font-weight: 400;
  max-width: 760px;
  margin: clamp(32px, 4vw, 48px) auto 0;
}

/* ── Triple CTA ── */

.triple-cta {
  text-align: center;
  margin-top: clamp(48px, 6vw, 72px);
}

.triple-cta__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--ink);
}

.triple-cta__sub {
  color: var(--ink-dim);
  font-weight: 400;
  margin: 8px 0 34px;
}

.triple-cta__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  max-width: 900px;
  margin-inline: auto;
}

.triple-cta__item .btn {
  width: 100%;
  text-align: center;
}

.triple-cta__item p {
  color: var(--ink-faint);
  font-size: 0.92rem;
  font-weight: 400;
  margin-top: 12px;
}

/* ── Garu ── */

.garu {
  background:
    radial-gradient(900px 540px at 8% 30%, rgba(46, 33, 13, 0.35), transparent 70%),
    rgba(19, 15, 9, 0.5);
}

.garu__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.garu__text {
  color: var(--ink-dim);
  font-size: 1.08rem;
  font-weight: 400;
  margin-top: 1.6rem;
  max-width: 560px;
}

.garu__text--strong {
  color: var(--ink);
  font-weight: 500;
}

.garu__link {
  display: inline-block;
  margin-top: 1.8rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.35s ease, transform 0.35s var(--ease-out), color 0.3s ease;
}

.garu__link:hover {
  color: #f0cf8f;
  border-color: var(--gold);
  transform: translateX(4px);
}

.garu__q-label {
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.bubbles {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bubble {
  background: rgba(28, 22, 12, 0.85);
  border: 1px solid rgba(217, 164, 69, 0.16);
  border-radius: 14px 14px 14px 4px;
  padding: 16px 22px;
  color: var(--ink-dim);
  font-family: var(--serif);
  font-size: 1.02rem;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transform-origin: left bottom;
  transition:
    opacity 0.65s var(--ease-out) var(--d, 0s),
    transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0s),
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.garu__questions.is-visible .bubble,
.bubble.is-visible {
  opacity: 1;
  transform: none;
}

.bubble:hover {
  border-color: rgba(217, 164, 69, 0.5);
  background: rgba(40, 31, 16, 0.9);
}

/* ── Services responsive ── */

@media (max-width: 1080px) {
  .plans__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .plan--flagship.reveal.is-visible,
  .plan--flagship.is-visible:hover {
    transform: scale(1);
  }

  .plan--flagship.is-visible:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 920px) {
  .garu__grid {
    grid-template-columns: 1fr;
  }

  .invest__grid {
    grid-template-columns: 1fr;
  }

  .triple-cta__row {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ════════════════════════════════════════════════
   Compliance page
   ════════════════════════════════════════════════ */

.hero--compliance {
  min-height: 88svh;
  text-align: center;
}

.line__inner--italic,
.accent--italic {
  font-style: italic;
}

/* ── Panels / split grid ── */

.handle {
  background:
    radial-gradient(1000px 560px at 70% 10%, rgba(46, 33, 13, 0.34), transparent 70%),
    rgba(19, 15, 9, 0.5);
}

.why-comp {
  background: transparent;
}

.llc {
  background:
    radial-gradient(900px 520px at 20% 40%, rgba(46, 33, 13, 0.3), transparent 70%),
    rgba(19, 15, 9, 0.5);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(28px, 3.4vw, 44px);
  align-items: start;
}

.panel {
  background: linear-gradient(180deg, rgba(35, 28, 15, 0.55), rgba(19, 15, 8, 0.85));
  border: 1px solid rgba(217, 164, 69, 0.16);
  border-radius: 14px;
  padding: clamp(28px, 3vw, 44px);
}

.panel.is-visible:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 164, 69, 0.5);
  box-shadow: 0 22px 54px -18px rgba(0, 0, 0, 0.72), 0 0 38px -14px var(--gold-glow);
}

.panel__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  margin-bottom: 12px;
}

.panel__sub,
.panel__body {
  color: var(--ink-dim);
  font-size: 1.02rem;
  font-weight: 400;
}

.panel__body + .panel__body {
  margin-top: 1.2rem;
}

.panel__sub {
  margin-bottom: 26px;
}

/* ── Check list (staggered off parent reveal) ── */

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-dim);
  font-size: 1.02rem;
  font-weight: 400;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 600;
}

.is-visible .check-list li {
  opacity: 1;
  transform: none;
}

.is-visible .check-list li:nth-child(1) { transition-delay: 0.4s; }
.is-visible .check-list li:nth-child(2) { transition-delay: 0.5s; }
.is-visible .check-list li:nth-child(3) { transition-delay: 0.6s; }
.is-visible .check-list li:nth-child(4) { transition-delay: 0.7s; }
.is-visible .check-list li:nth-child(5) { transition-delay: 0.8s; }

/* ── Rate tiles (3D flip-in cascade) ── */

.rates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  perspective: 900px;
}

.rate {
  background: rgba(217, 164, 69, 0.07);
  border: 1px solid rgba(217, 164, 69, 0.2);
  border-radius: 10px;
  padding: 18px 20px 14px;
  opacity: 0;
  transform: rotateX(72deg) translateY(18px);
  transform-origin: center top;
  transition:
    opacity 0.7s var(--ease-out) calc(var(--d, 0s) + 0.35s),
    transform 0.7s var(--ease-out) calc(var(--d, 0s) + 0.35s),
    border-color 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

.is-visible .rate {
  opacity: 1;
  transform: none;
}

.rate:hover {
  border-color: rgba(217, 164, 69, 0.55);
  background: rgba(217, 164, 69, 0.13);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6), 0 0 26px -10px var(--gold-glow);
  transform: translateY(-4px);
}

.rate__value {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.2;
  background: linear-gradient(100deg, #f0cf8f 0%, var(--gold) 60%, #b3842f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rate__label {
  display: block;
  color: var(--ink-dim);
  font-size: 0.88rem;
  font-weight: 400;
  margin-top: 2px;
}

/* ── US LLC card ── */

.llc-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  background: linear-gradient(180deg, rgba(35, 28, 15, 0.55), rgba(19, 15, 8, 0.85));
  border: 1px solid rgba(217, 164, 69, 0.16);
  border-radius: 14px;
  padding: clamp(28px, 3.4vw, 48px);
  margin-top: clamp(28px, 3.4vw, 44px);
  transition:
    opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.llc-card.is-visible:hover {
  border-color: rgba(217, 164, 69, 0.5);
  box-shadow: 0 22px 54px -18px rgba(0, 0, 0, 0.72), 0 0 38px -14px var(--gold-glow);
}

.llc-card__ask {
  color: var(--ink-faint);
  font-style: italic;
  font-size: 0.98rem;
  margin-top: 1.4rem;
}

.llc-card__side {
  padding-top: 6px;
}

.dot-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 1.6rem;
}

.dot-list li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-dim);
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.55s var(--ease-out) calc(var(--d, 0s) + 0.45s),
    transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--d, 0s) + 0.45s);
}

.dot-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.is-visible .dot-list li {
  opacity: 1;
  transform: none;
}

/* ── Compliance responsive ── */

@media (max-width: 920px) {
  .split-grid {
    grid-template-columns: 1fr;
  }

  .llc-card {
    grid-template-columns: 1fr;
  }

  .llc-card__side {
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .rates {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════
   Real Estate page
   ════════════════════════════════════════════════ */

.hero--re {
  text-align: center;
}

/* COMING SOON — letters track in from wide spacing, then shimmer */

.coming-soon {
  display: flex;
  justify-content: center;
  gap: 0.08em;
  margin-top: clamp(2.6rem, 5vw, 4.2rem);
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 8.4vw, 6.4rem);
  line-height: 1;
  position: relative;
}

.coming-soon span {
  display: inline-block;
  background: linear-gradient(100deg, #f0cf8f 0%, var(--gold) 55%, #b3842f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateX(0.6em) scale(1.15);
  filter: blur(6px);
  animation: letterIn 1s var(--ease-out) forwards;
}

.coming-soon span:nth-child(1)  { animation-delay: 1.05s; }
.coming-soon span:nth-child(2)  { animation-delay: 1.12s; }
.coming-soon span:nth-child(3)  { animation-delay: 1.19s; }
.coming-soon span:nth-child(4)  { animation-delay: 1.26s; }
.coming-soon span:nth-child(5)  { animation-delay: 1.33s; }
.coming-soon span:nth-child(6)  { animation-delay: 1.40s; }
.coming-soon span:nth-child(8)  { animation-delay: 1.54s; }
.coming-soon span:nth-child(9)  { animation-delay: 1.61s; }
.coming-soon span:nth-child(10) { animation-delay: 1.68s; }
.coming-soon span:nth-child(11) { animation-delay: 1.75s; }

.coming-soon__gap {
  width: 0.45em;
}

@keyframes letterIn {
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* soft breathing glow behind the wordmark */
.coming-soon::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background: radial-gradient(50% 60% at 50% 55%, rgba(217, 164, 69, 0.16), transparent 70%);
  z-index: -1;
  opacity: 0;
  animation: comingGlow 5s ease-in-out 2s infinite alternate, fadeUp 1.2s ease 1.8s forwards;
  pointer-events: none;
}

@keyframes comingGlow {
  from { transform: scale(1); opacity: 0.55; }
  to   { transform: scale(1.12); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .coming-soon span,
  .coming-soon::before {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

/* ── Section backgrounds ── */

.why-buy {
  background:
    radial-gradient(1000px 560px at 50% 6%, rgba(46, 33, 13, 0.34), transparent 70%),
    rgba(19, 15, 9, 0.5);
}

.insights {
  background: rgba(19, 15, 9, 0.5);
}

/* ════════════════════════════════════════════════
   Translation page
   ════════════════════════════════════════════════ */

.hero__title--md {
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
}

.line:nth-child(3) .line__inner {
  animation-delay: 0.36s;
}

.rule--left {
  margin-left: 0;
}

/* ── Pricing promise ── */

.promise {
  background:
    radial-gradient(900px 540px at 14% 30%, rgba(46, 33, 13, 0.36), transparent 70%),
    rgba(19, 15, 9, 0.5);
}

.promise__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}

.promise__right .panel__body + .panel__body {
  margin-top: 1.4rem;
}

.promise__right strong {
  color: var(--ink);
  font-weight: 500;
}

/* ── Versus comparison ── */

.upload-why {
  background: transparent;
}

.versus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 36px);
  align-items: stretch;
  margin-top: clamp(36px, 4.4vw, 60px);
}

.versus__card {
  position: relative;
  border-radius: 14px;
  padding: clamp(28px, 3vw, 44px);
}

.versus__card--old {
  background: rgba(14, 11, 6, 0.85);
  border: 1px solid rgba(148, 138, 117, 0.18);
}

.versus__card--new {
  background: linear-gradient(180deg, rgba(53, 39, 16, 0.5), rgba(24, 18, 8, 0.9));
  border: 1px solid rgba(217, 164, 69, 0.55);
  box-shadow: 0 0 60px -22px var(--gold-glow);
}

.versus__card--new.is-visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 64px -20px rgba(0, 0, 0, 0.75), 0 0 60px -16px var(--gold-glow);
}

.versus__card--old.is-visible:hover {
  transform: translateY(-6px);
  border-color: rgba(148, 138, 117, 0.34);
}

.versus__badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 7px 18px 6px;
  border-radius: 999px;
  background: rgba(148, 138, 117, 0.16);
  color: var(--ink-faint);
  margin-bottom: 18px;
}

.versus__badge--gold {
  background: linear-gradient(100deg, var(--gold-soft), var(--gold));
  color: #171008;
}

.versus__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.35rem, 1.9vw, 1.65rem);
  margin-bottom: 20px;
}

.versus__list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.versus__list li {
  position: relative;
  padding: 13px 0 13px 32px;
  color: var(--ink-dim);
  font-size: 1rem;
  font-weight: 400;
  border-top: 1px solid rgba(148, 138, 117, 0.12);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.versus__card--new .versus__list li {
  border-top-color: rgba(217, 164, 69, 0.16);
  transform: translateX(16px);
}

.versus__list li:first-child {
  border-top: 0;
}

.versus__list--dash li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-faint);
}

.versus__list--check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.is-visible .versus__list li {
  opacity: 1;
  transform: none;
}

.is-visible .versus__list li:nth-child(1) { transition-delay: 0.35s; }
.is-visible .versus__list li:nth-child(2) { transition-delay: 0.47s; }
.is-visible .versus__list li:nth-child(3) { transition-delay: 0.59s; }
.is-visible .versus__list li:nth-child(4) { transition-delay: 0.71s; }
.is-visible .versus__list li:nth-child(5) { transition-delay: 0.83s; }

.versus__verdict {
  text-align: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-top: clamp(40px, 5vw, 64px);
}

/* ── Three steps ── */

.prep {
  background:
    radial-gradient(1000px 560px at 50% 0%, rgba(46, 33, 13, 0.3), transparent 70%),
    rgba(19, 15, 9, 0.5);
}

.steps3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.step3 {
  background: rgba(16, 12, 6, 0.85);
  border: 1px solid rgba(217, 164, 69, 0.35);
  border-radius: 12px;
  padding: clamp(26px, 2.8vw, 40px);
}

.step3.is-visible:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 164, 69, 0.6);
  box-shadow: 0 22px 54px -18px rgba(0, 0, 0, 0.72), 0 0 38px -14px var(--gold-glow);
}

.step3__num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(100deg, var(--gold-soft), var(--gold));
  color: #171008;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 18px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s ease;
}

.step3:hover .step3__num {
  transform: rotate(-8deg) scale(1.1);
  box-shadow: 0 0 26px -6px var(--gold-glow);
}

.step3__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.step3__body {
  color: var(--ink-dim);
  font-size: 0.99rem;
  font-weight: 400;
}

/* ── PDF note ── */

.pdf-note {
  margin-top: clamp(28px, 3.4vw, 44px);
  border: 1px solid rgba(217, 164, 69, 0.4);
  border-radius: 10px;
  padding: 18px 26px;
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.99rem;
  font-weight: 400;
}

.pdf-note strong {
  color: var(--ink);
  font-weight: 500;
}

.pdf-note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.pdf-note a:hover {
  color: #f0cf8f;
}

/* ── Upload cue ── */

.upload-cue {
  text-align: center;
  margin: clamp(48px, 6vw, 80px) 0 clamp(28px, 3.4vw, 44px);
}

.upload-cue__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--gold);
}

.upload-cue__arrow {
  display: inline-block;
  margin-top: 14px;
  font-size: 2rem;
  color: var(--gold);
  animation: cueBounce 1.8s ease-in-out infinite;
}

@keyframes cueBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(12px); opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .upload-cue__arrow { animation: none; }
}

/* ── Upload form ── */

.tform {
  max-width: 860px;
  margin-inline: auto;
  background: linear-gradient(180deg, rgba(35, 28, 15, 0.55), rgba(19, 15, 8, 0.9));
  border: 1px solid rgba(217, 164, 69, 0.25);
  border-radius: 16px;
  padding: clamp(28px, 3.6vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tform__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tform__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tform__field label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.tform__field label em {
  color: var(--gold);
  font-style: normal;
}

.tform__field input,
.tform__field select,
.tform__field textarea {
  width: 100%;
  background: rgba(13, 11, 7, 0.85);
  border: 1px solid rgba(217, 164, 69, 0.22);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.tform__field input::placeholder,
.tform__field textarea::placeholder {
  color: var(--ink-faint);
}

.tform__field select:invalid {
  color: var(--ink-faint);
}

.tform__field input:hover,
.tform__field select:hover,
.tform__field textarea:hover {
  border-color: rgba(217, 164, 69, 0.4);
}

.tform__field input:focus,
.tform__field select:focus,
.tform__field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 164, 69, 0.18), 0 0 24px -10px var(--gold-glow);
  background: rgba(20, 16, 9, 0.95);
}

.tform__field textarea {
  resize: vertical;
  min-height: 110px;
}

/* dropzone */

.tform__drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  border: 1.5px dashed rgba(217, 164, 69, 0.4);
  border-radius: 12px;
  padding: 34px 20px 30px;
  cursor: pointer;
  transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.35s var(--ease-out);
}

.tform__drop:hover {
  border-color: var(--gold);
  background: rgba(217, 164, 69, 0.06);
  transform: translateY(-2px);
}

.tform__drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.tform__drop-icon {
  font-size: 1.6rem;
  color: var(--gold);
  transition: transform 0.4s var(--ease-out);
}

.tform__drop:hover .tform__drop-icon {
  transform: translateY(-4px);
}

.tform__drop-title {
  font-weight: 500;
  color: var(--gold);
  font-size: 1.05rem;
}

.tform__drop-hint {
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.tform__submit {
  text-align: center;
  margin-top: 6px;
}

.tform__submit .btn {
  border: 0;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 17px 52px;
}

.tform__legal {
  margin-top: 16px;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.tform__legal a {
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.tform__legal a:hover {
  color: var(--gold);
}

.tform__legal span {
  margin: 0 8px;
  color: var(--ink-faint);
}

/* ── FAQ accordion ── */

.faq {
  background: transparent;
}

.faq__list {
  max-width: 860px;
  margin: clamp(32px, 4vw, 52px) auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: linear-gradient(180deg, rgba(35, 28, 15, 0.5), rgba(19, 15, 8, 0.85));
  border: 1px solid rgba(217, 164, 69, 0.18);
  border-radius: 12px;
  overflow: hidden;
  transition:
    opacity var(--dur) var(--ease-out) var(--d, 0s),
    transform var(--dur) var(--ease-out) var(--d, 0s),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.faq__item:hover {
  border-color: rgba(217, 164, 69, 0.45);
}

.faq__item[open] {
  border-color: rgba(217, 164, 69, 0.55);
  box-shadow: 0 0 34px -14px var(--gold-glow);
}

.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  padding: 20px 26px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  transition: color 0.3s ease;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  color: var(--gold);
}

.faq__plus {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  transition: transform 0.45s var(--ease-out);
}

.faq__plus::before,
.faq__plus::after {
  content: "";
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.45s var(--ease-out);
}

.faq__plus::before {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  margin-left: -1px;
}

.faq__plus::after {
  top: 50%;
  left: 0;
  height: 2px;
  width: 100%;
  margin-top: -1px;
}

.faq__item[open] .faq__plus {
  transform: rotate(135deg);
}

.faq__answer {
  padding: 0 26px 22px;
  color: var(--ink-dim);
  font-size: 1rem;
  font-weight: 400;
}

.faq__item[open] .faq__answer p {
  animation: fadeUp 0.5s var(--ease-out);
}

/* ── Translation responsive ── */

@media (max-width: 920px) {
  .promise__grid,
  .versus,
  .steps3,
  .tform__row {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════
   Site-wide polish layer — ambient gradient, fluent
   interactions, cross-page transitions
   ════════════════════════════════════════════════ */

/* ── Ambient aurora (drifts behind translucent sections) ── */

body::before {
  content: "";
  position: fixed;
  inset: -22%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42% 34% at 18% 24%, rgba(122, 88, 36, 0.2), transparent 70%),
    radial-gradient(38% 32% at 82% 72%, rgba(94, 67, 27, 0.17), transparent 70%),
    radial-gradient(28% 24% at 66% 14%, rgba(64, 47, 20, 0.15), transparent 70%);
  animation: aurora 26s ease-in-out infinite alternate;
}

@keyframes aurora {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to   { transform: translate3d(1.5%, 2%, 0) scale(1.07); }
}

/* extra breathing gold aura inside every hero */

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 70% 32%, rgba(217, 164, 69, 0.1), transparent 70%);
  animation: heroAura 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroAura {
  from { opacity: 0.5; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.09) translate(-1.5%, 1.5%); }
}

/* ── Cross-document page transitions (Chrome 126+, progressive) ── */

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vtFadeOut 0.28s ease both;
}

::view-transition-new(root) {
  animation: vtFadeIn 0.38s ease 0.08s both;
}

@keyframes vtFadeOut {
  to { opacity: 0; transform: translateY(-8px); }
}

@keyframes vtFadeIn {
  from { opacity: 0; transform: translateY(10px); }
}

/* ── Cursor spotlight on cards (set via --mx/--my in main.js) ── */

.glow-spot {
  position: relative;
}

.glow-spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 207, 143, 0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.glow-spot:hover::after {
  opacity: 1;
}

/* ── Fluent press + focus states ── */

* {
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}

.btn--lg:active,
.tform__submit .btn:active {
  transform: scale(0.97);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
}

/* ── Luxury scrollbar ── */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0805;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-soft), #6b4e1e);
  border-radius: 8px;
  border: 2px solid #0a0805;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f0cf8f, var(--gold-soft));
}

/* ── Reduced motion guards for the polish layer ── */

@media (prefers-reduced-motion: reduce) {
  body::before,
  .hero__bg::after {
    animation: none !important;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none !important;
  }

  .glow-spot::after {
    display: none;
  }
}

/* ════════════════════════════════════════════════
   Nav dropdown (Services → Residency / Translation /
   Tax Compliance) + final consistency pass
   ════════════════════════════════════════════════ */

.nav__item {
  position: relative;
}

.nav__caret {
  display: inline-block;
  margin-left: 7px;
  font-size: 0.68em;
  color: var(--gold);
  transform-origin: center 45%;
  transition: transform 0.4s var(--ease-out);
}

.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translate(-50%, 10px);
  min-width: 216px;
  padding: 10px;
  background: rgba(16, 12, 7, 0.92);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(217, 164, 69, 0.28);
  border-radius: 12px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px -18px var(--gold-glow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    transform 0.45s var(--ease-out),
    visibility 0s linear 0.32s;
}

/* invisible bridge so the pointer can travel from link to panel */
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s, 0s, 0s;
}

.nav__dropdown a {
  display: block;
  padding: 11px 16px;
  border-radius: 8px;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    padding-left 0.35s var(--ease-out);
}

.nav__dropdown a:hover {
  background: rgba(217, 164, 69, 0.1);
  color: var(--gold);
  padding-left: 23px;
}

.nav__dropdown a.is-active {
  color: var(--gold);
}

.nav__dropdown a.is-active::before {
  content: "— ";
  color: var(--gold);
}

/* staggered item entrance when the panel opens */
.nav__dropdown a {
  opacity: 0;
  transform: translateY(6px);
}

.nav__item:hover .nav__dropdown a,
.nav__item:focus-within .nav__dropdown a {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.35s ease var(--dd, 0s),
    transform 0.4s var(--ease-out) var(--dd, 0s),
    background-color 0.3s ease,
    color 0.3s ease,
    padding-left 0.35s var(--ease-out);
}

.nav__item:hover .nav__dropdown a:nth-child(1),
.nav__item:focus-within .nav__dropdown a:nth-child(1) { --dd: 0.05s; }
.nav__item:hover .nav__dropdown a:nth-child(2),
.nav__item:focus-within .nav__dropdown a:nth-child(2) { --dd: 0.11s; }
.nav__item:hover .nav__dropdown a:nth-child(3),
.nav__item:focus-within .nav__dropdown a:nth-child(3) { --dd: 0.17s; }

/* ── Footer links pick up the same underline language as the nav ── */

.footer__links a {
  position: relative;
  padding-bottom: 2px;
}

.footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.footer__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Unified hover lift rhythm across all interactive cards ── */

.card.is-visible,
.plan.is-visible,
.panel.is-visible,
.invest-card.is-visible,
.feature.is-visible,
.step.is-visible,
.step3.is-visible {
  transition-property: opacity, transform, border-color, box-shadow, background-color;
}

/* ── Mobile: dropdown flattens into the fullscreen menu ── */

@media (max-width: 860px) {
  .nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
  }

  .nav__caret {
    display: none;
  }

  .nav__dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
  }

  .nav__dropdown::before {
    display: none;
  }

  .nav__dropdown a,
  .nav__item:hover .nav__dropdown a,
  .nav__item:focus-within .nav__dropdown a {
    opacity: 1;
    transform: none;
    padding: 0;
    font-size: 1.1rem;
    color: var(--ink-faint);
  }

  .nav__dropdown a:hover {
    background: transparent;
    padding-left: 0;
    color: var(--gold);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__dropdown,
  .nav__dropdown a,
  .nav__caret {
    transition: none !important;
  }

  .nav__dropdown a {
    opacity: 1;
    transform: none;
  }
}
