@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/pt-serif-400.woff2") format("woff2");
  unicode-range: U+0400-04FF, U+0500-052F;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/pt-serif-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/pt-serif-700.woff2") format("woff2");
  unicode-range: U+0400-04FF, U+0500-052F;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/pt-serif-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/montserrat-400.woff2") format("woff2");
  unicode-range: U+0400-04FF, U+0500-052F;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/montserrat-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/montserrat-600.woff2") format("woff2");
  unicode-range: U+0400-04FF, U+0500-052F;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/montserrat-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}
:root {
  --navy: #163A4C;
  --teal: #0F5C6E;
  --aqua: #2FA7C4;
  --coral: #E8825A;
  --peach: #F4B08A;
  --gold: #C9A45C;
  --paper: #F7F4EC;
  --ink: #1b2a32;
  --white: #ffffff;
  --muted: #4a5c66;
  --line: rgba(201, 164, 92, 0.45);
  --shadow: 0 1px 3px rgba(22, 58, 76, 0.12);
  --header: 4.5rem;
}
* { box-sizing: border-box; }
.public-body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", "PT Sans", system-ui, sans-serif;
  line-height: 1.55;
}
.public-body h1, .public-body h2, .public-body h3 {
  font-family: "PT Serif", Georgia, serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}
.vis-hide {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 80;
  background: #fff;
  color: var(--navy);
  padding: .5rem .8rem;
  text-decoration: none;
}
.skip:not(:focus):not(:focus-visible) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.wrap-12 {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1.5rem;
}
.span-12 { grid-column: 1 / -1; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }
.prose { max-width: 70ch; }
.public-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy); color: #fff;
  min-height: var(--header);
}
.public-header .wrap-12 { align-items: center; min-height: var(--header); }
.brand-lockup {
  grid-column: span 3;
  display: flex; align-items: center; gap: .7rem;
  color: #fff; text-decoration: none;
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.05rem; letter-spacing: .02em;
}
.brand-lockup img {
  width: 40px; height: 40px; flex: 0 0 40px; min-width: 40px;
  object-fit: cover; object-position: center;
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none; color: #fff; cursor: pointer;
  padding: .4rem; margin-left: auto;
}
.nav-burger .ico { width: 24px; height: 24px; }
.public-nav {
  grid-column: span 6;
  display: flex; align-items: center; justify-content: center;
  gap: 1.15rem; flex-wrap: wrap;
}
.public-nav a {
  color: rgba(255,255,255,.88); text-decoration: none;
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
}
.public-nav a:hover, .public-nav a[aria-current="page"] { color: #fff; }
.header-actions {
  grid-column: span 3;
  display: flex; align-items: center; justify-content: flex-end; gap: 1rem;
}
.header-actions a:not(.btn) { color: #fff; text-decoration: none; font-size: .9rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.15rem; border-radius: 2px; text-decoration: none;
  font: 600 .9rem/1 "Montserrat", sans-serif; border: 1px solid transparent;
  cursor: pointer; background: var(--teal); color: #fff;
}
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { filter: brightness(1.05); }
.btn-outline {
  background: transparent; color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover { background: rgba(15, 92, 110, .06); }
.site-banner {
  background: rgba(15, 92, 110, .1); color: var(--navy);
  font-size: .9rem;
}
.site-banner .wrap-12 { padding: .55rem 0; align-items: center; }
.site-banner p { margin: 0; grid-column: 1 / 12; }
.banner-more {
  display: none; grid-column: 11; justify-self: end;
  background: none; border: 0; color: var(--teal); cursor: pointer;
  font: 600 .82rem/1 "Montserrat", sans-serif; padding: .2rem;
}
.banner-close {
  grid-column: 12; justify-self: end;
  background: none; border: 0; color: var(--navy); cursor: pointer; padding: .2rem;
}
.banner-close .ico { width: 18px; height: 18px; }
.band { padding: 96px 0; position: relative; overflow: hidden; }
.band-hero {
  padding: 2.4rem 0 2.6rem;
}
.band-paper { background: var(--paper); }
.band-white { background: var(--white); }
.guilloche {
  position: absolute; inset: 0; opacity: .08; pointer-events: none;
}
.guilloche svg { width: 100%; height: 100%; display: block; }
.gold-rule {
  display: flex; align-items: center; gap: .75rem;
  max-width: 10rem; margin: 0 0 1.6rem;
}
.gold-rule i {
  flex: 1; height: 1px; background: var(--gold); display: block;
}
.gold-rule b {
  width: 8px; height: 8px; border: 1px solid var(--gold);
  transform: rotate(45deg); display: block; flex: 0 0 8px;
}
.kicker {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 .8rem; font-weight: 600;
}
.hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  margin: 0 0 1rem; max-width: 18ch;
}
.hero-lede { font-size: 1.05rem; color: var(--muted); margin: 0 0 1.15rem; }
.hero-lede p { margin: 0 0 .55rem; }
.hero-lede p:last-child { margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.15rem; }
.reg-line { font-size: .8rem; color: var(--muted); margin: 0; letter-spacing: .02em; }
.hero-medal {
  position: relative; width: min(300px, 78vw);
  aspect-ratio: 1 / 1; height: auto;
  margin: 0 auto;
}
.section-title { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 .5rem; }
.verify-row {
  display: flex; gap: .6rem; max-width: 36rem; margin: 1.2rem 0 .8rem;
}
.verify-row input {
  flex: 1; min-width: 0; font: inherit; padding: .8rem .9rem;
  border: 1px solid #cfc6b6; border-radius: 2px; background: #fff;
}
.verify-hint { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .9rem; margin: 0; }
.verify-hint .ico { width: 22px; height: 22px; color: var(--teal); flex: 0 0 22px; }
.card-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card-row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tariff-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 0 0 2rem; }
.tariff-card .tariff-price { font-family: "PT Serif", Georgia, serif; font-size: 1.8rem; color: var(--navy); margin: .45rem 0; }
.tariff-card .tariff-pay { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }
.lift-card {
  background: #fff; box-shadow: var(--shadow);
  border-top: 2px solid var(--gold); padding: 1.4rem 1.3rem 1.5rem;
}
.lift-card .ico { width: 28px; height: 28px; color: var(--teal); margin-bottom: .8rem; }
.lift-card h3 { margin: 0 0 .45rem; font-size: 1.2rem; }
.lift-card p, .lift-card .prose { margin: 0; color: var(--muted); font-size: .95rem; }
.lift-card strong, .timeline strong { font-family: "PT Serif", Georgia, serif; font-size: 1.15em; color: var(--navy); }
.timeline {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem; list-style: none; padding: 1.5rem 0 0; margin: 0; position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 2.15rem;
  height: 1px; background: var(--line);
}
.timeline li { text-align: center; position: relative; }
.step-num {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; margin-bottom: .7rem; position: relative; z-index: 1;
}
.timeline h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .88rem; }
.num { font-family: "PT Serif", Georgia, serif; font-size: 1.25rem; color: var(--navy); font-weight: 700; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tile {
  background: var(--paper); padding: 1.3rem 1.2rem; border: 1px solid var(--line);
}
.tile-mark {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  object-position: center;
  margin: 0 0 .75rem;
}
.tile .label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 .4rem; }
.tile strong { display: block; font-family: "PT Serif", Georgia, serif; font-size: 1.15rem; color: var(--navy); }
.tile p { margin: .35rem 0 0; color: var(--muted); font-size: .9rem; }
.school { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 2rem; align-items: center; }
.school-mark-wrap { width: 220px; max-width: 100%; }
.school-mark-wrap img { width: 100%; height: auto; display: block; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.faq-grid details {
  border-bottom: 1px solid #e4ddd0; padding: .85rem 0;
}
.faq-grid summary {
  cursor: pointer; font-weight: 600; color: var(--navy); list-style: none;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: ""; float: right; width: 8px; height: 8px; margin-top: .45rem;
  border-right: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal);
  transform: rotate(45deg);
}
.faq-grid details[open] summary::after { transform: rotate(225deg); margin-top: .7rem; }
.faq-grid details p, .faq-grid .faq-a { margin: .6rem 0 0; color: var(--muted); max-width: 70ch; }
.faq-grid .faq-a p { margin: 0 0 .5rem; }
.public-footer { background: var(--navy); color: rgba(255,255,255,.86); padding: 72px 0 32px; position: relative; overflow: visible; }
.public-footer a { color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; overflow: visible; }
.foot-cols:has(.footer-clock-col) { grid-template-columns: 1fr auto 1fr 1fr; align-items: start; }
.foot-cols h2 { color: #fff; font-size: 1.05rem; margin: 0 0 .8rem; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; }
.foot-cols li { margin: 0 0 .4rem; }
.foot-cols a { color: rgba(255,255,255,.86); text-decoration: none; font-size: .92rem; }
.public-footer .wrap-12 { overflow: visible; }
.footer-clock-col { justify-self: center; overflow: visible; z-index: 2; min-width: 0; }
.footer-clock {
  --clock-box: 280px;
  --clock-overhang: 24px;
  --clock-cx: 49.76%;
  --clock-cy: 49.12%;
  --clock-r-dial: 32.14%;
  --clock-r-bezel: 35.73%;
  --clock-r-outer: 48.17%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: inherit;
  overflow: visible;
}
.clock-box {
  position: relative;
  width: calc(var(--clock-box) + 2 * var(--clock-overhang));
  height: calc(var(--clock-box) + 2 * var(--clock-overhang));
  overflow: visible;
  flex: 0 0 calc(var(--clock-box) + 2 * var(--clock-overhang));
}
.clock-box picture,
.clock-hands {
  position: absolute;
  left: var(--clock-overhang);
  top: var(--clock-overhang);
  width: var(--clock-box);
  height: var(--clock-box);
}
.clock-dial {
  display: block;
  width: var(--clock-box);
  height: var(--clock-box);
  object-fit: contain;
}
.clock-hands {
  overflow: visible;
  pointer-events: none;
}
.clock-hour, .clock-minute, .clock-second {
  transform-box: view-box;
  transform-origin: var(--clock-cx) var(--clock-cy);
  transform: rotate(0deg);
}
.clock-hour, .clock-minute { fill: #C9A45C; stroke: #163A4C; stroke-width: 3; paint-order: stroke fill; }
.clock-second { pointer-events: none; stroke: #E8825A; stroke-width: 4; stroke-linecap: round; fill: #E8825A; }
.clock-second line { stroke: #E8825A; }
.clock-cap { fill: #C9A45C; stroke: #163A4C; stroke-width: 3; }
.clock-caption {
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(247, 241, 227, .78);
  text-align: center;
  white-space: nowrap;
}
@keyframes clock-second { from { transform: rotate(0turn); } to { transform: rotate(1turn); } }
.foot-mark { width: 56px; height: 56px; object-fit: contain; margin-bottom: .6rem; }
.site-legal { margin: 2.2rem 0 0; font-size: .82rem; color: rgba(255,255,255,.72); max-width: 70ch; }
.copy { margin: .7rem 0 0; font-size: .78rem; color: rgba(255,255,255,.55); }
.trust-cta { margin-top: 1.5rem; }
.coming { padding: 96px 0; }
.page-hero { position: relative; overflow: hidden; padding: 2.4rem 0 2rem; }
.page-hero + .band { padding: 2.2rem 0 3.2rem; }
.page-title { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0; }
.crumbs { font-size: .82rem; color: var(--muted); margin: 0 0 1rem; }
.crumbs a { color: var(--teal); text-decoration: none; }
.prose-page { max-width: 70ch; margin-inline: auto; }
.prose-page h2, .prose-page h3 { margin-top: 1.6rem; }
.prose-page ul, .prose-page ol { padding-left: 1.2rem; }
.banner-note {
  background: rgba(15, 92, 110, .1); color: var(--navy);
  padding: .7rem 1rem; margin: 0 0 1.5rem;
}
.pay-note { color: var(--navy); margin: 0 0 1.5rem; }
.tariff-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.tariff-card {
  background: var(--paper); border-top: 2px solid var(--gold);
  box-shadow: var(--shadow); padding: 1.3rem 1.2rem 1.4rem;
}
.tariff-card h2 { font-size: 1.25rem; margin: 0 0 .35rem; }
.tariff-who, .tariff-card .label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin: 0 0 .4rem; }
.tariff-price { font-family: "PT Serif", Georgia, serif; font-size: 1.8rem; color: var(--navy); margin: .4rem 0; }
.tariff-pay { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }
.contact-card h2 { margin-top: 0; }
.map-static {
  margin-top: 1.2rem; background: var(--paper); border: 1px solid var(--line);
}
.map-static img { display: block; width: 100%; height: auto; }
.map-static p { margin: 0; padding: .7rem 1rem; font-size: .9rem; color: var(--muted); }
.contacts-extra { margin-top: 1.6rem; }
.form-stack { display: flex; flex-direction: column; gap: .85rem; max-width: 28rem; margin-top: 1rem; }
.form-stack label { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; }
.form-stack label.vis-hide { display: block; }
.form-stack input, .form-stack textarea {
  font: inherit; padding: .7rem .8rem; border: 1px solid #cfc6b6; border-radius: 2px;
}
.public-body .error { color: #9b2c2c; background: #fde8e8; padding: .6rem .8rem; }
.public-body .ok { color: #1b6b3a; background: #e6f6ea; padding: .6rem .8rem; }
.mark-large { object-fit: contain; }
.verify-stack { display: flex; flex-direction: column; gap: .85rem; max-width: 36rem; margin: 0 0 1.6rem; }
.verify-stack label { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; }
.verify-stack input[type="text"], .verify-stack input[type="file"] {
  font: inherit; padding: .7rem .8rem; border: 1px solid #cfc6b6; border-radius: 2px;
}
.reestr-filters select { font: inherit; padding: .8rem .9rem; border: 1px solid #cfc6b6; border-radius: 2px; background: #fff; }
.reestr-stack { padding-bottom: 1rem; }
.reestr-lead { max-width: 44rem; color: var(--muted); margin: 0 0 .7rem; font-size: .95rem; line-height: 1.55; }
.reestr-check { margin: 0 0 1.3rem; }
.reestr-check a { color: var(--teal); font-weight: 600; }
.empty-panel {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 1.5rem 1.5rem 1.6rem;
  max-width: 44rem;
  margin: 0 0 1rem;
}
.empty-panel p { margin: 0 0 1rem; max-width: 36rem; }
.empty-panel p:last-child { margin: 0; }
.reestr-wrap { overflow-x: auto; }
.reestr-table { width: 100%; border-collapse: collapse; background: #fff; }
.reestr-table th, .reestr-table td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.reestr-table th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.cert-pill {
  display: inline-block; font-size: .82rem; font-weight: 600; padding: .2rem .55rem;
}
.cert-pill.ok { background: #e6f6ea; color: #1b6b3a; }
.cert-pill.warn { background: #fff4d6; color: #7a4b00; }
.cert-pill.bad { background: #fde8e8; color: #9b2c2c; }
.cert-pill.muted { background: #eceae4; color: #4a5c66; }
.verify-card {
  background: #fff; border-top: 2px solid var(--gold); box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem 1.7rem; max-width: 44rem;
}
.verify-card h2 { margin: .2rem 0 .8rem; }
.verify-status {
  font-family: "PT Serif", Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700; line-height: 1.15; margin: 0 0 .6rem;
}
.public-body .verify-status { background: transparent; padding: 0; }
.verify-status.ok { color: #1b6b3a; }
.verify-status.warn { color: #7a4b00; }
.verify-status.bad { color: #9b2c2c; }
.verify-status.muted { color: #4a5c66; }
.sha-ok { color: #1b6b3a; font-weight: 600; }
.sha-bad { color: #9b2c2c; font-weight: 600; }
.status-log { list-style: none; padding: 0; margin: 1rem 0 0; border-left: 2px solid var(--aqua); }
.status-log li { padding: 0 0 .75rem 1rem; position: relative; }
.status-log li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  position: absolute; left: -5px; top: .4rem;
}
.paper-note { background: var(--paper); border-left: 3px solid var(--gold); padding: .5rem .8rem; }
.public-body .bad { color: #9b2c2c; }
@media (max-width: 960px) {
  .span-7, .span-5, .span-6, .span-8, .span-4 { grid-column: 1 / -1; }
  .card-row:not(.card-row-4), .trust-grid, .faq-grid, .school, .tariff-cards { grid-template-columns: 1fr; }
  .card-row { gap: 16px; }
  .card-row-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { left: 1.05rem; right: auto; width: 1px; top: 0; bottom: 0; height: auto; }
  .timeline li { text-align: left; padding-left: 3.2rem; }
  .step-num { position: absolute; left: 0; top: 0; }
  .brand-lockup { grid-column: span 10; }
  .nav-burger { display: block; grid-column: span 2; justify-self: end; }
  .public-nav, .header-actions {
    display: none; grid-column: 1 / -1;
    background: var(--navy); padding: 0 0 1rem;
    justify-content: flex-start;
  }
  .nav-toggle:checked ~ .public-nav,
  .nav-toggle:checked ~ .header-actions { display: flex; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .band { padding: 56px 0; }
  .band-hero { padding: 1.1rem 0 1.35rem; }
  .page-hero { padding: 1.4rem 0 1.2rem; }
  .page-hero + .band { padding: 1.4rem 0 2.2rem; }
  .public-footer { padding: 48px 0 24px; overflow: visible; }
  .foot-cols,
  .foot-cols:has(.footer-clock-col) { grid-template-columns: 1fr; }
  .footer-clock { --clock-box: 200px; --clock-overhang: 18px; }
  .footer-clock-col { order: -1; justify-self: center; grid-column: 1 / -1; width: 100%; }
  .hero-title { font-size: 1.7rem; }
  .hero-lede { font-size: .95rem; margin: 0 0 .9rem; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-bottom: .9rem; }
  .hero-medal { width: 168px; height: auto; margin-top: 1rem; }
  .theme-home .hero-medal { width: 260px; }
  .school { grid-template-columns: 1fr; }
  .school-mark-wrap { width: min(220px, 70vw); }
  .verify-row { flex-direction: column; }
  .coming { padding: 56px 0; }
  .card-row-4 { grid-template-columns: 1fr; }
  .site-banner .wrap-12 {
    display: flex;
    gap: .5rem;
    align-items: center;
  }
  .site-banner p {
    flex: 1 1 auto;
    min-width: 0;
    grid-column: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-banner.is-open p {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  .banner-more, .banner-close { flex: 0 0 auto; display: inline; grid-column: auto; }
}

.ymap-root { position: relative; min-height: 22rem; border-radius: 12px; overflow: hidden; background: #e8f0f2; }
.ymap-root.is-compact { min-height: 18rem; }
.ymap-canvas { width: 100%; height: 28rem; }
.ymap-root.is-compact .ymap-canvas { height: 20rem; }
.map-unavailable, .map-stub { margin: 0; padding: 2.4rem 1.2rem; text-align: center; color: var(--muted); }
.map-stub .btn { margin-top: .8rem; }
.map-summary { margin: .8rem 0 0; color: var(--muted); }
.map-frame { margin: 1rem 0 1.5rem; }
.map-home { margin-top: .5rem; }
.map-cta { margin-top: .8rem; }
.karta-page .reestr-lead { margin-bottom: .6rem; }
.ymap-flag {
  min-width: 1.7rem; height: 1.7rem; padding: 0 .35rem; border-radius: 999px;
  background: var(--coral); color: #fff; font: 600 .8rem/1.7rem Montserrat, sans-serif;
  text-align: center; box-shadow: var(--shadow); border: 2px solid #fff; cursor: pointer;
  transform: translate(-50%, -50%);
}
.ymap-flag.is-cluster { background: var(--navy); }
.ymap-balloon {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2; max-width: 18rem;
  background: #fff; border-radius: 10px; padding: .9rem 1rem 1rem; box-shadow: var(--shadow);
}
.ymap-balloon h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.ymap-balloon p { margin: .25rem 0; }
.ymap-balloon-close {
  position: absolute; top: .35rem; right: .45rem; border: 0; background: transparent;
  font-size: 1.2rem; cursor: pointer; color: var(--muted);
}
.cookie-bar {
  position: sticky; bottom: 0; z-index: 20; background: var(--navy); color: #fff; padding: .8rem 0;
}
.cookie-bar .wrap-12 { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-bar p { margin: 0; max-width: 46rem; }
.cookie-bar a { color: var(--gold); }
.cookie-bar .btn { background: var(--gold); color: var(--navy); }

/* ИЗ-4: только главная. Глобальные токены Р-33 не менять. */
.theme-home {
  --gold-deep: #B8892F;
  --gold: #C9A45C;
  --gold-light: #E8D5A6;
  --cream: #F7F1E3;
  --paper: #F7F1E3;
  --line: rgba(184, 137, 47, 0.45);
}
.theme-home .btn-coral {
  background: var(--gold-deep); color: var(--navy);
  font-size: 1.2rem; font-weight: 700; filter: none;
}
.theme-home .btn-coral:hover { background: #A57A28; color: var(--navy); filter: none; }
.theme-home .btn-outline {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.theme-home .btn-outline:hover { background: rgba(22, 58, 76, .06); }
.theme-home main a:not(.btn) {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: .18em;
}
.theme-home .band-hero {
  background:
    radial-gradient(circle at 78% 46%, var(--gold-light) 0 30%, transparent 68%),
    var(--cream);
}
.theme-home .band-hero .guilloche {
  opacity: .06;
  filter: sepia(1) saturate(2.8) hue-rotate(8deg);
}
.theme-home .hero-medal {
  width: clamp(260px, calc(260px + (100vw - 390px) * 180 / 1050), 440px);
  aspect-ratio: 1 / 1;
  height: auto;
}
.theme-home .hero-medal::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light) 30%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.theme-home .school-emblem {
  position: absolute;
  inset: 0;
  z-index: 1;
  filter: drop-shadow(0 12px 40px rgba(14, 42, 79, .18));
}
.theme-home .school-emblem img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.theme-home .school-emblem-gear {
  animation: gear-rotate 90s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}
.theme-home .school-emblem-core { z-index: 1; }
.theme-home .school-mark-glass {
  position: absolute; left: 41.5%; top: 30%;
  width: 17%; height: 38%; z-index: 2;
  pointer-events: none;
  clip-path: polygon(28% 8%, 72% 8%, 56% 50%, 72% 92%, 28% 92%, 44% 50%);
  overflow: hidden;
}
.theme-home .school-mark-glass i {
  position: absolute; left: 50%; width: 3px; height: 3px;
  border-radius: 50%; background: var(--gold-light);
  box-shadow: 0 0 3px var(--gold);
  animation: school-grain 1.7s linear infinite;
  opacity: 0;
}
.theme-home .school-mark-glass i:nth-child(1) { left: 48%; animation-delay: 0s; }
.theme-home .school-mark-glass i:nth-child(2) { left: 52%; animation-delay: .28s; }
.theme-home .school-mark-glass i:nth-child(3) { left: 50%; animation-delay: .55s; }
.theme-home .school-mark-glass i:nth-child(4) { left: 47%; animation-delay: .82s; }
.theme-home .school-mark-glass i:nth-child(5) { left: 53%; animation-delay: 1.1s; }
.theme-home .school-mark-glass i:nth-child(6) { left: 49%; animation-delay: 1.38s; }
@keyframes gear-rotate { to { transform: rotate(360deg); } }
@keyframes school-grain {
  0% { top: 12%; opacity: 0; }
  12% { opacity: .95; }
  88% { opacity: .85; }
  100% { top: 78%; opacity: 0; }
}
.theme-home .gold-rule i { background: var(--gold-deep); }
.theme-home .gold-rule b { border-color: var(--gold-deep); }
.theme-home .lift-card { border-top-color: var(--gold-deep); }
.theme-home .lift-card .ico { color: var(--navy); }
.theme-home .step-num { background: var(--navy); color: var(--gold); }
.theme-home .site-banner {
  background: rgba(22, 58, 76, .08);
  border-left: 3px solid var(--gold);
}
.theme-home .banner-more { color: var(--navy); }
.theme-home .public-footer a:hover { color: var(--gold); }
.theme-home .ymap-flag { background: var(--gold-deep); color: var(--navy); }
@media (max-width: 960px) {
  .theme-home .band-hero {
    background:
      radial-gradient(circle at 50% 78%, var(--gold-light) 0 30%, transparent 70%),
      var(--cream);
  }
}
@media (prefers-reduced-motion: reduce) {
  .theme-home .school-emblem-gear { animation: none; }
  .theme-home .school-mark-glass i { animation: none; opacity: 0; }
  .clock-second { animation: none !important; }
}

