:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-warm: #fff6cf;
  --ink: #11131a;
  --muted: #5a6374;
  --line: #e6e9f0;
  --brand: #0f9faf;
  --brand-dark: #07152b;
  --brand-soft: #eefbfc;
  --success: #0b8a57;
  --warning-ink: #654b00;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(17, 19, 26, .08);
  --max: 1060px;
  --content-pad: clamp(28px, 7vw, 36px);
  --section-y: clamp(64px, 13vw, 100px);
  --header-offset: 172px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-offset); overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  padding-bottom: calc(118px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
main { width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--content-pad) 14px;
}
.header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto 14px;
}
.header-brand-row .brand { margin: 0; min-width: 0; }
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  max-width: var(--max);
  margin: 0 auto 14px;
}
.brand-logo { width: 116px; height: auto; display: block; flex: 0 0 auto; }
.brand-logo-modern { width: clamp(210px, 42vw, 360px); max-height: 72px; object-fit: contain; object-position: left center; }
.brand-market small { font-size: 15px; color: var(--muted); white-space: nowrap; }
.brand-text strong { display: block; font-size: clamp(22px, 5vw, 26px); line-height: 1; letter-spacing: -.03em; }
.brand-text small { display: block; color: var(--muted); font-size: 16px; margin-top: 6px; }
.main-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 0 2px;
  max-width: var(--max);
  margin: 0 auto;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--muted);
  font-weight: 800;
  font-size: 18px;
  padding: 12px 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.main-nav a.is-active { color: var(--ink); border-color: #cfd4e0; background: var(--brand-soft); }
.dev-banner {
  background: var(--bg-warm);
  color: var(--warning-ink);
  font-weight: 800;
  padding: 18px var(--content-pad);
  border-bottom: 1px solid #f3d666;
  font-size: 18px;
}

.section-pad, .hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section-y) var(--content-pad);
}
.hero {
  display: grid;
  gap: 36px;
  background: linear-gradient(125deg, #f8fbff 0%, #ffffff 62%, #eef3ff 100%);
  max-width: none;
}
.hero > * { max-width: var(--max); width: 100%; margin: 0 auto; }
.hero-copy, .hero-card { max-width: var(--max); }
.hero h1, .page-title, .section-pad h2 {
  margin: 0;
  letter-spacing: -.075em;
  line-height: .96;
  text-wrap: balance;
}
.hero h1 { font-size: clamp(52px, 14.5vw, 104px); max-width: 880px; }
.section-pad h2, .page-title { font-size: clamp(40px, 10vw, 74px); max-width: 900px; }
.section-pad h3 { font-size: clamp(24px, 5.4vw, 30px); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 12px; }
.lead { color: var(--muted); font-size: clamp(24px, 6.2vw, 30px); line-height: 1.33; max-width: 900px; margin: 28px 0 0; }
p { font-size: clamp(19px, 4.8vw, 22px); color: var(--muted); margin: 18px 0 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 22px;
}
.pill, .muted-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  font-size: 14px;
  color: var(--success);
  background: #e7fff3;
  margin-bottom: 16px;
}
.muted-pill { color: #4c566b; background: #eef2f7; }
.hero-card, .panel, .card, .notice-box, .process-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card, .panel { padding: clamp(28px, 7vw, 48px); }
.hero-card h2 { font-size: clamp(40px, 10vw, 70px); line-height: .96; margin: 8px 0 0; letter-spacing: -.07em; }
.clean-list, .check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.clean-list li, .check-list li { font-size: clamp(18px, 4.6vw, 21px); color: var(--muted); }
.clean-list li::before, .check-list li::before { content: "✓"; color: var(--success); font-weight: 900; margin-right: 10px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  font-size: 18px;
  border: 1px solid var(--line);
}
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 18px 34px rgba(17,19,26,.15); }
.btn-secondary { background: #fff; color: var(--ink); }
.text-link { display: inline-flex; margin-top: 18px; color: var(--brand); font-weight: 900; text-decoration: none; }

.narrow { max-width: 900px; }
.split { display: grid; gap: 28px; }
.split.reverse { direction: ltr; }
.cards { display: grid; gap: 18px; margin-top: 30px; }
.card { padding: 26px; }
.card p { font-size: clamp(18px, 4.5vw, 20px); }
.notice-box {
  padding: 26px;
  margin-top: 28px;
  background: #fffdf3;
  border-color: #f1d676;
}
.notice-box strong { font-size: 22px; }
.process-card { padding: 26px; display: grid; gap: 14px; }
.process-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 6px 14px;
  align-items: center;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: 18px;
}
.process-step span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}
.process-step strong { font-size: 20px; }
.process-step small { color: var(--muted); font-size: 16px; }

