/* =========================================================
   Club Sol de Oro — Midnight Gold edition
   Dark cinematic editorial · Mediterranean luxury
   ========================================================= */

:root {
  /* darks */
  --bg:         #0a0604;
  --bg-2:       #100a06;
  --bg-3:       #18110a;
  --card:       #14100a;
  --oxblood:    #2a0e08;

  /* golds */
  --gold:       #b8923f;
  --gold-hi:    #e2c98a;
  --gold-deep:  #8a6a26;
  --gold-faint: rgba(184, 146, 63, 0.18);

  /* text */
  --cream:      #ede2c8;
  --cream-dim:  #b8a784;
  --muted:      #7a6a4b;
  --muted-2:    #5a4d35;

  /* lines */
  --line:       rgba(184, 146, 63, 0.16);
  --line-hi:    rgba(226, 201, 138, 0.35);

  /* fonts */
  --display:    "Italiana", "Cormorant Garamond", serif;
  --serif:      "Cormorant Garamond", Georgia, serif;
  --sans:       "Manrope", -apple-system, sans-serif;
  --mono:       "JetBrains Mono", ui-monospace, monospace;

  --container:  1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
em  { font-style: italic; font-family: var(--serif); color: var(--gold-hi); font-weight: 400; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
}

/* =================================================
   EMBLEM (logo)
   ================================================= */

.emblem {
  display: block;
  color: var(--gold);
}
.emblem-md { width: 56px;  height: 56px; }
.emblem-xl { width: 140px; height: 140px; }

/* =================================================
   PRELOADER
   ================================================= */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(ellipse at center, #14100a 0%, #050300 70%);
  display: grid;
  place-items: center;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
body.loaded .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body:not(.loaded) {
  overflow: hidden;
}

.pre-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.pre-inner .emblem-xl {
  color: var(--gold-hi);
  filter: drop-shadow(0 0 30px rgba(226, 201, 138, 0.18));
}

/* draw-in animations */
.pre-inner .em-ring-outer,
.pre-inner .em-ring-inner {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: drawCircle 1.4s ease forwards;
}
.pre-inner .em-ring-outer { animation-delay: 0.05s; }
.pre-inner .em-ring-inner { animation-delay: 0.5s; stroke-dasharray: 220; stroke-dashoffset: 220; }

.pre-inner .em-rays line {
  opacity: 0;
  animation: rayIn 0.6s ease forwards;
}
.pre-inner .em-rays line:nth-child(odd)  { animation-delay: 0.8s; }
.pre-inner .em-rays line:nth-child(even) { animation-delay: 1.0s; }

.pre-inner .em-horizon {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawLine 0.6s ease 1.1s forwards;
}
.pre-inner .em-mono {
  opacity: 0;
  animation: fadeIn 0.5s ease 1.2s forwards;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes rayIn {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}
.em-rays line { transform-origin: 50% 50%; }

@keyframes fadeIn {
  to { opacity: 1; }
}

/* preloader text */
.pre-name {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}
.pre-line {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.pre-top {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--muted);
  animation-delay: 1.3s;
}
.pre-mid {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: 0.04em;
  color: var(--cream);
  animation-delay: 1.45s;
}
.pre-bot {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  animation-delay: 1.6s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* loader bar */
.pre-loader-bar {
  margin-top: 12px;
  width: 160px;
  height: 1px;
  background: rgba(184, 146, 63, 0.18);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.4s ease 1.7s forwards;
}
.pre-loader-bar span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold-hi), transparent);
  animation: sweep 1.4s ease-in-out 1.7s infinite;
}
@keyframes sweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media (max-width: 600px) {
  .emblem-xl { width: 110px; height: 110px; }
  .pre-mid   { font-size: 26px; }
  .pre-loader-bar { width: 130px; }
}

/* === grain overlay === */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =================================================
   TYPOGRAPHY
   ================================================= */

h1, h2, h3 { margin: 0; color: var(--cream); font-weight: 400; }

.hero-title,
.sec-title,
.quote p {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 0.98;
}

p { margin: 0 0 16px; color: var(--cream-dim); }
.lead, .sec-lede, .hero-lede { color: var(--cream-dim); }

/* eyebrow / tag (mono small caps) */
.tag,
.sec-label,
.exp-cat,
.plan-eyebrow,
.c-label,
.pm-label,
.pm-note,
.brand-line,
.foot-tag,
.nav a {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* =================================================
   HEADER
   ================================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: linear-gradient(180deg, rgba(10, 6, 4, 0.85) 0%, rgba(10, 6, 4, 0) 100%);
  transition: background .35s, padding .35s, border-color .35s;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(10, 6, 4, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
}
.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--gold);
  flex-shrink: 0;
}
.brand-mark-ring {
  position: absolute;
  inset: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.brand-mark-ring::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.45;
}
.brand-mark-letter {
  position: relative;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1;
  color: var(--gold-hi);
  letter-spacing: 0;
  /* optical centering for Italiana */
  transform: translateY(0.5px);
}
.brand-mark-lg {
  width: 56px;
  height: 56px;
}
.brand-mark-lg .brand-mark-letter { font-size: 26px; }
.brand-mark-lg .brand-mark-ring::after { inset: 5px; }

