/* =====================================================================
   Biogen Center · hoja de estilos pública (escrita desde cero)
   ===================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-300.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --green-900: #164c00;
  --green-700: #2f6604;
  --green-600: #3d7d05;
  --green-400: #8eb862;
  --green-100: #eef5e6;
  --ink: #2b2b2b;
  --ink-soft: #5c5c5c;
  --line: #e3e3e3;
  --grey-bg: #f5f5f3;
  --white: #fff;
  --dark: #1c1f1a;
  --danger: #b3261e;
  --ok: #2f6604;
  --radius: 6px;
  --wrap: 1180px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-weight: 300; font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
strong { font-weight: 600; }
h1, h2, h3 { line-height: 1.25; font-weight: 400; color: var(--ink); }
:focus-visible { outline: 3px solid var(--green-400); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.mt { margin-top: 2.5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--green-900); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* ---------- botones ---------- */
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: .85rem 1.6rem; border-radius: var(--radius); border: 2px solid var(--green-600); background: var(--green-600); color: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.btn--ghost { background: transparent; color: var(--green-700); }
.btn--ghost:hover { background: var(--green-600); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--green-900); }
.btn--light:hover { background: var(--green-100); border-color: var(--green-100); color: var(--green-900); }
.btn--sm { padding: .45rem .9rem; font-size: .72rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- barra superior y cabecera ---------- */
.topbar { background: var(--green-900); color: #fff; font-size: .85rem; }
.topbar__in { display: flex; align-items: center; justify-content: center; gap: 1.25rem; padding-top: .45rem; padding-bottom: .45rem; flex-wrap: wrap; text-align: center; }
.topbar a:not(.btn) { color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.logo img { width: 164px; height: auto; }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: .4rem; font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: none; border: 0; padding: 1.9rem .9rem; cursor: pointer; text-decoration: none; }
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--green-600); }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav__sub { list-style: none; margin: 0; padding: .6rem 0; position: absolute; left: 0; top: 100%; min-width: 290px; background: #fff; box-shadow: var(--shadow);
  border-top: 3px solid var(--green-600); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__sub a { display: block; padding: .45rem 1.3rem; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 400; }
.nav__sub a:hover, .nav__sub a[aria-current] { color: var(--green-600); background: var(--green-100); }
.nav__sub2 { list-style: none; margin: 0 0 .3rem; padding: 0; }
.nav__sub2 a { padding-left: 2.3rem; font-size: .85rem; color: var(--ink-soft); }
.has-sub:hover > .nav__sub, .has-sub.is-open > .nav__sub, .has-sub:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s, opacity .2s; }

