@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/rubik-cyr-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/rubik-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/rubik-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/merri-cyr-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/merri-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/merri-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/merri-cyr-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/merri-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/merri-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD;
}

:root {
  --snow: #eef3f7;
  --ice: #6ea8c9;
  --ice-deep: #3d7ea3;
  --night: #0f1c26;
  --ink: #15232e;
  --muted: #4a5c6a;
  --sheet: #f7fbfd;
  --pin: #e30613;
  --pin-deep: #b2050f;
  --display: "Rubik", "Segoe UI", sans-serif;
  --serif: "Merriweather", "Georgia", serif;
  --container: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background:
    repeating-linear-gradient(0deg, rgba(110, 168, 201, 0.18) 0 2px, transparent 2px 42px),
    var(--snow);
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ice-deep); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 80;
  padding: 0.6rem 1rem;
  background: var(--ice-deep);
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
}
.skip:focus { top: 1rem; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

h1, h2, h3, .brand, .banner-title, .period, .toc h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
}
h1 { font-size: clamp(1.95rem, 4.6vw, 3.35rem); margin: 0 0 1rem; color: #fff; }
h2 { font-size: clamp(1.4rem, 2.5vw, 2.05rem); margin: 0 0 0.9rem; color: var(--night); max-width: 24ch; }
h3 { font-size: 1.08rem; margin: 1.35rem 0 0.5rem; color: var(--ice-deep); }
p { margin: 0 0 1rem; color: var(--muted); }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  color: var(--night);
  box-shadow: 0 1px 0 rgba(15, 28, 38, 0.12);
}

.bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100% - 2rem, 1360px);
  min-height: 72px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
  font-size: 1.45rem;
  color: var(--night);
}
.geo {
  font-size: 0.68rem;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  background: var(--ice);
  color: var(--night);
  letter-spacing: 0.08em;
}

.desktop {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 0.75rem;
  overflow: auto;
}
.desktop a {
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.desktop a:hover { color: var(--ice-deep); }

.actions { display: flex; align-items: center; gap: 0.5rem; }

.lang {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #c5d7e3;
  border-radius: 999px;
}
.lang a {
  min-width: 40px;
  min-height: 34px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--night);
}
.lang a[aria-current="page"] { background: var(--ice); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1.05rem;
  border: 2px solid var(--ice-deep);
  border-radius: 10px;
  background: transparent;
  color: var(--ice-deep);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--ice-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pin); border-color: var(--pin); color: #fff; }
.btn-primary:hover { background: var(--pin-deep); border-color: var(--pin-deep); color: #fff; }

.nav-toggle, .burger, .mobile { display: none; }

.hero {
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.18), transparent 32%),
    radial-gradient(circle at 82% 50%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #163044, var(--night));
  color: #d7e6ef;
  padding: clamp(1.8rem, 5vw, 3.2rem) 0;
  border-bottom: 6px solid var(--ice);
}

.rink {
  width: min(100% - 2rem, 1040px);
  margin-inline: auto;
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  border: 2px solid rgba(110, 168, 201, 0.55);
  border-radius: 28px;
}
.rink::before,
.rink::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 56px;
  height: 56px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: translateY(-50%);
}
.rink::before { left: 8%; }
.rink::after { right: 8%; }

.kicker {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ice);
}
.hero .lead { color: #e8f2f8; max-width: 62ch; }
.hero p { color: #b7c9d6; }

.dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.dots li {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.toc {
  width: min(100% - 2rem, var(--container));
  margin: 1.6rem auto 2rem;
  padding: 1.15rem 1.25rem;
  background: var(--sheet);
  border: 1px solid #cfe0ea;
  border-radius: 18px;
}
.toc h2 { margin: 0 0 0.7rem; font-size: 1.1rem; color: var(--ice-deep); }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc a {
  color: var(--night);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
}
.toc a:hover { color: var(--ice-deep); }

.section { padding-bottom: 2.2rem; }

.banner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 172px;
  padding: 1.1rem 7vw;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 50%, rgba(255, 255, 255, 0.16), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 10px, transparent 10px 22px),
    linear-gradient(90deg, var(--night), var(--ice-deep));
  color: #fff;
}
.banner-title {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  color: #fff;
}
.period {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  background: rgba(15, 28, 38, 0.35);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.banner svg { width: min(22vw, 148px); opacity: 0.92; }

.body { padding-top: 1.45rem; }
.lead { font-size: 1.05rem; color: var(--ink); }

.layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  margin-top: 0.7rem;
}

.faq {
  margin-bottom: 0.5rem;
  padding: 0.8rem 1rem;
  background: var(--sheet);
  border-radius: 12px;
  border: 1px solid #cfe0ea;
}
.faq summary {
  cursor: pointer;
  color: var(--night);
  font-family: var(--display);
  font-weight: 700;
}

.form {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem;
  background: var(--night);
  color: #d7e6ef;
  border-radius: 16px;
}
.form h3 { color: var(--ice); margin-top: 0; }
.form label { display: grid; gap: 0.3rem; color: #d7e6ef; }
.form input, .form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 2px solid var(--ice);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: var(--serif);
}
.form input:user-invalid, .form textarea:user-invalid { border-color: var(--pin); }

.table-wrap { overflow-x: auto; margin: 0 0 1.1rem; }
.table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.table th, .table td {
  padding: 0.65rem 0.75rem;
  border: 1px solid #cfe0ea;
  text-align: left;
  vertical-align: top;
}
.table th {
  background: var(--ice-deep);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
}
.list { margin: 0 0 1rem; padding-left: 1.2rem; }
.list li { margin: 0 0 0.4rem; }
.section-cta { margin: 1rem 0 0; }

.footer {
  padding: 2rem 0 2.5rem;
  background: var(--night);
  color: #fff;
}
.footer p { color: #b7c9d6; }
.footer p:first-child {
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
}

@media (max-width: 1280px) {
  .desktop, .hide-sm { display: none; }
  .burger {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 0.75rem;
    border: 2px solid var(--ice-deep);
    border-radius: 10px;
    color: var(--ice-deep);
    cursor: pointer;
    font-family: var(--display);
    font-weight: 700;
  }
  .mobile {
    display: none;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0 1rem 1rem;
    background: #fff;
  }
  .mobile a {
    text-decoration: none;
    color: var(--night);
    font-family: var(--display);
    font-weight: 700;
  }
  .nav-toggle:checked ~ .mobile { display: flex; }
}

@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .rink::before, .rink::after { display: none; }
}

@media (max-width: 768px) {
  .banner { grid-template-columns: auto 1fr; min-height: 128px; padding: 1rem 1.1rem; }
  .banner svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