.article-flow { max-width: 900px; margin: 0 auto; }
.article-flow h2 { margin-top: 58px; }
.article-flow h2:first-child { margin-top: 0; }
.article-flow ul { margin: 24px 0 0; padding-left: 22px; }
.article-flow li { font-size: clamp(18px, 4.7vw, 21px); color: var(--muted); margin-bottom: 12px; }
.quote-card { background: #0c1020; color: #fff; border-radius: var(--radius); padding: clamp(28px, 8vw, 46px); margin: 38px 0; }
.quote-card p { color: rgba(255,255,255,.82); }

.trust-table { margin: 30px 0; border-top: 1px solid var(--line); }
.trust-table div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.trust-table dt { color: var(--muted); font-size: 16px; }
.trust-table dd { margin: 0; font-size: 20px; font-weight: 900; }
.microcopy { font-size: 16px; color: var(--muted); }
.market-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 26px; }
.market-item { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: #fff; }
.market-item strong { display: block; }
.market-item small { color: var(--muted); }

.site-footer {
  background: #0c1020;
  color: #fff;
  padding: 56px var(--content-pad) calc(96px + env(safe-area-inset-bottom));
}
.site-footer p { color: rgba(255,255,255,.74); }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links a { color: rgba(255,255,255,.9); }
.bottom-nav {
  position: fixed;
  left: 22px;
  right: 22px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 8px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(17,19,26,.16);
  padding: 10px;
  backdrop-filter: blur(18px);
}
.bottom-nav a {
  min-height: 56px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 900;
  color: var(--muted);
  font-size: 18px;
}
.bottom-nav .primary { background: var(--ink); color: #fff; }

@media (min-width: 760px) {
  :root { --content-pad: 34px; --section-y: 92px; --header-offset: 134px; }
  body { padding-bottom: 0; }
  .site-header { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding: 18px var(--content-pad); }
  .brand { margin: 0; }
  .brand-logo { width: 86px; }
  .brand-logo-modern { width: clamp(220px, 26vw, 330px); max-height: 64px; }
  .brand-text strong { font-size: 19px; }
  .brand-text small { font-size: 14px; }
  .main-nav { justify-content: flex-end; margin: 0; overflow: visible; }
  .main-nav a { border: 0; background: transparent; font-size: 16px; padding: 8px 10px; }
  .main-nav a.is-active { background: var(--brand-soft); }
  .dev-banner { font-size: 16px; padding: 14px var(--content-pad); }
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); align-items: center; max-width: var(--max); background: transparent; }
  .hero > * { margin: 0; }
  .hero h1 { font-size: clamp(70px, 8vw, 100px); }
  .lead { font-size: 22px; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); align-items: start; }
  .split.reverse { grid-template-columns: minmax(320px, .8fr) minmax(0, 1fr); }
  .split.reverse > :first-child { order: 2; }
  .three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-table div { grid-template-columns: 1fr 1fr; }
  .bottom-nav { display: none; }
  .site-footer { padding-bottom: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1180px) {
  :root { --max: 1080px; --content-pad: 28px; }
}

/* Base visual */
.compact-intro p { max-width: 980px; }
.fact-strip {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}
.fact-strip div {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow);
}
.fact-strip strong {
  display: block;
  font-size: clamp(26px, 7vw, 38px);
  line-height: 1;
  letter-spacing: -.05em;
}
.fact-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: clamp(17px, 4.5vw, 19px);
}
.guide-layout {
  display: grid;
  gap: 30px;
}
.toc-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  align-self: start;
}
.toc-card strong { font-size: 20px; }
.toc-card a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.definition-card {
  border-left: 5px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 20px;
  padding: 24px;
  margin: 30px 0;
}
.definition-card strong { font-size: 22px; }
.table-wrap {
  overflow-x: auto;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.compare-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  text-align: left;
  vertical-align: top;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
}
.compare-table th {
  color: var(--ink);
  background: var(--bg-soft);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { color: var(--ink); font-weight: 900; }
.calm-panel h3 { margin-top: 0; }
.cards-section > p { max-width: 900px; }

@media (min-width: 760px) {
  .fact-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
  .toc-card { position: sticky; top: calc(var(--header-offset) + 20px); }
}


/* DESKTOP-FONTS-01: mobile unchanged; desktop hero and section typography softened */
@media (min-width: 760px) {
  .hero h1 {
    font-size: clamp(56px, 5.8vw, 78px);
    max-width: 760px;
    letter-spacing: -.068em;
  }
  .hero-card h2 {
    font-size: clamp(34px, 4.2vw, 54px);
    letter-spacing: -.06em;
  }
  .section-pad h2,
  .page-title {
    font-size: clamp(36px, 4.7vw, 58px);
    max-width: 820px;
    letter-spacing: -.062em;
  }
  .section-pad h3 {
    font-size: clamp(22px, 2.4vw, 28px);
  }
  .lead {
    font-size: clamp(20px, 2vw, 22px);
    line-height: 1.42;
  }
  p {
    font-size: clamp(18px, 1.55vw, 20px);
  }
}

@media (min-width: 1180px) {
  .hero h1 { font-size: 76px; }
  .hero-card h2 { font-size: 52px; }
  .section-pad h2,
  .page-title { font-size: 56px; }
}

/* FULL-WEB-V3-USER-FINAL-01
   - Public copy, not architecture-copy.
   - Desktop typography softened another step. Mobile remains governed by base clamp. */
.product-detail-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
.product-detail-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(26px, 7vw, 38px);
}
.product-detail-card h3 {
  font-size: clamp(30px, 7vw, 42px);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 0 0 12px;
}
.product-short {
  color: var(--ink);
  font-weight: 800;
}
.product-detail-card dl {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.product-detail-card dl div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.product-detail-card dt {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 6px;
}
.product-detail-card dd {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 4.6vw, 20px);
}