/* ---------- cabecera de página ---------- */
.hero { position: relative; min-height: 300px; display: flex; align-items: center; background: var(--green-900); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 30, 0, .55), rgba(10, 30, 0, .15)); }
.hero__in { position: relative; z-index: 1; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero__title { color: #fff; font-weight: 300; font-size: clamp(1.9rem, 4vw, 3rem); margin: 0; text-transform: uppercase; letter-spacing: .04em; max-width: 22ch; }
.hero__sub { color: var(--green-400); margin: .4rem 0 0; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; font-size: .8rem; }

/* ---------- contenido ---------- */
.content { padding: 4rem 0; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; align-items: start; }
.with-aside--img { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.45rem; margin: 2.2rem 0 1rem; color: var(--green-700); }
.prose [id] { scroll-margin-top: 130px; }
.prose h3 { font-size: 1.1rem; font-weight: 600; margin: 1.4rem 0 .5rem; }
.prose p { margin: 0 0 1.1rem; }
.lead { font-size: 1.2rem; color: var(--green-700); }
.lead--big { font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5; }
.highlight { font-size: 1.15rem; font-weight: 600; color: var(--green-700); border-left: 4px solid var(--green-400); padding: .3rem 0 .3rem 1rem; }
.checks, .cols, .downloads { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.checks li, .cols li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.checks li::before, .cols li::before { content: ""; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; border-radius: 2px; background: var(--green-400); }
.checks ul { list-style: none; padding: .6rem 0 0; }
.cols { columns: 2 280px; column-gap: 2.5rem; }
.cols li { break-inside: avoid; }
.steps, .features { padding-left: 1.3rem; }
.steps li, .features li { margin-bottom: 1rem; padding-left: .4rem; }
.downloads li { margin-bottom: .6rem; }
.downloads a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 400; }
.downloads a::before { content: "PDF"; font-size: .65rem; font-weight: 600; letter-spacing: .05em; color: #fff; background: var(--green-600); border-radius: 3px; padding: .15rem .35rem; }
.figure { margin: 0; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow); }

.subnav { background: var(--grey-bg); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.2rem; position: sticky; top: 110px; }
.subnav__title { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .8rem; color: var(--green-700); }
.subnav ul { list-style: none; margin: 0; padding: 0; }
.subnav li + li { border-top: 1px solid var(--line); }
.subnav a { display: block; padding: .65rem 0; text-decoration: none; color: var(--ink); line-height: 1.4; }
.subnav a:hover, .subnav a[aria-current] { color: var(--green-600); }
.subnav a[aria-current] { font-weight: 600; }

.card { background: var(--grey-bg); border-radius: var(--radius); padding: 1.8rem; }
.card--brand img { width: 150px; margin-bottom: 1rem; }

.media-row { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: center; margin: 2.5rem 0; }
.media-row--rev { grid-template-columns: 1fr 260px; align-items: start; }
.media-row--rev img { order: 2; }
.media-row__body p:last-child { margin-bottom: 0; }

.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; }
.team__card { text-align: center; background: var(--grey-bg); border-radius: var(--radius); padding: 2rem 1.2rem; }
.team__avatar { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: var(--green-600); color: #fff;
  font-size: 1.6rem; font-weight: 300; letter-spacing: .05em; margin-bottom: 1rem; }
.team__name { font-size: 1.05rem; font-weight: 600; margin: 0 0 .3rem; }
.team__role { margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }

.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.group { background: var(--grey-bg); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.group h3 { margin-top: 0; color: var(--green-700); }
.group ul { margin: 0; padding-left: 1.1rem; font-size: .95rem; }

/* ---------- tablas ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.table th, .table td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--green-900); color: #fff; font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; position: sticky; top: 0; }
.table tbody tr:nth-child(even) { background: #fafaf8; }
.table tbody th { font-weight: 600; color: var(--green-700); }
.table--seq td.genes { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .8rem; word-break: break-word; color: #444; }
.table--seq td:first-child { font-weight: 600; color: var(--green-700); white-space: nowrap; }
.ditto { opacity: 0; } /* repetición visual oculta; sigue en el texto para búsquedas */
.seq-head h2 { color: var(--green-700); margin-top: 0; }
.seq-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: 1.5rem 0 .5rem; }
.search { flex: 1 1 320px; }
.search input { width: 100%; }
.seq-count { color: var(--ink-soft); font-size: .9rem; min-height: 1.5em; }
.mt h2, h2.mt { color: var(--green-700); }

/* ---------- formularios ---------- */
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=password], select, textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #cfd2cb; border-radius: var(--radius);
  padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(61, 125, 5, .15); }
