:root {
  --ink: #0d1b2f;
  --muted: #64748b;
  --blue: #1457d9;
  --blue2: #0b1830;
  --aqua: #34d3c5;
  --gold: #f5c66b;
  --paper: #f4f7fb;
  --line: #dce5ef;
  --shadow: 0 24px 70px rgba(9, 29, 58, .14);
}

html { scroll-padding-top: 112px; }
body { background: #fff; overflow-x: hidden; }
body.question-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(52, 211, 197, .5);
  outline-offset: 3px;
}
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 300; padding: 10px 14px; border-radius: 9px; color: #fff; background: var(--blue2); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.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; }

.topline { background: var(--blue2); }
.topbar { height: 38px; letter-spacing: .01em; }
.header { height: 92px; border-bottom-color: rgba(196, 211, 226, .72); box-shadow: 0 8px 35px rgba(11, 24, 48, .035); }
.nav { gap: 28px; }
.brand { min-width: 260px; }
.brand-mark { border-radius: 15px; background: linear-gradient(145deg, #1765ec, #0d3aa7); box-shadow: 0 11px 28px rgba(20, 87, 217, .28); }
.brand b { color: #10203a; }
.brand small { max-width: 245px; line-height: 1.3; white-space: normal; }
.brand-light b { color: #fff; }
.brand-light small { color: #a9bbce; }
.main-nav { gap: 24px; }
.main-nav > a, .nav-group > button { font-weight: 700; }
.main-nav > a:after, .nav-group > button:after { height: 2px; background: var(--blue); }
.nav-chevron { width: 7px; height: 7px; margin: 0 0 4px 9px !important; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: .2s; }
.nav-group:hover .nav-chevron { margin-top: 5px !important; margin-bottom: 0 !important; transform: rotate(225deg); }
.dropdown { top: 74px; width: 205px; padding: 9px; border: 1px solid rgba(214, 225, 235, .9); border-radius: 16px; box-shadow: 0 22px 60px rgba(10, 29, 55, .16); }
.dropdown a { padding: 11px 13px; font-size: 13px; }
.header-search { width: 190px; display: flex; align-items: center; margin-left: 4px; border: 1px solid var(--line); border-radius: 999px; background: #f7f9fc; transition: .2s; }
.header-search:focus-within { width: 225px; border-color: #8eb3ef; background: #fff; box-shadow: 0 0 0 4px rgba(20, 87, 217, .08); }
.header-search input { width: 100%; min-width: 0; padding: 11px 4px 11px 15px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.header-search button { width: 39px; height: 39px; flex: 0 0 auto; border: 0; border-radius: 50%; color: #fff; background: var(--blue); font-size: 20px; cursor: pointer; }

.btn { border-radius: 11px; color: #0c223f; background: linear-gradient(135deg, #ffe2a1, var(--gold)); box-shadow: 0 12px 28px rgba(213, 159, 56, .24); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.hero { height: min(680px, calc(100vh - 130px)); min-height: 560px; background: var(--blue2); }
.hero-slide { inset: 0; }
.hero-shade { background: linear-gradient(90deg, rgba(6, 18, 40, .96) 0%, rgba(7, 29, 61, .84) 46%, rgba(8, 32, 66, .26) 78%, rgba(5, 19, 39, .18)); }
.hero-inner { align-items: center; }
.hero-copy { width: 700px; }
.hero h1 { max-width: 780px; font-size: clamp(44px, 5.1vw, 70px); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.hero-copy > p { max-width: 620px; font-size: 19px; }
.hero-actions .btn { min-width: 165px; }
.quick-grid { border: 1px solid rgba(217, 227, 237, .8); border-radius: 16px; transform: translateY(-36px); box-shadow: 0 24px 60px rgba(9, 32, 64, .12); }
.quick-grid > a, .quick-grid > button { min-height: 98px; display: flex; align-items: center; padding: 24px 28px; border: 0; border-right: 1px solid var(--line); color: var(--ink); background: #fff; text-align: left; cursor: pointer; transition: .2s; }
.quick-grid > a:last-child, .quick-grid > button:last-child { border-right: 0; }
.quick-grid > a:hover, .quick-grid > button:hover { background: #f7faff; }
.quick-grid > a > i, .quick-grid > button > i { margin-left: auto; color: var(--blue); font-style: normal; font-size: 20px; }
.quick-grid small { margin-top: 5px; }
.feature-icon { color: #fff; background: var(--blue); }

.services-section { padding-top: 64px; }
.section-title { align-items: end; gap: 60px; }
.section-title > p { max-width: 370px; margin: 0; color: var(--muted); line-height: 1.7; }
.section-title h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.045em; }
.features { margin-top: 42px; gap: 16px; }
.features article { min-height: 255px; display: flex; flex-direction: column; padding: 30px; border-radius: 16px; background: linear-gradient(145deg, #fff, #f8fbff); }
.features article:hover { transform: translateY(-7px); border-color: rgba(20, 87, 217, .2); box-shadow: 0 24px 55px rgba(9, 35, 72, .11); }
.feature-number { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.features h3 { margin-top: auto; font-size: 18px; }
.features p { font-size: 14px; }
.about-band { background: radial-gradient(circle at 80% 15%, rgba(40, 107, 213, .34), transparent 35%), var(--blue2); }
.about-photo { border-radius: 20px; background-image: url('/public/images/411824_5177.jpg'); box-shadow: 28px 28px 0 rgba(52, 211, 197, .13); }
.about-band:after { content: "П33"; font-size: 360px; }

.page-hero { padding: 88px 0 80px; background: radial-gradient(circle at 82% -30%, rgba(42, 116, 239, .48), transparent 42%), linear-gradient(125deg, #0b1830, #103d7f); }
.page-hero h1 { max-width: 900px; font-size: clamp(38px, 5vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.page-hero p { font-size: 16px; }
.docs-layout { grid-template-columns: 230px 1fr; }
.year-nav { position: sticky; top: 150px; align-self: start; }
.year-nav a { padding: 14px 16px; border: 1px solid transparent; border-radius: 10px; }
.year-nav a.active, .year-nav a:hover { background: var(--blue); }
.doc-list { align-self: start; grid-auto-rows: 104px; gap: 16px; }
.doc-card { height: 104px; border-radius: 15px; padding: 23px; }
.doc-card:hover { border-color: rgba(20, 87, 217, .28); box-shadow: 0 16px 42px rgba(10, 42, 81, .1); }
.file-type { min-width: 46px; text-align: center; color: #fff; background: var(--blue); }
.doc-card h3 { font-size: 14px; }

.contact-grid { grid-template-columns: .82fr 1.18fr; gap: 28px; }
.contact-cards article { padding: 29px; border-radius: 15px; background: #fff; }
.contact-cards > .btn { align-self: flex-start; }
.contact-link { display: inline-block !important; margin-top: 16px !important; font-size: 12px !important; }
.map-card { border-radius: 18px; box-shadow: 0 22px 55px rgba(12, 38, 70, .1); }
.map-visual { height: 360px; position: relative; overflow: hidden; background: #e8eef6; }
.map-visual:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.75) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.75) 1px, transparent 1px); background-size: 62px 62px; transform: rotate(8deg) scale(1.2); }
.map-road { position: absolute; z-index: 1; width: 140%; height: 38px; left: -20%; top: 46%; border: 8px solid #fff; border-left: 0; border-right: 0; background: #cbd7e4; transform: rotate(-13deg); }
.map-road-two { top: 20%; transform: rotate(47deg); }
.map-block { position: absolute; z-index: 1; width: 120px; height: 74px; left: 14%; top: 16%; border: 5px solid #fff; border-radius: 12px; background: #b8c8d9; transform: rotate(8deg); }
.map-block-two { left: auto; right: 10%; top: 65%; width: 160px; background: #d2dce7; }
.map-pin { position: absolute; z-index: 3; left: 52%; top: 45%; width: 78px; height: 78px; border-radius: 50% 50% 50% 0; background: var(--blue); box-shadow: 0 14px 35px rgba(20, 87, 217, .35); }
.map-pin b { display: block; transform: rotate(45deg); }
.map-card > div:last-child { align-items: center; gap: 20px; }
.map-card > div:last-child div { display: grid; gap: 5px; }
.map-card > div:last-child small { color: var(--muted); }

.form-layout { grid-template-columns: .72fr 1.28fr; }
.form-layout > div > p { max-width: 430px; }
.business-form { padding: 36px; border-radius: 18px; background: #fff; box-shadow: 0 22px 60px rgba(10, 39, 73, .08); }
.business-form input, .business-form textarea { border-radius: 10px; background: #f8fafc; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form-status { display: block; min-height: 20px; margin: 14px 0 0 !important; color: var(--blue); }
.search-wrap { margin-inline: auto; }
.search-box input { border-radius: 11px; }
.search-results { border-radius: 15px; }
.sitemap a { border-radius: 14px; }

.footer { padding-top: 78px; background: #08172b; }
.footer-grid { gap: 54px; }
.footer h4 { color: var(--gold); }
.copyright a:hover { color: #fff; }

.question-fab { position: fixed; z-index: 120; right: 24px; bottom: 24px; height: 58px; display: flex; align-items: center; gap: 11px; padding: 7px 20px 7px 8px; border: 0; border-radius: 999px; color: #fff; background: var(--blue); box-shadow: 0 16px 42px rgba(20, 87, 217, .38); cursor: pointer; transition: .25s; }
.question-fab:hover { transform: translateY(-3px); }
.question-fab span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #fff; font-size: 21px; font-weight: 900; }
.question-fab b { font-size: 13px; }
.question-backdrop { position: fixed; z-index: 125; inset: 0; pointer-events: none; opacity: 0; background: rgba(4, 13, 28, .58); backdrop-filter: blur(5px); transition: .3s; }
.question-panel { position: fixed; z-index: 130; top: 0; right: 0; width: min(470px, 100%); height: 100%; padding: 56px 42px 34px; overflow-y: auto; color: var(--ink); background: #f8fafc; box-shadow: -25px 0 70px rgba(5, 20, 43, .24); transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.85,.2,1); }
.question-open .question-backdrop { pointer-events: auto; opacity: 1; }
.question-open .question-panel { transform: none; }
.question-open .question-fab { opacity: 0; pointer-events: none; }
.question-panel h2 { margin: 0 0 12px; font-size: 36px; letter-spacing: -.04em; }
.question-panel > p { margin: 0 0 26px; color: var(--muted); line-height: 1.65; }
.question-panel .business-form { padding: 26px; box-shadow: none; }
.question-close { position: absolute; top: 18px; right: 20px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: #fff; font-size: 27px; cursor: pointer; }

.admin-inquiry-list { display: grid; gap: 12px; }
.admin-inquiry { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 20px; border: 1px solid #dce3ea; border-radius: 12px; background: #fff; }
.admin-inquiry span { color: #7b8794; font-size: 11px; }
.admin-inquiry h3 { margin: 6px 0; font-size: 16px; }
.admin-inquiry p { margin: 0; line-height: 1.55; white-space: pre-wrap; }
.admin-inquiry-contact { min-width: 190px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 12px; }

@media (max-width: 1050px) {
  .nav { gap: 16px; }
  .brand { min-width: 225px; }
  .main-nav { gap: 17px; }
  .header-search { width: 160px; }
  .header-search:focus-within { width: 180px; }
}

@media (max-width: 900px) {
  .header-search { order: 2; width: min(240px, 42vw); margin-left: auto; }
  .header-search:focus-within { width: min(260px, 46vw); }
  .menu-toggle { order: 3; margin-left: 0; }
  .main-nav { top: 92px; border-top: 1px solid var(--line); }
  .nav-group > button { width: 100%; }
  .hero { height: 620px; }
  .section-title { align-items: start; flex-direction: column; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-visual { height: 300px; }
  .admin-inquiry { grid-template-columns: 1fr; }
  .admin-inquiry-contact { align-items: flex-start; }
}

@media (max-width: 620px) {
  .topbar { height: 34px; }
  .header { height: 76px; }
  .nav { flex-wrap: nowrap; }
  .brand { min-width: 0; }
  .brand b { font-size: 15px; }
  .brand-mark { width: 42px; height: 42px; }
  .header-search { width: 43px; border: 0; background: transparent; }
  .header-search:focus-within { position: absolute; left: 14px; right: 62px; z-index: 4; width: auto; background: #fff; border: 1px solid #8eb3ef; }
  .header-search input { width: 0; padding-inline: 0; opacity: 0; }
  .header-search:focus-within input { width: 100%; padding-left: 15px; opacity: 1; }
  .main-nav { top: 76px; }
  .hero { height: 600px; min-height: 0; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { gap: 20px; }
  .quick-grid > a, .quick-grid > button { border-right: 0; border-bottom: 1px solid var(--line); }
  .features article { min-height: 215px; }
  .about-photo { height: 280px; }
  .docs-layout { gap: 30px; }
  .year-nav { position: static; }
  .doc-list { grid-auto-rows: 128px; }
  .doc-card { height: 128px; }
  .page-hero { padding: 62px 0 58px; }
  .map-visual { height: 250px; }
  .question-fab { right: 14px; bottom: 14px; padding-right: 8px; }
  .question-fab b { display: none; }
  .question-panel { padding: 54px 18px 26px; }
  .question-panel h2 { font-size: 31px; }
  .question-panel .business-form { padding: 22px; }
}

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