:root {
  --bg: #07111f;
  --bg-soft: #0d1a2f;
  --surface: rgba(10, 25, 45, 0.72);
  --surface-strong: #10213d;
  --card: rgba(255, 255, 255, 0.08);
  --card-border: rgba(125, 203, 255, 0.18);
  --text: #ecf6ff;
  --muted: #9bb9d2;
  --accent: #2fb4ff;
  --accent-strong: #0077ff;
  --accent-soft: #73d0ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(47, 180, 255, 0.75) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(0, 138, 255, 0.35), transparent 30%),
    radial-gradient(circle at top right, rgba(72, 197, 255, 0.2), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #09182b 40%, #06101d 100%);
  min-height: 100vh;
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(115, 208, 255, 0.9), rgba(0, 119, 255, 0.78));
  border-radius: 999px;
  border: 2px solid rgba(6, 16, 29, 0.75);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(144, 222, 255, 0.95), rgba(39, 145, 255, 0.85));
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 92%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(4, 13, 24, 0.78);
  border-bottom: 1px solid rgba(125, 203, 255, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 74px;
  flex: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(27, 140, 255, 0.25));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-text strong,
.site-footer strong {
  font-family: "Unbounded", sans-serif;
  letter-spacing: 0.04em;
}

.brand-text small,
.site-footer p,
.hero-lead,
.page-lead,
.content-card p,
.info-card p,
.review-card p,
.faq-item p,
.catalog-toolbar p,
.contact-list p,
.form-note {
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  padding: 12px 18px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: white;
  background: rgba(47, 180, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(98, 204, 255, 0.15);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 999px;
}

.hero,
.page-hero {
  padding: 72px 0 34px;
}

.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 24px 0 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.82) 40%, rgba(7, 17, 31, 0.68) 100%),
    url("hero.webp") center center / cover no-repeat;
  opacity: 0.52;
  pointer-events: none;
  border-radius: 0 0 32px 32px;
  top: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent-soft);
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  line-height: 1.04;
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.hero-lead,
.page-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 60ch;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 20px 40px rgba(0, 119, 255, 0.28);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 34px 0 0;
}

.hero-metrics li,
.hero-card,
.info-card,
.review-card,
.product-card,
.content-card,
.contact-form,
.catalog-toolbar {
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-metrics li {
  border-radius: var(--radius-md);
  padding: 18px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-card {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.hero-card-main {
  min-height: 280px;
  background:
    radial-gradient(circle at top right, rgba(53, 189, 255, 0.24), transparent 38%),
    linear-gradient(180deg, rgba(12, 32, 58, 0.9), rgba(8, 22, 41, 0.95));
}

.hero-card-main p {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 32ch;
}

.hero-badge {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-soft);
  margin-bottom: 18px;
}

.hero-card-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-card-side span {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.section {
  padding: 42px 0;
}

.section-soft {
  position: relative;
}

.section-soft::before {
  content: "";
  position: absolute;
  inset: 14px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  pointer-events: none;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.product-grid,
.advantages-grid,
.reviews-grid,
.content-grid,
.timeline-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

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

.advantages-grid,
.reviews-grid,
.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-products,
.advantages-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(115, 208, 255, 0.38);
}

.product-card:focus-visible {
  outline: 2px solid rgba(47, 180, 255, 0.55);
  outline-offset: 3px;
}

.product-visual {
  position: relative;
  min-height: 210px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(111, 209, 255, 0.32), transparent 30%),
    linear-gradient(135deg, rgba(19, 40, 67, 1), rgba(8, 20, 36, 0.96));
}

.product-image {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
}

.product-icon {
  width: 100%;
  height: 160px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(56, 199, 255, 0.26), rgba(0, 112, 255, 0.18)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.product-icon::before,
.product-icon::after {
  content: "";
  position: absolute;
  border-radius: 24px;
}

.product-icon::before {
  inset: 20px;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.product-icon::after {
  width: 72px;
  height: 72px;
  right: 22px;
  bottom: 20px;
  background: radial-gradient(circle, rgba(86, 219, 255, 0.9), rgba(0, 104, 255, 0.15));
  filter: blur(3px);
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--accent-soft);
  font-weight: 700;
}

.product-more::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(47, 180, 255, 0.14);
}

.product-specs {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.product-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d3e9fb;
  font-size: 0.96rem;
}

.product-specs li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  flex: none;
}

.info-card,
.review-card,
.content-card,
.contact-form,
.catalog-toolbar {
  border-radius: var(--radius-lg);
  padding: 26px;
}

.review-card strong {
  display: block;
  margin-top: 18px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--card-border);
  padding: 20px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 16px 0 0;
  line-height: 1.65;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.catalog-count {
  white-space: nowrap;
  color: var(--accent-soft);
}

.catalog-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.consent-field {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  padding: 4px 0;
}

.consent-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.consent-field span {
  font-weight: 500;
  color: var(--muted);
  line-height: 1.6;
}

.consent-field a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-details {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.contact-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.legal-card {
  line-height: 1.75;
}

.legal-card h2 {
  font-size: 1.3rem;
  margin-top: 28px;
}

.legal-card p,
.legal-card ul {
  margin: 14px 0 0;
}

.legal-card ul {
  padding-left: 22px;
}

.contact-form span {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #86a7c2;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(47, 180, 255, 0.45);
  outline-offset: 2px;
}

.form-note.is-success {
  color: #a5f5c8;
}

.form-note.is-error {
  color: #ffb4b4;
}

.site-footer {
  padding: 30px 0 40px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 19, 0.72);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1000px);
  max-height: min(88vh, 920px);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 29, 51, 0.98), rgba(8, 19, 35, 0.98));
  border: 1px solid rgba(115, 208, 255, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  padding: 34px 28px 28px;
  overflow-y: auto;
  scrollbar-color: rgba(115, 208, 255, 0.95) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-dialog::-webkit-scrollbar {
  width: 14px;
}

.modal-dialog::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.modal-dialog::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8fe0ff, #2496ff);
  border-radius: 999px;
  border: 3px solid rgba(8, 19, 35, 0.98);
}

.modal-content {
  display: grid;
  gap: 16px;
}

.modal-content .eyebrow {
  margin-bottom: 0;
}

.modal-meta {
  color: var(--accent-soft);
  font-weight: 700;
}

.modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-specs span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #d8edff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-description {
  color: var(--muted);
  line-height: 1.8;
}

.modal-description p,
.modal-description h3 {
  margin: 0;
}

.modal-description p,
.modal-description ul {
  margin: 20px 0;
}

.modal-description > * + * {
  margin-top: 14px;
}

.modal-description h3 {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.modal-description ul {
  padding-left: 20px;
}

.modal-description li + li {
  margin-top: 8px;
}

.modal-description li::marker {
  color: var(--accent-soft);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 88px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(27, 140, 255, 0.2));
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.fade-in {
  animation: fadeInUp 0.6s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .product-grid,
  .advantages-grid,
  .reviews-grid,
  .content-grid,
  .timeline-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(5, 16, 30, 0.96);
    border: 1px solid rgba(125, 203, 255, 0.14);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero,
  .page-hero {
    padding-top: 48px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.94) 0%, rgba(7, 17, 31, 0.78) 100%),
      url("hero.webp") center center / cover no-repeat;
    inset: 12px 0 0;
    opacity: 0.48;
  }

  .hero-grid,
  .product-grid,
  .advantages-grid,
  .reviews-grid,
  .content-grid,
  .timeline-grid,
  .contact-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 90px;
    height: 58px;
  }

  .hero-card-side {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    max-width: 100%;
  }
}
.modal-meta {
    display: none;
}
}
