:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-dark: #0e1420;
  --surface-dark-2: #111927;
  --text: #0f1728;
  --muted: #5f6b7a;
  --line: #e7ecf3;
  --primary: #0f1728;
  --accent: #2156f4;
  --accent-2: #6ea8ff;
  --success: #12b981;
  --shadow-soft: 0 16px 50px rgba(15, 23, 40, 0.08);
  --shadow-card: 0 24px 80px rgba(15, 23, 40, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(245, 247, 251, 0.82);
  border-bottom: 1px solid rgba(231, 236, 243, 0.9);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand--logo {
  display: inline-flex;
  align-items: center;
}
.brand__logo {
  display: block;
  height: 58px;
  width: auto;
}
.brand__logo--footer {
  height: 54px;
}
.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f1728, #23375e 60%, #4f8cf8);
  box-shadow: 0 10px 30px rgba(33, 86, 244, 0.26);
}
.brand__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__tag {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.nav a {
  font-size: 14px;
  color: #334155;
  font-weight: 600;
}
.nav a:hover,
.nav a.current { color: var(--text); }

.nav__item {
  position: relative;
}
.nav__item--has-panel {
  position: relative;
}
.nav__item--has-panel::after {
  content: "";
  position: absolute;
  left: -22px;
  right: -22px;
  top: 100%;
  height: 20px;
}
.nav__item--has-panel > a {
  display: inline-flex;
  align-items: center;
}
.nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: -18px;
  min-width: 560px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255,255,255,0.98);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  pointer-events: none;
  z-index: 30;
}
.nav__item--has-panel:hover .nav-panel,
.nav__item--has-panel:focus-within .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-panel__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-panel__title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}
.nav-panel__group a {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: #f8fafc;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.nav-panel__group a:hover,
.nav-panel__group a.current {
  background: #e8f0ff;
  border-color: rgba(79, 140, 248, 0.35);
  color: #102a5a;
}

.product-subnav {
  padding: 22px 0 0;
}
.product-subnav__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: -40px;
  padding: 24px 28px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 4;
}
.product-subnav__group {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
}
.product-subnav__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  padding-top: 10px;
}
.product-subnav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-subnav__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}
.product-subnav__links a:hover,
.product-subnav__links a.current {
  background: #0f1728;
  border-color: #0f1728;
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark {
  background: linear-gradient(135deg, #101827, #1d2b46);
  color: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 40, 0.18);
}
.btn--dark:hover { box-shadow: 0 18px 44px rgba(15, 23, 40, 0.22); }
.btn--light {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
.btn--line {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.main-content { flex: 1; }
.section {
  padding: 84px 0;
}
.section--tight { padding: 56px 0; }
.section--dark {
  background: linear-gradient(180deg, #0e1420, #111927);
  color: #fff;
}
.section__head {
  max-width: 780px;
  margin-bottom: 28px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2047a9;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section--dark .eyebrow,
.hero .eyebrow {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}
.section__title,
.hero__title,
.page-hero__title {
  margin: 18px 0 14px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.page-hero__title { font-size: clamp(34px, 5vw, 56px); }
.section__lead,
.hero__lead,
.page-hero__lead {
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.85;
  color: var(--muted);
}
.section--dark .section__lead,
.hero .hero__lead,
.page-hero--dark .page-hero__lead { color: rgba(255,255,255,.78); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(97, 144, 255, .28), transparent 30%),
    radial-gradient(circle at 100% 20%, rgba(39, 188, 255, .14), transparent 26%),
    linear-gradient(135deg, #121a28, #172339 42%, #0f1117 100%);
  color: #fff;
  padding: 96px 0 74px;
}
.hero__grid,
.page-hero__grid,
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: center;
}

.hero--full .hero__grid {
  grid-template-columns: 1fr;
  gap: 32px;
}

.hero--full .hero__content {
  max-width: 940px;
}
.hero__badges,
.inline-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.stat {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.1);
}
.stat__label { font-size: 13px; color: rgba(255,255,255,.66); margin-bottom: 6px; }
.stat__value { font-size: 19px; font-weight: 800; line-height: 1.2; }
.hero-card,
.panel,
.image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.image-card img { display: block; width: 100%; }
.home-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: rgba(255,255,255,.06);
  min-height: 520px;
}
.home-slider__track {
  position: relative;
  min-height: 520px;
}
.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
}
.home-slide.is-active {
  opacity: 1;
  z-index: 2;
}
.home-slide img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}
.home-slide__overlay {
  position: absolute;
  left: 28px;
  bottom: 36px;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.home-slide__overlay span {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  margin-bottom: 8px;
}
.home-slide__overlay strong {
  display: block;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.home-slide__overlay p {
  margin: 0;
  font-size: 16px;
  letter-spacing: .02em;
}
.home-slider__dots {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  gap: 10px;
}
.home-slider__dots button {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.48);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18);
}
.home-slider__dots button.is-active {
  background: #fff;
}
.floating-note-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.floating-note {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}
.floating-note small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; margin-bottom: 6px; }
.floating-note strong { display: block; font-size: 17px; line-height: 1.3; }

