/* ===== Tokens ===== */
:root {
  --navy-950: #071230;
  --navy-900: #0a1a3d;
  --navy: #0c1f47;
  --navy-700: #16306a;
  --green: #3dae49;
  --green-600: #2e9340;
  --green-700: #237a33;
  --green-50: #edf7ee;
  --green-100: #d9efdc;
  --sky-50: #f3f7fc;
  --sky-100: #e6eef8;
  --bg: #ffffff;
  --text: #1c2740;
  --text-muted: #4a566d;
  --line: #e2e8f1;

  --max-width: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(12, 31, 71, .06), 0 6px 16px -8px rgba(12, 31, 71, .12);
  --shadow: 0 24px 48px -24px rgba(12, 31, 71, .28);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 104px;
  --slide-ms: 3500ms;
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; color: var(--navy); line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.3; }
h1 em, h2 em { font-style: italic; color: var(--green-600); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font-family: inherit; }
svg { fill: none; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; border-radius: var(--radius-sm); }

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

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tint { background: var(--sky-50); }
.section-dark {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(61, 174, 73, .16), transparent 60%),
    linear-gradient(170deg, var(--navy-950), var(--navy) 70%);
  color: #d5deee;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark h2 em { color: #6fd47a; }

.section-head { max-width: 720px; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.section-sub { color: var(--text-muted); font-size: 1.08rem; margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--green); }
.section-dark .eyebrow { color: #7fdc89; }

.lead { font-size: 1.12rem; color: var(--text); }
.section-dark .lead { color: #d5deee; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn svg { transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(46, 147, 64, .8);
}
.btn-primary:hover { background: var(--green-600); transform: translateY(-2px); }
.btn-outline { border-color: #c9d3e3; color: var(--navy); background: rgba(255, 255, 255, .7); }
.btn-outline:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
/* El desenfoque va en un pseudo-elemento: aplicado al header lo convertiría en el
   contenedor del menú mobile (position: fixed) y el panel quedaría sin alto. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(12, 31, 71, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); }
.brand-logo { display: block; height: 80px; width: auto; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; color: var(--navy); cursor: pointer; padding: .4rem; }
.icon-menu-close { display: none; }

.site-nav ul { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a {
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  color: #26324d;
  font-weight: 600;
  font-size: 1rem;
  transition: color .15s ease;
}
.site-nav a:hover, .site-nav a.active { color: var(--navy); }
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta).active::after { transform: scaleX(1); }
.site-nav .nav-cta { background: var(--navy); color: #fff; padding: .7rem 1.25rem; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--green-600); color: #fff; }
.site-nav .nav-cta.active { color: #fff; }

/* ===== Hero / banner dinámico ===== */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--sky-50) 100%); overflow: hidden; }
.hero-stage {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, calc(100vh - var(--header-h) - 84px), 700px);
}
.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 60%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .28) 14%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .28) 14%, #000 42%);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: scale(1.08);
  transition: transform 7.5s ease-out;
}
.hero-slide.is-active img { transform: scale(1); }

