/* =========================================================
   EVA MGMT — global styles
   Palette: deep aubergine → royal purple → lilac → lavender mist → cream
   ========================================================= */

:root {
  --bg: #FBF1F2;            /* rose mist background */
  --bg-2: #FFFFFF;          /* card surface */
  --cream: #F8EFE2;         /* peachy paradise cream */
  --ink: #1F060C;           /* near-black wine */
  --ink-soft: #5A1525;      /* secondary text */
  --royal: #C8253E;         /* primary red */
  --royal-deep: #6F0E1F;    /* deep wine */
  --lilac: #F08FA3;         /* mid pink */
  --pale: #F8DDE2;          /* pale rose */
  --pink: #FF6F8E;          /* hot pink accent */
  --crimson: #E63950;       /* apple flesh / forbidden red */
  --wine: #4A0D1F;          /* deep wine */
  --leaf: #3A7A5C;          /* leaf green */
  --gold: #E8C77E;          /* paradise gold */
  --line: rgba(31, 6, 12, 0.12);
  --line-soft: rgba(31, 6, 12, 0.06);

  --f-serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --f-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ============ Grain overlay ============ */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><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.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============ Utilities ============ */
.container {
  width: min(1320px, 100% - 56px);
  margin-inline: auto;
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.serif { font-family: var(--f-serif); font-weight: 400; letter-spacing: -0.01em; }
.italic { font-style: italic; }
.mono { font-family: var(--f-mono); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 18px 0;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--f-serif); font-size: 30px; letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 10px;
}
.nav-logo .apple-mini {
  width: 26px; height: 28px;
  filter: drop-shadow(0 2px 4px rgba(91,31,176,0.35));
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: var(--bg);
  padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { background: var(--crimson); transform: translateY(-1px); }
.nav-cta svg { width: 12px; height: 12px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 60px 0 120px;
  min-height: calc(100vh - 80px);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 60px;
  position: relative; z-index: 3;
}
.hero-top .col {
  max-width: 320px;
  font-size: 14px; line-height: 1.55; color: var(--ink-soft);
}
.hero-top .col.col-right { text-align: right; }
.hero-top .col strong { color: var(--ink); font-weight: 500; }
.hero-wordmark {
  font-family: var(--f-serif);
  font-size: clamp(120px, 28vw, 460px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-align: center;
  color: var(--ink);
  position: relative;
  z-index: 3;
  margin: 0;
}
.hero-wordmark .em {
  font-style: italic;
  background: linear-gradient(180deg, var(--royal) 10%, var(--lilac) 60%, var(--crimson) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-wordmark .tm {
  font-family: var(--f-mono); font-size: 0.08em; vertical-align: top;
  color: var(--ink-soft); margin-left: 4px;
}

/* APPLE — the forbidden fruit */
.apple-stage {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(320px, 44vw, 700px);
  aspect-ratio: 1;
  z-index: 1;
  animation: floaty 12s ease-in-out infinite;
  filter: drop-shadow(0 50px 80px rgba(74, 13, 38, 0.35))
          drop-shadow(0 10px 30px rgba(91, 31, 176, 0.3));
}
.apple-stage svg { width: 100%; height: 100%; overflow: visible; }

.apple-halo {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(420px, 60vw, 980px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(178,59,92,0.18) 0%, rgba(184,136,229,0.18) 35%, rgba(184,136,229,0) 65%);
  z-index: 0;
  pointer-events: none;
}

/* serpent — subtle background flourish */
.serpent {
  position: absolute;
  right: -4%;
  top: 18%;
  width: clamp(160px, 22vw, 320px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  color: var(--royal);
}
.serpent svg { width: 100%; height: auto; }

@keyframes floaty {
  0%, 100% { transform: translate(-50%, 0) rotate(-2deg); }
  50% { transform: translate(-50%, -14px) rotate(2deg); }
}

/* Star sparkles */
.spark {
  position: absolute; width: 10px; height: 10px; z-index: 2;
  color: var(--royal);
}
.spark svg { width: 100%; height: 100%; }

.hero-bottom {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
  margin-top: 60px; position: relative; z-index: 2;
}
.hero-bottom .stat .v {
  font-family: var(--f-serif); font-size: 56px; line-height: 1; letter-spacing: -0.02em;
}
.hero-bottom .stat .v em { color: var(--royal); font-style: italic; }
.hero-bottom .stat .l { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.hero-bottom .pitch {
  font-family: var(--f-serif); font-size: 22px; line-height: 1.3; max-width: 380px;
}
.hero-bottom .cta-row {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.btn-primary {
  background: var(--ink); color: var(--bg);
  padding: 16px 28px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.2s, background 0.2s;
}
.btn-primary:hover { background: var(--royal); transform: translateY(-2px); }
.btn-primary .arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translate(2px, -2px); }
.btn-ghost {
  border: 1px solid var(--line);
  padding: 14px 26px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
}

/* ============ TICKER ============ */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--bg);
  padding: 24px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex; gap: 60px; white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--f-serif); font-size: 38px; line-height: 1;
}
.ticker-track > span { display: inline-flex; align-items: center; gap: 60px; }
.ticker-track .star { color: var(--pink); }
.ticker-track em { font-style: italic; color: var(--lilac); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTIONS shared ============ */
section { position: relative; }
.section-head {
  display: grid; grid-template-columns: 240px 1fr; gap: 60px;
  padding: 120px 0 60px; align-items: end;
}
.section-head .index {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-soft);
}
.section-head .title {
  font-family: var(--f-serif); font-size: clamp(48px, 6vw, 96px);
  line-height: 0.95; letter-spacing: -0.02em; margin: 0;
  text-wrap: balance;
}
.section-head .title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--royal) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ MANIFESTO ============ */
.manifesto {
  padding: 80px 0 120px;
  display: grid; grid-template-columns: 240px 1fr 280px; gap: 60px;
  align-items: start;
}
.manifesto .lead {
  font-family: var(--f-serif);
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.12; letter-spacing: -0.01em;
  text-wrap: balance;
}
.manifesto .lead em {
  font-style: italic;
  color: var(--royal);
}
.manifesto .lead .pink { color: var(--pink); font-style: italic; }
.manifesto .aside {
  font-size: 14px; line-height: 1.55; color: var(--ink-soft);
  border-left: 1px solid var(--line); padding-left: 24px;
}
.manifesto .aside p + p { margin-top: 14px; }

/* ============ SERVICES ============ */
.services {
  padding-bottom: 120px;
}
.section-sub {
  font-family: var(--f-serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  max-width: 760px;
  color: var(--ink-soft);
  margin: 0 0 60px;
  text-wrap: balance;
}
.section-sub em { color: var(--ink); font-style: italic; }
.svc-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.svc {
  background: var(--bg);
  padding: 36px 28px 32px;
  display: flex; flex-direction: column; min-height: 380px;
  position: relative;
  transition: background 0.4s ease, color 0.4s ease;
  overflow: hidden;
}
.svc:nth-child(1), .svc:nth-child(2) { grid-column: span 6; }
.svc:nth-child(3), .svc:nth-child(4), .svc:nth-child(5) { grid-column: span 4; }
.svc:nth-child(6) { grid-column: span 12; min-height: 260px; }
.svc .num {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--ink-soft); margin-bottom: auto;
}
.svc h3 {
  font-family: var(--f-serif); font-size: 40px; line-height: 1;
  letter-spacing: -0.02em; margin: 24px 0 12px;
}
.svc h3 em { font-style: italic; color: var(--royal); }
.svc p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); max-width: 360px; }
.svc-tag {
  margin-top: 18px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--crimson);
}
.svc .arrow-tag {
  position: absolute; top: 28px; right: 28px;
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.svc:hover { background: var(--ink); color: var(--bg); }
.svc:hover p { color: rgba(255,255,255,0.7); }
.svc:hover .num { color: var(--lilac); }
.svc:hover h3 em { color: var(--pink); }
.svc:hover .svc-tag { color: var(--pink); }
.svc:hover .arrow-tag {
  background: var(--pink); color: var(--ink); border-color: var(--pink);
  transform: rotate(-45deg);
}

/* ============ METRICS BLOCK ============ */
.metrics {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--pale) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  margin-top: 40px;
}
.metric {
  background: var(--bg);
  padding: 32px 24px;
}
.metric .big {
  font-family: var(--f-serif); font-size: 84px; line-height: 0.9;
  letter-spacing: -0.03em;
}
.metric .big em {
  font-style: italic;
  background: linear-gradient(180deg, var(--royal), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric .big .sm { font-size: 32px; vertical-align: top; }
.metric .lbl { font-size: 13px; color: var(--ink-soft); margin-top: 12px; max-width: 220px; }

/* ============ TALENT / ROSTER ============ */
.roster { padding-bottom: 120px; }
.roster-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 40px;
}
.talent-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--royal) 0%, var(--pink) 100%);
  color: #fff;
  padding: 20px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.3s;
}
.talent-card:hover { transform: translateY(-4px); }
.talent-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 30%, rgba(255,255,255,0.4) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(0,0,0,0.3) 0%, transparent 60%);
  pointer-events: none;
}
.talent-card.t2 { background: linear-gradient(160deg, #4A0D1F 0%, #F08FA3 100%); }
.talent-card.t3 { background: linear-gradient(160deg, #FF6F8E 0%, #FFE6E6 100%); color: var(--ink); }
.talent-card.t4 { background: linear-gradient(160deg, #1F060C 0%, #C8253E 100%); }
.talent-card .tag {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(8px);
}
.talent-card .name {
  font-family: var(--f-serif); font-size: 32px; line-height: 1; letter-spacing: -0.02em;
}
.talent-card .meta {
  font-size: 12px; opacity: 0.85; margin-top: 6px;
}
.talent-card .silhouette {
  position: absolute; left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  font-family: var(--f-serif); font-size: 200px; line-height: 1;
  opacity: 0.18; font-style: italic;
  user-select: none;
}

/* ============ HOW IT WORKS / Steps ============ */
.steps { padding-bottom: 120px; }
.steps-list {
  border-top: 1px solid var(--line);
}
.step {
  display: grid; grid-template-columns: 100px 240px 1fr 80px;
  gap: 40px; align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s;
  cursor: pointer;
}
.step:hover { padding-left: 16px; padding-right: 16px; background: var(--pale); }
.step .num {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--ink-soft);
}
.step .ttl {
  font-family: var(--f-serif); font-size: 44px; line-height: 1; letter-spacing: -0.02em;
}
.step .ttl em { font-style: italic; color: var(--royal); }
.step .desc { font-size: 14px; line-height: 1.55; color: var(--ink-soft); max-width: 540px; }
.step .arrow { font-family: var(--f-serif); font-size: 40px; color: var(--ink-soft); justify-self: end; }

/* ============ POR QUÉ EVA ============ */
.porque {
  padding-bottom: 120px;
}
.porque-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 20px;
}
.reason {
  background: var(--bg);
  padding: 48px 36px;
  position: relative;
  transition: background 0.3s;
}
.reason:hover { background: var(--pale); }
.reason .num {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--crimson);
}
.reason h3 {
  font-family: var(--f-serif); font-size: 44px; line-height: 1;
  letter-spacing: -0.02em; margin: 18px 0 16px;
}
.reason h3 em { font-style: italic; color: var(--royal); }
.reason p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); max-width: 480px; }

/* ============ TESTIMONIALS ============ */
.testimonials { padding-bottom: 120px; }
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.testi {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 32px;
  margin: 0;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testi:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(31,6,12,0.12);
}
.testi.featured {
  background: linear-gradient(165deg, var(--royal) 0%, var(--wine) 100%);
  color: #fff;
  border-color: transparent;
}
.testi .quote-mark {
  font-family: var(--f-serif);
  font-size: 96px; line-height: 0.6;
  color: var(--crimson);
  opacity: 0.35;
  margin-bottom: 8px;
}
.testi.featured .quote-mark { color: var(--pink); opacity: 0.7; }
.testi blockquote {
  margin: 0 0 24px;
  font-family: var(--f-serif);
  font-size: 22px; line-height: 1.3;
  letter-spacing: -0.005em;
  flex: 1;
  text-wrap: pretty;
}
.testi.featured blockquote { font-size: 24px; }
.testi figcaption {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testi.featured figcaption { border-top-color: rgba(255,255,255,0.2); }
.testi .name {
  font-family: var(--f-serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.testi .meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}
.testi.featured .meta { color: rgba(255,255,255,0.7); }

/* ============ CTA FINAL ============ */
.cta-final {
  padding: 140px 0;
  background:
    radial-gradient(ellipse at 50% 0%, var(--pale) 0%, transparent 70%),
    var(--bg);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-final h2 {
  font-family: var(--f-serif);
  font-size: clamp(120px, 18vw, 280px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 24px 0;
  font-style: italic;
  background: linear-gradient(180deg, var(--royal) 30%, var(--crimson) 80%, var(--wine) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-final p {
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.35;
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--ink);
  text-wrap: balance;
}
.cta-final p em { color: var(--crimson); font-style: italic; }
.cta-final-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER quote ============ */
.footer-quote {
  text-align: center;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--pink);
  margin-top: -24px;
  margin-bottom: 60px;
}

/* ============ APPLY (CTA-only) ============ */
.apply {
  background: var(--ink); color: var(--bg);
  padding: 140px 0;
  position: relative; overflow: hidden;
  text-align: center;
}
.apply-only { max-width: 720px; margin: 0 auto; }
.apply h2 {
  font-family: var(--f-serif); font-size: clamp(56px, 8vw, 140px);
  line-height: 0.9; letter-spacing: -0.03em; margin: 0;
}
.apply h2 em {
  font-style: italic;
  background: linear-gradient(180deg, var(--lilac), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.apply .sub {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin: 28px auto 48px;
}

.apply-big-btn {
  display: inline-flex; align-items: center; gap: 20px;
  background: var(--bg); color: var(--ink);
  padding: 22px 22px 22px 38px;
  border-radius: 999px;
  font-family: var(--f-serif);
  font-size: clamp(26px, 3vw, 44px);
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
  box-shadow: 0 24px 60px rgba(200, 37, 62, 0.4), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.apply-big-btn:hover {
  background: var(--pink);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 30px 70px rgba(255, 111, 142, 0.55);
}
.apply-big-btn .arr {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  transition: transform 0.25s, background 0.25s;
}
.apply-big-btn:hover .arr { transform: rotate(-45deg) scale(1.05); background: var(--wine); }

.apply-checklist {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 36px;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}

.apply-orb {
  position: absolute; top: -25%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--royal) 0%, var(--ink) 60%);
  opacity: 0.55;
  filter: blur(90px);
  pointer-events: none;
}

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 3, 7, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fadeIn 0.25s ease;
  overflow-y: auto;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-card {
  background: var(--bg);
  color: var(--ink);
  border-radius: 32px;
  width: min(620px, 100%);
  padding: 48px 44px;
  position: relative;
  box-shadow: 0 60px 140px rgba(0,0,0,0.4);
  animation: slideUp 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.modal-close:hover { background: var(--royal); color: #fff; transform: rotate(90deg); }
.modal-head { margin-bottom: 32px; }
.modal-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 12px;
}
.modal-title {
  font-family: var(--f-serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 0.95; letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.modal-title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--royal), var(--crimson));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.modal-sub {
  font-size: 15px; line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.modal-form { display: flex; flex-direction: column; gap: 18px; }
.modal-form .field { display: flex; flex-direction: column; gap: 6px; }
.modal-form label {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--f-sans);
  width: 100%;
}
.modal-form input::placeholder, .modal-form textarea::placeholder { color: rgba(31, 6, 12, 0.35); }
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus {
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(200, 37, 62, 0.12);
}
.modal-form select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%231F060C' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.modal-form textarea { resize: vertical; min-height: 96px; }
.modal-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-submit {
  margin-top: 12px;
  background: var(--ink); color: var(--bg);
  padding: 18px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.modal-submit:hover { background: var(--royal); transform: translateY(-2px); }
.modal-disclaimer {
  font-size: 12px; line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.modal-success { text-align: center; padding: 12px 0; }
.success-apple { width: 140px; height: 140px; margin: 0 auto 12px;
  filter: drop-shadow(0 20px 30px rgba(200,37,62,0.25)); }
.success-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 12px;
}
.modal-success h3 {
  font-family: var(--f-serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1; letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.modal-success h3 em { font-style: italic; color: var(--royal); }
.modal-success p {
  font-size: 15px; line-height: 1.55;
  color: var(--ink-soft);
  max-width: 380px; margin: 0 auto 32px;
}
.modal-close-btn {
  background: transparent;
  border: 1px solid var(--line);
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.modal-close-btn:hover { background: var(--pale); border-color: var(--royal); }

/* ============ FAQ ============ */
.faq { padding: 120px 0; }
.faq-list { border-top: 1px solid var(--line); margin-top: 40px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-serif); font-size: 28px; line-height: 1.2;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  font-family: var(--f-sans); font-size: 28px; transition: transform 0.3s;
  color: var(--royal);
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .a {
  font-size: 15px; line-height: 1.6; color: var(--ink-soft);
  margin-top: 16px; max-width: 760px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink); color: var(--bg);
  padding: 80px 0 32px;
}
.footer-big {
  font-family: var(--f-serif);
  font-size: clamp(140px, 22vw, 360px);
  line-height: 0.85; letter-spacing: -0.04em;
  text-align: center; margin: 0;
}
.footer-big em {
  font-style: italic;
  background: linear-gradient(180deg, var(--lilac), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; color: rgba(255,255,255,0.6);
}
.footer-cols h4 {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin: 0 0 16px;
}
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-cols a:hover { color: var(--pink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 48px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}

/* ============ Responsive ============ */

/* Tablet — tighten desktop */
@media (max-width: 1024px) {
  .container { width: min(1200px, 100% - 40px); }
  .hero { padding: 40px 0 80px; }
  .section-head { padding: 80px 0 40px; }
  .manifesto { padding: 60px 0 80px; }
  .services, .porque, .testimonials, .steps { padding-bottom: 80px; }
  .metrics { padding: 80px 0; }
  .apply { padding: 100px 0; }
  .cta-final { padding: 100px 0; }
  .faq { padding: 80px 0; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .testi.featured { grid-column: span 2; }
}

/* Mobile — phone & small tablet */
@media (max-width: 768px) {
  .container { width: min(100% - 32px, 100%); }

  /* NAV */
  .nav { padding: 14px 0; }
  .nav-links { display: none; }
  .nav-logo { font-size: 24px; }
  .nav-logo .apple-mini { width: 22px; height: 24px; }
  .nav-cta { padding: 12px 18px; font-size: 13px; min-height: 44px; }

  /* HERO */
  .hero { padding: 30px 0 60px; min-height: auto; }
  .hero-top { flex-direction: column; gap: 20px; margin-bottom: 40px; }
  .hero-top .col, .hero-top .col.col-right { text-align: left; max-width: 100%; }
  .hero-wordmark { font-size: clamp(110px, 36vw, 220px); }
  .apple-stage { width: clamp(280px, 70vw, 420px); top: 6%; }
  .apple-halo { width: clamp(380px, 95vw, 560px); top: 6%; }
  .serpent { display: none; }
  .spark { display: none; }
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .hero-bottom .pitch { font-size: 18px; max-width: 100%; }
  .hero-bottom .stat .v { font-size: 44px; }
  .hero-bottom .cta-row { width: 100%; gap: 10px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; padding: 16px 24px; min-height: 50px; }

  /* TICKER */
  .ticker { padding: 18px 0; }
  .ticker-track { font-size: 28px; gap: 40px; }
  .ticker-track > span { gap: 40px; }

  /* SECTION HEADS */
  .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 60px 0 32px;
  }
  .section-head .title { font-size: clamp(36px, 8vw, 56px); }
  .section-sub { font-size: 18px; margin-bottom: 32px; }

  /* MANIFESTO */
  .manifesto {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 60px;
  }
  .manifesto .lead { font-size: clamp(26px, 5.5vw, 40px); }
  .manifesto .aside { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }

  /* SERVICES */
  .svc:nth-child(1), .svc:nth-child(2),
  .svc:nth-child(3), .svc:nth-child(4),
  .svc:nth-child(5), .svc:nth-child(6) { grid-column: span 12; min-height: auto; }
  .svc { padding: 32px 24px 28px; }
  .svc h3 { font-size: 32px; margin: 18px 0 10px; }
  .svc .arrow-tag { top: 20px; right: 20px; width: 32px; height: 32px; }
  .svc-tag { margin-top: 14px; font-size: 10px; }

  /* POR QUE */
  .porque-grid { grid-template-columns: 1fr; }
  .reason { padding: 36px 24px; }
  .reason h3 { font-size: 32px; margin: 14px 0 12px; }
  .reason p { font-size: 14px; }

  /* METRICS */
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric { padding: 24px 18px; }
  .metric .big { font-size: 56px; }
  .metric .big .sm { font-size: 22px; }
  .metric .lbl { font-size: 12px; }

  /* TESTIMONIALS */
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }
  .testi.featured { grid-column: auto; }
  .testi { padding: 28px 24px; border-radius: 22px; }
  .testi blockquote { font-size: 18px; }
  .testi.featured blockquote { font-size: 20px; }
  .testi .quote-mark { font-size: 64px; }

  /* STEPS */
  .step {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }
  .step:hover { padding: 24px 16px; }
  .step .num { font-size: 10px; }
  .step .ttl { font-size: 32px; }
  .step .desc { font-size: 13px; max-width: 100%; }
  .step .arrow { display: none; }

  /* CTA FINAL */
  .cta-final { padding: 80px 0; }
  .cta-final h2 { font-size: clamp(96px, 28vw, 160px); margin: 16px 0; }
  .cta-final p { font-size: 19px; padding: 0 8px; }
  .cta-final-row { flex-direction: column; gap: 10px; }
  .cta-final-row .btn-primary, .cta-final-row .btn-ghost { width: 100%; }

  /* APPLY (CTA only) */
  .apply { padding: 80px 0; }
  .apply h2 { font-size: clamp(56px, 14vw, 96px); }
  .apply .sub { margin: 24px auto 36px; }
  .apply-big-btn {
    width: 100%;
    justify-content: space-between;
    padding: 16px 16px 16px 28px;
    font-size: 24px;
  }
  .apply-big-btn .arr { width: 48px; height: 48px; }
  .apply-checklist {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 48px;
    text-align: left;
    justify-content: stretch;
    font-size: 12px;
  }

  /* MODAL */
  .modal-backdrop { padding: 16px; }
  .modal-card {
    padding: 32px 22px 28px;
    border-radius: 24px;
    max-height: calc(100vh - 32px);
  }
  .modal-close { top: 14px; right: 14px; width: 36px; height: 36px; }
  .modal-head { margin-bottom: 24px; }
  .modal-title { font-size: clamp(28px, 8vw, 40px); }
  .modal-form .row2 { grid-template-columns: 1fr; gap: 14px; }
  .modal-form input, .modal-form select, .modal-form textarea {
    padding: 14px 14px;
    font-size: 16px; /* prevents iOS zoom */
  }
  .modal-submit { padding: 16px 24px; min-height: 52px; }

  /* FAQ */
  .faq-item { padding: 22px 0; }
  .faq-item summary { font-size: 20px; gap: 16px; }
  .faq-item summary .plus { font-size: 24px; flex-shrink: 0; }
  .faq-item .a { font-size: 14px; }

  /* FOOTER */
  .footer { padding: 60px 0 24px; }
  .footer-big { font-size: clamp(120px, 38vw, 200px); }
  .footer-quote { font-size: 17px; margin-bottom: 40px; }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    margin-top: 48px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 10px;
    margin-top: 32px;
  }
}

/* Phone — very small */
@media (max-width: 480px) {
  .container { width: calc(100% - 28px); }
  .nav-logo { font-size: 22px; }
  .hero-wordmark { font-size: 32vw; }
  .apple-stage { width: 80vw; top: 8%; }
  .hero-top .col strong { display: block; margin-bottom: 4px; }
  .section-head .title { font-size: clamp(32px, 9vw, 48px); }
  .section-head { padding: 48px 0 28px; }
  .manifesto .lead { font-size: clamp(24px, 6.5vw, 32px); }
  .svc h3 { font-size: 26px; }
  .reason h3 { font-size: 26px; }
  .step .ttl { font-size: 26px; }
  .cta-final h2 { font-size: clamp(84px, 32vw, 140px); }
  .cta-final p { font-size: 17px; }
  .apply h2 { font-size: 56px; }
  .apply-big-btn { font-size: 20px; padding: 14px 14px 14px 24px; }
  .apply-big-btn .arr { width: 44px; height: 44px; }
  .modal-card { padding: 28px 18px 24px; }
  .modal-title { font-size: 28px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
}

/* ============ THEME variants from Tweaks ============ */
body.theme-rojo {
  --bg: #FBF1F2;
  --ink: #1F060C;
  --ink-soft: #5A1525;
  --royal: #C8253E;
  --pink: #FF6F8E;
  --lilac: #F08FA3;
  --pale: #F8DDE2;
  --crimson: #E63950;
}
body.theme-cream {
  --bg: #F8EDDF;
  --ink: #2C0E14;
  --ink-soft: #6A1D2A;
  --royal: #B23B5C;
  --pink: #E96B85;
  --lilac: #F4A8B8;
  --pale: #F1DCC8;
  --crimson: #C8253E;
}
body.theme-noir {
  --bg: #0F0307;
  --bg-2: #1A0509;
  --ink: #FBF1F2;
  --ink-soft: #F2B5BF;
  --royal: #FF6F8E;
  --pink: #FFB3C1;
  --lilac: #F08FA3;
  --pale: rgba(255,111,142,0.12);
  --crimson: #E63950;
  --line: rgba(255,255,255,0.12);
  --line-soft: rgba(255,255,255,0.06);
}
body.theme-noir .svc { background: var(--bg-2); }
body.theme-noir .metric { background: var(--bg-2); }
body.theme-noir .metrics { background: linear-gradient(180deg, var(--bg) 0%, #1A0509 100%); }

body.font-italic-heavy .hero-wordmark { font-style: italic; }
body.font-italic-heavy .section-head .title { font-style: italic; }

/* ============ LEGAL section ============ */
.legal { padding: 100px 0 60px; }
.legal .faq-item summary { font-size: 22px; }
.legal-body p { margin-bottom: 14px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body strong {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.legal-foot {
  margin-top: 40px;
  font-family: var(--f-mono, 'Geist Mono', monospace);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.7;
}
.footer-bottom a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.footer-bottom a:hover { border-bottom-color: currentColor; }
@media (max-width: 720px) {
  .legal { padding: 80px 0 40px; }
  .legal .faq-item summary { font-size: 18px; }
}
