:root {
  --bg: #0b1016;
  --surface: rgba(18, 25, 36, 0.78);
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef2f6;
  --muted: #b3bdc9;
  --accent: #d7ab5a;
  --accent-strong: #f2c067;
  --accent-soft: rgba(215, 171, 90, 0.18);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --container: min(1240px, calc(100vw - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 171, 90, 0.16), transparent 28%),
    radial-gradient(circle at right 20%, rgba(72, 109, 146, 0.18), transparent 30%),
    linear-gradient(180deg, #0a0f15 0%, #0d131d 100%);
  background-size: 130% 130%, 140% 140%, 100% 100%;
  background-position: 0% 0%, 100% 18%, 50% 50%;
  opacity: 1;
  transition: opacity 0.45s ease, transform 0.45s ease;
  animation: backgroundDrift 24s ease-in-out infinite alternate;
}
html,
body {
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.82;
  background:
    radial-gradient(circle at 8% 16%, rgba(242, 192, 103, 0.42) 0 2.4px, transparent 3.5px),
    radial-gradient(circle at 12% 26%, rgba(255, 235, 184, 0.3) 0 2px, transparent 3px),
    radial-gradient(circle at 7% 32%, rgba(255, 214, 126, 0.26) 0 1.4px, transparent 2.4px),
    radial-gradient(circle at 10% 44%, rgba(242, 192, 103, 0.34) 0 2.4px, transparent 3.5px),
    radial-gradient(circle at 14% 64%, rgba(255, 235, 184, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 11% 72%, rgba(255, 223, 153, 0.24) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 9% 82%, rgba(242, 192, 103, 0.32) 0 2.4px, transparent 3.5px),
    radial-gradient(circle at 92% 12%, rgba(109, 164, 214, 0.38) 0 2.4px, transparent 3.5px),
    radial-gradient(circle at 88% 28%, rgba(190, 225, 255, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 93% 34%, rgba(167, 212, 252, 0.22) 0 1.4px, transparent 2.4px),
    radial-gradient(circle at 91% 46%, rgba(109, 164, 214, 0.34) 0 2.4px, transparent 3.5px),
    radial-gradient(circle at 87% 68%, rgba(190, 225, 255, 0.24) 0 2px, transparent 3px),
    radial-gradient(circle at 89% 78%, rgba(170, 214, 255, 0.2) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 93% 84%, rgba(109, 164, 214, 0.3) 0 2.4px, transparent 3.5px),
    linear-gradient(90deg, rgba(242, 192, 103, 0.14), transparent 18%, transparent 82%, rgba(109, 164, 214, 0.14));
  filter: blur(0.2px);
  mask: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0 14%, transparent 26% 74%, rgba(0, 0, 0, 0.95) 86% 100%);
  -webkit-mask: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0 14%, transparent 26% 74%, rgba(0, 0, 0, 0.95) 86% 100%);
  animation: quartzFloat 9s ease-in-out infinite alternate;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-shell::before {
  opacity: 0.22;
  background:
    linear-gradient(112deg, transparent 0 12%, rgba(255, 218, 145, 0.16) 21%, rgba(255, 218, 145, 0.04) 30%, transparent 40%),
    linear-gradient(98deg, transparent 0 46%, rgba(120, 173, 224, 0.14) 56%, rgba(120, 173, 224, 0.04) 66%, transparent 76%);
  mix-blend-mode: screen;
  animation: quartzBeams 10s ease-in-out infinite alternate;
}

.page-shell::after {
  opacity: 0.86;
  background:
    radial-gradient(circle at 14% 18%, rgba(242, 192, 103, 0.56) 0 1.8px, transparent 3px),
    radial-gradient(circle at 18% 38%, rgba(255, 239, 196, 0.46) 0 1.5px, transparent 2.7px),
    radial-gradient(circle at 10% 24%, rgba(255, 222, 145, 0.34) 0 1.1px, transparent 2.2px),
    radial-gradient(circle at 20% 52%, rgba(255, 239, 196, 0.3) 0 1px, transparent 2px),
    radial-gradient(circle at 12% 64%, rgba(242, 192, 103, 0.48) 0 1.9px, transparent 3.2px),
    radial-gradient(circle at 16% 82%, rgba(255, 239, 196, 0.38) 0 1.6px, transparent 2.8px),
    radial-gradient(circle at 8% 90%, rgba(242, 192, 103, 0.28) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 16%, rgba(145, 194, 241, 0.48) 0 1.8px, transparent 3px),
    radial-gradient(circle at 84% 42%, rgba(205, 232, 255, 0.42) 0 1.5px, transparent 2.7px),
    radial-gradient(circle at 92% 26%, rgba(205, 232, 255, 0.28) 0 1.1px, transparent 2.2px),
    radial-gradient(circle at 82% 58%, rgba(145, 194, 241, 0.24) 0 1px, transparent 2px),
    radial-gradient(circle at 90% 72%, rgba(145, 194, 241, 0.42) 0 1.9px, transparent 3.2px),
    radial-gradient(circle at 86% 88%, rgba(205, 232, 255, 0.34) 0 1.6px, transparent 2.8px),
    radial-gradient(circle at 94% 92%, rgba(145, 194, 241, 0.22) 0 1px, transparent 2px);
  mask:
    linear-gradient(180deg, transparent 0, transparent 100vh, rgba(0, 0, 0, 0.95) calc(100vh + 1px)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0 16%, transparent 28% 72%, rgba(0, 0, 0, 0.95) 84% 100%);
  -webkit-mask:
    linear-gradient(180deg, transparent 0, transparent 100vh, rgba(0, 0, 0, 0.95) calc(100vh + 1px)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0 16%, transparent 28% 72%, rgba(0, 0, 0, 0.95) 84% 100%);
  animation: sandParticles 9.5s ease-in-out infinite alternate;
}

body.is-transitioning {
  opacity: 0;
  transform: translateY(10px);
}

body.is-preloader-active {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.16), rgba(8, 12, 18, 0.72));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  z-index: 60;
}

