:root {
  --ink: #07130b;
  --muted: #526052;
  --green-950: #06190e;
  --green-900: #0b2f1c;
  --green-800: #123f2b;
  --green-600: #1f7a4a;
  --lime: #b8f24f;
  --lime-soft: #ebffd0;
  --gold: #e8b735;
  --blue: #3f9fca;
  --sky: #e9f8fb;
  --paper: #fbfff7;
  --white: #ffffff;
  --line: #dbe8d2;
  --shadow: 0 22px 70px rgba(7, 19, 11, 0.14);
  --shadow-soft: 0 12px 36px rgba(7, 19, 11, 0.09);
  --ease-premium: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.joita-2026 {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 232, 210, 0.8);
  background: rgba(251, 255, 247, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(7, 19, 11, .04);
  transition: background .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.site-header.scrolled {
  background: rgba(251, 255, 247, 0.96);
  border-color: rgba(191, 213, 181, .95);
  box-shadow: 0 16px 44px rgba(7, 19, 11, .08);
}
.site-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 950;
  line-height: 1.05;
  white-space: nowrap;
}
.brand-logo {
  width: clamp(132px, 16vw, 184px);
  height: auto;
  border-radius: 0;
  box-shadow: none;
  display: block;
}
.brand-tagline {
  display: block;
  color: var(--green-600);
  font-size: 0.73rem;
  font-weight: 900;
}
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.nav-links a {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 850;
  padding: 9px 10px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-600), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s var(--ease-premium);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { background: #e7f5dc; color: var(--green-800); transform: translateY(-1px); }

main { overflow: hidden; }
.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  background:
    linear-gradient(115deg, rgba(184,242,79,.06), transparent 36%, rgba(63,159,202,.08) 68%, transparent),
    radial-gradient(circle at 78% 18%, rgba(184, 242, 79, 0.34), transparent 30%),
    radial-gradient(circle at 8% 82%, rgba(63, 159, 202, 0.24), transparent 26%),
    linear-gradient(135deg, var(--green-950), var(--green-900) 48%, #123f2b);
  background-size: 160% 160%, 100% 100%, 100% 100%, 100% 100%;
  animation: heroGradient 16s ease-in-out infinite alternate;
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 86%, transparent);
  animation: fieldGrid 22s linear infinite;
}
.page-hero .section-inner { position: relative; z-index: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, rgba(251, 255, 247, 0.08));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  min-height: min(760px, calc(100vh - 72px));
  margin: 0 auto;
  padding: 74px 18px 58px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.78fr);
  gap: 42px;
  align-items: center;
}
.logo-lockup {
  display: inline-grid;
  gap: 8px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
  transform-origin: left center;
  animation: logoFloat 7s ease-in-out infinite;
}
.logo-lockup img { width: min(310px, 74vw); height: auto; display: block; }
.logo-lockup span { color: var(--green-800); font-weight: 950; font-size: .86rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 999px; background: var(--lime); }
h1, h2, h3 { color: inherit; letter-spacing: 0; }
h1 { margin: 0 0 18px; max-width: 860px; font-size: 5.15rem; line-height: .94; }
h2 { margin: 0 0 14px; font-size: 3rem; line-height: 1.03; }
h3 { margin: 0 0 9px; font-size: 1.06rem; }
p { line-height: 1.6; }
.hero p { max-width: 760px; color: #eef8e7; font-size: 1.12rem; }
.hero-punch {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  margin: 0 0 13px;
  padding: 10px 13px;
  border: 1px solid rgba(184, 242, 79, .36);
  border-radius: 999px;
  background: rgba(184, 242, 79, .12);
  color: #f4ffd9 !important;
  font-weight: 950;
}
.hero-punch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 36%, rgba(255,255,255,.28) 45%, transparent 56% 100%);
  transform: translateX(-120%);
  animation: sheen 5.8s ease-in-out infinite;
}
.hero-copy { margin: 0 0 8px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 0 18px;
  border: 1px solid var(--green-800);
  background: var(--green-800);
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(18, 63, 43, .18);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.button::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.44), transparent);
  transform: translateX(-120%);
  transition: transform .55s var(--ease-premium);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(18, 63, 43, .24); }
