:root {
  --ink: #102a43;
  --navy: #0b2545;
  --blue: #1a56db;
  --teal: #00a896;
  --cyan: #d8f7f2;
  --paper: #f7f9fc;
  --white: #ffffff;
  --muted: #5f7184;
  --line: #dce5ee;
  --shadow: 0 18px 50px rgba(16,42,67,.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Manrope, system-ui, sans-serif; line-height: 1.6; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.demo-bar { padding: .45rem 1rem; background: #ffc857; color: #442f00; font-size: .82rem; font-weight: 800; text-align: center; letter-spacing: .02em; }
.site-header { min-height: 76px; padding: 0 clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(220,229,238,.8); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; letter-spacing: -.02em; }
.brand-logo { width: clamp(190px, 18vw, 238px); height: auto; display: block; }
.brand-mark { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #6038ff 0%, var(--blue) 48%, #00c6a7 100%); border-radius: 16px 5px 16px 5px; box-shadow: 0 8px 22px rgba(26,86,219,.25); transform: rotate(-2deg); }
.brand-mark::after { content: ""; position: absolute; width: 30px; height: 70px; right: -18px; top: -10px; background: rgba(255,255,255,.17); transform: rotate(24deg); }
.brand-mark > span { position: relative; z-index: 1; color: #fff; font-size: 1.25rem; font-weight: 950; line-height: 1; letter-spacing: -.12em; }
.brand-mark > span:last-child { margin-left: -.08em; color: #9dffdb; }
.brand-type { display: flex; flex-direction: column; line-height: 1; }
.brand-type strong { color: var(--navy); font-size: 1.35rem; font-weight: 900; letter-spacing: -.055em; }
.brand-type small { margin-top: .3rem; color: var(--muted); font-size: .52rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-header nav, footer nav { display: flex; align-items: center; gap: 1.7rem; }
.site-header nav a { text-decoration: none; font-weight: 650; font-size: .9rem; }
.site-header nav a:not(.nav-cta):hover { color: var(--blue); }
.nav-phone { padding-left: 1.35rem; position: relative; color: var(--blue); white-space: nowrap; }
.nav-phone::before { content: ""; width: .65rem; height: .65rem; position: absolute; left: .25rem; top: 50%; border: 2px solid currentColor; border-top-color: transparent; border-right-color: transparent; border-radius: 2px 2px 7px 2px; transform: translateY(-55%) rotate(-35deg); }
.campus-link { padding: .55rem .85rem; border: 1px solid #b9dfdc; border-radius: 9px; color: #08786c; background: #effbf8; white-space: nowrap; }
.nav-cta { padding: .65rem 1rem; border-radius: 10px; background: var(--navy); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); padding: .5rem .8rem; border-radius: 8px; }
.hero { min-height: 680px; padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 6vw, 6.5rem); display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; background: radial-gradient(circle at 80% 5%, #e3fbf6, transparent 30%), linear-gradient(145deg,#fff 0%,#f6faff 70%); }
.eyebrow { margin: 0 0 .8rem; color: var(--blue); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
h1, h2 { margin: 0; color: var(--navy); font-family: "Source Serif 4", Georgia, serif; line-height: 1.05; letter-spacing: -.035em; }
h1 { max-width: 720px; font-size: clamp(3rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2.25rem, 4vw, 3.7rem); }
.hero-lead { max-width: 650px; margin: 1.6rem 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero-brand-logo { width: min(360px, 78%); height: auto; display: block; margin: 0 0 1.5rem; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin: 2rem 0 2.7rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: .8rem 1.4rem; border: 0; border-radius: 10px; text-decoration: none; font-weight: 800; cursor: pointer; }
.primary { background: var(--blue); color: #fff; box-shadow: 0 10px 25px rgba(26,86,219,.24); }
.primary:hover { background: #1047bd; transform: translateY(-1px); }
.campus-button { color: var(--navy); background: #fff; border: 1px solid #b9cbe0; }
.campus-button:hover { color: #fff; background: var(--navy); }
.text-link { font-weight: 800; text-decoration: none; }
.hero-facts { display: flex; gap: clamp(1.1rem, 4vw, 3rem); margin: 0; }
.hero-facts div { padding-left: 1rem; border-left: 2px solid var(--teal); }
.hero-facts dt { font-weight: 800; }
.hero-facts dd { margin: 0; color: var(--muted); font-size: .82rem; }
.tutored-training { max-width: 650px; padding: 1.15rem 1.3rem; border: 1px solid #b9dfdc; border-left: 5px solid var(--teal); border-radius: 14px; background: rgba(255,255,255,.86); box-shadow: 0 12px 35px rgba(16,42,67,.07); }
.tutored-training strong { display: block; color: var(--navy); font-size: 1.05rem; }
.tutored-training p { margin: .35rem 0 0; color: var(--muted); font-size: .94rem; }
.bonus-training { max-width: 650px; margin-top: .85rem; padding: 1.15rem 1.3rem; border: 1px solid #b9cbe0; border-left: 5px solid var(--blue); border-radius: 14px; background: rgba(255,255,255,.9); box-shadow: 0 12px 35px rgba(16,42,67,.07); }
.bonus-training strong { display: block; color: var(--navy); font-size: 1.05rem; }
.bonus-training p { margin: .35rem 0 0; color: var(--muted); font-size: .94rem; }
.hero-visual { position: relative; min-height: 520px; }
.hero-image-placeholder { height: 100%; min-height: 520px; display: flex; align-items: flex-end; padding: 2rem; overflow: hidden; border-radius: 70px 12px 70px 12px; background: linear-gradient(145deg, rgba(11,37,69,.12), rgba(0,168,150,.2)), radial-gradient(circle at 25% 25%, #55d6c5 0 12%, transparent 13%), radial-gradient(circle at 70% 50%, #3379e4 0 18%, transparent 19%), linear-gradient(145deg,#0b2545,#153d6b); box-shadow: var(--shadow); color: #fff; }
.hero-image-placeholder span { max-width: 290px; font-family: "Source Serif 4", Georgia, serif; font-size: 2.2rem; line-height: 1.05; }
.hero-visual.has-image .hero-image-placeholder { background-image: linear-gradient(90deg, rgba(11,37,69,.38), rgba(11,37,69,.03)), url('equipo-formacion.png'); background-size: cover; background-position: center; }
.hero-visual.has-image .hero-image-placeholder span { display: none; }
.floating-card { position: absolute; left: -2rem; bottom: 2rem; display: flex; align-items: center; gap: .8rem; padding: 1rem 1.25rem; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.floating-card small { display: block; color: var(--muted); }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 6px rgba(0,168,150,.15); }
.catalog, .business { padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 6vw, 6.5rem); }
.section-heading { margin-bottom: 2.5rem; }
.section-heading > p { max-width: 550px; margin: 0; color: var(--muted); }
.catalog-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 0 0 1.7rem; }
.catalog-tab { min-height: 82px; padding: 1rem 1.15rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border: 1px solid var(--line); border-radius: 16px; color: var(--navy); background: #fff; cursor: pointer; text-align: left; }
.catalog-tab strong { font-size: 1rem; }
.catalog-tab:hover, .catalog-tab.active { color: #fff; background: linear-gradient(135deg, var(--blue), #087d73); border-color: transparent; box-shadow: 0 12px 28px rgba(26,86,219,.17); }
.catalog-tab.demanded { color: #5b3900; background: linear-gradient(135deg, #fff8df, #ffe4a0); border-color: #f0b62f; }
.catalog-tab.demanded:hover, .catalog-tab.demanded.active { color: #fff; background: linear-gradient(135deg, #f29f05, #e15a24); border-color: transparent; box-shadow: 0 12px 28px rgba(225,90,36,.24); }
.filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter { padding: .62rem 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-size: .88rem; font-weight: 700; }
.filter.active, .filter:hover { color: #fff; background: var(--navy); border-color: var(--navy); }
.filter.demanded { color: #6a4100; background: #fff1bd; border-color: #e8ae21; }
.filter.demanded:hover, .filter.demanded.active { color: #fff; background: #e66a19; border-color: #e66a19; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.course-card { display: flex; flex-direction: column; min-height: 500px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: .2s ease; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #bed0e3; }
.course-card.featured { background: linear-gradient(145deg,#fffdf7,#fff4d5); border-color: #edbf4c; box-shadow: 0 10px 30px rgba(218,139,20,.10); }
.course-image { width: 100%; height: auto; aspect-ratio: 4 / 3; display: block; padding: .45rem; object-fit: contain; background: linear-gradient(145deg, #f4f7fb, #eaf2f6); }
.course-card-body { flex: 1; padding: 1.45rem; display: flex; flex-direction: column; }
.course-top { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.course-labels, .course-numbers { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.course-numbers { align-items: flex-end; white-space: nowrap; }
.category { color: var(--blue); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.popular-badge { padding: .25rem .55rem; border-radius: 99px; color: #fff; background: linear-gradient(135deg, #f29f05, #e15a24); font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.duration { padding: .3rem .6rem; border-radius: 7px; color: var(--navy); background: var(--cyan); font-size: .78rem; font-weight: 800; }
.course-price { color: #0b6b61; font-size: 1.02rem; }
.featured .course-price { color: #a34a00; }
.course-card h3 { margin: 1.1rem 0 .7rem; color: var(--navy); font-size: 1.35rem; line-height: 1.25; }
.course-card-body > p { margin: 0; overflow: hidden; display: -webkit-box; color: var(--muted); font-size: .92rem; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.course-card ul { margin: 1rem 0 1.4rem; padding-left: 1.1rem; color: #385167; font-size: .88rem; }
.card-footer { margin-top: auto; padding-top: 1rem; display: flex; gap: .8rem; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }
.card-footer > span { color: var(--muted); font-size: .75rem; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: auto; padding-bottom: 1rem; }
.course-select, .course-details { padding: .58rem .7rem; border: 1px solid var(--navy); border-radius: 8px; color: var(--navy); background: transparent; font-weight: 800; cursor: pointer; }
.course-select { color: #fff; background: var(--navy); }
.course-select:hover { background: #153d6b; }
.course-details:hover { color: #fff; background: var(--navy); }
.empty-state { padding: 2rem; background: var(--paper); text-align: center; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.pagination:empty { display: none; }
.pagination button { min-width: 44px; min-height: 44px; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); background: #fff; cursor: pointer; font-weight: 800; }
.pagination button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination button:disabled { opacity: .45; cursor: default; }
.light { color: #62dfcc; }
.credit-info { padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 6vw, 6.5rem); background: var(--paper); }
.credit-info-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1rem 4rem; align-items: end; margin-bottom: 2.5rem; }
.credit-info-heading .eyebrow { grid-column: 1 / -1; }
.credit-info-heading > p:last-child { margin: 0; color: var(--muted); font-size: 1.03rem; }
.credit-questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.credit-questions article { padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.credit-questions article > span { color: var(--teal); font-size: .74rem; font-weight: 900; letter-spacing: .14em; }
.credit-questions h3 { margin: .45rem 0 .65rem; color: var(--navy); font-size: 1.18rem; line-height: 1.28; }
.credit-questions p { margin: 0; color: var(--muted); }
.credit-questions .requirements { grid-column: 1 / -1; color: #fff; background: var(--navy); border-color: var(--navy); }
.credit-questions .requirements h3, .credit-questions .requirements h4 { color: #fff; }
.requirements-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2.5rem; }
.requirements-columns h4 { margin: .6rem 0 .35rem; font-size: .95rem; }
.requirements-columns ul { margin: 0; padding-left: 1.15rem; color: #d9e5ef; }
.requirements-columns li { margin: .35rem 0; }
.credit-note { margin-top: 1rem; padding: 1.5rem; display: grid; grid-template-columns: .55fr 1.15fr auto; gap: 1rem 2rem; align-items: center; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #6038ff, #1a56db 52%, #087d73); }
.credit-note strong { font-size: 1.15rem; }
.credit-note p { margin: 0; color: #e5edff; }
.credit-note a { padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.45); border-radius: 10px; text-decoration: none; font-weight: 800; white-space: nowrap; }
.business { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,8vw,8rem); background: var(--paper); }
.business-copy > p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.benefits { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; color: var(--navy); font-weight: 800; }
.request { padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 8vw, 9rem); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); color: #fff; background: linear-gradient(145deg,#12486f,#0d756d); }
.request h2 { color: #fff; }
.request-intro > p:not(.eyebrow) { color: #d9edf0; }
.contact-note { margin-top: 2.5rem; }
.contact-phone { display: inline-block; margin: .35rem 0; color: #fff; font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 900; line-height: 1.1; text-decoration: none; }
form { padding: clamp(1.3rem,3vw,2.3rem); border-radius: 20px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.contact-panel { padding: clamp(1.5rem,3vw,2.5rem); border-radius: 20px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.contact-panel h3 { margin: 0 0 .8rem; color: var(--navy); font-size: clamp(1.6rem,3vw,2.25rem); }
.contact-panel > p:not(.eyebrow) { color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.5rem 0; }
.email-button { color: var(--navy); background: var(--cyan); border: 1px solid #b9dfdc; }
.email-button:hover { color: #fff; background: var(--navy); }
.contact-privacy { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; }
.contact-privacy a { color: var(--blue); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; margin-bottom: 1rem; font-size: .85rem; font-weight: 800; }
input, select, textarea { width: 100%; margin-top: .35rem; padding: .8rem .85rem; border: 1px solid #c8d5e1; border-radius: 8px; color: var(--ink); background: #fff; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(26,86,219,.16); border-color: var(--blue); }
textarea { resize: vertical; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 500; font-size: .78rem; }
.check input { width: 18px; margin-top: .15rem; }
.privacy-summary { margin: 1rem 0 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: .85rem; }
.privacy-summary p { margin: .5rem 0 0; font-weight: 400; }
.privacy-summary strong { color: var(--navy); }
.light-button { color: #fff; background: var(--blue); }
.form-status { margin: .7rem 0 0; color: #08786c; font-weight: 800; }
footer { padding: 3rem clamp(1.25rem,6vw,6.5rem) 2rem; color: #c3d0dc; background: #071a2e; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; align-items: center; }
.footer-brand { color: #fff; }
.footer-brand .brand-logo { width: min(260px, 100%); padding: .35rem .45rem; border-radius: 10px; background: #fff; }
.footer-brand .brand-type strong { color: #fff; }
.footer-brand .brand-type small { color: #8da1b4; }
footer nav { justify-content: flex-end; gap: 1rem; }
footer nav a { font-size: .82rem; }
footer details { margin-top: 1rem; padding: 1rem 0; border-top: 1px solid #27405a; font-size: .85rem; }
footer summary { cursor: pointer; color: #fff; font-weight: 800; }
.copyright { margin: 2rem 0 0; font-size: .75rem; color: #8da1b4; }
.legal-page { width: min(860px, calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 0; }
.legal-page h1 { margin-bottom: 1.5rem; font-size: clamp(2.6rem, 5vw, 4.8rem); }
.legal-page h2 { margin: 2.5rem 0 .8rem; font-size: clamp(1.65rem, 3vw, 2.25rem); }
.legal-page p, .legal-page dd { color: #385167; font-size: 1rem; }
.legal-page a { color: var(--blue); }
.legal-facts { padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.legal-facts div { display: grid; grid-template-columns: minmax(160px, 1fr) 2fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.legal-facts div:last-child { border-bottom: 0; }
.legal-facts dt { font-weight: 800; }
.legal-facts dd { margin: 0; overflow-wrap: anywhere; }
dialog { width: min(700px, calc(100% - 2rem)); max-height: 86vh; padding: clamp(1.5rem, 4vw, 3rem); border: 0; border-radius: 22px; color: var(--ink); box-shadow: 0 28px 90px rgba(7,26,46,.35); }
dialog::backdrop { background: rgba(7,26,46,.72); backdrop-filter: blur(5px); }
dialog h2 { margin-right: 2rem; font-size: clamp(2rem, 5vw, 3.2rem); }
dialog h3 { margin: 1.8rem 0 .5rem; color: var(--navy); }
dialog p { color: var(--muted); }
dialog ul { padding-left: 1.2rem; }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: var(--paper); font-size: 1.6rem; cursor: pointer; }
.dialog-image { width: 100%; height: 300px; margin-bottom: 1.5rem; display: block; padding: .5rem; object-fit: contain; border-radius: 14px; background: var(--paper); }
.dialog-meta { display: flex; gap: .6rem; margin: 1.2rem 0; }
.dialog-meta span { padding: .4rem .7rem; border-radius: 99px; color: var(--navy); background: var(--cyan); font-size: .8rem; font-weight: 800; }
.dialog-meta strong { padding: .4rem .8rem; border-radius: 99px; color: #fff; background: var(--blue); font-size: .82rem; }
.dialog-select { margin-top: 1rem; }
[hidden] { display: none !important; }
@media (max-width: 1180px) {
  .site-header { min-height: 66px; }
  .menu-toggle { display: block; }
  .site-header nav { display: none; position: absolute; top: 65px; left: 0; right: 0; max-height: calc(100vh - 65px); overflow-y: auto; padding: 1rem 1.25rem; flex-direction: column; align-items: stretch; background: #fff; box-shadow: var(--shadow); }
  .site-header nav.open { display: flex; }
  .nav-phone { width: fit-content; }
}
@media (max-width: 980px) {
  .credit-info-heading, .credit-note { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 430px; }
  .hero-image-placeholder { min-height: 430px; }
  .course-grid { grid-template-columns: repeat(2,1fr); }
  .request { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .catalog-tabs { grid-template-columns: 1fr; }
  .credit-questions, .requirements-columns { grid-template-columns: 1fr; }
  .legal-facts div { grid-template-columns: 1fr; gap: .2rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .site-header { min-height: 66px; }
  .menu-toggle { display: block; }
  .site-header nav { display: none; position: absolute; top: 65px; left: 0; right: 0; padding: 1rem 1.25rem; flex-direction: column; align-items: stretch; background: #fff; box-shadow: var(--shadow); }
  .site-header nav.open { display: flex; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.7rem,14vw,4rem); }
  .hero-facts { flex-direction: column; gap: .8rem; }
  .hero-visual, .hero-image-placeholder { min-height: 350px; }
  .floating-card { left: .8rem; bottom: .8rem; }
  .section-heading, .business, .footer-main { grid-template-columns: 1fr; gap: 1.2rem; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { min-height: 350px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  footer nav { justify-content: flex-start; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
