:root {
  --crema: #ece6dc;
  --papel: #f5f1ea;
  --bosque: #1f3a2e;
  --tinta: #1a2a22;
  --musgo: #5d6b62;
  --lima: #b9d43a;
  --serif: "Gloock", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--crema);
  color: var(--tinta);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--bosque); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; display: block; }

.barra {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1180px; margin: 0 auto; padding: 22px 24px;
}
.firma { font-weight: 600; letter-spacing: .18em; text-decoration: none; font-size: .82rem; }
.barra-cta { font-weight: 600; font-size: .95rem; text-underline-offset: 4px; }

main > section { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Hero: el único momento llamativo */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 16px;
  min-height: min(78vh, 680px);
}
h1 {
  font: 400 clamp(3rem, 7.4vw, 6.2rem)/.96 var(--serif);
  color: var(--bosque); letter-spacing: -.02em; margin: 0 0 24px;
  max-width: 10ch;
}
.hero-sub { font-size: 1.3rem; line-height: 1.5; max-width: 34ch; margin: 0 0 32px; color: var(--tinta); }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.nota { color: var(--musgo); font-size: .95rem; }
.hero-img {
  width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 52%, #000 62%, transparent 100%);
  animation: aparece 1.2s ease-out both .15s;
}
@keyframes aparece { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

.boton {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 1.05rem;
  background: var(--bosque); color: var(--papel);
  padding: 16px 28px; border-radius: 999px;
}
.boton:hover { background: #2a4d3d; }
.boton--lima { background: var(--lima); color: var(--bosque); }
.boton--lima:hover { background: #c7e04f; }
.boton--grande { font-size: 1.25rem; padding: 20px 40px; }
.boton--borde { background: transparent; color: var(--bosque); box-shadow: inset 0 0 0 2px var(--bosque); }
.boton--borde:hover { background: rgba(31,58,46,.08); }
.boton--borde-claro { background: transparent; color: var(--papel); box-shadow: inset 0 0 0 2px var(--papel); }
.boton--borde-claro:hover { background: rgba(245,241,234,.1); }
[hidden] { display: none !important; }
.firma span { font-weight: 500; letter-spacing: .06em; color: var(--musgo); }
.hero .nota { margin: 18px 0 0; }

.problema { padding-top: 56px; padding-bottom: 56px; }
.problema p {
  font: 400 clamp(1.6rem, 3.4vw, 2.5rem)/1.25 var(--serif);
  color: var(--bosque); max-width: 26ch; margin: 0;
}

h2 { font: 400 clamp(1.9rem, 3.6vw, 2.8rem)/1.1 var(--serif); color: var(--bosque); margin: 0 0 28px; }

.equipo, .pasos, .dudas { padding-top: 56px; padding-bottom: 40px; }
.lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(31,58,46,.25); }
.lista li {
  display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: 8px 40px;
  padding: 24px 0; border-bottom: 1px solid rgba(31,58,46,.25);
}
.lista h3 { margin: 0; font-size: 1.2rem; font-weight: 600; color: var(--bosque); }
.lista p { margin: 0; max-width: 56ch; }

.pasos ol { margin: 0; padding: 0; list-style: none; counter-reset: paso; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pasos li { counter-increment: paso; max-width: 34ch; }
.pasos li::before {
  content: counter(paso); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px;
  background: var(--lima); color: var(--bosque); font: 400 1.3rem var(--serif);
}
.pasos strong { display: block; color: var(--bosque); font-size: 1.15rem; margin-bottom: 4px; }

.dudas details { border-bottom: 1px solid rgba(31,58,46,.25); max-width: 760px; }
.dudas details:first-of-type { border-top: 1px solid rgba(31,58,46,.25); }
.dudas summary { cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 1.1rem; color: var(--bosque); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.dudas summary::-webkit-details-marker { display: none; }
.dudas summary::after { content: "+"; font: 400 1.6rem/1 var(--serif); }
.dudas details[open] summary::after { content: "–"; }
.dudas details p { margin: 0 0 20px; max-width: 60ch; color: var(--tinta); }

.cierre {
  background: var(--bosque); color: var(--papel);
  border-radius: 28px; margin: 64px auto 0; padding: 64px 48px !important;
  max-width: 1132px !important;
}
.cierre h2 { color: var(--papel); max-width: 18ch; }
.cierre p { margin: 0 0 28px; color: #d6dfd8; max-width: 44ch; }
.cierre .correo { margin: 20px 0 0; font-size: .95rem; }

.pie {
  max-width: 1180px; margin: 0 auto; padding: 32px 24px 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  color: var(--musgo); font-size: .9rem;
}
.pie p { margin: 0; }
.pie p:last-child a + a { margin-left: 16px; }

.legal { max-width: 720px; margin: 0 auto; padding: 32px 24px 64px; }
.legal h1 { font-size: 2.6rem; max-width: none; }
.legal h2 { font-size: 1.4rem; margin: 32px 0 8px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 8px; }
  .hero-img { order: -1; max-width: 320px; margin: 0 auto -12px; }
  .lista li { grid-template-columns: 1fr; }
  .pasos ol { grid-template-columns: 1fr; }
  .cierre { border-radius: 22px; margin: 48px 16px 0; padding: 44px 22px !important; }
  .barra-cta { display: none; }
  .acciones .boton { width: 100%; text-align: center; }
  .firma span { display: block; margin-top: 2px; }
}
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } }

/* Demo en vídeo */
.demo { display: grid; grid-template-columns: 1fr minmax(240px, 340px); gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 56px; }
.demo-texto p { max-width: 46ch; }
.demo-video { width: 100%; height: auto; border-radius: 22px; background: var(--bosque); box-shadow: 0 18px 40px rgba(31,58,46,.22); }

/* Aviso de cookies */
.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20;
  max-width: 520px; margin: 0 auto; padding: 20px 22px;
  background: var(--papel); color: var(--tinta); border-radius: 18px;
  box-shadow: 0 12px 36px rgba(26,42,34,.25);
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0 0 8px; font-size: .95rem; }
.cookies-titulo { font: 400 1.25rem var(--serif); color: var(--bosque); }
.cookies-botones { display: flex; gap: 12px; margin-top: 12px; }
.cookies-botones .boton { flex: 1; padding: 12px 16px; font-size: 1rem; }
.enlace-boton { background: none; border: 0; padding: 0; margin-left: 16px; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

@media (max-width: 820px) {
  .demo { grid-template-columns: 1fr; gap: 24px; }
  .demo-video { max-width: 320px; margin: 0 auto; }
}