@media (min-width: 760px) {
  .hero h1 {
    font-size: clamp(52px, 5.35vw, 72px);
    max-width: 720px;
    letter-spacing: -.064em;
  }
  .hero-card h2 {
    font-size: clamp(32px, 3.85vw, 49px);
    letter-spacing: -.056em;
  }
  .section-pad h2,
  .page-title {
    font-size: clamp(34px, 4.3vw, 53px);
    max-width: 800px;
    letter-spacing: -.058em;
  }
  .lead {
    font-size: clamp(19px, 1.9vw, 21px);
  }
  .product-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-detail-card h3 {
    font-size: clamp(28px, 2.9vw, 36px);
  }
}

@media (min-width: 1180px) {
  .hero h1 { font-size: 70px; }
  .hero-card h2 { font-size: 48px; }
  .section-pad h2,
  .page-title { font-size: 52px; }
}

/* V4 · Product catalog becomes user-facing, not merely strategic scaffolding. */
.section-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(19px, 4.7vw, 22px);
  line-height: 1.55;
}
.section-cta {
  margin-top: 28px;
}
.product-featured-card {
  display: flex;
  flex-direction: column;
}
.product-featured-card .text-link {
  margin-top: auto;
  padding-top: 18px;
}
.product-catalog-grid .card,
.product-mini-card {
  min-height: 100%;
}
.product-mini-card .text-link {
  display: inline-block;
  margin-top: 12px;
}
.soft-purchase {
  box-shadow: none;
}
@media (min-width: 760px) {
  .section-lead {
    font-size: 20px;
  }
}


/* V5 · Spain 2026 products/prices become real user-facing catalog. */
.product-catalog-grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.product-catalog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(24px, 6vw, 32px);
  display: flex;
  flex-direction: column;
}
.product-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.product-code {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
}
.product-catalog-card h3 {
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1;
  letter-spacing: -.055em;
  margin: 0 0 14px;
}
.product-catalog-card p {
  font-size: clamp(18px, 4.6vw, 20px);
}
.price-list-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}
.price-list-mini div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: var(--bg-soft);
}
.price-list-mini dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--brand);
  font-weight: 900;
}
.price-list-mini dd {
  margin: 5px 0 0;
  font-size: 19px;
  color: var(--ink);
  font-weight: 900;
}
.price-table th,
.price-table td {
  white-space: normal;
}
.price-table td:nth-child(1),
.price-table td:nth-child(4),
.price-table td:nth-child(5),
.price-table td:nth-child(6) {
  white-space: nowrap;
}
.full-span { grid-column: 1 / -1; }
.details-block {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
}
.details-block summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
}
.price-panel .trust-table { margin-top: 0; }
.product-points {
  list-style: none;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
}
.product-points li {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  background: #fff;
  color: var(--muted);
  font-size: clamp(18px, 4.7vw, 20px);
}
.product-points li::before {
  content: "✓";
  color: var(--success);
  font-weight: 900;
  margin-right: 10px;
}
@media (min-width: 760px) {
  .product-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-catalog-card h3 { font-size: clamp(28px, 2.9vw, 34px); }
}
@media (min-width: 1120px) {
  .product-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* V6: product video and catalog ordering */
.product-video-section {
  display: grid;
  gap: 22px;
}
.product-video-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #050816;
  box-shadow: var(--shadow);
}
.product-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #050816;
}
.video-copy h2 {
  margin-bottom: 14px;
}
@media (min-width: 980px) {
  .product-video-section {
    grid-template-columns: .82fr 1.18fr;
    align-items: center;
  }
  .product-video-section .microcopy {
    grid-column: 1 / -1;
  }
}

