
.nav.nav-dark:not(.solid):not(.abierto) .brand,
.nav.nav-dark:not(.solid):not(.abierto) .nav-links,
.nav.nav-dark:not(.solid):not(.abierto) .menu-btn,
.nav.nav-dark:not(.solid):not(.abierto) .nav-links .solo {
  color: #F3F0E8;
}
.nav.nav-dark:not(.solid):not(.abierto) .marca-txt small { color: rgba(243, 240, 232, .62); }
.nav.nav-dark:not(.solid):not(.abierto) .burger span { background: #F3F0E8; }
.nav.nav-dark:not(.solid):not(.abierto) .menu-btn:hover,
.nav.nav-dark:not(.solid):not(.abierto) .nav-links .solo:hover { color: #FFF; background: rgba(255, 255, 255, .12); }
.nav.nav-dark .pill.lf-nav-cta { background: transparent; color: #F3F0E8; box-shadow: inset 0 0 0 1px rgba(243, 240, 232, .55); }
.nav.nav-dark.solid .pill.lf-nav-cta { background: var(--accent); color: var(--bg); box-shadow: none; }

.lf-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 66px;
  overflow: hidden;
  isolation: isolate;
  color: #F3F0E8;
}
.lf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/img/lifeforms-lab.38724ef6.jpeg") center bottom / cover no-repeat;
}
.lf-development-hero { min-height: 68svh; }
.lf-development-hero::before { background: url("/img/development.jpeg") center 80% / cover no-repeat; }
.lf-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 10, 8, .9) 0%, rgba(7, 10, 8, .62) 48%, rgba(7, 10, 8, .22) 100%),
    linear-gradient(0deg, rgba(7, 10, 8, .82) 0%, rgba(7, 10, 8, .08) 55%, rgba(7, 10, 8, .28) 100%);
}
.lf-development-hero::after {
  background:
    linear-gradient(90deg, rgba(7, 10, 8, .40), transparent 75%),
    linear-gradient(0deg, rgba(7, 10, 8, .88), rgba(7, 10, 8, .08) 78%);
}
.lf-hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
}
.lf-hero-copy { grid-column: 1 / 9; }
.lf-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 6.4vw, 96px);
  line-height: .95;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.lf-hero h1 em { font-style: italic; color: #C7D7B6; }
.lf-lead {
  margin-top: 24px;
  max-width: 58ch;
  font-size: clamp(15.5px, 1.25vw, 18.5px);
  line-height: 1.65;
  color: rgba(243, 240, 232, .84);
}
.lf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.lf-hero .pill {
  padding: 14px 22px;
  font-size: 13.5px;
  background: #E9E4D8;
  color: var(--ink);
}
.lf-hero .pill:hover { background: #FFF; }
.lf-hero .pill.ghost { background: transparent; color: #F3F0E8; box-shadow: inset 0 0 0 1px rgba(243, 240, 232, .55); }
.lf-hero .pill.ghost:hover { background: rgba(243, 240, 232, .12); }

.lf-section { padding: clamp(74px, 9vw, 132px) 0; border-bottom: 1px solid var(--border); }
.lf-section.alt { background: var(--surface); }
.lf-sec-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 58px);
}
.lf-sec-head h2 {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4.7vw, 68px);
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.lf-sec-head h2 em { font-style: italic; color: var(--accent); }
.lf-sec-head.center h2 { text-align: center; }
.lf-copy { max-width: 70ch; font-size: 16px; line-height: 1.78; color: var(--text-2); }
.lf-copy p + p { margin-top: 1em; }
.lf-copy strong { color: var(--text); font-weight: 500; }
.lf-copy a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.lf-copy a:hover { border-color: var(--accent); }
.lf-note { margin-top: 22px; font-size: 12.5px; line-height: 1.65; color: var(--text-2); }
.lf-wide { max-width: 980px; }

.lf-copy ol { margin: 1em 0 0; padding-left: 1.25em; }
.lf-copy li + li { margin-top: 8px; }

.lf-section.bg-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #EDEBE5;
}
.lf-section.bg-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.lf-section.bg-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(9, 12, 10, .85) 0%, rgba(9, 12, 10, .94) 100%);
}
.lf-section.bg-genfold::before { background-image: url("/img/lifeforms-genfold.png"); }
.lf-section.bg-alx::before { background-image: url("/img/lifeforms-alx.png"); }
.lf-section.bg-psychometry::before { background-image: url("/img/panel-psychometry.jpg"); }
.lf-section.bg-media .lf-sec-head h2 { color: #F3F0E8; }
.lf-section.bg-media .lf-copy { color: rgba(237, 235, 229, .82); }
.lf-section.bg-media .lf-copy a { color: #C7D7B6; border-color: rgba(199, 215, 182, .5); }
.lf-section.bg-media .lf-copy a:hover { border-color: #C7D7B6; }
.lf-section.bg-media .lf-copy strong { color: #F3F0E8; }

.lf-section.bg-genfold { border-bottom: 0; }

.lf-section.bg-media .lf-features { border-color: rgba(243, 240, 232, .16); background: rgba(243, 240, 232, .16); }
.lf-section.bg-media .lf-feature { background: rgba(14, 17, 15, .6); }
.lf-section.bg-media .lf-feature b { color: #F3F0E8; }
.lf-section.bg-media .lf-feature span { color: rgba(237, 235, 229, .72); }

.lf-section.bg-media .lf-actions { margin-top: 30px; }
.lf-section.bg-media .pill { background: #EDEBE5; color: var(--ink); }
.lf-section.bg-media .pill:hover { background: #FFF; }

.lf-pipeline {
  display: flex;
  margin: 38px 0 0;
  border: 1px solid var(--border);
  background: var(--white);
}
.lf-step { flex: 1; min-width: 0; padding: 22px; border-right: 1px solid var(--border); }
.lf-step:last-child { border-right: 0; }
.lf-step small {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 8px;
}
.lf-step strong { display: block; font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.1; color: var(--text); }
.lf-step span { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--text-2); }

.lf-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 38px;
  border: 1px solid var(--border);
  background: var(--border);
}
.lf-feature { padding: 22px 24px; background: var(--bg); }
.lf-feature b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 400; color: var(--text); }
.lf-feature span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--text-2); }

.lf-figure {
  margin-top: 38px;
  padding: 10px;
  border: 1px solid var(--border);
  background: var(--white);
}
.lf-figure img { display: block; width: 100%; height: auto; }
.lf-figure figcaption { padding: 10px 4px 2px; font-size: 12px; line-height: 1.55; color: var(--text-2); }

.lf-gallery {
  position: relative;
  margin-top: 38px;
  border: 1px solid var(--border);
  background: #1B1A17;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.lf-gallery > figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s var(--ease);
}
.lf-gallery > figure.on { opacity: 1; pointer-events: auto; }
.lf-gallery-workspaces { background: #FBFAF8; }
.lf-gallery > figure.lf-figura { background: #FBFAF8; }
.lf-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.lf-gallery-workspaces img,
.lf-gallery > figure.lf-figura img { object-fit: contain; }
.lf-gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 46px 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: linear-gradient(transparent, rgba(20, 20, 18, .88));
}
.lf-gallery > figure.lf-figura figcaption { background: linear-gradient(transparent, rgba(251, 250, 248, .94)); }
.lf-gallery figcaption b { font-family: var(--serif); font-weight: 400; font-size: 21px; color: #EDEBE5; }
.lf-gallery figcaption span { font-family: var(--rotulo); font-weight: 500; font-size: 11px; letter-spacing: .06em; color: #c9b28c; }
.lf-gallery > figure.lf-figura figcaption b { color: var(--text); }
.lf-gallery > figure.lf-figura figcaption span { color: var(--text-2); }
.lf-gallery-puntos {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  display: flex;
  justify-content: center;
  gap: 0;
}
.lf-gallery-punto {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.lf-gallery-punto::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1px solid #EDEBE5;
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(20, 20, 18, .9);
}
.lf-gallery-punto.on::before { background: #EDEBE5; }
.lf-gallery-punto:focus-visible { outline: 2px solid #EDEBE5; outline-offset: -4px; }

.lf-workflow { margin-top: clamp(38px, 5vw, 62px); }
.lf-workflow > h3 { font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); font-weight: 400; line-height: 1.1; }
.lf-workflow .lf-steps { margin-top: 16px; }

.lf-steps { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--border); }
.lf-step-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.lf-step-row :is(h3, h4) { font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.1; }
.lf-step-row p { font-size: 14px; line-height: 1.65; color: var(--text-2); }

.lf-download { background: var(--ink); color: #EDEBE5; padding: clamp(74px, 9vw, 126px) 0; }
.lf-download h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.025em;
}
.lf-download h2 em { font-style: italic; color: #B9CBA5; }
.lf-download p { max-width: 68ch; margin-top: 18px; font-size: 15px; line-height: 1.7; color: rgba(237, 235, 229, .72); }
.lf-download .lf-actions { margin-top: 30px; }
.lf-download .pill { background: #EDEBE5; color: var(--ink); }
.lf-download .pill:hover { background: #FFF; }
.lf-download .pill.ghost { background: transparent; color: #EDEBE5; box-shadow: inset 0 0 0 1px #6A675F; }
.lf-download .pill.ghost:hover { background: rgba(255, 255, 255, .08); }
.lf-soon { cursor: default; }
.lf-soon:hover { background: #EDEBE5 !important; }

@media (max-width: 960px) {
  .lf-hero { padding-top: 116px; }
  .lf-hero-copy { grid-column: 1 / -1; }
  .lf-pipeline { flex-direction: column; }
  .lf-step { border-right: 0; border-bottom: 1px solid var(--border); }
  .lf-step:last-child { border-bottom: 0; }
  .lf-features { grid-template-columns: 1fr; }
  .lf-step-row { grid-template-columns: 1fr; }
  .lf-gallery { aspect-ratio: 3 / 2; }
  .lf-gallery figcaption { padding: 34px 14px 36px; }
}

@media (max-width: 640px) {
  .lf-hero { min-height: auto; padding-bottom: 48px; }
  .lf-hero::before { background-position: right bottom; }
  .lf-development-hero::before { background-position: center 78%; }
  .lf-hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .lf-actions .pill { width: 100%; justify-content: center; }
}

.modal {
  width: min(92vw, 460px);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px 34px 30px;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .6);
}
.modal::backdrop { background: rgba(9, 12, 10, .6); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.modal-x:hover { background: var(--border); color: var(--text); }
.modal h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; letter-spacing: -.02em; }
.modal p { margin-top: 12px; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.modal-form { display: flex; gap: 10px; margin-top: 22px; }
.modal-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  padding: 12px 16px;
  font: 15px var(--sans);
  color: var(--text);
  outline: none;
  transition: border-color .25s;
}
.modal-form input:focus { border-color: var(--accent); }
.modal-form button { flex: none; }
.modal .ok { margin-top: 18px; font-size: 14.5px; color: var(--accent); }

@media (max-width: 520px) {
  .modal { padding: 30px 22px 26px; }
  .modal-form { flex-direction: column; }
  .modal-form button { justify-content: center; }
}

@media print {
  .nav, .lf-hero, .lf-download, .foot, .modal { display: none !important; }
  .lf-section { break-inside: avoid; }
}
