
:root {
  --bg-page: #000000;
  --bg-panel: rgba(255,255,255,0.04);
  --bg-panel-strong: rgba(118,185,0,0.10);
  --accent: #76b900;
  --accent-strong: #4b8300;
  --text: #f3f4f6;
  --text-soft: #cbd5e1;
  --text-muted: #9ca3af;
  --border: rgba(118,185,0,0.22);
  --shadow: 0 22px 60px rgba(0,0,0,0.45);
}

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

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b0b0b 0%, #000000 40%, #000000 100%);
  color: var(--text);
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
.highlight, .section-title-green { color: var(--accent); }

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(118,185,0,0.92);
}

.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: 140px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #e5e7eb;
  min-width: 0;
}

.nav-logo {
  height: 120px;
  width: auto;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img { height: 100%; width: auto; }

.nav-title {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.nav-title span:first-child {
  font-family: "Arvo", serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 1.05rem;
  white-space: nowrap;
}
.nav-title span:last-child {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(118,185,0,0.45);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  flex: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.65rem;
  margin: 0;
  padding: 0;
}
.nav-links li { position: relative; }
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.96rem;
}
.hover-underline {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
}
.hover-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ffffff 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.hover-underline:hover::after,
.hover-underline:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.dropdown { display: flex; align-items: center; gap: 0.35rem; }
.dropdown-toggle {
  display: none;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  position: relative;
  cursor: pointer;
  padding: 0;
}
.dropdown-toggle::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.dropdown.is-open .dropdown-toggle::before { transform: rotate(-135deg) translate(-2px,-2px); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  margin: 0;
  padding: 0.55rem 0;
  list-style: none;
  display: none;
  border-radius: 16px;
  background: rgba(7,7,7,0.98);
  border: 1px solid rgba(118,185,0,0.22);
  box-shadow: var(--shadow);
}
.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.72rem 1rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.dropdown-menu a:hover { background: rgba(118,185,0,0.13); }

.nav-right-icons {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-cta-phone {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(118,185,0,0.8);
  background: rgba(118,185,0,0.14);
  color: #fff;
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  transition: transform .18s ease;
}
.nav-icon:hover { transform: scale(1.08); }
.nav-icon svg { width: 100%; height: 100%; }

.hero-outer {
  position: relative;
  min-height: 66vh;
  margin: 1rem 0 3rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-fallback,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-fallback {
  filter: brightness(0.46);
  transform: scale(1.03);
}
.hero-video {
  opacity: 0;
  transition: opacity .35s ease;
}
.hero-video.is-ready { opacity: 1; }
.hero-overlay {
  position: relative;
  z-index: 1;
  min-height: 66vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  text-align: center;
}
.hero {
  width: min(1080px, calc(100% - 2rem));
  padding: 3rem 2.5rem;
  border-radius: 32px;
  background: rgba(0,0,0,0.68);
  border: 1px solid rgba(118,185,0,0.2);
  box-shadow: 0 24px 70px rgba(0,0,0,0.6);
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: "Arvo", serif;
  font-size: clamp(2rem, 2.6vw + 1rem, 3.4rem);
  line-height: 1.15;
}
.hero p {
  margin: 0 auto;
  max-width: 760px;
  color: #e5e7eb;
  font-size: 1.03rem;
  line-height: 1.75;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  color: var(--text);
}
.page h1,
.page h2 {
  font-family: "Arvo", serif;
  margin-top: 0;
}
.page h1 { font-size: clamp(1.9rem, 1.2vw + 1.35rem, 2.5rem); }
.page h2 { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); }
.page p,
.page li,
.legal-card p,
.legal-card li { color: var(--text-soft); line-height: 1.75; }
.page ul { padding-left: 1.25rem; }
.page-intro { padding-top: 0; }

.manual-slider,
.services-wheel {
  width: min(100%, 1120px);
  margin: 1.75rem auto 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.slider-viewport,
.wheel-viewport {
  width: 100%;
  overflow: hidden;
}
.slider-viewport {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 22px;
  background: #050505;
  box-shadow: var(--shadow);
}
.slider-track,
.wheel-track {
  display: flex;
  transition: transform .4s ease;
}
.slider-track img {
  width: 100%;
  height: 360px;
  flex: 0 0 100%;
  object-fit: contain;
  background: #000;
}
.slider-btn,
.wheel-btn,
.lightbox-close {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: rgba(118,185,0,0.18);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}
.slider-btn:hover,
.wheel-btn:hover,
.lightbox-close:hover { background: rgba(118,185,0,0.28); }
.slider-dots,
.wheel-dots {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-top: .9rem;
}
.slider-dots button,
.wheel-dots button {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: #5f5f5f;
  cursor: pointer;
  padding: 0;
}
.slider-dots button.active,
.wheel-dots button.active { background: var(--accent); }

.wheel-page {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.service-card,
.legal-card {
  background: linear-gradient(180deg, var(--bg-panel-strong), var(--bg-panel));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.service-card {
  padding: 1.55rem;
}
.service-card h2 {
  margin: 0 0 .65rem;
  color: #fff;
  font-size: 1.32rem;
}
.service-card p { margin: 0 0 .8rem; }
.service-card ul { margin: 0; padding-left: 1.15rem; }

.legal-page { padding-top: 2rem; }
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.legal-card { padding: 1.6rem; }
.legal-card h2,
.legal-card h3 { color: #fff; }
.legal-card a { color: #fff; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,0.92);
}
.lightbox.open { display: flex; }
.lightbox-image {
  max-width: min(94vw, 1400px);
  max-height: 88vh;
  border-radius: 18px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

form[data-demo-contact] {
  margin-top: 1.5rem;
  background: linear-gradient(180deg, var(--bg-panel-strong), var(--bg-panel));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
form label {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  color: #fff;
}
form input,
form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: rgba(255,255,255,0.94);
  color: #111827;
}
form button[type="submit"] {
  min-height: 46px;
  padding: 0.8rem 1.4rem !important;
}

.page img[style*="max-width:420px"] {
  width: 100%;
  max-width: 380px !important;
  height: auto;
}

.footer {
  background: #000;
  border-top: 2px solid rgba(118,185,0,0.92);
  padding: 1.4rem 1.25rem 2rem;
  color: var(--text-muted);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 1rem; }
.footer-legal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(118,185,0,0.7);
  background: rgba(118,185,0,0.12);
}

@media (max-width: 1080px) {
  .nav-inner { min-height: 160px; }
  .nav-logo { height: 138px; }
  .nav-right { gap: 1.2rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.9rem; }
  .nav-cta-phone { font-size: 0.86rem; padding-inline: .95rem; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-inner {
    flex-wrap: wrap;
    padding-top: .75rem;
    padding-bottom: .75rem;
    min-height: unset;
  }
  .nav-right {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-left: 0;
    padding: 0.5rem 0 0.4rem;
    border-top: 2px solid rgba(118,185,0,0.45);
  }
  .nav-right.is-open { display: flex; }
  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }
  .nav-links > li,
  .dropdown {
    display: block;
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 0.85rem 0;
  }
  .hover-underline::after { display: none; }
  .dropdown {
    position: relative;
    padding-right: 2.25rem;
  }
  .dropdown-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 0.65rem;
  }
  .dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 0;
    padding: 0;
    border: none;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .22s ease, padding .22s ease;
    display: block;
  }
  .dropdown:hover > .dropdown-menu,
  .dropdown:focus-within > .dropdown-menu { display: block; }
  .dropdown.is-open .dropdown-menu {
    max-height: 420px;
    padding: .35rem 0;
    margin-bottom: .35rem;
    border: 1px solid rgba(118,185,0,0.12);
  }
  .dropdown-menu a {
    padding: 0.7rem .95rem;
    font-size: 0.95rem;
  }
  .nav-right-icons {
    justify-content: flex-start;
    padding-top: 0.25rem;
  }
  .nav-cta-phone { min-width: 0; }
  .hero-outer, .hero-overlay { min-height: 54vh; }
  .hero { padding: 2.4rem 1.6rem; border-radius: 24px; }
  .wheel-page, .legal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-inner { padding-inline: 1rem; gap: .9rem; }
  .nav-brand { gap: 0.75rem; max-width: calc(100% - 68px); }
  .nav-logo { height: 112px; }
  .nav-title span:first-child { font-size: 0.88rem; letter-spacing: 0.12em; }
  .nav-title span:last-child { font-size: 0.74rem; }
  .nav-toggle { width: 46px; height: 46px; border-radius: 12px; }
  .hero-outer, .hero-overlay { min-height: 46vh; }
  .hero { width: calc(100% - 1rem); padding: 1.85rem 1.15rem; }
  .hero h1 { font-size: clamp(1.65rem, 7vw, 2.35rem); }
  .hero p, .page p, .page li { font-size: 0.97rem; }
  .page { padding: 2.2rem 1rem; }
  .slider-track img { height: 220px; }
  .manual-slider, .services-wheel { gap: 0.35rem; }
  .slider-btn, .wheel-btn, .lightbox-close { width: 38px; height: 38px; font-size: 1.05rem; }
  .service-card, .legal-card, form[data-demo-contact] { border-radius: 18px; padding: 1.15rem; }
  .service-card h2 { font-size: 1.12rem; }
  .footer-inner { flex-direction: column; align-items: stretch; }
  .footer-legal-btn { width: 100%; }
}
