/* DIABYUDA — landing estática v3. Estilo minimalista tipo Apple.
   Color de marca: rosa #FC2F62 (muestreado del logo oficial). Sin dependencias externas. */

:root {
  --texto: #1d1d1f;
  --gris: #6e6e73;
  --fondo: #ffffff;
  --fondo-alt: #f5f5f7;
  --borde: #e8e8ed;
  --rosa: #fc2f62;
  --rosa-oscuro: #e01e4f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--texto);
  background: var(--fondo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Cabecera ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--borde);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
}

.brand { display: flex; align-items: center; }

.brand-logo { height: 26px; width: auto; display: block; mix-blend-mode: multiply; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--texto);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}

.site-nav a:hover { color: var(--rosa); }

.site-nav .nav-login {
  color: var(--rosa);
  border: 1.5px solid var(--rosa);
  padding: 6px 15px;
  border-radius: 980px;
  font-weight: 500;
}

.site-nav .nav-login:hover { background: var(--rosa); color: #fff; }

.site-nav .nav-cta {
  color: #fff;
  background: var(--rosa);
  padding: 7px 16px;
  border-radius: 980px;
  font-weight: 500;
}

.site-nav .nav-cta:hover { background: var(--rosa-oscuro); color: #fff; }

/* ---------- Hero ---------- */

.hero {
  padding: 110px 0 120px;
  text-align: center;
}

.hero-mark {
  display: block;
  margin: 0 auto 34px;
  width: 72px;
  height: auto;
  mix-blend-mode: multiply;
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin-bottom: 26px;
}

.hero-sub {
  max-width: 680px;
  margin: 0 auto 14px;
  font-size: 1.18rem;
  color: var(--gris);
  line-height: 1.5;
}

.hero-decide {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-status {
  margin-top: 44px;
  font-size: 0.85rem;
  color: var(--gris);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Botones y enlaces ---------- */

.btn {
  display: inline-block;
  background: var(--rosa);
  color: #fff;
  padding: 13px 30px;
  border-radius: 980px;
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--rosa-oscuro); }

.btn-lg { padding: 16px 36px; font-size: 1.08rem; }

.link-arrow {
  color: var(--rosa);
  text-decoration: none;
  font-size: 1.02rem;
}

.link-arrow:hover { text-decoration: underline; }

.link-arrow span { margin-left: 2px; }

/* ---------- Secciones ---------- */

.section { padding: 110px 0; }

.section-alt { background: var(--fondo-alt); }

.section h2 {
  font-size: clamp(1.8rem, 4.4vw, 2.9rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.section-lead {
  max-width: 640px;
  font-size: 1.15rem;
  color: var(--gris);
  line-height: 1.55;
  margin-bottom: 48px;
}

.section-lead strong { color: var(--texto); }

.section-lead.centered { margin-left: auto; margin-right: auto; }

/* ---------- Tarjetas ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  background: var(--fondo);
  border-radius: 18px;
  padding: 34px 30px;
}

.card-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  stroke: var(--rosa);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.card p { color: var(--gris); font-size: 0.98rem; line-height: 1.55; }

/* ---------- Pasos ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 44px;
  margin-top: 56px;
}

.step-num {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rosa);
  margin-bottom: 12px;
  line-height: 1;
}

.step h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step p { color: var(--gris); font-size: 0.98rem; line-height: 1.55; }

/* ---------- Preview del informe de ejemplo ---------- */

.demo-cta {
  margin-top: 64px;
  text-align: center;
}

.demo-preview {
  display: block;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(28, 43, 54, 0.14);
  border: 1px solid var(--borde);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.demo-preview:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(28, 43, 54, 0.2);
}

/* El iframe se renderiza a tamaño real y se escala para caber como miniatura */
.demo-frame {
  height: 440px;
  overflow: hidden;
  pointer-events: none;
}

.demo-frame iframe {
  width: 1180px;
  height: 1450px;
  border: 0;
  transform: scale(0.644);
  transform-origin: top left;
  pointer-events: none;
}

.demo-preview-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.96) 70%);
  color: var(--rosa-oscuro);
  font-weight: 600;
  font-size: 1.02rem;
}

.demo-nota {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--gris);
  font-style: italic;
}

@media (max-width: 640px) {
  .demo-frame { height: 320px; }
  .demo-frame iframe { transform: scale(0.3); }
}

/* ---------- Para quién es ---------- */

.audiencia {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.audiencia li {
  background: var(--fondo);
  border-radius: 18px;
  padding: 28px 24px;
}

.audiencia h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.audiencia p { color: var(--gris); font-size: 0.98rem; line-height: 1.55; }

/* ---------- Aviso regulatorio ---------- */

.notice {
  background: var(--fondo);
  border-left: 4px solid var(--rosa);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 48px;
  max-width: 720px;
}

.notice p { color: var(--texto); font-size: 1.02rem; line-height: 1.55; }

/* ---------- Contacto ---------- */

.section-contact { text-align: center; padding: 130px 0; }

.section-contact h2 { margin-bottom: 18px; }

.section-contact .section-lead { margin-bottom: 36px; }

/* ---------- Pie ---------- */

.site-footer {
  background: var(--fondo-alt);
  border-top: 1px solid var(--borde);
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer p { color: var(--gris); font-size: 0.82rem; }

/* ---------- Móvil ---------- */

@media (max-width: 640px) {
  .header-inner { height: auto; padding: 10px 0; flex-direction: column; gap: 10px; }
  .hero { padding: 70px 0 80px; }
  .section { padding: 72px 0; }
  .section-contact { padding: 90px 0; }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
}
