:root {
  --bg: #08100d;
  --bg-soft: #0d1714;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);
  --text: #edf5f1;
  --muted: #a8b8b0;
  --accent: #2f7d6b;
  --accent-2: #49a58f;
  --accent-3: #8ce0c1;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(0,0,0,0.28);
  --max: 1200px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #08100d;
  overflow-x: hidden;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at top right, rgba(73,165,143,0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(47,125,107,0.16), transparent 28%),
    linear-gradient(180deg,#08100d 0%,#0b1210 100%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.45));
  opacity: 0.35;
  animation: gridMove 18s linear infinite;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
}

.glow-1 {
  width: 340px;
  height: 340px;
  background: rgba(73,165,143,0.28);
  top: 8%;
  right: 10%;
  animation: floatGlow1 10s ease-in-out infinite;
}

.glow-2 {
  width: 280px;
  height: 280px;
  background: rgba(47,125,107,0.24);
  bottom: 8%;
  left: 8%;
  animation: floatGlow2 12s ease-in-out infinite;
}

@keyframes gridMove {
  0% { transform: translateY(0); }
  50% { transform: translateY(14px); }
  100% { transform: translateY(0); }
}

@keyframes floatGlow1 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-18px, 14px); }
}

@keyframes floatGlow2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(20px, -12px); }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(8,16,13,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition:
    transform 0.28s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(8,16,13,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

.site-header.header-hidden {
  transform: translateY(-110%);
}

.site-header.header-visible {
  transform: translateY(0);
}

.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-title {
  font-size: 1.08rem;
  font-weight: 700;
}

.brand-sub {
  font-size: 0.82rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  color: white !important;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: white;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.hero {
  padding: calc(var(--header-height) + 2.8rem) 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  margin-bottom: 10px;
  background: rgba(255,255,255,0.03);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem,5vw,4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.7rem,3vw,2.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 0.5rem;
}

.lead {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 1.08rem;
}

.text-block {
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 58ch;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-tags {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tags span,
.target-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

.center-list {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.97;
}

.btn-primary {
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  color: white;
  box-shadow: var(--shadow);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.btn-full {
  width: 100%;
}

.section {
  padding: 5rem 0;
}

.section.alt {
  background: rgba(255,255,255,0.02);
}

.section-head {
  max-width: 700px;
  margin-bottom: 40px;
}

.section-head.left {
  margin-bottom: 1.2rem;
}

.section-head p,
.card p,
.contact-meta,
.footer-brand p,
.footer-links a,
.form-note,
.contact-point p {
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  border-color: rgba(140,224,193,0.18);
  background: rgba(255,255,255,0.055);
}

.hero-visual,
.image-card {
  overflow: hidden;
}

.hero-visual img,
.image-card img {
  transition: transform 0.35s ease;
}

.hero-visual:hover img,
.image-card:hover img {
  transform: scale(1.02);
}

.glow-border {
  position: relative;
}

.glow-border::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(140,224,193,0.08), 0 0 40px rgba(73,165,143,0.08);
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.three {
  grid-template-columns: repeat(3,1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4,1fr);
}

.card-grid .card {
  padding: 20px;
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(73,165,143,0.12);
  margin-bottom: 10px;
  border: 1px solid rgba(73,165,143,0.22);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.target-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.step-card {
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: white;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.contact-info,
.request-card {
  padding: 28px;
}

.contact-top p {
  max-width: 54ch;
}

.contact-points {
  display: grid;
  gap: 16px;
  margin-top: 1.8rem;
}

.contact-point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-point strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

.contact-meta-box {
  margin-top: 1.8rem;
  display: grid;
  gap: 6px;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 16px;
  margin-top: 1rem;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 0.92rem;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(140,224,193,0.35);
  box-shadow: 0 0 0 3px rgba(73,165,143,0.08);
  background: rgba(255,255,255,0.045);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.choice-card,
.budget-chip {
  position: relative;
  cursor: pointer;
}

.choice-card input,
.budget-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card span,
.budget-chip span {
  display: block;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  text-align: center;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.choice-card:hover span,
.budget-chip:hover span {
  transform: translateY(-1px);
  border-color: rgba(140,224,193,0.2);
}

.choice-card input:checked + span,
.budget-chip input:checked + span {
  background: linear-gradient(135deg, rgba(47,125,107,0.32), rgba(73,165,143,0.22));
  border-color: rgba(140,224,193,0.38);
  box-shadow: 0 0 0 3px rgba(73,165,143,0.08);
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.form-note {
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 25px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand p {
  margin: 0.3rem 0;
}

.footer-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

.fade-up {
  animation: fadeUp 0.8s ease both;
}

.float-soft {
  animation: floatSoft 6s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(73,165,143,0.16) 0%, rgba(73,165,143,0.08) 35%, rgba(73,165,143,0.02) 60%, transparent 75%);
  transform: translate(-50%, -50%);
  filter: blur(22px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

body.glow-active .mouse-glow {
  opacity: 1;
}

.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 2rem));
  background: rgba(10,18,15,0.94);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.32);
  backdrop-filter: blur(16px);
  padding: 1rem;
  z-index: 999;
  display: none;
}

.cookie-bar.show {
  display: block;
}

.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.cookie-text strong {
  display: block;
  margin-bottom: 0.35rem;
}

.cookie-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
}

.cookie-btn.accept {
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  color: white;
}

.cookie-btn.decline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg,#2f7d6b,#49a58f);
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 999;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  transform: translateY(-3px);
}

.legal-container {
  max-width: 900px;
  margin: 40px auto 120px;
  padding: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  line-height: 1.75;
  box-shadow: var(--shadow);
}

.legal-container h1 {
  margin-bottom: 30px;
  font-size: 2.2rem;
}

.legal-container h2 {
  margin-top: 30px;
  font-size: 1.3rem;
  color: var(--accent-3);
}

.legal-container p,
.legal-container li {
  color: var(--muted);
  margin-bottom: 15px;
}

.legal-container strong {
  color: var(--text);
}

.legal-back {
  max-width: 900px;
  margin: 110px auto 0;
  padding: 0 20px;
}

.back-button {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

@media (max-width: 1000px) {
  .hero-grid,
  .split-grid,
  .card-grid.three,
  .card-grid.four,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    padding-top: 1rem;
  }

  .nav.open {
    display: flex;
  }

  .nav-wrap {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 1rem 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 2rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .choice-grid,
  .budget-grid {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .legal-container {
    padding: 28px;
  }
}