:root {
  --ink-navy: #0b1f3a;
  --ink-deep: #071628;
  --ink-band: #0e2a4a;
  --clinical: #2f6fed;
  --ivory: #f4f7fb;
  --white: #ffffff;
  --mist: #eef3f8;
  --slate: #5b6b7c;
  --slate-soft: #8aa0b5;
  --ink-text: #13233a;
  --line-dark: rgba(244, 247, 251, 0.16);
  --line-light: rgba(15, 40, 70, 0.10);
  --max: 1200px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
  /* Crops already bake focal; CSS position is fine-tune fallback */
  --hero-focal-desktop: 82% 46%;
  --hero-focal-tablet: 78% 42%;
  --hero-focal-mobile: 72% 38%;
  --radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(100% - 2.75rem, var(--max)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: #fff; color: #000; padding: .5rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ===== HEADER ===== */
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 30;
  padding: 1.35rem 0 1.1rem;
  color: var(--ivory);
}
.site-header .wrap {
  position: relative;
  z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .85rem; color: var(--ivory); }
.brand-logo {
  display: block;
  height: clamp(48px, 4.8vw, 58px);
  width: auto;
  max-width: min(300px, 62vw);
  /* Solo sombra: no filters que alteren colores de marca */
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7));
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5.5rem;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(7, 22, 40, .82) 0%,
    rgba(7, 22, 40, .45) 55%,
    transparent 100%
  );
}
.brand-logo--footer {
  height: clamp(64px, 6.5vw, 82px);
  max-width: min(400px, 92vw);
}
.brand-mark {
  width: 40px; height: 40px; border: 1px solid rgba(244,247,251,.42);
  border-radius: 50%; display: grid; place-items: center;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-text strong {
  display: block; font-size: .84rem; letter-spacing: .16em; font-weight: 700;
}
.brand-text span {
  display: block; font-size: .6rem; letter-spacing: .14em;
  color: rgba(244,247,251,.62); text-transform: uppercase; margin-top: .12rem;
}
.nav {
  display: flex; align-items: center; gap: 1.25rem;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(244,247,251,.88);
}
.nav a { transition: color .15s ease; }
.nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.btn-ghost {
  border: 1px solid rgba(244,247,251,.48);
  padding: .55rem .95rem; border-radius: 999px;
  font-size: .6rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ivory); font-weight: 600;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(244,247,251,.7);
}
.lang {
  font-size: .72rem; letter-spacing: .1em; color: rgba(244,247,251,.7);
  font-weight: 600;
}
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.35rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 0;
  height: clamp(480px, 64vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: 5.5rem 0 2.35rem;
  overflow: visible;
  background: var(--ink-deep);
  color: var(--ivory);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink-deep);
  overflow: hidden;
  pointer-events: none;
}
.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focal-desktop);
  transform-origin: var(--hero-focal-desktop);
  transform: scale(1.02);
  animation: hero-kenburns 25s ease-in-out infinite alternate;
  will-change: transform;
  backface-visibility: hidden;
}
/* Ken Burns: cámara acercándose al espécimen (derecha). Solo la imagen. */
@keyframes hero-kenburns {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.068) translate3d(-0.85%, -0.4%, 0);
  }
}
.hero-media.is-placeholder img { display: none; animation: none; }
.hero-media.is-placeholder {
  background: linear-gradient(90deg, var(--ink-deep) 0%, var(--ink-deep) 42%, #0a1c33 100%);
}
.hero-media .placeholder-label {
  position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 2;
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(244,247,251,.32); border: 1px dashed rgba(244,247,251,.18);
  padding: .4rem .65rem; border-radius: 6px;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(7,22,40,.97) 0%,
    rgba(7,22,40,.90) 24%,
    rgba(7,22,40,.58) 40%,
    rgba(7,22,40,.20) 55%,
    rgba(7,22,40,.06) 70%,
    transparent 100%);
}
.hero-grid {
  position: relative; z-index: 2;
  width: min(100% - 2.75rem, var(--max));
  margin-inline: auto;
}
.hero-stack {
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 3.15vw, 3.1rem);
  line-height: 1.06;
  margin: 0;
  letter-spacing: -.025em;
  max-width: none;
  color: #fff;
  text-shadow: 0 1px 18px rgba(0,0,0,.22);
}
/* Portada de revista: exactamente 3 renglones editoriales */
.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}
.search-panel {
  background: rgba(6,16,30,.55);
  border: 1px solid rgba(244,247,251,.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 1rem 1.1rem .95rem;
  width: min(100%, 34rem);
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
  position: relative;
  z-index: 5;
}
.search-panel h2 {
  margin: 0 0 .65rem;
  font-size: .88rem; font-weight: 600;
  color: rgba(244,247,251,.92);
}
.search-row {
  position: relative;
  display: flex; gap: .4rem; align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(244,247,251,.18);
  border-radius: 10px;
  padding: .28rem .3rem .28rem .9rem;
}
.search-row input {
  flex: 1; border: 0; background: transparent; color: #fff;
  font: inherit; font-size: .9rem; outline: none; padding: .58rem 0;
}
.search-row input::placeholder { color: rgba(244,247,251,.42); }
.search-row button {
  border: 0; background: transparent; color: rgba(244,247,251,.9);
  border-radius: 8px; padding: .5rem .7rem; cursor: pointer;
}
.search-row button:hover { color: #fff; }

/* Home hero autocomplete */
.suggest.suggest--hero {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + .35rem);
  z-index: 40;
  margin: 0;
  max-width: none;
  width: 100%;
  background: #0a1c33;
  color: #f4f7fb;
  border: 1px solid rgba(244,247,251,.18);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  overflow: hidden;
  max-height: min(52vh, 22rem);
  overflow-y: auto;
}
.suggest.suggest--hero[hidden] { display: none !important; }
.suggest.suggest--hero a,
.suggest.suggest--hero button {
  display: grid;
  grid-template-columns: 1fr;
  gap: .15rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #f4f7fb;
  padding: .75rem 1rem;
  font: inherit;
  cursor: pointer;
  border-bottom: 1px solid rgba(244,247,251,.08);
  text-decoration: none;
}
.suggest.suggest--hero a:last-child,
.suggest.suggest--hero button:last-child { border-bottom: 0; }
.suggest.suggest--hero a:hover,
.suggest.suggest--hero button:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.suggest.suggest--hero .s-type {
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(196, 214, 230, .62);
  font-weight: 700;
}
.suggest.suggest--hero .s-title {
  font-size: .92rem;
  line-height: 1.3;
  color: #fff;
  font-weight: 600;
}
.suggest.suggest--hero .s-more {
  display: block;
  padding: .7rem 1rem .85rem;
  font-size: .78rem;
  color: #7eb6ff;
  border-top: 1px solid rgba(244,247,251,.1);
  text-decoration: none;
}
.suggest.suggest--hero .s-more:hover { color: #fff; background: rgba(255,255,255,.04); }
.chips {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-top: .8rem; align-items: center;
}
.chips-label {
  width: auto; margin-right: .15rem;
  font-size: .58rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--slate-soft);
}
.chips a {
  font-size: .58rem; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(244,247,251,.72);
  border: 1px solid rgba(244,247,251,.2);
  border-radius: 999px; padding: .32rem .62rem;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.chips a:hover {
  border-color: rgba(244,247,251,.45);
  color: #fff;
  background: rgba(255,255,255,.04);
}


/* ===== SPECIALTY ===== */
.specialty {
  background: var(--ink-band);
  color: var(--ivory);
  border-top: 1px solid rgba(255,255,255,.06);
}
.specialty .wrap {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  width: min(100% - 1.5rem, var(--max));
}
.spec-item {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: .75rem; align-items: center;
  padding: 1.1rem .9rem 1rem;
  border-right: 1px solid rgba(255,255,255,.09);
  color: var(--ivory);
  transition: background .15s ease;
}
.spec-item:last-child { border-right: 0; }
.spec-item:hover { background: rgba(255,255,255,.045); }
.spec-item:hover .chev {
  border-color: rgba(244,247,251,.65);
  background: rgba(255,255,255,.06);
}
.spec-icon {
  width: 68px; height: 68px; margin-top: 0.1rem;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.28));
}
.spec-item h3 {
  margin: 0 0 .28rem;
  font-size: .66rem; letter-spacing: .09em;
  text-transform: uppercase; font-weight: 700;
}
.spec-item p {
  margin: 0; font-size: .72rem; line-height: 1.35;
  color: rgba(244,247,251,.68);
}
.spec-item .chev {
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  border: 1px solid rgba(244,247,251,.38);
  display: grid; place-items: center;
  font-size: .68rem; opacity: .9; margin-top: .2rem;
  line-height: 1;
  transition: border-color .15s ease, background .15s ease;
}

