@font-face { font-family: Montserrat; src: url('../fonts/montserrat-400.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Montserrat; src: url('../fonts/montserrat-500.ttf') format('truetype'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: Montserrat; src: url('../fonts/montserrat-600.ttf') format('truetype'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: Montserrat; src: url('../fonts/montserrat-700.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: Montserrat; src: url('../fonts/montserrat-800.ttf') format('truetype'); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: Montserrat; src: url('../fonts/montserrat-900.ttf') format('truetype'); font-style: normal; font-weight: 900; font-display: swap; }

:root {
    --orange: #ff8f00;
    --orange-dark: #d97500;
    --ink: #34495e;
    --ink-deep: #233342;
    --paper: #f4f4fa;
    --white: #ffffff;
    --muted: #6d7d8c;
    --line: rgba(52, 73, 94, 0.16);
    --shadow: 0 22px 65px rgba(38, 55, 71, 0.12);
    --radius: 26px;
    --container: min(1320px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; overflow-wrap: anywhere; }
h1, h2 { letter-spacing: -0.04em; }
h2 { margin-bottom: 28px; font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 900; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.container { width: var(--container); max-width: 100%; min-width: 0; margin-inline: auto; }
.section { position: relative; padding: clamp(82px, 9vw, 140px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: -100px; left: 20px; padding: 12px 18px; color: #fff; background: var(--ink); border-radius: 0 0 10px 10px; }
.skip-link:focus { top: 0; }
.eyebrow { margin-bottom: 16px; color: var(--orange); font-size: .74rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.section-index { margin-bottom: 14px; color: var(--orange); font-size: 1rem; font-weight: 900; letter-spacing: .12em; }
.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--orange);
    box-shadow: 0 12px 28px rgba(255, 143, 0, .25);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .045em;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--orange-dark); box-shadow: 0 16px 32px rgba(255, 143, 0, .34); }
.button:focus-visible, .text-button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(255, 143, 0, .42); outline-offset: 3px; }
.button-small { width: 100%; min-height: 44px; padding: 10px 18px; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 84px; background: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(18px); transition: height .25s ease, box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { height: 72px; background: rgba(255,255,255,.94); box-shadow: 0 8px 35px rgba(31,48,62,.1); }
.header-inner { display: flex; height: 100%; align-items: center; gap: 26px; }
.brand { flex: 0 0 auto; }
.brand img { width: 145px; height: auto; }
.main-nav { display: flex; min-width: 0; flex: 1; align-items: center; justify-content: flex-end; gap: clamp(14px, 2vw, 28px); }
.main-nav a { position: relative; padding: 28px 0; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.main-nav a::after { position: absolute; right: 0; bottom: 19px; left: 0; height: 2px; background: var(--orange); content: ''; transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-size: .74rem; font-weight: 800; white-space: nowrap; }
.language-switcher { position: relative; display: flex; width: 54px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: .69rem; font-weight: 900; cursor: default; }
.language-menu { position: absolute; top: calc(100% - 1px); right: 0; display: grid; min-width: 88px; padding: 10px 8px 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-5px); transition: .2s ease; }
.language-switcher:hover .language-menu, .language-switcher:focus-within .language-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.language-menu a { padding: 7px 10px; border-radius: 8px; }
.language-menu a:hover { color: #fff; background: var(--orange); }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; display: grid; min-height: 680px; place-items: center; overflow: hidden; background: url('../images/hero-main.jpg') center 50% / cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(255,255,255,.92), rgba(255,255,255,.62) 56%, rgba(255,255,255,.16)); }
.hero-content { position: relative; width: min(960px, calc(100vw - 48px)); max-width: 960px; min-width: 0; padding-top: 98px; text-align: center; }
.hero h1 { max-width: 1000px; margin: 0 auto 22px; color: var(--ink); font-size: clamp(2.75rem, 5.4vw, 4.75rem); font-weight: 900; letter-spacing: -.055em; }
.hero-copy { max-width: 800px; margin: 0 auto 34px; font-size: clamp(1rem, 2vw, 1.3rem); line-height: 1.65; }

.split-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(42px, 8vw, 110px); }
.about-section { background: var(--paper); }
.image-frame { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-frame::before { position: absolute; z-index: 1; inset: 16px; border: 1px solid rgba(255,255,255,.55); border-radius: calc(var(--radius) - 12px); content: ''; pointer-events: none; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.image-frame-tall { height: clamp(460px, 55vw, 680px); }
.section-copy p:not(.section-index) { color: var(--muted); font-size: 1rem; }

.spectrum-section { background: #fff; }
.section-heading { max-width: 900px; margin-bottom: 54px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading > p:last-child { max-width: 760px; margin-inline: auto; color: var(--muted); }
.spectrum-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); border-radius: var(--radius); overflow: hidden; }
.spectrum-item { display: grid; min-height: 124px; grid-template-columns: 62px 1fr; align-items: center; gap: 20px; padding: 28px; background: #fff; }
.spectrum-item span { display: grid; width: 48px; height: 48px; place-items: center; color: #fff; background: var(--orange); border-radius: 50%; font-size: .72rem; font-weight: 900; }
.spectrum-item p { margin: 0; font-weight: 700; line-height: 1.5; }

.team-section { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.team-card { overflow: hidden; background: #fff; border-radius: var(--radius); box-shadow: 0 16px 48px rgba(38,55,71,.08); }
.team-photo { aspect-ratio: .82; overflow: hidden; background: #e8e8e8; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .35s ease, transform .5s ease; }
.team-card:hover img { filter: grayscale(0); transform: scale(1.025); }
.team-info { padding: 24px 25px 28px; }
.team-info h3 { margin-bottom: 8px; }
.team-info p { margin: 0; color: var(--muted); }
.certificates-block { margin-top: 78px; }
.certificates-block > h3 { margin-bottom: 26px; text-align: center; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.certificate-carousel { width: 100%; }
.certificate-viewport { overflow-x: auto; padding: 8px 4px 22px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.certificate-viewport::-webkit-scrollbar { display: none; }
.certificate-track { display: flex; gap: 16px; }
.certificate-button { flex: 0 0 calc((100% - 48px) / 4); aspect-ratio: .72; padding: 10px; overflow: hidden; border: 1px solid rgba(38,55,71,.08); border-radius: 15px; background: #fff; cursor: zoom-in; scroll-snap-align: start; box-shadow: 0 12px 32px rgba(38,55,71,.08); }
.certificate-button img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.certificate-button:hover img { transform: scale(1.04); }
.certificate-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 8px; }
.certificate-control { display: grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; font-size: 1.25rem; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.certificate-control:hover { border-color: var(--orange); color: #fff; background: var(--orange); transform: translateY(-2px); }
.certificate-counter { display: flex; min-width: 52px; justify-content: center; gap: 7px; margin: 0; color: var(--muted); font-size: .83rem; font-weight: 800; }

.service-section { background: #fff; }
.service-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); align-items: end; gap: 60px; margin-bottom: 58px; }
.service-intro h2 { margin-bottom: 0; }
.service-intro > p { margin: 0 0 7px; color: var(--muted); }
.service-feature { display: grid; grid-template-columns: .8fr 1.2fr; align-items: stretch; gap: 28px; }
.service-photo { min-height: 680px; overflow: hidden; border-radius: var(--radius); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-cards { display: grid; gap: 22px; }
.detail-card { padding: clamp(28px, 4vw, 46px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.detail-card h3 { color: var(--orange); }
.detail-card > p { color: var(--muted); }
.detail-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 22px; padding: 0; margin: 24px 0; list-style: none; }
.detail-card li { position: relative; padding-left: 19px; line-height: 1.45; }
.detail-card li::before { position: absolute; top: .63em; left: 0; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; content: ''; }
.text-button { padding: 0; border: 0; color: var(--ink); background: none; font-weight: 900; cursor: pointer; }
.text-button span { color: var(--orange); }
.text-button:hover { color: var(--orange); }

.hr-section { color: #fff; background: var(--ink); }
.hr-header { display: grid; grid-template-columns: .15fr 1fr .9fr; align-items: end; gap: 36px; margin-bottom: 58px; }
.hr-header h2 { margin: 0; }
.hr-header > p:last-child { margin: 0 0 7px; color: rgba(255,255,255,.7); }
.hr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.hr-card { min-height: 330px; padding: 36px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.055); transition: transform .25s ease, background .25s ease; }
.hr-card:hover { transform: translateY(-6px); background: var(--orange); }
.hr-card > span { display: block; margin-bottom: 74px; color: var(--orange); font-weight: 900; }
.hr-card:hover > span { color: #fff; }
.hr-card h3 { font-size: 1.7rem; }
.hr-card p { margin: 0; color: rgba(255,255,255,.72); }
.hr-card:hover p { color: #fff; }

.education-section { background: var(--paper); }
.education-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.education-photo img { width: 100%; height: 100%; object-fit: cover; }
.education-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(35px, 6vw, 80px); }
.education-copy h2 { color: var(--orange); font-size: clamp(2rem, 4vw, 3.6rem); }
.education-copy > p:last-child { color: var(--muted); }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.course-card { min-height: 330px; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.course-card > span { color: var(--orange); font-size: .75rem; font-weight: 900; }
.course-card h3 { margin-top: 58px; }
.course-card p { color: var(--muted); }

.advantages-section { overflow: hidden; background: #fff; }
.advantages-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 70px; }
.advantages-title h2 { margin: 0; font-size: clamp(2.5rem, 6vw, 5.5rem); }
.advantages-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.advantage-card { min-height: 230px; padding: 30px; border-radius: 22px; color: #fff; background: var(--ink); }
.advantage-card:first-child, .advantage-card:last-child { background: var(--orange); }
.advantage-card > span { display: block; margin-bottom: 42px; color: rgba(255,255,255,.72); font-weight: 900; }
.advantage-card h3 { margin-bottom: 12px; }
.advantage-card p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.55; }

.pricing-section { overflow: hidden; color: #fff; background: url('../images/pricing-bg.jpg') center / cover fixed; }
.pricing-overlay { position: absolute; inset: 0; background: rgba(28, 41, 53, .86); }
.pricing-content { position: relative; }
.section-heading.light h2, .section-heading.light .section-index { color: #fff; }
.section-heading.light > p:last-child { color: rgba(255,255,255,.68); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.price-card { display: flex; min-height: 425px; flex-direction: column; padding: 30px; border: 1px solid rgba(255,255,255,.17); border-radius: 22px; background: rgba(255,255,255,.085); backdrop-filter: blur(14px); }
.price-card h3 { color: var(--orange); font-size: 1.5rem; }
.price-audience { min-height: 92px; color: rgba(255,255,255,.7); line-height: 1.5; }
.price-value { margin: 8px 0 22px; color: #fff; font-size: 1.25rem; font-weight: 900; }
.price-card details { margin-bottom: 24px; color: rgba(255,255,255,.8); }
.price-card summary { padding: 8px 0; color: #fff; font-weight: 800; cursor: pointer; }
.price-card ul { padding-left: 20px; font-size: .83rem; line-height: 1.55; }
.price-card .button { margin-top: auto; }

.contact-section { color: #fff; background: var(--ink); }
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; }
.contact-cards article { min-height: 220px; padding: 30px; border-right: 1px solid rgba(255,255,255,.14); }
.contact-cards article:last-child { border-right: 0; }
.contact-cards span { color: var(--orange); font-size: .75rem; font-weight: 900; }
.contact-cards h3 { margin-top: 48px; margin-bottom: 15px; font-size: 1.1rem; text-transform: uppercase; }
.contact-cards p, .contact-cards a { margin: 0; color: rgba(255,255,255,.75); line-height: 1.5; }
.contact-cards a:hover { color: var(--orange); }
.contact-lower { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 570px; margin-top: 38px; overflow: hidden; border-radius: var(--radius); background: rgba(255,255,255,.05); }
.contact-form-wrap { padding: clamp(32px, 5vw, 64px); }
.contact-form-wrap > p { color: rgba(255,255,255,.68); }
.contact-form { display: grid; gap: 16px; margin-top: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label, .modal-form label { display: grid; gap: 6px; }
.contact-form label > span, .modal-form label > span { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); border-radius: 0; color: #fff; background: transparent; outline: none; }
.contact-form select option { color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--orange); outline: none; }
.contact-form .button { justify-self: start; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 570px; border: 0; filter: grayscale(1) contrast(.94); }

.site-footer { padding: 58px 0; color: #fff; background: var(--ink-deep); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr; gap: 50px; align-items: start; }
.site-footer img { width: 190px; margin-bottom: 24px; }
.site-footer p { max-width: 420px; margin: 0; color: rgba(255,255,255,.55); }
.footer-links, .footer-contact { display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--orange); }

.floating-contact { position: fixed; z-index: 80; right: 22px; display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; color: #fff; font-size: .75rem; font-weight: 900; box-shadow: 0 14px 35px rgba(21,34,45,.26); transition: transform .2s ease; }
.floating-contact:hover { transform: translateY(-4px); }
.floating-whatsapp { bottom: 88px; background: #20b966; }
.floating-phone { bottom: 22px; background: var(--orange); font-size: 1.25rem; }

.modal, .lightbox { width: min(660px, calc(100% - 30px)); padding: clamp(30px, 5vw, 54px); border: 0; border-radius: 30px; color: var(--ink); background: #fff; box-shadow: 0 30px 90px rgba(17,28,37,.3); }
.modal::backdrop, .lightbox::backdrop { background: rgba(13,24,34,.72); backdrop-filter: blur(7px); }
.modal-close { position: absolute; top: 16px; right: 20px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--ink); background: var(--paper); font-size: 1.6rem; cursor: pointer; }
.modal h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.modal > p:not(.eyebrow) { color: var(--muted); }
.modal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.modal-form label:last-of-type, .modal-form .button { grid-column: 1 / -1; }
.modal-form input, .modal-form select { width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); background: #fff; }
.lightbox { width: min(900px, calc(100% - 30px)); height: min(92vh, 950px); padding: 22px; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.form-flash { position: fixed; z-index: 150; top: 100px; right: 24px; display: flex; max-width: 430px; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; color: #fff; box-shadow: var(--shadow); }
.form-flash-success { background: #168a50; }
.form-flash-error { background: #b83b3b; }
.form-flash button { border: 0; color: #fff; background: transparent; font-size: 1.4rem; cursor: pointer; }

.legal-page { min-height: 80vh; padding: 160px 0 100px; background: var(--paper); }
.legal-card { max-width: 900px; padding: clamp(34px, 7vw, 86px); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.legal-card h1 { font-size: clamp(2.5rem, 7vw, 5rem); }
.legal-card p { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1160px) {
    .header-phone { display: none; }
    .main-nav { gap: 15px; }
    .main-nav a { font-size: .61rem; }
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    :root { --container: min(calc(100vw - 34px), 760px); }
    .site-header { height: 72px; }
    .header-inner { gap: 12px; }
    .brand img { width: 130px; }
    .menu-toggle { display: block; order: 3; margin-left: 4px; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .main-nav { position: fixed; top: 72px; right: 0; left: 0; display: grid; gap: 0; align-content: start; justify-content: stretch; padding: 18px 24px 30px; border-top: 1px solid var(--line); background: rgba(255,255,255,.98); box-shadow: 0 20px 45px rgba(30,45,58,.14); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: .22s ease; }
    .main-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
    .main-nav a { padding: 12px 0; font-size: .8rem; }
    .main-nav a::after { bottom: 8px; transform-origin: left; }
    .header-actions { margin-left: auto; }
    .hero { min-height: 640px; }
    .split-layout, .service-feature, .education-hero, .advantages-layout, .contact-lower { grid-template-columns: 1fr; }
    .image-frame-tall { height: 520px; }
    .service-intro { grid-template-columns: 1fr; gap: 18px; }
    .service-photo { min-height: 430px; }
    .hr-header { grid-template-columns: 1fr; gap: 12px; }
    .hr-grid, .team-grid { grid-template-columns: 1fr; }
    .team-grid { max-width: 620px; margin-inline: auto; }
    .team-photo { aspect-ratio: .95; }
    .certificate-button { flex-basis: calc((100% - 16px) / 2); }
    .advantages-layout { gap: 38px; }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .contact-cards article { border-bottom: 1px solid rgba(255,255,255,.14); }
    .contact-cards article:nth-child(2) { border-right: 0; }
    .map-wrap iframe { min-height: 420px; }
}

@media (max-width: 640px) {
    :root { --container: calc(100vw - 28px); --radius: 20px; }
    body { font-size: 14px; }
    .section { padding: 78px 0; }
    h2 { font-size: clamp(2.15rem, 12vw, 3.5rem); }
    .header-actions { gap: 8px; }
    .language-switcher { width: 50px; }
    .hero { min-height: 620px; background-position: 58% 50%; }
    .hero-content { padding-top: 72px; }
    .hero-content { width: calc(100vw - 28px); }
    .hero h1 { font-size: clamp(1.95rem, 8.5vw, 2.4rem); }
    .hero-copy { font-size: .98rem; }
    .spectrum-grid, .detail-card ul, .course-grid, .advantages-grid, .pricing-grid, .contact-cards, .footer-grid, .form-row, .modal-form { grid-template-columns: 1fr; }
    .spectrum-item { grid-template-columns: 48px 1fr; padding: 22px 18px; }
    .image-frame-tall { height: 420px; }
    .team-grid { gap: 18px; }
    .certificate-button { flex-basis: 82%; }
    .service-photo { min-height: 330px; }
    .detail-card { padding: 26px 20px; }
    .hr-card { min-height: 280px; }
    .hr-card > span { margin-bottom: 42px; }
    .education-hero { min-height: 0; }
    .education-photo { height: 340px; }
    .course-card { min-height: 0; }
    .course-card h3 { margin-top: 40px; }
    .price-card { min-height: 390px; }
    .contact-cards article { min-height: 180px; border-right: 0; }
    .contact-cards article:last-child { border-bottom: 0; }
    .contact-cards h3 { margin-top: 28px; }
    .contact-form-wrap { padding: 30px 20px; }
    .footer-grid { gap: 30px; }
    .modal-form label:last-of-type, .modal-form .button { grid-column: auto; }
    .modal { padding: 38px 22px 28px; }
    .form-flash { right: 14px; left: 14px; top: 86px; }
    .floating-contact { right: 15px; width: 50px; height: 50px; }
    .floating-whatsapp { bottom: 78px; }
    .floating-phone { bottom: 16px; }
}

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