* { box-sizing: border-box; }

:root {
  --crema: #F7F3EC;
  --oscuro: #1C1B19;
  --naranja: #E8541E;
  --naranja-oscuro: #C9430F;
  --resaltado: #FDECE3;
  --texto-suave: #5A564F;
  --texto-tenue: #71706C;
  --texto-oscuro: #332F2B;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--crema);
  color: var(--oscuro);
  font-family: "Public Sans", sans-serif;
}

h1, h2, h3, .marca-nombre, .bullet-num, .stat-num, .paso-num, .materiales-titulo {
  font-family: "Space Grotesk", sans-serif;
}

img { max-width: 100%; display: block; }

@keyframes pulsar { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: .5; } }

.barra-progreso {
  position: fixed; top: 0; left: 0; right: 0; height: 4px;
  background: rgba(28,27,25,0.08); z-index: 60;
}
.barra-progreso > div {
  height: 100%; background: var(--naranja); width: 0%;
  transition: width 0.1s linear;
}

.cabecera {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 64px);
  background: transparent;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.cabecera.solida {
  background: rgba(247,243,236,0.92);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.marca { display: flex; flex-direction: column; line-height: 1; text-decoration: none; color: var(--oscuro); }
.marca-nombre { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.marca-eslogan { font-size: 10px; letter-spacing: 0.12em; color: var(--texto-tenue); text-transform: uppercase; margin-top: 2px; }
.nav-principal { display: flex; gap: 28px; align-items: center; }
.nav-principal a { color: var(--oscuro); text-decoration: none; font-weight: 600; font-size: 14px; }
.boton-cta {
  background: var(--oscuro); color: var(--crema); padding: 10px 20px; border-radius: 100px;
  text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .2s ease;
}
.boton-cta:hover { background: var(--naranja); }

.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 140px clamp(20px, 6vw, 80px) 80px; overflow: hidden;
}
.hero-fondo { position: absolute; inset: 0; z-index: 0; }
.hero-fondo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero-degradado {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,27,25,0.75) 0%, rgba(28,27,25,0.55) 45%, rgba(247,243,236,1) 100%);
}
.hero-contenido { position: relative; z-index: 1; max-width: 900px; }
.hero-pastilla {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14); color: var(--crema); border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 24px;
}
.punto-pulso { width: 7px; height: 7px; border-radius: 50%; background: var(--naranja); animation: pulsar 1.8s ease-in-out infinite; }
.hero-contenido h1 {
  font-weight: 700; font-size: clamp(40px, 7vw, 84px); line-height: 0.98; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 24px; text-wrap: balance;
}
.hero-contenido p {
  font-size: clamp(17px, 2vw, 21px); line-height: 1.55; color: rgba(255,255,255,0.88);
  max-width: 620px; margin: 0 0 36px; text-wrap: pretty;
}
.hero-contenido p strong { color: #fff; }
.hero-botones { display: flex; gap: 16px; flex-wrap: wrap; }

.boton {
  padding: 16px 30px; border-radius: 100px; font-weight: 700; font-size: 16px; text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.boton-naranja { background: var(--naranja); color: #fff; box-shadow: 0 12px 28px rgba(232,84,30,0.35); }
.boton-naranja:hover { background: var(--naranja-oscuro); }
.boton-fantasma { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }
.boton-fantasma:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.boton-translucido { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff; }
.boton-translucido:hover { background: rgba(255,255,255,0.18); }

.seccion { padding: 100px clamp(20px, 6vw, 80px); max-width: 1200px; margin: 0 auto; }
.seccion-angosta { padding: 80px clamp(20px, 6vw, 80px); max-width: 900px; margin: 0 auto; }
.seccion-oscura { background: var(--oscuro); color: var(--crema); max-width: none; }
.seccion-oscura .seccion, .seccion-oscura > div { max-width: 1200px; margin: 0 auto; }
.seccion-crema { background: var(--resaltado); max-width: none; padding: 100px clamp(20px, 6vw, 80px); }
.seccion-crema > div { max-width: 1200px; margin: 0 auto; }
.seccion-faq { padding: 100px clamp(20px, 6vw, 80px); max-width: 820px; margin: 0 auto; }

.eyebrow { color: var(--naranja); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow-chico { font-size: 13px; }
.centrado { text-align: center; max-width: 760px; margin: 0 auto; }
.intro-cabecera { margin-bottom: 56px; }
.intro-cabecera h2, #scope h2, #status h2, #faq h2 {
  font-weight: 700; font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.01em; margin: 14px 0 0;
}
.subrayado { font-size: 17px; color: var(--texto-tenue); margin: 14px 0 0; }
.subrayado-oscuro { color: rgba(247,243,236,0.7); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid-cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

.tarjeta-bullet { background: #fff; border-radius: 20px; padding: 32px 28px; border: 1px solid rgba(28,27,25,0.08); }
.bullet-num { font-weight: 700; font-size: 34px; color: var(--naranja); margin-bottom: 14px; }
.tarjeta-bullet p { font-size: 16px; line-height: 1.5; margin: 0; color: var(--texto-oscuro); }

.how-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.how-grid h2 { font-weight: 700; font-size: clamp(28px, 3.6vw, 42px); margin: 14px 0 20px; letter-spacing: -0.01em; text-wrap: balance; }
.parrafo-claro { font-size: 17px; line-height: 1.65; color: rgba(247,243,236,0.78); margin: 0 0 18px; }
.how-stats { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; padding: 20px 24px; flex: 1; min-width: 200px; }
.stat-naranja { background: rgba(232,84,30,0.14); border-color: rgba(232,84,30,0.35); }
.stat-num { font-weight: 700; font-size: 28px; color: #fff; }
.stat-label { font-size: 14px; color: rgba(247,243,236,0.75); margin-top: 4px; }
.how-nota { border-left: 2px solid var(--naranja); padding-left: 18px; }
.how-nota p { font-size: 14px; line-height: 1.6; color: rgba(247,243,236,0.65); margin: 0; }
.how-foto { height: 440px; border-radius: 24px; overflow: hidden; }
.how-foto img { width: 100%; height: 100%; object-fit: cover; }

.tarjeta-card {
  background: #fff; border-radius: 24px; padding: 36px 32px; border: 1px solid rgba(28,27,25,0.08);
  display: flex; flex-direction: column;
}
.card-icono { width: 44px; height: 44px; border-radius: 12px; background: var(--resaltado); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 20px; }
.tarjeta-card h3 { font-size: 22px; font-weight: 700; margin: 8px 0 12px; }
.tarjeta-card p { font-size: 15px; line-height: 1.6; color: var(--texto-suave); margin: 0 0 24px; flex: 1; }
.card-cta { color: var(--oscuro); font-weight: 700; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

.paso { padding: 0 20px; position: relative; }
.paso-cabecera { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.paso-num { width: 40px; height: 40px; border-radius: 50%; background: var(--oscuro); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.paso h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.paso p { font-size: 14px; line-height: 1.55; color: var(--texto-suave); margin: 0; }

.materiales-titulo { font-size: 22px; font-weight: 700; margin: 0 0 20px; text-align: center; }
.materiales-lista { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.pastilla { background: #fff; border: 1px solid rgba(28,27,25,0.1); padding: 10px 18px; border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--texto-oscuro); }

.caja-criterio { border-radius: 20px; padding: 32px; }
.caja-criterio h3 { font-size: 19px; font-weight: 700; margin: 0 0 18px; color: #fff; }
.caja-si { background: rgba(232,84,30,0.1); border: 1px solid rgba(232,84,30,0.3); }
.caja-no { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); }
.item-criterio { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.item-criterio span:last-child { font-size: 15px; line-height: 1.5; }
.caja-si .item-criterio span:last-child { color: rgba(247,243,236,0.85); }
.caja-no .item-criterio span:last-child { color: rgba(247,243,236,0.65); }
.marca-check { color: var(--naranja); font-weight: 700; flex-shrink: 0; }
.marca-cruz { color: rgba(247,243,236,0.5); font-weight: 700; flex-shrink: 0; }

#status h2 { margin: 14px 0 24px; text-wrap: balance; }
#status p { font-size: 17px; line-height: 1.65; color: var(--texto-suave); margin: 0 0 16px; }
.nota-caja { background: #fff; border: 1px solid rgba(28,27,25,0.08); border-radius: 20px; padding: 28px 32px; text-align: left; margin-top: 16px; }
.nota-caja p { font-size: 14px; line-height: 1.6; color: var(--texto-tenue); margin: 0; }
.nota-caja strong { color: var(--oscuro); }

#faq > .centrado { margin-bottom: 48px; }
.lista-faq { }
.faq-item { border-bottom: 1px solid rgba(28,27,25,0.1); }
.faq-pregunta {
  width: 100%; background: none; border: none; padding: 22px 0; display: flex; justify-content: space-between;
  align-items: center; text-align: left; cursor: pointer; font-family: "Public Sans", sans-serif;
}
.faq-pregunta span:first-child { font-size: 17px; font-weight: 700; color: var(--oscuro); padding-right: 20px; }
.faq-icono { font-size: 20px; color: var(--naranja); flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.abierto .faq-icono { transform: rotate(45deg); }
.faq-respuesta { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.faq-item.abierto .faq-respuesta { max-height: 320px; }
.faq-respuesta p { font-size: 15px; line-height: 1.65; color: var(--texto-suave); margin: 0 0 24px; }

.seccion-cierre { padding: 110px clamp(20px, 6vw, 80px) 60px; background: var(--oscuro); color: var(--crema); }
.seccion-cierre h2 { font-weight: 700; font-size: clamp(30px, 4.5vw, 52px); letter-spacing: -0.01em; margin: 14px 0 20px; text-wrap: balance; }
.seccion-cierre > .centrado > p { font-size: 17px; line-height: 1.6; color: rgba(247,243,236,0.75); margin: 0 0 40px; }
.cierre-botones { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 56px; }
.cierre-pie { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.cierre-pie-marca { font-weight: 700; font-size: 15px; }
.cierre-pie-legal { font-size: 13px; color: rgba(247,243,236,0.5); }

.reveal { opacity: 0; transform: translateY(30px) scale(0.97); transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

@media (max-width: 860px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-foto { height: 320px; }
  .nav-principal { display: none; }
}
