
/* 2026 unified modern internal-page design; home and autoschool unchanged. */
.modern-page{background:#fff;overflow-x:clip}
.modern-page .page-hero{position:relative;isolation:isolate;overflow:hidden;padding:0;min-height:445px;background:radial-gradient(circle at 87% 18%,#326fba 0,transparent 34%),linear-gradient(128deg,#174f91 0%,#0d386c 53%,#062544 100%)}
.modern-page .page-hero:before,.modern-page .page-hero:after{content:"";pointer-events:none;position:absolute;border:1px solid rgba(255,255,255,.13);border-radius:50%;z-index:-1}
.modern-page .page-hero:before{width:650px;height:650px;right:-290px;top:-360px}
.modern-page .page-hero:after{width:420px;height:420px;left:-240px;bottom:-360px}
.modern-page .page-hero>.container{position:relative;display:grid;grid-template-columns:minmax(0,1.13fr) minmax(270px,.87fr);align-items:center;gap:55px;padding-top:74px;padding-bottom:78px;min-height:445px}
.modern-page .modern-hero-copy{position:relative;z-index:1;min-width:0}
.modern-page .modern-hero-eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:22px;padding:9px 15px;border:1px solid rgba(255,255,255,.24);border-radius:100px;color:#deeeff;background:rgba(255,255,255,.075);font-size:12px;font-weight:900;letter-spacing:.7px}
.modern-page .modern-hero-eyebrow:before{content:"";width:7px;height:7px;flex:none;background:#6adbac;border-radius:50%;box-shadow:0 0 0 5px rgba(106,219,172,.14)}
.modern-page .page-hero h1{font-size:clamp(38px,4.5vw,61px);line-height:1.08;letter-spacing:-1.4px;max-width:790px;margin-bottom:22px}
.modern-page .page-hero p{max-width:660px;font-size:clamp(17px,1.65vw,21px);color:#d7e8fa;line-height:1.66}
.modern-page .modern-hero-visual{position:relative;min-height:316px;display:flex;align-items:center;justify-content:center}
.modern-page .modern-glass{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;width:min(100%,380px);min-height:300px;padding:35px 30px;border:1px solid rgba(255,255,255,.29);border-radius:36px;background:linear-gradient(140deg,rgba(255,255,255,.20),rgba(255,255,255,.055));box-shadow:0 35px 90px rgba(0,15,39,.25),inset 0 1px 0 rgba(255,255,255,.25);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.modern-page .modern-glass:before{content:"";position:absolute;top:22px;left:22px;right:22px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.5),transparent)}
.modern-page .modern-hero-icon{display:grid;place-items:center;width:115px;height:115px;border:1px solid rgba(255,255,255,.35);border-radius:32px;color:#fff;background:rgba(255,255,255,.15);box-shadow:0 18px 45px rgba(0,17,43,.19);font-size:59px;line-height:1;animation:modernFloat 6.4s ease-in-out infinite}
.modern-page .modern-glass .modern-brand{color:#fff;font-size:21px;font-weight:900;letter-spacing:2.2px}
.modern-page .modern-glass .modern-card-caption{color:#dcecff;font-size:14px;font-weight:700;text-align:center}
.modern-page .modern-mini-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:6px}
.modern-page .modern-mini-tags span{padding:7px 10px;border-radius:100px;border:1px solid rgba(255,255,255,.19);background:rgba(255,255,255,.10);color:white;font-size:11px;font-weight:800}
.modern-page .modern-orb{position:absolute;right:0;top:9px;width:70px;height:70px;border-radius:22px;background:#70d6ca;opacity:.28;transform:rotate(15deg);filter:blur(2px)}
.modern-page .modern-hero-copy>*{animation:modernEnter .65s both}
.modern-page .modern-hero-copy>*:nth-child(2){animation-delay:.07s}
.modern-page .modern-hero-copy>*:nth-child(3){animation-delay:.14s}
.modern-page .modern-glass{animation:modernEnter .8s .17s both}
.modern-page main>.section{position:relative}
.modern-page main>.section:not(.contacts):not(.section-soft){background:linear-gradient(180deg,#fff,#fbfdff)}
.modern-page main>.section.section-soft{background:#f3f7fc}
.modern-page .section-head{margin-bottom:43px}
.modern-page .section-head .kicker{font-weight:900}
.modern-page .section-head h2{letter-spacing:-.9px}
.modern-page :is(.service-card,.popular-card,.doc-card,.step,.document-card,.about-principles>*,.about-directions>*,.business-services>*,.contacts-details>*,.company-details>*,.privacy-section){transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.modern-page :is(.service-card,.popular-card,.doc-card,.step,.document-card,.about-principles>*,.about-directions>*,.business-services>*,.contacts-details>*,.company-details>*){border-radius:23px;border:1px solid #dce6f3;box-shadow:0 12px 33px rgba(17,55,96,.065)}
@media(hover:hover){.modern-page :is(.service-card,.popular-card,.doc-card,.step,.document-card,.about-principles>*,.about-directions>*,.business-services>*,.contacts-details>*,.company-details>*,.privacy-section):hover{transform:translateY(-5px);box-shadow:0 22px 52px rgba(17,55,96,.13);border-color:#b5d1ed}}
.modern-page .page-hero .search{box-shadow:0 15px 40px rgba(0,15,39,.22);border:2px solid rgba(255,255,255,.18)}
.modern-page .catalog-table-shell{overflow:hidden;border:1px solid #dce6f3;border-radius:24px;background:#fff;box-shadow:0 16px 44px rgba(17,55,96,.09)}
.modern-page .catalog-table-wrap{overflow-x:auto}
.modern-page .catalog-table tbody tr{transition:background-color .18s}
.modern-page .catalog-table tbody tr:hover{background:#e9f3ff}
.modern-page .privacy-section{border-radius:22px}
.modern-page .privacy-intro{border-radius:24px}
.modern-page .contacts .contact-card{box-shadow:0 25px 70px rgba(1,16,43,.26)}
.modern-page .modern-observe{opacity:1;transform:none}
.modern-page.modern-motion-ready .modern-observe:not(.modern-visible){opacity:0;transform:translateY(24px)}
.modern-page .modern-observe{transition:opacity .65s ease,transform .65s cubic-bezier(.2,.75,.3,1)}
.modern-page .modern-observe.modern-visible{opacity:1;transform:none}
.modern-ru,.modern-kk{display:inline}
html:lang(kk) .modern-ru{display:none}
html:not(:lang(kk)) .modern-kk{display:none}
@keyframes modernEnter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes modernFloat{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-9px) rotate(2deg)}}
@media(max-width:900px){.modern-page .page-hero>.container{gap:25px;grid-template-columns:minmax(0,1fr) minmax(225px,.7fr)}.modern-page .modern-glass{min-height:265px;padding:28px 18px}.modern-page .modern-mini-tags{gap:5px}}
@media(max-width:680px){.modern-page .page-hero>.container{display:flex;flex-direction:column;align-items:stretch;gap:28px;min-height:0;padding-top:48px;padding-bottom:48px}.modern-page .page-hero h1{font-size:clamp(34px,9vw,44px)}.modern-page .modern-hero-visual{min-height:190px}.modern-page .modern-glass{width:100%;min-height:185px;border-radius:25px;display:grid;grid-template-columns:70px 1fr;align-content:center;justify-items:start;column-gap:20px;row-gap:5px;padding:23px}.modern-page .modern-hero-icon{width:70px;height:70px;border-radius:20px;font-size:37px;grid-row:span 3}.modern-page .modern-glass .modern-brand{font-size:19px}.modern-page .modern-glass .modern-card-caption{text-align:left;font-size:13px}.modern-page .modern-mini-tags{justify-content:flex-start}.modern-page .modern-mini-tags span{font-size:10px;padding:5px 7px}.modern-page .modern-orb{width:45px;height:45px}}
@media(prefers-reduced-motion:reduce){.modern-page .modern-hero-copy>*,.modern-page .modern-glass,.modern-page .modern-hero-icon{animation:none!important}.modern-page .modern-observe,.modern-page.modern-motion-ready .modern-observe:not(.modern-visible){transition:none!important;transform:none!important;opacity:1!important}.modern-page *{scroll-behavior:auto!important}}
