@import url('fonts.css');

/* ==========================================================================
   Green Noray — design tokens
   ========================================================================== */
:root {
  --green:        #14503A;
  --green-light:  #1A5C43;
  --green-deep:   #0C3324;
  --green-night:  #08251A;
  --green-moss:   #11402E;
  --gold:         #B08D57;
  --gold-mid:     #C9A268;
  --gold-light:   #D9BE93;
  --whatsapp:     #25D366;

  --bg:           #F6F7F4;
  --surface:      #FFFFFF;
  --surface-soft: #FBFBF8;
  --cream:        #F3ECDD;
  --cream-line:   #E9E0CC;

  --ink:          #31424E;
  --ink-muted:    #5C6B75;
  --ink-faint:    #7A8892;
  --ink-ghost:    #9AA6AE;

  --on-dark:          #FFFFFF;
  --on-dark-muted:    #C2D6CB;
  --on-dark-soft:     #BCD2C5;
  --on-dark-faint:    #93AF9F;
  --on-dark-bright:   #E8F1EA;
  --on-dark-nav:      #DCE8E0;

  --line:        #E0E2DA;
  --line-soft:   #E5E7DD;
  --line-faint:  #EBEDE5;
  --line-strong: #C6C9BC;

  --serif: 'Marcellus', 'Times New Roman', serif;
  --sans:  'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --radius-card: 14px;
  --radius-panel: 16px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold); }

img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: pretty; }
p { margin: 0; }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { left: 16px; color: #fff; }

/* Visually hidden but available to screen readers and crawlers. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Film-grain overlay used by the dark bands (hero, protección, contacto). */
.noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22180%22 height=%22180%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.85%22 numOctaves=%222%22/%3E%3C/filter%3E%3Crect width=%22180%22 height=%22180%22 filter=%22url(%23n)%22/%3E%3C/svg%3E');
}

/* ==========================================================================
   Motion
   ========================================================================== */
