@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--graphite:#08131f;--navy:#0d2942;--blue:#164f7b;--steel:#9caeba;--ice:#eaf3f7;--bg:#f4f7f9;--cyan:#55d5ff;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--graphite);font-family:Manrope,Inter,Segoe UI,sans-serif;line-height:1.6}a{color:inherit}.container{width:min(1120px,calc(100% - 40px));margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:16px;background:var(--white);padding:8px 12px;z-index:5}.site-header{background:var(--white);border-bottom:1px solid #dbe5ea}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:16px 0}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:800;color:var(--navy)}.brand img{width:54px;height:54px;object-fit:contain}.site-header nav,.site-footer nav{display:flex;gap:20px;flex-wrap:wrap}.site-header nav a,.site-footer nav a{font-size:14px;text-decoration:none}.site-header nav a:hover,.site-footer nav a:hover{color:var(--blue);text-decoration:underline}.hero{background:linear-gradient(135deg,var(--navy),var(--graphite));color:var(--white);padding:64px 0 72px}.eyebrow{text-transform:uppercase;letter-spacing:.13em;color:var(--cyan);font-size:12px;font-weight:800}.hero h1{font-size:clamp(26px,3.2vw,38px);line-height:1.05;max-width:850px;margin:16px 0 24px}.lead{font-size:clamp(15px,1.4vw,18px);max-width:760px;color:#d5e4ec}.button{display:inline-flex;gap:12px;align-items:center;margin-top:24px;background:var(--cyan);color:var(--graphite);padding:14px 20px;border-radius:8px;text-decoration:none;font-weight:800}.section{padding:64px 0}.section h2{font-size:clamp(22px,2.5vw,32px);line-height:1.1;margin:0 0 28px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.card{display:flex;justify-content:space-between;gap:12px;background:var(--white);border:1px solid #dbe5ea;border-radius:12px;padding:22px;text-decoration:none;font-weight:700;min-height:88px;transition:transform .2s,border-color .2s}.card:hover,.card:focus{transform:translateY(-2px);border-color:var(--blue)}.simple-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;padding:0;list-style:none}.simple-list li{background:var(--white);border-left:4px solid var(--blue);padding:16px 18px}.site-footer{background:var(--graphite);color:var(--white);padding:36px 0}.footer-inner{display:flex;justify-content:space-between;gap:32px}.footer-inner p{color:var(--steel);margin:.5rem 0 0}.footer-inner nav{max-width:520px}.footer-inner nav a{color:#d5e4ec}@media(max-width:760px){.header-inner,.footer-inner{align-items:flex-start;flex-direction:column}.site-header nav{gap:12px}.hero{padding:64px 0 72px}.container{width:min(100% - 28px,1120px)}}
/* Решения: выразительная иерархия карточек */
.cards .card{position:relative;overflow:hidden;min-height:116px;align-items:flex-end;background:linear-gradient(145deg,#fff 0%,#f7fbfd 100%)}
.cards .card::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--blue);transition:width .25s ease}
.cards .card:hover::before,.cards .card:focus::before{width:100%;opacity:.08}
.cards .card:first-child{grid-column:span 2;min-height:164px;background:linear-gradient(135deg,var(--navy),var(--blue));color:var(--white);font-size:16px}
.cards .card:first-child::before{background:var(--cyan);opacity:1}
.cards .card span{position:relative;z-index:1}
.cta-section{padding:72px 0;background:var(--ice)}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:32px}.cta-inner h2{font-size:clamp(30px,4vw,52px);line-height:1.05;margin:10px 0 12px}.cta-inner p:not(.eyebrow){max-width:560px;margin:0;color:#355268;font-size:18px}
@media(max-width:760px){.cards .card:first-child{grid-column:span 1}.cta-inner{align-items:flex-start;flex-direction:column}}
.section--org .cards{grid-template-columns:repeat(2,minmax(220px,1fr));max-width:760px;margin:0 auto}.section--org .card{min-height:76px;align-items:center;justify-content:center;text-align:center;font-size:15px;padding:16px 22px}.section--org .card:first-child{grid-column:auto;min-height:76px;background:var(--white);color:var(--graphite);font-size:15px}.section--org .card::before{display:none}.section--org .card:hover,.section--org .card:focus{background:var(--ice);transform:translateY(-2px)}
@media(max-width:760px){.section--org .cards{grid-template-columns:1fr}}
/* Компактные кнопки блока «Об организации» */
.hero + .section + .section .cards{grid-template-columns:repeat(2,minmax(220px,1fr));max-width:760px;margin:0 auto}.hero + .section + .section .card{min-height:76px;align-items:center;justify-content:center;text-align:center;font-size:15px;padding:16px 22px}.hero + .section + .section .card:first-child{grid-column:auto;min-height:76px;background:var(--white);color:var(--graphite);font-size:15px}.hero + .section + .section .card::before{display:none}.hero + .section + .section .card:hover,.hero + .section + .section .card:focus{background:var(--ice);transform:translateY(-2px)}
@media(max-width:760px){.hero + .section + .section .cards{grid-template-columns:1fr}}
/* Hover блока «Об организации» в стиле брендовой карточки */
.hero + .section + .section .card:hover,.hero + .section + .section .card:focus{background:var(--navy);color:var(--white);border-color:var(--navy);transform:translateY(-3px);box-shadow:0 12px 28px rgba(8,19,31,.16)}
.hero + .section + .section .card:hover span:last-child,.hero + .section + .section .card:focus span:last-child{color:var(--cyan)}
/* Вариант 1: центрированный блок «Об организации» */
.hero + .section + .section{text-align:center;padding-top:48px;padding-bottom:56px}.hero + .section + .section h2{margin-bottom:24px}.hero + .section + .section .cards{display:flex;justify-content:center;align-items:stretch;gap:14px}.hero + .section + .section .card{width:min(350px,42vw);min-height:68px}.hero + .section + .section .card:first-child{width:min(350px,42vw);min-height:68px}
@media(max-width:760px){.hero + .section + .section .cards{flex-direction:column;align-items:center}.hero + .section + .section .card,.hero + .section + .section .card:first-child{width:min(100%,420px)}}
/* Единая иерархия секций и порядок CTA */
main{display:flex;flex-direction:column}main>.hero{order:1}main>.section{order:2}main>.cta-section{order:3}.hero + .section + .section{order:4}.section h2,.cta-inner h2{font-size:clamp(22px,2.5vw,32px);line-height:1.1}.cta-inner h2{margin:10px 0 12px}
.site-header{position:sticky;top:0;z-index:20;box-shadow:0 2px 16px rgba(8,19,31,.06)}.menu-toggle{display:none;background:transparent;border:1px solid #c7d6de;border-radius:8px;padding:8px;width:42px;height:42px;cursor:pointer}.menu-toggle span:not(.sr-only){display:block;width:20px;height:2px;margin:3px auto;background:var(--navy)}.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}
@media(max-width:760px){.menu-toggle{display:block;margin-left:auto}.header-inner{position:relative}.site-header nav{display:none;width:100%;padding:10px 0 4px;flex-direction:column;gap:8px}.site-header nav.is-open{display:flex}.site-header nav a{padding:8px 0}.header-inner{flex-wrap:wrap}}
@media(max-width:760px){.header-inner{flex-wrap:nowrap;gap:10px;padding:10px 0}.brand{min-width:0;gap:8px;flex:1}.brand span{font-size:12px;line-height:1.15}.brand img{width:42px;height:42px;flex:none}.menu-toggle{flex:none;margin-left:0}.site-header nav{position:absolute;left:0;right:0;top:62px;background:var(--white);padding:12px 14px;border:1px solid #dbe5ea;border-radius:0 0 10px 10px;box-shadow:0 10px 20px rgba(8,19,31,.1)}}
.theme-toggle{border:1px solid #c7d6de;background:transparent;color:var(--navy);border-radius:8px;width:40px;height:40px;font-size:20px;line-height:1;cursor:pointer;flex:none}.theme-toggle:hover,.theme-toggle:focus{background:var(--ice);outline:2px solid var(--cyan);outline-offset:2px}.dark-theme body{background:#07111c;color:#edf5f8}.dark-theme .site-header,.dark-theme .card,.dark-theme .simple-list li{background:#0d2032;color:#edf5f8;border-color:#24435b}.dark-theme .brand,.dark-theme .site-header nav a{color:#edf5f8}.dark-theme .section--org .card:first-child{background:#0d2032;color:#edf5f8}.dark-theme .section--org .card:hover,.dark-theme .section--org .card:focus{background:#164f7b;color:#fff}.dark-theme .lead,.dark-theme .cta-inner p:not(.eyebrow){color:#c4d7e1}.dark-theme .cta-section{background:#10283d}.dark-theme .theme-toggle{color:#55d5ff;border-color:#37627c}.dark-theme .theme-toggle:hover,.dark-theme .theme-toggle:focus{background:#164f7b}
@media(max-width:760px){.theme-toggle{margin-left:auto}.menu-toggle{margin-left:0}}
.hero h1,.hero .lead{transition:opacity .25s ease,transform .25s ease}.hero-fade{opacity:0;transform:translateY(5px)}
@media(min-width:761px){.header-inner .brand{order:1}.header-inner nav{order:2;margin-left:auto}.header-inner .theme-toggle{order:3;margin-left:8px}}
@media(max-width:760px){.header-inner .brand{order:1}.header-inner .theme-toggle{order:2}.header-inner .menu-toggle{order:3}}
.mobile-bottom-nav{display:none}
@media(max-width:760px){.header-inner .theme-toggle{display:none}.mobile-bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(4,1fr);left:0;right:0;bottom:0;z-index:30;background:rgba(255,255,255,.96);border-top:1px solid #dbe5ea;box-shadow:0 -6px 18px rgba(8,19,31,.1);padding:7px 8px calc(7px + env(safe-area-inset-bottom));backdrop-filter:blur(10px)}.mobile-bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:1px;color:var(--navy);text-decoration:none;font-size:22px;line-height:1.1}.mobile-bottom-nav small{font-size:10px;font-weight:700}.mobile-bottom-nav a:hover,.mobile-bottom-nav a:focus{color:var(--blue)}body{padding-bottom:72px}.dark-theme .mobile-bottom-nav{background:rgba(13,32,50,.96);border-color:#24435b}.dark-theme .mobile-bottom-nav a{color:#edf5f8}}
@media(max-width:760px){.site-header .header-inner{display:flex;flex-wrap:nowrap;align-items:center;min-height:60px;overflow:visible}.site-header .brand{display:flex;align-items:center;flex:1;min-width:0;white-space:nowrap}.site-header .brand span{font-size:13px;letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:clip}.site-header .brand img{width:36px;height:36px}.site-header .menu-toggle{display:block;flex:0 0 40px;width:40px;height:40px;padding:7px}.site-header nav{top:60px}}
.nav-group{position:relative}.nav-group summary{cursor:pointer;list-style:none;font-size:14px}.nav-group summary::-webkit-details-marker{display:none}.nav-group summary::after{content:'⌄';margin-left:6px;color:var(--steel)}.submenu{position:absolute;top:calc(100% + 14px);left:-16px;display:grid;gap:4px;min-width:240px;padding:10px;background:var(--white);border:1px solid #dbe5ea;border-radius:10px;box-shadow:0 12px 28px rgba(8,19,31,.12);z-index:25}.submenu a{padding:8px 10px}.dark-theme .submenu{background:#0d2032;border-color:#24435b}.dark-theme .nav-group summary{color:#edf5f8}
@media(max-width:760px){.nav-group{width:100%}.nav-group summary{padding:8px 0}.submenu{position:static;box-shadow:none;border:0;border-left:2px solid var(--cyan);border-radius:0;margin:2px 0 8px;padding:2px 0 2px 12px;min-width:0}.submenu a{padding:6px 0}}
@media(max-width:760px){.site-header .header-inner{width:100%;padding-left:10px;padding-right:10px;gap:6px;flex-wrap:nowrap}.site-header .brand{flex:1 1 auto;width:auto;overflow:hidden}.site-header .brand img{width:32px;height:32px}.site-header .brand span{font-size:12px;letter-spacing:-.05em;white-space:nowrap}.site-header .menu-toggle{display:block;visibility:visible;flex:0 0 36px;width:36px;height:36px}.site-header .menu-toggle span:not(.sr-only){width:18px}}
@media(min-width:761px){.site-header nav>a,.site-header .nav-group>summary{padding:9px 13px;border-radius:999px;transition:background .2s ease,color .2s ease}.site-header nav>a:hover,.site-header nav>a:focus,.site-header .nav-group>summary:hover,.site-header .nav-group>summary:focus{background:var(--ice);color:var(--blue);text-decoration:none;outline:none}.site-header .nav-group[open]>summary{background:var(--navy);color:var(--white)}.site-header .nav-group>summary::after{content:'＋';font-size:12px;font-weight:800;display:inline-block;transition:transform .2s}.site-header .nav-group[open]>summary::after{content:'−';color:var(--cyan)}.dark-theme .site-header nav>a:hover,.dark-theme .site-header nav>a:focus,.dark-theme .site-header .nav-group>summary:hover,.dark-theme .site-header .nav-group>summary:focus{background:#164f7b;color:#fff}}
.sved-sidebar{max-width:1120px;width:min(100% - 40px,1120px);margin:28px auto 0}.sved-sidebar nav{display:flex;flex-wrap:wrap;gap:8px;padding:14px;background:var(--white);border:1px solid #dbe5ea;border-radius:12px}.sved-sidebar a{padding:9px 13px;border-radius:999px;text-decoration:none;font-size:13px;font-weight:700;color:var(--navy);background:var(--ice);transition:all .2s}.sved-sidebar a:hover,.sved-sidebar a:focus{background:var(--navy);color:var(--white);outline:none}.dark-theme .sved-sidebar nav{background:#0d2032;border-color:#24435b}.dark-theme .sved-sidebar a{background:#164f7b;color:#fff}
@media(min-width:900px){.sved-sidebar{position:sticky;top:92px;z-index:10}.sved-sidebar nav{display:grid;grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.sved-sidebar{width:calc(100% - 28px);margin-top:14px}.sved-sidebar nav{gap:6px}.sved-sidebar a{font-size:12px;padding:7px 9px}}

.desktop-brand-title{display:inline}.mobile-brand-title{display:none}.header-cta{display:inline-flex;align-items:center;padding:9px 14px;border-radius:999px;background:var(--cyan);color:var(--graphite);font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}.header-icon{border:1px solid #c7d6de;background:transparent;color:var(--navy);border-radius:8px;width:40px;height:40px;font-size:18px;cursor:pointer}.header-icon:hover,.header-icon:focus{background:var(--ice);outline:2px solid var(--cyan);outline-offset:2px}@media(max-width:760px){.desktop-brand-title{display:none}.mobile-brand-title{display:inline}.header-cta,.header-icon{display:none}}

.catalog-table-wrap{background:var(--white);border:1px solid #dbe5ea;border-radius:14px;padding:16px;box-shadow:0 12px 30px rgba(23,50,75,.08)}.catalog-filters{display:flex;gap:10px;background:#eef6fb;padding:12px;border-radius:10px;margin-bottom:14px}.catalog-filters input,.catalog-filters select{margin:0;max-width:320px}.table-scroll{overflow:auto}.program-table{width:100%;min-width:900px;border-collapse:collapse;font-size:13px}.program-table th{background:var(--navy);color:#fff;text-align:left;padding:12px}.program-table td{padding:12px;border-bottom:1px solid #dbe5ea;vertical-align:top}.program-table tr:nth-child(even){background:#f4f8fa}.program-table tr:hover{background:#e3f1f8}@media(max-width:760px){.catalog-filters{flex-direction:column}.catalog-filters input,.catalog-filters select{max-width:none}}

.legal-document{padding-top:0}.legal-document .container{max-width:980px}.legal-document h2{margin:30px 0 10px;color:var(--navy-3);font-size:clamp(20px,2.4vw,30px)}.legal-document p,.legal-document li{color:var(--muted);line-height:1.7}.legal-document ul{padding-left:22px}.legal-updated{font-size:13px;color:var(--muted);margin:0 0 18px}.legal-requisites{margin-top:28px;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--ice);line-height:1.7;color:var(--text)}.legal-requisites a{color:var(--sky)}[data-theme="dark"] .legal-document h2{color:var(--sky)}[data-theme="dark"] .legal-requisites{background:var(--navy-2)}
/* Ротация тезисов: экран сохраняет высоту на всех разрешениях. */
.hero h1{min-height:1.05em;max-height:1.05em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hero .lead{display:-webkit-box;min-height:3.2em;max-height:3.2em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media(max-width:760px){.hero h1{display:-webkit-box;min-height:2.1em;max-height:2.1em;white-space:normal;text-overflow:clip;-webkit-box-orient:vertical;-webkit-line-clamp:2}}
