/* Provoca — luxury/editorial. Fórmula premium verificada: casi-negro cálido sobre crema,
   escala 7:1, cifras en mono, hairlines sin sombras, un acento arcilla usado con avaricia. */
:root {
  --ground: #faf7f0;
  --surface: #f2ede3;
  --rule: #e3dbcc;
  --ink: #1a1815;
  --muted: #756e63;
  --accent: #a8632c;
  --verify: #2f5d50;
  --cream-on-dark: #f2ede3;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad-x: clamp(1.25rem, 6vw, 6.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: var(--mono); }
h1, h2, blockquote p { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.01em; }
em { font-style: italic; }
a { color: inherit; }
section { padding: clamp(4rem, 9vw, 7.5rem) var(--pad-x); border-top: 1px solid var(--rule); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 1.6rem;
}
.eyebrow-light { color: var(--accent); }

/* ---------- botones: bloques de tinta, sin radios, sin sombras ---------- */
.btn-ink {
  display: inline-block;
  background: var(--ink);
  color: var(--ground);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border: 1px solid var(--ink);
  transition: background 180ms ease-out, color 180ms ease-out;
}
.btn-ink:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ink:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-lg { padding: 1.15rem 2.6rem; font-size: 13px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem var(--pad-x);
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.logo, .foot-logo {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-style: italic;
  text-decoration: none;
  color: var(--ink);
}
.site-header nav { display: flex; gap: 2rem; }
.site-header nav a {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--muted);
  transition: color 180ms ease-out;
}
.site-header nav a:hover { color: var(--accent); }
.site-header .btn-ink { padding: 0.6rem 1.2rem; font-size: 11px; }

/* ---------- hero ---------- */
.hero {
  border-top: none;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
.hero-media { margin: 0; }
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: cover;
  border: 1px solid var(--rule);
}
.hero h1 {
  font-size: clamp(3.4rem, 9.5vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
  max-width: 12ch;
}
.hero h1 em { color: var(--accent); }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-bottom: 2.6rem; }
.hero-terms { font-size: 12px; color: var(--muted); margin-top: 1.8rem; letter-spacing: 0.02em; }

.reveal { opacity: 0; transform: translateY(14px); animation: rise 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.r1 { animation-delay: 60ms; } .r2 { animation-delay: 160ms; } .r3 { animation-delay: 280ms; }
.r4 { animation-delay: 400ms; } .r5 { animation-delay: 500ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* ---------- cápsula AEO ---------- */
.capsule { background: var(--surface); }
.capsule p { max-width: 46rem; font-size: 1.25rem; line-height: 1.6; }
.capsule-lead { font-family: var(--serif); font-size: 1.6rem; display: block; margin-bottom: 0.8rem; }

/* ---------- banda fotográfica ---------- */
.band { border-top: 1px solid var(--rule); }
.band img { display: block; width: 100%; height: clamp(180px, 30vw, 340px); object-fit: cover; }

/* ---------- transparencia: el panel de instrumentos ---------- */
.transparency h2 { max-width: 26ch; margin-bottom: 1.4rem; }
.section-lead { max-width: 44rem; color: var(--muted); margin-bottom: 3rem; }
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule);
  background: var(--surface);
}
.t-cell {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 1.6rem 1.7rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.t-cell:nth-child(3n) { border-right: none; }
.t-cell:nth-last-child(-n+3) { border-bottom: none; }
.t-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.t-value { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; color: var(--ink); font-weight: 500; }
.t-cell:last-child .t-value { color: var(--verify); }
.t-gloss { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.t-note { margin-top: 1.6rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--verify); }

/* ---------- cómo funciona ---------- */
.how h2 { margin-bottom: 3rem; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.steps li { padding: 2.2rem 2rem 2.2rem 0; }
.steps li + li { border-left: 1px solid var(--rule); padding-left: 2rem; }
.step-num { display: block; font-size: 13px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 1.4rem; }
.steps h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }
.steps p { color: var(--muted); font-size: 14px; }
.how-note { margin-top: 2.4rem; font-size: 14px; color: var(--verify); font-weight: 500; }

/* ---------- origen: la inversión oscura ---------- */
.origin {
  background:
    linear-gradient(to bottom, rgba(26, 24, 21, 0.45), rgba(26, 24, 21, 0.88) 55%, #1a1815 85%),
    url("img/valle-andes.jpg") center 20% / cover no-repeat #1a1815;
  color: var(--cream-on-dark);
  border-top: none;
  padding-top: clamp(7rem, 16vw, 13rem);
}
.origin-inner { max-width: 52rem; }
.origin blockquote p {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.25;
  margin-bottom: 1.4rem;
}
.origin cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--cream-on-dark) 60%, transparent);
  display: block;
  margin-bottom: 2.6rem;
}
.origin-body { color: color-mix(in srgb, var(--cream-on-dark) 82%, transparent); max-width: 40rem; margin-bottom: 2.8rem; }
.spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid color-mix(in srgb, var(--cream-on-dark) 22%, transparent);
}
.spec > div {
  padding: 1.1rem 1.3rem;
  border-right: 1px solid color-mix(in srgb, var(--cream-on-dark) 22%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--cream-on-dark) 22%, transparent);
}
.spec > div:nth-child(3n) { border-right: none; }
.spec > div:nth-last-child(-n+3) { border-bottom: none; }
.spec dt {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: color-mix(in srgb, var(--cream-on-dark) 55%, transparent);
  margin-bottom: 0.35rem;
}
.spec dd { font-size: 13px; }
.origin-rotation {
  margin-top: 2.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: color-mix(in srgb, var(--cream-on-dark) 75%, transparent);
}

