/* ============================================================
   In Vitro S.L. — Paulownia landing page
   Design tokens
   ============================================================ */
:root {
  --bg:            #F7F4EC;
  --panel:         #EFEBDF;
  --card:          #FFFFFF;
  --card-warm:     #FFFDF8;
  --ink:           #16241C;
  --ink-soft:      #3D4C42;
  --body:          #4A5A4F;
  --body-soft:     #5A6A5F;
  --mono:          #8A7F63;
  --mono-light:    #B0A484;
  --line:          #DCD5C4;
  --line-strong:   #C6BEA9;
  --green-deep:    #1B4227;
  --green:         #2E6B3D;
  --green-bright:  #3F8F52;
  --amber:         #C8853F;
  --amber-lift:    #D99A55;
  --amber-ink:     #1B1405;
  --on-dark:       #F7F4EC;
  --on-dark-soft:  #C7D3C8;
  --on-dark-mute:  #9FB6A5;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --code:  'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --shell:  1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 2px;
  --dock:   76px; /* height reserved for the sticky bottom CTA */
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: var(--dock);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }

button { font: inherit; color: inherit; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }

::selection { background: var(--green-deep); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green-deep);
  color: var(--on-dark);
  padding: 12px 18px;
  font-weight: 600;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  color: var(--on-dark);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@keyframes pulseDot { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

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

/* ============================================================
   Layout primitives
   ============================================================ */
.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section      { padding-block: clamp(64px, 8vw, 115px); }
.section--tight { padding-block: clamp(56px, 8vw, 105px); }

.section--dark {
  background: var(--green-deep);
  color: #EDEADF;
}
.section--ink {
  background: var(--ink);
  color: #EDEADF;
}
.section--panel {
  background: var(--panel);
  border-block: 1px solid var(--line);
}
.section--warm {
  background: var(--card-warm);
  border-block: 1px solid var(--line);
}

.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ============================================================
   Type scale
   ============================================================ */
.eyebrow {
  font-family: var(--code);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--mono);
  line-height: 1.7;
}
.eyebrow--tight { font-size: 10px; letter-spacing: .12em; line-height: 1.5; }
.eyebrow--green { color: var(--green); }
.eyebrow--on-dark { color: #EDEADF; }
.eyebrow--on-dark-mute { color: #8FA495; }

.h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 7.4vw, 76px);
  line-height: .98;
  letter-spacing: -.026em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.8vw, 56px);
  line-height: 1.03;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(34px, 6vw, 72px); line-height: .99; }
.h2--sm { font-size: clamp(29px, 3.8vw, 44px); line-height: 1.05; }
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.serif-md { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.serif-sm { font-family: var(--serif); font-size: 22px; line-height: 1.2; }

.lede {
  font-size: clamp(16.5px, 1.9vw, 19px);
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}
.prose { font-size: 15px; line-height: 1.58; color: var(--body-soft); }
.prose--lg { font-size: clamp(16px, 1.8vw, 17.5px); line-height: 1.64; color: var(--body); }

.on-dark-heading { color: var(--on-dark); }
.on-dark-body    { color: var(--on-dark-soft); }

em { font-style: italic; }
.accent-em { font-style: italic; color: var(--green); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--green-deep); color: var(--on-dark); }
.btn--primary:hover { background: var(--green); color: var(--on-dark); }

.btn--amber { background: var(--amber); color: var(--amber-ink); }
.btn--amber:hover { background: var(--amber-lift); color: var(--amber-ink); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--ghost-dark { background: transparent; color: var(--on-dark); border-color: rgba(247, 244, 236, .32); }
.btn--ghost-dark:hover { border-color: var(--on-dark); color: var(--on-dark); }

.btn--outline-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline-ink:hover { background: var(--ink); color: var(--on-dark); }

.btn--sm { min-height: 44px; padding: 12px 22px; font-size: 14.5px; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   Announcement bar
   ============================================================ */
.announce {
  background: var(--amber);
  color: var(--amber-ink);
  font-family: var(--code);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  text-align: center;
  flex-wrap: wrap;
}
.announce__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-deep);
  animation: pulseDot 1.8s ease-in-out infinite;
  flex: 0 0 auto;
}
.announce__link {
  color: var(--amber-ink);
  border-bottom: 1px solid rgba(27, 20, 5, .45);
}
.announce__link:hover { color: var(--amber-ink); }
.announce__short { display: none; }