/* Productos final: contenido de usuario, imágenes y vídeo */
.products-hero-final .hero-card { align-self: center; }
.product-choice-card { background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.featured-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.product-catalog-grid.final-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.product-tile { border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow-soft); overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.product-tile.featured { border-color: rgba(37, 83, 235, .18); }
.product-tile-image { display: block; background: #f6f7fb; aspect-ratio: 1 / 1.05; overflow: hidden; }
.product-tile-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.product-tile:hover .product-tile-image img { transform: scale(1.025); }
.product-tile-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product-tile-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.video-pill { background: #fff2d6; color: #865400; }
.product-tile h3 { font-size: clamp(1.22rem, 1vw + 1rem, 1.55rem); line-height: 1.02; margin: 0; }
.product-tile p { color: var(--muted); margin: 0; }
.price-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.price-strip div { background: #f7f8fb; border-radius: 16px; padding: 10px; }
.price-strip dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 800; }
.price-strip dd { margin: 3px 0 0; font-weight: 900; color: var(--ink); }
.product-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.chooser-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.chooser-grid article { border: 1px solid var(--line); background: #fff; border-radius: 24px; padding: 22px; }
.chooser-grid strong { display: block; font-size: 1.1rem; margin-bottom: 8px; }
.chooser-grid p { color: var(--muted); margin: 0 0 12px; }
.chooser-grid a { font-weight: 900; color: var(--brand); }
.product-detail-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(290px, .45fr); gap: 36px; align-items: start; }
.product-detail-copy h1 { font-size: clamp(3.05rem, 5.6vw, 5.8rem); line-height: .92; letter-spacing: -.07em; margin: 0 0 24px; }
.product-side-card { border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: var(--shadow-soft); padding: 26px; position: sticky; top: 105px; }
.product-side-card h2 { font-size: 1.7rem; margin: 16px 0; }
.product-price-box { display: grid; gap: 8px; margin: 0 0 14px; }
.product-price-box div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.product-price-box dt { color: var(--muted); font-weight: 800; }
.product-price-box dd { margin: 0; font-weight: 950; }
.product-detail-layout { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); gap: 42px; align-items: start; }
.product-media-stack { display: grid; gap: 22px; position: sticky; top: 105px; }
.product-image-frame { margin: 0; border: 1px solid var(--line); border-radius: 32px; background: #f7f8fb; overflow: hidden; box-shadow: var(--shadow-soft); }
.product-image-frame img { width: 100%; display: block; }
.product-video-card { border: 1px solid var(--line); border-radius: 32px; background: #fff; box-shadow: var(--shadow-soft); padding: 22px; display: grid; gap: 18px; }
.product-video-card h2 { font-size: clamp(1.6rem, 2vw, 2.4rem); margin: 8px 0; }
.product-video-card video { width: 100%; border-radius: 22px; background: #111; display: block; }
.content-flow { display: grid; gap: 32px; }
.content-flow section { border-bottom: 1px solid var(--line); padding-bottom: 26px; }
.content-flow section:last-child { border-bottom: 0; }
.check-list { display: grid; gap: 12px; padding-left: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 950; }

@media (max-width: 900px) {
  .featured-product-grid,
  .product-catalog-grid.final-catalog,
  .chooser-grid,
  .product-detail-hero,
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-detail-copy h1 { font-size: clamp(3.1rem, 14vw, 5.4rem); }
  .product-side-card,
  .product-media-stack { position: static; }
  .price-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .product-tile-body { padding: 20px; }
  .price-strip { grid-template-columns: 1fr 1fr 1fr; font-size: .9rem; }
  .product-actions .btn { width: 100%; justify-content: center; }
  .product-video-card { padding: 16px; border-radius: 24px; }
  .product-image-frame { border-radius: 24px; }
}


/* Productos: imágenes oficiales 1/2 y hover de escritorio */
.product-tile-image.has-hover { position: relative; }
.product-tile-image.has-hover img { position: absolute; inset: 0; }
.product-tile-image.has-hover .product-img-main { opacity: 1; }
.product-tile-image.has-hover .product-img-hover { opacity: 0; transform: scale(1.01); }
@media (hover: hover) and (pointer: fine) {
  .product-tile:hover .product-img-main { opacity: 0; transform: scale(1.02); }
  .product-tile:hover .product-img-hover { opacity: 1; transform: scale(1.025); }
}
.product-image-frame-secondary { margin-top: 18px; }
.product-image-frame-secondary img { background: #fff; }

/* General pages final v1: engagement, trust, decision architecture */
.magnet-section .section-lead,
.story-steps-section .section-lead,
.proof-section .section-lead,
.faq-section .section-lead {
  max-width: 920px;
}
.magnet-grid,
.compare-cards,
.next-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
.magnet-grid article,
.compare-cards article,
.next-grid a,
.decision-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(22px, 5vw, 30px);
}
.magnet-grid strong,
.next-grid strong,
.decision-card strong {
  display: block;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.magnet-grid p,
.next-grid span,
.decision-card p {
  display: block;
  color: var(--muted);
  margin-top: 12px;
  font-size: clamp(18px, 4.5vw, 20px);
}
.next-grid a {
  text-decoration: none;
}
.story-steps {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
.story-steps article {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5.5vw, 34px);
}
.story-steps span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 950;
  margin-bottom: 18px;
}
.story-steps h3,
.compare-cards h3 {
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1;
  letter-spacing: -.055em;
  margin: 0;
}
.story-steps p,
.compare-cards p {
  color: var(--muted);
  margin-top: 14px;
}
.story-steps a {
  display: inline-flex;
  color: var(--brand);
  font-weight: 900;
  text-decoration: none;
  margin-top: 16px;
}
.decision-card {
  background: #0c1020;
  color: #fff;
  align-self: start;
}
.decision-card p { color: rgba(255,255,255,.78); }
.metric-strip {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
.metric-strip div {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 24px;
  padding: clamp(22px, 5vw, 30px);
  box-shadow: var(--shadow);
}
.metric-strip strong {
  display: block;
  font-size: clamp(44px, 12vw, 68px);
  letter-spacing: -.075em;
  line-height: .9;
  color: var(--brand);
}
.metric-strip span {
  display: block;
  color: var(--muted);
  margin-top: 12px;
  font-weight: 750;
}
.deep-card {
  margin: 34px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 950;
  color: var(--ink);
  font-size: clamp(20px, 5vw, 24px);
  letter-spacing: -.03em;
}
.faq-list p {
  margin-top: 14px;
  font-size: clamp(18px, 4.5vw, 20px);
}
.compact-purchase .trust-table { margin: 0; }
@media (min-width: 760px) {
  .magnet-grid,
  .compare-cards,
  .metric-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .next-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .story-steps h3 { font-size: clamp(24px, 2.5vw, 30px); }
  .story-steps p { font-size: 18px; }
}
@media (max-width: 759px) {
  .story-steps article,
  .magnet-grid article,
  .compare-cards article,
  .next-grid a { border-radius: 22px; }
}


/* Áreas de investigación sobre glutatión */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 34px;
}
.benefit-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 6vw, 34px);
}
.benefit-card h3 { margin-top: 0; }
.benefit-layout { padding-top: 42px; }
.benefit-block {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(24px, 6vw, 38px);
  margin: 34px 0;
  box-shadow: 0 12px 38px rgba(17, 19, 26, .06);
}
.benefit-block h2 { margin-top: 0; }
.calm-block { background: #f7fbff; }
.limit-block { background: #fffdf3; border-color: #f0d986; }
.evidence-link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 28px 0 34px;
}
.evidence-link {
  display: block;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  text-decoration: none;
  background: #fff;
}
.evidence-link span {
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.evidence-link strong { display: block; font-size: 18px; }
@media (min-width: 760px) {
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence-link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Ciencia oficial y páginas de confianza · paquete 20260609 */
.authority-bar,
.wellness-path,
.study-category-grid,
.patent-grid,
.reward-grid,
.athlete-grid,
.source-grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.authority-bar article,
.wellness-path article,
.study-category-card,
.patent-card,
.reward-card,
.athlete-card,
.source-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(22px, 5vw, 30px);
}
.authority-bar strong,
.study-category-card strong,
.patent-card strong,
.reward-card strong,
.athlete-card strong,
.source-card strong {
  display: block;
  font-size: clamp(23px, 5.2vw, 30px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.authority-bar span,
.study-category-card span,
.patent-card span,
.reward-card span,
.source-card span {
  display: block;
  color: var(--muted);
  margin-top: 12px;
  font-size: clamp(17px, 4.5vw, 20px);
}
.study-category-card em,
.patent-card em {
  display: inline-flex;
  font-style: normal;
  color: var(--brand);
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
}
.study-row {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(17,19,26,.055);
  padding: clamp(22px, 5vw, 30px);
  margin-top: 18px;
}
.study-row h3 { margin-top: 0; }
.study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}
.study-meta span {
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
  font-size: 13px;
  padding: 7px 10px;
}
.study-row p { max-width: 920px; }
.section-divider {
  height: 1px;
  background: var(--line);
  max-width: var(--max);
  margin: 0 auto;
}
.visual-proof {
  border: 1px solid rgba(36,75,232,.15);
  background: linear-gradient(135deg, #f8fbff 0%, #fff 54%, #eef3ff 100%);
  border-radius: 30px;
  padding: clamp(26px, 6vw, 44px);
  box-shadow: var(--shadow);
}
.visual-proof h2 { margin-top: 0; }
.living-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
.living-table th,
.living-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  text-align: left;
  color: var(--muted);
  font-size: 18px;
}
.living-table th {
  color: var(--ink);
  background: var(--bg-soft);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.living-table td:first-child { color: var(--ink); font-weight: 900; }
.source-note {
  font-size: 16px;
  color: var(--muted);
  margin-top: 18px;
}
.cta-band {
  border-radius: 30px;
  background: #0c1020;
  color: #fff;
  padding: clamp(28px, 7vw, 48px);
  box-shadow: var(--shadow);
}
.cta-band p { color: rgba(255,255,255,.78); }
.cta-band .btn-secondary { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
@media (min-width: 760px) {
  .authority-bar,
  .wellness-path,
  .reward-grid,
  .source-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .study-category-grid,
  .patent-grid,
  .athlete-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .study-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* Hotfix ciencia: índice completo de estudios Immunocal */
.evidence-metrics {
  grid-template-columns: 1fr;
}
.study-jump-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0 18px;
  margin: 26px 0 18px;
  scrollbar-width: none;
}
.study-jump-nav::-webkit-scrollbar { display: none; }
.study-jump-nav a {
  flex: 0 0 auto;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(17,19,26,.05);
}
.study-jump-nav span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
}
.study-group-block {
  border-top: 1px solid var(--line);
  padding-top: clamp(34px, 8vw, 56px);
  margin-top: clamp(34px, 8vw, 58px);
}
.study-group-head {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}
.study-group-head h3 {
  font-size: clamp(34px, 8vw, 48px);
  line-height: 1;
  letter-spacing: -.06em;
  margin: 0;
}
.study-group-head p {
  max-width: 820px;
}
.study-group-head > strong {
  width: fit-content;
  border-radius: 999px;
  padding: 9px 13px;
  background: #e7fff3;
  color: var(--success);
  font-size: 15px;
}
.study-list-full {
  display: grid;
  gap: 14px;
}
.study-row-compact {
  margin-top: 0;
}
.study-row-compact h3 {
  font-size: clamp(22px, 5.2vw, 28px);
  letter-spacing: -.035em;
  line-height: 1.12;
}
.study-row-compact p {
  font-size: clamp(17px, 4.4vw, 19px);
}
@media (min-width: 760px) {
  .evidence-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .study-list-full { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Hotfix estudios: fichas propias por publicación, sin obligar a abrir el PDF */
.study-detail-layout {
  display: grid;
  gap: 22px;
}
.study-detail-main h2 { margin-top: 34px; }
.study-detail-main h2:first-of-type { margin-top: 0; }
.study-insight-box {
  margin: 28px 0;
  border-radius: 22px;
  border: 1px solid rgba(36,75,232,.18);
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 70%);
  padding: clamp(20px, 5vw, 28px);
}
.study-insight-box strong {
  display: block;
  font-size: clamp(22px, 5.2vw, 28px);
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--ink);
}
.study-detail-aside {
  display: grid;
  gap: 18px;
  align-self: start;
}
.study-facts-card .trust-table { margin-top: 8px; }
.compact-table div { grid-template-columns: 1fr; }
.full-button { width: 100%; margin-top: 18px; }
.study-row .text-link,
.study-row-compact .text-link { margin-top: 18px; }
@media (min-width: 900px) {
  .study-detail-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
  }
  .study-detail-aside { position: sticky; top: calc(var(--header-offset) + 22px); }
}


/* NAV-PROFANOS-01 · Guided navigation and clearer visitor paths */
.guided-route {
  padding-top: clamp(34px, 8vw, 58px);
  padding-bottom: clamp(34px, 8vw, 58px);
}
.guided-route-head {
  max-width: 860px;
}
.guided-route-head h2 {
  font-size: clamp(34px, 8vw, 48px);
}
.guided-route-head p {
  max-width: 760px;
}
.route-steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.route-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 16px;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.route-step > span {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 950;
}
.route-step strong {
  font-size: 19px;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.route-step small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}
.route-step.is-current {
  border-color: rgba(36, 75, 232, .45);
  background: linear-gradient(135deg, #eef2ff 0%, #fff 100%);
}
.route-step.is-current > span {
  background: var(--brand);
  color: #fff;
}
.path-grid,
.topic-link-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.path-card,
.topic-link-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 22px;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.path-card strong,
.topic-link-card strong {
  font-size: clamp(23px, 5.6vw, 28px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.path-card span,
.topic-link-card span {
  color: var(--muted);
  font-size: clamp(17px, 4.4vw, 19px);
}
.path-card em,
.topic-link-card small {
  color: var(--brand);
  font-style: normal;
  font-weight: 950;
  letter-spacing: .02em;
}
.next-action-band {
  display: grid;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #f8fbff 0%, #fff 100%);
  max-width: none;
}
.next-action-band > * {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}
.footer-map {
  grid-template-columns: 1fr;
}
.footer-links.vertical {
  display: grid;
  gap: 8px;
}
.footer-links.vertical a {
  width: fit-content;
}

@media (min-width: 760px) {
  .route-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .route-step { grid-template-columns: 1fr; align-content: start; }
  .route-step > span { grid-row: auto; }
  .path-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .topic-link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bottom-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bottom-nav a { font-size: 16px; }
  .footer-map { grid-template-columns: 1.25fr 1fr 1fr 1fr; }
  .next-action-band { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}

@media (max-width: 380px) {
  .bottom-nav a { font-size: 14px; }
  .bottom-nav { left: 12px; right: 12px; }
}

/* Footer visual y fichas científicas - 2026-06-10 */
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}
.footer-social a {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f47f20;
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(244,127,32,.24);
}
.footer-social span { line-height: 1; font-size: 17px; letter-spacing: -.04em; }
.footer-bottom {
  max-width: var(--max);
  margin: 34px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  text-align: center;
}
.footer-bottom p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 15px;
}
.footer-bottom strong { color: #fff; }
.footer-disclaimer { font-size: 14px !important; }

.editorial-visual-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  box-shadow: var(--shadow);
}
.editorial-visual-card img {
  display: block;
  width: 100%;
  height: auto;
}
.scientist-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
.scientist-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 16px;
}
.scientist-avatar {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-soft), #eef4ff);
  color: var(--brand);
  font-weight: 950;
  font-size: 24px;
  letter-spacing: -.06em;
}
.scientist-card h3 { margin: 0; font-size: clamp(24px, 5.8vw, 32px); line-height: 1.05; letter-spacing: -.045em; }
.scientist-card p { margin: 0; color: var(--muted); font-size: clamp(17px, 4.4vw, 19px); }
.scientist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scientist-meta span {
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
  padding: 7px 10px;
  font-size: 13px;
}
.timeline-lite {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.timeline-lite article {
  border-left: 4px solid var(--brand);
  padding: 4px 0 4px 18px;
}
.timeline-lite strong { display: block; font-size: 20px; }
.timeline-lite span { color: var(--muted); font-size: 17px; }
.visual-note {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
}

@media (min-width: 760px) {
  .scientist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scientist-card.featured { grid-template-columns: 90px minmax(0, 1fr); align-items: start; }
  .scientist-card.featured .scientist-avatar { width: 90px; height: 90px; border-radius: 30px; }
}

/* Científicos · retratos reales aportados por +Glutation */
.scientist-photo {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
  background: #fff;
}
.scientist-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scientist-card.featured .scientist-photo {
  width: 104px;
  height: 104px;
}
.scientist-card.compact {
  align-content: start;
}
@media (min-width: 760px) {
  .scientist-card.featured { grid-template-columns: 104px minmax(0, 1fr); }
}

/* Hotfix 2026-06-10 · científicos: retratos proporcionados y tarjetas homogéneas */
.scientist-grid-balanced {
  align-items: stretch;
}
.scientist-card.scientist-profile {
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.scientist-card.scientist-profile .scientist-photo,
.scientist-card.scientist-profile .scientist-avatar,
.scientist-card.featured .scientist-photo,
.scientist-card.compact .scientist-photo {
  width: 86px !important;
  height: 86px !important;
  border-radius: 999px;
  grid-column: 1;
  grid-row: 1;
}
.scientist-card.scientist-profile .scientist-photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top;
}
.scientist-card.scientist-profile .scientist-copy {
  min-width: 0;
}
.scientist-card.scientist-profile .scientist-copy h3 {
  margin-top: 6px;
}
.scientist-card.scientist-profile .text-link {
  display: inline-block;
  margin-top: 12px;
}
@media (min-width: 760px) {
  .scientist-card.scientist-profile {
    grid-template-columns: 104px minmax(0, 1fr) !important;
  }
  .scientist-card.scientist-profile .scientist-photo,
  .scientist-card.scientist-profile .scientist-avatar,
  .scientist-card.featured .scientist-photo,
  .scientist-card.compact .scientist-photo {
    width: 104px !important;
    height: 104px !important;
  }
}
@media (max-width: 520px) {
  .scientist-card.scientist-profile {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }
  .scientist-card.scientist-profile .scientist-photo,
  .scientist-card.scientist-profile .scientist-avatar {
    width: 72px !important;
    height: 72px !important;
  }
  .scientist-card.scientist-profile .scientist-meta {
    gap: 6px;
  }
  .scientist-card.scientist-profile .scientist-meta span {
    font-size: 12px;
    padding: 5px 8px;
  }
}

/* Hotfix 2026-06-10 · científicos: historia ampliada y lectura editorial */
.scientist-bio-list {
  display: grid;
  gap: 22px;
}
.scientist-bio-list > h2,
.scientist-bio-list > .eyebrow {
  margin-bottom: 0;
}
.scientist-bio-panel {
  display: grid;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
}
.scientist-bio-panel h3 {
  margin: 0 0 12px;
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.05;
  letter-spacing: -.045em;
}
.scientist-bio-panel p {
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.65;
  margin: 0 0 14px;
}
.scientist-bio-panel p:last-child { margin-bottom: 0; }
.scientist-bio-photo {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .12);
}
.scientist-bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.scientist-bio-panel--no-photo .scientist-avatar {
  width: 112px;
  height: 112px;
  border-radius: 999px;
}
@media (min-width: 760px) {
  .scientist-bio-panel {
    grid-template-columns: 132px minmax(0, 1fr);
    padding: 30px;
    align-items: start;
  }
  .scientist-bio-photo,
  .scientist-bio-panel--no-photo .scientist-avatar {
    width: 118px;
    height: 118px;
  }
}
@media (max-width: 520px) {
  .scientist-bio-panel {
    padding: 20px;
  }
  .scientist-bio-photo,
  .scientist-bio-panel--no-photo .scientist-avatar {
    width: 86px;
    height: 86px;
  }
}

/* Hotfix 2026-06-10 · científicos: fotos proporcionadas y navegación interna */
.scientist-anchor-section {
  padding-top: 34px;
}
.scientist-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.scientist-anchor-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}
.scientist-anchor-nav a:hover {
  border-color: rgba(37, 99, 235, .35);
  color: var(--brand);
  background: var(--brand-soft);
}
.scientist-bio-panel {
  scroll-margin-top: 120px;
}
.scientist-bio-panel .scientist-bio-photo,
.scientist-bio-panel .scientist-avatar {
  width: 96px !important;
  height: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  min-height: 96px !important;
  max-height: 96px !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  display: block !important;
  align-self: start !important;
}
.scientist-bio-panel .scientist-bio-photo img {
  display: block !important;
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 999px !important;
}
.scientist-bio-panel .scientist-avatar {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
@media (min-width: 760px) {
  .scientist-bio-panel {
    grid-template-columns: 112px minmax(0, 1fr) !important;
  }
  .scientist-bio-panel .scientist-bio-photo,
  .scientist-bio-panel .scientist-avatar,
  .scientist-bio-panel .scientist-bio-photo img {
    width: 104px !important;
    height: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    min-height: 104px !important;
    max-height: 104px !important;
  }
}
@media (max-width: 520px) {
  .scientist-anchor-nav a {
    width: 100%;
    justify-content: flex-start;
  }
  .scientist-bio-panel .scientist-bio-photo,
  .scientist-bio-panel .scientist-avatar,
  .scientist-bio-panel .scientist-bio-photo img {
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    min-height: 78px !important;
    max-height: 78px !important;
  }
}


/* Logo + favicon refresh · 2026-06-10 */
.brand-logo-modern { filter: none; }
.brand-market strong { display: none; }
@media (max-width: 640px) {
  .brand { gap: 10px; align-items: center; }
  .brand-logo-modern { width: min(62vw, 250px); max-height: 54px; }
  .brand-market small { font-size: 13px; }
}
@media (max-width: 390px) {
  .brand-logo-modern { width: min(58vw, 220px); }
}

/* Hispanic market selector · header compact · 2026-06-12 */
.market-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
}
.market-switcher label {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.market-switcher select {
  max-width: 190px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 30px 7px 11px;
  font: inherit;
  font-weight: 800;
  color: var(--ink);
  background: #fff;
}
.market-switcher button {
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
}
.market-switcher-header {
  margin-left: auto;
}
@media (min-width: 760px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr); }
  .header-brand-row { max-width: none; margin: 0; gap: 18px; }
  .main-nav { grid-column: 2; }
  .market-switcher-header select { max-width: 180px; }
}
@media (max-width: 640px) {
  .header-brand-row { gap: 10px; align-items: center; margin-bottom: 12px; }
  .market-switcher-header { gap: 6px; }
  .market-switcher-header label { display: none; }
  .market-switcher-header select {
    max-width: 118px;
    padding: 7px 25px 7px 9px;
    font-size: 14px;
  }
}
@media (max-width: 380px) {
  .market-switcher-header select { max-width: 104px; font-size: 13px; }
}

/* MOBILE-MENU-OVERLAP-FIX-05 · 2026-06-13
   Recuperado sobre main.css estable. Corrige cabecera en móvil vertical/horizontal y oculta CTA flotante en móvil. */
@media (max-width: 979px) {
  :root { --header-offset: 146px; }

  .site-header {
    display: block !important;
    padding: 12px var(--content-pad) 10px !important;
  }

  .header-brand-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    max-width: var(--max) !important;
    margin: 0 auto 10px !important;
  }

  .header-brand-row .brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .brand-logo-modern {
    width: min(54vw, 250px) !important;
    max-height: 56px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  .market-switcher-header {
    flex: 0 0 auto !important;
    margin-left: auto !important;
    gap: 6px !important;
  }

  .market-switcher-header label {
    display: none !important;
  }

  .market-switcher-header select {
    max-width: 150px !important;
    min-width: 112px !important;
    padding: 8px 28px 8px 10px !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  .main-nav {
    grid-column: auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    max-width: var(--max) !important;
    margin: 0 auto !important;
    padding: 0 0 4px !important;
    justify-content: flex-start !important;
  }

  .main-nav::-webkit-scrollbar { display: none !important; }

  .main-nav a {
    flex: 0 0 auto !important;
    border: 1px solid var(--line) !important;
    background: #fff !important;
    color: var(--muted) !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    padding: 10px 14px !important;
    text-decoration: none !important;
  }

  .main-nav a.is-active {
    color: var(--ink) !important;
    background: var(--brand-soft) !important;
  }

  .floating-contact-cta {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(142px + env(safe-area-inset-bottom)) !important;
  }

  .bottom-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    left: 10px !important;
    right: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    padding: 8px !important;
    border-radius: 24px !important;
  }

  .bottom-nav a {
    min-width: 0 !important;
    min-height: 50px !important;
    padding: 10px 4px !important;
    font-size: 13px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }
}

@media (orientation: landscape) and (max-width: 979px) {
  :root { --header-offset: 118px; }

  .site-header {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .header-brand-row {
    margin-bottom: 6px !important;
  }

  .brand-logo-modern {
    width: min(34vw, 220px) !important;
    max-height: 44px !important;
  }

  .market-switcher-header select {
    max-width: 132px !important;
    font-size: 13px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }

  .main-nav a {
    font-size: 13px !important;
    padding: 8px 11px !important;
  }
}

/* MOBILE-CTA-NAV-RESTORE-06 · 2026-06-13
   Recupera Consulta y la bottom-nav móvil sin volver a montar los botones. */
@media (max-width: 767px) {
  .floating-contact-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    right: 16px !important;
    bottom: calc(92px + env(safe-area-inset-bottom)) !important;
    z-index: 42 !important;
    min-height: 54px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
  }
}

@media (orientation: landscape) and (max-width: 979px) {
  body {
    padding-bottom: calc(86px + env(safe-area-inset-bottom)) !important;
  }

  .bottom-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    left: 18px !important;
    right: auto !important;
    width: min(560px, calc(100vw - 190px)) !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    gap: 6px !important;
    padding: 8px !important;
    border-radius: 22px !important;
    z-index: 36 !important;
  }

  .bottom-nav a {
    min-height: 44px !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .floating-contact-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    right: 18px !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    z-index: 42 !important;
    min-height: 50px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
  }
}
