:root {
  --navy: #0B1D33;
  --navy-soft: #122b48;
  --gray: #465569;
  --teal: #2F7C7D;
  --teal-light: #3e9899;
  --light: #E7E6E2;
  --off-white: #f6f7f6;
  --white: #FFFFFF;
  --line: rgba(11, 29, 51, .16);
  --shadow: 0 22px 50px rgba(11, 29, 51, .09);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--navy); background: var(--white); font-family: 'Manrope', Arial, sans-serif; font-size: 17px; line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-grid { position: relative; overflow: hidden; background-image: linear-gradient(rgba(11,29,51,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,29,51,.035) 1px, transparent 1px); background-size: 64px 64px; }
.skip-link { position: fixed; z-index: 1000; left: 20px; top: -60px; padding: 12px 18px; background: var(--teal); color: white; transition: top .2s; }
.skip-link:focus { top: 15px; }
em { color: var(--teal); font-style: normal; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid transparent; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(11,29,51,.06); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 205px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; color: var(--gray); font-size: 12px; font-weight: 700; }
.site-nav > a:not(.button) { position: relative; padding: 30px 0; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; bottom: 22px; left: 0; width: 0; height: 2px; background: var(--teal); transition: width .25s; }
.site-nav > a:hover::after { width: 100%; }
.site-nav .nav-highlight { min-height: 38px; padding: 8px 14px; border: 1px solid rgba(47,124,125,.28); border-radius: 99px; color: var(--teal); background: rgba(47,124,125,.08); font-weight: 800; }
.site-nav .nav-highlight::after { display: none; }
.site-nav .nav-highlight:hover { color: white; background: var(--teal); border-color: var(--teal); }
.menu-toggle { display: none; width: 46px; height: 42px; border: 1px solid var(--line); background: white; border-radius: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--navy); transition: .25s; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 0 23px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 800; letter-spacing: .2px; transition: transform .25s, background .25s, color .25s, border-color .25s; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 18px; }
.button-navy { background: var(--navy); color: white; }
.button-navy:hover { background: var(--teal); }
.button-teal { background: var(--teal); color: white; }
.button-teal:hover { background: var(--navy-soft); }
.button-outline { border-color: var(--line); background: white; }
.button-outline:hover { color: var(--teal); border-color: var(--teal); }
.button-light { background: white; color: var(--navy); }
.button-light:hover { background: var(--teal); color: white; }
.button-light-outline { border-color: rgba(255,255,255,.35); color: white; }
.button-light-outline:hover { border-color: white; background: white; color: var(--navy); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { min-height: calc(100vh - 82px); display: grid; align-items: center; padding: 70px 0 85px; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 70px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--teal); text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: 2.3px; }
.eyebrow span { width: 27px; height: 2px; background: currentColor; }
.eyebrow.light { color: #85c6c5; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(44px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -4px; }
.hero-lead { max-width: 660px; margin: 28px 0 22px; color: var(--gray); font-size: 16px; }
.tech-line { display: flex; align-items: center; gap: 10px; margin: 0 0 31px; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.tech-line i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-proof div { display: flex; flex-direction: column; padding-right: 15px; border-right: 1px solid var(--line); }
.hero-proof div:last-child { padding-left: 15px; border: 0; }
.hero-proof div:nth-child(2) { padding-left: 15px; }
.hero-proof strong { font-size: 15px; }
.hero-proof span { margin-top: 3px; color: var(--gray); font-size: 9px; text-transform: uppercase; letter-spacing: .8px; }
.hero-visual { position: relative; padding: 0 28px 25px 0; }
.hero-image { position: relative; min-height: 570px; overflow: hidden; border-radius: var(--radius); background: var(--navy); box-shadow: var(--shadow); }
.hero-image > img { height: 570px; object-fit: cover; filter: saturate(.55) contrast(1.05); }
.news-track { position: absolute; inset: 0; }
.news-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transform: scale(1.025); transition: opacity .5s ease, visibility .5s ease, transform .7s ease; }
.news-slide.active { opacity: 1; visibility: visible; transform: scale(1); }
.news-slide img { height: 100%; object-fit: cover; filter: saturate(.55) contrast(1.08); }
.news-slide figcaption { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 55px; display: flex; flex-direction: column; padding: 15px 80px 15px 16px; border: 1px solid rgba(255,255,255,.24); border-radius: 6px; color: white; background: rgba(11,29,51,.68); backdrop-filter: blur(10px); }
.news-slide figcaption small { color: #7ac2c1; font-size: 8px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.news-slide figcaption strong { margin-top: 4px; font-size: 12px; line-height: 1.4; }
.news-arrow { position: absolute; z-index: 5; top: 50%; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: white; background: rgba(11,29,51,.55); font: inherit; cursor: pointer; transform: translateY(-50%); transition: background .2s, border-color .2s; }
.news-arrow:hover { border-color: white; background: var(--teal); }
.news-arrow-prev { left: 16px; }
.news-arrow-next { right: 16px; }
.news-dots { position: absolute; z-index: 5; left: 38px; bottom: 25px; display: flex; gap: 7px; }
.news-dots button { width: 18px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: width .25s, background .25s; }
.news-dots button.active { width: 34px; background: #7ac2c1; }
.image-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11,29,51,.85)), linear-gradient(90deg, rgba(47,124,125,.2), transparent); }
.status-card { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; padding: 15px; border: 1px solid rgba(255,255,255,.24); border-radius: 6px; color: white; background: rgba(11,29,51,.66); backdrop-filter: blur(10px); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #66cfb7; box-shadow: 0 0 0 5px rgba(102,207,183,.12); animation: pulse 2.4s infinite; }
.status-card div { display: flex; flex-direction: column; line-height: 1.3; }
.status-card small { color: rgba(255,255,255,.6); font-size: 8px; letter-spacing: 1px; text-transform: uppercase; }
.status-card strong { font-size: 12px; }
.status-card svg { width: 72px; fill: none; stroke: #6fc4c5; stroke-width: 2; }
.coordinate { position: absolute; top: 20px; right: 18px; color: white; font-size: 8px; text-align: right; letter-spacing: 1px; opacity: .7; }
.visual-badge { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; width: 250px; padding: 17px; border-radius: 5px; background: white; box-shadow: var(--shadow); }
.visual-badge span { color: var(--teal); font-size: 24px; font-weight: 800; }
.visual-badge p { margin: 0; color: var(--gray); font-size: 9px; line-height: 1.5; text-transform: uppercase; letter-spacing: .5px; }
.visual-badge strong { color: var(--navy); }
.circuit-top { position: absolute; right: -60px; top: -60px; width: 300px; height: 230px; opacity: .35; background: radial-gradient(circle at 20% 80%, transparent 0 5px, var(--teal) 6px 7px, transparent 8px), linear-gradient(135deg, transparent 48%, var(--teal) 49% 50%, transparent 51%); }

.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; margin-bottom: 48px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.section-heading h2, .center-heading h2, .business-copy h2, .final-cta h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.12; letter-spacing: -2.5px; }
.section-heading > p { max-width: 480px; margin: 0; color: var(--gray); font-size: 13px; }
.section-heading.compact { grid-template-columns: 1.15fr .55fr; }
.value { background: var(--off-white); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.feature-card { position: relative; min-height: 280px; padding: 36px 28px; border-right: 1px solid var(--line); transition: transform .3s, background .3s, box-shadow .3s; }
.feature-card:last-child { border: 0; }
.feature-card:hover { z-index: 2; transform: translateY(-8px); background: white; box-shadow: var(--shadow); }
.card-number { position: absolute; top: 20px; right: 20px; color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.line-icon { width: 58px; height: 58px; margin: 18px 0 40px; fill: none; stroke: var(--navy); stroke-width: 2; }
.feature-card h3 { margin: 0 0 8px; font-size: 15px; }
.feature-card p { margin: 0; color: var(--gray); font-size: 11px; }

.business-section { padding: 110px 0; }
.industrial-section { color: white; background: var(--navy); }
.business-grid, .academy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.business-copy h2 { color: white; }
.business-copy h2 em { color: #79bdbd; }
.business-lead { max-width: 520px; margin: 22px 0 34px; color: rgba(255,255,255,.68); font-size: 14px; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; margin: 0 0 38px; padding: 0; list-style: none; }
.service-list li { position: relative; padding: 11px 0 11px 18px; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.82); font-size: 11px; }
.service-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-light); }
.business-image { position: relative; min-height: 560px; border: 1px solid rgba(255,255,255,.18); padding: 12px; }
.business-image img { height: 536px; object-fit: cover; filter: saturate(.35) contrast(1.05); }
.business-image::after { content: ""; position: absolute; inset: 12px; background: linear-gradient(180deg, transparent 50%, rgba(11,29,51,.85)); }
.business-image-label { position: absolute; z-index: 2; left: 35px; bottom: 35px; display: flex; flex-direction: column; }
.business-image-label span { color: #8bd0cf; font-size: 9px; letter-spacing: 2px; }
.business-image-label strong { margin: 5px 0 2px; font-size: 20px; }
.business-image-label small { color: rgba(255,255,255,.65); font-size: 9px; }

.academy-section { background: var(--light); }
.academy-grid { grid-template-columns: 1fr; gap: 48px; }
.academy-copy h2 { color: var(--navy); }
.academy-copy .business-lead { color: var(--gray); }
.academy-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; align-items: end; }
.academy-copy .eyebrow, .academy-copy h2 { grid-column: 1; }
.academy-copy .business-lead, .academy-copy .academy-items { grid-column: 2; }
.academy-copy .business-lead { grid-row: 1 / span 2; align-self: center; margin: 0 0 90px; }
.courses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.course-card { position: relative; display: flex; flex-direction: column; padding: 42px; border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.course-card-control { border-top-color: var(--navy); }
.course-top { display: flex; justify-content: space-between; color: var(--teal); font-size: 8px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.course-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 40px 0 25px; border-radius: 50%; color: white; background: var(--navy); font-weight: 700; }
.course-card h3 { max-width: 400px; margin: 0; font-size: 25px; line-height: 1.25; letter-spacing: -1px; }
.course-card p { margin: 18px 0; color: var(--gray); font-size: 11px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.course-card .button { align-self: flex-start; margin-top: auto; }
.course-meta span, .academy-items span { padding: 7px 11px; border: 1px solid var(--line); color: var(--teal); font-size: 8px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.academy-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.academy-items span { padding: 15px; color: var(--navy); background: rgba(255,255,255,.45); }

.process { background-color: white; }
.center-heading { max-width: 760px; margin: 0 auto 70px; text-align: center; }
.center-heading .eyebrow { justify-content: center; }
.process-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.process-flow::before { content: ""; position: absolute; left: 8%; right: 8%; top: 49px; height: 1px; background: var(--line); }
.process-flow li { position: relative; text-align: center; }
.process-flow li > span { color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.process-node { position: relative; z-index: 2; width: 20px; height: 20px; margin: 22px auto 28px; border: 5px solid white; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.process-flow h3 { margin: 0 0 8px; font-size: 13px; }
.process-flow p { margin: 0 auto; max-width: 160px; color: var(--gray); font-size: 9px; }

.technologies { background: var(--off-white); }
.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tech-grid > span { display: flex; min-height: 100px; align-items: flex-end; justify-content: space-between; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; font-size: 11px; font-weight: 800; transition: color .25s, background .25s; }
.tech-grid > span:hover { color: white; background: var(--teal); }
.tech-grid small { color: var(--teal); font-size: 8px; }
.tech-grid > span:hover small { color: white; }

.projects { background: white; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .3s, box-shadow .3s; }
.project-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.project-card img { height: 220px; object-fit: cover; filter: saturate(.45) contrast(1.05); transition: transform .5s, filter .5s; }
.project-card:hover img { transform: scale(1.035); filter: saturate(.7); }
.project-card div { position: relative; padding: 27px; }
.project-card span { color: var(--teal); font-size: 8px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }
.project-card h3 { margin: 12px 0 8px; font-size: 18px; }
.project-card p { max-width: 270px; margin: 0; color: var(--gray); font-size: 10px; }
.project-card a { position: absolute; right: 25px; bottom: 24px; color: var(--teal); font-size: 20px; }

.messages { padding-top: 0; }
.message-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.message-card { position: relative; min-height: 180px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.message-card > span { position: absolute; right: 20px; top: 17px; color: var(--teal); font-size: 8px; font-weight: 800; }
.message-card svg { width: 43px; height: 43px; fill: none; stroke: var(--teal); stroke-width: 1.7; }
.message-card h3 { margin: 25px 0 0; max-width: 280px; font-size: 15px; line-height: 1.4; }

.purpose { background: var(--off-white); }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.purpose-card { min-height: 360px; padding: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.purpose-card-dark { color: white; background: var(--navy); }
.purpose-number { color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.purpose-card-dark .purpose-number { color: #79bdbd; }
.purpose-card h3 { margin: 55px 0 20px; font-size: 35px; letter-spacing: -1.5px; }
.purpose-card p { margin: 0; color: var(--gray); font-size: 12px; }
.purpose-card-dark p { color: rgba(255,255,255,.72); }

.final-cta { padding: 95px 0; color: white; background-color: var(--navy); }
.final-cta-inner { display: grid; grid-template-columns: 1fr .75fr; gap: 90px; align-items: center; }
.final-cta h2 em { color: #7ac2c1; }
.final-cta p { margin: 0 0 28px; color: rgba(255,255,255,.68); font-size: 13px; }

.site-footer { padding: 70px 0 25px; color: rgba(255,255,255,.68); background: #071524; }
.footer-grid { display: grid; grid-template-columns: 1.8fr .7fr 1fr; gap: 80px; padding-bottom: 60px; }
.brand-light { padding: 8px 13px; border-radius: 5px; background: white; }
.brand-light img { width: 245px; }
.footer-brand p { max-width: 350px; margin: 24px 0 14px; font-size: 12px; }
.footer-tech { color: #70b8b8; font-size: 8px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-grid h3 { margin: 0 0 18px; color: white; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; font-size: 10px; }
.footer-grid a:hover { color: #7ac2c1; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 8px; letter-spacing: .7px; text-transform: uppercase; }

.contact-page { min-height: calc(100vh - 82px); padding: 80px 0 110px; }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.contact-intro { position: sticky; top: 140px; }
.contact-intro h1 { margin: 0; font-size: clamp(44px, 5vw, 68px); line-height: 1.05; letter-spacing: -3px; }
.contact-intro > p:not(.eyebrow) { margin: 25px 0 38px; color: var(--gray); font-size: 13px; }
.contact-details { display: flex; flex-direction: column; gap: 10px; padding-top: 25px; border-top: 1px solid var(--line); color: var(--gray); font-size: 11px; }
.contact-details a { color: var(--teal); font-weight: 700; }
.contact-form-card { padding: 42px; border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.contact-form-card h2 { margin: 32px 0; font-size: 28px; letter-spacing: -1px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form-card label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; color: var(--navy); font-size: 9px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.contact-form-card input, .contact-form-card select, .contact-form-card textarea { width: 100%; border: 1px solid var(--line); border-radius: 4px; padding: 13px 14px; color: var(--navy); background: var(--off-white); font: 500 12px/1.5 'Manrope', Arial, sans-serif; text-transform: none; transition: border-color .2s, box-shadow .2s; }
.contact-form-card textarea { resize: vertical; }
.contact-form-card input:focus, .contact-form-card select:focus, .contact-form-card textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,124,125,.12); }
.privacy-notice { margin: 12px 0 28px; padding: 22px; border: 1px solid var(--line); border-radius: 5px; background: var(--off-white); }
.privacy-notice h3 { margin: 0 0 10px; font-size: 12px; }
.privacy-notice p { margin: 8px 0; color: var(--gray); font-size: 9px; }
.privacy-notice a { color: var(--teal); text-decoration: underline; }
.contact-form-card .consent-check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 17px 0 0; line-height: 1.5; text-transform: none; }
.consent-check input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--teal); }
.form-status { min-height: 20px; margin: 15px 0 0; color: var(--teal); font-size: 10px; font-weight: 700; }
.contact-footer { padding-top: 25px; }

.subpage-nav { display: flex; align-items: center; gap: 24px; color: var(--gray); font-size: 11px; font-weight: 700; }
.subpage-nav > a:not(.button):hover { color: var(--teal); }
.programs-hero { min-height: 620px; display: grid; align-items: center; padding: 90px 0; background-color: var(--off-white); }
.programs-hero-grid { display: grid; grid-template-columns: 1fr .65fr; gap: 80px; align-items: center; }
.programs-hero-copy h1 { max-width: 760px; margin: 0; font-size: clamp(45px, 5.5vw, 76px); line-height: 1.04; letter-spacing: -4px; }
.programs-hero-copy > p:not(.eyebrow) { max-width: 680px; margin: 28px 0 32px; color: var(--gray); font-size: 14px; }
.programs-stat-panel { padding: 35px; border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.programs-code { display: block; margin-bottom: 25px; color: var(--teal); font-size: 8px; font-weight: 800; letter-spacing: 1.5px; }
.programs-stat-panel div { display: flex; flex-direction: column; gap: 3px; padding: 18px 0; border-top: 1px solid var(--line); }
.programs-stat-panel strong { font-size: 17px; }
.programs-stat-panel div span { color: var(--gray); font-size: 10px; }
.training-paths { background: white; }
.training-path-grid, .program-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.training-path-card { padding: 45px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--off-white); }
.training-path-dark { color: white; background: var(--navy); }
.training-path-card h3 { max-width: 430px; margin: 45px 0 16px; font-size: 28px; line-height: 1.2; letter-spacing: -1.2px; }
.training-path-card p { color: var(--gray); font-size: 11px; }
.training-path-dark p { color: rgba(255,255,255,.7); }
.training-path-card ul { margin: 28px 0 35px; padding: 0; list-style: none; }
.training-path-card li { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--gray); font-size: 10px; }
.training-path-dark li { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.8); }
.program-catalog { background: var(--light); }
.program-card { display: flex; flex-direction: column; padding: 42px; border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.program-card-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 38px 0 24px; border-radius: 50%; color: white; background: var(--navy); font-weight: 800; }
.program-card h3 { margin: 0; font-size: 25px; line-height: 1.25; letter-spacing: -1px; }
.program-card > p { margin: 18px 0; color: var(--gray); font-size: 11px; }
.program-topics { display: flex; flex-wrap: wrap; gap: 7px; margin: 5px 0 30px; }
.program-topics span { padding: 7px 10px; border: 1px solid var(--line); color: var(--teal); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.program-card .button { align-self: flex-start; margin-top: auto; }
.learning-method { background-color: white; }
.learning-steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: white; }
.learning-steps article { min-height: 190px; padding: 30px; border-right: 1px solid var(--line); }
.learning-steps article:last-child { border: 0; }
.learning-steps span { color: var(--teal); font-size: 9px; font-weight: 800; }
.learning-steps h3 { margin: 50px 0 8px; font-size: 15px; }
.learning-steps p { margin: 0; color: var(--gray); font-size: 9px; }

.course-detail-hero { padding: 90px 0; background-color: var(--off-white); }
.course-detail-grid { display: grid; grid-template-columns: 1fr .48fr; gap: 75px; align-items: center; }
.course-detail-grid h1 { max-width: 800px; margin: 0; font-size: clamp(45px, 5.5vw, 76px); line-height: 1.04; letter-spacing: -4px; }
.course-detail-grid > div > p:not(.eyebrow) { max-width: 700px; margin: 26px 0 32px; color: var(--gray); font-size: 14px; }
.course-facts { padding: 34px; border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.course-facts dl { margin: 0; }
.course-facts dl div { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.course-facts dt { color: var(--gray); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.course-facts dd { margin: 0; font-size: 11px; font-weight: 800; text-align: right; }
.course-facts small { display: block; margin-top: 18px; color: var(--gray); font-size: 8px; line-height: 1.6; }
.course-overview { background: white; }
.detail-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.detail-columns h2 { margin: 0 0 20px; font-size: clamp(32px, 4vw, 50px); line-height: 1.12; letter-spacing: -2px; }
.detail-columns h3 { margin: 35px 0 10px; font-size: 15px; }
.detail-columns p, .detail-list li { color: var(--gray); font-size: 11px; }
.detail-list { padding: 35px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--off-white); }
.detail-list h3:first-child { margin-top: 0; }
.detail-list ul { margin: 0; padding: 0; list-style: none; }
.detail-list li { position: relative; padding: 11px 0 11px 18px; border-bottom: 1px solid var(--line); }
.detail-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.course-video { color: white; background: var(--navy); }
.video-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.video-layout h2 { margin: 0 0 20px; font-size: clamp(32px, 4vw, 50px); line-height: 1.1; letter-spacing: -2px; }
.video-layout p:not(.eyebrow) { color: rgba(255,255,255,.7); font-size: 11px; }
.video-placeholder { aspect-ratio: 16 / 9; display: grid; place-content: center; gap: 8px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); text-align: center; background: linear-gradient(135deg, rgba(47,124,125,.3), rgba(11,29,51,.2)), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: auto, 45px 45px, 45px 45px; }
.video-player { overflow: hidden; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); background: #000; box-shadow: 0 22px 50px rgba(0,0,0,.18); }
.video-player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.video-placeholder span { color: #7ac2c1; font-size: 35px; }
.video-placeholder strong { font-size: 13px; }
.video-placeholder small { color: rgba(255,255,255,.6); font-size: 8px; }
.syllabus { background: var(--light); }
.syllabus-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); background: white; }
.syllabus-grid li { min-height: 235px; padding: 28px; border-right: 1px solid var(--line); }
.syllabus-grid li:last-child { border: 0; }
.syllabus-grid span { color: var(--teal); font-size: 9px; font-weight: 800; }
.syllabus-grid h3 { margin: 65px 0 10px; font-size: 13px; line-height: 1.35; }
.syllabus-grid p { margin: 0; color: var(--gray); font-size: 9px; }

.mooc-hero { padding: 90px 0; background-color: var(--off-white); }
.mooc-hero-grid { display: grid; grid-template-columns: 1fr .42fr; gap: 80px; align-items: center; }
.mooc-hero h1 { max-width: 820px; margin: 0; font-size: clamp(45px, 5.5vw, 76px); line-height: 1.04; letter-spacing: -4px; }
.mooc-hero p:not(.eyebrow) { max-width: 720px; margin: 26px 0 0; color: var(--gray); font-size: 14px; }
.mooc-progress { padding: 32px; border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.mooc-progress strong { display: block; margin: 20px 0 12px; font-size: 42px; letter-spacing: -2px; }
.mooc-progress-bar { height: 7px; overflow: hidden; border-radius: 20px; background: var(--light); }
.mooc-progress-bar span { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.mooc-progress small { display: block; margin-top: 14px; color: var(--gray); font-size: 9px; line-height: 1.6; }
.mooc-classroom { background: var(--navy); color: white; }
.mooc-layout { display: grid; grid-template-columns: minmax(0, 980px); justify-content: center; gap: 18px; align-items: start; }
.mooc-player-panel, .lesson-playlist { border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.mooc-video-shell { position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.16); border-radius: var(--radius) var(--radius) 0 0; background: #000; }
.mooc-video-shell video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.mooc-current-lesson { padding: 28px; }
.mooc-current-lesson span { color: #7ac2c1; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.mooc-current-lesson h2 { margin: 10px 0; font-size: 28px; line-height: 1.2; letter-spacing: -1px; }
.mooc-current-lesson p { margin: 0; color: rgba(255,255,255,.68); font-size: 11px; }
.video-progress-status { margin-top: 14px !important; padding: 12px 14px; border: 1px solid rgba(122,194,193,.28); border-radius: 6px; color: #9cd6d5 !important; background: rgba(255,255,255,.05); font-weight: 800; }
.lesson-playlist { padding: 20px 22px 24px; }
.playlist-header { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 18px; }
.playlist-header h2 { margin: 8px 0 0; font-size: 26px; letter-spacing: -1px; }
.playlist-header small { max-width: 320px; color: rgba(255,255,255,.55); font-size: 9px; line-height: 1.5; text-align: right; }
.lesson-slider-actions { display: flex; align-items: center; gap: 14px; }
.lesson-slider-actions > div { display: flex; gap: 7px; }
.lesson-nav { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: white; background: rgba(255,255,255,.06); cursor: pointer; transition: background .2s, border-color .2s; }
.lesson-nav:hover { border-color: white; background: var(--teal); }
.lesson-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(245px, 290px); gap: 12px; overflow-x: auto; overscroll-behavior-inline: contain; padding: 3px 3px 14px; scroll-snap-type: x proximity; scrollbar-color: var(--teal) rgba(255,255,255,.16); }
.lesson-track::-webkit-scrollbar { height: 8px; }
.lesson-track::-webkit-scrollbar-track { background: rgba(255,255,255,.12); border-radius: 99px; }
.lesson-track::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 99px; }
.lesson-item { width: 100%; min-height: 112px; display: grid; grid-template-columns: auto 1fr; gap: 8px 13px; align-items: start; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: white; background: rgba(255,255,255,.04); text-align: left; cursor: pointer; scroll-snap-align: start; transition: border-color .2s, background .2s, transform .2s; }
.lesson-item:hover { border-color: rgba(255,255,255,.35); transform: translateY(-2px); }
.lesson-item span { grid-row: 1 / span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: white; background: rgba(255,255,255,.12); font-size: 10px; font-weight: 800; }
.lesson-item strong { font-size: 12px; }
.lesson-item small { color: rgba(255,255,255,.55); font-size: 8px; }
.lesson-item.active { border-color: rgba(122,194,193,.7); background: rgba(47,124,125,.22); }
.lesson-item.active span { background: var(--teal); }
.lesson-item.locked { cursor: not-allowed; opacity: .45; }
.lesson-item.locked:hover { transform: none; }
.mooc-resources { background-color: white; }
.resources-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: white; }
.resource-card { min-height: 210px; padding: 30px; border-right: 1px solid var(--line); }
.resource-card:last-child { border: 0; }
.resource-card span { color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.resource-card h3 { margin: 58px 0 10px; font-size: 15px; }
.resource-card p { margin: 0; color: var(--gray); font-size: 9px; }

.auth-main { min-height: calc(100vh - 82px); display: grid; align-items: center; padding: 80px 0; background-color: var(--off-white); }
.auth-layout { display: grid; grid-template-columns: 1fr .72fr; gap: 85px; align-items: center; }
.auth-intro h1 { max-width: 700px; margin: 0; font-size: clamp(48px, 6vw, 76px); line-height: 1.04; letter-spacing: -4px; }
.auth-intro > p:not(.eyebrow) { max-width: 620px; margin: 26px 0 34px; color: var(--gray); font-size: 14px; }
.auth-benefits { display: flex; flex-wrap: wrap; gap: 8px; }
.auth-benefits span { padding: 8px 11px; border: 1px solid var(--line); color: var(--teal); background: white; font-size: 8px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.auth-card { padding: 42px; border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.auth-card h2 { margin: 24px 0 28px; font-size: 30px; letter-spacing: -1px; }
.auth-card label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; color: var(--navy); font-size: 9px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.auth-card input, .auth-card select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 4px; color: var(--navy); background: var(--off-white); font: 500 12px/1.5 'Manrope', Arial, sans-serif; text-transform: none; }
.auth-card input:focus, .auth-card select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,124,125,.12); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 75px; }
.password-field button { position: absolute; right: 8px; top: 50%; border: 0; color: var(--teal); background: transparent; font: 800 8px/1 'Manrope', Arial, sans-serif; cursor: pointer; transform: translateY(-50%); text-transform: uppercase; }
.auth-submit { width: 100%; }
.auth-help { margin: 18px 0 0; color: var(--gray); font-size: 12px; text-align: center; }
.auth-help a { color: var(--teal); font-weight: 900; }
.auth-help a:hover { color: var(--navy); }
.form-status.success { color: #126160; }
.demo-access { display: flex; flex-direction: column; gap: 5px; margin-top: 24px; padding: 17px; border: 1px solid var(--line); border-radius: 5px; background: var(--off-white); color: var(--gray); font-size: 9px; }
.demo-access strong { color: var(--navy); font-size: 10px; }
.demo-access code { color: var(--teal); font: 700 10px/1.4 'Manrope', Arial, sans-serif; }
.demo-access small { margin-top: 6px; line-height: 1.5; }

.admin-page { background: linear-gradient(180deg, var(--off-white), var(--white) 34%); }
.admin-hero { padding: 130px 0 58px; border-bottom: 1px solid var(--line); }
.admin-hero h1 { max-width: 860px; margin: 0 0 18px; color: var(--navy); font-size: clamp(40px, 6vw, 76px); line-height: .98; letter-spacing: -3px; }
.admin-hero p { max-width: 760px; color: var(--gray); font-size: 18px; line-height: 1.7; }
.admin-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.admin-toolbar { display: grid; grid-template-columns: .8fr 1.2fr; gap: 26px; align-items: end; margin-bottom: 24px; }
.admin-toolbar h2 { margin: 8px 0 0; color: var(--navy); font-size: 32px; letter-spacing: -1px; }
.admin-search label,
.admin-form .admin-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.admin-form .admin-field label { display: block; min-height: 18px; margin: 0; color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .5px; line-height: 1.2; text-transform: uppercase; }
.admin-form .admin-field label small { display: inline; margin-left: 6px; color: var(--gray); font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.admin-search div { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 8px; }
.admin-search input,
.admin-form input,
.admin-form select,
.admin-form textarea { display: block; width: 100%; max-width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 6px; padding: 13px 14px; color: var(--navy); background: var(--off-white); font: 600 15px/1.5 'Manrope', Arial, sans-serif; text-transform: none; transition: border-color .2s, box-shadow .2s; box-sizing: border-box; }
.admin-form textarea { resize: none; }
.admin-search input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,124,125,.12); }
.admin-alert { margin: 18px 0; padding: 14px 16px; border-radius: 8px; font-size: 14px; font-weight: 800; }
.admin-alert.success { color: #176767; background: rgba(47,124,125,.1); }
.admin-alert.error { color: #8a1f1f; background: rgba(185,35,35,.1); }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: white; }
.admin-table { width: 100%; min-width: 1380px; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: white; }
.admin-table th,
.admin-table td { padding: 17px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th:last-child,
.admin-table td:last-child { border-right: 0; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table th { position: sticky; top: 0; z-index: 1; color: var(--teal); background: #f7f8f7; font-size: 11px; font-weight: 900; letter-spacing: 1.8px; text-transform: uppercase; }
.admin-table tbody tr:nth-child(even) td { background: rgba(231,230,226,.26); }
.admin-table tbody tr:hover td { background: rgba(47,124,125,.06); }
.admin-table th:nth-child(1), .admin-table td:nth-child(1) { width: 12%; }
.admin-table th:nth-child(2), .admin-table td:nth-child(2) { width: 10%; }
.admin-table th:nth-child(3), .admin-table td:nth-child(3) { width: 10%; }
.admin-table th:nth-child(4), .admin-table td:nth-child(4) { width: 18%; }
.admin-table th:nth-child(5), .admin-table td:nth-child(5) { width: 12%; }
.admin-table th:nth-child(6), .admin-table td:nth-child(6) { width: 17%; }
.admin-table th:nth-child(7), .admin-table td:nth-child(7) { width: 9%; text-align: center; }
.admin-table th:nth-child(8), .admin-table td:nth-child(8) { width: 10%; text-align: center; }
.admin-table th:nth-child(9), .admin-table td:nth-child(9) { width: 6%; text-align: center; }
.admin-table th:nth-child(10), .admin-table td:nth-child(10) { width: 6%; text-align: center; }
.admin-access-date { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 5px 10px; border-radius: 999px; color: var(--gray); background: rgba(70,85,105,.1); font-weight: 900; white-space: nowrap; }
.admin-access-date.expired,
.admin-access-date.is-expired { color: #9b1c1c !important; background: rgba(155,28,28,.16) !important; border: 1px solid rgba(155,28,28,.35) !important; box-shadow: inset 0 0 0 1px rgba(155,28,28,.08); }
.admin-user-cell,
.admin-contact-cell { display: grid; gap: 7px; min-width: 0; }
.admin-user-cell strong,
.admin-contact-cell strong { display: block; color: var(--navy); font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.admin-user-cell span,
.admin-contact-cell span,
.admin-name-cell,
.admin-whatsapp-cell,
.admin-inscription-cell,
.admin-course-cell { display: block; color: var(--gray); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.admin-name-cell { color: var(--navy); font-weight: 700; }
.admin-whatsapp-cell { color: var(--navy); font-weight: 700; }
.admin-inscription-cell { color: var(--teal); font-weight: 900; text-transform: uppercase; }
.admin-course-cell { color: var(--navy); }
.admin-action-cell .button { min-width: 82px; justify-content: center; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .7px; text-transform: uppercase; }
.status-pill.activo { color: #126160; background: rgba(47,124,125,.12); }
.status-pill.inactivo { color: #465569; background: rgba(70,85,105,.12); }
.status-pill.suspendido { color: #8a1f1f; background: rgba(185,35,35,.12); }
.admin-form { display: grid; gap: 24px; }
.admin-form fieldset { min-width: 0; margin: 0; padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.admin-form legend { padding: 0 12px; color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.admin-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.admin-form-grid .admin-field { grid-column: span 1; }
.admin-form small { color: var(--gray); font-size: 10px; font-weight: 700; text-transform: none; }
.admin-form-grid .span-2 { grid-column: span 1; }
.admin-form #admin-direccion { min-height: 48px; height: 48px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.certificate-panel { display: grid; gap: 22px; }
.certificate-status { padding: 34px; border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.certificate-status > span { display: inline-flex; align-items: center; margin-bottom: 6px; padding: 8px 13px; border-radius: 999px; color: white; background: var(--teal); font-size: 13px; font-weight: 900; letter-spacing: 1.7px; text-transform: uppercase; box-shadow: 0 10px 22px rgba(47,124,125,.18); }
.certificate-status h2 { margin: 14px 0 12px; color: var(--navy); font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -2px; }
.certificate-status p { margin: 8px 0 0; color: var(--gray); font-size: 16px; }
.certificate-status.enabled { background: linear-gradient(135deg, white, rgba(47,124,125,.08)); }
.certificate-status.pending { border-top-color: var(--gray); }
.certificate-actions { margin-top: 20px; }
.certificate-notice { padding: 16px 18px; border-radius: 10px; font-weight: 800; }
.certificate-notice.success { color: #126160; background: rgba(47,124,125,.12); }
.certificate-notice.error { color: #8a1f1f; background: rgba(185,35,35,.12); }
.certificate-lessons { display: grid; gap: 12px; }
.certificate-lessons article { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.certificate-lessons strong { display: block; color: var(--navy); font-size: 16px; }
.certificate-lessons span:not(.status-pill) { display: block; margin-top: 4px; color: var(--gray); font-size: 13px; }
.mooc-video-empty { position: relative; }
.mooc-video-empty video { opacity: .48; }
.empty-video-message { position: absolute; inset: 0; display: grid; place-content: center; gap: 7px; padding: 30px; text-align: center; pointer-events: none; background: rgba(11,29,51,.55); }
.empty-video-message span { color: #7ac2c1; font-size: 9px; font-weight: 800; letter-spacing: 1.4px; }
.empty-video-message strong { font-size: 20px; }
.empty-video-message small { color: rgba(255,255,255,.65); font-size: 9px; }

.whatsapp-float { position: fixed; z-index: 120; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 17px 0 13px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; color: white; background: #168c49; box-shadow: 0 12px 30px rgba(11,29,51,.24); font-size: 11px; font-weight: 800; transition: transform .25s, background .25s, box-shadow .25s; }
.whatsapp-float:hover { transform: translateY(-3px); background: #10763d; box-shadow: 0 16px 35px rgba(11,29,51,.3); }
.whatsapp-float svg { width: 23px; height: 23px; fill: currentColor; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background-color: var(--off-white); }
.error-card { width: min(620px, 100%); padding: 55px; border: 1px solid var(--line); border-top: 5px solid var(--teal); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.error-card .brand { margin-bottom: 55px; }
.error-code { color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.error-card h1 { margin: 16px 0 15px; font-size: clamp(36px, 6vw, 58px); line-height: 1.06; letter-spacing: -2.5px; }
.error-card p { margin: 0 0 30px; color: var(--gray); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(102,207,183,.02); } }

@media (max-width: 1180px) {
  .subpage-nav > a:not(.button) { display: none; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 82px 0 auto; display: grid; gap: 0; padding: 18px 20px 28px; border-bottom: 1px solid var(--line); background: white; transform: translateY(-130%); opacity: 0; visibility: hidden; transition: .3s; box-shadow: var(--shadow); }
  .site-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-nav > a:not(.button) { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.button)::after { display: none; }
  .site-nav .button { margin-top: 18px; }
  .hero-grid { gap: 35px; }
  .hero h1 { letter-spacing: -3px; }
  .hero-image, .hero-image > img { min-height: 500px; height: 500px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:nth-child(2) { border-right: 0; }
  .feature-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .business-grid, .academy-grid { gap: 45px; }
  .process-flow { gap: 5px; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .course-detail-grid { grid-template-columns: 1fr .6fr; gap: 35px; }
  .mooc-hero-grid { grid-template-columns: 1fr .55fr; gap: 40px; }
  .mooc-layout { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-card:nth-child(2) { border-right: 0; }
  .resource-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .syllabus-grid { grid-template-columns: repeat(3, 1fr); }
  .syllabus-grid li:nth-child(3) { border-right: 0; }
  .syllabus-grid li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 780px) {
  .section { padding: 80px 0; }
  .hero { padding: 55px 0 75px; }
  .hero-grid, .business-grid, .academy-grid, .section-heading, .section-heading.compact, .final-cta-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(42px, 12vw, 62px); letter-spacing: -2.5px; }
  .hero-visual { margin-top: 20px; }
  .hero-image, .hero-image > img { min-height: 430px; height: 430px; }
  .section-heading { gap: 20px; margin-bottom: 35px; }
  .industrial-section, .business-section { padding: 80px 0; }
  .business-image { min-height: 420px; }
  .business-image img { height: 396px; }
  .academy-copy { display: block; }
  .academy-copy .business-lead { margin: 22px 0 34px; }
  .courses-grid { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr; text-align: left; gap: 0; }
  .process-flow::before { left: 29px; right: auto; top: 20px; bottom: 25px; width: 1px; height: auto; }
  .process-flow li { display: grid; grid-template-columns: 60px 1fr; padding: 0 0 25px; text-align: left; }
  .process-flow li > span { grid-column: 2; }
  .process-node { grid-column: 1; grid-row: 1 / span 3; margin: 8px 0 0 20px; }
  .process-flow h3, .process-flow p { grid-column: 2; max-width: none; margin-left: 0; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .project-grid, .message-grid, .purpose-grid, .contact-layout { grid-template-columns: 1fr; }
  .programs-hero-grid, .training-path-grid, .program-card-grid { grid-template-columns: 1fr; }
  .course-detail-grid, .detail-columns, .video-layout { grid-template-columns: 1fr; }
  .mooc-hero-grid { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: 1fr; gap: 45px; }
  .admin-toolbar { grid-template-columns: 1fr; align-items: start; }
  .admin-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-form-grid .admin-field,
  .admin-form-grid .span-2 { grid-column: span 1; }
  .syllabus-grid { grid-template-columns: 1fr; }
  .syllabus-grid li, .syllabus-grid li:nth-child(3) { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .syllabus-grid li:last-child { border-bottom: 0; }
  .syllabus-grid h3 { margin-top: 28px; }
  .learning-steps { grid-template-columns: 1fr 1fr; }
  .learning-steps article:nth-child(2) { border-right: 0; }
  .learning-steps article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-intro { position: static; }
  .project-card img { height: 270px; }
  .final-cta-inner { gap: 30px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; gap: 50px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 72px; }
  .site-nav { inset: 72px 0 auto; }
  .brand img { width: 178px; }
  .hero h1 { font-size: 42px; line-height: 1.07; }
  .hero-lead { font-size: 13px; }
  .tech-line { flex-wrap: wrap; }
  .button-row .button { width: 100%; }
  .hero-proof { grid-template-columns: 1fr; gap: 10px; }
  .hero-proof div, .hero-proof div:nth-child(2), .hero-proof div:last-child { padding: 0 0 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-image, .hero-image > img { min-height: 360px; height: 360px; }
  .status-card svg { display: none; }
  .news-slide figcaption { padding-right: 16px; }
  .news-slide figcaption strong { font-size: 10px; }
  .news-arrow { top: 42%; width: 34px; height: 34px; }
  .visual-badge { width: 220px; }
  .section-heading h2, .center-heading h2, .business-copy h2, .final-cta h2 { font-size: 35px; letter-spacing: -1.7px; }
  .value-grid, .service-list, .academy-items, .tech-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-card:nth-child(3) { border-bottom: 1px solid var(--line); }
  .line-icon { margin-bottom: 25px; }
  .business-image { min-height: 350px; }
  .business-image img { height: 326px; }
  .course-card { padding: 30px 24px; }
  .purpose-card, .contact-form-card { padding: 30px 24px; }
  .purpose-card { min-height: auto; }
  .purpose-card h3 { margin-top: 35px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .programs-hero-copy h1 { font-size: 42px; letter-spacing: -2px; }
  .course-detail-grid h1 { font-size: 42px; letter-spacing: -2px; }
  .mooc-hero h1 { font-size: 42px; letter-spacing: -2px; }
  .auth-intro h1 { font-size: 42px; letter-spacing: -2px; }
  .auth-card { padding: 30px 24px; }
  .admin-hero { padding-top: 110px; }
  .admin-hero h1 { font-size: 42px; letter-spacing: -2px; }
  .admin-panel { padding: 24px 18px; }
  .admin-search div,
  .admin-form fieldset { padding: 22px 18px; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .admin-field,
  .admin-form-grid .span-2 { grid-column: 1 / -1; }
  .span-2 { grid-column: auto; }
  .admin-actions .button { width: 100%; }
  .error-card { padding: 35px 24px; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 50px; height: 50px; min-height: 50px; padding: 0; justify-content: center; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .resources-grid { grid-template-columns: 1fr; }
  .resource-card, .resource-card:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .resource-card:last-child { border-bottom: 0; }
  .training-path-card, .program-card { padding: 30px 24px; }
  .learning-steps { grid-template-columns: 1fr; }
  .learning-steps article, .learning-steps article:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .learning-steps article:last-child { border-bottom: 0; }
  .subpage-nav .button { padding-inline: 12px; font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 9px; }
}

/* Escala global de lectura: aumenta el contenido sin alterar los títulos principales. */
.site-nav,
.subpage-nav,
.button {
  font-size: 14px;
}

.eyebrow,
.tech-line,
.course-top,
.card-number,
.process-flow li > span,
.project-card span,
.message-card > span,
.purpose-number,
.programs-code,
.learning-steps span,
.course-facts dt,
.syllabus-grid span,
.mooc-current-lesson span,
.resource-card span,
.auth-benefits span,
.auth-card label,
.contact-form-card label,
.empty-video-message span,
.error-code {
  font-size: 12px;
}

.hero-lead,
.business-lead,
.programs-hero-copy > p:not(.eyebrow),
.course-detail-grid > div > p:not(.eyebrow),
.mooc-hero p:not(.eyebrow),
.auth-intro > p:not(.eyebrow) {
  font-size: 18px;
}

.section-heading > p,
.feature-card p,
.course-card p,
.process-flow p,
.project-card p,
.purpose-card p,
.final-cta p,
.footer-brand p,
.contact-intro > p:not(.eyebrow),
.contact-details,
.privacy-notice p,
.training-path-card p,
.training-path-card li,
.program-card > p,
.learning-steps p,
.detail-columns p,
.detail-list li,
.video-layout p:not(.eyebrow),
.syllabus-grid p,
.mooc-current-lesson p,
.resource-card p,
.demo-access,
.error-card p {
  font-size: 15px;
}

.service-list li,
.tech-grid > span,
.course-facts dd,
.video-placeholder strong,
.lesson-item strong,
.status-card strong,
.news-slide figcaption strong {
  font-size: 14px;
}

.hero-proof span,
.news-slide figcaption small,
.status-card small,
.coordinate,
.visual-badge p,
.business-image-label span,
.business-image-label small,
.course-meta span,
.academy-items span,
.tech-grid small,
.footer-tech,
.footer-grid > div:not(:first-child),
.footer-bottom,
.form-status,
.programs-stat-panel div span,
.program-topics span,
.course-facts small,
.video-placeholder small,
.mooc-progress small,
.playlist-header small,
.lesson-item small,
.empty-video-message small,
.whatsapp-float {
  font-size: 12px;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea,
.auth-card input,
.auth-card select {
  font: 500 15px/1.5 'Manrope', Arial, sans-serif;
}

.password-field button {
  font: 800 12px/1 'Manrope', Arial, sans-serif;
}

.demo-access strong,
.demo-access code {
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