@keyframes fadeUp    { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeScale { from { opacity: 0; transform: translateY(18px) scale(.955); } to { opacity: 1; transform: none; } }
@keyframes floatY    { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes nudgeX    { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes drawLine  { from { transform: scaleY(0); } to { transform: scaleY(1); } }
/* The journey line stops at the flag marker (~80% down the container);
   the mask on .path-line fades out whatever sits below it. */
@keyframes drawRoute { from { transform: scaleY(0); } to { transform: scaleY(.8); } }
@keyframes marqueeX  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes progressGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes spinSlow  { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes scrollCue { 0%, 100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(8px); opacity: .3; } }
@keyframes pulseGreen {
  0%   { box-shadow: 0 14px 30px -12px rgba(0,0,0,.55), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 14px 30px -12px rgba(0,0,0,.55), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 14px 30px -12px rgba(0,0,0,.55), 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes pulseGold {
  0%   { box-shadow: 0 12px 26px -10px rgba(176,141,87,.5), 0 0 0 0 rgba(217,190,147,.45); }
  70%  { box-shadow: 0 12px 26px -10px rgba(176,141,87,.5), 0 0 0 14px rgba(217,190,147,0); }
  100% { box-shadow: 0 12px 26px -10px rgba(176,141,87,.5), 0 0 0 0 rgba(217,190,147,0); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.4); }
  70%  { opacity: 1; transform: scale(1.12); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shineSweep {
  0%       { transform: translateX(-130%) skewX(-16deg); }
  55%, 100% { transform: translateX(260%) skewX(-16deg); }
}
@keyframes iconPop {
  0%   { transform: scale(1) rotate(0); }
  45%  { transform: scale(1.16) rotate(-7deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes waveHello {
  0%, 84%, 100% { transform: rotate(0); }
  88%  { transform: rotate(13deg); }
  92%  { transform: rotate(-10deg); }
  96%  { transform: rotate(7deg); }
}
@keyframes menuPop {
  from { opacity: 0; transform: translateY(-8px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes auraDrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to   { transform: translate3d(1.5%, 1.5%, 0) scale(1.05); }
}
@keyframes ruleGrow {
  from { opacity: 0; transform: translateX(-50%) scaleX(.2); }
  to   { opacity: 1; transform: translateX(-50%) scaleX(1); }
}
@keyframes flankGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes beadTravel { from { top: 0%; } to { top: 80%; } }
@keyframes markerIgnite {
  to {
    background: var(--green);
    border-color: var(--green);
    color: var(--gold-light);
    box-shadow: 0 12px 26px -10px rgba(12,51,36,.6);
  }
}
@keyframes markerRipple {
  0%   { opacity: 0; transform: scale(.7); }
  35%  { opacity: .75; }
  100% { opacity: 0; transform: scale(2); }
}
@keyframes ghostFill {
  from { color: transparent; transform: translateY(26px); }
  to   { color: rgba(176,141,87,.22); transform: translateY(-8px); }
}
@keyframes stampIn {
  from { opacity: 0; transform: scale(1.3) rotate(-4deg); }
  45%  { opacity: 1; }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes cardRise {
  from { opacity: .3; transform: perspective(900px) rotateX(10deg) translateY(26px) scale(.96); }
  to   { opacity: 1; transform: perspective(900px) rotateX(0) translateY(0) scale(1); }
}
@keyframes sparkRise {
  0%   { opacity: 0; transform: translateY(0) scale(.6); }
  12%  { opacity: .9; }
  55%  { opacity: .45; }
  100% { opacity: 0; transform: translateY(-230px) scale(1.2); }
}

/* Scroll-driven reveal where supported; degrades to a one-shot fade elsewhere. */
[data-reveal] {
  animation: fadeUp .8s ease both;
  animation-timeline: view();
  animation-range: entry 0% entry 32%;
}
[data-reveal-zoom] {
  animation: fadeScale .7s ease both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}
.arrow { display: inline-block; animation: nudgeX 1.4s ease-in-out infinite; }

/* Scroll progress bar — only shown where scroll() timelines exist, because
   without them the animation would complete instantly and paint a full bar. */
.progress-bar { display: none; }
@supports (animation-timeline: scroll()) {
  .progress-bar {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 100;
    background: linear-gradient(90deg, var(--whatsapp), var(--gold-light), var(--gold));
    transform-origin: left;
    animation: progressGrow linear both;
    animation-timeline: scroll();
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal], [data-reveal-zoom] { opacity: 1; transform: none; }
  .progress-bar, .scroll-cue, .path-final-shine,
  .path-line-bead, .path-final-sparks { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease;
}
.btn:hover .arrow { animation: none; }

/* WhatsApp green — the main conversion action. */
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--green-deep);
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 700;
  animation: pulseGreen 2.4s ease-out infinite;
}
.btn-whatsapp:hover {
  background: #fff;
  color: var(--green);
  transform: translateY(-3px) scale(1.05);
  animation: none;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,.6);
}
.btn-block { display: flex; justify-content: center; }

/* Gold — secondary conversion on dark bands. */
.btn-gold {
  background: var(--gold-light);
  color: var(--green-deep);
  padding: 15px 28px;
  font-size: 15.5px;
  font-weight: 700;
}
.btn-gold:hover {
  background: #fff;
  color: var(--green);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 44px -16px rgba(0,0,0,.55);
}

/* Small gold pill in the header. */
.btn-gold-sm {
  background: var(--gold-light);
  color: var(--green-deep);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  animation: pulseGold 2.8s ease-out infinite;
}
.btn-gold-sm:hover {
  background: #fff;
  color: var(--green);
  transform: translateY(-3px) scale(1.06);
  animation: none;
  box-shadow: 0 18px 38px -12px rgba(0,0,0,.5);
}

/* Forest green on light backgrounds. */
.btn-forest {
  background: var(--green);
  color: #fff;
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 700;
  animation: pulseGold 2.8s ease-out infinite;
}
.btn-forest:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  animation: none;
  box-shadow: 0 22px 44px -16px rgba(176,141,87,.8);
}

/* Outlined, for dark backgrounds. */
.btn-outline-light {
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  padding: 15px 28px;
  font-size: 15px;
}
.btn-outline-light:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: rgba(217,190,147,.08);
  transform: translateY(-3px);
}

/* Arrow link on light backgrounds. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--green);
}
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover .arrow { animation: none; }

/* ==========================================================================
   Header + navigation (dark)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12,51,36,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand > svg, .brand > img { flex-shrink: 0; display: block; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .22em;
  color: #fff;
  white-space: nowrap;
}
.brand-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .4em;
  color: var(--gold-light);
  margin-top: 4px;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  flex-wrap: wrap;
}
.nav a { color: var(--on-dark-nav); }
.nav a:hover { color: var(--gold-light); }

/* Language switch — a real link to the other locale, not a JS toggle. */
.lang-switch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  background: var(--surface);
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  padding: 0;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.lang-switch:hover {
  border-color: var(--gold-light);
  box-shadow: 0 8px 18px -8px rgba(0,0,0,.5);
  transform: scale(1.06);
}
.lang-switch svg { display: block; width: 100%; height: 100%; }

/* Language menu — CSS-only <details> dropdown listing every locale. */
.lang-menu { position: relative; flex-shrink: 0; }
.lang-menu > summary {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  list-style: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary svg { display: block; width: 100%; height: 100%; }
.lang-menu > summary:hover,
.lang-menu[open] > summary {
  border-color: var(--gold-light);
  box-shadow: 0 8px 18px -8px rgba(0,0,0,.5);
  transform: scale(1.06);
}
.lang-menu-list {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 70;
  margin: 0;
  padding: 8px;
  list-style: none;
  min-width: 178px;
  display: grid;
  gap: 2px;
  background: var(--green-deep);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  box-shadow: 0 26px 52px -22px rgba(0,0,0,.65);
  animation: menuPop .22s ease both;
}
.lang-menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--on-dark-nav);
  transition: background-color .2s ease, color .2s ease;
}
.lang-menu-list a:hover { background: rgba(255,255,255,.08); color: #fff; }
.lang-menu-list a svg {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.25);
}
.lang-menu-list a[aria-current] { color: var(--gold-light); pointer-events: none; }
.lang-menu-list a[aria-current]::after { content: '✓'; margin-left: auto; font-size: 12px; }

/* ==========================================================================
   Section furniture
   ========================================================================== */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow-light { color: var(--gold-light); }
.section-title { font-size: clamp(30px, 5vw, 40px); color: var(--green); margin: 14px 0 16px; }
.center { text-align: center; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(110% 140% at 80% -20%, rgba(176,141,87,.3) 0%, rgba(176,141,87,0) 54%),
    linear-gradient(90deg, rgba(8,37,26,.98) 0%, rgba(12,51,36,.95) 42%, rgba(12,51,36,.72) 66%, rgba(12,51,36,.18) 100%),
    url('../img/cannabis-legal-hero.webp') 72% center / auto 100% no-repeat,
    var(--green-deep);
}
.hero-halo {
  position: absolute;
  top: -45%;
  right: -15%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(217,190,147,.16), transparent 30%, rgba(37,211,102,.07) 55%, transparent 75%, rgba(217,190,147,.16));
  filter: blur(70px);
  animation: spinSlow 44s linear infinite;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding: 96px 24px 110px;
  position: relative;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-light);
  animation: fadeUp .6s ease both;
}
.hero h1 {
  font-size: clamp(38px, 6.4vw, 62px);
  line-height: 1.06;
  color: #fff;
  margin: 22px 0 24px;
  max-width: 17ch;
  animation: fadeUp .7s .08s ease both;
}
.hero-lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--on-dark-muted);
  max-width: 56ch;
  animation: fadeUp .7s .16s ease both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
  animation: fadeUp .7s .24s ease both;
}
.hero-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 34px;
  font-size: 13px;
  color: var(--on-dark-faint);
  flex-wrap: wrap;
  animation: fadeUp .7s .32s ease both;
}
.hero-meta .sep { color: #4E6E5E; }

/* Hero emblem — floating gold leaf brand lockup on the hero's right side. */
.hero-portrait {
  position: absolute;
  top: 96px;
  bottom: 110px;
  right: 24px;
  margin: 0;
  display: flex;
  align-items: center;
  animation: fadeUp .9s .4s ease both;
}
.hero-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  animation: floatY 7s ease-in-out infinite;
}
.hero-emblem svg { filter: drop-shadow(0 18px 36px rgba(0,0,0,.5)); }
.hero-emblem-name {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: .24em;
  color: #F6F7F4;
}
.hero-emblem-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: -8px;
}
@media (max-width: 1100px) {
  .hero-portrait { display: none; }
}

/* Oversized outlined motto pinned to the hero's lower-left corner. */
.hero-outline {
  position: absolute;
  bottom: -24px;
  left: 18px;
  font-family: var(--serif);
  font-size: min(140px, 15vw);
  line-height: 1;
  letter-spacing: .04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.13);
  white-space: nowrap;
  pointer-events: none;
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--on-dark-faint);
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.scroll-cue-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--gold-light), transparent);
  animation: scrollCue 1.6s ease-in-out infinite;
}

