:root {
  --bg: #040814;
  --ink: #f5f8fc;
  --muted: #c5d0e0;
  --gold: #f0c14b;
  --gold-2: #d7a441;
  --cyan: #49d2ff;
  --line: rgba(240, 193, 75, .55);
  --card: rgba(7, 16, 36, .88);
  --danger: #ffb4b4;
  --ok: #b6f3c8;
  --focus: #ffe08a;
  color-scheme: dark;
  font-size: 100%;
}
html[data-font="112"] { font-size: 112%; }
html[data-font="125"] { font-size: 125%; }
html[data-contrast="high"] {
  --bg: #000;
  --ink: #fff;
  --muted: #fff;
  --card: #000;
  --gold: #ffe14a;
  --line: #ffe14a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
a, button, input, select, textarea { scroll-margin-top: 84px; }
html[data-motion="reduce"] { scroll-behavior: auto; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(900px 420px at 78% 8%, rgba(36, 112, 255, .32), transparent 60%),
    radial-gradient(680px 360px at 12% 18%, rgba(212, 164, 48, .16), transparent 55%),
    linear-gradient(180deg, #02060f 0%, #071428 42%, #040814 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(80, 140, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(80, 140, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 30%, #000 20%, transparent 75%);
}
a { color: var(--gold); }
a:hover { color: #ffe7a3; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.wrap { width: min(1240px, calc(100% - 24px)); margin: 0 auto; }
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  background: rgba(3, 8, 18, .9);
  border-bottom: 1px solid rgba(240, 193, 75, .25);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; text-decoration: none; background: transparent; }
.brand-frame { display: block; max-width: 100%; background: transparent; box-shadow: none; }
.brand-frame img { display: block; width: auto; height: auto; max-height: 44px; max-width: min(480px, calc(100vw - 40px)); background: transparent; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.nav a, .menu-btn, .lang button, .icon-btn, .cta {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-size: .86rem;
  white-space: nowrap;
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
}
.nav a[aria-current="true"], .lang button[aria-pressed="true"] {
  border-color: var(--line);
  color: var(--gold);
  background: rgba(240, 193, 75, .08);
}
.menu { position: relative; }
.menu-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  display: none;
  padding: 8px;
  background: #07111f;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.menu-panel a { display: block; border-radius: 8px; }
.menu.open .menu-panel { display: block; }
.lang { display: flex; gap: 4px; }
.nav .lang button { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 32px; padding: 4px 6px; }
.lang-flag { width: 22px; height: 15px; display: block; border-radius: 2px; }
.cta, .send {
  background: linear-gradient(180deg, #f6d56a, #e0a82d);
  color: #1b1404;
  font-weight: 700;
  border: 0;
}
.cta:hover, .send:hover { filter: brightness(1.05); }
.icon-btn { border: 1px solid var(--line); width: 40px; height: 40px; padding: 0; }
.hero {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 250px;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
}
.glass {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 0 24px rgba(40, 110, 255, .18);
  padding: 16px 14px;
}
.glass h2, .stage-copy h1, .block h2 { margin: 0 0 10px; }
.checks ul, .benefits ul, .price-points, .cost-grid { list-style: none; margin: 0; padding: 0; }
.checks li, .benefits li, .price-points li { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0; }
.tick { color: var(--gold); font-weight: 800; }
.flag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: .72rem;
  font-style: normal;
  vertical-align: middle;
}
.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;
}
.stage {
  position: relative;
  container-type: inline-size;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(90, 170, 255, .45);
  box-shadow: 0 0 36px rgba(30, 110, 255, .28);
  background: #06101f;
}
.stage-photo { display: block; width: 100%; height: auto; }
.eu-caption {
  position: absolute;
  z-index: 2;
  left: 83.5%;
  top: 69.8%;
  width: 9.6%;
  height: 19%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.22cqi;
  line-height: 1.15;
  pointer-events: none;
  text-shadow: 0 1px 1px #000;
}
.eu-caption span { display: block; max-width: 100%; min-width: 0; }
.award {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  width: min(190px, 42%);
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-radius: 14px;
  background: rgba(6, 12, 28, .92);
  border: 1px solid var(--line);
}
.award-tr { left: 10px; }
.flag-tr { width: 48px; height: 32px; flex: 0 0 48px; display: block; border-radius: 2px; }
.award-eu { right: 10px; }
.medal {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  border: 2px solid var(--gold);
  background: radial-gradient(circle at 40% 40%, #1d4e9c, #071426);
}
.award strong, .award small { display: block; }
.award small { color: var(--gold); font-size: .72rem; }
.checks { display: flex; align-items: center; }
.benefits h2 { font-size: 1rem; }
.benefits li, .checks li { margin: 6px 0; font-size: .88rem; }
.detail-btn, .ghost {
  display: inline-flex;
  margin-top: 8px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
.section { margin: 22px auto; }
.section h2 { margin: 0 0 12px; font-size: 1.35rem; }
#projHeading { color: #f5cb56; font-weight: 300; }
.chips, .projects, .bottom, .contacts { display: grid; gap: 10px; }
.chips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.chip {
  margin: 0;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(73, 210, 255, .35);
  background: rgba(6, 18, 40, .8);
  font-size: .88rem;
}
.projects { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pcard, .own {
  border: 1px solid rgba(73, 210, 255, .4);
  background: #07111f;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  font: inherit;
  cursor: pointer;
  min-height: 168px;
}
.shot { height: 72px; overflow: hidden; background: #06101f; }
.shot img { width: 100%; height: 72px; object-fit: cover; object-position: center center; display: block; }
.pcard-name, .own span, .own strong { display: block; padding: 8px 10px 0; }
.follows { margin: 0; padding: 0 10px 10px; color: var(--gold); font-size: .82rem; }
.own {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  border-color: var(--line);
  background: radial-gradient(circle at 50% 30%, rgba(240, 193, 75, .18), #07111f 70%);
}
.qmark { font-size: 2.4rem; color: var(--gold); text-shadow: 0 0 18px rgba(240, 193, 75, .8); }
.bottom { grid-template-columns: minmax(240px, .9fr) minmax(320px, 1.2fr); align-items: start; }
.price-amount { font-size: 2rem; color: var(--gold); margin: 8px 0; }
.note { color: var(--muted); font-size: .92rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
label { display: flex; flex-direction: column; gap: 4px; font-size: .86rem; }
label.wide { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(180, 200, 230, .35);
  background: #0b1526;
  color: var(--ink);
  font: inherit;
  padding: 10px;
}
.check { flex-direction: row; align-items: flex-start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.4em; }
.status.ok { color: var(--ok); }
.status.bad { color: var(--danger); }
.field-error { color: var(--danger); font-size: .8rem; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #ff8f8f; }
.send { width: 100%; padding: 12px; border-radius: 12px; cursor: pointer; }
.send:disabled { opacity: .6; cursor: wait; }
.contacts {
  grid-template-columns: 1fr 1fr 1.3fr;
  margin: 8px 0 28px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(73, 210, 255, .35);
  background: rgba(4, 10, 22, .9);
}
.contacts a { text-decoration: none; color: var(--ink); display: block; padding: 8px; }
.legal { display: flex; gap: 14px; flex-wrap: wrap; padding-bottom: 28px; }
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
dialog {
  width: min(560px, calc(100% - 24px));
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #07111f;
  color: var(--ink);
}
dialog::backdrop { background: rgba(0, 0, 0, .72); }
.audio { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: center; margin: 8px 0; }
.play { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #1d6dff; color: #fff; font-weight: 700; cursor: pointer; }
.panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 15;
  width: min(320px, calc(100% - 24px));
  padding: 14px;
}
.banner { position: sticky; bottom: 0; z-index: 12; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px; background: #07111f; border-top: 1px solid var(--line); }
.banner[hidden], .panel[hidden] { display: none !important; }
.page { padding: 18px 0 40px; }
.missing { border: 1px solid var(--gold); padding: 10px; border-radius: 12px; }
@media (max-width: 1100px) {
  .hero, .bottom, .contacts { grid-template-columns: 1fr 1fr; }
  .projects { grid-template-columns: 1fr 1fr 1fr; }
  .stage { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .top { flex-wrap: wrap; }
  .nav { width: 100%; margin-left: 0; }
  .hero, .bottom, .projects, .contacts, .form-grid, .cost-grid { grid-template-columns: 1fr; }
  .award { position: static; width: auto; margin: 8px; }
  .banner { flex-direction: column; align-items: stretch; }
}
