:root {
  --ink: #03110b;
  --ink-2: #082018;
  --ink-3: #102b20;
  --paper: #f3f6f1;
  --paper-2: #e9efe7;
  --white: #ffffff;
  --text: #f6f8f5;
  --text-dark: #07110c;
  --muted: #9ba9a1;
  --muted-dark: #617067;
  --green: #78d644;
  --green-soft: #a7ef7f;
  --green-deep: #367f22;
  --line-dark: rgba(216, 239, 223, .14);
  --line-light: #d6dfd4;
  --radius: 22px;
  --radius-lg: 34px;
  --shell: 1400px;
  --ease: cubic-bezier(.2,.8,.2,1);
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.shell { width: min(calc(100% - 64px), var(--shell)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.ambient-grid {
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 900px;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(123, 213, 83, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 213, 83, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(3, 17, 11, .88);
  backdrop-filter: blur(22px);
}

.header-inner {
  display: grid;
  min-height: 82px;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand { width: 142px; }
.brand img { width: 100%; height: auto; }

.main-nav { display: flex; justify-content: center; gap: 34px; }
.main-nav a { position: relative; color: #b6c1ba; font-size: 13px; font-weight: 520; transition: color .2s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 1px; background: var(--green); transition: right .25s var(--ease); }
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switcher {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(218,238,224,.2);
  border-radius: 999px;
  background: rgba(0,0,0,.2);
}
.language-switcher button {
  min-width: 36px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.language-switcher button:hover { color: var(--white); }
.language-switcher button.is-active { background: var(--green); color: var(--ink); }

.contact-link, .primary-cta, .detail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 650;
  transition: transform .22s var(--ease), box-shadow .22s ease, background .22s ease;
}
.contact-link { min-height: 42px; padding: 0 17px; background: var(--green); color: var(--ink); font-size: 12px; }
.contact-link svg, .primary-cta svg, .detail-cta svg { width: 16px; height: 16px; }
.contact-link:hover, .primary-cta:hover, .detail-cta:hover { transform: translateY(-2px); box-shadow: 0 13px 30px rgba(82,166,43,.24); }

.brand:focus-visible, .main-nav a:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--green-soft);
  outline-offset: 4px;
}

.commercial-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--ink);
}

.video-hero {
  display: grid;
  min-height: clamp(620px, calc(100svh - 132px), 860px);
  align-items: end;
  isolation: isolate;
}

.hero-background-video,
.hero-shade,
.video-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-background-video {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95) contrast(1.04);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3,17,11,.94) 0%, rgba(3,17,11,.78) 39%, rgba(3,17,11,.32) 69%, rgba(3,17,11,.72) 100%),
    linear-gradient(0deg, rgba(3,17,11,.94) 0%, rgba(3,17,11,.2) 48%, rgba(3,17,11,.56) 100%);
}

.video-hero::before {
  content: "";
  z-index: -1;
  opacity: .42;
  background-image:
    linear-gradient(rgba(123, 213, 83, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 213, 83, .07) 1px, transparent 1px);
  background-size: 72px 72px;
}

.hero-content {
  padding: 96px 0 84px;
}

.animated-title {
  max-width: 1040px;
  margin: 0;
  font-size: 92px;
  font-weight: 430;
  letter-spacing: 0;
  line-height: .96;
  text-wrap: balance;
  text-shadow: 0 18px 54px rgba(0,0,0,.36);
}

.animated-title span {
  display: block;
  opacity: 0;
  transform: translateY(22px);
  animation: title-rise .78s var(--ease) forwards;
}

.animated-title span:nth-child(2) {
  color: var(--green);
  animation-delay: .18s;
}

@keyframes title-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-subtitle {
  margin-top: 24px;
  color: #e4ece6;
  font-size: 23px;
  font-weight: 450;
  letter-spacing: 0;
}