.brand-name { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand-line {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.brand-line-2 {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--cream);
}

.nav {
  display: flex;
  gap: 36px;
  justify-self: center;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--cream-dim);
  transition: color .25s;
  padding: 6px 0;
}
.nav-num {
  font-family: var(--display);
  text-transform: none;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--gold);
  transition: color .25s;
}
.nav a:hover { color: var(--cream); }
.nav a:hover .nav-num { color: var(--gold-hi); }

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 12px 18px;
  border: 1px solid var(--gold-faint);
  border-radius: 999px;
  transition: all .3s ease;
  background: rgba(20, 16, 10, 0.4);
}
.header-cta i {
  width: 6px; height: 6px;
  background: var(--gold-hi);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2.2s infinite;
}
.header-cta:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
}
@keyframes pulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 rgba(226, 201, 138, 0.55); }
  60%      { opacity: .7;  box-shadow: 0 0 0 10px rgba(226, 201, 138, 0); }
}

.burger {
  display: none;
  background: transparent;
  border: 0;
  color: var(--cream);
  cursor: pointer;
  padding: 8px;
  justify-self: end;
}
.burger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--cream);
  margin: 6px 0;
  transition: transform .3s;
}

/* =================================================
   HERO
   ================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 0 100px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05) brightness(0.5) saturate(0.8);
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 40% 50%, rgba(10, 6, 4, 0.1) 0%, rgba(10, 6, 4, 0.55) 50%, rgba(10, 6, 4, 0.92) 100%),
    linear-gradient(180deg, rgba(10, 6, 4, 0.7) 0%, rgba(10, 6, 4, 0.2) 30%, rgba(10, 6, 4, 0.85) 100%);
}

/* hairline editorial frame */
.hero-frame {
  position: absolute;
  inset: 96px 40px 40px;
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 1;
}
.hero-corners {
  position: absolute;
  inset: 96px 40px 40px;
  pointer-events: none;
  z-index: 2;
}
.hero-corners .c {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
}
.hero-corners .tl { top: -1px;    left: -1px;    border-right: 0; border-bottom: 0; }
.hero-corners .tr { top: -1px;    right: -1px;   border-left: 0;  border-bottom: 0; }
.hero-corners .bl { bottom: -1px; left: -1px;    border-right: 0; border-top: 0;    }
.hero-corners .br { bottom: -1px; right: -1px;   border-left: 0;  border-top: 0;    }

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 28px;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}
.hero-top .tag { color: var(--muted); }
.tag-right { color: var(--gold); }

.hero-title {
  font-size: clamp(64px, 11vw, 168px);
  margin: 60px 0 40px;
  letter-spacing: -0.02em;
  color: #f3e7c9;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}
.hero-title .line { display: block; }
.hero-title .line-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  padding-left: 1.4em;
  color: #f3e7c9;
}
.hero-title em {
  font-family: var(--serif);
  color: var(--gold-hi);
  font-style: italic;
  font-weight: 300;
}

