@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("assets/fonts/barlow-semi-condensed-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("assets/fonts/barlow-semi-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-abyss: #041424;
  --bg-deep: #082038;
  --ink: #0a2540;
  --ink-strong: #041424;
  --text: #1d344b;
  --text-secondary: #4f687d;
  --text-muted: #5d7589;
  --steel: #4f687d;
  --bg-canvas: #f6f9fc;
  --bg-surface: #ffffff;
  --bg-mist: #edf3f8;
  --bg-frost: #e2ecf5;
  --panel: #edf3f8;
  --cryo: #1a7ec8;
  --cryo-hover: #1368a8;
  --cryo-bright: #56c2ff;
  --cryo-soft: #e6f2fb;
  --line: rgba(10, 37, 64, 0.08);
  --line-strong: rgba(10, 37, 64, 0.15);
  --shadow-sm: 0 1px 2px rgba(4, 20, 36, 0.03), 0 4px 14px -4px rgba(4, 20, 36, 0.05);
  --shadow-card: 0 1px 2px rgba(4, 20, 36, 0.03), 0 16px 40px -14px rgba(4, 20, 36, 0.08);
  --shadow-elevated: 0 4px 10px rgba(4, 20, 36, 0.04), 0 24px 56px -16px rgba(4, 20, 36, 0.12);
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-num: "Barlow Semi Condensed", "DIN Alternate", "PingFang SC", sans-serif;
  --max-w: 1360px;
  --pad: clamp(20px, 4.6vw, 68px);
  --hd: 82px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hd) + 24px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg-canvas);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-canvas);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, figure, dl, dd, ol, ul {
  margin: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  color: inherit;
  border-radius: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--cryo);
  outline-offset: 3px;
}

.sprite, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -96px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-elevated);
  transition: top 0.2s var(--ease-out);
}
.skip:focus {
  top: 16px;
}

.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cryo);
}

.lead {
  font-size: 16px;
  line-height: 1.9;
}

.actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--ink {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(10, 37, 64, 0.55);
}
.btn--ink:hover {
  background: var(--bg-deep);
  box-shadow: 0 12px 26px -10px rgba(10, 37, 64, 0.65);
}
.btn--line {
  background: var(--bg-surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--line:hover {
  border-color: var(--ink);
  background: var(--bg-mist);
}
.btn--block {
  width: 100%;
}

/* Header: Frosted Glass Precision Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--hd);
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: max(var(--pad), calc((100vw - var(--max-w)) / 2));
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(10, 37, 64, 0.11);
  box-shadow: 0 10px 32px -14px rgba(4, 20, 36, 0.14);
}
.site-header .logo {
  display: block;
  margin-right: auto;
  flex: none;
}
.site-header .logo img {
  width: 196px;
  height: auto;
  display: block;
}
.hd__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.hd__nav a {
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
  transition: color 0.2s var(--ease-out);
}
.hd__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--cryo);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease-out);
}
.hd__nav a:hover,
.hd__nav a[aria-current="true"],
.hd__nav a[aria-current="page"] {
  color: var(--ink);
}
.hd__nav a:hover::after,
.hd__nav a[aria-current="true"]::after,
.hd__nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.site-header .phone {
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-left: 8px;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.site-header .phone:hover {
  background: var(--bg-mist);
  color: var(--cryo);
}
.site-header .consult {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(10, 37, 64, 0.5);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.site-header .consult:hover {
  background: var(--cryo);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -8px rgba(26, 126, 200, 0.55);
}
.mobile-phone, .hd__menu, .m-nav {
  display: none;
}

.reading-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cryo) 0%, var(--cryo-bright) 100%);
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
  pointer-events: none;
  z-index: 2;
}

/* Hero: Cinematic Cryogenic Architecture */
.hero-a {
  position: relative;
  min-height: clamp(580px, 80vh, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 36px 40px;
  padding: clamp(48px, 7vh, 80px) max(var(--pad), calc((100vw - var(--max-w)) / 2)) clamp(22px, 3vh, 32px);
  color: #fff;
  background: var(--bg-abyss);
  overflow: hidden;
}
.panorama {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 56%;
  z-index: 0;
}
.shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(92deg, rgba(4, 20, 36, 0.93) 0%, rgba(4, 20, 36, 0.8) 40%, rgba(6, 28, 50, 0.34) 72%, rgba(6, 28, 50, 0.22) 100%),
    linear-gradient(180deg, rgba(4, 20, 36, 0.22) 0%, rgba(4, 20, 36, 0) 36%, rgba(4, 20, 36, 0.72) 100%);
}
.shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 70%, transparent 100%);
  pointer-events: none;
}
.hero-a-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  max-width: 680px;
}
.hero-a .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #e6f2fb;
}
.hero-a .eyebrow span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cryo-bright);
  box-shadow: 0 0 0 4px rgba(86, 194, 255, 0.22);
}
.hero-a h1 {
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-top: 26px;
  color: #fff;
  text-wrap: balance;
}
.hero-a .lead {
  max-width: 540px;
  margin-top: 22px;
  color: rgba(226, 238, 248, 0.88);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.88;
}
.hero-a .actions {
  margin-top: 34px;
}
.hero-a .btn.primary {
  background: #fff;
  color: var(--ink-strong);
  min-height: 50px;
  padding: 0 26px;
  font-weight: 600;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.5);
}
.hero-a .btn.primary:hover {
  background: var(--cryo-soft);
  color: var(--ink-strong);
}
.hero-a .btn.secondary {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  min-height: 50px;
  padding: 0 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-a .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}