/* ===== ONKOTECA band (home, below specialty, not hero) ===== */
.onkoteca-band {
  background: var(--mist);
  border-bottom: 1px solid var(--line-light);
  padding: 1.85rem 0 1.75rem;
}
.onkoteca-band-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.75rem 3.25rem;
  align-items: center;
}
.onkoteca-mark {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}
.onkoteca-mark img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}
.onkoteca-mark--band {
  margin: 0;
  flex: 0 0 auto;
}
.onkoteca-mark--band img {
  /* +50% vs band3 */
  width: clamp(10.875rem, 18vw, 14.25rem);
  max-width: 14.25rem;
}
.onkoteca-band-content {
  min-width: 0;
  max-width: 40rem;
}
.onkoteca-band-kicker {
  margin: 0 0 .4rem;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}
.onkoteca-band-title {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 2.35vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -.018em;
  color: var(--ink-navy);
  max-width: none;
}
.onkoteca-band-text {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--slate);
  max-width: 46ch;
}
.onkoteca-band-cta {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-navy);
  border-bottom: 1px solid rgba(11, 31, 58, .28);
  padding-bottom: .1rem;
}
.onkoteca-band-cta:hover {
  color: var(--clinical);
  border-bottom-color: rgba(47, 111, 237, .55);
}
.onkoteca-band-cta:focus-visible {
  outline: 2px solid rgba(47, 111, 237, .45);
  outline-offset: 3px;
}