.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.hero-lede {
  max-width: 460px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--cream-dim);
  margin: 0;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  min-width: 320px;
}

.price-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}
.pm-label { color: var(--muted); }
.pm-now {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--display);
  line-height: 1;
  margin: 4px 0 6px;
}
.pm-strike {
  font-size: 22px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--gold-deep);
  text-decoration-thickness: 1px;
}
.pm-amount {
  font-size: 44px;
  color: var(--gold-hi);
  letter-spacing: -0.01em;
}
.pm-note {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  max-width: 280px;
}
.pm-note em {
  font-size: 13px;
  color: var(--cream-dim);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-hi);
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color .35s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s cubic-bezier(0.7, 0, 0.2, 1);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn svg { width: 16px; height: 16px; transition: transform .35s; }
.btn:hover svg { transform: translateX(4px); }

.btn-gold { background: transparent; }
.btn-lg { padding: 20px 36px; }

.btn-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold-faint);
  transition: all .25s;
}
.btn-link:hover {
  color: var(--gold-hi);
  border-bottom-color: var(--gold-hi);
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue i {
  display: block;
  width: 1px; height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cue 2.4s infinite;
  transform-origin: top;
}
@keyframes cue {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* =================================================
   MARQUEE
   ================================================= */

.marquee {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  font-family: var(--display);
  font-size: 28px;
  color: var(--cream);
  animation: scroll 50s linear infinite;
}
.marquee-track i {
  font-style: normal;
  color: var(--gold);
  font-size: 10px;
}
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =================================================
   SECTION COMMON
   ================================================= */

.section {
  padding: 160px 0;
  position: relative;
}
.section-manifesto { background: var(--bg);   }
.section-exp       { background: var(--bg-2); }
.section-plan      { background: var(--bg);   position: relative; overflow: hidden; }
.section-contact   { background: var(--bg-2); }

.sec-head {
  display: inline-flex;
  align-items: baseline;
  gap: 22px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 56px;
  min-width: 320px;
}
.sec-head-center {
  display: flex;
  justify-content: center;
  margin-left: auto; margin-right: auto;
  width: fit-content;
}
.sec-num {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  color: var(--gold-hi);
  letter-spacing: 0;
}
.sec-label { color: var(--cream-dim); }

.sec-title {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 36px;
}
.sec-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--gold-hi);
}
.sec-title.center { text-align: center; }

.sec-lede {
  font-size: 16px;
  color: var(--cream-dim);
  max-width: 620px;
  margin-bottom: 80px;
}
.sec-lede.center { margin-left: auto; margin-right: auto; text-align: center; }

/* =================================================
   MANIFESTO
   ================================================= */

.quote {
  margin: 80px 0 100px;
  text-align: center;
}
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 1.05;
  color: var(--cream);
}
.quote em {
  font-style: italic;
  color: var(--gold-hi);
}
.quote footer {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 40px;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}
.manifesto-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--cream-dim);
}
.manifesto-text p + p { margin-top: 22px; }

.pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
.pillars li {
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: 28px;
  row-gap: 4px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.pillars li:last-child { border-bottom: 1px solid var(--line); }

.p-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  color: var(--gold-hi);
  letter-spacing: 0.02em;
  grid-row: 1 / 3;
  align-self: start;
  padding-top: 4px;
}
.pillars h3 {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--cream);
  letter-spacing: 0.005em;
}
.pillars p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  color: var(--cream-dim);
}

/* =================================================
   EXPERIENCIAS
   ================================================= */

.exp-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.exp-row {
  display: grid;
  grid-template-columns: 220px 1fr 360px;
  gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  position: relative;
  transition: background .4s;
}
.exp-row:hover { background: rgba(184, 146, 63, 0.025); }