/* ==========================================================================
   Marquee band
   ========================================================================== */
.marquee {
  background: linear-gradient(90deg, var(--gold), var(--gold-mid) 50%, var(--gold));
  overflow: hidden;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.25);
  border-bottom: 1px solid rgba(12,51,36,.2);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeX 32s linear infinite;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .28em;
  color: var(--green-deep);
  text-transform: uppercase;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
}
.marquee-group span { white-space: nowrap; }
.marquee-group svg { opacity: .5; flex-shrink: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ==========================================================================
   Manifesto
   ========================================================================== */
.manifesto {
  max-width: 900px;
  margin: 0 auto;
  padding: 118px 24px 76px;
  text-align: center;
  position: relative;
}
.manifesto-mark {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 160px;
  line-height: 1;
  color: rgba(176,141,87,.16);
  pointer-events: none;
}
.manifesto-lead {
  font-family: var(--serif);
  font-size: clamp(25px, 4vw, 32px);
  line-height: 1.35;
  color: var(--green);
  text-wrap: pretty;
}
.manifesto-sub {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-muted);
  margin: 22px auto 0;
  max-width: 58ch;
}
.manifesto-rule {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, rgba(176,141,87,0), var(--gold), rgba(176,141,87,0));
  margin: 44px auto 0;
}
.manifesto-triad {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 26px;
}
/* Stagger the three reveal ranges so the triad cascades in left to right. */
.manifesto-triad > div:nth-child(2) { animation-range: entry 10% entry 42%; }
.manifesto-triad > div:nth-child(3) { animation-range: entry 20% entry 52%; }
.triad-title { font-family: var(--serif); font-size: 24px; color: var(--gold); }
.triad-sub { font-size: 14.5px; color: var(--ink-muted); margin-top: 6px; }