body.is-transitioning::before {
  opacity: 1;
}
img, video { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
.page-shell {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

body[data-page="home"]::after {
  mask:
    linear-gradient(180deg, transparent 0, transparent calc(100vh + 120px), rgba(0, 0, 0, 0.95) calc(100vh + 220px)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0 14%, transparent 26% 74%, rgba(0, 0, 0, 0.95) 86% 100%);
  -webkit-mask:
    linear-gradient(180deg, transparent 0, transparent calc(100vh + 120px), rgba(0, 0, 0, 0.95) calc(100vh + 220px)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0 14%, transparent 26% 74%, rgba(0, 0, 0, 0.95) 86% 100%);
}

body[data-page="home"] .page-shell::after {
  mask:
    linear-gradient(180deg, transparent 0, transparent calc(100vh + 120px), rgba(0, 0, 0, 0.95) calc(100vh + 220px)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0 16%, transparent 28% 72%, rgba(0, 0, 0, 0.95) 84% 100%);
  -webkit-mask:
    linear-gradient(180deg, transparent 0, transparent calc(100vh + 120px), rgba(0, 0, 0, 0.95) calc(100vh + 220px)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0 16%, transparent 28% 72%, rgba(0, 0, 0, 0.95) 84% 100%);
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 20;
  padding: 18px 0 0;
  pointer-events: none;
  background: transparent;
}

.site-header.is-scrolled .topbar {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(12, 18, 27, 0.9);
}

.topbar,
.site-nav {
  pointer-events: auto;
}

.topbar,
.site-nav,
.section,
.hero__grid,
.subhero__content,
.product-layout,
.docs-grid {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 18, 27, 0.82);
  box-shadow: var(--shadow);
  position: relative;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 210px;
  min-width: 0;
}

.brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand__text {
  display: grid;
  gap: 2px;
  min-width: 0;
  justify-items: start;
  text-align: left;
  line-height: 1.1;
}
.brand__eyebrow,
.section-kicker {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 700;
}

.brand__title, h1, h2, h3 {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand__title {
  font-size: clamp(0.82rem, 0.9vw, 1rem);
  line-height: 1;
}
.brand__subline {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.2;
  max-width: none;
  white-space: nowrap;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.contact-link { color: var(--accent-strong); font-weight: 700; white-space: nowrap; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #16110a;
  font-weight: 800;
  transition: transform 0.3s ease;
  box-shadow: 0 12px 30px rgba(215, 171, 90, 0.18);
}

.button:hover { transform: translateY(-2px); }
.button:disabled,
.button.is-loading {
  opacity: 0.78;
  cursor: wait;
  transform: none;
}
.button--compact {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}
.button--secondary,
.button--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(238, 242, 246, 0.78);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.hero,
.subhero {
  position: relative;
  overflow: visible;
  padding-top: 0;
}

.hero--video::after,
.subhero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -56px;
  width: 100vw;
  height: 71px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 15, 21, 0.96) 0%, rgba(10, 15, 21, 0.64) 30%, rgba(10, 15, 21, 0.28) 58%, rgba(10, 15, 21, 0.1) 82%, rgba(10, 15, 21, 0) 100%);
  filter: blur(5px);
}

.hero--video {
  isolation: isolate;
  z-index: 1;
}

.hero { min-height: 100vh; }
.hero__media,
.hero__backdrop,
.subhero::before,
.subhero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: 0;
}

.hero__backdrop {
  z-index: 1;
}

.hero__media > *,
.subhero::before {
  height: 100%;
  object-fit: cover;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

@media (max-width: 1100px) {
  .hero-video {
    object-fit: cover;
  }
}

body[data-page="home"] .hero__media > * {
  object-position: 50% 50%;
}

.hero__backdrop {
  background:
    linear-gradient(90deg, rgba(8, 13, 19, 0.74) 0%, rgba(8, 13, 19, 0.56) 42%, rgba(8, 13, 19, 0.36) 100%),
    linear-gradient(180deg, rgba(215, 171, 90, 0.08) 0%, rgba(12, 18, 26, 0.08) 100%);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(240px, 0.56fr);
  gap: 24px;
  align-items: end;
  min-height: 100vh;
  padding-top: 116px;
  padding-bottom: 72px;
}

.hero__content,
.hero-panel,
.glass-card,
.content-block,
.contact-panel,
.product-showcase,
.doc-card,
.docs-preview {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero__content {
  width: fit-content !important;
  max-width: min(100%, 730px);
  padding: 30px 30px !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  justify-self: start;
  align-self: end;
}

.hero__content .hero-mark {
  margin-bottom: 18px !important;
}

.hero__content .section-kicker {
  margin-bottom: 10px !important;
}

.hero__content h1 {
  margin: 0 0 16px 0 !important;
  font-size: clamp(1.55rem, 2.65vw, 2.3rem) !important;
  line-height: 1.04 !important;
  text-wrap: balance;
  flex: 0 1 auto !important;
}

.hero__content p {
  max-width: 52ch;
  margin-bottom: 20px !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.hero__actions {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.hero-mark,
.subhero-mark,
.contact-mark {
  width: auto;
  object-fit: contain;
}

.hero-mark {
  height: 44px;
  margin-bottom: 14px;
  align-self: flex-start;
  margin-right: auto;
}

.subhero-mark {
  height: 48px;
  margin-bottom: 16px;
}

.contact-mark {
  height: 44px;
  margin-bottom: 14px;
}
h1 { margin: 10px 0 14px; font-size: clamp(1.6rem, 3.2vw, 2.8rem); line-height: 1.1; }
h2 { margin: 12px 0 14px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
h3 { margin: 0 0 12px; font-size: 1.6rem; }
p { margin: 0; color: var(--muted); line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-xl);
  max-width: 270px;
  justify-self: end;
}

.hero-panel-mobile-shell {
  display: contents;
}

.hero-panel-toggle {
  display: none;
}

.metric-card {
  padding: 11px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-card__value {
  display: block;
  margin-bottom: 4px;
  font-family: "Oswald", sans-serif;
  font-size: 1.3rem;
  color: var(--accent-strong);
}

.metric-card__label {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.section { padding: 88px 0; }
.section--overview {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  padding-top: 88px;
}

.section--overview::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%) scale(1.02);
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.84) 0%, rgba(10, 15, 21, 0.72) 32%, rgba(10, 15, 21, 0.9) 100%),
    linear-gradient(90deg, rgba(7, 12, 18, 0.72) 0%, rgba(7, 12, 18, 0.38) 44%, rgba(7, 12, 18, 0.78) 100%),
    url("media/sand-quartz.webp");
  background-size: cover;
  background-position: center center;
  filter: saturate(0.92) contrast(1.04);
}

.section--overview::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  z-index: -1;
  background:
    radial-gradient(circle at 18% 18%, rgba(242, 192, 103, 0.12), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(109, 164, 214, 0.12), transparent 24%);
  pointer-events: none;
}

.section--split {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: 88px;
}

.section--split::before,
.subhero + .section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 100vw;
  height: 40px;
  transform: translateX(-50%) translateY(-52%);
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 21, 0) 0%, rgba(10, 15, 21, 0.18) 18%, rgba(10, 15, 21, 0.56) 42%, rgba(10, 15, 21, 0.92) 76%, rgba(10, 15, 21, 1) 100%);
  filter: blur(12px);
}