.exp-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.exp-rn {
  font-family: var(--display);
  font-size: 80px;
  line-height: 0.9;
  color: var(--gold-hi);
  letter-spacing: -0.02em;
  transition: color .35s;
}
.exp-row:hover .exp-rn { color: var(--gold); }
.exp-cat { color: var(--muted); }

.exp-body h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--cream);
}
.exp-body p {
  font-size: 15px;
  max-width: 480px;
  margin: 0;
  color: var(--cream-dim);
}

.exp-img {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.exp-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05) brightness(0.85) saturate(0.8);
  transition: transform 1.4s ease, filter .8s ease;
}
.exp-row:hover .exp-img img {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.05) brightness(1) saturate(1);
}

/* =================================================
   PLAN
   ================================================= */

.section-plan { padding: 180px 0; }
.plan-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.plan-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.6) brightness(0.32) saturate(0.7);
}
.plan-bg-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10, 6, 4, 0.5) 0%, rgba(10, 6, 4, 0.9) 70%),
    linear-gradient(180deg, rgba(10, 6, 4, 0.85), rgba(10, 6, 4, 0.95));
}
.section-plan .container { position: relative; z-index: 1; }

.plan {
  max-width: 620px;
  margin: 60px auto 0;
  background: linear-gradient(180deg, rgba(20, 16, 10, 0.95) 0%, rgba(10, 6, 4, 0.95) 100%);
  border: 1px solid var(--gold-faint);
  padding: 70px 60px 60px;
  position: relative;
  box-shadow:
    0 60px 120px -40px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(226, 201, 138, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.plan-corners {
  position: absolute; inset: -1px;
  pointer-events: none;
}
.plan-corners span {
  position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--gold);
}
.plan-corners span:nth-child(1) { top: -1px;    left: -1px;    border-right: 0; border-bottom: 0; }
.plan-corners span:nth-child(2) { top: -1px;    right: -1px;   border-left: 0;  border-bottom: 0; }
.plan-corners span:nth-child(3) { bottom: -1px; left: -1px;    border-right: 0; border-top: 0;    }
.plan-corners span:nth-child(4) { bottom: -1px; right: -1px;   border-left: 0;  border-top: 0;    }

.plan-ribbon {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 6px 22px;
  border: 1px solid var(--gold);
}
.plan-ribbon span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.plan-head { text-align: center; margin-bottom: 48px; }
.plan-eyebrow {
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}
.plan-head h3 {
  font-family: var(--display);
  font-size: 38px;
  line-height: 1.1;
  color: var(--cream);
}

.plan-price {
  text-align: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  position: relative;
}
.plan-price::before,
.plan-price::after {
  content: "✦";
  position: absolute;
  left: 50%; transform: translateX(-50%);
  color: var(--gold);
  font-size: 10px;
  background: var(--bg-2);
  padding: 0 12px;
}
.plan-price::before { top: -7px; }
.plan-price::after  { bottom: -7px; }

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
}
.price-big {
  font-family: var(--display);
  font-size: clamp(72px, 9vw, 112px);
  line-height: 0.9;
  color: var(--gold-hi);
  letter-spacing: -0.02em;
}
.price-suffix {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: var(--cream-dim);
}
.price-suffix > span:first-child {
  font-family: var(--display);
  font-size: 22px;
}
.price-now-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.price-future {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}
.price-future s {
  color: var(--cream-dim);
  text-decoration-color: var(--gold-deep);
  margin-right: 10px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 44px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(184, 146, 63, 0.1);
  font-size: 14.5px;
  color: var(--cream-dim);
}
.plan-features li:last-child { border-bottom: 0; }
.plan-features li::before {
  content: "✦";
  color: var(--gold);
  font-size: 9px;
  margin-top: 5px;
  flex-shrink: 0;
}

.plan-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}
.plan-cta .btn { min-width: 280px; justify-content: center; }

.store-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border: 1px solid var(--gold-faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: all .25s ease;
}
.store-badge:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
}

.plan-foot {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  max-width: 400px;
  margin-inline: auto;
}

/* =================================================
   CONTACTO
   ================================================= */