/* ==========================================================================
   El camino — the step-by-step timeline
   ========================================================================== */
.path {
  position: relative;
  overflow: hidden;
  overflow: clip;
  background-color: var(--cream);
  background-image:
    radial-gradient(rgba(176,141,87,.15) 1px, transparent 1.5px),
    linear-gradient(180deg, #FBF9F2 0%, #F8F3E7 48%, var(--cream) 100%);
  background-size: 26px 26px, 100% 100%;
  border-top: 1px solid var(--cream-line);
  border-bottom: 1px solid var(--cream-line);
  padding: 88px 24px 96px;
}
/* Soft colour auras that drift very slowly behind the content. */
.path::before {
  content: '';
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background:
    radial-gradient(38% 30% at 12% 10%, rgba(37,211,102,.09), transparent 70%),
    radial-gradient(44% 36% at 90% 28%, rgba(176,141,87,.13), transparent 72%),
    radial-gradient(34% 28% at 20% 88%, rgba(20,80,58,.07), transparent 70%);
  animation: auraDrift 26s ease-in-out infinite alternate;
}
.path-inner { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; }

/* Hairlines flanking the eyebrow + a drawn gold flourish under the title. */
.path .eyebrow::before,
.path .eyebrow::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  vertical-align: 4px;
  margin: 0 14px;
  animation: flankGrow .9s ease both;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
}
.path .eyebrow::before { transform-origin: right; }
.path .eyebrow::after { transform-origin: left; }
.path .section-title {
  position: relative;
  padding-bottom: 24px;
  margin-bottom: 10px;
}
.path .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120px;
  height: 10px;
  transform: translateX(-50%);
  background: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 120 10%22%3E%3Cline x1=%222%22 y1=%225%22 x2=%2246%22 y2=%225%22 stroke=%22%23B08D57%22 stroke-width=%221%22/%3E%3Crect x=%2256%22 y=%221%22 width=%228%22 height=%228%22 transform=%22rotate(45 60 5)%22 fill=%22none%22 stroke=%22%23B08D57%22 stroke-width=%221.2%22/%3E%3Cline x1=%2274%22 y1=%225%22 x2=%22118%22 y2=%225%22 stroke=%22%23B08D57%22 stroke-width=%221%22/%3E%3C/svg%3E') center / contain no-repeat;
  animation: ruleGrow 1s ease both;
  animation-timeline: view();
  animation-range: entry 0% entry 70%;
}
.path-lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0 auto 56px;
  max-width: 56ch;
  text-align: center;
}
.path-steps {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  view-timeline: --path-progress block;
}
/* The route: a dashed "map" track that the journey line draws itself over.
   The mask dissolves the route just past the flag — the destination. */
.path-line {
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: repeating-linear-gradient(180deg, rgba(176,141,87,.4) 0 5px, transparent 5px 12px);
  -webkit-mask-image: linear-gradient(180deg, #000 79%, transparent 87%);
  mask-image: linear-gradient(180deg, #000 79%, transparent 87%);
}
.path-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--whatsapp), var(--gold) 20%, var(--green));
  transform-origin: top;
  /* Linear on purpose: scrubbed by scroll, an easing would race ahead. */
  animation: drawRoute 1.2s linear both;
  animation-timeline: --path-progress;
  animation-range: cover 0% cover 68%;
}
/* Glowing bead that rides the tip of the line. A sibling of .path-line, not
   a child: the line's mask would clip anything wider than its 2px box.
   Only exists where scroll timelines do — elsewhere it would sit parked. */
