:root {
  --bg: #0a0d14;
  --surface: #111722;
  --surface-2: #1c222d;
  --text: #ffffff;
  --muted: #bfc6d2;
  --accent: #0055ff;
  --accent-light: #43a1ff;
  --line: rgba(255, 255, 255, 0.12);
  --container: 1180px;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 13, 20, 0.84);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 210px;
  height: 64px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
  color: #dbe1ea;
  font-size: 0.95rem;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: white;
  background: transparent;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: min(820px, calc(100svh - 82px));
  overflow: hidden;
  background: #05070c;
}

.hero video,
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero video,
.hero-media {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 7, 12, 0.94) 0%, rgba(4, 7, 12, 0.72) 46%, rgba(4, 7, 12, 0.2) 80%),
    linear-gradient(0deg, var(--bg) 0%, transparent 27%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: min(820px, calc(100svh - 82px));
  max-width: 850px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 90px;
}

.hero-content h1 {
  max-width: 820px;
}

.hero-content .lead {
  max-width: 650px;
}

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

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  background: var(--accent);
}

.btn-primary:hover {
  background: #1968ff;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
}

.section {
  padding-block: clamp(78px, 10vw, 138px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  align-items: end;
  gap: 50px;
  margin-bottom: 52px;
}

.section-heading p {
  margin-bottom: 8px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 7, 13, 0.96) 0%, rgba(3, 7, 13, 0.1) 65%);
  content: "";
}

.product-card-content {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 26px;
  left: 28px;
}

.product-card-content p {
  margin: 0;
  color: #cbd2dc;
}

.mission {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.mission::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  background: url("assets/images/page-background.png") center / cover no-repeat;
  content: "";
  opacity: 0.32;
}

.mission .container,
.page-hero .container {
  position: relative;
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 8vw, 110px);
}

.mission-intro p {
  color: var(--muted);
  font-size: 1.1rem;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 13, 20, 0.66);
}

.feature strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  position: relative;
  display: flex;
  min-height: 500px;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 13, 20, 0.6), rgba(10, 13, 20, 0.9));
  content: "";
}

.page-hero .container {
  z-index: 1;
  padding-block: 86px;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 0;
}

.catalog-nav {
  position: sticky;
  z-index: 20;
  top: 82px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 13, 20, 0.92);
  backdrop-filter: blur(14px);
}

.catalog-nav .container {
  display: flex;
  gap: 30px;
  padding-block: 17px;
  white-space: nowrap;
}

.catalog-nav a {
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-nav a:hover {
  color: white;
}

.product-detail {
  scroll-margin-top: 150px;
  border-bottom: 1px solid var(--line);
}

.product-detail:nth-child(even) {
  background: #0d111a;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: clamp(50px, 7vw, 92px);
}

.product-detail:nth-child(even) .gallery {
  order: 2;
}

.gallery {
  position: sticky;
  top: 160px;
}

.gallery-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #05070b;
  box-shadow: var(--shadow);
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-control {
  position: absolute;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: white;
  background: rgba(3, 6, 12, 0.72);
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
}

.gallery-control.prev {
  left: 14px;
}

.gallery-control.next {
  right: 14px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumb {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.gallery-thumb.is-active {
  border-color: var(--accent);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-copy .lead {
  color: white;
}

.product-copy p {
  color: var(--muted);
}

.product-copy h3 {
  margin-top: 36px;
  font-size: 1.15rem;
}

.spec-list {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.spec-list li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--line);
  color: #d7dde6;
}

.spec-list li::before {
  position: absolute;
  top: 21px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(44px, 8vw, 110px);
}

.about-mark {
  position: sticky;
  top: 135px;
}

.about-mark img {
  width: 100%;
  border-radius: 16px;
}

.about-copy p {
  margin-bottom: 25px;
  color: #d1d7e0;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.brand-line {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--accent-light) !important;
  font-size: 0.85rem !important;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 100px);
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 18px;
}

.contact-item {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-item span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #dfe5ed;
  font-size: 0.9rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  outline: none;
  color: white;
  background: #0a0d14;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input {
  height: 52px;
  padding: 0 15px;
}

.field textarea {
  min-height: 160px;
  padding: 14px 15px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 85, 255, 0.18);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  padding-block: 64px 28px;
  border-top: 1px solid var(--line);
  background: #06090e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 50px;
}

.footer-brand img {
  width: 230px;
  margin-bottom: 22px;
}

.footer-brand p,
.footer-col a,
.footer-col p {
  color: var(--muted);
}

.footer-col h3 {
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  margin-bottom: 9px;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #818a98;
  font-size: 0.82rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 45;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: white;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  place-items: center;
}

.whatsapp-float svg {
  width: 27px;
  fill: currentColor;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.93);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  place-items: center;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 24px 20px 34px;
    border-bottom: 1px solid var(--line);
    background: #0a0d14;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .section-heading,
  .mission-layout,
  .product-detail-layout,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    gap: 10px;
  }

  .product-detail:nth-child(even) .gallery {
    order: initial;
  }

  .gallery,
  .about-mark {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand img {
    width: 176px;
    height: 58px;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .site-nav {
    top: 72px;
  }

  .hero,
  .hero-content {
    min-height: calc(100svh - 72px);
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(4, 7, 12, 0.96) 0%, rgba(4, 7, 12, 0.55) 74%),
      linear-gradient(90deg, rgba(4, 7, 12, 0.7), transparent);
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 72px;
  }

  .product-grid,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 330px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .catalog-nav {
    top: 72px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