.subhero + .section {
  position: relative;
  margin-top: 0;
  padding-top: 88px;
}

.overview-intro {
  display: none;
}

.overview-intro__title {
  margin-top: 10px;
  margin-bottom: 12px;
}

.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2 {
  line-height: 1.12;
  text-wrap: balance;
}
.cards-grid { display: grid; gap: 20px; }
.cards-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.glass-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.glass-card h3 {
  margin-bottom: 14px;
}

.glass-card p {
  width: 100%;
  margin-inline: auto;
  text-align: center;
  flex: 1 1 auto;
}

.glass-card .text-link {
  margin-top: 0;
  align-self: center;
}

.card-price {
  display: grid;
  gap: 4px;
  margin: auto 0 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-price span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-price strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.card-badge,
.doc-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
  margin-bottom: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-strong);
  font-weight: 700;
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.image-stack { position: relative; min-height: 560px; }
.image-stack__main,
.image-stack__secondary {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.image-stack__main { inset: 0 80px 0 0; }
.image-stack__secondary {
  width: 38%;
  right: 0;
  bottom: 32px;
  border: 1px solid var(--line);
}

.image-stack img { height: 100%; object-fit: cover; }
.content-block { padding: 36px; border-radius: var(--radius-xl); }
.content-block h2 {
  line-height: 1.12;
  text-wrap: balance;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.feature-list__item {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-list__item strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  color: var(--accent-strong);
}

.docs-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-xl);
}

.section--advantages {
  padding-top: 12px;
}

.advantages-pin {
  width: var(--container);
  margin: 0 auto;
  position: relative;
}

.section--advantages + .section {
  position: relative;
  margin-top: -44px;
  padding-top: 132px;
}

.advantages {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-height: min(660px, calc(100vh - 164px));
}

.advantages__sticky {
  position: relative;
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 29, 42, 0.9), rgba(15, 21, 32, 0.82));
  box-shadow: var(--shadow);
  height: fit-content;
  align-self: start;
  width: 100%;
  max-width: none;
}

.advantages__sticky h2 {
  max-width: none;
  font-size: clamp(1.7rem, 2.45vw, 2.55rem);
  line-height: 1.12;
  text-wrap: balance;
}

.advantages-progress {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 14px;
}

.advantages-progress__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.advantages-progress__label {
  color: rgba(238, 242, 246, 0.62);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.advantages-progress__count {
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.advantages-progress__bar {
  position: relative;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.advantages-progress__fill {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(215, 171, 90, 0.72), rgba(242, 192, 103, 1));
  transition: width 0.22s ease;
}

.advantages-progress__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.advantages-progress__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.advantages-progress__dots span.is-active {
  transform: scale(1.08);
  background: rgba(242, 192, 103, 0.92);
  border-color: rgba(242, 192, 103, 0.92);
  box-shadow: 0 0 0 4px rgba(242, 192, 103, 0.12);
}

.pipe-visual {
  position: relative;
  width: min(100%, 180px);
  height: 188px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pipe-visual__line {
  position: absolute;
  left: 50%;
  top: 14px;
  bottom: 14px;
  width: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(242, 192, 103, 0.25), rgba(242, 192, 103, 0.95));
}

.pipe-visual__stone {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f2c067, #8b6428);
  box-shadow: 0 0 18px rgba(242, 192, 103, 0.32);
  animation: floatStone 4.5s ease-in-out infinite;
  transform: translateX(-50%);
}

.pipe-visual__stone--1 { top: 24px; }
.pipe-visual__stone--2 { top: 86px; animation-delay: 0.6s; }
.pipe-visual__stone--3 { top: 148px; animation-delay: 1.2s; }

.advantages__cards {
  position: relative;
  min-height: min(660px, calc(100vh - 164px));
  overflow: visible;
  border-radius: 30px;
  isolation: isolate;
}

.adv-card {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  padding: 26px 28px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(18, 24, 34, 0.74);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.26);
  transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease, opacity 0.24s ease;
  transform-origin: 50% 50%;
  transform: translate3d(0, -50%, 0);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.adv-card.is-current {
  border-color: rgba(242, 192, 103, 0.56);
  background: linear-gradient(180deg, rgba(31, 39, 53, 0.96), rgba(19, 26, 36, 0.92));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(242, 192, 103, 0.16);
}

.adv-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-weight: 800;
}

.doc-tile {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.doc-tile span {
  display: block;
  margin-bottom: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.section-cta { margin-top: 22px; }

.contact-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.contact-panel__info {
  display: grid;
  gap: 10px;
  min-width: 280px;
}

.contact-panel__info a { font-weight: 700; }
.site-footer {
  margin-top: 56px;
  padding: 0 0 30px;
}

.site-footer__inner,
.site-footer__bottom {
  width: var(--container);
  margin: 0 auto;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(220px, 0.8fr));
  gap: 28px;
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 25, 36, 0.9), rgba(12, 18, 27, 0.86));
  box-shadow: var(--shadow);
}

.site-footer__brand,
.site-footer__column {
  display: grid;
  align-content: start;
}

.site-footer__brand {
  gap: 14px;
}

.site-footer__logo {
  width: auto;
  height: 46px;
  object-fit: contain;
}

.site-footer__brand p {
  max-width: 42ch;
}