.button:hover::after { transform: translateX(120%); }
.button > * { position: relative; z-index: 1; }
.button.lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.button.secondary { background: rgba(255,255,255,.94); border-color: rgba(255,255,255,.94); color: var(--green-900); }
.button.ghost { background: transparent; border-color: rgba(255,255,255,.38); color: #fff; box-shadow: none; }

.hero-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 22px 80px rgba(0,0,0,.22);
  animation: panelRise .9s var(--ease-premium) .18s both;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 22%, rgba(255,255,255,.24), transparent 64%);
  transform: translateX(-55%) rotate(8deg);
  animation: slowSweep 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-visual > * { position: relative; z-index: 1; }
.hero-visual:hover .dashboard-card {
  animation-play-state: paused;
}
.dashboard-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  padding: 18px;
  animation: floaty 5.5s ease-in-out infinite;
  transition: transform .32s var(--ease-premium), box-shadow .32s var(--ease-premium);
}
.dashboard-card:hover { transform: translateY(-8px) scale(1.015); box-shadow: 0 18px 42px rgba(7, 19, 11, .16); }
.dashboard-card:nth-child(2) { animation-delay: .7s; }
.dashboard-card:nth-child(3) { animation-delay: 1.2s; }
.dashboard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.status-pill { display: inline-flex; border-radius: 999px; padding: 6px 9px; background: #e8f8df; color: var(--green-800); font-weight: 900; font-size: .74rem; }
.signal-bar { height: 8px; border-radius: 999px; background: #dce9d4; overflow: hidden; }
.signal-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-600), var(--lime), var(--green-600));
  background-size: 220% 100%;
  transform-origin: left center;
  animation: signalLoad 1.05s var(--ease-premium) both, signalFlow 3.6s linear infinite;
}