.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-copy { max-width: min(560px, 47vw); padding: 3.5rem 0 5.5rem; }
.kicker {
  margin: 0 0 1.4rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
}
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: .5em; }
.hero h1 em { display: block; }
.hero-sub { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: #3b4763; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-caption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 440px;
  padding: .9rem .9rem .9rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.hero-caption-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.hero-caption-text strong { color: var(--navy); font-size: .98rem; line-height: 1.25; }
.hero-caption-text span { color: var(--text-muted); font-size: .86rem; line-height: 1.4; }
.hero-caption.is-changing .hero-caption-text { opacity: 0; transform: translateY(4px); }
.hero-caption-text { transition: opacity .25s ease, transform .25s ease; }
.hero-arrows { display: flex; gap: .4rem; }
.hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.hero-arrow:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.flip { transform: scaleX(-1); }

.hero-tabs-wrap { position: relative; z-index: 3; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-tabs { display: flex; }
.hero-tab {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 1.35rem .5rem 1.25rem;
  border: none;
  background: none;
  color: #6a7690;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease;
}
.hero-tab:hover { color: var(--navy); }
.hero-tab::before, .hero-tab::after {
  content: "";
  position: absolute;
  top: -1px;
  left: .4rem;
  right: .4rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
}
.hero-tab::before { background: transparent; }
.hero-tab::after { background: var(--green); transform: scaleX(0); transform-origin: left; }
.hero-tab.is-active { color: var(--navy); font-weight: 800; }
.hero-tab.is-active::before { background: var(--green-100); }
.hero-tab.is-active::after { transform: scaleX(1); }
.hero.is-playing .hero-tab.is-active::after { animation: tab-progress var(--slide-ms) linear forwards; }
.hero.is-paused .hero-tab.is-active::after { animation-play-state: paused; }
@keyframes tab-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Entrada del hero: solo CSS, para que el título nunca dependa de que cargue el JS */
.hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ===== Producto ===== */
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro-text p:not(.eyebrow):not(.lead) { color: var(--text-muted); }
.callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.75rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  border: 1px solid var(--green-100);
}
.callout p { margin: 0; color: var(--green-700) !important; font-weight: 600; line-height: 1.5; }
.callout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--green-600);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.flow {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--sky-50);
  border: 1px solid var(--sky-100);
}
.flow li { position: relative; display: flex; gap: 1.1rem; padding-bottom: 1.75rem; }
.flow li:last-child { padding-bottom: 0; }
.flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 4px;
  width: 2px;
  background: repeating-linear-gradient(180deg, #b9c6dc 0 5px, transparent 5px 10px);
}
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #c9d3e3;
  color: var(--navy);
  font-weight: 800;
  flex-shrink: 0;
}
.flow-end .flow-num { background: var(--green); border-color: var(--green); color: #fff; }
.flow strong { display: block; color: var(--navy); font-size: 1.02rem; line-height: 1.3; margin-top: .1rem; }
.flow span:not(.flow-num) { display: block; color: var(--text-muted); font-size: .92rem; line-height: 1.45; margin-top: .2rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.stat { padding: 0 1.5rem; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: none; }
.stat-number {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy);
}
.stat:last-child .stat-number { color: var(--green-600); }
.stat-label { display: block; margin-top: .6rem; color: var(--text-muted); font-size: .92rem; font-weight: 500; line-height: 1.4; max-width: 15em; }

/* ===== Beneficios ===== */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.benefit {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-600);
  transition: background .22s ease, color .22s ease;
}
.benefit:hover .benefit-icon { background: var(--green); color: #fff; }
.benefit h3 { margin-bottom: .45rem; }
.benefit p { margin: 0; color: var(--text-muted); font-size: .92rem; line-height: 1.5; }
.benefit-cta { background: var(--navy); border-color: var(--navy); text-decoration: none; justify-content: flex-end; }
.benefit-cta h3 { color: #fff; font-size: 1.2rem; }
.benefit-cta p { color: #b9c6dc; }
.benefit-cta-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; color: #7fdc89; font-weight: 700; font-size: .95rem; }
.benefit-cta-link svg { transition: transform .18s ease; }
.benefit-cta:hover .benefit-cta-link svg { transform: translateX(4px); }

/* ===== Cómo actúa ===== */
.action-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.action-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.enzymes { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.enzymes-title { margin: 0 0 .9rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8fa0bf; }
.enzymes ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.enzymes li {
  padding: .5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
}
.mechanisms li {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.mechanisms li:first-child { border-top: none; padding-top: 0; }
.mechanisms li:last-child { padding-bottom: 0; }
.mech-num { font-size: 2rem; font-weight: 800; font-style: italic; letter-spacing: -0.04em; line-height: 1; color: #6fd47a; }
.mechanisms h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.mechanisms p { margin: 0; color: #b9c6dc; }

/* ===== Aplicaciones ===== */
.species-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.species-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}
.species-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.species-tile:hover img { transform: scale(1.06); }
.species-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 48, 0) 30%, rgba(7, 18, 48, .55) 62%, rgba(7, 18, 48, .92) 100%);
}
.species-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.25rem 1.3rem; }
.species-body h3 { color: #fff; font-size: 1.12rem; margin-bottom: .25rem; }
.species-body p { margin: 0; color: #d5deee; font-size: .88rem; line-height: 1.4; }

/* ===== Resultados ===== */
.results-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.results-photo { position: relative; padding-bottom: 5rem; }
.results-photo img { width: 88%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.results-note {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(360px, 82%);
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: #c9d5e8;
  box-shadow: var(--shadow);
}
.results-note h3 { color: #fff; }
.results-note p { margin: 0; font-size: .9rem; line-height: 1.55; }
.result-list { margin-top: 1.75rem; }
.result-list li { display: flex; gap: 1.1rem; padding: 1.15rem 0; border-top: 1px solid #d5deea; }
.result-list li:last-child { padding-bottom: 0; }
.result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--green-600);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.result-list h3 { margin-bottom: .2rem; }
.result-list p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-intro p:not(.eyebrow) { color: var(--text-muted); margin-bottom: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem 0;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--navy);
  transition: color .15s ease;
}
.faq-item summary:hover { color: var(--green-700); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev {
  box-sizing: content-box;
  padding: 7px;
  border-radius: 50%;
  background: var(--sky-50);
  color: var(--navy);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faq-item[open] .chev { transform: rotate(180deg); background: var(--green); color: #fff; }
.faq-item > p, .faq-item .plain-list { margin: 0; padding: 0 3rem 1.35rem 0; color: var(--text-muted); }
.faq-item > p + .plain-list { margin-top: -.6rem; }
.faq-item .plain-list li { position: relative; padding-left: 1.1rem; margin-bottom: .6rem; }
.faq-item .plain-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.faq-item .plain-list li:last-child { margin-bottom: 0; }
.faq-item .plain-list strong { color: var(--text); }

/* ===== Contacto ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-list { margin-top: 2rem; display: grid; gap: .25rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-list li:first-child { border-top: none; }
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #7fdc89;
  flex-shrink: 0;
}
.contact-label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8fa0bf; }
.contact-list a, .contact-list div > span:not(.contact-label) { color: #fff; font-weight: 600; text-decoration: none; line-height: 1.45; overflow-wrap: anywhere; }
.contact-list a { font-size: 1.08rem; transition: color .15s ease; }
.contact-list a:hover { color: #7fdc89; }

.contact-form { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); background: #fff; color: var(--text); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.contact-form h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .4rem; font-size: .84rem; font-weight: 700; color: var(--navy); }
.field input, .field textarea {
  width: 100%;
  padding: .8rem .95rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--sky-50);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(61, 174, 73, .16);
}
.field-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-weight: 600; min-height: 1.2em; font-size: .95rem; }
.form-status:empty { margin: 0; min-height: 0; }
.form-status.success { color: var(--green-700); }
.form-status.error { color: #c0392b; }

/* ===== WhatsApp flotante ===== */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .45);
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: translateY(-2px) scale(1.05); }

/* ===== Footer ===== */
.site-footer { background: var(--navy-950); color: #b9c6dc; padding: 3.5rem 0 2rem; }
.footer-logos { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3.25rem); flex-wrap: wrap; }
.footer-logo { display: block; text-decoration: none; }
.footer-logo-bacterium img { height: 76px; width: auto; transition: opacity .15s ease; }
.footer-logo-bacterium:hover img { opacity: .85; }
.footer-logos-sep { align-self: stretch; width: 1px; background: rgba(255, 255, 255, .18); }
.footer-logo-lab { display: flex; flex-direction: column; gap: .6rem; }
.footer-logo-lab img { height: 70px; width: auto; transition: opacity .15s ease; }
.footer-logo-lab a:hover img { opacity: .8; }
.footer-nav { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .09); }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; }
.footer-nav a { text-decoration: none; font-size: .92rem; font-weight: 500; transition: color .15s ease; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: 1.75rem;
  font-size: .84rem;
  color: #7f8fb0;
}
.footer-bottom p { margin: 0; }

/* ===== Revelado al hacer scroll ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* El banner sigue rotando solo, pero solo con fundido suave: sin zoom */
  .hero-slide { transition: opacity .5s ease; }
  .hero-slide img { transition: none; transform: none; }
  .hero-copy > * { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: #fff;
    /* Se oculta con opacidad y no corriéndolo fuera de pantalla: así no ensancha la página en mobile */
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    overflow-y: auto;
  }
  .site-nav.open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.5rem 2rem; }
  .site-nav a { display: block; padding: 1.05rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .site-nav a::after { display: none; }
  .site-nav a:not(.nav-cta).active { color: var(--green-700); }
  .site-nav .nav-cta { margin-top: 1.25rem; text-align: center; border-bottom: none; }
  .nav-toggle[aria-expanded="true"] .icon-menu-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-menu-close { display: block; }

  .hero-stage { display: block; min-height: 0; }
  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(230px, 36vh, 380px);
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  .hero-copy { max-width: 640px; padding: .5rem 0 1.75rem; }
  .hero-caption { position: static; max-width: none; margin-bottom: 1.75rem; justify-content: space-between; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
  .hero-tabs-wrap .container { padding: 0; }
  .hero-tabs { overflow-x: auto; scrollbar-width: none; padding: 0 1rem; }
  .hero-tabs::-webkit-scrollbar { display: none; }
  .hero-tab { flex: 0 0 auto; padding: 1.1rem .9rem 1rem; }
  .species-grid { grid-template-columns: repeat(2, 1fr); }

  .intro-grid, .action-grid, .results-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .action-intro, .faq-intro { position: static; }
  .results-photo img { width: 100%; aspect-ratio: 16 / 10; }
  .results-photo { padding-bottom: 0; }
  .results-note { position: relative; width: auto; margin: -2.5rem 1rem 0; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .stat:nth-child(odd) { padding-left: 0; border-left: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.15rem; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 1rem; padding: 1.15rem 1.2rem; }
  .benefit-icon { margin-bottom: 0; width: 46px; height: 46px; }
  .benefit h3 { flex: 1; margin: 0; }
  .benefit p { flex-basis: 100%; margin-top: .7rem; }
  .benefit-cta { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; padding: 1.5rem 1.3rem; }
  .benefit-cta h3 { flex: none; }
  .benefit-cta p { flex-basis: auto; margin-top: .35rem; }
  .species-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .species-body { padding: 1rem; }
  .species-body h3 { font-size: 1rem; }
  .species-body p { font-size: .82rem; }
  .mechanisms li { grid-template-columns: 3rem 1fr; gap: .75rem; }
  .mech-num { font-size: 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .faq-item > p, .faq-item .plain-list { padding-right: 0; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stat { padding: 0 1rem; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { right: 1rem; bottom: 1rem; width: 52px; height: 52px; }
}

/* Logo y header: el texto del logo gana tamaño sin apretar el menú; en anchos medios se achica y el menú se compacta */
@media (min-width: 961px) and (max-width: 1140px) {
  :root { --header-h: 90px; }
  .brand-logo { height: 60px; }
  .site-nav ul { gap: 1.1rem; }
  .site-nav a { font-size: .9rem; }
  .site-nav .nav-cta { padding: .6rem 1rem; }
}
@media (max-width: 960px) {
  :root { --header-h: 84px; }
  .brand-logo { height: 60px; }
}
@media (max-width: 640px) {
  :root { --header-h: 76px; }
  .brand-logo { height: 52px; }
  .footer-logos { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-logos-sep { display: none; }
  .footer-logo-bacterium img { height: 60px; }
  .footer-logo-lab img { height: 59px; }
}
@media (max-width: 380px) {
  .brand-logo { height: 44px; }
  .footer-logo-bacterium img { height: 52px; }
}