@media (max-width: 880px) {
  .announce__long, .announce__link { display: none; }
  .announce__short { display: inline; }
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 244, 236, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
.header__logo { flex: 0 0 auto; display: flex; align-items: center; }
.header__logo img { height: 38px; width: auto; }

.nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 22px);
  font-size: 14px;
  font-weight: 500;
}
.nav a { color: var(--ink-soft); white-space: nowrap; }
.nav a:hover { color: var(--green); }

.header__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Language switcher ------------------------------------------------ */
.lang { position: relative; }
.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 8px 12px;
  cursor: pointer;
  color: var(--ink);
}
.lang__toggle:hover { border-color: var(--ink); }
.lang__code {
  font-family: var(--code);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lang__caret { font-size: 9px; color: var(--mono); line-height: 1; }

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 172px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  z-index: 70;
  display: none;
  box-shadow: 0 12px 28px rgba(22, 36, 28, .12);
}
.lang__menu[data-open='true'] { display: grid; }
.lang__item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--body-soft);
  cursor: pointer;
}
.lang__item:last-child { border-bottom: none; }
.lang__item:hover { background: var(--panel); color: var(--ink); }
.lang__item[aria-current='true'] {
  background: var(--panel);
  font-weight: 600;
  color: var(--ink);
}

/* Flag chips ------------------------------------------------------- */
.flag {
  display: inline-block;
  width: 22px;
  height: 15px;
  border-radius: 1px;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
  background: #012169;
}
.flag span { position: absolute; }