.grid,
.card-grid,
.steps-grid,
.metrics-grid {
  display: grid;
  gap: 24px;
}
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.card,
.step,
.metric,
.cta-box,
.rich-panel,
.list-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.home-flat .card,
.home-flat .step,
.home-flat .metric,
.home-flat .rich-panel,
.home-flat .image-card {
  border-radius: 6px;
  box-shadow: none;
  border-color: #e5e7eb;
}
.home-flat .card__body,
.home-flat .step,
.home-flat .metric,
.home-flat .rich-panel {
  padding: 18px;
}
.home-flat .card-grid,
.home-flat .steps-grid,
.home-flat .metrics-grid {
  gap: 16px;
}
.home-flat .card__title,
.home-flat .metric__title,
.home-flat .step__title {
  font-size: 18px;
}
.home-flat .card__text,
.home-flat .metric__text,
.home-flat .step__text {
  font-size: 14px;
}
.card--dark,
.metric--dark {
  background: linear-gradient(180deg, #141b29, #0f1521);
  border-color: rgba(255,255,255,.07);
  color: #fff;
}
.card__media { padding: 16px 16px 0; }
.card__media img { border-radius: 18px; }
.card__body { padding: 22px; }
.card__title,
.metric__title,
.step__title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.card__text,
.metric__text,
.step__text,
.rich-panel p,
.list-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.card--dark .card__text,
.metric--dark .metric__text { color: rgba(255,255,255,.76); }
.card__link {
  display: inline-flex;
  margin-top: 16px;
  font-weight: 700;
  color: var(--text);
}
.card--dark .card__link { color: #fff; }

.step,
.metric {
  padding: 24px;
}
.step__no,
.metric__label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.metric--dark .metric__label { color: rgba(255,255,255,.6); }

.page-hero {
  padding: 84px 0 42px;
  background: linear-gradient(180deg, #f9fbff, #f5f7fb);
}
.page-hero--dark {
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(97, 144, 255, .24), transparent 30%),
    linear-gradient(135deg, #101827, #172033 46%, #0c1018 100%);
}
.page-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.kpi {
  background: rgba(255,255,255,.98);
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}
.kpi small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; margin-bottom: 8px; }
.kpi strong { font-size: 20px; line-height: 1.25; }

.dual-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
}
.rich-panel {
  padding: 30px;
}
.rich-panel h3 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.15;
}
.check-list,
.dot-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.check-list li,
.dot-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  line-height: 1.8;
}
.check-list li::before,
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2b6cff, #7ab6ff);
  box-shadow: 0 0 0 6px rgba(33, 86, 244, 0.10);
}

.cta-box {
  padding: 30px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: center;
}
.cta-box h3 { margin: 0 0 10px; font-size: 32px; line-height: 1.1; }
.cta-box p { margin: 0; color: var(--muted); line-height: 1.8; }
.cta-box__helper { margin-top: 14px !important; font-size: 14px; }
.cta-box__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.content-article {
  max-width: 860px;
}
.content-article h1,
.content-article h2,
.content-article h3 {
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}
.content-article p,
.content-article li {
  color: var(--muted);
  line-height: 1.9;
}
.content-article ul,
.content-article ol { padding-left: 22px; }
.content-article blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: #f8fbff;
  border-radius: 0 18px 18px 0;
}

.spec-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: stretch;
}
.spec-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.spec-card__title {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.spec-table-wrap {
  overflow-x: auto;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table th,
.spec-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th {
  width: 38%;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  padding-right: 18px;
}
.spec-table td {
  color: var(--text);
  font-weight: 600;
}
.spec-card__note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.spec-image-card {
  min-height: 100%;
}
.spec-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}
.map-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.map-card__title {
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.contact-facts {
  display: grid;
  gap: 14px;
}
.contact-fact {
  padding: 16px 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.contact-fact__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.contact-fact__value {
  display: block;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}
.map-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.map-embed {
  min-height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #dfe7f1;
  box-shadow: var(--shadow-soft);
}
.map-embed iframe {
  width: 100%;
  min-height: 520px;
  height: 100%;
  border: 0;
  display: block;
}

.post-list {
  display: grid;
  gap: 22px;
}
.post-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.post-card__meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.post-card h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.15;
}
.post-card p { margin: 0; color: var(--muted); }

.site-footer {
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.site-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-note {
  color: var(--muted);
  font-size: 14px;
}

.mobile-hide { display: inline-flex; }
.mobile-menu { display: none; }

@media (max-width: 1120px) {
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .hero__grid,
  .page-hero__grid,
  .split-grid,
  .dual-panel,
  .cta-box,
  .spec-layout,
  .map-layout {
    grid-template-columns: 1fr;
  }
  .steps-grid,
  .metrics-grid,
  .page-kpis {
    grid-template-columns: 1fr 1fr;
  }
  .cta-box__actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .nav,
  .mobile-hide { display: none; }
  .mobile-menu { display: inline-flex; }
  .site-header__row { min-height: 72px; }
  .hero,
  .section,
  .page-hero { padding-top: 72px; padding-bottom: 56px; }
  .hero__stats,
  .floating-note-grid,
  .card-grid--4,
  .card-grid--3,
  .card-grid--2,
  .steps-grid,
  .metrics-grid,
  .page-kpis {
    grid-template-columns: 1fr;
  }
  .home-slider,
  .home-slider__track,
  .home-slide img {
    min-height: 320px;
  }
  .home-slide__overlay {
    left: 18px;
    bottom: 18px;
  }
  .home-slide__overlay strong {
    font-size: 28px;
  }
  .container { width: min(var(--container), calc(100% - 28px)); }
}