[aria-invalid=true] { border-color: var(--danger) !important; }
textarea { resize: vertical; min-height: 140px; }
.cform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .85rem; }
.field__hint { font-size: .82rem; color: var(--ink-soft); }
.field__error { font-size: .85rem; color: var(--danger); font-weight: 400; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .6rem; margin-top: 1rem; }
.field--check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--green-600); flex: none; }
.field--check label { font-weight: 300; font-size: .92rem; flex: 1; }
.field--check .field__error { flex-basis: 100%; padding-left: 1.9rem; }
.cform__legal { font-size: .78rem; color: var(--ink-soft); line-height: 1.5; margin: 1.2rem 0; background: var(--grey-bg); padding: .8rem 1rem; border-radius: var(--radius); }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.2rem; font-weight: 400; border-left: 4px solid; }
.notice--ok { background: var(--green-100); border-color: var(--ok); color: var(--green-900); }
.notice--error { background: #fdecea; border-color: var(--danger); color: #6b1610; }
.notice--warn { background: #fff6e0; border-color: #c98a00; color: #5a3d00; }

/* ---------- bloques de la portada ---------- */
.slider { position: relative; background: var(--green-900); overflow: hidden; }
.slider__track { position: relative; aspect-ratio: 1900 / 560; min-height: 340px; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.slider::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, .55) 38%, rgba(255, 255, 255, 0) 65%); pointer-events: none; }
.slider__caption { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; left: 0; right: 0; }
.slider__title { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 600; color: var(--green-600); margin: 0 0 .5rem; letter-spacing: -.01em; }
.slider__text { max-width: 30ch; font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; color: var(--green-900); margin: 0; line-height: 1.4; }
.slider__dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: .5rem; }
.slider__dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.slider__dots .is-active { background: #fff; }

.band { padding: 4.5rem 0; }
.band--grey { background: var(--grey-bg); }
.kicker { font-size: 1.05rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--green-700); margin: 0 0 1.4rem; }
.section-title { margin: 0; padding: 1.2rem; text-align: center; background: var(--dark); color: #fff; font-size: .95rem; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
.tiles--1 { grid-template-columns: 1fr; }
.tiles--2, .tiles--4 { grid-template-columns: repeat(2, 1fr); }
.tiles--5 { grid-template-columns: repeat(5, 1fr); }
.tile { position: relative; display: block; min-height: 230px; overflow: hidden; color: #fff; text-decoration: none; background: var(--dark); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; opacity: .72; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); opacity: .55; }
.tile__body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 230px; padding: 1.4rem; background: linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 70%); }
.tile__title { font-size: .95rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tile__text { font-size: .88rem; line-height: 1.45; margin-top: .4rem; opacity: .9; }
.tile--center .tile__body { justify-content: center; align-items: center; background: none; }
.tile--center .tile__title { border: 1px solid rgba(255, 255, 255, .8); padding: .5rem 1rem; font-size: .8rem; }
.related { border-top: 1px solid var(--line); }

.claim { position: relative; padding: 5rem 0; background: #e9eee4; overflow: hidden; text-align: center; }
.claim__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.claim__in { position: relative; }
.claim__a { font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: var(--green-600); margin: 0 0 .6rem; }
.claim__b { font-size: clamp(1.2rem, 2.6vw, 1.9rem); text-transform: uppercase; letter-spacing: .04em; color: var(--ink); margin: 0; font-weight: 300; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 3.5rem; align-items: start; }
.content .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.map { margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; background: var(--grey-bg); aspect-ratio: 4 / 3; position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 1.5rem;
  background: repeating-linear-gradient(45deg, #eef1ea 0 14px, #f5f7f2 14px 28px); font-size: .92rem; }
.map__placeholder p { margin: 0 0 .6rem; max-width: 34ch; }
.map__actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.howto { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.2rem; font-size: .92rem; }
.howto h3 { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); margin: 0 0 .5rem; }
.howto ul { list-style: none; margin: 0; padding: 0; }
.howto li { margin-bottom: .35rem; }
.line { display: inline-block; font-size: .7rem; font-weight: 600; color: #fff; border-radius: 3px; padding: .05rem .35rem; margin-right: .25rem; }
.l1 { background: #2ba4dc; } .l4 { background: #8f5a2a; } .l5 { background: #96bf0d; } .l10 { background: #1d3c8f; }

/* ---------- pie ---------- */
.footer { background: var(--dark); color: #c9ccc5; font-size: .92rem; }
.footer a { color: #fff; }
.footer a.btn--light { color: var(--green-900); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; padding-top: 3.5rem; padding-bottom: 3rem; }
.footer__title { color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 1rem; }
.certs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.certs { gap: .6rem; }
.certs img { width: 66px; height: 66px; border-radius: 50%; background: #fff; padding: 5px; object-fit: contain; }
.certs img.cert--dark { background: var(--green-900); }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.2rem 0; font-size: .8rem; }
.footer__legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }
.footer__legal a { color: #c9ccc5; text-decoration: none; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tiles--5 { grid-template-columns: repeat(3, 1fr); }
  .with-aside, .with-aside--img { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .subnav { position: static; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; box-shadow: var(--shadow); transform: translateX(100%); transition: transform .25s ease;
    overflow-y: auto; padding: 5.5rem 0 2rem; z-index: 60; }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; padding: 1rem 1.6rem; border-bottom: 1px solid var(--line); }
  .nav__sub { position: static; box-shadow: none; border-top: 0; opacity: 1; visibility: visible; transform: none; display: none; min-width: 0; padding: .3rem 0 .8rem; background: var(--grey-bg); }
  .has-sub:hover > .nav__sub, .has-sub:focus-within > .nav__sub { display: none; }
  .has-sub.is-open > .nav__sub { display: block; }
  .nav-toggle[aria-expanded=true] { position: relative; z-index: 70; }
  .nav-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .contact-grid, .content .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar__info { display: none; }
  .header__in { min-height: 68px; }
  .logo img { width: 130px; }
  .tiles, .tiles--2, .tiles--3, .tiles--4, .tiles--5 { grid-template-columns: 1fr 1fr; }
  .tile, .tile__body { min-height: 170px; }
  .hero { min-height: 220px; }
  .content, .band { padding: 3rem 0; }
  .cform__grid { grid-template-columns: 1fr; }
  .media-row, .media-row--rev { grid-template-columns: minmax(0, 1fr); }
  .media-row img { max-width: 260px; order: 0 !important; }
  .slider__track { min-height: 300px; }
  .slider::after { background: linear-gradient(90deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .25)); }
  .slide img { object-position: 78% 50%; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .table--seq td:first-child { white-space: normal; }
}
@media (max-width: 460px) {
  .wrap { padding: 0 16px; }
  .tiles, .tiles--2, .tiles--3, .tiles--4, .tiles--5 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .header, .related, .footer, .slider, .map, .cform { display: none !important; }
  .hero { min-height: 0; background: none; } .hero::after, .hero__img { display: none; } .hero__title { color: #000; }
}

/* ---------- WhatsApp flotante ---------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa__fab { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22); transition: transform .2s ease, background .2s ease; }
.wa__fab:hover, .wa__fab:focus-visible { background: #1ebe5b; color: #fff; transform: scale(1.06); }
.wa__panel { width: 340px; max-width: calc(100vw - 32px); border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22); transform-origin: bottom right; animation: wa-in .22s ease-out; }
.wa__panel[hidden] { display: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.wa__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 44px 16px 16px; background: var(--green-900); color: #fff; }
.wa__logo { flex: none; background: #fff; border-radius: 8px; padding: 5px 8px; }
.wa__logo img { width: 92px; height: auto; }
.wa__name { margin: 0; font-weight: 600; font-size: .98rem; line-height: 1.3; color: #fff; }
.wa__status { margin: 2px 0 0; font-size: .78rem; line-height: 1.3; color: rgba(255, 255, 255, .85); display: flex; align-items: center; gap: 6px; }
.wa__dot { width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
.wa__close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent;
  color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.wa__close:hover { background: rgba(255, 255, 255, .15); }
.wa__body { padding: 20px 16px 14px; background-color: #efeae2;
  background-image: radial-gradient(rgba(22, 76, 0, .07) 1px, transparent 1.4px); background-size: 14px 14px; }
.wa__bubble { position: relative; display: inline-block; max-width: 85%; padding: 8px 14px 10px; background: #fff; border-radius: 0 10px 10px 10px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .1); font-size: .95rem; line-height: 1.45; }
.wa__bubble::before { content: ""; position: absolute; top: 0; left: -8px; border-top: 0 solid transparent; border-right: 8px solid #fff; border-bottom: 10px solid transparent; }
.wa__bubble p { margin: .25rem 0 0; }
.wa__from { display: block; font-size: .75rem; color: var(--ink-soft); }
.wa__note { margin: 14px 0 0; font-size: .74rem; line-height: 1.4; color: var(--ink-soft); }
.wa__form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.wa__form textarea { flex: 1; min-height: 42px; max-height: 120px; resize: none; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: .95rem; line-height: 1.35; color: var(--ink); }
.wa__form textarea:focus { outline: none; border-color: var(--green-400); box-shadow: 0 0 0 3px var(--green-100); }
.wa__send { flex: none; height: 42px; padding: 0 16px; border: 0; border-radius: 8px; background: #25d366; color: #fff; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.wa__send:hover { background: #1ebe5b; }
@media (max-width: 460px) { .wa { right: 14px; bottom: 14px; } .wa__fab { width: 54px; height: 54px; } }
@media print { .wa { display: none !important; } }