.path-line-bead { display: none; }
@supports (animation-timeline: view()) {
  .path-line-bead {
    display: block;
    position: absolute;
    left: 28px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 32%, #FFFDF4, var(--gold-light) 42%, var(--gold) 75%, #7C5E33 100%);
    box-shadow:
      0 0 0 3px #FBF9F2,
      0 0 0 4.5px rgba(176,141,87,.5),
      0 0 20px 8px rgba(217,190,147,.65),
      0 3px 10px rgba(12,51,36,.35);
    transform: translate(-50%, -50%);
    animation: beadTravel 1.2s linear both;
    animation-timeline: --path-progress;
    animation-range: cover 0% cover 68%;
  }
}
.path-step {
  position: relative;
  display: flex;
  gap: 26px;
  padding-bottom: 44px;
}
.path-step:last-child { padding-bottom: 0; }
.path-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform .3s ease;
}
.path-step:hover .path-marker { transform: scale(1.1); }
.path-marker-start {
  background: var(--whatsapp);
  animation: pulseGreen 2.4s ease-out infinite;
}
.path-marker-start svg {
  animation: waveHello 6s ease-in-out infinite;
  transform-origin: 70% 70%;
}
.path-marker-num {
  background: var(--surface);
  border: 2px solid var(--gold);
  color: var(--green);
  font-family: var(--serif);
  font-size: 22px;
  box-shadow: 0 10px 22px -12px rgba(176,141,87,.7);
  transition: background-color .3s ease, border-color .3s ease;
  /* Bouncy entrance as each step scrolls into view (falls back to a load-time pop).
     Composition `add` keeps the hover scale working once the fill holds. */
  animation: popIn .55s cubic-bezier(.34,1.56,.64,1) both;
  animation-timeline: view();
  animation-range: entry 0% entry 35%;
  animation-composition: add;
}
.path-step:hover .path-marker-num {
  background: var(--gold-light);
  border-color: var(--gold);
}
/* Where scroll timelines exist, each marker "ignites" — flips to deep green
   with a ripple ring — the moment the journey line reaches it. */
@supports (animation-timeline: view()) {
  .path-marker-num {
    animation:
      popIn .55s cubic-bezier(.34,1.56,.64,1) both,
      markerIgnite .8s ease both;
    animation-timeline: view(), view();
    animation-range: entry 0% entry 35%, cover 28% cover 48%;
    animation-composition: add, replace;
  }
  .path-marker-num::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(176,141,87,.55);
    opacity: 0;
    animation: markerRipple 1s ease both;
    animation-timeline: view();
    animation-range: cover 28% cover 58%;
  }
}
.path-marker-final {
  background: var(--green);
  color: var(--gold-light);
  animation: pulseGold 3s ease-out infinite;
}
.path-body { position: relative; flex: 1; }
/* Editorial outlined numerals; where scroll timelines exist they ink
   themselves in with gold and drift upward as the step activates. */
.path-ghost {
  position: absolute;
  top: -34px;
  right: 0;
  font-family: var(--serif);
  font-size: 122px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(176,141,87,.35);
  pointer-events: none;
  user-select: none;
  transition: -webkit-text-stroke-color .35s ease;
}
.path-step:hover .path-ghost { -webkit-text-stroke-color: rgba(176,141,87,.6); }
@supports (animation-timeline: view()) {
  .path-ghost {
    animation: ghostFill 1s ease both;
    animation-timeline: view();
    animation-range: cover 15% cover 55%;
  }
}
.path-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #25A05A;
}
.path-title {
  font-family: var(--serif);
  font-size: 23px;
  color: var(--green);
  margin: 0 0 8px;
  transition: color .3s ease;
}
.path-step:hover .path-body .path-title { color: var(--gold); }
.path-kicker + .path-title { margin-top: 6px; }
.path-body p, .path-step > div > p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 52ch;
}
.path-deliverable {
  display: inline-block;
  background: rgba(176,141,87,.18);
  color: #7C5E33;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-top: 12px;
  transition: background-color .3s ease, transform .3s ease;
  /* Comes down like a notary stamp as it scrolls into view. */
  animation: stampIn .5s cubic-bezier(.34,1.56,.64,1) both;
  animation-timeline: view();
  animation-range: cover 6% cover 18%;
  animation-composition: add;
}
.path-step:hover .path-deliverable {
  background: rgba(176,141,87,.32);
  transform: translateX(3px);
}