.contacts {
  list-style: none;
  padding: 0;
  margin: 60px 0 0;
  border-top: 1px solid var(--line);
}
.contacts li {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .4s;
  cursor: pointer;
}
.contacts li:hover { padding-left: 24px; }

.c-label { color: var(--muted); }

.contacts a,
.contacts li > span:not(.c-label):not(.c-arrow) {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 36px);
  color: var(--cream);
  transition: color .25s;
}
.contacts a:hover { color: var(--gold-hi); }

.c-arrow {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
  transition: transform .35s;
}
.contacts li:hover .c-arrow { transform: rotate(45deg); }

/* =================================================
   FOOTER
   ================================================= */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 80px 0 50px;
  color: var(--muted);
}
.footer-inner {
  display: grid;
  gap: 50px;
  text-align: center;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.foot-brand .brand-mark { color: var(--gold); }
.foot-title {
  font-family: var(--display);
  font-size: 24px;
  color: var(--cream);
  letter-spacing: 0.05em;
}
.foot-cities {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin: 0;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.foot-bottom p { margin: 0; }
.foot-tag { color: var(--gold); }

/* =================================================
   SCROLL REVEAL
   ================================================= */

.exp-row,
.pillars li,
.quote,
.plan,
.contacts li {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.exp-row.in,
.pillars li.in,
.quote.in,
.plan.in,
.contacts li.in {
  opacity: 1;
  transform: translateY(0);
}
.pillars li.in:nth-child(2)  { transition-delay: 0.12s; }
.pillars li.in:nth-child(3)  { transition-delay: 0.24s; }
.contacts li.in:nth-child(2) { transition-delay: 0.08s; }
.contacts li.in:nth-child(3) { transition-delay: 0.16s; }
.contacts li.in:nth-child(4) { transition-delay: 0.24s; }

/* hero entrance */
.hero-title .line {
  opacity: 0;
  transform: translateY(40px);
  animation: heroIn 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.2s; }
.hero-title .line:nth-child(2) { animation-delay: 0.45s; }
.hero-title .line:nth-child(3) { animation-delay: 0.7s; }

.hero-top, .hero-foot {
  opacity: 0;
  animation: heroFade 1.4s ease 1s forwards;
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFade {
  to { opacity: 1; }
}

/* =================================================
   RESPONSIVE — 1280 / 1024 / 820 / 600 / 380
   ================================================= */

/* ===== ≤ 1280 ===== */
@media (max-width: 1280px) {
  .container { padding: 0 36px; }
  .nav { gap: 26px; }
  .exp-row {
    grid-template-columns: 180px 1fr 320px;
    gap: 40px;
  }
  .exp-rn { font-size: 68px; }
}

/* ===== ≤ 1024 — tablet ===== */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }

  .header-inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .header-cta { display: none; }
  .burger { display: block; }

  .site-header.nav-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10, 6, 4, 0.98);
    padding: 28px 32px;
    gap: 20px;
    border-top: 1px solid var(--line);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .site-header.nav-open .nav a { padding: 8px 0; font-size: 12px; }

  .hero { padding: 120px 0 90px; }
  .hero-frame, .hero-corners { inset: 90px 24px 30px; }
  .hero-title { margin: 48px 0 36px; }

  .hero-foot {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 30px;
  }
  .hero-aside {
    align-items: flex-start;
    min-width: 0;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
  }
  .price-mark { align-items: flex-start; text-align: left; }

  .section { padding: 110px 0; }
  .section-plan { padding: 130px 0; }

  .sec-head { min-width: 0; }

  .quote { margin: 60px 0 80px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 56px; padding-top: 60px; }

  .exp-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 50px 0;
    align-items: start;
  }
  .exp-meta {
    flex-direction: row;
    align-items: baseline;
    gap: 18px;
  }
  .exp-rn { font-size: 56px; }
  .exp-img { aspect-ratio: 16 / 10; max-height: 420px; }

  .plan { padding: 60px 36px 50px; max-width: 560px; }
  .price-big { font-size: 92px; }

  .contacts li {
    grid-template-columns: 130px 1fr auto;
    gap: 28px;
    padding: 26px 0;
  }
}