.site-footer__title {
  margin-bottom: 14px;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.site-footer__links {
  display: grid;
  gap: 10px;
}

.site-footer__links a,
.site-footer__links span {
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}

.site-footer__links a:hover {
  color: var(--accent-strong);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer__bottom a {
  color: var(--accent-strong);
  font-weight: 700;
}

.site-footer__bottom a:hover {
  color: var(--text);
}
.subhero { min-height: 520px; display: flex; align-items: end; padding-bottom: 48px; }
.subhero::before { content: ""; }

.subhero--sand::before {
  background: linear-gradient(rgba(10, 16, 23, 0.42), rgba(10, 16, 23, 0.42)), url("media/sand-industrial.webp") center/cover no-repeat;
}

.subhero--documents::before {
  background: linear-gradient(rgba(10, 16, 23, 0.38), rgba(10, 16, 23, 0.48)), url("media/sand-quartz.webp") center/cover no-repeat;
}

.subhero--price::before {
  background:
    linear-gradient(rgba(10, 16, 23, 0.34), rgba(10, 16, 23, 0.62)),
    radial-gradient(circle at 16% 18%, rgba(242, 192, 103, 0.2), transparent 28%),
    url("media/sand-fractional.webp") center/cover no-repeat;
}

.subhero--about::before {
  background:
    linear-gradient(rgba(10, 16, 23, 0.38), rgba(10, 16, 23, 0.58)),
    radial-gradient(circle at 84% 20%, rgba(109, 164, 214, 0.18), transparent 24%),
    url("media/sand-industrial.webp") center/cover no-repeat;
}

.subhero__overlay {
  background: linear-gradient(180deg, rgba(7, 12, 18, 0.44) 0%, rgba(7, 12, 18, 0.9) 100%);
}

.subhero__content {
  position: relative;
  z-index: 1;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.product-layout { display: grid; gap: 28px; }

.services-layout,
.price-preview,
.price-layout,
.about-overview,
.about-highlights {
  display: grid;
  gap: 20px;
}

.services-layout {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.price-preview__card,
.price-group,
.about-story,
.about-stat,
.about-highlight,
.about-cta {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-rows: minmax(118px, auto) minmax(240px, 1fr) auto;
  align-content: start;
  gap: 0;
  height: 100%;
}

.service-card__header {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  min-height: 0;
}

.section-heading__actions {
  margin-top: 22px;
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(215, 171, 90, 0.18), rgba(109, 164, 214, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-strong);
  flex: 0 0 auto;
}

.service-card__icon svg,
.about-stat__icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  display: flex;
  align-items: center;
  min-height: 60px;
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.04;
}

.service-card p {
  margin-top: 0;
  align-self: start;
  margin-bottom: 0;
}

.bullet-list--compact {
  margin-top: 18px;
  align-self: end;
}

.bullet-list--compact li {
  color: var(--muted);
  font-size: 14px;
}

.content-block__actions {
  margin-top: 28px;
}

.price-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-preview__card {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.price-preview__list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.price-preview__list div {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(0, 1fr);
  align-items: flex-start;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.price-preview__list span,
.price-table__cell span {
  color: var(--muted);
}

.price-preview__list strong {
  display: block;
  max-width: none;
  text-align: left;
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.price-layout {
  gap: 24px;
}

.price-group {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.price-group__head {
  padding: 22px 28px;
  background: linear-gradient(135deg, rgba(215, 171, 90, 0.22), rgba(109, 164, 214, 0.12));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-group__head h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
}

.price-table {
  display: grid;
}

.price-table__row,
.price-table__head {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 150px 170px minmax(130px, 160px);
  gap: 18px;
  align-items: center;
  padding: 18px 28px;
}

.price-table__head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.price-table__row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-table__row:last-child {
  border-bottom: 0;
}

.price-table__cell {
  display: grid;
  gap: 4px;
}

.price-table__cell--action {
  justify-items: end;
}

.price-table__cell--action .button {
  width: 100%;
}

.price-table__cell strong {
  color: var(--text);
  font-size: 15px;
}

.price-table__cell a {
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.price-table__cell a:hover {
  color: var(--accent-strong);
  text-decoration-color: currentColor;
}

.price-table__value {
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.about-overview {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  align-items: stretch;
}

.about-story,
.about-cta {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.about-story h2,
.about-cta h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  line-height: 1.02;
}

.about-story p + p {
  margin-top: 18px;
}

.about-story__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.about-story__item {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-story__item strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.about-story__item span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  align-content: start;
  height: 100%;
}

.about-stat {
  height: 100%;
  position: relative;
  overflow: visible;
  padding: 26px 24px 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: none;
  gap: 18px;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.about-stat::before {
  content: none;
}

.about-stat::after {
  content: none;
}

.about-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 171, 90, 0.22);
}

.about-stat__top {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.about-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-strong);
  flex: 0 0 auto;
}

.about-stat__icon svg {
  width: 22px;
  height: 22px;
}

.about-stat__metric {
  display: block;
  width: 100%;
  min-width: 0;
  font-family: "Oswald", sans-serif;
  max-width: none;
  text-align: left;
  justify-self: start;
  font-size: clamp(1.12rem, 1.45vw, 1.52rem);
  line-height: 0.96;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #f7f3ea;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: none;
}

.about-stat__metric--wide {
  width: auto;
  max-width: none;
  font-size: clamp(1.02rem, 1.18vw, 1.32rem);
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  overflow-wrap: normal;
}

.about-stat__body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 10px;
  padding-left: 0;
}

.about-stat h3 {
  margin: 0;
  max-width: 18ch;
  font-size: 0.9rem;
  line-height: 1.08;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.about-stat p {
  color: rgba(238, 242, 246, 0.78);
  max-width: 30ch;
  font-size: 15px;
  line-height: 1.62;
  text-wrap: pretty;
}

.about-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-highlight {
  padding: 28px;
  border-radius: 24px;
}

.about-highlight h3 {
  font-size: 1.3rem;
}

.about-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

@media (min-width: 1101px) {
  .quarry-section {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    align-items: stretch;
    gap: 28px;
  }

  .quarry-section > div:first-child {
    display: grid;
    align-content: center;
  }

  .quarry-section h2 {
    max-width: 12ch;
  }

  .quarry-section p {
    max-width: 58ch;
  }

  .quarry-section .feature-list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 0;
    align-content: center;
  }

  .quarry-section .feature-list__item {
    min-height: 0;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 24px 22px;
  }

  .quarry-section .feature-list__item strong {
    margin-bottom: 0;
    font-size: clamp(1.8rem, 2.2vw, 2.4rem);
    line-height: 1;
  }
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.product-showcase--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.product-showcase--reverse .product-showcase__image { order: 2; }
.product-showcase__image img { height: 100%; object-fit: cover; }
.product-showcase__content { padding: 34px; }
.product-showcase__content h2 {
  line-height: 1.12;
  text-wrap: balance;
}

.product-showcase__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.spec-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-item span {
  display: block;
  color: var(--muted);
  margin-bottom: 6px;
  font-size: 13px;
}

.bullet-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.bullet-list--compact {
  margin-top: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 18px rgba(242, 192, 103, 0.5);
}

.product-price-list {
  display: grid;
  gap: 10px;
}

.product-price-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
  overflow: hidden;
}

.product-price-item span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: normal;
}

.product-price-item strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
  line-height: 1.1;
  overflow-wrap: anywhere;
  word-break: normal;
}

.product-doc-links,
.product-fractions,
.product-inline-actions {
  display: grid;
  gap: 10px;
}

.product-doc-links .button,
.product-fractions .button,
.product-inline-actions .button {
  width: 100%;
}

.is-disabled-link {
  opacity: 0.72;
  pointer-events: none;
  color: var(--muted);
  border-style: dashed;
}

.catalog-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0s linear 0.24s;
}

.catalog-drawer.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.24s ease, visibility 0s linear 0s;
}

.catalog-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 17, 0.72);
  backdrop-filter: blur(8px);
}