.section { padding: 2.35rem 0; }
.section-mist { background: var(--mist); }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.35rem;
}
.section-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.55rem, 2.2vw, 2rem); letter-spacing: -.015em; color: var(--ink-navy);
}
.section-head p { margin: .4rem 0 0; color: var(--slate); font-size: .92rem; max-width: 44ch; }
.eyebrow {
  display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate-soft); margin-bottom: .35rem; font-weight: 600;
}
.link-more {
  font-size: .8rem; color: var(--clinical); white-space: nowrap; font-weight: 600;
}
.link-more:hover { text-decoration: underline; }

.triad {
  display: grid; grid-template-columns: 1.08fr 1.12fr .95fr;
  gap: 1.1rem; align-items: start;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.15rem;
  box-shadow: 0 1px 0 rgba(15,40,70,.03);
  height: auto;
}

/* NUCLEOS panel — same card language as triad panels */
.panel.nucleos-panel {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.nucleos-panel-brand {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 .15rem;
}
.nucleos-panel-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 9.5rem;
  max-height: 5.75rem;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}
.nucleos-panel-eyebrow {
  margin: 0;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
}
.nucleos-panel-title {
  margin: 0 !important;
  font-family: var(--serif) !important;
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  letter-spacing: -.01em !important;
  text-transform: none !important;
  line-height: 1.25 !important;
  color: var(--ink-navy) !important;
  display: block !important;
}
.nucleos-panel-text {
  margin: 0;
  font-size: .88rem;
  line-height: 1.45;
  color: var(--slate);
}
.nucleos-panel-links {
  list-style: none;
  margin: .45rem 0 0;
  padding: 0;
}
.nucleos-panel-links li {
  border-top: 1px solid var(--line-light);
}
.nucleos-panel-links li:first-child { border-top: 0; }
.nucleos-panel-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .72rem 0;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-navy);
}
.nucleos-panel-links a:hover { color: var(--clinical); }
.nucleos-panel-links span { color: var(--clinical); font-weight: 700; }

.panel h3 {
  margin: 0 0 .95rem;
  font-size: .72rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-navy); font-weight: 700;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.panel h3 .panel-link {
  font-size: .7rem; letter-spacing: .02em; text-transform: none;
  color: var(--clinical); font-weight: 600;
}