/* Union flag */
.flag--en .f-diag-w {
  inset: 0;
  background:
    linear-gradient(to bottom right, transparent calc(50% - 1.4px), #FFF calc(50% - 1.4px), #FFF calc(50% + 1.4px), transparent calc(50% + 1.4px)),
    linear-gradient(to bottom left,  transparent calc(50% - 1.4px), #FFF calc(50% - 1.4px), #FFF calc(50% + 1.4px), transparent calc(50% + 1.4px));
}
.flag--en .f-diag-r {
  inset: 0;
  background:
    linear-gradient(to bottom right, transparent calc(50% - .7px), #C8102E calc(50% - .7px), #C8102E calc(50% + .7px), transparent calc(50% + .7px)),
    linear-gradient(to bottom left,  transparent calc(50% - .7px), #C8102E calc(50% - .7px), #C8102E calc(50% + .7px), transparent calc(50% + .7px));
}
.flag--en .f-h-w { left: 0; right: 0; top: 5px;  height: 5px; background: #FFF; }
.flag--en .f-v-w { top: 0; bottom: 0; left: 8.5px; width: 5px; background: #FFF; }
.flag--en .f-h-r { left: 0; right: 0; top: 6px;  height: 3px; background: #C8102E; }
.flag--en .f-v-r { top: 0; bottom: 0; left: 9.5px; width: 3px; background: #C8102E; }

/* Spain */
.flag--es { background: #AA151B; }
.flag--es .f-band { left: 0; right: 0; top: 3.75px; height: 7.5px; background: #F1BF00; }

/* France */
.flag--fr { background: #FFF; }
.flag--fr .f-blue { left: 0; top: 0; bottom: 0; width: 7.33px; background: #002395; }
.flag--fr .f-red  { right: 0; top: 0; bottom: 0; width: 7.33px; background: #ED2939; }

/* Mobile menu ------------------------------------------------------ */
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.burger:hover { border-color: var(--ink); }
.burger__bars { display: grid; gap: 4px; width: 18px; }
.burger__bars span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}
.burger[aria-expanded='true'] .burger__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__bars span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav[data-open='true'] { display: block; }
.mobile-nav ul { display: grid; }
.mobile-nav a {
  display: block;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav li:last-child a { border-bottom: none; }
.mobile-nav .btn { margin-block: 18px 20px; }

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}

/* Narrow phones: the logo + language chip + burger stop fitting side by
   side, so shed the language caret and label and shrink the logo. */
@media (max-width: 390px) {
  .header__inner { gap: 10px; }
  .header__logo img { height: 26px; }
  .lang__toggle { gap: 0; padding: 8px 10px; }
  .lang__code, .lang__caret { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-block: clamp(40px, 6vw, 76px) 0; }
.hero__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
  align-items: flex-start;
}
.hero__copy  { flex: 1.15 1 420px; min-width: 0; }
.hero__media { flex: .85 1 340px; min-width: 0; }

.hero__title { margin-top: 20px; color: var(--ink); }
.hero__lede  { margin-top: 24px; max-width: 56ch; }
.hero__lede strong { font-weight: 600; color: var(--ink); }

.hero__ctas { margin-top: 30px; }
.hero__reassure {
  font-family: var(--code);
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--mono);
  margin-top: 16px;
  line-height: 1.9;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero__eyebrow-short { display: none; }

.frame {
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--4x5  { aspect-ratio: 4/5; }
.frame--3x4  { aspect-ratio: 3/4; }
.frame--1x1  { aspect-ratio: 1/1; }

.hero__card {
  background: var(--green-deep);
  color: #EDEADF;
  padding: 22px 24px;
  margin-top: -1px;
}
.hero__card-label {
  font-family: var(--code);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #E0A264;
}
.hero__card-title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  margin-top: 10px;
  color: var(--on-dark);
}
.hero__card-note {
  font-size: 14.5px;
  line-height: 1.55;
  color: #B9C7BC;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .header__logo img { height: 32px; }
  .hero__eyebrow-long  { display: none; }
  .hero__eyebrow-short { display: inline; }
  .hero__ctas { display: grid; gap: 10px; }
  .hero__ctas > .btn { width: 100%; }
}

/* ============================================================
   Stat strip
   ============================================================ */
.stats {
  margin-top: clamp(44px, 6vw, 68px);
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 168px), 1fr));
  gap: 1px;
  background: var(--line);
}
.stat { background: var(--bg); padding: 24px 20px; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1;
  color: var(--ink);
}
.stat__num--sm { font-size: clamp(20px, 2.2vw, 25px); line-height: 1.15; }
.stat__label {
  font-family: var(--code);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mono);
  margin-top: 9px;
  line-height: 1.5;
}

/* ============================================================
   Section headers
   ============================================================ */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.sec-head__title { flex: 1 1 420px; min-width: 0; max-width: 20ch; }
.sec-head__note  { flex: 0 1 320px; min-width: 0; font-size: 16px; line-height: 1.6; color: var(--body); }

/* ============================================================
   Case-study rail
   ============================================================ */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: clamp(32px, 5vw, 52px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}
.rail__hint {
  font-family: var(--code);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mono);
  margin-top: 12px;
  display: none;
}

.case {
  min-width: 0;
  scroll-snap-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.case__media { border-bottom: 1px solid var(--line); }
.case__body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.case__metric {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
}
.case__metric-label {
  font-family: var(--code);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mono);
  margin-top: 8px;
  line-height: 1.5;
}
.case__note { font-size: 14.5px; line-height: 1.5; color: var(--body); }
.case__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.case__place {
  font-family: var(--code);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mono);
}
.case__btn {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
.case__btn:hover { border-color: var(--ink); background: #F2EEE3; }

.center-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(32px, 5vw, 52px);
}

@media (max-width: 1080px) {
  .rail { grid-auto-columns: min(80%, 300px); }
  .rail__hint { display: block; }
}

/* ============================================================
   Modals
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(22, 36, 28, .68);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 3vw, 40px);
}
.modal[data-open='true'] { display: flex; }
.modal__panel {
  background: var(--bg);
  width: 100%;
  max-width: 680px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
}
.modal__head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 16px 14px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.modal__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
}
.modal__close:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.modal__close-x { font-size: 15px; line-height: 1; }

.modal__body { flex: 1 1 auto; overflow-y: auto; padding: 24px; }
.modal__quote {
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.4;
  color: var(--ink-soft);
  margin-top: 16px;
  font-style: italic;
  text-wrap: pretty;
}
.modal__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-top: 20px;
  padding-block: 16px;
  border-block: 1px solid var(--line);
}
.fact__label {
  font-family: var(--code);
  font-size: 9.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--mono);
}
.fact__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 5px;
  line-height: 1.3;
}
.modal__result { margin-top: 18px; }
.modal__result p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body);
  margin-top: 8px;
}
.modal__foot {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.modal__foot .btn:first-child { flex: 1 1 200px; }

/* ============================================================
   Opportunity (dark)
   ============================================================ */
.opp__head {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 64px);
  align-items: flex-end;
}
.opp__title { flex: 1.15 1 420px; min-width: 0; }
.opp__copy  { flex: 1 1 340px; min-width: 0; }
.opp__copy p + p { margin-top: 14px; }

.opp__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 1px;
  background: rgba(247, 244, 236, .22);
  border: 1px solid rgba(247, 244, 236, .22);
  margin-top: clamp(40px, 5vw, 60px);
}
.opp__cell {
  position: relative;
  overflow: hidden;
  background: linear-gradient(158deg, rgba(247,244,236,.10) 0%, rgba(247,244,236,.02) 58%, rgba(200,133,63,.07) 100%);
  padding: 30px 24px 26px;
}
.opp__cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 56px; height: 3px;
  background: var(--amber);
}
.opp__figure {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--serif);
}
.opp__num {
  font-size: clamp(36px, 5vw, 54px);
  line-height: .92;
  color: var(--on-dark);
  letter-spacing: -.02em;
}
.opp__unit { font-size: 24px; line-height: 1; color: var(--amber); }
.opp__label {
  font-family: var(--code);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #EDEADF;
  margin-top: 16px;
}
.opp__sub { font-size: 13.5px; line-height: 1.5; color: var(--on-dark-mute); margin-top: 6px; }

/* ============================================================
   Why us
   ============================================================ */
.why__intro { max-width: 64ch; margin-top: 22px; }

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: clamp(36px, 5vw, 60px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.gallery .frame { scroll-snap-align: center; }

@media (max-width: 760px) {
  .gallery { grid-auto-columns: 78%; }
  .gallery + .rail__hint { display: block; }
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(36px, 5vw, 60px);
}
.pillar { background: var(--bg); padding: 28px 24px; }
.pillar__num { font-family: var(--code); font-size: 11px; color: var(--mono-light); }
.pillar__title { margin-top: 12px; color: var(--ink); }
.pillar p { margin-top: 10px; }

/* ============================================================
   Variety
   ============================================================ */
.variety {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 56px);
  align-items: flex-start;
}
.variety__media { flex: 1 1 300px; min-width: 0; }
.variety__copy  { flex: 1.9 1 460px; min-width: 0; }
.variety__lede  { margin-top: 24px; max-width: 60ch; }

.spec-list {
  margin-top: 34px;
  display: grid;
  gap: 14px;
  max-width: 56ch;
}
.spec-list li { display: flex; align-items: flex-start; gap: 12px; }
.spec-list li::before {
  content: '';
  flex: 0 0 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 9px;
}
.spec-list span { font-size: 16.5px; line-height: 1.5; color: var(--body); }
.spec-list strong { font-weight: 600; color: var(--ink); }

/* ============================================================
   Tables (certifications + comparison)
   ============================================================ */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 56px);
  align-items: flex-start;
}
.split__media { flex: 1 1 280px; min-width: 0; }
.split__copy  { flex: 2 1 480px; min-width: 0; }

.table-wrap {
  margin-top: 32px;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th {
  text-align: left;
  padding: 16px 20px;
  font-family: var(--code);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  background: var(--green-deep);
  color: var(--on-dark-mute);
}
.table th.is-key { color: var(--on-dark); }
.table th.is-amber { color: #E3B77E; }
.table td {
  padding: 18px 20px;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body-soft);
}
.table tbody tr + tr td { border-top: 1px solid var(--line); }
.table .cell-label { font-weight: 600; color: var(--ink); background: rgba(46, 107, 61, .06); }
.table .cell-key   { color: var(--ink); background: rgba(46, 107, 61, .06); }
.table strong { color: var(--ink); font-weight: 600; }
.table code {
  font-family: var(--code);
  font-size: 13.5px;
  color: var(--ink);
}

.compare .table-wrap { background: var(--bg); }
.compare .table td { font-size: 14.5px; color: var(--body); }
.compare__intro { margin-top: 18px; max-width: 62ch; font-size: 16.5px; line-height: 1.6; color: var(--body); }
.compare__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}
.compare__source {
  font-family: var(--code);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--mono);
}

