/* RUMIBAL · web internacional. Paleta Ingulados; oro solo en gráficos o texto grande sobre blanco. */
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-display: swap; src: url("../fonts/alegreya-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 500; font-display: swap; src: url("../fonts/alegreya-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-display: swap; src: url("../fonts/alegreya-sans-700.woff2") format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 800; font-display: swap; src: url("../fonts/alegreya-sans-800.woff2") format("woff2"); }

:root {
  --gold: #C7A800;
  --gold-text: #7A6700;      /* oro oscurecido para texto pequeño sobre blanco (AA) */
  --teal: #28413E;
  --teal-deep: #1F3431;
  --ink: #1E2F2D;
  --muted: #4A5B59;
  --white: #FFFFFF;
  --paper: #F6F5EF;
  --line: #DCDAD0;
  --on-teal: #F3F1E8;
  --on-teal-muted: #C9D1CE;
  --wrap: 84rem;
  --gutter: clamp(1rem, 3vw, 2rem);
  --focus: var(--ink);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.top, .glance, .partner { --focus: var(--gold); }
:is(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { color: var(--teal); line-height: 1.15; margin: 0 0 .6rem; }
p { margin: 0 0 .75rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--white); padding: .5rem 1rem; z-index: 10; }

.eyebrow {
  margin: 0 0 .6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* Cabecera */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; }
.site-header img { width: clamp(132px, 14vw, 168px); height: auto; }
/* Navegación y CTA como botones: la navegación con contorno fino; el CTA de partner, relleno */
.site-header .header-cta, .main-nav a { display: inline-block; border-radius: 2px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.site-header .header-cta:hover, .main-nav a:hover { background: var(--gold); border-color: var(--gold); color: var(--teal-deep); }
.site-header .header-cta { padding: .5rem .95rem; border: 2px solid var(--teal); background: var(--teal); color: var(--white); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.main-nav a { padding: .45rem .85rem; border: 1px solid var(--line); background: var(--white); color: var(--teal); }
.main-nav a[aria-current="page"] { border-color: var(--gold); }
/* Fija arriba en pantallas medianas y grandes; las secciones dejan hueco al saltar desde el menú */
@media (min-width: 48rem) { .site-header { position: sticky; top: 0; z-index: 20; } main [id] { scroll-margin-top: 5.5rem; } }
@media (max-width: 47.99rem) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 0; padding-bottom: .4rem; }
  .main-nav { order: 3; width: 100%; margin-left: 0; }
  .main-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
  .main-nav li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .main-nav a { display: block; text-align: center; font-size: .74rem; letter-spacing: .06em; }
}

/* Héroe (texto + vídeo) y «Product at a glance» comparten el fondo teal */
.top, .glance { background: var(--teal) linear-gradient(160deg, var(--teal) 55%, var(--teal-deep)); color: var(--on-teal); }
.top { padding: clamp(1.75rem, 4vw, 2.75rem) 0; }
.top .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 2.75rem); align-items: center; }
.brand { margin: 0 0 1rem; font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 800; letter-spacing: .22em; line-height: 1; color: var(--white); }
.brand::after { content: ""; display: block; width: 2.5rem; height: 3px; background: var(--gold); margin-top: .9rem; }
.top h1 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 800; }
.top .lead { color: var(--on-teal-muted); font-size: 1.15rem; max-width: 34rem; }
.origin { margin-top: .25rem; font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.25rem; }
.btn { display: inline-block; padding: .7rem 1.25rem; border: 2px solid var(--gold); border-radius: 2px; font-weight: 700; font-size: .95rem; letter-spacing: .05em; text-decoration: none; }
button.btn { font-family: inherit; line-height: inherit; cursor: pointer; }
.btn-primary { background: var(--gold); color: var(--teal-deep); }
.btn-primary:hover { background: #D9BC1F; border-color: #D9BC1F; }

/* Tres columnas */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.cols h2, .cols h3 { font-size: 1.35rem; font-weight: 800; }
.cols p, .cols li { color: var(--muted); }
.cols blockquote { margin: 0 0 .75rem; padding-left: .9rem; border-left: 3px solid var(--gold); color: var(--teal); font-size: 1.05rem; }
.cols blockquote p { color: var(--teal); margin: 0; }
.cols cite { display: block; margin-top: .3rem; font-size: .85rem; font-style: normal; color: var(--muted); }
.terms, .mech { margin: 0; padding: 0; list-style: none; }
.terms li, .mech li { padding: .35rem 0; border-top: 1px solid var(--line); }
.terms strong, .mech strong { color: var(--teal); }
.small { font-size: .9rem; }

/* Uso responsable + partner */
.bottom { background: var(--paper); padding: clamp(1.5rem, 4vw, 2.25rem) 0; }
.bottom .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.responsible { background: var(--white); border: 2px solid var(--teal); border-left-width: 8px; padding: 1.25rem 1.5rem; }
.responsible h2, .partner h2, .transcript h2 { font-size: 1.35rem; font-weight: 800; }
.responsible p { margin: 0; font-size: 1.0625rem; }
.partner { background: var(--teal); color: var(--on-teal); padding: 1.25rem 1.5rem; }
.partner h2 { color: var(--white); }
.partner p { color: var(--on-teal-muted); }
.partner .contact { margin: .9rem 0 0; font-size: .95rem; }
.partner .contact strong, .partner .contact a { color: var(--white); }
.partner .actions { margin-top: .9rem; }

/* Pie */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 1.5rem 0; font-size: .85rem; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; margin-bottom: .6rem; }
.site-footer address { font-style: normal; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.site-footer nav a { color: var(--teal); font-weight: 700; }
.site-footer p { margin: 0 0 .35rem; }

/* Páginas legales y 404 */
.page { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.prose > * { max-width: 46rem; }
.page h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.page h2 { font-size: 1.35rem; margin-top: 2rem; }
.page .lead { font-size: 1.2rem; color: var(--muted); }
.page dl { display: grid; grid-template-columns: minmax(8rem, max-content) 1fr; gap: .4rem 1.5rem; }
.page dt { font-weight: 700; color: var(--teal); }
.page dd { margin: 0; }

/* Responsive */
@media (max-width: 60rem) {
  .top .wrap { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
  .bottom .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 30rem) {
  .page dl { grid-template-columns: 1fr; }
  .page dd { margin-bottom: .6rem; }
}

/* Gráfica conceptual de la ventana de susceptibilidad (SVG en línea) */
.chart { margin: 1rem 0 0; max-width: 34rem; }
.chart svg { width: 100%; height: auto; font-family: "Alegreya Sans", system-ui, sans-serif; }
.chart figcaption { font-size: .85rem; color: var(--muted); margin-top: .25rem; }
.c-axis { fill: none; stroke: var(--muted); stroke-width: 1.2; }
.c-level { fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 5 4; }
.c-colostrum { fill: none; stroke: var(--teal); stroke-width: 2.6; stroke-linecap: round; }
.c-active { fill: none; stroke: #4F8A6E; stroke-width: 2.6; stroke-linecap: round; }
/* Textos del SVG en unidades del viewBox (366 de ancho): 14 → ≥ 12,5 px reales con 328 px de columna (360 px de pantalla). */
.c-label { fill: var(--teal); font-size: 14px; font-weight: 700; letter-spacing: .06em; }
.c-text { fill: var(--teal); font-size: 14px; }
.c-green { fill: #3D7259; }
.c-gold { fill: var(--gold-text); }
.c-leader { fill: none; stroke: var(--gold-text); stroke-width: 1.2; }

/* Columnas con figura: texto arriba, figura abajo, alineadas entre columnas (subgrid) */
.cols { grid-template-rows: auto auto; }
.cols .col { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.cols .col-span { grid-row: span 2; }
.cols .col > .chart { align-self: end; }
.f-glass { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.f-cell { fill: rgba(255, 255, 255, .55); stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 5 4; }
.f-dna { fill: #4F7A6A; }
.f-gold { fill: var(--gold); stroke: #8A7400; stroke-width: 1; }
@media (max-width: 60rem) { .cols .col, .cols .col-span { grid-row: auto; } .cols .col { grid-template-rows: auto; } }

/* Franja de credibilidad: credenciales en texto + sellos oficiales sobre blanco */
.creds { background: var(--white); border-bottom: 1px solid var(--line); }
.creds .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1rem; padding-bottom: 1rem; }
.creds ul { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: 0; padding: 0; list-style: none; }
.creds li { display: flex; flex-direction: column; padding-left: .8rem; border-left: 3px solid var(--gold); font-size: .85rem; line-height: 1.35; color: var(--muted); }
.creds strong { color: var(--teal); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.seals { display: flex; align-items: center; gap: 1.25rem; }
.seals img { height: 5rem; width: auto; }
@media (max-width: 30rem) { .seals img { height: 3.5rem; } .seals { gap: .9rem; } }

/* Contacto: email + copiar, teléfono, WhatsApp */
.contact-links { margin: .4rem 0 0; padding: 0; list-style: none; font-size: .95rem; }
.contact-links li { padding: .15rem 0; }
.contact-links a { color: var(--white); }
.copy-email { margin-left: .4rem; padding: .3rem .7rem; min-height: 2rem; border: 2px solid var(--gold); border-radius: 2px; background: transparent; color: var(--white); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.copy-email:hover { background: rgba(199, 168, 0, .15); }
.copy-status { font-size: .85rem; color: var(--on-teal); }

/* Siguiente paso tras el CTA */
.partner .next-step { margin: .6rem 0 0; font-size: .9rem; }

/* Páginas de reproducción */
.watch { padding: clamp(1.5rem, 4vw, 2.5rem) 0 2.5rem; }
.watch .wrap { max-width: 64rem; }
.watch h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.watch video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--paper); border: 1px solid var(--line); margin: .5rem 0 1rem; }
.watch .lead { color: var(--muted); font-size: 1.15rem; max-width: 46rem; }
.watch .small { color: var(--muted); }
.chapters { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 700; }
.chapters a { color: var(--teal); }

/* Referencias bajo los mecanismos */
.refs { margin-top: 1.25rem; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .78rem; font-style: italic; line-height: 1.4; color: var(--muted); }
.refs-title { margin: 0 0 .3rem; font-style: normal; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.refs ol { margin: 0; padding-left: 1.1rem; }
.refs li { margin-bottom: .25rem; border: 0; padding: 0; break-inside: avoid; }
.refs cite { display: inline; margin: 0; font-size: inherit; font-style: normal; color: inherit; }

.mech sup { font-size: .7em; line-height: 0; margin-left: .1em; }
.mech sup a { display: inline-block; min-width: 24px; min-height: 24px; line-height: 24px; text-align: center; vertical-align: middle; color: var(--gold-text); text-decoration: none; font-weight: 700; }
.refs li:target { background: #FBF6DC; }

/* ---- Portada para distribuidores ---- */
.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; }

/* Héroe: vídeo demo (4 capítulos en bucle, sin sonido) */
.hero-video { margin: 0; }
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--paper); border: 1px solid rgba(255, 255, 255, .18); }
.hero-video figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-top: .6rem; font-size: .95rem; color: var(--on-teal-muted); }
.demo-now { font-weight: 700; color: var(--white); }
.demo-link { color: var(--white); font-weight: 700; }

/* Why distribute: tarjetas */
.why { background: var(--paper); padding: clamp(1.75rem, 4vw, 2.75rem) 0; }
.why h2, .markets h2, .science h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 800; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.cards li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .9rem; align-items: start; }
.cards svg { width: 3.5rem; height: 3.5rem; }
/* Iconos de ventajas: halo dorado discontinuo, disco claro, trazo de tinta y acento dorado */
.a-halo { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 4 3; }
.a-disc { fill: var(--white); stroke: var(--line); stroke-width: 1; }
.a-ink, .a-ink * { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.a-check { fill: none; stroke: var(--gold); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.a-slash { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.a-cell { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-dasharray: 4 3; }
.a-fill { fill: var(--ink); }
.a-dot { fill: var(--gold); }
.cards h3 { margin: .35rem 0; font-size: .9rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cards p { margin: 0; color: var(--muted); }

/* Producto de un vistazo */
.glance { padding: clamp(1.75rem, 4vw, 2.5rem) 0; }
.glance .wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 1rem 3rem; }
.glance-head { grid-column: 1 / -1; text-align: center; }
.glance-head h2 { margin-bottom: 0; font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 800; }
.glance-head .gold { color: var(--gold); }
/* Frasco: columna izquierda, centrado y alineado con la parte de arriba del cuadro de datos */
.glance-pack { margin: 0; align-self: start; justify-self: center; display: grid; place-items: start center; width: 100%; max-width: 16rem; background: radial-gradient(closest-side, rgba(243, 241, 232, .3), rgba(243, 241, 232, .08) 60%, transparent); }
.glance-pack img { width: auto; height: auto; max-height: 17rem; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); }
.glance h2 { color: var(--white); }
.glance dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: 0; align-self: start; }
.glance dl > div { padding-top: .6rem; border-top: 1px solid rgba(255, 255, 255, .22); }
.glance dt { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.glance dd { margin: .2rem 0 0; color: var(--white); }

/* Mercados: lista accesible, estado en texto + símbolo (no solo color) */
.markets { padding: clamp(1.75rem, 4vw, 2.75rem) 0; }
.markets-intro { max-width: 46rem; }
.markets-intro p:last-child { color: var(--muted); }
.market-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.market-list img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); margin-bottom: .6rem; }
.market-list h3 { margin: 0 0 .15rem; font-size: 1.15rem; font-weight: 800; }
.market-list p { margin: 0; color: var(--muted); font-size: .95rem; }
.market-list .status { margin-bottom: .2rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.market-list .taken .status::before { content: "● "; color: var(--teal); }
.market-list .open { display: flex; flex-direction: column; justify-content: center; gap: .4rem; padding: 1.25rem; background: var(--paper); border: 2px dashed var(--gold); }
.market-list .open .status { color: var(--gold-text); }
.market-list .open .status::before { content: "○ "; }
.market-list .open a { color: var(--teal); font-weight: 700; }
.market-list .open .open-claim { margin: .2rem 0; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; line-height: 1.15; color: var(--teal); }

/* Ciencia en portada: textos aprobados en 3 columnas + los otros 3 vídeos */
.science { padding: clamp(1.75rem, 4vw, 2.75rem) 0; }
.science > .wrap:first-child h2 { margin-bottom: 1.25rem; }
.science-videos { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.videos-title { margin: 0 0 .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }

/* Vídeos: un solo enlace por tarjeta (imagen + título + duración) */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.tile { display: block; color: var(--teal); text-decoration: none; }
.tile-img { position: relative; display: block; border: 1px solid var(--line); background: var(--paper); }
.tile-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
/* Botón de play solo con CSS: un data: URI lo bloquearía la CSP (img-src 'self'). */
.tile-img::after { content: ""; position: absolute; left: 50%; top: 72%; width: 2.6rem; height: 2.6rem; margin: -1.3rem 0 0 -1.3rem; border-radius: 50%; background: var(--gold); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); transition: transform .15s ease; }
.tile-img::before { content: ""; position: absolute; left: 50%; top: 72%; z-index: 1; margin: -.5rem 0 0 -.25rem; border-style: solid; border-width: .5rem 0 .5rem .8rem; border-color: transparent transparent transparent var(--teal-deep); }
.tile:hover .tile-img, .tile:focus-visible .tile-img { border-color: var(--gold); }
.tile:hover .tile-img::after, .tile:focus-visible .tile-img::after { transform: scale(1.1); }
.duration { position: absolute; right: .4rem; bottom: .4rem; padding: .05rem .4rem; background: rgba(31, 52, 49, .85); color: var(--white); font-size: .8rem; font-weight: 700; border-radius: 2px; }
.tile-title { display: block; margin-top: .4rem; font-size: .95rem; font-weight: 700; }
.tile:hover .tile-title { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .tile-img::after { transition: none; } }

@media (max-width: 60rem) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance .wrap { grid-template-columns: 1fr; }
  .glance-pack { justify-self: start; max-width: 12rem; }
  .glance-pack img { max-height: 13rem; }
  .market-list { gap: 1rem; }
}
@media (max-width: 40rem) { .market-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .video-grid { grid-template-columns: 1fr; } }
@media (max-width: 30rem) {
  .cards, .glance dl { grid-template-columns: 1fr; }
  .tile-img::after { width: 2rem; height: 2rem; margin: -1rem 0 0 -1rem; }
  .tile-img::before { margin: -.4rem 0 0 -.2rem; border-width: .4rem 0 .4rem .65rem; }
}

/* Enlaces sueltos (fuera de una frase): área táctil ≥ 24 px de alto (WCAG 2.5.8) */
.contact-links a, .page dd a, .market-list .open a, .demo-link, .site-footer a { display: inline-block; min-height: 24px; line-height: 24px; }

/* H1 de la portada: el rótulo RUMIBAL forma parte del H1 sin cambiar su aspecto */
.top h1 .brand { display: block; }

/* Enlaces a la transcripción (portada) */
.demo-transcript { color: var(--white); }
.tile-transcript { display: inline-block; margin-top: .25rem; font-size: .9rem; color: var(--teal); }

/* Transcripción en las páginas /watch/ */
.transcript { max-width: 46rem; margin: 1.75rem 0 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.transcript ul, .transcript ol { padding-left: 1.3rem; }
.transcript li { margin: .25rem 0; }

/* Formulario de contacto sobre el fondo teal de #partner (oro sobre teal: 4,7:1, AA) */
.contact-form { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(243, 241, 232, .25); }
.contact-form h3 { color: var(--white); font-size: 1.15rem; font-weight: 800; margin-bottom: .2rem; }
.partner .form-note { margin: 0 0 .9rem; font-size: .9rem; }
.contact-form .field { margin: 0 0 .9rem; }
.contact-form label { display: block; margin-bottom: .3rem; font-weight: 700; color: var(--on-teal); }
.field-hint { font-weight: 400; color: var(--on-teal-muted); font-size: .9rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea { box-sizing: border-box; width: 100%; min-height: 44px; padding: .55rem .7rem; border: 2px solid transparent; border-radius: 2px; background: var(--white); color: var(--ink); font: inherit; }
.contact-form textarea { resize: vertical; min-height: 7.5rem; }
.contact-form [aria-invalid="true"] { border-color: var(--gold); }
.field-check { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .6rem; min-height: 44px; }
.field-check label { margin: 0; font-weight: 400; }
.field-check a { color: var(--white); }
.field-check input { width: 24px; height: 24px; margin: 0; accent-color: var(--gold); }
.field-check .field-error { flex-basis: 100%; }
.contact-form .field-error { margin: .3rem 0 0; color: var(--gold); font-weight: 700; font-size: .95rem; }
.contact-form .field-error::before { content: "⚠ "; }
.contact-form .btn { min-height: 44px; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.partner .form-status { margin: .6rem 0 0; min-height: 1.5em; font-weight: 700; color: var(--white); }

/* Definición ISAPP de postbiótico (adaptación de la infografía «Postbiotics», ISAPP 2021) */
.isapp { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.isapp-card { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.isapp h4 { margin: 0 0 .6rem; color: var(--teal); font-size: 1.05rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; }
.isapp-head { background: var(--teal); color: var(--on-teal); text-align: center; padding: clamp(1.25rem, 3.5vw, 2.25rem) var(--gutter); }
.isapp-head .eyebrow { color: var(--gold); }
.isapp-head h3 { color: var(--white); font-size: clamp(2rem, 5.5vw, 3.25rem); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .5rem; }
.isapp-def { max-width: 42rem; margin: 0 auto; font-size: clamp(1.15rem, 2.3vw, 1.5rem); line-height: 1.35; }
.isapp-components { display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; gap: 1rem 1.5rem; align-items: center; background: var(--paper); padding: clamp(1.25rem, 3vw, 2rem) var(--gutter); border-bottom: 1px solid var(--line); }
.isapp-components ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.isapp-components li { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; }
.isapp-components li p { margin: 0; color: var(--ink); line-height: 1.3; }
.isapp-components svg { width: 100%; max-width: 15rem; height: auto; margin: .75rem auto; }
.isapp-components .isapp-note { margin-top: auto; font-size: .85rem; color: var(--muted); }
.isapp-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); padding: clamp(1.25rem, 3vw, 2rem) var(--gutter); }
.isapp-panels ul { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.isapp-panels ul:last-child { margin-bottom: 0; }
.isapp-panels li { position: relative; padding: .25rem 0 .25rem 1.75rem; color: var(--ink); }
.isapp-panels li::before { position: absolute; left: 0; top: .2rem; font-weight: 800; }
.isapp-yes li::before { content: "✓"; content: "✓" / ""; color: var(--teal); }
.isapp-no li::before { content: "✗"; content: "✗" / ""; color: #8A3B2E; }
.isapp-explained { align-self: start; background: #E3ECE9; border: 1px solid #C5D5D0; border-radius: 10px; padding: clamp(1rem, 2.5vw, 1.5rem); }
.isapp-explained p { color: var(--teal); }
.isapp-explained p:last-child { margin-bottom: 0; }
.isapp-card > figcaption { padding: 0 var(--gutter) clamp(1rem, 2.5vw, 1.5rem); font-size: .85rem; color: var(--muted); }
.i-cell { fill: var(--teal); }
.i-mid { fill: #4F7A6A; }
.i-gold { fill: var(--gold); }
.i-dot { fill: var(--on-teal); }
.i-core { fill: #8FB3A6; }
.i-hair { fill: none; stroke: var(--teal); stroke-width: 6; stroke-dasharray: 1.2 3; }
.i-line { fill: none; stroke: var(--teal); stroke-width: 2.6; stroke-linecap: round; }
.i-ghost { fill: none; stroke: var(--teal); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 16 7; }
.i-thin { fill: none; stroke: #4F7A6A; stroke-width: 1.6; stroke-linecap: round; }
.i-ring { fill: none; stroke: var(--teal); stroke-width: 2.2; }
@media (max-width: 60rem) {
  .isapp-components { grid-template-columns: 1fr; }
  .isapp-panels { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) { .isapp-components ol { grid-template-columns: 1fr; } .isapp-components svg { max-width: 13rem; } }

/* Bloque inferior a todo el ancho: contacto a la izquierda, formulario a la derecha */
.bottom .wrap { grid-template-columns: 1fr; }
.contact-form .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
@media (min-width: 60rem) {
  .partner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 2.5rem; align-items: start; }
  .partner .contact-form { margin-top: 0; padding-top: 0; border-top: 0; padding-left: 2.5rem; border-left: 1px solid rgba(243, 241, 232, .25); }
}
@media (max-width: 40rem) { .contact-form .field-row { grid-template-columns: 1fr; } }