/* ---------- la caja ---------- */
.box-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.box-media { margin: 0; }
.box-media img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); }
.box-media figcaption { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-top: 0.7rem; }
.box h2 { margin-bottom: 2.6rem; }
.box-list { list-style: none; border-top: 1px solid var(--rule); max-width: 46rem; }
.box-list li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--rule);
}
.box-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 0.3rem;
}
.box-list p { color: var(--muted); font-size: 14.5px; }

/* ---------- suscripción ---------- */
.plans { background: var(--surface); }
.plans h2 { margin-bottom: 2.6rem; }
.plan-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  max-width: 62rem;
}
.plan-card, .plan-alt { background: var(--ground); border: 1px solid var(--rule); padding: 2.4rem 2.2rem; }
.plan-name {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.plan-price { font-size: 3.4rem; line-height: 1; margin-bottom: 0.3rem; }
.plan-price .per { font-family: var(--sans); font-size: 1rem; color: var(--muted); margin-left: 0.3rem; }
.plan-unit { font-size: 12px; color: var(--verify); margin-bottom: 1.6rem; }
.plan-card ul { list-style: none; margin-bottom: 1.6rem; border-top: 1px solid var(--rule); }
.plan-card ul li { padding: 0.7rem 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.plan-terms { font-size: 12.5px; color: var(--muted); margin-bottom: 1.8rem; }
.plan-side { display: flex; flex-direction: column; gap: 1.5rem; }
.plan-alt { flex: 1; }
.plan-alt p { font-size: 13.5px; color: var(--muted); }
.plan-price-sm { font-size: 1.5rem; color: var(--ink); margin-bottom: 0.6rem; }
.plans-note { margin-top: 1.6rem; font-size: 12px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq h2 { margin-bottom: 2rem; }
.faq details { border-bottom: 1px solid var(--rule); max-width: 44rem; }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  padding: 1.2rem 0;
  list-style: none;
  position: relative;
  padding-right: 2rem;
  transition: color 180ms ease-out;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 1.05rem;
  font-family: var(--mono);
  color: var(--accent);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 0 1.4rem; color: var(--muted); font-size: 14px; max-width: 38rem; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; padding-top: clamp(5rem, 10vw, 8rem); padding-bottom: clamp(5rem, 10vw, 8rem); }
.cta-final .eyebrow { margin-bottom: 1rem; }
.cta-final h2 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 2.2rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--cream-on-dark) 70%, transparent); padding: 3.5rem var(--pad-x); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; font-size: 13px; }
.foot-logo { color: var(--cream-on-dark); margin-bottom: 0.6rem; }
.foot-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: color-mix(in srgb, var(--cream-on-dark) 45%, transparent);
  margin-bottom: 0.6rem;
}
.site-footer a { color: var(--cream-on-dark); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--cream-on-dark) 35%, transparent); }
.site-footer a:hover { border-color: var(--accent); color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { max-height: 46vh; }
  .box-grid { grid-template-columns: 1fr; }
  .t-grid, .spec { grid-template-columns: repeat(2, 1fr); }
  .t-cell:nth-child(3n) { border-right: 1px solid var(--rule); }
  .t-cell:nth-child(2n) { border-right: none; }
  .t-cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .t-cell:nth-last-child(-n+2) { border-bottom: none; }
  .spec > div:nth-child(3n) { border-right: 1px solid color-mix(in srgb, var(--cream-on-dark) 22%, transparent); }
  .spec > div:nth-child(2n) { border-right: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 1.8rem 0; border-bottom: 1px solid var(--rule); }
  .steps li + li { border-left: none; padding-left: 0; }
  .plan-row { grid-template-columns: 1fr; }
  .box-list li { grid-template-columns: 1fr; gap: 0.4rem; }
  .foot-grid { grid-template-columns: 1fr; }
}