/* Stacked-card table on small screens ------------------------------ */
@media (max-width: 860px) {
  .table-wrap { border: none; background: none; overflow: visible; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr {
    border: 1px solid var(--line-strong);
    background: var(--card);
    margin-bottom: 12px;
  }
  .compare .table tr { background: var(--bg); }
  .table tbody tr + tr td { border-top: none; }
  .table td {
    padding: 14px 18px;
    border-top: 1px solid var(--line);
  }
  .table td:first-child { border-top: none; }
  .table td[data-th]::before {
    content: attr(data-th);
    display: block;
    font-family: var(--code);
    font-size: 9.5px;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--mono);
    margin-bottom: 6px;
  }
  .table .cell-label {
    background: var(--green-deep);
    color: var(--on-dark);
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 400;
  }
  .table .cell-label::before { color: var(--on-dark-mute); }
  .table .cell-key { background: rgba(46, 107, 61, .07); }
}

@media (max-width: 760px) {
  .cert__media { display: none; }
}

/* ============================================================
   WhatsApp band
   ============================================================ */
.wa {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
  align-items: flex-start;
}
.wa__copy { flex: 1.1 1 380px; min-width: 0; }
.wa__list { flex: 1 1 320px; min-width: 0; }
.wa__note {
  font-family: var(--code);
  font-size: 10.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8FA495;
  margin-top: 14px;
}
.wa__list-head {
  font-family: var(--code);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8FA495;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(247, 244, 236, .2);
}
.wa__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  color: #EDEADF;
  padding: 13px 0;
  border-bottom: 1px solid rgba(247, 244, 236, .12);
}
.wa__list li:last-child { border-bottom: none; }
.wa__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(63, 143, 82, .22);
  color: #8FD3A2;
  font-size: 11px;
  line-height: 1;
  margin-top: 2px;
}