.hero-hud {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  width: clamp(324px, 29vw, 404px);
  border-radius: var(--r-md);
  background: rgba(4, 20, 36, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 22px 48px -14px rgba(0, 0, 0, 0.52);
  overflow: hidden;
}
.hero-hud__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.hero-hud__head span {
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(169, 212, 242, 0.9);
}
.hero-hud__head b {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}
.hero-hud__rows {
  padding: 6px 18px;
  display: grid;
}
.hero-hud__rows > div {
  display: grid;
  grid-template-columns: 7.4em minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.hero-hud__rows > div:last-child {
  border-bottom: 0;
}
.hero-hud__rows dt {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--cryo-bright);
  white-space: nowrap;
}
.hero-hud__rows dd {
  font-size: 13px;
  color: rgba(235, 244, 252, 0.9);
  line-height: 1.5;
}
.hero-hud__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}
.hero-hud__foot a {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  white-space: nowrap;
}
.hero-hud__foot a:hover {
  color: var(--cryo-bright);
}
.hero-hud__foot button {
  background: rgba(86, 194, 255, 0.14);
  border: 1px solid rgba(86, 194, 255, 0.3);
  border-radius: var(--r-pill);
  color: #e8f5ff;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s var(--ease-out);
}
.hero-hud__foot button:hover {
  background: rgba(86, 194, 255, 0.25);
}
.hero-foot {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 18px;
  font-size: 13px;
  color: rgba(226, 238, 248, 0.88);
}
.hero-foot span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 24px;
}
.hero-foot span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cryo-bright);
  opacity: 0.85;
}
.hero-foot span:first-child {
  border-left: 0;
  padding-left: 0;
}

@media (max-width: 1200px) {
  .site-header {
    gap: 16px;
  }
  .site-header .logo img {
    width: 178px;
  }
  .hd__nav {
    gap: 20px;
    font-size: 14px;
  }
  .site-header .phone {
    font-size: 16px;
    margin-left: 0;
  }
  .site-header .consult {
    padding: 9px 15px;
    font-size: 13px;
  }
}

@media (max-width: 1000px) {
  :root {
    --hd: 70px;
  }
  .site-header {
    padding-inline: var(--pad);
    gap: 8px;
  }
  .site-header .logo img {
    width: 176px;
  }
  .site-header .hd__nav,
  .site-header .phone,
  .site-header .consult {
    display: none;
  }
  .mobile-phone,
  .hd__menu {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--bg-mist);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    padding: 0;
    color: var(--ink);
    transition: background 0.2s var(--ease-out);
  }
  .mobile-phone:hover,
  .hd__menu:hover {
    background: var(--bg-frost);
  }
  .hd__menu {
    align-content: center;
    gap: 5px;
  }
  .hd__menu span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.25s var(--ease-out);
  }
  .hd__menu[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .hd__menu[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .m-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    display: block;
    background: #ffffff;
    padding: 8px var(--pad) 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0 0 var(--r-md) var(--r-md);
    box-shadow: 0 22px 48px -12px rgba(4, 20, 36, 0.24);
  }
  .m-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
  }
  .m-nav a:last-child {
    border-bottom: 0;
  }
  .m-nav a[aria-current="page"] {
    color: var(--cryo);
  }
  .hero-a {
    min-height: 540px;
  }
}

@media (max-width: 960px) {
  .hero-a {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
    padding-top: 44px;
    padding-bottom: 24px;
  }
  .hero-a-copy {
    grid-column: 1;
    grid-row: 1;
  }
  .hero-hud {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    max-width: 680px;
  }
  .hero-hud__rows {
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .hero-hud__rows > div:nth-last-child(2) {
    border-bottom: 0;
  }
  .hero-foot {
    grid-column: 1;
    grid-row: 3;
    gap: 8px 16px;
    font-size: 12px;
  }
  .hero-foot span {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 650px) {
  :root {
    --hd: 64px;
  }
  .site-header .logo img {
    width: 162px;
  }
  .hero-a {
    min-height: 520px;
    padding-inline: var(--pad);
    padding-top: 38px;
  }
  .hero-a .eyebrow {
    font-size: 11px;
    padding: 6px 12px;
  }
  .hero-a h1 {
    font-size: clamp(32px, 9vw, 44px);
    margin-top: 22px;
  }
  .hero-a .lead {
    font-size: 14px;
    line-height: 1.85;
    margin-top: 18px;
  }
  .hero-a .actions {
    margin-top: 26px;
    gap: 10px;
  }
  .hero-a .btn.primary,
  .hero-a .btn.secondary {
    min-height: 46px;
    padding: 0 18px;
    font-size: 13px;
    gap: 12px;
  }
  .hero-hud__head {
    padding: 11px 14px;
  }
  .hero-hud__head span {
    font-size: 10px;
  }
  .hero-hud__rows {
    grid-template-columns: 1fr;
    padding: 4px 14px;
  }
  .hero-hud__rows > div {
    grid-template-columns: 6.8em minmax(0, 1fr);
    padding: 9px 0;
  }
  .hero-hud__rows > div:nth-last-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
  .hero-hud__rows dt {
    font-size: 12px;
  }
  .hero-hud__rows dd {
    font-size: 12px;
  }
  .hero-hud__foot {
    padding: 10px 14px;
    flex-wrap: wrap;
  }
  .hero-foot {
    padding-top: 14px;
    font-size: 12px;
    gap: 8px 14px;
  }
  .hero-foot span {
    padding-left: 0;
    gap: 7px;
  }
}
