:root {
  --bg: #090d0a;
  --surface: rgba(17, 22, 16, 0.88);
  --surface-strong: #121912;
  --text: #e9f2e1;
  --muted: #9fb098;
  --line: rgba(191, 224, 168, 0.16);
  --brand: #8acc4e;
  --brand-strong: #74b83d;
  --accent: #b4eb7a;
  --shadow: 0 20px 46px rgba(0, 0, 0, 0.45);
  --radius: 20px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', 'Trebuchet MS', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(138, 204, 78, 0.2) 0, rgba(138, 204, 78, 0) 34%),
    radial-gradient(circle at 88% 16%, rgba(103, 153, 56, 0.22) 0, rgba(103, 153, 56, 0) 38%),
    linear-gradient(140deg, #090d0a 0%, #0e140d 42%, #11190f 100%);
  min-height: 100vh;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(12px);
  background: rgba(9, 13, 10, 0.78);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand), #a7de6c);
  color: #0f160d;
  box-shadow: 0 8px 22px rgba(138, 204, 78, 0.32);
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.32));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(138, 204, 78, 0.18);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: var(--text);
}

.hero {
  position: relative;
  padding: 6.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.2rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(138, 204, 78, 0.3);
  background: rgba(17, 24, 15, 0.8);
  color: var(--brand-strong);
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
}

.hero p {
  color: var(--muted);
  max-width: 62ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: #0d130c;
  background: linear-gradient(140deg, var(--brand-strong), var(--brand));
  box-shadow: 0 12px 24px rgba(116, 184, 61, 0.35);
}

.btn-outline {
  border-color: rgba(191, 224, 168, 0.26);
  background: rgba(16, 22, 14, 0.72);
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.2rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.metric {
  border-radius: 14px;
  background: #171f15;
  border: 1px solid var(--line);
  padding: 0.8rem;
}

.metric strong {
  display: block;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 1.25rem;
}

section {
  padding: 4.4rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

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

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.feature {
  padding: 1.2rem;
}

.feature h3 {
  font-size: 1.3rem;
}

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

.tag {
  display: inline-block;
  border: 1px solid rgba(138, 204, 78, 0.36);
  background: rgba(138, 204, 78, 0.17);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #c9ef9f;
  padding: 0.22rem 0.6rem;
}

.portfolio-item {
  overflow: hidden;
}

.media-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.media-frame img,
.media-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-content {
  padding: 1rem;
}

.portfolio-cta {
  margin-top: 0.9rem;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  border: 1px dashed rgba(191, 224, 168, 0.35);
  border-radius: 14px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  background: rgba(16, 22, 14, 0.62);
}

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

.partners-marquee {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 22, 14, 0.68);
  overflow: hidden;
  padding: 1rem 0;
}

.partners-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1rem;
  animation: partnerScroll 28s linear infinite;
  will-change: transform;
}

.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

.partner-logo {
  flex: 0 0 auto;
  width: 170px;
}

.partner-logo img {
  width: 100%;
  height: 52px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
}

.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--brand);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

form {
  display: grid;
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: rgba(15, 21, 13, 0.92);
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(138, 204, 78, 0.28);
  border-color: var(--brand);
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-meta p {
  margin: 0;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.legal-links a {
  color: #b8d89f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.consent-line input {
  width: auto;
  margin-top: 0.15rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 120;
}

.cookie-banner-inner {
  width: min(940px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 16, 10, 0.96);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.cookie-title {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.cookie-banner-copy p {
  margin: 0.2rem 0;
  color: var(--muted);
}

.cookie-banner-copy a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #d6efbd;
}

.cookie-controls {
  display: grid;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(16, 24, 14, 0.84);
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cookie-option input {
  width: auto;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-settings-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 110;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(14, 20, 12, 0.95);
  cursor: pointer;
}

.media-frame {
  position: relative;
}

.media-blocker {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.8rem;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(140deg, rgba(11, 17, 10, 0.95), rgba(19, 28, 17, 0.95));
}

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

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: riseIn 0.7s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.1s;
}

.reveal:nth-child(3) {
  animation-delay: 0.2s;
}

.reveal:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes partnerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .contact-wrap,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 104px;
    display: none;
    padding: 0.8rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(12, 18, 11, 0.96);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem 0.8rem;
  }

  .hero {
    padding-top: 5rem;
  }

  .partner-logo {
    width: 140px;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
  }
}