.catalog-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(560px, calc(100vw - 24px));
  max-width: min(560px, calc(100vw - 24px));
  height: 100%;
  padding: 28px 22px 22px;
  background: linear-gradient(180deg, rgba(18, 25, 36, 0.96), rgba(10, 15, 22, 0.98));
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -20px 0 80px rgba(0, 0, 0, 0.42);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-x: hidden;
}

.catalog-drawer.is-active .catalog-drawer__panel {
  transform: translateX(0);
}

.catalog-drawer__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
}

.catalog-drawer__body {
  display: grid;
  gap: 18px;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 20px;
}

#catalogDrawerTitle {
  margin-right: 44px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.96;
}

.catalog-drawer__location,
.catalog-drawer__hint {
  margin: 0;
  color: var(--muted);
}

.catalog-drawer__hint {
  font-size: 13px;
  line-height: 1.55;
}

.catalog-drawer__section {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.catalog-drawer__section h3 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalog-drawer__section .bullet-list,
.catalog-drawer__section .product-price-list,
.catalog-drawer__section .product-doc-links {
  min-width: 0;
}

.catalog-drawer__section .bullet-list--compact {
  margin: 0;
  align-self: start;
}

.catalog-drawer__section .bullet-list li,
.catalog-drawer__location,
#catalogDrawerTitle,
#catalogDrawerSubtitle {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 640px) {
  .catalog-drawer__panel {
    width: 100vw;
    max-width: 100vw;
    padding: 24px 18px 18px;
  }

  #catalogDrawerTitle {
    font-size: clamp(1.8rem, 11vw, 2.8rem);
  }
}

.docs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.doc-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-rows: auto minmax(84px, auto) minmax(120px, auto) 1fr;
  gap: 18px;
  align-content: start;
}
.doc-card__top {
  display: flex;
  align-items: flex-start;
  min-height: 36px;
}
.doc-card__index {
  margin-bottom: 0;
}
.doc-card__head {
  margin-bottom: 0;
  min-height: 84px;
}
.doc-card__head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  line-height: 1.16;
  letter-spacing: 0.02em;
  max-width: none;
  width: 100%;
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.doc-card p,
.doc-card .bullet-list {
  width: 100%;
  padding-left: 0;
  margin-left: 0;
}

.doc-card p {
  min-height: 120px;
  margin: 0;
}

.doc-card .bullet-list {
  margin: 0;
  align-self: start;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.reveal--delay { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

body.skip-entry-animations .reveal,
body.skip-entry-animations .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ========== ФИКС ЗАГОЛОВКОВ В КАРТОЧКАХ ========== */
.cards-grid--three .glass-card h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  letter-spacing: -0.01em;
}

/* Для первого блока оставляем центрирование и тот же размер */
.cards-grid--three .glass-card:first-child h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: center;
}

/* Выравнивание кнопки "Подробнее" по центру */
.cards-grid--three .glass-card .text-link {
  text-align: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
}

