:root {
  --paper: #fbf7ef;
  --paper-2: #f4efe6;
  --graphite: #232527;
  --navy: #10243f;
  --orange: #d88442;
  --blue: #8eb9d6;
  --blue-2: #dbeaf2;
  --gray: #d8d6cf;
  --line: rgba(35, 37, 39, 0.16);
  --shadow: 0 18px 50px rgba(16, 36, 63, 0.12);
  --radius: 8px;
  --container: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--graphite);
  background:
    linear-gradient(90deg, rgba(16,36,63,.035) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(180deg, rgba(16,36,63,.025) 1px, transparent 1px) 0 0 / 38px 38px,
    var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

body.page-loading {
  opacity: 0;
}

body.is-ready {
  opacity: 1;
  transition: opacity 420ms var(--ease);
}

img, svg { max-width: 100%; }

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

p { margin: 0 0 1rem; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-140%);
  z-index: 1000;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(251, 247, 239, .86);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: inset -10px -10px 0 rgba(216,132,66,.42);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff8;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}

.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(1px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-1px) rotate(-45deg); }

.main-nav {
  position: absolute;
  inset: 67px 14px auto;
  display: none;
  padding: 14px;
  background: rgba(251, 247, 239, .98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.main-nav.is-open { display: grid; }

.main-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: .95rem;
  color: var(--navy);
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--blue-2);
}

.section {
  padding: 70px 18px;
}

.section.tight { padding-top: 38px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.hero-lab {
  position: relative;
  min-height: calc(100dvh - 68px);
  padding: 58px 18px 38px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--orange);
}

h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 940px;
  font-size: clamp(2.7rem, 11vw, 7.2rem);
}

h2 {
  font-size: clamp(2rem, 7vw, 4.8rem);
  max-width: 820px;
}

h3 {
  font-size: clamp(1.25rem, 4vw, 2rem);
}

.lead {
  max-width: 720px;
  margin-top: 20px;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: rgba(35, 37, 39, .78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  color: #fff;
  background: var(--navy);
  font-weight: 750;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.button:hover { transform: translateY(-2px); }
.button.secondary { color: var(--navy); background: transparent; }
.button.secondary:hover { background: var(--blue-2); }

.lab-board {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.42);
  overflow: hidden;
}

.lab-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 48%, rgba(216,132,66,.45) 49%, transparent 50%),
    radial-gradient(circle at 28% 22%, rgba(142,185,214,.34), transparent 28%),
    radial-gradient(circle at 72% 68%, rgba(216,132,66,.22), transparent 26%);
}

.module {
  position: absolute;
  width: min(42%, 220px);
  padding: 16px;
  border: 1px solid rgba(16,36,63,.22);
  border-radius: var(--radius);
  background: rgba(251,247,239,.92);
  box-shadow: var(--shadow);
  animation: floatModule 7s var(--ease) infinite;
}

.module strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
}

.module small { color: rgba(35,37,39,.68); }
.module.m1 { left: 8%; top: 12%; }
.module.m2 { right: 8%; top: 28%; animation-delay: -1.5s; }
.module.m3 { left: 24%; bottom: 10%; animation-delay: -3s; }

.path-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.path-line path {
  stroke: var(--orange);
  stroke-width: 3;
  stroke-dasharray: 10 12;
  animation: dash 16s linear infinite;
  fill: none;
}

.intro-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}

.strip-item {
  padding: 18px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.strip-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-weight: 800;
  font-size: .9rem;
}

.modular-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.58);
  overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(216,132,66,.5);
}

.card .num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  color: var(--navy);
  background: var(--blue-2);
  border-radius: var(--radius);
  font-weight: 850;
}

.card p { color: rgba(35,37,39,.74); }

.split {
  display: grid;
  gap: 28px;
  align-items: start;
}

.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.52);
}

.scheme {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.scheme-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.scheme-step b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: rgba(255,255,255,.62);
}

th, td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--navy);
  background: var(--blue-2);
}

.visual-band {
  background: var(--navy);
  color: #fff;
}

.visual-band h2,
.visual-band h3 { color: #fff; }

.visual-band .lead { color: rgba(255,255,255,.74); }

.visual-band .panel {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

.visual-band .scheme-step {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}

.tiles {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.tile {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
}

.tile span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 800;
}

.carousel {
  margin-top: 30px;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 75%);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.carousel .card { scroll-snap-align: start; min-height: 230px; }

.carousel-controls {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.64);
  cursor: pointer;
  color: var(--navy);
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.icon-button:hover { transform: translateY(-2px); background: var(--blue-2); }

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.58);
}

.faq-question {
  width: 100%;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: rgba(35,37,39,.75);
}

.faq-item.is-open .faq-answer { display: block; }

.contact-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.62);
}

.map-frame {
  width: 100%;
  min-height: 380px;
  border: 0;
  border-radius: var(--radius);
  filter: saturate(.8);
}

.site-footer {
  padding: 46px 18px 28px;
  color: #fff;
  background: var(--graphite);
}

.site-footer .brand,
.site-footer a {
  color: #fff;
}

.site-footer p {
  color: rgba(255,255,255,.76);
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.footer-links,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-links a { color: rgba(255,255,255,.78); }
.footer-links a:hover { color: #fff; }

.socials a {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
}

.footer-bottom {
  max-width: var(--container);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.66);
  font-size: .92rem;
}

.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 200;
  display: none;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251,247,239,.96);
  box-shadow: var(--shadow);
}

.cookie-banner.is-visible { display: grid; }

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 96px;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatModule {
  0%, 100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-12px,0); }
}

@keyframes dash {
  to { stroke-dashoffset: -220; }
}

@media (min-width: 680px) {
  .intro-strip,
  .modular-grid,
  .tiles,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carousel-track {
    grid-auto-columns: minmax(300px, 34%);
  }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    display: flex;
    align-items: center;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .main-nav a { font-size: .86rem; padding: 8px 9px; }

  .hero-grid {
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
  }

  .split {
    grid-template-columns: 1fr .85fr;
  }

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

  .section { padding: 96px 18px; }
}

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