/* Final card — the "Apertura" payoff. Light text throughout: it sits on a dark
   gradient, so nothing here may inherit the ink palette. */
.path-final-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-light), var(--green-deep));
  border: 1px solid rgba(217,190,147,.4);
  border-radius: var(--radius-panel);
  padding: 30px 32px 28px;
  flex: 1;
  box-shadow: 0 26px 52px -30px rgba(12,51,36,.75);
}
/* The payoff: the card tilts up from the page as it enters. */
@supports (animation-timeline: view()) {
  .path-final-card {
    transform-origin: 50% 85%;
    animation: cardRise .9s ease-out both;
    animation-timeline: view();
    animation-range: entry 0% entry 75%;
  }
}
/* Tiny gold sparks drifting up inside the card — a quiet celebration. */
.path-final-sparks { position: absolute; inset: 0; pointer-events: none; }
.path-final-sparks i {
  position: absolute;
  bottom: -8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
  opacity: 0;
  animation: sparkRise 8s linear infinite;
}
.path-final-sparks i:nth-child(1) { left: 10%; animation-delay: 0s; }
.path-final-sparks i:nth-child(2) { left: 28%; animation-delay: 2.8s; animation-duration: 7s; width: 4px; height: 4px; }
.path-final-sparks i:nth-child(3) { left: 54%; animation-delay: 1.3s; animation-duration: 9.5s; }
.path-final-sparks i:nth-child(4) { left: 76%; animation-delay: 4.2s; animation-duration: 7.5s; width: 4px; height: 4px; }
.path-final-sparks i:nth-child(5) { left: 91%; animation-delay: 5.6s; animation-duration: 8.5s; width: 6px; height: 6px; }
.path-final-shine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 55%;
  background: linear-gradient(105deg, transparent 30%, rgba(217,190,147,.13) 46%, rgba(255,255,255,.1) 52%, transparent 68%);
  animation: shineSweep 6s ease-in-out infinite;
  pointer-events: none;
}
.path-final-card .path-kicker { color: var(--gold-light); }
.path-final-card .path-title { font-size: 28px; color: #fff; margin-top: 6px; }
.path-final-card .path-final-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-dark-bright);
}
.path-final-checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
}
.path-final-checks li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(217,190,147,.35);
  border-radius: 999px;
  padding: 7px 16px 7px 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  animation: popIn .5s cubic-bezier(.34,1.56,.64,1) both;
  animation-timeline: view();
}
.path-final-checks li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.path-final-checks li:nth-child(1) { animation-range: entry 5% entry 32%; }
.path-final-checks li:nth-child(2) { animation-range: entry 12% entry 40%; }
.path-final-checks li:nth-child(3) { animation-range: entry 19% entry 48%; }
.path-final-card .path-final-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--on-dark-muted);
  max-width: none;
}
.path-final-card .path-final-note strong { color: var(--gold-light); font-weight: 700; }
.path-cta { text-align: center; margin-top: 52px; }
/* Periodic shine across the CTA so the next step keeps catching the eye. */
.path-cta .btn-forest { position: relative; overflow: hidden; }
.path-cta .btn-forest::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  animation: shineSweep 5s ease-in-out infinite;
  pointer-events: none;
}

/* ==========================================================================
   Protección — after-opening plan (dark band)
   ========================================================================== */
