/* ===== MUME Landing — identidad corporativa (del logo oficial) ===== */
:root {
  --navy: #1D355F;
  --navy-dark: #16254A;
  --navy-soft: #7C89AD;
  --magenta: #CF0780;
  --magenta-light: #EE7EC0;
  --tint: #F2F4F8;
  --tint2: #E7ECF5;
  --text: #2A2A2A;
  --muted: #6E6E6E;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(22, 37, 74, 0.12);
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text); line-height: 1.6; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--magenta); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
h1, h2, h3 { font-family: var(--font-serif); color: var(--navy); line-height: 1.25; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 16px; }
.section-kicker { color: var(--magenta); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 8px; }
.section-sub { color: var(--muted); max-width: 720px; margin-bottom: 40px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 12px rgba(22,37,74,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.site-header img { height: 44px; width: auto; }
.header-cta { display: flex; gap: 12px; align-items: center; }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 1rem; border: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--magenta); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 12px 26px; }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* ===== Hero ===== */
.hero { background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 70%); color: var(--white); padding: 88px 0; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 20px; }
.hero .claim { color: var(--magenta-light); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.85rem; margin-bottom: 16px; }
.hero p.lead { color: #D9E0F0; font-size: 1.15rem; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-video { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.hero-video video { width: 100%; display: block; }
.hero-note { font-size: 0.85rem; color: var(--navy-soft); margin-top: 14px; }

/* ===== Stats bar ===== */
.stats { background: var(--white); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -44px; position: relative; z-index: 2; }
.stat-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; padding: 28px 16px; }
.stat-card .num { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; color: var(--magenta); }
.stat-card .label { color: var(--muted); font-size: 0.9rem; }

/* ===== Cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { background: var(--tint); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text); font-size: 0.95rem; }
.card .icon { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; margin-bottom: 16px; }

/* ===== Profesorado ===== */
.prof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; max-width: 760px; margin: 0 auto; }
.prof-card { text-align: center; background: var(--tint); border-radius: var(--radius); padding: 36px 28px; }
.prof-card img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 4px solid var(--white); box-shadow: var(--shadow); }
.prof-card h3 { margin-bottom: 4px; }
.prof-card .rol { color: var(--magenta); font-weight: 600; font-size: 0.95rem; }
.prof-card p { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }

/* ===== Testimonios ===== */
.testimonios { background: var(--navy-dark); color: var(--white); }
.testimonios h2, .testimonios .section-kicker + h2 { color: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testi-card { background: rgba(255,255,255,0.06); border-radius: var(--radius); padding: 28px; border: 1px solid rgba(255,255,255,0.12); }
.testi-card blockquote { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: #D9E0F0; margin-bottom: 16px; }
.testi-card .autor { color: var(--magenta-light); font-weight: 600; font-size: 0.9rem; }
.testi-video { margin-top: 40px; border-radius: var(--radius); overflow: hidden; max-width: 720px; margin-left: auto; margin-right: auto; }
.testi-video video { width: 100%; display: block; }

/* ===== Proceso ===== */
.pasos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.paso { text-align: center; padding: 24px; }
.paso .n { width: 56px; height: 56px; border-radius: 50%; background: var(--magenta); color: var(--white); font-weight: 700; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }

/* ===== FAQ ===== */
.faq details { background: var(--tint); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 12px; }
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; }
.faq details p { margin-top: 12px; color: var(--text); }

/* ===== Form ===== */
.form-section { background: var(--tint2); }
.form-wrap { max-width: 640px; margin: 0 auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.88rem; color: var(--navy); display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #D5DCEA; border-radius: 8px; font-family: inherit; font-size: 1rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--magenta); }
.rgpd { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--muted); }
.rgpd input { width: auto; margin-top: 3px; }
.form-msg { margin-top: 16px; font-weight: 600; display: none; }
.form-msg.ok { color: #1a7f37; display: block; }
.form-msg.error { color: #c0392b; display: block; }

/* ===== WhatsApp flotante ===== */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.wa-float svg { width: 32px; height: 32px; fill: var(--white); }

/* ===== Urgencia ===== */
.urgencia-bar { background: var(--magenta); color: var(--white); text-align: center; padding: 10px 16px; font-weight: 600; font-size: 0.95rem; }
.urgencia-bar a { color: var(--white); text-decoration: underline; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: var(--navy-soft); padding: 48px 0 32px; font-size: 0.9rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-logos { background: var(--white); border-radius: 10px; padding: 12px 18px; display: flex; gap: 20px; align-items: center; }
.footer-logos img { height: 34px; width: auto; }
.site-footer a { color: #D9E0F0; }

/* ===== Encuesta ===== */
.quiz-wrap { max-width: 640px; margin: 0 auto; }
.quiz-q { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; margin-bottom: 20px; }
.quiz-q h3 { margin-bottom: 16px; }
.quiz-opt { display: block; background: var(--tint); border: 2px solid transparent; border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; cursor: pointer; transition: border-color .15s; }
.quiz-opt:hover { border-color: var(--magenta-light); }
.quiz-opt.selected { border-color: var(--magenta); background: #FDF0F7; }
.quiz-result { text-align: center; padding: 40px; background: var(--navy-dark); border-radius: var(--radius); color: var(--white); }
.quiz-result h3 { color: var(--magenta-light); font-size: 1.6rem; margin-bottom: 16px; }

/* ===== Admin (CRM) ===== */
.admin-body { background: var(--tint); min-height: 100vh; }
.admin-top { background: var(--navy-dark); color: var(--white); padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; }
.admin-top img { height: 36px; background: var(--white); border-radius: 6px; padding: 4px 8px; }
.admin-main { padding: 24px; max-width: 1400px; margin: 0 auto; }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 24px; }
.kpi { background: var(--white); border-radius: 10px; padding: 16px; text-align: center; box-shadow: 0 2px 8px rgba(22,37,74,.07); }
.kpi .v { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.kpi .l { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.crm-toolbar { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.crm-toolbar input, .crm-toolbar select { max-width: 240px; }
.crm-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(22,37,74,.07); font-size: 0.9rem; }
.crm-table th { background: var(--navy); color: var(--white); text-align: left; padding: 12px 14px; }
.crm-table td { padding: 10px 14px; border-bottom: 1px solid var(--tint2); vertical-align: top; }
.crm-table tr:hover td { background: var(--tint); }
.estado-select { padding: 6px 8px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; }
.estado-nuevo { background: #FDF0F7; color: var(--magenta); }
.estado-contactado { background: #FFF6E5; color: #9A6700; }
.estado-cualificado { background: #E8F0FE; color: var(--navy); }
.estado-entrevista { background: #EDE7F6; color: #5E35B1; }
.estado-reserva { background: #E6F4EA; color: #1a7f37; }
.estado-matriculado { background: #1a7f37; color: #fff; }
.estado-descartado { background: #ECEFF1; color: #607D8B; }
.lead-links a { margin-right: 8px; text-decoration: none; font-size: 1.1rem; }
.notas-input { width: 100%; min-height: 40px; font-size: 0.85rem; }
.login-card { max-width: 400px; margin: 10vh auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }
.login-card img { height: 48px; margin: 0 auto 24px; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .header-cta .btn-outline { display: none; }
}