/* ============================================================
   Delivery timeline
   ============================================================ */
.delivery__head {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
  align-items: flex-end;
}
.delivery__head h2 { flex: 1.1 1 400px; min-width: 0; font-size: clamp(30px, 5.4vw, 64px); line-height: 1; }
.delivery__head p  { flex: 1 1 320px; min-width: 0; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: clamp(36px, 5vw, 56px);
  font-family: var(--code);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; }

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 44px;
  margin-top: 22px;
}
.timeline__step {
  position: relative;
  min-width: 0;
  border-top: 2px solid;
  padding: 30px 26px 0 0;
}
.timeline__dot {
  position: absolute;
  top: -8px; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--card-warm);
}
.timeline__stage {
  font-family: var(--code);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.timeline__title { margin-top: 12px; color: var(--ink); }
.timeline__step p { font-size: 14.5px; line-height: 1.58; color: var(--body-soft); margin-top: 10px; }

.timeline__step:nth-child(1) { border-top-color: #C8853F; }
.timeline__step:nth-child(2) { border-top-color: #B98545; }
.timeline__step:nth-child(3) { border-top-color: #9E874B; }
.timeline__step:nth-child(4) { border-top-color: #7E8950; }
.timeline__step:nth-child(5) { border-top-color: #5C8B54; }
.timeline__step:nth-child(6) { border-top-color: #3F8F52; padding-right: 0; }

.timeline__step:nth-child(1) .timeline__dot { background: #C8853F; }
.timeline__step:nth-child(2) .timeline__dot { background: #B98545; }
.timeline__step:nth-child(3) .timeline__dot { background: #9E874B; }
.timeline__step:nth-child(4) .timeline__dot { background: #7E8950; }
.timeline__step:nth-child(5) .timeline__dot { background: #5C8B54; }
.timeline__step:nth-child(6) .timeline__dot { background: #3F8F52; }

.timeline__step:nth-child(1) .timeline__stage { color: #9A5C1E; }
.timeline__step:nth-child(2) .timeline__stage { color: #8A6021; }
.timeline__step:nth-child(3) .timeline__stage { color: #746427; }
.timeline__step:nth-child(4) .timeline__stage { color: #59682E; }
.timeline__step:nth-child(5) .timeline__stage { color: #3E6C38; }
.timeline__step:nth-child(6) .timeline__stage { color: #256E3E; }

.delivery__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.delivery__foot p { flex: 1 1 300px; min-width: 0; font-size: 16px; line-height: 1.6; color: var(--body); }

@media (max-width: 1180px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline__step:nth-child(3) { padding-right: 0; }
}
@media (max-width: 760px) {
  .timeline { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .timeline__step {
    border-top: none;
    border-left: 2px solid;
    padding: 0 0 34px 30px;
  }
  .timeline__step:nth-child(1) { border-left-color: #C8853F; }
  .timeline__step:nth-child(2) { border-left-color: #B98545; }
  .timeline__step:nth-child(3) { border-left-color: #9E874B; }
  .timeline__step:nth-child(4) { border-left-color: #7E8950; }
  .timeline__step:nth-child(5) { border-left-color: #5C8B54; }
  .timeline__step:nth-child(6) { border-left-color: #3F8F52; padding-bottom: 0; }
  .timeline__dot { top: 1px; left: -8px; }
}

/* ============================================================
   Lead magnets
   ============================================================ */
.dossier__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.dossier__head h2 { max-width: 14ch; }
.dossier__head p  { max-width: 44ch; font-size: 16px; line-height: 1.6; color: var(--body); }

.magnets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  margin-top: clamp(32px, 5vw, 48px);
}
.magnet {
  background: var(--bg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.magnet__title {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.18;
  color: var(--ink);
  margin-top: 12px;
}
.magnet p { font-size: 14.5px; line-height: 1.58; color: var(--body-soft); margin-top: 10px; }
.magnet .btn { background: var(--bg); }
.magnet .btn:hover { background: var(--panel); }

/* ============================================================
   Partners
   ============================================================ */
.partners {
  border-bottom: 1px solid var(--line);
}
.partners__inner {
  padding-block: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.partners__logos {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 44px);
  flex-wrap: wrap;
}
.partners__logo {
  width: 118px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line-strong);
  font-family: var(--code);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mono);
}
.partners__logo img { max-height: 40px; width: auto; object-fit: contain; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 56px);
  align-items: flex-start;
}
.faq__aside { flex: 1 1 260px; min-width: 0; }
.faq__aside a { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; margin-top: 20px; }
.faq__list { flex: 2.2 1 480px; min-width: 0; border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}
.faq__q:hover { color: var(--green); }
.faq__sign {
  flex: 0 0 26px;
  width: 26px; height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: var(--body-soft);
  margin-top: 2px;
}
.faq__sign::before { content: '+'; }
.faq__q[aria-expanded='true'] .faq__sign::before { content: '\2212'; }

.faq__a { display: none; }
.faq__a[data-open='true'] { display: block; }
.faq__a p {
  font-size: 16px;
  line-height: 1.62;
  color: var(--body-soft);
  margin: 0 0 24px;
  max-width: 62ch;
  padding-right: 46px;
}

@media (max-width: 560px) {
  .faq__a p { padding-right: 0; }
}

/* ============================================================
   Request form
   ============================================================ */
.request { scroll-margin-top: 90px; }
.request__inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 72px);
  align-items: flex-start;
}
.request__copy { flex: 1 1 340px; min-width: 0; }
.request__copy p { margin-top: 22px; max-width: 50ch; }
.request__contact {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(247, 244, 236, .2);
  font-family: var(--code);
  font-size: 11.5px;
  letter-spacing: .05em;
  line-height: 2;
  color: var(--on-dark-mute);
}
.request__contact a { color: var(--on-dark-mute); }
.request__contact a:hover { color: var(--on-dark); }

.request__panel {
  flex: 1.2 1 380px;
  min-width: 0;
  background: var(--bg);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(247, 244, 236, .2);
}

.form { display: grid; gap: 18px; }
.form__meta {
  font-family: var(--code);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mono);
}
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 14px;
}
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.field input,
.field select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: var(--card-warm);
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 16px; /* 16px prevents iOS zoom-on-focus */
  color: var(--ink);
  border-radius: var(--radius);
  outline: none;
}
.field input:focus,
.field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(46, 107, 61, .14); }
.field input[aria-invalid='true'] { border-color: #B3261E; }

.form__legal {
  font-family: var(--code);
  font-size: 10px;
  letter-spacing: .05em;
  color: var(--mono);
  line-height: 1.7;
}
.form__error {
  display: none;
  background: rgba(179, 38, 30, .08);
  border: 1px solid rgba(179, 38, 30, .35);
  color: #8C1D18;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: var(--radius);
}
.form__error[data-show='true'] { display: block; }

/* Honeypot — hidden from humans, visible to naive bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Turnstile renders its own iframe here. In interaction-only mode it is
   usually zero-height, so this collapses cleanly when nothing is shown. */
.turnstile:not(:empty) { margin-top: 4px; }

.form-done {
  display: none;
  gap: 12px;
  padding: 40px 0;
  text-align: center;
}
.form-done[data-show='true'] { display: grid; }
.form-done__title { font-family: var(--serif); font-size: 32px; line-height: 1.15; color: var(--ink); }
.form-done p { font-size: 16px; line-height: 1.6; color: var(--body-soft); }

button[disabled] { opacity: .6; cursor: progress; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--on-dark-mute);
}
.footer__inner {
  padding-block: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--code);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer__brand { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.footer__name {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -.02em;
  color: var(--on-dark);
  text-transform: none;
}
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { color: var(--on-dark-mute); }
.footer a:hover { color: var(--on-dark); }

/* ============================================================
   Sticky bottom CTA
   ============================================================ */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: rgba(22, 36, 28, .97);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(247, 244, 236, .18);
}
.dock__inner {
  padding: 12px var(--gutter);
  max-width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.dock__label {
  flex: 1 1 140px;
  min-width: 0;
  font-family: var(--code);
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dock__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 420px) {
  .dock__label { display: none; }
  .dock__ctas { flex: 1 1 auto; }
  .dock__ctas .btn { flex: 1 1 0; padding-inline: 12px; }
}