.protect {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 160% at 88% -25%, rgba(176,141,87,.35) 0%, rgba(176,141,87,0) 52%),
    linear-gradient(135deg, var(--green-moss) 0%, var(--green-deep) 52%, var(--green-night) 100%);
  padding: 92px 24px;
}
.protect-inner { max-width: var(--wrap); margin: 0 auto; position: relative; }
.protect h2 { font-size: clamp(30px, 5vw, 40px); color: #fff; margin: 14px 0; max-width: 26ch; }
.protect-lede {
  font-size: 16px;
  line-height: 1.7;
  color: var(--on-dark-muted);
  margin: 0 0 48px;
  max-width: 60ch;
}
.protect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
/* Cascade the three cards in as the grid scrolls into view. */
.protect-grid > .protect-card:nth-child(2) { animation-range: entry 8% entry 38%; }
.protect-grid > .protect-card:nth-child(3) { animation-range: entry 16% entry 46%; }
.protect-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background-color .35s ease;
}
.protect-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-light);
  background: rgba(255,255,255,.09);
  box-shadow: 0 26px 52px -24px rgba(0,0,0,.6);
}
.protect-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(217,190,147,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background-color .35s ease;
}
.protect-card:hover .protect-icon {
  background: rgba(217,190,147,.3);
  animation: iconPop .5s ease;
}
.protect-card h3 { font-size: 21px; color: #fff; margin: 0; }
.protect-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--on-dark-muted);
  margin: 10px 0 0;
}
.badge-soft {
  background: rgba(217,190,147,.16);
  color: var(--gold-light);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 6px;
  white-space: nowrap;
  font-family: var(--sans);
  vertical-align: middle;
}
.protect-cta {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.protect-note { font-size: 13.5px; color: var(--on-dark-faint); }

/* ==========================================================================
   Tu abogado
   ========================================================================== */
.lawyer {
  background: var(--surface);
  border-bottom: 1px solid #ECEEE6;
  padding: 92px 24px;
}
.lawyer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: center;
}
.lawyer-figure {
  max-width: 400px;
  justify-self: center;
  width: 100%;
  position: relative;
  margin: 0;
}
.portrait-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: 14px 14px 20px;
  box-shadow: 0 28px 56px -36px rgba(20,80,58,.45);
  position: relative;
  transition: transform .4s ease, box-shadow .4s ease;
}
.portrait-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 36px 64px -36px rgba(20,80,58,.55);
}
.portrait-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 10px;
  background: #EAF0EC;
}
.portrait-caption { margin-top: 16px; text-align: center; }
.portrait-name { display: block; font-family: var(--serif); font-size: 21px; color: var(--green); }
.portrait-role { display: block; font-size: 13.5px; color: var(--ink-muted); margin-top: 6px; line-height: 1.6; }

.lawyer h2 { margin-bottom: 18px; }
.lawyer-copy {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-muted);
  margin: 0 0 18px;
  max-width: 56ch;
}
.lawyer-copy-last { margin-bottom: 28px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  max-width: 800px;
  margin: 0 auto;
  padding: 84px 24px 88px;
}
.faq .section-title { font-size: clamp(28px, 5vw, 38px); margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  padding: 14px 0;
  transition: color .25s ease;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] p { animation: fadeUp .4s ease both; }
.faq details p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

/* ==========================================================================
   Contact (dark band)
   ========================================================================== */
