:root {
  --bg: #030805;
  --bg-2: #07140c;
  --panel: rgba(8, 24, 16, 0.72);
  --glass: rgba(12, 36, 24, 0.55);
  --line: rgba(184, 255, 60, 0.16);
  --lime: #b8ff3c;
  --mint: #3dff9a;
  --gold: #e8c96a;
  --text: #edf7f0;
  --muted: #8fb39a;
  --wa: #25d366;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --header-h: 5.6rem;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Syne", "Outfit", sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.wrap.wide {
  width: min(1280px, calc(100% - 2rem));
}

.fx-grid,
.fx-grain,
.fx-orb {
  pointer-events: none;
}

.fx-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(184, 255, 60, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 255, 60, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.fx-orb {
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.35;
}

.fx-orb-a {
  top: -12vw;
  right: -8vw;
  background: #1a5c2a;
}

.fx-orb-b {
  bottom: -16vw;
  left: -10vw;
  background: #0d3d4d;
}

.fx-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.09;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.site-header,
main,
.site-footer,
.wa-float,
.lightbox {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding-bottom: 0.4rem;
  background: linear-gradient(180deg, rgba(3, 8, 5, 0.78), rgba(3, 8, 5, 0));
}

.hero {
  position: relative;
}

.navbar {
  position: relative;
}

.kicker {
  margin: 0 0 0.7rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lime);
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.55), 0 0 48px rgba(184, 255, 60, 0.18);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.45rem;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.section {
  padding: 5.5rem 0;
  scroll-margin-top: 6.2rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head .muted {
  margin: 0.8rem 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--lime), var(--mint));
  color: #061208;
  box-shadow: 0 0 0 1px rgba(184, 255, 60, 0.3), 0 12px 30px rgba(61, 255, 154, 0.18);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-wa {
  background: var(--wa);
  color: #06210f;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.topbar {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.45rem 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid var(--line);
}

.topbar .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}

.topbar a:hover {
  color: var(--lime);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1280px, calc(100% - 1.5rem));
  margin: 0.7rem auto 0;
  padding: 0.7rem 0.85rem 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0.75rem;
  right: 0.75rem;
  padding: 1.2rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(5, 16, 10, 0.96);
  box-shadow: var(--shadow);
}

.nav-panel.open {
  display: block;
}

.nav-links {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.nav-links a {
  display: block;
  padding: 0.55rem 0.4rem;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--lime);
}

.nav-social {
  margin-bottom: 1rem;
}

.nav-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: end stretch;
  padding: 7.5rem 0 4.5rem;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(3, 8, 5, 0.35) 0%, rgba(3, 8, 5, 0.55) 45%, var(--bg) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(184, 255, 60, 0.18), transparent 45%);
}

.hero-inner {
  position: relative;
  padding-bottom: 1rem;
}

.hero-lead {
  max-width: 28rem;
  font-size: 1.15rem;
  color: var(--muted);
  margin: 1rem 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.product {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(184, 255, 60, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
  border-color: rgba(184, 255, 60, 0.42);
  box-shadow: 0 16px 50px rgba(61, 255, 154, 0.08);
}

.product-frame {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 4 / 5;
}

.product-frame img,
.about-frame img,
.news-card img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-code {
  margin: 0 0 0.4rem;
  font-family: var(--mono);
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.product-copy p {
  color: var(--muted);
  margin: 0.7rem 0 1.2rem;
}

.about-grid,
.contact-grid,
.team-grid,
.news-grid {
  display: grid;
  gap: 1.4rem;
}

.about-copy p {
  color: var(--muted);
}

.about-frame {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  box-shadow: 0 0 40px rgba(61, 255, 154, 0.08);
}

.brand-card {
  display: grid;
  gap: 1.4rem;
  place-items: center;
  text-align: center;
  padding: 2.4rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.brand-card img {
  width: 100%;
  max-width: 260px;
  height: auto;
  background: #fff;
  border-radius: 18px;
  padding: 1rem;
  object-fit: contain;
}

.news-card,
.team-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.news-card img {
  aspect-ratio: 4 / 5;
}

.news-card h3,
.team-card h3,
.team-card p,
.team-card span,
.info-card h3,
.info-card p {
  margin: 0;
}

.news-card h3 {
  padding: 1rem 1.1rem 1.2rem;
}

.team-card {
  padding: 1.4rem;
  text-align: center;
}

.team-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 2px solid var(--lime);
  box-shadow: 0 0 24px rgba(184, 255, 60, 0.25);
}

.team-card img.portrait-wide {
  object-position: 16% 28%;
}

.team-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.team-card span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--mono);
  color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.gallery-item {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.contact-cards {
  display: grid;
  gap: 0.8rem;
}

.info-card {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.1rem;
}

.info-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--lime);
  background: rgba(184, 255, 60, 0.08);
  border: 1px solid var(--line);
}

.info-card h3 {
  font-size: 0.95rem;
  color: var(--muted);
  font-family: var(--font);
  font-weight: 500;
}

.info-card p {
  font-family: var(--display);
  font-size: 1.05rem;
}

.map-wrap {
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.4) saturate(0.8) contrast(1.05);
}

.site-footer {
  padding: 2.4rem 0 6.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.4rem;
  margin-bottom: 1rem;
}

.footer-inner a:hover {
  color: var(--lime);
}

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--wa);
  color: #06210f;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

@media (max-width: 859px) {
  .wa-float {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
  }

  .wa-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

.lightbox {
  width: min(920px, 92vw);
  max-height: 90vh;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #050a07;
  padding: 0;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.lightbox img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  background: #000;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
}

.lightbox-close {
  top: 0.7rem;
  right: 0.7rem;
  transform: none;
}

.lightbox-nav.prev { left: 0.6rem; transform: translateY(-50%); }
.lightbox-nav.next { right: 0.6rem; transform: translateY(-50%); }

@media (min-width: 860px) {
  .topbar {
    display: flex;
  }

  .navbar {
    z-index: 30;
  }

  .nav-toggle {
    display: none;
  }

  .nav-panel {
    display: flex;
    position: static;
    align-items: center;
    gap: 1.4rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links {
    display: flex;
    gap: 0.3rem;
    margin: 0;
  }

  .nav-links a {
    padding: 0.4rem 0.7rem;
  }

  .nav-social {
    margin: 0;
  }

  .product {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    padding: 1.2rem;
    gap: 2rem;
  }

  .product-frame {
    aspect-ratio: 4 / 5;
    max-height: 520px;
  }

  .about-grid,
  .contact-grid,
  .team-grid,
  .news-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .brand-card {
    grid-template-columns: 260px 1fr;
    text-align: left;
    padding: 2.2rem 2.6rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer {
    padding-bottom: 2.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gallery-item img { transition: none; }
}
