/* ORENA Flow — landing estática. Sin frameworks ni dependencias externas. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/inter-700.woff2") format("woff2");
}

:root {
  --background: #0a1428;
  --foreground: #ffffff;
  --panel: #0d1b33;
  --panel-deep: #081020;
  --primary: #1677ff;
  --primary-hover: #3d8bff;
  --whatsapp: #25d366;
  --whatsapp-hover: #1fb855;
  --secondary-text: #a8b3c7;
  --border: rgba(255, 255, 255, 0.08);
  --destructive: #ff6b6b;
  --radius-btn: 24px;
  --radius-card: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

::selection { background: var(--primary); color: #fff; }

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

/* ---------- HERO ---------- */
.hero {
  padding: 64px 20px;
  background:
    radial-gradient(60rem 32rem at 85% -10%, rgba(22, 119, 255, 0.16), transparent 60%),
    radial-gradient(48rem 28rem at 0% 110%, rgba(22, 119, 255, 0.08), transparent 55%),
    var(--background);
}
.hero-inner { max-width: 768px; margin: 0 auto; text-align: center; }
.hero-logo { height: 64px; width: auto; margin: 0 auto; }
.hero h1 {
  margin-top: 20px;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.hero-sub {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--secondary-text);
}
.hero-desc {
  max-width: 576px;
  margin: 20px auto 0;
  font-size: 16px;
  line-height: 1.625;
  color: var(--secondary-text);
}
.hero-cta { margin-top: 36px; }
.hero-micro { margin-top: 16px; font-size: 14px; color: var(--secondary-text); }

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--primary-hover); }
.btn-block { width: 100%; }

/* ---------- SECCIONES ---------- */
.section { padding: 64px 20px; }
.section-panel { background: var(--panel); }
.wrap-narrow { max-width: 768px; margin: 0 auto; }
.wrap-wide { max-width: 1024px; margin: 0 auto; }
.wrap-form { max-width: 576px; margin: 0 auto; }

/* ---------- TARJETAS ---------- */
.card {
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--panel);
}
.benefit-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.benefit-card { padding: 24px; }
.benefit-card h3 { font-size: 18px; font-weight: 600; }
.benefit-card p { margin-top: 8px; font-size: 14px; line-height: 1.625; color: var(--secondary-text); }

/* ---------- PASOS ---------- */
.steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; align-items: flex-start; gap: 16px; padding: 20px; }
.step-num {
  margin-top: 2px;
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(22, 119, 255, 0.15);
  color: var(--primary);
  font-size: 14px; font-weight: 700;
}
.step h3 { font-weight: 600; }
.step p { margin-top: 4px; font-size: 14px; color: var(--secondary-text); }

/* ---------- AGENTE ---------- */
.section-title {
  font-size: 24px; font-weight: 700; letter-spacing: -0.025em;
}
.agent-lead { margin-top: 16px; color: var(--secondary-text); }
.agent-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.agent-list li { display: flex; align-items: flex-start; gap: 12px; padding: 16px; }
.agent-dot {
  margin-top: 8px; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--primary);
}
.agent-list span:last-child { font-size: 14px; line-height: 1.625; }
.brand-quote {
  margin-top: 40px; text-align: center;
  font-size: 20px; font-weight: 600; letter-spacing: -0.025em;
}

/* ---------- FORMULARIO ---------- */
.form-section { scroll-margin-top: 24px; }
.form-card {
  padding: 24px;
  background:
    radial-gradient(48rem 26rem at 100% 0%, rgba(22, 119, 255, 0.1), transparent 60%),
    var(--panel);
}
.form-card h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; }
.form-lead { margin-top: 8px; font-size: 14px; color: var(--secondary-text); }
.form-card form { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.field label .opt { font-weight: 400; color: var(--secondary-text); }
.field input,
.field textarea {
  width: 100%;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(168, 179, 199, 0.6); }
.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.4);
}
.field-error { margin-top: 6px; font-size: 14px; color: var(--destructive); }
.privacy-note { text-align: center; font-size: 12px; color: var(--secondary-text); }
.privacy-note a { color: inherit; text-decoration: underline; transition: color 0.15s ease; }
.privacy-note a:hover { color: var(--primary-hover); }
.form-thanks { padding: 24px 0; text-align: center; }
.form-thanks h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; }
.form-thanks p { margin-top: 12px; color: var(--secondary-text); }

/* ---------- PRIVACIDAD ---------- */
.privacy-body h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; }
.privacy-body .prose { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; font-size: 14px; line-height: 1.625; color: var(--secondary-text); }
.privacy-body .prose a { color: inherit; text-decoration: underline; }
.privacy-body .prose a:hover { color: var(--primary-hover); }

/* ---------- FOOTER ---------- */
.footer { background: var(--panel-deep); padding: 48px 20px 128px; }
.footer-inner { max-width: 768px; margin: 0 auto; text-align: center; }
.footer-logo { height: 32px; width: auto; margin: 0 auto; }
.footer-links {
  margin-top: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 14px;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  font-size: 16px; font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); }
.btn-whatsapp svg { width: 24px; height: 24px; flex-shrink: 0; }
.footer-links .site-link { color: inherit; text-decoration: none; transition: color 0.15s ease; }
.footer-links .site-link:hover { color: var(--primary-hover); }
.footer-fine { margin-top: 16px; font-size: 14px; color: var(--secondary-text); }
.footer-copy { margin-top: 8px; font-size: 14px; color: var(--secondary-text); }

/* ---------- BARRA CTA FIJA (solo móvil) ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  border-top: 1px solid var(--border);
  background: rgba(10, 20, 40, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
}

/* ---------- ESCRITORIO (≥640px) ---------- */
@media (min-width: 640px) {
  .hero { padding-top: 96px; padding-bottom: 96px; }
  .hero-logo { height: 72px; }
  .hero h1 { font-size: 60px; }
  .hero-sub { font-size: 20px; }
  .hero-desc { font-size: 18px; }
  .hero-cta .btn { width: auto; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-card { padding: 28px; }
  .section-title { font-size: 30px; }
  .agent-list span:last-child { font-size: 16px; }
  .brand-quote { font-size: 24px; }
  .form-card { padding: 32px; }
  .form-card h2, .form-thanks h2, .privacy-body h2 { font-size: 30px; }
  .form-lead { font-size: 16px; }
  .privacy-body .prose { font-size: 16px; }
  .footer { padding-bottom: 48px; }
  .footer-links { flex-direction: row; justify-content: center; gap: 24px; }
  .mobile-cta { display: none; }
}