@media (max-width: 1100px) {
  .cards-grid--three .glass-card h3 {
    font-size: 1.05rem;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .cards-grid--three .glass-card:first-child h3 {
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    white-space: normal;
    text-align: center;
  }

  .cards-grid--three .glass-card .text-link {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .cards-grid--three .glass-card h3 {
    font-size: 1rem;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .cards-grid--three .glass-card:first-child h3 {
    font-size: 1rem;
    letter-spacing: normal;
    white-space: normal;
    text-align: center;
  }

  .cards-grid--three .glass-card .text-link {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .hero__grid,
  .section--split,
  .advantages,
  .docs-grid,
  .cards-grid--three,
  .docs-preview,
  .services-layout,
  .price-preview,
  .about-overview,
  .about-highlights,
  .product-showcase__split,
  .product-showcase,
  .product-showcase--reverse,
  .site-footer__inner { grid-template-columns: 1fr; }
  .service-card {
    grid-template-rows: minmax(104px, auto) minmax(0, auto) auto;
  }
  .image-stack { min-height: 420px; }
  .image-stack__main { inset: 0 40px 0 0; }
  .image-stack__secondary { width: 42%; }
  .contact-panel { flex-direction: column; }
  .advantages-pin {
    min-height: auto;
  }
  .advantages__cards {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    display: grid;
    gap: 18px;
    overflow: visible;
    border-radius: 0;
  }
  .advantages__sticky { position: relative; top: auto; }
  .advantages {
    position: relative;
    top: auto;
    min-height: 0;
    gap: 18px;
  }
  .about-story__highlights {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
  .doc-card__top,
  .doc-card__head,
  .doc-card p {
    min-height: 0;
  }
  .about-stat__body {
    padding-left: 0;
  }
  .about-stat__metric {
    max-width: none;
    font-size: clamp(1.45rem, 4.8vw, 1.9rem);
  }
  .advantages__sticky { order: 1; }
  .advantages__cards {
    order: 2;
    width: 100%;
    justify-self: stretch;
  }
  .adv-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-left: 0;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .site-nav {
    grid-column: 1 / -1;
    order: 4;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 8px;
    background: rgba(12, 18, 27, 0.82);
    border-radius: 14px;
    padding: 8px;
  }
  .header-actions {
    justify-self: end;
  }
  .hero-panel {
    max-width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 820px) {
  .site-header { padding-top: 12px; }
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 14px;
    align-items: center;
  }
  .header-actions { display: none; }
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px;
    margin-top: 2px;
    background: rgba(12, 18, 27, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
  }
  .site-nav.is-open { display: flex; }
  .hero__grid {
    min-height: 100svh;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: end;
    padding-top: 96px;
    padding-bottom: 24px;
  }
  .subhero { min-height: 420px; }
  .subhero__content { margin-top: 136px; }
  .hero__content,
  .hero-panel,
  .content-block,
  .service-card,
  .price-preview__card,
  .about-story,
  .about-stat,
  .about-highlight,
  .about-cta,
  .contact-panel,
  .product-showcase__content,
  .doc-card,
  .subhero__content,
  .advantages__sticky,
  .adv-card { padding: 24px; }
  .service-card {
    grid-template-rows: auto auto auto;
  }
  .service-card__header {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  h1 { font-size: clamp(1.9rem, 8.2vw, 3rem); }
  h2 { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .feature-list,
  .spec-grid,
  .price-preview__list div,
  .price-table__row,
  .price-table__head { grid-template-columns: 1fr; }
  .site-nav a { padding: 12px 14px; font-size: 14px; }
  .brand {
    max-width: none;
    flex-basis: auto;
    gap: 7px;
  }
  .brand__logo {
    width: 34px;
    height: 34px;
  }
  .brand__title {
    font-size: 0.82rem;
    line-height: 0.95;
  }
  .brand__eyebrow {
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  .brand__subline {
    display: block;
    font-size: 8px;
    line-height: 1.1;
    max-width: 9ch;
  }
  .price-table__head {
    display: none;
  }
  .price-table__row {
    gap: 12px;
  }
  .price-table__cell {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .price-table__cell:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .about-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero__content {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 16px;
    order: 2;
  }
  .hero__content p {
    max-width: 32ch;
  }
  .hero-panel {
    width: 100%;
    max-width: 220px;
    padding: 10px;
    gap: 8px;
    justify-self: start;
    order: 1;
  }
  .metric-card {
    padding: 8px 10px;
    border-radius: 14px;
  }
  .metric-card__value {
    font-size: 1rem;
    margin-bottom: 2px;
  }
  .metric-card__label {
    font-size: 10px;
    line-height: 1.25;
  }
  .pipe-visual { height: 160px; }
}

@media (max-width: 560px) {
  :root { --container: min(1240px, calc(100vw - 20px)); }
  body::after {
    opacity: 0.5;
    mask: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0 10%, transparent 20% 80%, rgba(0, 0, 0, 0.88) 90% 100%);
    -webkit-mask: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0 10%, transparent 20% 80%, rgba(0, 0, 0, 0.88) 90% 100%);
  }
  .page-shell::before {
    opacity: 0.14;
  }
  .page-shell::after {
    opacity: 0.42;
    mask:
      linear-gradient(180deg, transparent 0, transparent 100svh, rgba(0, 0, 0, 0.88) calc(100svh + 1px)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0 10%, transparent 20% 80%, rgba(0, 0, 0, 0.88) 90% 100%);
    -webkit-mask:
      linear-gradient(180deg, transparent 0, transparent 100svh, rgba(0, 0, 0, 0.88) calc(100svh + 1px)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0 10%, transparent 20% 80%, rgba(0, 0, 0, 0.88) 90% 100%);
  }
  body[data-page="home"]::after {
    opacity: 0.5;
    mask:
      linear-gradient(180deg, transparent 0, transparent calc(100svh + 84px), rgba(0, 0, 0, 0.88) calc(100svh + 160px)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0 10%, transparent 20% 80%, rgba(0, 0, 0, 0.88) 90% 100%);
    -webkit-mask:
      linear-gradient(180deg, transparent 0, transparent calc(100svh + 84px), rgba(0, 0, 0, 0.88) calc(100svh + 160px)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0 10%, transparent 20% 80%, rgba(0, 0, 0, 0.88) 90% 100%);
  }
  body[data-page="home"] .page-shell::after {
    opacity: 0.42;
    mask:
      linear-gradient(180deg, transparent 0, transparent calc(100svh + 84px), rgba(0, 0, 0, 0.88) calc(100svh + 160px)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0 10%, transparent 20% 80%, rgba(0, 0, 0, 0.88) 90% 100%);
    -webkit-mask:
      linear-gradient(180deg, transparent 0, transparent calc(100svh + 84px), rgba(0, 0, 0, 0.88) calc(100svh + 160px)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0 10%, transparent 20% 80%, rgba(0, 0, 0, 0.88) 90% 100%);
  }
  .topbar { border-radius: 14px; }
  .button,
  .button--secondary,
  .button--ghost { width: 100%; }
  .hero__actions { flex-direction: column; }
  .hero__grid {
    padding-top: 74px;
    padding-bottom: 18px;
  }
  .hero__content {
    display: none;
  }
  .overview-intro {
    display: block;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
  }
  .section--split {
    margin-top: 0;
  }
  .hero__content {
    background: rgba(12, 18, 27, 0.6);
    backdrop-filter: blur(10px);
  }
  .overview-intro p,
  .subhero__content p,
  .adv-card p,
  .doc-card p,
  .service-card p,
  .about-story p,
  .about-highlight p { font-size: 14px; line-height: 1.65; }
  .overview-intro__title {
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: clamp(1.32rem, 5.8vw, 1.72rem);
  }
  .overview-intro p {
    font-size: 12px;
    line-height: 1.5;
  }
  .hero-mark {
    height: 30px;
    margin-bottom: 10px;
  }
  .subhero-mark {
    height: 38px;
    margin-bottom: 12px;
  }
  .contact-mark {
    height: 36px;
    margin-bottom: 12px;
  }
  .section-kicker {
    letter-spacing: 0.18em;
    font-size: 10px;
  }
  .hero-panel {
    background: rgba(12, 18, 27, 0.52);
    max-width: 200px;
  }
  .advantages__cards { gap: 14px; }
  .adv-card { border-radius: 22px; }
  .image-stack { min-height: 320px; }
  .image-stack__main { inset: 0 20px 0 0; }
  .image-stack__secondary { width: 48%; bottom: 18px; }
}

@keyframes floatStone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes backgroundDrift {
  0% {
    background-position: 0% 0%, 100% 18%, 50% 50%;
  }
  50% {
    background-position: 4% 3%, 96% 24%, 50% 50%;
  }
  100% {
    background-position: 2% 6%, 92% 14%, 50% 50%;
  }
}

@keyframes quartzFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.74;
  }
  50% {
    transform: translate3d(0, -22px, 0) scale(1.03);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 16px, 0) scale(1.05);
    opacity: 0.8;
  }
}

@keyframes quartzBeams {
  0% {
    transform: translate3d(-6%, 0, 0) scaleX(0.96) rotate(-1deg);
    opacity: 0.12;
  }
  50% {
    transform: translate3d(4%, -2%, 0) scaleX(1.08) rotate(0.4deg);
    opacity: 0.24;
  }
  100% {
    transform: translate3d(10%, 2%, 0) scaleX(1.16) rotate(1deg);
    opacity: 0.16;
  }
}

@keyframes sandParticles {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate3d(1.2%, -1.6%, 0) scale(1.015) rotate(0.3deg);
  }
  50% {
    transform: translate3d(-0.8%, -3.2%, 0) scale(1.03) rotate(-0.45deg);
  }
  75% {
    transform: translate3d(1.1%, -1.9%, 0) scale(1.018) rotate(0.35deg);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}
/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

.modal.is-active {
  visibility: visible;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 13, 19, 0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.modal__container {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100% - 40px));
  max-height: 70vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #0d131d 0%, #0a0f15 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  scrollbar-width: thin;
  scrollbar-color: rgba(215, 171, 90, 0.4) rgba(255, 255, 255, 0.05);
}

.modal__container::-webkit-scrollbar {
  width: 4px;
}

.modal__container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.modal__container::-webkit-scrollbar-thumb {
  background: rgba(215, 171, 90, 0.4);
  border-radius: 4px;
}

.modal__container::-webkit-scrollbar-thumb:hover {
  background: rgba(215, 171, 90, 0.7);
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}

.modal__close:hover {
  background: rgba(215, 171, 90, 0.2);
  border-color: var(--accent);
}

.modal__content {
  padding: 24px 28px;
}

.modal__header {
  text-align: center;
  margin-bottom: 20px;
}

.modal__header h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

.modal__header p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.callback-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  color: var(--text);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(179, 189, 201, 0.6);
}

.button--full {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  margin-top: 8px;
}

.form-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.form-consent input {
  margin: 2px 0 0;
  accent-color: var(--accent-strong);
}

.form-status {
  min-height: 20px;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.form-status.is-error {
  color: #ffb4ae;
}

.form-status.is-info {
  color: var(--accent-strong);
}

/* ========== ФОРМА ОБРАТНОЙ СВЯЗИ ВНИЗУ ========== */
.callback-bottom__grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: 28px;
}

.callback-bottom__info,
.callback-bottom__form {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.callback-bottom__info {
  gap: 22px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4px;
  gap: 16px;
}

.contact-info-item__icon {
  font-size: 20px;
  min-width: 30px;
  margin-top: 17px;
  text-align: center;
  color: #e9bb65;
}

.contact-info-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.contact-info-item strong {
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-strong);
  margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item span {
  color: var(--text);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
}

.contact-info-item a:hover {
  color: var(--accent-strong);
}

.callback-form-bottom {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.callback-form-bottom input,
.callback-form-bottom textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  color: var(--text);
}

.callback-form-bottom input:focus,
.callback-form-bottom textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.callback-form-bottom textarea {
  min-height: 170px;
  resize: vertical;
}

.callback-form-bottom .button--full {
  min-height: 52px;
  padding: 0 22px;
  font-size: 14px;
  margin-top: 10px;
}

.callback-form-bottom .form-note {
  font-size: 11px;
  line-height: 1.45;
  margin-top: 8px;
}

/* ========== ПРЕЛОАДЕР ========== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0f15 0%, #0d131d 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.preloader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__logo {
  text-align: center;
  transform: scale(0.8);
  opacity: 0;
  animation: preloaderLogo 0.22s ease forwards;
}

.preloader__logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 16px;
  animation: preloaderPulse 0.62s ease-in-out infinite;
}

.preloader__text {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-strong);
  opacity: 0;
  animation: preloaderTextFade 0.18s ease 0.08s forwards;
}

@keyframes preloaderLogo {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes preloaderPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

@keyframes preloaderTextFade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero__content {
  border-radius: 28px !important;
}

/* ========== FINAL RESPONSIVE TUNING ========== */
.section--advantages {
  padding-top: 32px;
}

.advantages-pin {
  /* Desktop values are updated by GSAP on refresh. */
  --adv-stage-height: 560px;
  --adv-scroll-distance: 520px;
  min-height: calc(var(--adv-stage-height) + var(--adv-scroll-distance));
}

.advantages.is-advantages-active {
  min-height: var(--adv-stage-height);
  max-height: var(--adv-stage-height);
  align-items: stretch;
}

.advantages__sticky {
  min-height: 0;
}

.advantages__cards {
  min-height: var(--adv-stage-height);
  height: var(--adv-stage-height);
  display: block;
}

.advantages__cards.is-advantages-active {
  overflow: visible;
  border-radius: 30px;
}

.adv-card {
  width: min(100%, 640px);
  margin-left: auto;
}

.adv-card p {
  max-width: 44ch;
}

.adv-card.reveal,
.adv-card.reveal.is-visible {
  opacity: 1;
}

.section--callback {
  padding: 0 0 84px;
  margin-top: -34px;
}

.callback-bottom {
  width: var(--container);
  max-width: none;
  padding: 0;
}

.callback-bottom__header {
  max-width: 880px;
  margin: 0 0 28px;
  text-align: left;
}

.callback-bottom__header h2 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.96;
  text-align: left;
}

.callback-bottom__header p {
  max-width: 740px;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

@media (max-width: 1360px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.98fr) minmax(220px, 0.5fr);
    gap: 20px;
  }

  .hero__content {
    width: fit-content !important;
    max-width: min(100%, 660px);
    min-height: 0 !important;
    padding: 26px 26px !important;
  }

  .advantages {
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  }

  .callback-bottom__grid {
    grid-template-columns: minmax(290px, 0.92fr) minmax(0, 1.08fr);
  }
}

@media (max-width: 1100px) {
  .advantages-pin {
    min-height: 0;
  }

  .advantages {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .advantages.is-advantages-active {
    position: relative;
    top: auto;
    min-height: 0;
    max-height: none;
  }

  .advantages__sticky,
  .advantages__cards {
    min-height: 0;
    height: auto;
  }

  .advantages__cards {
    display: grid;
    gap: 16px;
  }

  .adv-card {
    position: relative;
    inset: auto;
    top: auto;
    width: 100%;
    margin-left: 0;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .callback-bottom__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .hero__grid {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 40px;
    gap: 18px;
  }

  .hero-panel {
    max-width: none;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-self: stretch;
  }

  .hero__content {
    display: none;
  }

  .overview-intro {
    display: block;
    margin-bottom: 28px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(12, 18, 27, 0.72);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
  }

  .metric-card {
    min-height: 100%;
  }

  .contact-panel {
    padding: 28px;
  }

  .site-footer__inner {
    padding: 26px;
    gap: 22px;
  }

  .site-footer__bottom {
    flex-direction: column;
    padding-top: 14px;
  }

  .callback-bottom__header h2 {
    font-size: clamp(1.8rem, 5.8vw, 2.6rem);
  }

  .callback-bottom__header p,
  .contact-info-item a,
  .contact-info-item span {
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  .hero__content {
    min-height: auto !important;
    padding: 24px 20px !important;
  }

  .hero__content h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
  }

  .hero__content p {
    font-size: 14px !important;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-panel,
  .callback-bottom__info,
  .callback-bottom__form,
  .site-footer__inner {
    padding: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero__grid {
    padding-top: 88px;
    padding-bottom: 28px;
  }

  .section--split,
  .subhero + .section {
    margin-top: 0;
    padding-top: 88px;
  }

  .hero--video::after,
  .subhero::after {
    bottom: -42px;
    height: 71px;
    filter: blur(5px);
    transform: translateX(-50%);
  }

  .section--split::before,
  .subhero + .section::before {
    height: 40px;
    filter: blur(12px);
    transform: translateX(-50%) translateY(-46%);
  }

  .hero__content {
    display: none;
  }

  .overview-intro {
    display: block;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(12, 18, 27, 0.72);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
  }

  .hero-mark {
    height: 32px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .advantages__sticky,
  .adv-card,
  .contact-panel,
  .callback-bottom__info,
  .callback-bottom__form,
  .site-footer__inner {
    border-radius: 22px;
  }

  .callback-bottom__header {
    margin-bottom: 20px;
  }

  .callback-bottom__header p {
    font-size: 13px;
    line-height: 1.6;
  }

  .callback-form-bottom textarea {
    min-height: 140px;
  }
}

@media (max-width: 900px) {
  body[data-page="home"] .hero,
  body[data-page="home"] .hero--video {
    min-height: 100svh !important;
  }

  body[data-page="home"] .hero__media {
    overflow: hidden;
  }

  body[data-page="home"] .hero__media > * {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 68% 50%;
    transform: scale(1.18);
    transform-origin: center center;
  }

  body[data-page="home"] .hero__grid {
    min-height: 100svh !important;
    align-items: end !important;
    padding-bottom: 12px !important;
  }

  body[data-page="home"] .hero__content {
    display: none !important;
  }

  body[data-page="home"] .hero-panel {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
    align-self: end !important;
    padding: 10px !important;
    gap: 10px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: auto;
    margin-bottom: 26px !important;
  }

  body[data-page="home"] .metric-card {
    min-width: 0;
    min-height: 100%;
    padding: 12px 12px;
    overflow: hidden;
  }

  body[data-page="home"] .metric-card__label {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body[data-page="home"] .section--overview .overview-intro {
    display: block !important;
    margin-bottom: 28px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(12, 18, 27, 0.72);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
  }

  body[data-page="home"] .advantages {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  body[data-page="home"] .advantages__sticky {
    order: 1;
    width: 100%;
  }

  body[data-page="home"] .advantages__cards {
    order: 2;
    position: relative !important;
    display: grid !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    justify-self: stretch;
    gap: 16px;
  }

body[data-page="home"] .adv-card {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
  }

  body[data-page="home"] .section--advantages + .section {
    margin-top: -24px;
    padding-top: 96px;
  }

}

@media (max-width: 700px) {
  body[data-page="home"] .hero__media > * {
    object-position: 72% 48%;
    transform: scale(1.28);
  }

  body[data-page="home"] .hero__grid {
    min-height: 100svh !important;
    padding-bottom: 10px !important;
  }

  body[data-page="home"] .hero-panel {
    grid-template-columns: 1fr !important;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    min-width: calc(100vw - 32px) !important;
    justify-self: stretch !important;
    align-self: end !important;
    margin-top: auto;
    margin-bottom: 30px !important;
    box-sizing: border-box;
  }

  body[data-page="home"] .metric-card {
    width: 100%;
  }

  body[data-page="home"] .advantages-progress {
    display: none;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .hero,
  body[data-page="home"] .hero__grid {
    overflow: hidden;
  }

  body[data-page="home"] .hero__media > * {
    object-position: 68% 46%;
    transform: scale(1.38);
  }

  body[data-page="home"] .hero-panel-mobile-shell {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 30px);
    z-index: 3;
    display: grid;
    justify-items: center;
    pointer-events: none;
  }

  body[data-page="home"] .hero-panel {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    pointer-events: none;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 64px));
    transition: transform 0.28s ease, opacity 0.22s ease, visibility 0s linear 0.28s;
  }

  body[data-page="home"] .hero-panel.reveal,
  body[data-page="home"] .hero-panel.reveal.is-visible {
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 64px));
    transition: transform 0.28s ease, opacity 0.22s ease, visibility 0s linear 0.28s;
  }

  body[data-page="home"] .hero-panel-mobile-shell.is-available .hero-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(calc(100% - 14px));
    transition: transform 0.28s ease, opacity 0.22s ease, visibility 0s linear 0s;
  }

  body[data-page="home"] .hero-panel-mobile-shell.is-available .hero-panel-toggle {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) translateY(0);
  }

  body[data-page="home"] .hero-panel-mobile-shell.is-revealed .hero-panel {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.28s ease, opacity 0.22s ease, visibility 0s linear 0s;
  }

  body[data-page="home"] .hero-panel-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 30px;
    position: absolute;
    left: 50%;
    top: 1px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
    color: var(--text);
    pointer-events: auto;
    cursor: pointer;
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) translateY(10px);
    transition: transform 0.24s ease, opacity 0.2s ease, visibility 0s linear 0.24s;
  }

  body[data-page="home"] .hero-panel-toggle__icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-135deg) translateY(-1px);
    transform-origin: center;
    transition: transform 0.28s ease;
  }

  body[data-page="home"] .hero-panel-mobile-shell.is-revealed .hero-panel-toggle__icon {
    transform: rotate(45deg) translateY(-1px);
  }
}

@media (min-width: 901px) {
  body[data-page="home"] .hero__content {
    width: auto !important;
    max-width: 500px !important;
    padding: 26px 26px !important;
  }

  body[data-page="home"] .hero__content h1 {
    font-size: clamp(1.45rem, 2.2vw, 2rem) !important;
    line-height: 1.02 !important;
    margin-bottom: 14px !important;
  }

  body[data-page="home"] .hero__content p {
    max-width: 44ch;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
  }

  body[data-page="home"] .hero__actions {
    gap: 10px;
  }

  body[data-page="home"] .hero__actions .button,
  body[data-page="home"] .hero__actions .button--secondary {
    padding: 14px 22px;
    font-size: 14px;
  }
}