.study-list { list-style: none; margin: 0; padding: 0; }
.study-list li { border-top: 1px solid var(--line-light); }
.study-list li:first-child { border-top: 0; }
.study-list a {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem;
  padding: .78rem 0; align-items: start;
}
.study-list a:hover .study-name { color: var(--clinical); }
.study-n {
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mist); font-size: .62rem; letter-spacing: .04em;
  color: var(--slate); font-weight: 700;
}
.study-name {
  display: block; font-size: .9rem; font-weight: 600;
  color: var(--ink-text); line-height: 1.3;
}
.study-meta {
  display: block; margin-top: .28rem;
  font-size: .72rem; color: var(--slate);
}
.featured-related {
  margin: 1rem 0 0; font-size: .72rem; line-height: 1.45; color: var(--slate);
}
.featured-related a { color: var(--clinical); font-weight: 600; }
.featured-related a:hover { text-decoration: underline; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  width: 100%; margin-top: .4rem; border: 0; border-radius: 9px;
  background: var(--ink-navy); color: #fff; font: inherit; font-size: .78rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .82rem 1rem; cursor: pointer;
  transition: background .15s ease;
}
.btn-primary:hover { background: #0e2a4a; }
.btn-primary.inline { width: auto; margin-top: 0; padding: .7rem 1.1rem; }

.medics-panel {
  background: linear-gradient(180deg, #f7fafc 0%, var(--mist) 100%);
  color: var(--ink-text);
  border: 1px solid var(--line-light);
  display: flex; flex-direction: column; height: auto;
}
.medics-panel h3 { color: var(--ink-navy); }
.medics-panel p {
  margin: 0 0 1.05rem; color: var(--slate);
  font-size: .88rem; line-height: 1.45;
}
.medics-panel .btn-primary { background: var(--ink-navy); color: #fff; }
.medics-panel .btn-primary:hover { background: #0e2a4a; }
.medics-links { list-style: none; margin: auto 0 0; padding: .35rem 0 0; }
.medics-links li { border-top: 1px solid var(--line-light); }
.medics-links a {
  display: flex; justify-content: space-between; gap: .5rem;
  padding: .65rem 0; font-size: .84rem; color: var(--ink-text);
}
.medics-links a:hover { color: var(--clinical); }

/* Info strip — editorial, not generic boxes */
.info-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid var(--line-light);
}
.info-card {
  border: 0;
  border-right: 1px solid var(--line-light);
  border-top: 0;
  padding: 1.35rem 1.15rem 1.15rem 0;
  margin: 0;
}
.info-card:last-child { border-right: 0; padding-right: 0; }
.info-card:first-child { padding-left: 0; }
.info-card .icon {
  width: 26px; height: 26px; margin-bottom: .7rem; color: var(--ink-navy);
  stroke-width: 1.4;
}
.info-card h3 {
  margin: 0 0 .4rem;
  font-family: var(--serif); font-weight: 500;
  font-size: 1.05rem; color: var(--ink-navy); letter-spacing: -.01em;
}
.info-card p {
  margin: 0 0 .85rem; font-size: .82rem; color: var(--slate); line-height: 1.45;
  max-width: 28ch;
}
.info-card .go {
  font-size: .76rem; font-weight: 600; color: var(--clinical);
  letter-spacing: .02em;
}

/* Ciencia */
.ciencia-grid {
  display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1.1rem;
}
.ciencia-card {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  background: var(--white);
  min-height: 170px;
  display: flex; flex-direction: column;
  transition: border-color .15s ease;
}
.ciencia-card:hover { border-color: rgba(47,111,237,.28); }
.ciencia-card .tag {
  font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate-soft); font-weight: 700; margin-bottom: .65rem;
}
.ciencia-card h3 {
  margin: 0 0 auto; font-family: var(--serif); font-weight: 500;
  font-size: 1.2rem; line-height: 1.28; color: var(--ink-navy);
  letter-spacing: -.01em;
}
.ciencia-card .go {
  margin-top: 1.1rem; font-size: .78rem; font-weight: 600; color: var(--clinical);
}

/* Footer styles live in footer.css (global partial). */

@media (max-width: 1100px) {
  .triad { grid-template-columns: 1fr 1fr; }
  .triad .medics-panel { grid-column: 1 / -1; }
  .info-strip { grid-template-columns: 1fr 1fr; }
  .info-card {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
    padding: 1.15rem 0;
  }
  .ciencia-grid { grid-template-columns: 1fr 1fr; }
  .hero-media picture, .hero-media img { object-position: var(--hero-focal-tablet); }
  .hero-media img {
    transform-origin: var(--hero-focal-tablet);
    animation-duration: 26s;
  }
}
@media (max-width: 980px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: block; }
  .hero {
    /* Imagen full-bleed; título arriba + buscador abajo (como la captura) */
    height: auto;
    min-height: 100svh;
    padding: 0;
    align-items: stretch;
    display: flex;
    flex-direction: column;
  }
  .hero-grid {
    width: min(100% - 1.5rem, var(--max));
    margin-inline: auto;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 5.35rem 0 1.15rem;
    box-sizing: border-box;
  }
  .hero-stack {
    max-width: none;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    /* Portada: letras justo encima del buscador, abajo */
    justify-content: flex-end;
    gap: 0.65rem;
    min-height: 0;
  }
  .hero-copy {
    position: relative;
    max-width: none;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0.15rem 0 0.05rem;
    isolation: isolate;
  }
  .hero-copy::before {
    content: "";
    position: absolute;
    inset: -0.7rem -0.6rem -0.55rem -0.5rem;
    z-index: -1;
    pointer-events: none;
    border-radius: 1rem;
    background:
      radial-gradient(ellipse 110% 95% at 8% 50%,
        rgba(5, 16, 32, .72) 0%,
        rgba(5, 16, 32, .34) 55%,
        rgba(5, 16, 32, 0) 78%);
  }
  .hero-copy h1 {
    width: max-content;
    max-width: 100%;
    font-size: clamp(1.45rem, 6.2vw, 2.2rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    text-shadow:
      0 1px 0 rgba(0, 0, 0, .35),
      0 1px 3px rgba(0, 0, 0, .45),
      0 6px 22px rgba(5, 16, 32, .55);
  }
  .search-panel {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0.15rem;
    background: rgba(6, 16, 30, .62);
    border-color: rgba(244, 247, 251, .16);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .28);
  }
  .hero-media picture, .hero-media img { object-position: var(--hero-focal-mobile); }
  .hero-media img {
    transform-origin: var(--hero-focal-mobile);
    /* Estático en móvil: evita pelear con el scroll táctil */
    animation: none;
    transform: scale(1.03) translate3d(0, 0, 0);
    will-change: auto;
    filter: brightness(1.14) contrast(1.05) saturate(1.04);
  }
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(7, 22, 40, .68) 0%,
        rgba(7, 22, 40, .2) 14%,
        rgba(7, 22, 40, .06) 38%,
        rgba(7, 22, 40, .16) 58%,
        rgba(7, 22, 40, .58) 76%,
        rgba(7, 22, 40, .9) 100%);
  }
  .site-header {
    padding: 1.05rem 0 1rem;
    background: linear-gradient(
      180deg,
      rgba(7, 22, 40, .96) 0%,
      rgba(7, 22, 40, .9) 72%,
      rgba(7, 22, 40, .55) 100%
    );
  }
  .site-header::before {
    height: 0;
    background: none;
  }
  .brand-logo {
    height: 48px;
    max-width: min(250px, 74vw);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55));
  }
  .specialty .wrap {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    width: 100%; padding-inline: .75rem;
  }
  .spec-item {
    min-width: 78%; border-right: 1px solid rgba(255,255,255,.09);
    scroll-snap-align: start;
  }
}
@media (max-width: 720px) {
  .triad, .info-strip, .ciencia-grid { grid-template-columns: 1fr; }
  .onkoteca-band { padding: 1.45rem 0 1.4rem; }
  .onkoteca-band-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    justify-items: start;
  }
  .onkoteca-mark--band img {
    width: 9.75rem;
    max-width: min(9.75rem, 58vw);
  }
  .onkoteca-band-content { max-width: none; }
  .onkoteca-band-title { font-size: 1.4rem; }
  .onkoteca-band-text { max-width: none; }
  .section { padding: 1.85rem 0; }
  .wrap { width: min(100% - 1.35rem, var(--max)); }
  .hero {
    min-height: 100svh;
  }
  .hero-grid {
    padding: 5rem 0 1rem;
    width: min(100% - 1.25rem, var(--max));
  }
  .hero-stack { gap: 0.55rem; }
  .hero-copy h1 {
    font-size: clamp(1.48rem, 6.8vw, 1.95rem);
    line-height: 1.06;
  }
  .search-panel {
    width: 100%;
    padding: 0.9rem 0.95rem 0.85rem;
    border-radius: 12px;
  }
  .search-panel h2 { font-size: 0.84rem; margin-bottom: 0.55rem; }
  .chips { margin-top: 0.65rem; }
  .spec-icon { width: 58px; height: 58px; }
  .info-card { border-bottom: 1px solid var(--line-light); padding: 1.1rem 0; }
}
@media (min-width: 721px) and (max-width: 980px) {
  .hero-media picture, .hero-media img { object-position: var(--hero-focal-tablet); }
  .hero-media img { transform-origin: var(--hero-focal-tablet); }
  .hero-copy { max-width: none; }
  .hero-copy h1 { font-size: clamp(1.85rem, 3.8vw, 2.45rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav a, .btn-ghost, .chips a,
  .hero-media img {
    animation: none !important;
    transform: scale(1.02) translate3d(0, 0, 0);
    will-change: auto;
    filter: none;
  }
}