.section { padding: 66px 18px; }
.section.compact { padding: 46px 18px; }
.section.white { background: #fff; }
.section.dark { background: var(--green-950); color: #fff; }
.section.gradient { background: linear-gradient(135deg, #f8fff1, #eaf7e3 52%, #eaf8fb); }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 24px; }
.section-head p, .lead { max-width: 660px; margin: 0; color: var(--muted); font-size: 1rem; }
.dark .section-head p, .dark .lead { color: #dcebdd; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .tile {
  --mx: 50%;
  --my: 0%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease-premium), box-shadow .3s var(--ease-premium), border-color .3s ease, background .3s ease;
}
.card::before, .tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(184,242,79,.22), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.34), transparent 45%);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
}
.card > *, .tile > * { position: relative; z-index: 1; }
.card:hover::before, .tile:hover::before { opacity: 1; }
.card:hover, .tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 80px rgba(7, 19, 11, 0.16);
  border-color: rgba(31,122,74,.35);
}
.card p, .tile p { margin: 0; color: var(--muted); }
.card h3 + p, .tile h3 + p { margin-top: 6px; }
.icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--lime-soft), #fff);
  color: var(--green-800);
  font-weight: 950;
  border: 1px solid #d8ebcb;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
  transition: transform .28s var(--ease-premium), background .28s ease, color .28s ease;
}
.card:hover .icon, .tile:hover .icon {
  transform: rotate(-3deg) scale(1.06);
  background: linear-gradient(135deg, var(--lime), #fff 72%);
}
.icon svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.counter-card { overflow: hidden; }
.counter-card::after {
  content: attr(data-count);
  position: absolute;
  right: 16px;
  top: 10px;
  color: rgba(18,63,43,.08);
  font-size: 5.2rem;
  font-weight: 950;
  line-height: 1;
}
.step-card { min-height: 230px; }
.step-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-600);
  font-weight: 950;
  margin-top: 16px;
}
.step-arrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: left;
  transition: transform .28s var(--ease-premium);
}
.step-card:hover .step-arrow::after { transform: scaleX(1.45); }
.product-tile {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-tile::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--green-600), var(--lime), var(--blue));
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .35s var(--ease-premium);
}
.product-tile:hover::after { transform: scaleX(1); }
.product-tag { display: inline-flex; width: max-content; border-radius: 999px; padding: 6px 9px; margin-top: 16px; background: #eef8e7; color: var(--green-800); font-weight: 900; font-size: .78rem; }
.split-card { min-height: 220px; }
.cta-panel {
  border-radius: 30px;
  padding: clamp(28px, 6vw, 52px);
  background: linear-gradient(135deg, var(--green-900), #103f2a 56%, #1f6b45);
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.cta-panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,242,79,.32), transparent 68%);
  animation: pulseGlow 6.5s ease-in-out infinite;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel p { color: #eaf5e8; max-width: 720px; }

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 82px 18px 44px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(184,242,79,.08), transparent 42%, rgba(63,159,202,.09)),
    radial-gradient(circle at 78% 16%, rgba(184,242,79,.26), transparent 30%),
    linear-gradient(135deg, var(--green-950), var(--green-900));
  background-size: 160% 160%, 100% 100%, 100% 100%;
  animation: heroGradient 16s ease-in-out infinite alternate;
}
.page-hero .section-inner { max-width: 980px; }
.page-hero h1 { font-size: 3.6rem; line-height: 1; }
.page-hero p { max-width: 720px; color: #eaf5e8; font-size: 1.06rem; }
.grid.page-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.page-grid { padding-top: 32px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.pill-list li { border-radius: 999px; border: 1px solid var(--line); background: #fff; padding: 8px 11px; color: var(--ink); font-weight: 850; }
.role-card h3 { font-size: 1rem; }
.contact-form { display: grid; gap: 12px; }
.contact-form label { display: grid; gap: 6px; color: var(--muted); font-weight: 850; }
input, select, textarea { min-height: 46px; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; font: inherit; background: #fff; }
textarea { min-height: 132px; }

.footer { background: var(--green-950); color: #eaf4e5; padding: 34px 18px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: grid; gap: 14px; }
.footer-tagline { margin: 0; color: var(--lime); font-size: 1.05rem; font-weight: 950; }
.footer p { margin: 0; color: #dcebdd; }
.footer a { color: #fff; font-weight: 850; text-decoration: none; }
.disclaimer { font-size: .88rem; color: #bfcfbd; }

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .75s var(--ease-premium), transform .75s var(--ease-premium);
  transition-delay: calc(var(--reveal-index, 0) * 55ms);
}
.reveal.delay-1 { --reveal-index: 1; }
.reveal.delay-2 { --reveal-index: 2; }
.reveal.delay-3 { --reveal-index: 3; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes heroGradient {
  0% { background-position: 0% 44%, 50% 50%, 50% 50%, 50% 50%; }
  100% { background-position: 100% 56%, 50% 50%, 50% 50%, 50% 50%; }
}
@keyframes fieldGrid {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 56px 56px, 56px 56px; }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-.25deg); }
}
@keyframes sheen {
  0%, 54% { transform: translateX(-120%); }
  72%, 100% { transform: translateX(120%); }
}
@keyframes panelRise {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes slowSweep {
  0%, 44% { transform: translateX(-55%) rotate(8deg); }
  70%, 100% { transform: translateX(55%) rotate(8deg); }
}
@keyframes signalLoad {
  from { transform: scaleX(.18); }
  to { transform: scaleX(1); }
}
@keyframes signalFlow {
  to { background-position: 220% 0; }
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: .75; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 980px) {
  .site-nav { align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; }
  .hero-grid, .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding-top: 42px; }
  .section-head { display: block; }
  .section-head p { margin-top: 10px; }
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.3rem; }
  .page-hero h1 { font-size: 2.8rem; }
}
@media (max-width: 620px) {
  .site-nav { padding: 10px 14px; }
  .brand { align-items: flex-start; flex-direction: column; gap: 3px; }
  .brand-logo { width: 150px; }
  .brand-tagline { font-size: .68rem; }
  .nav-links {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 3px;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links a { flex: 0 0 auto; white-space: nowrap; }
  .nav-links a { font-size: .8rem; padding: 8px 9px; }
  .hero-grid { padding: 34px 16px 44px; }
  .logo-lockup { padding: 10px 12px; margin-bottom: 14px; }
  .logo-lockup img { width: 230px; }
  h1 { font-size: 2.45rem; line-height: .98; }
  h2 { font-size: 1.85rem; }
  .page-hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .section { padding: 48px 16px; }
  .button { width: 100%; }
  .hero-punch { align-items: flex-start; border-radius: 18px; }
  .button-row { gap: 9px; }
  .card, .tile { border-radius: 18px; padding: 18px; }
  .hero-visual { padding: 12px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
