:root {
  --azul-principal: #3B5474;
  --naranja: #F59D2C;
  --amarillo: #F6CA2F;
  --crema: #F5F1AB;
  --rojo: #E65430;
  --azul-verdoso: #488791;
  --celeste: #98C6CD;
  --blanco: #ffffff;
  --gris-texto: #3d4652;
  --gris-suave: #f7f8fa;
  --sombra: 0 18px 45px rgba(59, 84, 116, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--gris-texto);
  background: var(--blanco);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.container { width: min(1120px, 92%); margin: 0 auto; }

.header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(59, 84, 116, 0.12);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}
.nav {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { width: 230px; display: block; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a {
  color: var(--azul-principal);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.94rem;
}
.nav-links a:hover { color: var(--rojo); }
.nav-button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: 900;
  border-radius: 999px;
  padding: 14px 22px;
  min-height: 48px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.nav-button,
.primary {
  background: var(--naranja);
  color: var(--blanco);
  box-shadow: 0 14px 28px rgba(245, 157, 44, 0.28);
}
.nav-button:hover,
.primary:hover {
  background: var(--rojo);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(230, 84, 48, 0.28);
}
.secondary {
  color: var(--azul-principal);
  border: 2px solid rgba(59, 84, 116, 0.22);
  background: var(--blanco);
}
.secondary:hover {
  border-color: var(--naranja);
  transform: translateY(-2px);
}
.large { padding: 17px 30px; font-size: 1.05rem; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(152, 198, 205, 0.45), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fbfc 48%, rgba(245, 241, 171, 0.28) 100%);
  padding: 108px 0 116px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  background: linear-gradient(135deg, var(--naranja), var(--rojo), var(--azul-verdoso));
  opacity: 0.12;
  transform: rotate(18deg);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 16% 82%, 0% 24%);
}
.hero-content { position: relative; z-index: 2; max-width: 920px; }
.eyebrow {
  display: inline-block;
  color: var(--rojo);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
h1 {
  color: var(--azul-principal);
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 980px;
  margin-bottom: 24px;
}
.hero-text {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 760px;
  color: #4b5867;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  max-width: 980px;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  background: rgba(59, 84, 116, 0.08);
  color: var(--azul-principal);
  border: 1px solid rgba(59, 84, 116, 0.14);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.94rem;
}

.section { padding: 84px 0; }
.section h2 {
  color: var(--azul-principal);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.section p { font-size: 1.08rem; max-width: 840px; }
.section-lead { color: #4b5867; margin-bottom: 34px; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-column p + p { margin-top: 18px; }

.problem-section,
.problem-differentiator-section {
  background: var(--azul-principal);
  color: var(--blanco);
}
.problem-section h2,
.problem-differentiator-section h2 { color: var(--blanco); }
.problem-section .eyebrow,
.problem-differentiator-section .eyebrow { color: var(--crema); }
.problem-section p { color: rgba(255, 255, 255, 0.88); }

.diagnostic-value-section,
.audience-section,
.faq-section {
  background:
    radial-gradient(circle at top left, rgba(245, 157, 44, 0.15), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, rgba(245, 241, 171, 0.22) 100%);
}
.value-grid,
.audience-grid,
.proof-grid,
.products-grid,
.faq-grid {
  display: grid;
  gap: 22px;
}
.value-grid { grid-template-columns: repeat(3, 1fr); margin: 34px 0; }
.value-card,
.audience-card,
.proof-card,
.product-card,
.diagnostic-box,
details {
  background: var(--blanco);
  border: 1px solid rgba(59, 84, 116, 0.12);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--sombra);
}
.value-card h3,
.audience-card h3,
.product-card h3,
details summary {
  color: var(--azul-principal);
  font-size: 1.18rem;
  line-height: 1.22;
  margin-bottom: 12px;
}
.value-card p,
.audience-card p,
.product-card p,
details p { font-size: 0.98rem; color: #536171; }
.diagnostic-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 0 0 30px;
}
.diagnostic-highlight div {
  background: var(--azul-principal);
  color: var(--blanco);
  border-radius: 18px;
  padding: 18px;
  font-weight: 700;
}
.diagnostic-highlight strong { color: var(--crema); }

.audience-grid { grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.audience-card { border-left: 6px solid var(--naranja); }
.process-section,
.products-section { background: var(--gris-suave); }
.process-flow {
  max-width: 920px;
  display: grid;
  gap: 18px;
  margin-top: 34px;
}
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}
.process-step > span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--azul-principal);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(59, 84, 116, 0.22);
}
.process-step > div {
  background: var(--blanco);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 12px 28px rgba(59, 84, 116, 0.10);
  border: 1px solid rgba(59, 84, 116, 0.10);
}
.process-step h3 { color: var(--azul-principal); margin-bottom: 6px; }
.process-step p { font-size: 1rem; color: #536171; }

.proof-section {
  background:
    radial-gradient(circle at top right, rgba(152, 198, 205, 0.30), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, rgba(245, 241, 171, 0.18) 100%);
}
.proof-grid { grid-template-columns: repeat(3, 1fr); margin: 34px 0 24px; }
.proof-card strong {
  display: block;
  color: var(--rojo);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin-bottom: 10px;
}
.proof-card span { display: block; color: #536171; font-weight: 700; }
.proof-note { color: #4b5867; font-weight: 700; }

.products-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; margin-top: 34px; }
.product-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.product-label {
  display: inline-flex;
  width: fit-content;
  background: rgba(245, 157, 44, 0.16);
  color: var(--rojo);
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: 999px;
}
.product-price {
  background: rgba(59, 84, 116, 0.06);
  border-radius: 18px;
  padding: 16px;
}
.product-price strong { display: block; color: var(--azul-principal); font-size: 1.35rem; }
.product-price span { color: #536171; font-weight: 700; }
.product-card ul { list-style: none; display: grid; gap: 10px; }
.product-card li {
  position: relative;
  padding: 12px 14px 12px 36px;
  background: rgba(59, 84, 116, 0.06);
  border-radius: 12px;
  color: var(--azul-principal);
  font-weight: 700;
}
.product-card li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--naranja);
  font-weight: 900;
}
.product-card .button { width: 100%; margin-top: auto; }
.premium-product {
  background:
    radial-gradient(circle at top right, rgba(245, 157, 44, 0.22), transparent 36%),
    linear-gradient(135deg, var(--azul-principal) 0%, #24364d 100%);
  color: var(--blanco);
  border: 2px solid rgba(245, 157, 44, 0.62);
  transform: translateY(-10px);
}
.premium-product h3,
.premium-product p,
.premium-product .product-price strong,
.premium-product .product-price span,
.premium-product li { color: var(--blanco); }
.premium-product p { opacity: 0.92; }
.premium-product .product-price,
.premium-product li { background: rgba(255, 255, 255, 0.12); }
.premium-label { background: var(--naranja); color: var(--blanco); }

.faq-grid { grid-template-columns: repeat(2, 1fr); margin-top: 34px; }
details { padding: 22px 24px; }
details summary { cursor: pointer; font-weight: 900; margin-bottom: 0; }
details[open] summary { margin-bottom: 12px; }

.diagnostic-form-section {
  background:
    radial-gradient(circle at top right, rgba(152, 198, 205, 0.35), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, rgba(245, 241, 171, 0.24) 100%);
}
.diagnostic-intro { margin-bottom: 32px; color: #4b5867; }
.diagnostic-box { max-width: 900px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  color: var(--azul-principal);
  font-weight: 900;
  margin-bottom: 10px;
  font-size: 1.02rem;
}
.form-group select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid rgba(59, 84, 116, 0.22);
  background: var(--gris-suave);
  color: var(--gris-texto);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  outline: none;
}
.form-group select:focus {
  border-color: var(--naranja);
  box-shadow: 0 0 0 4px rgba(245, 157, 44, 0.18);
}
.diagnostic-whatsapp { width: 100%; max-width: 520px; margin: 14px auto 0; text-align: center; }
.diagnostic-note { margin-top: 18px; color: #536171; font-size: 0.95rem; font-weight: 700; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  background: var(--naranja);
  color: var(--blanco);
  text-decoration: none;
  font-weight: 900;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(59, 84, 116, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.whatsapp-float:hover { background: var(--rojo); transform: translateY(-2px); }
.footer { background: #24364d; color: var(--blanco); padding: 28px 0; }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--crema); text-decoration: none; font-weight: 800; }
.footer a:hover { color: var(--amarillo); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .two-column,
  .value-grid,
  .audience-grid,
  .proof-grid,
  .products-grid,
  .faq-grid,
  .diagnostic-highlight { grid-template-columns: 1fr; }
  .premium-product { transform: none; }
}
@media (max-width: 640px) {
  .nav { min-height: 76px; }
  .logo-img { width: 178px; }
  .nav-button { display: none; }
  .hero { padding: 72px 0 82px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; text-align: center; }
  .section { padding: 66px 0; }
  .value-card,
  .audience-card,
  .proof-card,
  .product-card,
  .diagnostic-box,
  details { padding: 22px 18px; border-radius: 22px; }
  .process-step { grid-template-columns: 46px 1fr; gap: 14px; }
  .process-step > span { width: 46px; height: 46px; }
  .process-step > div { padding: 18px; }
  .form-group select { font-size: 0.96rem; }
  .diagnostic-whatsapp { max-width: 100%; white-space: normal; line-height: 1.25; }
  .whatsapp-float { right: 16px; bottom: 16px; padding: 12px 16px; font-size: 0.86rem; }
  .footer .container { align-items: flex-start; flex-direction: column; }
}
/* BOTONES DEL ENCABEZADO */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-aula-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--azul-principal);
  color: var(--blanco) !important;
  padding: 14px 22px;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(59, 84, 116, 0.35);
  box-shadow: 0 10px 22px rgba(59, 84, 116, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-aula-button:hover {
  background: #24364d;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(59, 84, 116, 0.30);
}

@media (max-width: 980px) {
  .nav {
    gap: 16px;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-aula-button {
    padding: 12px 18px;
  }
}

@media (max-width: 640px) {
  .nav {
    justify-content: space-between;
  }

  .nav-button {
    display: none;
  }

  .nav-aula-button {
    padding: 10px 14px;
    min-height: 44px;
    font-size: 0.86rem;
  }
}