.eyebrow { margin: 0 0 16px; color: var(--green-soft); font-size: 11px; font-weight: 750; letter-spacing: .2em; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: #c1cbc5; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.48; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.primary-cta { min-height: 52px; padding: 0 22px; background: var(--green); color: var(--ink); font-size: 13px; }
.hero-note { max-width: 270px; color: #c6d1cb; font-size: 11px; line-height: 1.45; }

.home-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 42px; }
.home-pills span { padding: 7px 10px; border: 1px solid var(--line-dark); border-radius: 999px; color: #aebbb3; font-size: 8px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }

.solutions-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 42px 0 112px;
  background: var(--ink);
  color: var(--text);
  isolation: isolate;
}

.solutions-section::before,
.solutions-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.solutions-section::before {
  z-index: -3;
  transform: scale(1.08);
  background: url("images/torcida-bg.jpg") center / cover no-repeat;
  filter: blur(10px) saturate(.72) brightness(.64);
  opacity: .62;
}

.solutions-section::after {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3,17,11,.92), rgba(3,17,11,.78) 36%, rgba(3,17,11,.94) 100%),
    linear-gradient(90deg, rgba(3,17,11,.93), rgba(3,17,11,.48), rgba(3,17,11,.92)),
    linear-gradient(rgba(123, 213, 83, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 213, 83, .055) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}

.solutions-section .shell {
  position: relative;
  z-index: 1;
}

.section-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 40px; margin-bottom: 24px; }
.section-heading .eyebrow { color: var(--green-soft); }
.section-heading h2 { max-width: 650px; margin: 0; font-size: clamp(28px, 3vw, 44px); font-weight: 430; letter-spacing: 0; line-height: 1.05; }
.section-heading-side > p { margin: 0 0 18px; color: rgba(235,246,239,.72); font-size: 15px; line-height: 1.5; }