.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(100% 130% at 12% -10%, rgba(176,141,87,.3) 0%, rgba(176,141,87,0) 52%),
    linear-gradient(160deg, var(--green) 0%, var(--green-deep) 58%, var(--green-night) 100%);
  padding: 92px 24px;
}
.contact-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  position: relative;
}
.contact h2 { font-size: clamp(30px, 5vw, 40px); color: #fff; margin: 14px 0; }
.contact-lede {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--on-dark-soft);
  margin-bottom: 28px;
  max-width: 50ch;
}
.contact-list { display: grid; gap: 14px; margin: 0; }
.contact-row { display: flex; gap: 14px; align-items: baseline; }
.contact-row dt {
  width: 92px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  flex-shrink: 0;
}
.contact-row dd { margin: 0; font-size: 15.5px; color: var(--on-dark-bright); }
.contact-row dd a { color: var(--on-dark-bright); }
.contact-row dd a:hover { color: var(--gold-light); }
.pending { color: #7E9B8C; font-size: 13px; }

.wa-panel {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-panel);
  padding: 34px;
  display: grid;
  gap: 18px;
  align-content: start;
}
.wa-head { display: flex; align-items: center; gap: 14px; }
.wa-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-head h2 { font-size: 24px; color: #fff; margin: 0; }
.wa-panel > p { font-size: 15px; line-height: 1.7; color: var(--on-dark-soft); }
.wa-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wa-chip {
  border: 1px solid rgba(255,255,255,.25);
  color: #E7F0EA;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color .25s ease, background-color .25s ease, color .25s ease, transform .25s ease;
}
.wa-chip:hover {
  border-color: var(--whatsapp);
  color: #fff;
  background: rgba(37,211,102,.12);
  transform: translateY(-2px);
}
.wa-fineprint { font-size: 12px; line-height: 1.6; color: var(--on-dark-faint); }

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseGreen 2.4s ease-out infinite;
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.12); }
/* The handset "waves hello" every few seconds. */
.wa-float svg {
  animation: waveHello 7s ease-in-out infinite;
  transform-origin: 50% 60%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--green-night);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 60px 24px 28px;
}
.site-footer .wrap { padding-inline: 0; }
.footer-top {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-brand { max-width: 320px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--on-dark-faint);
  margin-top: 16px;
}
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h2 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0;
}
.footer-col a { font-size: 14px; color: var(--on-dark-soft); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 44px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--on-dark-faint);
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: var(--on-dark-faint); }
.footer-legal a:hover { color: #fff; }
.footer-bottom-bare { border-top: 0; margin-top: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .manifesto { padding: 96px 24px 64px; }
  .path, .protect, .lawyer, .faq, .contact { padding-block: 64px; }
  .hero-inner { padding: 72px 24px 110px; }
}

@media (max-width: 760px) {
  .site-header .wrap {
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas: 'brand lang cta' 'nav nav nav';
    gap: 12px 14px;
  }
  .brand { grid-area: brand; }
  .lang-switch, .lang-menu { grid-area: lang; }
  .site-header .btn { grid-area: cta; }
  .nav {
    grid-area: nav;
    margin-left: 0;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .hero {
    background:
      linear-gradient(180deg, rgba(8,37,26,.94) 0%, rgba(12,51,36,.9) 64%, rgba(12,51,36,.82) 100%),
      url('../img/cannabis-legal-hero.webp') 73% center / auto 100% no-repeat,
      var(--green-deep);
  }
  .wa-panel { padding: 26px; }
  .footer-cols { gap: 32px; }
  .path-ghost { font-size: 78px; top: -22px; -webkit-text-stroke-width: 1.2px; }
  .wa-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }

  /* Keep the wordmark on one line once the header stacks. */
  .site-header .brand-name { font-size: 16px; letter-spacing: .16em; }
  .site-header .brand-sub { font-size: 8px; letter-spacing: .26em; }
  .site-header .btn-gold-sm { padding: 9px 16px; font-size: 13px; white-space: nowrap; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-row { flex-direction: column; gap: 2px; }
  .contact-row dt { width: auto; }
  .path-step { gap: 16px; }
  .path-marker { width: 46px; height: 46px; }
  .path-line { left: 22px; }
  .path-line-bead { left: 23px; }
}

/* ==========================================================================
   Print — a contact-sheet version of the page.
   ========================================================================== */
@media print {
  .site-header, .marquee, .wa-chips, .btn, .wa-float, .progress-bar,
  .scroll-cue, .hero-halo, .hero-outline, .noise,
  .path-final-shine, .path-line-bead, .path-final-sparks { display: none !important; }
  .path::before { display: none !important; }
  .path-final-checks li { color: #333 !important; border-color: #ccc; }
  body { background: #fff; }
  .hero, .protect, .contact, .site-footer, .path, .path-final-card, .wa-panel { background: #fff !important; color: #000; }
  .hero h1, .hero-lede, .protect h2, .protect-card h3, .contact h2, .wa-head h2,
  .path-final-card .path-title { color: var(--green) !important; }
  .hero-meta, .protect-lede, .protect-card p, .contact-lede, .contact-row dd,
  .contact-row dd a, .wa-panel > p, .path-final-card p { color: #333 !important; }
  a { text-decoration: underline; }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.legal h1 { font-size: 38px; color: var(--green); margin: 14px 0 24px; }
.legal h2 {
  font-size: 24px;
  color: var(--green);
  margin: 44px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal p, .legal li { font-size: 15.5px; line-height: 1.75; color: var(--ink-muted); }
/* The global reset zeroes p margins; prose needs them back or consecutive paragraphs fuse. */
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal .todo {
  display: block;
  background: #FFF8EC;
  border: 1px dashed var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 12px 0;
  font-size: 14.5px;
  color: #7A6134;
}
.legal .back { display: inline-block; margin-top: 40px; font-weight: 600; }

/* Lede for the legal pages: the one-line answer, before the detail. */
.legal .legal-lede { font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 10px; }
.legal .legal-updated { font-size: 13.5px; color: var(--ink-ghost); }

/* The cookie inventory. Every row reads "none", which is the point of the page. */
.zero-table {
  margin: 20px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 6px 24px;
}
.zero-table > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.zero-table > div + div { border-top: 1px solid var(--line-faint); }
.zero-table dt { font-size: 15.5px; color: var(--ink-muted); }
.zero-table dd {
  margin: 0;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--green);
  white-space: nowrap;
}
.zero-table dd::before { content: "— "; color: var(--gold); }

/* Contact panel closing the legal pages. */
.legal .legal-contact {
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  padding: 26px 28px;
}
.legal .legal-contact h2 { margin: 0 0 10px; padding-top: 0; border-top: 0; font-size: 22px; }
.legal .legal-contact p { margin: 0; }
.legal .legal-contact .back { margin-top: 18px; }