/* ===== ≤ 820 — small tablet ===== */
@media (max-width: 820px) {
  .container { padding: 0 24px; }

  .hero { min-height: 92vh; padding: 110px 0 80px; }
  .hero-frame, .hero-corners { inset: 86px 18px 26px; }
  .hero-top { flex-wrap: wrap; gap: 8px 14px; }
  .hero-top .tag { font-size: 9px; letter-spacing: 0.2em; }

  .hero-title { font-size: clamp(54px, 11vw, 92px); margin: 40px 0 32px; }
  .hero-title .line-italic { padding-left: 0.5em; }

  .hero-aside { flex-direction: column; align-items: stretch; gap: 24px; }
  .btn { width: 100%; justify-content: space-between; }

  .section { padding: 90px 0; }
  .section-plan { padding: 110px 0; }

  .sec-head {
    flex-wrap: wrap;
    gap: 14px 20px;
    width: 100%;
    padding-bottom: 24px;
    margin-bottom: 44px;
  }
  .sec-num { font-size: 48px; }
  .sec-title { font-size: clamp(40px, 9vw, 72px); margin-bottom: 24px; }
  .sec-lede { font-size: 15px; margin-bottom: 60px; }

  .quote p { font-size: clamp(34px, 7vw, 56px); }

  .pillars li {
    grid-template-columns: 48px 1fr;
    column-gap: 20px;
    padding: 24px 0;
  }
  .p-num { font-size: 26px; padding-top: 2px; }
  .pillars h3 { font-size: 22px; }

  .exp-rn { font-size: 48px; }
  .exp-body h3 { font-size: clamp(24px, 5vw, 32px); }

  .plan { padding: 56px 28px 44px; }
  .plan-head h3 { font-size: 30px; }
  .price-big { font-size: 80px; }
  .price-suffix > span:first-child { font-size: 18px; }

  .contacts li {
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    padding: 24px 0;
  }
  .contacts li .c-label {
    grid-column: 1 / 2;
    grid-row: 1;
  }
  .contacts a,
  .contacts li > span:not(.c-label):not(.c-arrow) {
    grid-column: 1 / 2;
    grid-row: 2;
    font-size: clamp(22px, 4.5vw, 28px);
  }
  .c-arrow {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .marquee-track { font-size: 22px; gap: 28px; }

  .footer-inner { gap: 36px; }
}

/* ===== ≤ 600 — mobile ===== */
@media (max-width: 600px) {
  .container { padding: 0 20px; }

  /* header */
  .site-header { padding: 18px 0; }
  .site-header.scrolled { padding: 12px 0; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-mark-letter { font-size: 16px; }
  .brand-line-2 { font-size: 14px; }
  .brand-line { font-size: 8px; }

  /* hero */
  .hero { padding: 100px 0 70px; min-height: auto; }
  .hero-frame, .hero-corners { inset: 78px 12px 20px; }
  .hero-corners .c { width: 10px; height: 10px; }
  .hero-top { font-size: 9px; }
  .hero-top .tag-right { display: none; }

  .hero-title {
    font-size: clamp(44px, 13vw, 72px);
    margin: 28px 0 28px;
    letter-spacing: -0.01em;
  }
  .hero-title .line-italic { padding-left: 0.3em; }

  .hero-foot { padding-top: 24px; gap: 28px; }
  .hero-lede { font-size: 14px; max-width: 100%; }

  .pm-amount { font-size: 36px; }
  .pm-strike { font-size: 18px; }
  .pm-note { font-size: 11px; max-width: 100%; }

  .btn { padding: 14px 22px; font-size: 10px; letter-spacing: 0.18em; }
  .btn-lg { padding: 16px 24px; font-size: 11px; }

  .scroll-cue { bottom: 30px; font-size: 9px; letter-spacing: 0.25em; }
  .scroll-cue i { height: 36px; }

  /* marquee */
  .marquee { padding: 20px 0; }
  .marquee-track { font-size: 18px; gap: 22px; }
  .marquee::before, .marquee::after { width: 80px; }

  /* sections */
  .section { padding: 70px 0; }
  .section-plan { padding: 90px 0; }

  .sec-num { font-size: 40px; }
  .sec-label { font-size: 10px; letter-spacing: 0.2em; }
  .sec-title {
    font-size: clamp(36px, 11vw, 56px);
    line-height: 1.02;
    margin-bottom: 20px;
  }
  .sec-lede { margin-bottom: 44px; }

  /* manifesto */
  .quote { margin: 40px 0 60px; }
  .quote p { font-size: clamp(28px, 8vw, 44px); line-height: 1.1; }
  .quote footer { margin-top: 24px; font-size: 10px; letter-spacing: 0.25em; }

  .manifesto-grid { gap: 44px; padding-top: 50px; }
  .manifesto-text p { font-size: 15px; }

  .pillars li { padding: 22px 0; column-gap: 16px; grid-template-columns: 40px 1fr; }
  .p-num { font-size: 24px; }
  .pillars h3 { font-size: 20px; margin-bottom: 6px; }
  .pillars p { font-size: 14px; }

  /* experiencias */
  .exp-row { padding: 40px 0; gap: 20px; }
  .exp-meta { gap: 14px; }
  .exp-rn { font-size: 40px; }
  .exp-cat { font-size: 10px; letter-spacing: 0.18em; }
  .exp-body h3 { font-size: 24px; margin-bottom: 12px; }
  .exp-body p { font-size: 14px; }

  /* plan */
  .plan {
    padding: 50px 22px 40px;
    margin-top: 40px;
  }
  .plan-ribbon { padding: 5px 16px; }
  .plan-ribbon span { font-size: 9px; letter-spacing: 0.24em; }
  .plan-head { margin-bottom: 36px; }
  .plan-head h3 { font-size: 26px; }
  .plan-eyebrow { font-size: 10px; letter-spacing: 0.18em; margin-bottom: 12px; }

  .plan-price { padding: 28px 0; margin-bottom: 30px; }
  .price-row { flex-wrap: wrap; gap: 8px; }
  .price-big { font-size: 64px; }
  .price-suffix { gap: 4px; }
  .price-suffix > span:first-child { font-size: 16px; }
  .price-now-tag { font-size: 9px; letter-spacing: 0.24em; }
  .price-future { margin-top: 14px; font-size: 12px; }

  .plan-features li { font-size: 14px; padding: 12px 0; gap: 14px; }
  .plan-cta { gap: 18px; margin-bottom: 24px; }
  .plan-cta .btn { min-width: 0; width: 100%; }
  .plan-foot { font-size: 11px; }

  /* contact */
  .contacts { margin-top: 44px; }
  .contacts li { padding: 22px 0; }
  .contacts li:hover { padding-left: 0; }
  .contacts a,
  .contacts li > span:not(.c-label):not(.c-arrow) { font-size: 22px; }
  .c-arrow { font-size: 18px; }

  /* footer */
  .site-footer { padding: 60px 0 36px; }
  .foot-cities { font-size: 10px; letter-spacing: 0.22em; }
  .foot-title { font-size: 20px; }
  .foot-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 32px;
    font-size: 9px;
    letter-spacing: 0.22em;
  }
}

/* ===== ≤ 380 — small mobile ===== */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero-frame, .hero-corners { inset: 76px 8px 16px; }
  .hero-title { font-size: 40px; }
  .pm-amount { font-size: 32px; }
  .price-big { font-size: 56px; }
  .sec-title { font-size: 32px; }
  .quote p { font-size: 26px; }
  .pillars li { grid-template-columns: 34px 1fr; column-gap: 14px; }
  .p-num { font-size: 22px; }
  .exp-rn { font-size: 36px; }
  .contacts a,
  .contacts li > span:not(.c-label):not(.c-arrow) { font-size: 19px; }
}

/* ===== motion reduce ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
}
