/* Home refinements. Keep the institutional navy, yellow and existing typefaces. */
.modern-theme { --home-navy: #101f40; --home-yellow: #ffcf32; }
.modern-theme .container { max-width: 1240px; }
.modern-theme .top-bar { background: var(--home-navy); padding: 7px 0; }
.modern-theme .navbar-main { background: #fff; backdrop-filter: none; box-shadow: none; border-bottom: 1px solid #e2e8f0; }
.modern-theme .nav-menu { gap: 22px; }
.modern-theme .nav-link { font-size: .85rem; }
.modern-theme .btn-actualizar { border-radius: 8px; background: var(--home-yellow); box-shadow: none; padding: 11px 16px !important; }
.modern-theme .btn-top-notas { background: var(--home-yellow); }
.modern-theme .modern-hero { background: var(--home-navy); padding: 64px 0 54px; }
.modern-theme .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 76px; align-items: center; }
.modern-theme .hero-title { font-size: clamp(2.65rem, 3.7vw, 3.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.13; margin-bottom: 24px; text-wrap: balance; }
.modern-theme .hero-title span { background: none; -webkit-text-fill-color: currentColor; color: var(--home-yellow); font-weight: 700; }
.modern-theme .hero-subtitle { font-size: 1rem; line-height: 1.8; color: #d6deed; max-width: 550px; margin-bottom: 18px; }
.hero-qualification { display: flex; align-items: center; gap: 10px; color: #f8df91; font-size: .85rem; margin-bottom: 28px; }
.modern-theme .hero-cta-group { gap: 12px; }
.modern-theme .btn-primary-hero, .modern-theme .btn-secondary-hero { border-radius: 8px; padding: 14px 19px; font-size: .84rem; box-shadow: none; backdrop-filter: none; min-height: 48px; justify-content: center; }
.modern-theme .btn-primary-hero { background: var(--home-yellow); }
.modern-theme .btn-secondary-hero { background: transparent; border-color: #75839f; }
.modern-theme .btn-primary-hero:hover { background: #ffdf70; transform: translateY(-2px); }
.modern-theme .btn-secondary-hero:hover { background: #243554; transform: translateY(-2px); }
.modern-theme .hero-stats { gap: 26px; padding-top: 22px; margin-top: 30px; }
.modern-theme .stat-item { display: flex; flex-direction: column; gap: 2px; }
.modern-theme .stat-item h4 { font-size: 1.2rem; font-weight: 600; }
.modern-theme .stat-item p { font-size: .72rem; color: #bfcbe0; }
.modern-theme .hero-img-card { border: 0; border-radius: 120px 12px 12px 12px; background: #e8d9bc; box-shadow: none; overflow: hidden; }
.modern-theme .hero-img-card img { height: 480px; object-fit: contain; object-position: center bottom; }
.modern-theme .hero-floating-badge { left: 18px; right: 18px; bottom: 18px; padding: 16px 18px; border-radius: 8px; animation: none; box-shadow: 0 8px 24px #101f4020; }
.modern-theme .floating-icon { flex-shrink: 0; color: #087c58; }
.modern-theme .trust-bar { padding: 28px 0; box-shadow: none; }
.modern-theme .trust-grid { gap: 28px; }
.modern-theme .trust-card { padding: 0; gap: 12px; align-items: flex-start; }
.modern-theme .trust-icon { width: 36px; height: 36px; background: transparent; border-radius: 0; font-size: 1.4rem; color: #244574; }
.modern-theme .trust-card h5 { font-size: .95rem; margin-bottom: 5px; }
.modern-theme .trust-card p { line-height: 1.6; font-size: .78rem; }
.modern-theme .section-header { max-width: 720px; text-align: left; margin: 0 0 34px; }
.modern-theme .section-title { font-weight: 600; font-size: 2.45rem; letter-spacing: -.025em; margin-bottom: 12px; text-wrap: balance; }
.modern-theme .section-desc { font-size: .98rem; line-height: 1.8; }
.modern-theme .section-programs { background: #f6f7f9; }
.modern-theme .programs-grid { gap: 26px; }
.modern-theme .program-card { border-radius: 12px; border: 1px solid #dce2ea; box-shadow: none; transition: border-color .2s ease, transform .2s ease; }
.modern-theme .program-card:hover { transform: translateY(-4px); border-color: #7e93ae; box-shadow: none; }
.modern-theme .program-img-wrapper { height: 244px; background: #edf0f4; }
.modern-theme .program-img-wrapper img { object-fit: contain; object-position: center bottom; }
.modern-theme .program-card:hover img { transform: none; }
.modern-theme .program-tag { top: 14px; left: 14px; right: auto; border-radius: 5px; backdrop-filter: none; background: var(--home-navy); font-size: .7rem; }
.modern-theme .program-content { padding: 24px; }
.modern-theme .program-title { font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; }
.modern-theme .program-meta { flex-wrap: wrap; gap: 8px 16px; font-size: .75rem; }
.modern-theme .program-excerpt { line-height: 1.75; font-size: .88rem; }
.modern-theme .program-actions { border-top: 1px solid #edf0f4; padding-top: 16px; }
.modern-theme .btn-program-details { min-height: 44px; }
.modern-theme .btn-program-wp { width: 44px; height: 44px; background: #e7f4ec; color: #13743c; box-shadow: none; border-radius: 8px; }
.modern-theme .section-certificaciones .programs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.modern-theme .section-certificaciones .program-img-wrapper { height: 280px; }
.modern-theme .section-cursos .programs-grid { grid-template-columns: 1fr !important; }
.modern-theme .section-cursos .program-card { display: grid; grid-template-columns: 1fr 1.3fr; border-top: 1px solid #dce2ea !important; }
.modern-theme .section-cursos .program-img-wrapper { height: 300px; }
.modern-theme .section-cursos .program-content { padding: 32px; }
.modern-theme .student-section .program-card { max-width: none !important; background: var(--home-navy) !important; border: 0; }
.modern-theme .student-section .program-card:hover { transform: none; }
.modern-theme .section-fast-contact { background: #eef2f7; color: var(--home-navy); padding: 80px 0; }
.modern-theme .fast-contact-text h2 { color: var(--home-navy); font-weight: 600; letter-spacing: -.025em; font-size: 2.8rem; max-width: 460px; text-wrap: balance; }
.modern-theme .fast-contact-text p { color: #475569; line-height: 1.8; }
.modern-theme .fast-contact-text > div > div > div { background: #dce5f1 !important; color: #244574 !important; }
.modern-theme .fast-contact-box { padding: 32px; border-radius: 12px; box-shadow: none; }
.modern-theme .fast-contact-box h3 { font-size: 1.5rem; font-weight: 600; }
.modern-theme .form-group label { display: block; margin-bottom: 7px; font-size: .8rem; font-weight: 700; color: #334155; }
.modern-theme .form-control { padding: 12px; font-size: .85rem; background: #fff; min-height: 48px; }
.modern-theme .form-control::placeholder { color: #64748b; }
.modern-theme .btn-submit-modern { background: var(--home-yellow); box-shadow: none; font-size: .9rem; }
.modern-theme .site-footer-custom { background: var(--home-navy); }
.modern-theme .footer-col { min-width: 0; }
.modern-theme .footer-logo { width: 70px !important; height: 58px !important; object-fit: contain; }
.modern-theme .col-contacto p { overflow-wrap: anywhere; }
.modern-theme .footer-bottom { color: #b6c3d8; }
.modern-theme .horarios h5 { color: #fff; margin-bottom: 8px; }
.modern-theme .floating-whatsapp { width: 54px; height: 54px; font-size: 28px; background: #13743c; box-shadow: 0 6px 20px #101f4026; }
.modern-theme .floating-whatsapp::before { display: none; }
.modern-theme a:focus-visible, .modern-theme button:focus-visible, .modern-theme input:focus-visible, .modern-theme select:focus-visible { outline: 3px solid #2982df; outline-offset: 4px; }
.modern-theme .has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.home-skip-link { position: absolute; top: -100px; left: 16px; z-index: 100001; padding: 12px 20px; background: #fff; color: #101f40; }
.home-skip-link:focus { top: 12px; }
.modern-theme section[id] { scroll-margin-top: 24px; }
@media (min-width: 992px) and (max-width: 1190px) {
  .modern-theme .nav-menu { gap: 12px; }
  .modern-theme .nav-link { font-size: .75rem; }
  .modern-theme .hero-grid { gap: 32px; }
}
@media (max-width: 991px) {
  .modern-theme .modern-hero { padding: 40px 0; }
  .modern-theme .hero-grid { text-align: left !important; gap: 32px !important; }
  .modern-theme .hero-title { max-width: 640px; font-size: 3rem !important; }
  .modern-theme .hero-subtitle { max-width: 640px; margin-left: 0 !important; }
  .modern-theme .hero-cta-group, .modern-theme .hero-stats { justify-content: flex-start !important; }
  .modern-theme .hero-visual { width: 100%; max-width: 560px; margin: 0 auto; }
  .modern-theme .hero-img-card img { height: 420px !important; }
  .modern-theme .nav-menu { visibility: hidden; pointer-events: none; }
  .modern-theme .nav-menu.active { visibility: visible; pointer-events: auto; }
  .modern-theme .dropdown-menu { min-width: 0 !important; }
}
@media (max-width: 768px) {
  .modern-theme .hero-title { font-size: clamp(2.25rem, 8.2vw, 3rem) !important; text-align: left !important; }
  .modern-theme .hero-subtitle, .modern-theme .section-title, .modern-theme .section-desc, .modern-theme .section-header, .modern-theme .program-title, .modern-theme .fast-contact-text h2, .modern-theme .fast-contact-box h3 { text-align: left !important; }
  .modern-theme .hero-subtitle { font-size: .95rem !important; }
  .modern-theme .hero-cta-group { flex-direction: column; align-items: stretch; }
  .modern-theme .hero-qualification { font-size: .78rem; }
  .modern-theme .hero-stats { flex-direction: row !important; gap: 22px !important; }
  .modern-theme .stat-item { border: 0 !important; padding: 0 !important; flex: 1; }
  .modern-theme .stat-item h4 { font-size: 1.2rem !important; text-align: left !important; }
  .modern-theme .stat-item p { font-size: .67rem !important; }
  .modern-theme .hero-img-card img { height: 340px !important; }
  .modern-theme .hero-floating-badge { left: 12px !important; right: 12px; bottom: 12px !important; gap: 10px; padding: 12px; }
  .modern-theme .hero-floating-badge span { font-size: .7rem !important; }
  .modern-theme .trust-grid { gap: 24px 14px !important; }
  .modern-theme .trust-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .modern-theme .trust-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; align-items: start !important; }
  .modern-theme .trust-card h5 { text-align: left !important; font-size: .9rem; }
  .modern-theme .section-programs, .modern-theme .section-certificaciones, .modern-theme .section-cursos { padding: 48px 0 !important; }
  .modern-theme .section-header { margin-bottom: 26px !important; padding: 0 !important; }
  .modern-theme .programs-grid { grid-template-columns: 1fr !important; }
  .modern-theme .program-img-wrapper { height: 260px !important; }
  .modern-theme .program-content { padding: 22px !important; }
  .modern-theme .section-cursos .program-card { display: flex; }
  .modern-theme .fast-contact-box { padding: 24px 20px !important; }
  .modern-theme .footer-grid { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .modern-theme *, .modern-theme *::before, .modern-theme *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.modern-theme .program-img-wrapper { height: 300px; background: #eaf0f6; padding: 16px 18px 0; }
.modern-theme .program-img-wrapper img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.modern-theme .program-tag { top: 14px; left: 14px; z-index: 1; }
.modern-theme .program-content { background: #fff; }
.modern-theme .student-section .program-content { background: transparent; }
.modern-theme .hero-img-card { background: #eaf0f6; border-radius: 16px; }
.modern-theme .hero-img-card img { height: 520px; padding: 18px 0 72px; object-fit: contain; }
.modern-theme .hero-floating-badge { bottom: 16px; }
.modern-theme .section-certificaciones .program-img-wrapper { height: 340px; }
.modern-theme .section-cursos .program-img-wrapper { height: 340px; }
.image-disclosure { color: #52627a; font-size: .76rem; text-align: center; margin: 20px 0 8px; }
.home-questions { padding: 64px 0; background: #f6f7f9; }
.home-questions h2 { font-size: 2.2rem; font-weight: 600; margin-bottom: 28px; letter-spacing: -.025em; }
.questions-grid { max-width: 900px; }
.home-questions details { border-bottom: 1px solid #d5dfeb; padding: 20px 0; }
.home-questions summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; color: #142746; }
.home-questions details p { margin-top: 14px; max-width: 70ch; line-height: 1.8; color: #475569; }
.home-questions a { color: #1555ad; text-decoration: underline; }
@media(max-width:768px) { .modern-theme .program-img-wrapper { height: 300px !important; } .home-questions { padding: 40px 0; } .home-questions h2 { text-align: left !important; font-size: 1.8rem; } }
