@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --background: #f5f9fc;
    --surface: #ffffff;
    --surface-soft: #eaf5fb;
    --text: #10263e;
    --muted: #5f7387;
    --line: #dce8f0;
    --blue: #0787c8;
    --blue-dark: #066fa6;
    --cyan: #18b8d6;
    --deep: #082945;
    --violet: #6263d9;
    --shadow: 0 24px 60px rgba(5, 50, 82, .12);
    --radius: 24px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--background); }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 16px; background: var(--deep); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-dark { background: var(--deep); color: #fff; }
.section-kicker { margin: 0 0 12px; color: var(--blue); font-size: 12px; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { margin-top: 0; }
h2 { margin-bottom: 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.055em; font-weight: 600; }
h3 { font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .5); border-bottom: 1px solid rgba(220, 232, 240, .72); backdrop-filter: blur(18px) saturate(135%); -webkit-backdrop-filter: blur(18px) saturate(135%); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand img { width: 65px; height: 54px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.brand-name { display: flex; gap: 5px; font-size: 18px; line-height: 1; letter-spacing: .055em; font-weight: 800; text-shadow: 0 1px 2px rgba(255, 255, 255, .9); }
.brand-name > span { color: var(--deep); }
.brand-name strong { color: var(--blue); font-weight: 800; }
.brand-copy small { color: #29485e; font-size: 9px; line-height: 1; letter-spacing: .09em; text-transform: uppercase; font-weight: 800; text-shadow: 0 1px 2px #fff, 0 0 6px rgba(255, 255, 255, .9); }
.desktop-nav { display: flex; align-items: center; gap: 3px; margin-left: auto; padding: 4px; border: 1px solid rgba(220, 232, 240, .8); border-radius: 12px; background: rgba(234, 245, 251, .65); }
.desktop-nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600; transition: color .2s, background-color .2s, box-shadow .2s; }
.desktop-nav a:hover { color: var(--blue-dark); background: rgba(255, 255, 255, .75); }
.desktop-nav a.is-active { color: var(--blue-dark); background: #fff; box-shadow: 0 4px 12px rgba(5, 50, 82, .08); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 21px; border: 0; border-radius: 13px; color: #fff; background: var(--blue); text-decoration: none; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 12px 26px rgba(7, 135, 200, .23); transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); background: var(--blue-dark); box-shadow: 0 16px 30px rgba(7, 135, 200, .28); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button-small { min-height: 42px; padding-inline: 17px; font-size: 13px; }
.button-secondary { color: var(--text); background: var(--surface); border: 1px solid var(--line); box-shadow: none; }
.button-secondary:hover { color: var(--blue); background: var(--surface); box-shadow: none; }
.button-white { color: var(--blue-dark); background: #fff; box-shadow: none; }
.button-white:hover { color: var(--deep); background: #fff; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); padding: 10px; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--text); border-radius: 3px; }
.mobile-nav { padding: 0 20px 20px; background: var(--surface); border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 14px 0; text-decoration: none; border-bottom: 1px solid var(--line); color: var(--muted); }
.mobile-nav .button { width: 100%; margin-top: 16px; }

.hero { min-height: calc(100vh - 79px); min-height: calc(100svh - 79px); position: relative; display: flex; align-items: stretch; padding: 54px 0 88px; overflow: hidden; background: radial-gradient(circle at 86% 20%, rgba(24, 184, 214, .18), transparent 27%), linear-gradient(145deg, #f8fbfe, #edf6fb); }
.hero-grid { min-height: calc(100vh - 221px); min-height: calc(100svh - 221px); display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 9px 13px; border: 1px solid #c8deea; border-radius: 999px; background: rgba(255, 255, 255, .86); color: var(--blue-dark); font-size: 12px; font-weight: 700; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(24, 184, 214, .14); }
.hero h1 { margin: 24px 0 22px; max-width: 720px; font-size: clamp(55px, 7vw, 88px); line-height: .96; letter-spacing: -.075em; font-weight: 600; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 620px; margin: 0 0 30px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; font-weight: 600; }
.hero-features li::before { content: "✓"; margin-right: 7px; color: var(--blue); }
.hero-visual { min-height: 100%; position: relative; display: grid; place-items: center; }
.hero-scene { width: min(100%, 547px); position: relative; display: grid; place-items: center; aspect-ratio: 547 / 456; }
.hero-glow { position: absolute; width: 400px; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(24, 184, 214, .18)); border: 1px solid #d5e9f2; box-shadow: 0 34px 80px rgba(5, 72, 110, .18); }
.hero-visual img { position: relative; z-index: 3; width: 100%; height: auto; aspect-ratio: 547 / 456; object-fit: contain; filter: drop-shadow(0 24px 20px rgba(5, 54, 87, .2)); animation: float 4.5s ease-in-out infinite; }
.hero-orbit { position: absolute; border: 1px dashed rgba(7, 135, 200, .32); border-radius: 50%; }
.orbit-one { width: 480px; height: 340px; transform: rotate(22deg); }
.orbit-two { width: 350px; height: 470px; transform: rotate(-20deg); }
.tech-dot { position: absolute; z-index: 4; border-radius: 50%; background: var(--cyan); box-shadow: 0 8px 20px rgba(7, 135, 200, .25); }
.dot-one { width: 17px; height: 17px; top: 15%; left: 9%; }
.dot-two { width: 11px; height: 11px; right: 7%; top: 35%; background: var(--blue); }
.dot-three { width: 22px; height: 22px; bottom: 12%; right: 20%; background: #8fdbea; }
.hero-scroll-cue { width: 72px; height: 72px; position: absolute; bottom: 8px; left: 50%; z-index: 5; display: grid; place-items: center; color: var(--blue); text-decoration: none; transform: translateX(-50%); transition: opacity .12s linear; will-change: opacity; }
.hero-scroll-cue::before { content: ""; position: absolute; inset: 0; border: 1px dashed rgba(7,135,200,.42); border-radius: 50%; animation: scroll-orbit 12s linear infinite; }
.hero-scroll-arrow { width: 56px; height: 56px; position: relative; z-index: 1; display: grid; place-items: center; border: 1px solid rgba(189,215,229,.95); border-radius: 50%; background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(221,243,250,.82)); box-shadow: 0 10px 24px rgba(5,50,82,.13), inset 0 1px 0 #fff; transition: transform .25s, box-shadow .25s; }
.hero-scroll-arrow svg { width: 27px; height: 27px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: scroll-chevron 1.8s ease-in-out infinite; }
.hero-scroll-cue:hover .hero-scroll-arrow { transform: translateY(2px) scale(1.05); box-shadow: 0 14px 28px rgba(5,50,82,.18), inset 0 1px 0 #fff; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes scroll-orbit { to { transform: rotate(360deg); } }
@keyframes scroll-chevron { 0%,100% { translate: 0 0; } 50% { translate: 0 4px; } }

.about { padding: 104px 0; }
.about-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 72px; align-items: stretch; }
.about-kicker { color: #70dded; }
.motto-card { min-height: 480px; height: 100%; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; border-radius: var(--radius); background: linear-gradient(145deg, var(--blue), var(--cyan)); box-shadow: 0 30px 70px rgba(0, 0, 0, .18); }
.motto-card::before { content: ""; position: absolute; width: 320px; height: 320px; top: -130px; right: -120px; border: 50px solid rgba(255, 255, 255, .11); border-radius: 50%; }
.about-slider { position: absolute; z-index: 1; top: 30px; right: 30px; left: 30px; height: 286px; overflow: hidden; border-radius: 16px; background: #06304f; box-shadow: 0 14px 30px rgba(2, 28, 46, .2); }
.about-slider img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; opacity: 0; transition: opacity .65s ease; }
.about-slider img.active { opacity: 1; }
.about-slider-dots { position: absolute; z-index: 3; top: 334px; right: 0; left: 0; display: flex; justify-content: center; gap: 8px; }
.about-slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .42); cursor: pointer; transition: width .2s, background-color .2s; }
.about-slider-dots button.active { width: 22px; border-radius: 5px; background: #fff; }
.motto-card p { position: relative; z-index: 2; margin: 0; font-size: clamp(30px, 3.3vw, 42px); line-height: 1.08; letter-spacing: -.045em; }
.motto-card strong { font-weight: 700; }
.about-copy h2 { color: #fff; }
.about-copy > p:not(.section-kicker) { color: #bfd0de; font-size: 15px; line-height: 1.72; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; margin: 25px 0 0; list-style: none; }
.about-facts li { padding: 15px; border-radius: 13px; background: #123c5d; color: #e0eef7; font-size: 12px; }

.section-heading { margin-bottom: 42px; }
.section-heading > div, .method-heading > div { max-width: 850px; }
.section-heading h2, .method-heading h2 { max-width: 820px; }
.section-heading > div > p:last-child, .method-heading > div > p:last-child { max-width: 680px; margin: 20px 0 0; padding-left: 18px; border-left: 3px solid var(--cyan); color: var(--muted); font-size: 14px; line-height: 1.65; }
.direction-grid { display: flex; gap: 7px; overflow: hidden; border: 7px solid #fff; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.direction-card { min-width: 0; min-height: 570px; position: relative; flex: 1 1 0; overflow: hidden; border-radius: 19px; color: #fff; background: var(--deep); transition: flex-grow .48s cubic-bezier(.2,.75,.25,1); }
.direction-grid:hover .direction-card { flex-grow: .82; }
.direction-grid .direction-card:hover, .direction-grid .direction-card:focus-within { flex-grow: 1.65; }
.direction-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .45s ease; }
.direction-card-featured img { object-position: 50% 38%; }
.direction-card:nth-child(2) img { object-position: 52% center; }
.direction-card:nth-child(3) img { object-position: 47% center; }
.direction-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 25, 42, .02) 30%, rgba(3, 25, 42, .94) 100%); }
.direction-card:hover img, .direction-card:focus-within img { transform: scale(1.035); }
.direction-content { max-width: calc(100% - 34px); position: absolute; z-index: 2; right: 22px; bottom: 24px; left: 22px; padding-right: 58px; }
.direction-code { margin: 0 0 7px; color: #fff; font-size: 28px; line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.direction-card h3 { margin: 0 0 18px; color: #fff; font-size: 15px; line-height: 1.35; letter-spacing: -.015em; font-weight: 500; }
.direction-description { width: clamp(390px, 36vw, 470px); height: 86px; overflow: hidden; margin: 0 0 -86px; color: #d5e5ee; font-size: 11px; line-height: 1.55; opacity: 0; transform: translateY(12px); transition: margin-bottom .45s cubic-bezier(.2,.75,.25,1), opacity .22s ease .12s, transform .45s cubic-bezier(.2,.75,.25,1); }
.direction-card:hover .direction-description, .direction-card:focus-within .direction-description { margin-bottom: 18px; opacity: 1; transform: translateY(0); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; list-style: none; }
.tags li { padding: 7px 13px; border: 1px solid rgba(87, 211, 235, .8); border-radius: 999px; color: #fff; background: rgba(8, 41, 69, .34); font-size: 10px; font-weight: 600; backdrop-filter: blur(8px); }
.direction-action { width: 48px; height: 48px; position: absolute; z-index: 3; right: 20px; bottom: 21px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--deep); background: #fff; font-size: 24px; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.18); transition: transform .2s, background-color .2s; }
.direction-action svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.direction-action:hover, .direction-action:focus-visible { transform: translateY(-2px) scale(1.05); color: var(--blue-dark); background: #eaf8fc; }
.direction-controls { display: none; }

.method-section { overflow: hidden; background: var(--surface-soft); }
.method-heading { margin-bottom: 0; }
.steps-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 55px; }
.steps-grid::before { content: ""; position: absolute; top: 34px; right: 9%; left: 9%; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); opacity: .32; }
.step-card { min-height: 270px; position: relative; z-index: 1; padding: 24px; border: 1px solid var(--line); border-radius: 20px; color: var(--text); background: var(--surface); box-shadow: 0 14px 38px rgba(5, 50, 82, .07); transition: transform .3s, box-shadow .3s, border-color .3s, background-color .3s, color .3s; }
.step-card:nth-child(even) { margin-top: 28px; }
.step-card:hover, .step-card:focus-within { z-index: 2; transform: translateY(-7px); border-color: var(--deep); color: #fff; background: var(--deep); box-shadow: 0 24px 52px rgba(5, 50, 82, .22); }
.step-card:nth-child(even):hover, .step-card:nth-child(even):focus-within { transform: translateY(-7px); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 43px; }
.step-number { color: var(--blue); font-size: 36px; line-height: 1; letter-spacing: -.06em; font-weight: 700; opacity: .23; transition: opacity .25s; }
.step-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: var(--blue); background: var(--surface-soft); font-size: 20px; box-shadow: 0 0 0 8px var(--surface); transition: color .25s, background-color .25s; }
.step-code { font-size: 12px; font-weight: 700; }
.step-card:hover .step-number, .step-card:focus-within .step-number { color: #70dded; opacity: 1; }
.step-card:hover .step-icon, .step-card:focus-within .step-icon { color: var(--deep); background: #70dded; box-shadow: 0 0 0 8px #123f5f; }
.step-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.step-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; transition: color .3s; }
.step-card:hover p, .step-card:focus-within p { color: #c5d9e6; }

.carousel-shell { position: relative; max-width: 100%; overflow: hidden; padding: 14px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.58); box-shadow: 0 16px 45px rgba(5,50,82,.055); }
.carousel-shell-gallery { background: rgba(255,255,255,.46); }
.carousel-toolbar { position: absolute; z-index: 5; inset: 0; pointer-events: none; }
.carousel-toolbar button { width: 48px; height: 48px; position: absolute; top: 50%; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: #fff; background: rgba(8,41,69,.9); box-shadow: 0 10px 25px rgba(5,35,56,.28); font-size: 18px; cursor: pointer; pointer-events: auto; transform: translateY(-50%); transition: background .2s, transform .2s; }
.carousel-toolbar button[data-carousel-prev] { left: 24px; }
.carousel-toolbar button[data-carousel-next] { right: 24px; }
.carousel-toolbar button:hover { background: var(--blue); transform: translateY(-50%) scale(1.06); }
.carousel-track { width: 100%; display: flex; overflow-x: auto; gap: 18px; padding: 0; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.news-grid { padding-right: 2px; }
.news-card { flex: 0 0 min(390px, calc(100vw - 54px)); min-height: 500px; position: relative; overflow: hidden; display: block; padding: 0; border: 0; border-radius: var(--radius); color: #fff; background: var(--deep); text-align: left; text-decoration: none; font: inherit; cursor: pointer; scroll-snap-align: start; box-shadow: 0 20px 50px rgba(5, 50, 82, .14); transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 26px 58px rgba(5, 50, 82, .18); }
.news-art { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #087fbd, #18b8d6); }
.news-art::before { content: ""; position: absolute; z-index: 1; width: 250px; height: 250px; top: -100px; right: -90px; border: 42px solid rgba(255, 255, 255, .1); border-radius: 50%; }
.news-art::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, rgba(3,25,42,.03) 28%, rgba(3,25,42,.32) 55%, rgba(3,25,42,.96) 100%); }
.news-art span { position: relative; z-index: 1; font-size: 82px; }
.news-art img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .45s ease; }
.news-card:hover .news-art img { transform: scale(1.035); }
.news-art-violet { background: linear-gradient(135deg, var(--violet), #243d67); }
.news-body { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; padding: 32px 28px 28px; }
.news-meta { display: inline-flex; margin: 0 0 10px; padding: 6px 9px; border: 1px solid rgba(112,221,237,.58); border-radius: 999px; color: #d5f8fc; background: rgba(8,41,69,.34); font-size: 9px; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(8px); }
.news-body h3 { margin: 0 0 10px; color: #fff; font-size: 27px; line-height: 1.14; letter-spacing: -.035em; }
.news-body > p:last-child { display: -webkit-box; overflow: hidden; margin: 0; color: #d4e4ed; font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.content-status { margin: 20px 0 0; color: var(--muted); font-size: 13px; }

.gallery-section { background: var(--surface-soft); }
.gallery-grid { padding-right: 2px; }
.gallery-item, .gallery-placeholder { flex: 0 0 min(540px, 76vw); aspect-ratio: 16 / 10; overflow: hidden; position: relative; padding: 0; border: 0; border-radius: 20px; background: var(--deep); text-align: left; scroll-snap-align: start; box-shadow: 0 18px 42px rgba(5,50,82,.12); }
.gallery-item { cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-caption { position: absolute; inset: auto 0 0; padding: 70px 20px 20px; color: #fff; background: linear-gradient(transparent, rgba(3, 23, 38, .88)); }
.gallery-caption strong { display: block; font-size: 15px; }
.gallery-caption span { display: block; margin-top: 4px; color: #d1e2ec; font-size: 11px; }
.gallery-placeholder { display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; background: linear-gradient(145deg, #0b6d9d, var(--deep)); }
.gallery-placeholder:nth-child(2) { background: linear-gradient(145deg, var(--violet), #243d67); }
.gallery-placeholder:nth-child(3) { background: linear-gradient(145deg, #1298b5, #0e3d5e); }
.gallery-placeholder::before { content: ""; position: absolute; width: 200px; height: 200px; top: -60px; right: -60px; border: 35px solid rgba(255,255,255,.1); border-radius: 50%; }
.gallery-placeholder span { font-size: 54px; opacity: .25; }
.gallery-placeholder p { position: relative; margin: auto 0 0; font-size: 16px; }

.media-dialog, .news-dialog { padding: 0; border: 0; color: #fff; background: transparent; }
.media-dialog::backdrop, .news-dialog::backdrop { background: rgba(2, 15, 25, .92); backdrop-filter: blur(8px); }
.media-dialog[open] { width: min(1180px, calc(100% - 110px)); height: min(820px, calc(100dvh - 60px)); display: grid; place-items: center; overflow: visible; }
.media-dialog figure { width: 100%; max-height: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; }
.media-dialog figure img { max-width: 100%; max-height: calc(100dvh - 150px); border-radius: 16px; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.media-dialog figcaption { width: min(900px, 100%); display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; padding: 17px 4px 0; }
.media-dialog figcaption strong, .media-dialog figcaption span { display: block; }
.media-dialog figcaption strong { font-size: 14px; }
.media-dialog figcaption span { margin-top: 3px; color: #b8cad6; font-size: 11px; }
.media-dialog figcaption small { color: #9bb4c4; white-space: nowrap; }
.media-close { width: 44px; height: 44px; position: fixed; z-index: 3; top: 22px; right: 22px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(8,41,69,.72); font-size: 25px; cursor: pointer; }
.media-arrow { width: 50px; height: 50px; position: fixed; z-index: 3; top: 50%; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #fff; background: rgba(8,41,69,.72); font-size: 20px; cursor: pointer; transform: translateY(-50%); }
.media-prev { left: 22px; }
.media-next { right: 22px; }
.news-dialog[open] { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; border-radius: 22px; color: var(--text); background: var(--surface); box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.news-dialog > img { width: 100%; max-height: 360px; object-fit: cover; }
.news-dialog-body { padding: 36px; }
.news-dialog-body .news-meta { color: var(--blue); }
.news-dialog-body h2 { margin: 0 0 15px; font-size: clamp(31px, 5vw, 48px); }
.news-dialog-summary { color: var(--muted); font-size: 15px; line-height: 1.65; }
.news-dialog-content { margin-top: 25px; padding-top: 24px; border-top: 1px solid var(--line); color: #334e62; font-size: 14px; line-height: 1.75; white-space: pre-line; }

.contact-section { background: var(--surface); }
.contacts-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 20px; margin-top: 40px; }
.contact-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--background); }
.contact-card h3 { margin-bottom: 22px; font-size: 25px; letter-spacing: -.03em; }
.contact-card dl { margin: 0 0 24px; }
.contact-card dl > div { padding: 15px 0; border-top: 1px solid var(--line); }
.contact-card dt { margin-bottom: 5px; color: var(--text); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.contact-card dd { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.contact-card dd a { text-decoration: none; }
.social-links { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.social-links a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); background: var(--surface); transition: transform .2s, border-color .2s, color .2s; }
.social-links a:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue-dark); }
.social-links svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-links [data-social="telegram"] svg { fill: currentColor; stroke: none; }
.map-card { min-height: 430px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-soft); }
.map-card iframe { width: 100%; height: 100%; min-height: 430px; border: 0; filter: saturate(.78); }
.map-link { position: absolute; right: 18px; bottom: 18px; padding: 13px 16px; border-radius: 11px; color: #fff; background: var(--blue); text-decoration: none; font-size: 12px; font-weight: 700; box-shadow: 0 12px 26px rgba(7,135,200,.24); }

.cta-section { padding: 0 0 76px; background: var(--surface); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 47px; border-radius: 27px; color: #fff; background: linear-gradient(120deg, var(--blue), var(--cyan)); overflow: hidden; position: relative; }
.cta-inner::after { content: ""; position: absolute; width: 290px; height: 290px; top: -170px; right: 25%; border: 48px solid rgba(255,255,255,.1); border-radius: 50%; }
.cta-inner > * { position: relative; z-index: 2; }
.cta-inner .section-kicker { color: #d8f7fb; }
.cta-inner h2 { max-width: 760px; color: #fff; font-size: clamp(32px, 4.4vw, 52px); }
.cta-inner p:last-child { margin: 14px 0 0; color: #dff7fb; font-size: 13px; }
.site-footer { padding: 32px 0 25px; border-top: 1px solid var(--line); background: var(--background); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 17px; color: var(--muted); font-size: 11px; text-align: center; }
.footer-socials { display: flex; align-items: center; justify-content: center; gap: 13px; }
.footer-socials a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); background: var(--surface); transition: transform .2s, border-color .2s, color .2s; }
.footer-socials a:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--blue-dark); }
.footer-socials svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-socials a:last-child svg { fill: currentColor; stroke: none; }
.footer-meta { display: flex; align-items: center; gap: 10px; margin: 0; }
.footer-meta span + span { padding-left: 10px; border-left: 1px solid var(--line); }
.footer-links { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.footer-links a { color: var(--blue-dark); font-size: 14px; text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.footer-requisites { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.footer-requisites[hidden] { display: none; }
.footer-requisites p { margin: 0; }

.enrollment-dialog { width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 29px; border: 0; border-radius: var(--radius); color: var(--text); background: var(--surface); box-shadow: 0 32px 100px rgba(0, 0, 0, .28); }
.enrollment-dialog::backdrop { background: rgba(3, 18, 30, .72); backdrop-filter: blur(5px); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.dialog-header h2 { font-size: 34px; }
.dialog-header > div > p:last-child { max-width: 470px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.dialog-close { flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: transparent; font-size: 24px; cursor: pointer; }
#enrollment-form { margin-top: 25px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 600; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--background); outline: none; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7, 135, 200, .11); }
.form-grid textarea { min-height: 84px; resize: vertical; }
.form-wide { grid-column: 1 / -1; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin: 15px 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.consent input { margin-top: 1px; }
.form-message { min-height: 19px; margin: 0 0 8px; color: #b83c3c; font-size: 12px; }
.form-submit { width: 100%; }
.form-success { padding: 35px 0 15px; text-align: center; }
.form-success > span { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 17px; border-radius: 50%; color: #fff; background: var(--blue); font-size: 27px; }
.form-success h3 { margin-bottom: 8px; font-size: 27px; }
.form-success p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }

@media (max-width: 1080px) {
    .desktop-nav { display: none; }
    .menu-button, .mobile-nav { display: none !important; }
    .header-action { margin-left: auto; }
    .hero { min-height: 0; }
    .hero-grid { min-height: 0; grid-template-columns: 1fr; }
    .hero-copy { max-width: 820px; }
    .hero h1 { max-width: 780px; font-size: clamp(58px, 8vw, 82px); }
    .hero-visual { display: none; }
    .hero-scroll-cue { display: none; }
    .about-grid { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 42px; }
    .motto-card { min-height: 570px; }
    .about-slider { height: 360px; }
    .about-slider-dots { top: 410px; }
    .motto-card p { width: 100%; text-align: left; font-size: clamp(24px, 3.2vw, 34px); }
    .direction-grid { display: grid; grid-template-columns: 1fr 1fr; }
    .direction-card { min-height: 410px; border-radius: 19px; }
    .direction-description { width: 100%; height: 100px; margin-bottom: -100px; }
    .direction-card:hover .direction-description, .direction-card:focus-within .direction-description { margin-bottom: 18px; }
    .direction-grid:hover .direction-card, .direction-grid .direction-card:hover, .direction-grid .direction-card:focus-within { flex-grow: 1; }
    .direction-card:first-child { grid-column: 1 / -1; min-height: 480px; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid::before { display: none; }
    .step-card:nth-child(even) { margin-top: 0; }
    .contacts-grid { grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); }
}

@media (min-width: 821px) and (max-width: 1080px) {
    .desktop-nav { display: flex; }
    .desktop-nav a { padding-inline: 9px; font-size: 11px; }
    .header-inner { gap: 16px; }
    .header-action { margin-left: 0; }
    .hero { min-height: calc(100vh - 79px); min-height: calc(100svh - 79px); padding: 54px 0 88px; }
    .hero-grid { min-height: calc(100vh - 221px); min-height: calc(100svh - 221px); grid-template-columns: minmax(0, 1.22fr) minmax(300px, .78fr); gap: 28px; }
    .hero-copy { max-width: none; }
    .hero h1 { max-width: 590px; font-size: clamp(58px, 6.5vw, 70px); }
    .hero-lead { font-size: 16px; }
    .hero-visual { min-height: 100%; display: grid; }
    .hero-scene { width: min(100%, 350px); }
    .hero-glow { width: 275px; }
    .orbit-one { width: 335px; height: 237px; }
    .orbit-two { width: 245px; height: 329px; }
    .hero-scroll-cue { display: grid; }
    .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
    .motto-card { min-height: 540px; }
    .about-slider { right: 42px; left: 42px; height: 400px; }
    .about-slider-dots { top: 450px; }
    .motto-card p { padding-inline: 4px; text-align: left; font-size: clamp(34px, 3.7vw, 40px); line-height: 1.08; letter-spacing: -.035em; }
}

@media (min-width: 1081px) and (max-width: 1440px) {
    .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
    .about-slider { right: 42px; left: 42px; }
}

@media (max-width: 820px) {
    .section, .about { padding: 84px 0; }
    .hero { min-height: 0; padding: 62px 0 72px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 720px; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .motto-card { min-height: 570px; height: auto; }
    .motto-card p { width: 100%; text-align: left; font-size: clamp(28px, 6.2vw, 44px); }
    .direction-card { cursor: pointer; }
    .direction-card:hover .direction-description,
    .direction-card:focus-within .direction-description { margin-bottom: -100px; opacity: 0; transform: translateY(12px); }
    .direction-card.is-expanded .direction-description { margin-bottom: 18px; opacity: 1; transform: translateY(0); }
    .contacts-grid { grid-template-columns: 1fr; }
    .map-card, .map-card iframe { min-height: 360px; }
    .cta-inner { padding: 38px; }
}

@media (min-width: 821px) {
    .direction-card { cursor: pointer; }
    .direction-card:hover .direction-action,
    .direction-card:focus-within .direction-action { transform: translateY(-2px) scale(1.05); color: var(--blue-dark); background: #eaf8fc; }
}

@media (max-width: 720px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section, .about { padding: 64px 0; }
    .header-inner { min-height: 68px; }
    .brand img { width: 54px; height: 45px; }
    .brand-name { gap: 4px; font-size: 15px; }
    .brand-copy small { font-size: 7px; letter-spacing: .08em; }
    .header-action { display: inline-flex; min-height: 40px; padding-inline: 14px; font-size: 12px; box-shadow: 0 8px 20px rgba(7, 135, 200, .2); }
    .hero { padding: 44px 0 54px; }
    .eyebrow { max-width: 100%; padding: 8px 11px; font-size: 10px; line-height: 1.4; }
    .eyebrow span { flex: 0 0 auto; }
    .hero h1 { margin: 20px 0 18px; font-size: clamp(44px, 14.5vw, 62px); line-height: .98; }
    .hero-lead { margin-bottom: 24px; font-size: 15px; line-height: 1.6; }
    .hero-actions { gap: 10px; }
    .hero-actions .button { width: 100%; }
    .hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 22px; }
    h2 { font-size: clamp(34px, 10.5vw, 46px); line-height: 1.08; }
    .motto-card { min-height: 400px; padding: 24px; }
    .about-slider { top: 22px; right: 22px; left: 22px; height: 251px; }
    .about-slider-dots { top: 290px; }
    .about-copy > p:not(.section-kicker) { font-size: 14px; }
    .about-facts { grid-template-columns: 1fr; }
    .section-heading { margin-bottom: 30px; }
    .section-heading > div > p:last-child, .method-heading > div > p:last-child { margin-top: 15px; padding-left: 13px; font-size: 13px; }
    .direction-grid { display: flex; gap: 8px; overflow-x: auto; margin-inline: -20px; padding: 6px 20px 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .direction-grid::-webkit-scrollbar { display: none; }
    .direction-card, .direction-card:first-child, .direction-card:last-child { flex: 0 0 min(84vw, 390px); min-height: 500px; border-radius: 20px; scroll-snap-align: center; }
    .direction-content { right: 20px; bottom: 22px; left: 20px; }
    .direction-code { font-size: 26px; }
    .direction-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; }
    .direction-controls button { width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); background: #fff; font-size: 20px; box-shadow: 0 9px 22px rgba(5,50,82,.1); cursor: pointer; }
    .direction-controls span { min-width: 42px; color: var(--muted); text-align: center; font-size: 12px; font-weight: 600; }
    .direction-controls strong { color: var(--blue); font-size: 16px; }
    .steps-grid { grid-template-columns: 1fr; margin-top: 36px; }
    .step-card { min-height: 0; padding: 21px; }
    .step-top { margin-bottom: 25px; }
    .carousel-shell { margin-inline: -14px; padding: 8px 8px 62px; border-right: 0; border-left: 0; border-radius: 0; }
    .news-grid, .gallery-grid { margin-right: 0; padding-right: 0; }
    .carousel-track { gap: 10px; }
    .news-card { flex-basis: calc(100vw - 44px); min-height: 440px; border-radius: 18px; }
    .news-body { padding: 28px 22px 23px; }
    .news-body h3 { font-size: 21px; }
    .carousel-toolbar button { width: 42px; height: 42px; top: auto; bottom: 12px; transform: none; }
    .carousel-toolbar button[data-carousel-prev] { left: calc(50% - 49px); }
    .carousel-toolbar button[data-carousel-next] { right: calc(50% - 49px); }
    .carousel-toolbar button:hover { transform: scale(1.05); }
    .gallery-item, .gallery-placeholder { flex-basis: calc(100vw - 44px); aspect-ratio: 4 / 3; border-radius: 16px; }
    .media-dialog[open] { width: calc(100% - 24px); height: calc(100dvh - 90px); }
    .media-arrow { width: 42px; height: 42px; top: auto; bottom: 16px; transform: none; }
    .media-prev { left: calc(50% - 50px); }
    .media-next { right: calc(50% - 50px); }
    .media-dialog figcaption { padding-bottom: 65px; }
    .news-dialog[open] { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
    .news-dialog-body { padding: 26px 20px; }
    .contact-card { padding: 22px; border-radius: 18px; }
    .contact-card .button { width: 100%; }
    .map-card, .map-card iframe { min-height: 320px; }
    .map-link { right: 12px; bottom: 12px; }
    .cta-section { padding-bottom: 52px; }
    .cta-inner { flex-direction: column; align-items: flex-start; gap: 26px; padding: 26px 22px; border-radius: 20px; }
    .cta-inner .button { width: 100%; }
    .footer-inner p { margin: 0; }
    .enrollment-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 22px 18px; border-radius: 18px; }
    .dialog-header { gap: 12px; }
    .dialog-header h2 { font-size: 30px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-wide { grid-column: auto; }
}

@media (min-width: 721px) and (max-width: 820px) {
    .motto-card p { text-align: center; }
}

@media (max-width: 380px) {
    .container { width: min(calc(100% - 22px), var(--container)); }
    .brand-copy { display: none; }
    .hero h1 { font-size: 43px; }
    .hero-features { grid-template-columns: 1fr; }
    .carousel-shell { margin-inline: -11px; }
    .news-card, .gallery-item, .gallery-placeholder { flex-basis: calc(100vw - 34px); }
    .media-dialog figcaption { gap: 10px; }
}

@media (hover: none) {
    .direction-card:hover, .direction-card:focus-within, .step-card:hover, .news-card:hover { transform: none; }
}

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