/* ═══════════════════════════════════════════════
   TIME TO LIVE — estilos
   Colores y tipografías: cambia solo el bloque :root
   ═══════════════════════════════════════════════ */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,500..900&family=DM+Sans:wght@400;500;700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  /* Paleta cálida, de exterior */
  --yellow: #ffc61a;        /* acento de marca */
  --yellow-soft: #fbe7a6;   /* subrayados y fondos suaves */
  --ink: #1f1a15;           /* "negro" cálido para texto */
  --cream: #f7f1e6;         /* fondo principal */
  --sand: #ede2cf;          /* secciones alternas */
  --white: #fffdf8;
  --muted: #7b6f60;         /* textos secundarios */
  --rule: rgba(31, 26, 21, 0.14);

  --font-head: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --pad: clamp(20px, 5vw, 72px);
  --max: 1280px;
  --side: max(var(--pad), calc((100vw - var(--max)) / 2));
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
mark {
  color: inherit;
  background: linear-gradient(transparent 60%, var(--yellow) 60% 92%, transparent 92%);
}

h1, h2 {
  font-family: var(--font-head);
  font-stretch: 110%;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
h2 { font-size: clamp(32px, 4.6vw, 66px); margin-bottom: 36px; max-width: 18em; }

.label {
  font: 700 12px/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font: 700 15px/1 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { box-shadow: 0 10px 30px rgba(214, 160, 0, 0.3); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 19px 32px; font-size: 17px; }
.btn-link { font-size: 15px; font-weight: 500; color: var(--muted); text-underline-offset: 4px; }
.btn-link:hover { color: var(--ink); }

/* ── Menú ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--pad);
  background: rgba(247, 241, 230, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--rule); border-radius: 999px; padding: 3px; }
.lang button {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  font: 700 12px/1 var(--font-body); padding: 7px 10px; border-radius: 999px;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }

/* ── 1. Reserva ── */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 56px;
  padding: 108px var(--side) 72px;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--white); border: 1px solid var(--rule); border-radius: 999px; padding: 9px 14px;
  margin-bottom: 24px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 198, 26, 0.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
h1 { font-size: clamp(38px, 4.6vw, 70px); margin-bottom: 24px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}
.hero-facts div { padding: 14px 24px 14px 0; }
.hero-facts div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.hero-facts dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hero-facts dd { font-weight: 700; font-size: 16px; }

.hero-photos { position: relative; height: min(76vh, 660px); margin-top: 24px; }
.ph {
  position: absolute; object-fit: cover;
  border: 7px solid var(--white);
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(60, 40, 10, 0.18);
}
.ph-1 { width: 62%; aspect-ratio: 3 / 4; top: 0; left: 4%; transform: rotate(-4deg); }
.ph-2 { width: 52%; aspect-ratio: 3 / 4; top: 14%; right: 0; transform: rotate(3deg); }
.ph-3 { width: 50%; aspect-ratio: 4 / 5; bottom: 0; left: 22%; transform: rotate(-1deg); }

/* ── Formulario ── */
.apply {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 30px);
  box-shadow: 0 10px 40px rgba(60, 40, 10, 0.06);
  max-width: 640px;
}
.apply-why { margin-bottom: 22px; }
.apply-title { font: 800 20px/1.2 var(--font-head); font-stretch: 105%; text-transform: uppercase; margin-bottom: 8px; }
.apply-why p:not(.apply-title) { color: #4a4036; font-size: 16px; margin-bottom: 14px; }
.steps-mini { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: s; }
.steps-mini li { counter-increment: s; font-size: 13px; background: var(--cream); border-radius: 999px; padding: 6px 12px; }
.steps-mini li::before { content: counter(s) " · "; font-weight: 700; color: #b38600; }

.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.apply label span { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.apply input[type="text"], .apply input[type="tel"], .apply select {
  width: 100%; padding: 13px 14px;
  font: 500 16px var(--font-body); color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--rule); border-radius: 10px;
  outline: none; transition: border-color 0.2s, background 0.2s;
  appearance: none; -webkit-appearance: none;
}
.apply select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.apply input::placeholder { color: #b0a593; }
.apply input:focus, .apply select:focus { border-color: var(--ink); background: var(--white); }
.apply .bad { border-color: #d99a00 !important; box-shadow: 0 0 0 3px rgba(255, 198, 26, 0.45); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; cursor: pointer; padding: 4px; border-radius: 8px; }
.consent span { display: inline !important; font-size: 13px !important; line-height: 1.45; letter-spacing: 0 !important; text-transform: none !important; color: #4a4036 !important; margin: 0 !important; }
.consent input { width: 20px; height: 20px; flex: none; accent-color: var(--ink); margin-top: 1px; }
.apply button { border: 0; cursor: pointer; margin-bottom: 12px; }
.apply button:disabled { opacity: 0.6; cursor: wait; }
.apply-msg { color: #a06e00; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.apply-msg:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.apply-done { max-width: 600px; background: var(--white); border-radius: var(--radius); border-left: 5px solid var(--yellow); padding: 28px; }
.apply-done-big { font: 850 clamp(28px, 3.2vw, 40px)/1 var(--font-head); font-stretch: 110%; text-transform: uppercase; margin-bottom: 14px; }

/* ── 2. Contador ── */
.count { background: var(--yellow); text-align: center; padding: clamp(52px, 7vw, 88px) var(--side); }
.count-label { font: 850 clamp(20px, 2.6vw, 30px)/1 var(--font-head); font-stretch: 110%; text-transform: uppercase; margin-bottom: 26px; }
.countdown { display: flex; justify-content: center; gap: clamp(8px, 2vw, 20px); margin-bottom: 22px; }
.countdown div { background: var(--white); border-radius: var(--radius); min-width: clamp(70px, 13vw, 156px); padding: clamp(14px, 2vw, 24px) 8px; box-shadow: 0 6px 0 rgba(31, 26, 21, 0.12); }
.countdown strong { display: block; font: 850 clamp(34px, 6.4vw, 86px)/1 var(--font-head); font-variant-numeric: tabular-nums; }
.countdown span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.count-note { font-size: 15px; color: #5b4a20; }

/* ── Cinta (fina y tranquila) ── */
.ribbon {
  text-align: center;
  padding: 22px var(--pad);
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--muted);
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--rule);
}
.ribbon span { color: #c89a12; margin: 0 0.5em; font-style: normal; }

/* ── 3. Para quién ── */
.foryou { padding: clamp(80px, 11vw, 150px) var(--side); }
.foryou-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.foryou-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 70%; border-radius: var(--radius); }
.foryou-photo figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.checks { list-style: none; }
.checks li {
  position: relative; padding: 18px 0 18px 48px;
  border-top: 1px solid var(--rule);
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.4;
}
.checks li:last-child { border-bottom: 1px solid var(--rule); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 17px;
  width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--yellow); border-radius: 50%; font-weight: 900; font-size: 14px;
}
.checks em { font-family: var(--font-serif); font-size: 1.15em; }

/* ── 4. Qué haremos (triángulo) ── */
.plan { background: var(--sand); padding: clamp(80px, 11vw, 150px) var(--side); }
.plan h2 { max-width: 16em; margin-bottom: 22px; }
.plan-sub { font-size: clamp(17px, 1.5vw, 20px); max-width: 34em; color: #4a4036; margin-bottom: 60px; }
.plan-body { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.tri { width: 100%; max-width: 420px; position: sticky; top: 110px; overflow: visible; }
.tri-line { fill: rgba(255, 198, 26, 0.12); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2.2s ease; }
.tri.is-in .tri-line { stroke-dashoffset: 0; }
.tri-dot { fill: var(--sand); stroke: var(--ink); stroke-width: 2.5; transition: fill 0.4s; }
.tri-dot.on { fill: var(--yellow); }
.tri-mid { font: 850 30px var(--font-head); font-stretch: 112%; fill: var(--ink); letter-spacing: 0.02em; }
.tri-tag { font: 800 20px var(--font-head); font-stretch: 112%; fill: var(--ink); letter-spacing: 0.06em; }
.pillars { display: grid; gap: 18px; }
.pillar {
  display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: center;
  background: var(--white); border-radius: var(--radius); padding: 14px;
}
.pillar img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.pillar-tag { display: inline-block; font: 800 12px/1 var(--font-head); letter-spacing: 0.1em; background: var(--yellow-soft); padding: 5px 8px; border-radius: 6px; margin-bottom: 10px; }
.pillar h3 { font: 850 24px/1.05 var(--font-head); font-stretch: 110%; text-transform: uppercase; margin-bottom: 8px; }
.pillar p { color: #4a4036; font-size: 16px; }

/* ── 5. Qué te encuentras ── */
.find { background: var(--white); padding: clamp(80px, 11vw, 150px) var(--side); }
.find-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.find-grid li { background: var(--cream); border-radius: var(--radius); padding: 24px; }
.find-grid strong { display: block; font: 800 19px/1.15 var(--font-head); text-transform: uppercase; margin-bottom: 8px; }
.find-grid span { color: #4a4036; font-size: 16px; }

/* ── 6. Quiénes somos ── */
.who { padding: clamp(80px, 11vw, 150px) var(--side); }
.who h2 { margin-bottom: 22px; }
.who-intro { font-size: clamp(18px, 1.6vw, 21px); max-width: 34em; margin-bottom: 52px; color: #4a4036; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.founder img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.founder h3 { font: 850 32px/1 var(--font-head); font-stretch: 112%; text-transform: uppercase; margin-bottom: 10px; }
.founder p { color: #4a4036; max-width: 32em; }

/* ── CTA final ── */
.last { background: var(--sand); text-align: center; padding: clamp(80px, 11vw, 140px) var(--side); }
.last h2 { margin: 0 auto 36px; }

/* ── Footer ── */
.footer { background: var(--ink); color: var(--cream); text-align: center; padding: 56px var(--pad) 40px; }
.footer img { height: 32px; width: auto; margin: 0 auto 18px; }
.footer-ig { color: var(--yellow); font-weight: 700; text-decoration: none; }
.footer-legal { margin-top: 28px; font-size: 13px; opacity: 0.55; }

/* ── Aparición al hacer scroll ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .tri-line { stroke-dashoffset: 0; }

/* ═══════════ MÓVIL ═══════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; gap: 36px; }
  .hero-photos { height: 88vw; max-height: 500px; margin-top: 0; }
  .foryou-body { grid-template-columns: 1fr; }
  .plan-body { grid-template-columns: 1fr; }
  .tri { position: static; max-width: 240px; margin: 0 auto; }
  .find-grid { grid-template-columns: 1fr 1fr; }
  .founders { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { padding: 12px 16px; }
  .nav-logo img { height: 24px; }
  .nav .btn-sm { padding: 10px 14px; font-size: 13px; }
  .hero, .count, .foryou, .plan, .find, .who, .last { padding-left: 16px; padding-right: 16px; }
  .hero-facts { grid-template-columns: 1fr; width: 100%; }
  .hero-facts div, .hero-facts div + div { padding: 10px 0; border-left: 0; display: flex; justify-content: space-between; gap: 12px; }
  .hero-facts div + div { border-top: 1px solid var(--rule); }
  .hero-facts dt { margin: 0; align-self: center; }
  .apply-grid { grid-template-columns: 1fr; }
  .apply button, .last .btn-lg { width: 100%; justify-content: center; }
  .countdown div { min-width: 0; flex: 1; }
  .pillar { grid-template-columns: 1fr; gap: 14px; }
  .pillar img { aspect-ratio: 16 / 10; }
  .find-grid { grid-template-columns: 1fr; }
  .ph { border-width: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .tri-line { stroke-dashoffset: 0; }
}

/* ── Página de pago (reserva.html) ── */
.pay { padding: 110px var(--side) 90px; }
.pay h1 { font-size: clamp(36px, 4.4vw, 64px); margin-bottom: 18px; }
.pay-sub { font-size: clamp(17px, 1.6vw, 20px); color: #4a4036; max-width: 34em; margin-bottom: 40px; }
.pay-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: start; }
.pay-card, .pay-policy { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.pay-policy { background: var(--sand); border-color: transparent; }
.pay-facts { display: grid; gap: 0; margin-bottom: 28px; border-top: 1px solid var(--rule); }
.pay-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.pay-facts dt { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); align-self: center; }
.pay-facts dd { font-weight: 700; text-align: right; }
.pay-list { list-style: none; margin-bottom: 28px; }
.pay-list li { padding: 6px 0 6px 28px; position: relative; }
.pay-list li::before { content: "✓"; position: absolute; left: 0; font-weight: 900; color: #b38600; }
.pay-price { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 20px; background: var(--cream); border-radius: 10px; margin-bottom: 20px; }
.pay-price-label { font-size: 15px; color: #4a4036; }
.pay-price strong { font: 850 clamp(30px, 3.4vw, 44px)/1 var(--font-head); }
.pay-btn { width: 100%; justify-content: center; }
.pay-btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.pay-note { margin-top: 12px; color: #a06e00; font-weight: 700; font-size: 14px; }
.pay-secure { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.pay-policy ul { list-style: none; display: grid; gap: 12px; margin-bottom: 20px; }
.pay-policy li { font-size: 15px; line-height: 1.45; }
.pay-help { font-size: 14px; color: #4a4036; }
.footer-legal a, .consent a { color: inherit; }

/* ── Privacidad ── */
.legal { max-width: 760px; margin: 0 auto; padding: 120px var(--pad) 90px; }
.legal h1 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 24px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; max-width: none; }
.legal p { color: #4a4036; }
.legal-en { background: var(--white); border-radius: 10px; padding: 16px 18px; }
.legal-date { margin-top: 40px; font-size: 13px; }

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