.explore-meter { display: none; align-items: center; gap: 12px; }
.meter-ring { display: grid; width: 52px; height: 52px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: conic-gradient(var(--green-deep) var(--meter-progress,0%), #dce4da 0); color: var(--text-dark); font-size: 13px; font-weight: 700; }
.meter-ring::before { content: ""; grid-area: 1/1; width: 41px; height: 41px; border-radius: 50%; background: var(--paper); }
.meter-ring span { position: relative; grid-area: 1/1; }
.meter-title { margin: 0 0 3px; font-size: 12px; font-weight: 650; }
.meter-copy { margin: 0; color: var(--muted-dark); font-size: 11px; }
.meter-copy strong { color: var(--green-deep); }

.module-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
  align-items: center;
  padding: 20px 0 22px;
  border-top: 1px solid rgba(231,247,237,.18);
  border-bottom: 1px solid rgba(231,247,237,.18);
}

.module-card {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  overflow: visible;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(234,245,239,.82);
  cursor: pointer;
  text-align: left;
  box-shadow: none;
  transition: color .2s ease, border-color .2s ease, opacity .2s ease;
}
.module-card:hover { color: var(--white); border-color: rgba(167,239,127,.48); opacity: 1; }
.module-card.is-selected { border-color: var(--green); background: transparent; color: var(--green-soft); box-shadow: none; }
.module-card.is-visited:not(.is-selected) { color: rgba(204,234,211,.9); }

.module-icon { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border-radius: 0; background: transparent; color: currentColor; transition: transform .2s var(--ease); }
.module-icon svg { width: 21px; height: 21px; stroke-width: 1.9; }
.module-card:hover .module-icon { transform: translateY(-1px); }
.module-card.is-selected .module-icon { background: transparent; color: currentColor; }
.module-copy { max-width: none; margin-top: 0; }
.module-copy strong { display: block; margin-bottom: 0; font-size: 14px; font-weight: 650; letter-spacing: 0; line-height: 1.1; white-space: nowrap; text-shadow: 0 8px 20px rgba(0,0,0,.22); }
.module-copy span, .module-number { display: none; }

.journey { display: none; margin-top: 24px; }
.journey-track { display: grid; grid-template-columns: repeat(10,1fr); gap: 6px; }
.journey-node { height: 4px; border: 0; border-radius: 999px; background: #dbe3d9; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.journey-node:hover { transform: scaleY(1.5); background: #b7c7b3; }
.journey-node.is-visited { background: #7abb56; }
.journey-node.is-selected { background: var(--ink-2); }
.journey p { margin: 10px 0 0; color: var(--muted-dark); font-size: 11px; }

.detail-panel { margin-top: 58px; scroll-margin-top: 22px; border: 1px solid rgba(231,247,237,.12); border-radius: var(--radius-lg); background: rgba(8,32,24,.92); color: var(--text); box-shadow: 0 36px 80px rgba(0,0,0,.26); backdrop-filter: blur(12px); }
.detail-content { overflow: hidden; border-radius: inherit; }
.solution-detail { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(420px,.88fr); min-height: 600px; animation: detail-in .42s var(--ease) both; }
@keyframes detail-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.detail-media { position: relative; min-height: 100%; overflow: hidden; background: #020805; }
.detail-media img, .detail-media video { width: 100%; height: 100%; min-height: 600px; object-fit: cover; }
.detail-media::after { content: ""; position: absolute; pointer-events: none; inset: 0; background: linear-gradient(to top, rgba(3,17,11,.3), transparent 38%); }
.media-label { position: absolute; z-index: 2; left: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(3,17,11,.68); color: #dce5df; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(12px); }
.media-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); }

.detail-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(38px,4vw,66px); }
.detail-heading { display: grid; grid-template-columns: 54px minmax(0,1fr); align-items: start; gap: 15px; }
.detail-icon { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(120,214,68,.28); border-radius: 15px; background: rgba(120,214,68,.08); color: var(--green-soft); }
.detail-icon svg { width: 29px; height: 29px; }
.detail-tag { display: block; margin: 4px 0 7px; color: var(--green-soft); font-size: 9px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.detail-heading h2 { margin: 0; font-size: clamp(34px,3.5vw,54px); font-weight: 450; letter-spacing: -.05em; line-height: .95; }
.detail-headline { margin: 28px 0 12px; font-size: clamp(18px,1.65vw,24px); font-weight: 540; line-height: 1.26; }
.detail-description { margin: 0; color: #aebbb3; font-size: 14px; line-height: 1.65; }
.text-marker {
  padding: 0 .16em .05em;
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(112, 221, 61, .04) 0%, rgba(112, 221, 61, .18) 42%, rgba(112, 221, 61, .38) 100%);
  color: #f7fff4;
  font-weight: 760;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.benefit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 25px; }
.benefit-item { position: relative; min-height: 49px; padding: 12px 12px 12px 31px; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(255,255,255,.025); color: #d0d9d3; font-size: 11px; line-height: 1.3; }
.benefit-item::before { content: ""; position: absolute; left: 12px; top: 16px; width: 7px; height: 7px; border: 1px solid var(--green); border-radius: 50%; }
.detail-cta { width: fit-content; min-height: 44px; margin-top: 24px; padding: 0 17px; background: var(--green); color: var(--ink); font-size: 11px; }
.detail-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 25px; padding-top: 17px; border-top: 1px solid var(--line-dark); }
.detail-nav button { display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 9px; font-weight: 620; }
.detail-nav button:hover { color: var(--green-soft); }
.detail-nav button:first-child svg { transform: rotate(180deg); }
.detail-nav svg { width: 14px; height: 14px; }

.commercial-cta-section { padding: 86px 0; background: var(--paper-2); color: var(--text-dark); }
.commercial-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 54px 60px; border-radius: 32px; background: var(--green); }
.commercial-cta-card .eyebrow { margin-bottom: 10px; color: #235c15; }
.commercial-cta-card h2 { margin: 0; font-size: clamp(36px,4vw,58px); font-weight: 460; letter-spacing: -.05em; line-height: .96; }
.commercial-cta-card p:not(.eyebrow) { max-width: 680px; margin: 16px 0 0; color: #21451b; font-size: 15px; line-height: 1.55; }
.primary-cta.is-light { flex: 0 0 auto; background: var(--white); color: var(--ink); }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line-dark); background: var(--ink); }
.footer-inner { display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 30px; }
.footer-inner img { width: 130px; height: auto; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 11px; }
.footer-inner a { color: #c8d2cc; font-size: 12px; }

.noscript { position: fixed; z-index: 100; inset: auto 20px 20px; padding: 14px 18px; border-radius: 12px; background: #fff; color: #111; }

@media (max-width: 1120px) {
  .shell { width: min(calc(100% - 40px),var(--shell)); }
  .header-inner { grid-template-columns: 150px 1fr auto; }
  .main-nav { gap: 22px; }
  .contact-link span { display: none; }
  .contact-link { width: 42px; padding: 0; }
  .animated-title { font-size: 74px; }
  .module-grid { gap: 10px 18px; }
  .solution-detail { grid-template-columns: minmax(0,1fr) minmax(380px,.9fr); }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 72px; }
  .header-actions { grid-column: 2; }
  .video-hero.commercial-hero { min-height: calc(100svh - 112px); padding: 0; }
  .hero-content { padding: 82px 0 70px; }
  .animated-title { font-size: 62px; }
  .hero-subtitle { font-size: 21px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .section-heading-side { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
  .section-heading-side > p { max-width: 420px; margin: 0; }
  .solution-detail { grid-template-columns: 1fr; }
  .detail-media, .detail-media img, .detail-media video { min-height: 0; }
  .detail-media { aspect-ratio: 16/9; }
  .detail-body { padding: 42px; }
  .commercial-cta-card { align-items: flex-start; flex-direction: column; padding: 44px; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px),var(--shell)); }
  .site-header { position: sticky; top: 0; }
  .header-inner { min-height: 66px; gap: 12px; }
  .brand { width: 105px; }
  .language-switcher button { min-width: 30px; height: 28px; padding: 0 6px; }
  .contact-link { display: none; }
  .video-hero.commercial-hero { min-height: calc(100svh - 94px); padding: 0; }
  .hero-content { padding: 70px 0 54px; }
  .video-hero::before { background-size: 48px 48px; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3,17,11,.88), rgba(3,17,11,.54)),
      linear-gradient(0deg, rgba(3,17,11,.96) 0%, rgba(3,17,11,.36) 48%, rgba(3,17,11,.7) 100%);
  }
  .animated-title { font-size: 45px; line-height: 1.02; }
  .hero-subtitle { margin-top: 18px; font-size: 18px; }
  .hero-lead { margin-top: 22px; font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; margin-top: 27px; }
  .hero-note { max-width: 310px; }
  .home-pills { margin-top: 30px; }
  .solutions-section { padding: 68px 0 74px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 34px; }
  .section-heading-side { align-items: flex-start; flex-direction: column; gap: 18px; }
  .module-grid { display: flex; gap: 8px 13px; padding: 16px 0 18px; }
  .module-card { min-height: 34px; padding: 0 0 7px; }
  .module-icon { width: 19px; height: 19px; }
  .module-icon svg { width: 18px; height: 18px; }
  .module-copy { margin-top: 0; }
  .module-copy strong { font-size: 12px; }
  .journey { overflow: hidden; }
  .detail-panel { margin-top: 38px; border-radius: 23px; }
  .detail-media { aspect-ratio: 4/3; }
  .detail-body { padding: 27px 20px 30px; }
  .detail-heading { grid-template-columns: 46px minmax(0,1fr); gap: 12px; }
  .detail-icon { width: 46px; height: 46px; }
  .detail-icon svg { width: 24px; height: 24px; }
  .detail-heading h2 { font-size: 35px; }
  .detail-headline { margin-top: 23px; font-size: 19px; }
  .detail-description { font-size: 13px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .detail-nav { align-items: flex-start; flex-direction: column; }
  .commercial-cta-section { padding: 54px 0; }
  .commercial-cta-card { padding: 31px 24px; border-radius: 24px; }
  .commercial-cta-card h2 { font-size: 39px; }
  .footer-inner { grid-template-columns: 1fr; gap: 15px; }
  .footer-inner a { width: fit-content; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
