/* HuellaSenior · sistema radical para páginas interiores
   Capa progresiva: conserva el HTML, SEO, enlaces y contenido existentes. */
:root {
  --hs-forest-950: #032d25;
  --hs-forest-900: #053e33;
  --hs-forest-800: #075243;
  --hs-forest-700: #09634f;
  --hs-leaf-600: #167153;
  --hs-ink: #102f27;
  --hs-copy: #344f46;
  --hs-muted: #52685f;
  --hs-cream: #faf7f0;
  --hs-paper: #fffdf8;
  --hs-mist: #edf5ef;
  --hs-sage: #dcebdd;
  --hs-line: #d6e1d8;
  --hs-warm: #f7e7d5;
  --hs-amazon: #ad4300;
  --hs-amazon-hover: #873400;
  --hs-zoo: #12652f;
  --hs-zoo-hover: #0a4e23;
  --hs-focus: #d66400;
  --hs-shadow: 0 20px 60px rgba(10, 49, 38, .10);
  --hs-shadow-soft: 0 10px 32px rgba(10, 49, 38, .075);
  --hs-radius-xl: 34px;
  --hs-radius-lg: 24px;
  --hs-radius-md: 16px;
}

html { scroll-behavior: smooth; }
body.hs-inner-page,
body.hs-inner-page * { box-sizing: border-box; }
body.hs-inner-page {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 8% 4%, rgba(225, 240, 225, .72), transparent 30rem),
    radial-gradient(circle at 94% 16%, rgba(250, 226, 196, .48), transparent 32rem),
    var(--hs-cream);
  color: var(--hs-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
body.hs-inner-page img { display: block; max-width: 100%; }
body.hs-inner-page p,
body.hs-inner-page li,
body.hs-inner-page td { color: var(--hs-copy); }
body.hs-inner-page small,
body.hs-inner-page .meta,
body.hs-inner-page .health-meta { color: var(--hs-muted); }
body.hs-inner-page a { color: var(--hs-forest-700); text-underline-offset: .18em; }
body.hs-inner-page a:hover { color: var(--hs-forest-950); }
body.hs-inner-page :where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--hs-focus) !important;
  outline-offset: 4px !important;
}
body.hs-inner-page :where(h1, h2, h3) {
  color: var(--hs-ink);
  font-family: Georgia, "Times New Roman", serif;
  text-wrap: balance;
}
body.hs-inner-page h1 { letter-spacing: -.045em; line-height: .98; }
body.hs-inner-page h2 { letter-spacing: -.025em; line-height: 1.08; }
body.hs-inner-page h3 { line-height: 1.18; }
body.hs-inner-page :where(h1, h2, h3, h4) { min-width: 0; overflow-wrap: anywhere; }
.cluster-species-head > * { min-width: 0; }

/* La cabecera compartida sustituye visualmente las variantes antiguas. */
body.hs-inner-page > .hs-utility,
body.hs-inner-page > header:not(.hs-inner-header),
body.hs-inner-page > :where(.skip, .health-skip, .cluster-skip) { display: none !important; }
.hs-inner-skip {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 12px;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  border-radius: 12px;
  background: #fff;
  color: var(--hs-forest-950) !important;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--hs-shadow);
}
.hs-inner-skip:focus { transform: translateY(0); }
.hs-inner-topbar {
  min-height: 34px;
  background: var(--hs-forest-950);
  color: #fff;
  font-size: .76rem;
}
.hs-inner-topbar__in {
  width: min(1180px, calc(100% - 48px));
  min-height: 34px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.hs-inner-topbar p { margin: 0; color: #fff !important; font-weight: 680; }
.hs-inner-topbar nav { display: flex; gap: 20px; }
.hs-inner-topbar a { color: #fff !important; font-weight: 700; text-decoration: none; }
.hs-inner-header {
  position: sticky;
  z-index: 900;
  top: 0;
  border-bottom: 1px solid rgba(13, 74, 59, .12);
  background: rgba(255, 253, 248, .94);
  color: var(--hs-ink);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 8px 30px rgba(7, 55, 43, .035);
}
.hs-inner-header__main {
  width: min(1180px, calc(100% - 48px));
  min-height: 88px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}
.hs-inner-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--hs-ink) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.28rem, 2.2vw, 1.72rem);
  font-weight: 800;
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
}
.hs-inner-brand img {
  width: 49px;
  height: 49px;
  padding: 8px;
  border-radius: 50%;
  background: var(--hs-forest-950);
  box-shadow: 0 10px 24px rgba(3, 45, 37, .19);
}
.hs-inner-species {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--hs-line);
  border-radius: 999px;
  background: #f0f2eb;
}
.hs-inner-species a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 17px;
  border-radius: 999px;
  color: var(--hs-ink) !important;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.hs-inner-species a[aria-current="page"] {
  background: var(--hs-forest-950);
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(3, 45, 37, .18);
}
.hs-inner-primary-nav { min-width: 0; display: flex; justify-content: flex-end; gap: 4px; }
.hs-inner-primary-nav a {
  padding: 9px 10px;
  border-radius: 999px;
  color: var(--hs-ink) !important;
  font-size: .82rem;
  font-weight: 770;
  text-decoration: none;
  white-space: nowrap;
}
.hs-inner-primary-nav a:hover,
.hs-inner-primary-nav a[aria-current="page"] { background: var(--hs-mist); color: var(--hs-forest-800) !important; }
.hs-inner-menu-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--hs-line);
  border-radius: 50%;
  background: var(--hs-paper);
  color: var(--hs-ink);
  cursor: pointer;
}
.hs-inner-menu-button span,
.hs-inner-menu-button::before,
.hs-inner-menu-button::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}
.hs-inner-menu-button::before { transform: translate(-50%, -50%) translateY(-6px); }
.hs-inner-menu-button::after { transform: translate(-50%, -50%) translateY(6px); }
.hs-inner-menu-button[aria-expanded="true"] span { opacity: 0; }
.hs-inner-menu-button[aria-expanded="true"]::before { transform: translate(-50%, -50%) rotate(45deg); }
.hs-inner-menu-button[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(-45deg); }
.hs-inner-mobile-nav {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.hs-inner-mobile-nav[hidden] { display: none !important; }
.hs-inner-mobile-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--hs-line);
  border-radius: 13px;
  background: #fff;
  color: var(--hs-ink) !important;
  font-weight: 780;
  text-decoration: none;
  text-align: center;
}

/* Ritmo de lectura y anchos consistentes. */
body.hs-inner-page :where(.wrap, .cluster-wrap, .health-wrap) {
  width: min(1180px, calc(100% - 48px)) !important;
  margin-inline: auto;
}
body.hs-inner-page main { padding: 24px 0 80px; }
.hs-reading-progress {
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #e66d09, #149265);
  box-shadow: 0 1px 6px rgba(8, 80, 60, .25);
  pointer-events: none;
}
.seo-cluster-breadcrumb,
.cluster-breadcrumb,
.faq-breadcrumb {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  color: var(--hs-muted) !important;
  font-size: .78rem !important;
}
.seo-cluster-breadcrumb a,
.cluster-breadcrumb a,
.faq-breadcrumb a { color: var(--hs-forest-700) !important; font-weight: 760; text-decoration: none; }
body.hs-inner-page .seo-cluster-breadcrumb + .faq-breadcrumb { display: none !important; }

/* Héroes editoriales: una portada visual para cada intención. */
body.hs-inner-page :where(.cluster-hero, .health-hero, main > .hero, .faq-hub-hero) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: stretch;
  gap: 0;
  min-height: 430px;
  margin-top: 0 !important;
  margin-bottom: 28px !important;
  padding: 0 !important;
  border: 1px solid rgba(10, 78, 60, .12);
  border-radius: var(--hs-radius-xl) !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(255,255,255,.95), transparent 44%),
    linear-gradient(120deg, #f7efe2 0%, #fbf8f1 65%, #e4eee1 100%);
  box-shadow: var(--hs-shadow);
}
body.hs-inner-page :where(.cluster-hero, .health-hero, main > .hero) > :first-child {
  align-self: center;
  min-width: 0;
  padding: clamp(34px, 5vw, 72px);
}
body.hs-inner-page :where(.cluster-hero, .health-hero, main > .hero) > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}
body.hs-inner-page :where(.cluster-hero, .health-hero, main > .hero) h1,
body.hs-inner-page .faq-hub-hero h1 {
  max-width: 14ch;
  margin: 10px 0 20px !important;
  font-size: clamp(2.55rem, 5.2vw, 4.9rem) !important;
}
body.hs-inner-page :where(.cluster-lead, .health-lead, .hero .lead, .hero > div > p:not(.meta), .faq-hub-hero .lead) {
  max-width: 60ch;
  color: var(--hs-copy) !important;
  font-size: clamp(1rem, 1.6vw, 1.15rem) !important;
  line-height: 1.68 !important;
}
body.hs-inner-page :where(.cluster-kicker, .health-kicker, .eyebrow) {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--hs-forest-700) !important;
  font-size: .72rem !important;
  font-weight: 850 !important;
  letter-spacing: .1em !important;
}
body.hs-inner-page :where(.cluster-kicker, .health-kicker, .eyebrow)::before {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hs-leaf-600);
  box-shadow: 0 0 0 5px rgba(22, 113, 83, .10);
  content: "";
}
.faq-hub-hero {
  min-height: 350px !important;
  display: block !important;
  padding: clamp(36px, 6vw, 78px) !important;
}
.faq-hub-hero::after {
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -100px;
  width: 330px;
  height: 330px;
  border: 70px solid rgba(17, 108, 78, .10);
  border-radius: 50%;
  content: "";
}
.cluster-jump,
.hero-pills,
.stage-nav {
  display: flex !important;
  flex-wrap: wrap;
  gap: 9px !important;
  margin-top: 24px !important;
}
.cluster-jump a,
.stage-nav a,
.hero-pills span {
  min-height: 42px;
  display: inline-flex !important;
  align-items: center;
  padding: 8px 16px !important;
  border: 1px solid var(--hs-line) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.78) !important;
  color: var(--hs-ink) !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.cluster-jump a:first-child,
.stage-nav a[aria-current="page"] {
  border-color: var(--hs-forest-900) !important;
  background: var(--hs-forest-900) !important;
  color: #fff !important;
}

/* Bloques de contenido y jerarquía editorial. */
body.hs-inner-page :where(.cluster-intro, .cluster-path, .cluster-species, .cluster-faq, .cluster-more,
  .guide-layout, .health-layout, .question-section, .calculator-shell, .results, .method, .faq,
  main > .article, main > article.article, .answer, .health-answer, .direct-answer, .sources,
  .health-related, .related-cluster, .seo-cluster-related, .products) {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}
.cluster-intro,
.cluster-path,
.cluster-species,
.cluster-faq,
.cluster-more,
.question-section,
.calculator-shell,
.results,
.method,
.faq,
main > .article,
main > article.article,
.answer,
.health-answer,
.direct-answer,
.sources,
.health-related,
.related-cluster,
.seo-cluster-related,
.products {
  padding: clamp(24px, 4vw, 48px) !important;
  border: 1px solid var(--hs-line) !important;
  border-radius: var(--hs-radius-lg) !important;
  background: rgba(255, 253, 248, .94) !important;
  box-shadow: var(--hs-shadow-soft) !important;
}
.cluster-intro { display: grid !important; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr) !important; gap: clamp(28px, 6vw, 80px) !important; }
.cluster-intro-copy { max-width: 72ch; }
.cluster-path { background: var(--hs-forest-950) !important; }
.cluster-path :where(h2, p, strong, span) { color: #fff !important; }
.cluster-path > p { color: #dbece5 !important; }
.cluster-path-grid,
.cluster-grid,
.product-grid,
.question-grid,
.related-grid,
.method-grid,
.insight-grid,
.health-check,
.check-grid,
.compare-grid,
.choice-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px !important;
}
.cluster-path-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; }
.cluster-path-grid > div {
  padding: 18px !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.07) !important;
}
.cluster-path-grid strong { display: block; margin-bottom: 8px; }
.cluster-species-head,
.question-section-head {
  display: flex !important;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px !important;
}
.cluster-species-head > div:first-child { max-width: 68ch; }
.cluster-stat {
  flex: 0 0 auto;
  padding: 13px 17px !important;
  border: 1px solid var(--hs-line) !important;
  border-radius: 14px !important;
  background: var(--hs-mist) !important;
  color: var(--hs-copy) !important;
  font-size: .78rem !important;
}
.cluster-stat strong { display: block; color: var(--hs-forest-800) !important; }
.cluster-card,
.product,
.question-card,
.choice,
.method-grid > article,
.insight-grid > article,
.check-card,
.health-check > div,
.quick-check > div {
  overflow: hidden;
  border: 1px solid var(--hs-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  color: var(--hs-ink) !important;
  box-shadow: 0 8px 24px rgba(9, 63, 48, .055) !important;
}
.cluster-card {
  display: grid !important;
  grid-template-rows: auto auto auto 1fr;
  padding: 0 0 18px !important;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cluster-card:hover { transform: translateY(-4px); border-color: #9fbcaa !important; box-shadow: 0 16px 34px rgba(9,63,48,.10) !important; }
.cluster-card img,
.product > img,
.choice > img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.cluster-card :where(span, strong, small) { margin-inline: 18px !important; }
.cluster-card span { margin-top: 15px !important; color: var(--hs-forest-700) !important; font-size: .7rem !important; font-weight: 850 !important; letter-spacing: .07em; text-transform: uppercase; }
.cluster-card strong { margin-top: 6px !important; color: var(--hs-ink) !important; font-family: Georgia, serif; font-size: 1.12rem !important; line-height: 1.2; }
.cluster-card small { margin-top: 8px !important; color: var(--hs-copy) !important; line-height: 1.5; }
.question-card { display: grid !important; grid-template-columns: auto minmax(0, 1fr) !important; gap: 15px !important; padding: 20px !important; }
.question-card > span {
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: var(--hs-mist); color: var(--hs-forest-700) !important; font-weight: 900;
}
.question-card h3 { margin-top: 3px !important; }
.question-card a { font-weight: 820 !important; text-decoration: none; }
.product { padding: 0 0 20px !important; }
.product > :not(img),
.choice > :not(img) { margin-inline: 20px !important; }
.product h3,
.choice h3 { margin-top: 18px !important; }

/* Artículos largos: aire, lectura y navegación lateral. */
.guide-layout,
.health-layout { display: grid !important; grid-template-columns: minmax(0, 1fr) 280px !important; align-items: start; gap: 28px !important; }
.guide-main,
.health-article { min-width: 0; }
.guide-main > section,
.health-article,
.health-side-card,
.guide-toc {
  padding: clamp(22px, 3vw, 36px) !important;
  border: 1px solid var(--hs-line) !important;
  border-radius: var(--hs-radius-lg) !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: var(--hs-shadow-soft) !important;
}
.guide-main > section + section { margin-top: 18px; }
.guide-main h2,
.health-article h2 { margin: 0 0 14px !important; font-size: clamp(1.55rem, 3vw, 2.15rem) !important; }
.guide-main h2:not(:first-child),
.health-article h2:not(:first-child) { margin-top: 34px !important; }
.guide-toc,
.health-side { position: sticky !important; top: 118px !important; }
.guide-toc strong { display: block; margin-bottom: 12px; color: var(--hs-forest-800); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.guide-toc nav { display: grid; gap: 4px; }
.guide-toc a { padding: 8px 10px; border-radius: 10px; color: var(--hs-copy) !important; font-size: .84rem; font-weight: 720; text-decoration: none; }
.guide-toc a:hover { background: var(--hs-mist); color: var(--hs-forest-800) !important; }
.health-side { display: grid; gap: 14px; }
.health-side-card h2 { font-size: 1.15rem !important; }
.check-card,
.health-check > div,
.quick-check > div { padding: 18px !important; }
.check-card strong,
.health-check strong,
.quick-check strong { display: block; margin-bottom: 6px; color: var(--hs-forest-800) !important; }
.answer,
.health-answer,
.direct-answer {
  border-color: #b8d5bf !important;
  background: linear-gradient(135deg, #e9f5ea, #fffdf8) !important;
  color: var(--hs-copy) !important;
  font-size: 1.02rem;
}
.answer strong,
.health-answer strong,
.direct-answer strong { display: block; margin-bottom: 6px; color: var(--hs-forest-800) !important; }
.alert,
.health-alert {
  margin-block: 22px !important;
  padding: 19px 20px !important;
  border: 1px solid #e5b48d !important;
  border-left: 5px solid #bd4f13 !important;
  border-radius: 14px !important;
  background: #fff5ea !important;
  color: #57301f !important;
}
.alert :where(strong, p),
.health-alert :where(strong, p) { color: #57301f !important; }
blockquote { margin-inline: 0; padding: 18px 22px; border-left: 4px solid var(--hs-leaf-600); background: var(--hs-mist); color: var(--hs-copy); }

/* Afiliación comercial clara, atractiva y con contraste AA. */
.cluster-shop,
.health-shop,
.article-shop,
.shop {
  margin-top: 24px !important;
  padding: clamp(22px, 3vw, 32px) !important;
  border: 1px solid #c9dccb !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #edf6ed 0%, #fff9ef 100%) !important;
  box-shadow: var(--hs-shadow-soft) !important;
}
.cluster-shop { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); align-items: center; gap: 24px !important; }
.cluster-shop-links,
.health-shop-links,
.shop-grid { display: grid !important; gap: 9px !important; }
.affiliate-choice {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px !important;
  margin-top: 14px !important;
}
a.affiliate-store-link,
.cluster-shop-links > a,
.health-shop-links > a,
.article-shop > a {
  min-width: 0;
  min-height: 50px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 11px 15px !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-size: .82rem !important;
  font-weight: 840 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 18px rgba(8, 48, 37, .12);
}
a.affiliate-store-link--amazon,
.cluster-shop-links > a[href*="amazon"],
.health-shop-links > a[href*="amazon"],
.article-shop > a[href*="amazon"] { background: var(--hs-amazon) !important; }
a.affiliate-store-link--amazon:hover,
.cluster-shop-links > a[href*="amazon"]:hover,
.health-shop-links > a[href*="amazon"]:hover,
.article-shop > a[href*="amazon"]:hover { background: var(--hs-amazon-hover) !important; }
a.affiliate-store-link--zooplus,
.cluster-shop-links > a[href*="awin1"],
.health-shop-links > a[href*="awin1"],
.article-shop > a[href*="awin1"] { background: var(--hs-zoo) !important; }
a.affiliate-store-link--zooplus:hover,
.cluster-shop-links > a[href*="awin1"]:hover,
.health-shop-links > a[href*="awin1"]:hover,
.article-shop > a[href*="awin1"]:hover { background: var(--hs-zoo-hover) !important; }
.affiliate-link-label { display: none !important; }
.affiliate-arrow { font-size: 1rem; }
.affiliate-choice-disclosure {
  grid-column: 1 / -1;
  display: block;
  padding: 8px 11px;
  border-radius: 10px;
  background: rgba(255,255,255,.72);
  color: #40584f !important;
  font-size: .69rem !important;
  line-height: 1.45;
}
.affiliate-card-shell { min-width: 0 !important; }
.affiliate-note,
.health-disclosure { color: var(--hs-muted) !important; font-size: .75rem !important; }

/* FAQ, tablas, formularios y herramientas. */
body.hs-inner-page details {
  margin: 10px 0 !important;
  border: 1px solid var(--hs-line) !important;
  border-radius: 15px !important;
  background: #fff !important;
  overflow: hidden;
}
body.hs-inner-page summary {
  min-height: 52px;
  padding: 14px 50px 14px 18px !important;
  color: var(--hs-ink) !important;
  font-weight: 820 !important;
  cursor: pointer;
}
body.hs-inner-page details > :not(summary) { margin-inline: 18px; }
body.hs-inner-page details[open] { border-color: #9fbda9 !important; box-shadow: 0 8px 20px rgba(8,62,46,.06); }
body.hs-inner-page table {
  width: 100%;
  min-width: max-content;
  display: table;
  border-collapse: collapse;
  border: 1px solid var(--hs-line);
  border-radius: 14px;
  background: #fff;
}
.hs-table-scroll { max-width: 100%; overflow-x: auto; border-radius: 14px; -webkit-overflow-scrolling: touch; }
body.hs-inner-page :where(th, td) { min-width: 150px; padding: 13px 15px !important; border-bottom: 1px solid var(--hs-line) !important; text-align: left; vertical-align: top; }
body.hs-inner-page th { background: var(--hs-mist) !important; color: var(--hs-ink) !important; }
body.hs-inner-page :where(input:not([type="checkbox"]):not([type="radio"]), textarea, select) {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #9bb1a7 !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--hs-ink) !important;
  font: inherit;
}
body.hs-inner-page textarea { min-height: 150px; resize: vertical; }
body.hs-inner-page label { color: var(--hs-ink) !important; font-weight: 760; }
body.hs-inner-page .hc-category small { font-weight: 400; }
body.hs-inner-page :where(button, .button, .back) { min-height: 44px; }
body.hs-inner-page .button,
body.hs-inner-page button[type="submit"] {
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--hs-forest-900) !important;
  color: #fff !important;
  font-weight: 820 !important;
}
.calculator-shell { background: linear-gradient(145deg, #fffdf8, #edf5ef) !important; }
.calculator-shell :where(fieldset, .field-card) { border-color: var(--hs-line) !important; }
.method-grid > article,
.insight-grid > article { padding: 22px !important; }

/* Relacionados y siguiente paso. */
body.hs-inner-page .related :where(h2, h3, a) { color: #fff !important; }
body.hs-inner-page .related p { color: #dcebe4 !important; }
body.hs-inner-page .related a { text-decoration: underline; text-underline-offset: .2em; }
.seo-cluster-related-links,
.cluster-more-links,
.related-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px !important; }
.seo-cluster-related-links a,
.cluster-more-links a,
.related-grid a,
.health-related a {
  min-height: 48px;
  display: flex !important;
  align-items: center;
  padding: 11px 14px !important;
  border: 1px solid var(--hs-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--hs-forest-800) !important;
  font-weight: 780 !important;
  line-height: 1.3;
  text-decoration: none !important;
}
.seo-cluster-related-links a:hover,
.cluster-more-links a:hover,
.related-grid a:hover { border-color: #8eb4a0 !important; background: var(--hs-mist) !important; }
.seo-primary-category { background: var(--hs-forest-900) !important; color: #fff !important; }

/* Legal y contacto conservan máxima legibilidad. */
body.hs-inner-legal main.wrap,
body.hs-inner-contact main.wrap {
  width: min(860px, calc(100% - 48px)) !important;
  margin-top: 28px !important;
  padding: clamp(28px, 5vw, 58px) !important;
  border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius-xl);
  background: rgba(255,253,248,.97);
  box-shadow: var(--hs-shadow);
}
body.hs-inner-legal main > .brand,
body.hs-inner-contact main > .brand { display: none !important; }
body.hs-inner-legal main h1,
body.hs-inner-contact main h1 { margin-top: 0 !important; font-size: clamp(2.5rem, 6vw, 4.4rem) !important; }
body.hs-inner-contact form.card {
  padding: clamp(20px, 4vw, 36px) !important;
  border: 1px solid var(--hs-line) !important;
  border-radius: 22px !important;
  background: linear-gradient(145deg, #fff, #f4f8f3) !important;
  box-shadow: none !important;
}

/* Pie común aun cuando el HTML original varía. */
body.hs-inner-page > footer,
body.hs-inner-page .cluster-footer,
body.hs-inner-page .health-footer {
  margin: 0 !important;
  padding: 36px 0 74px !important;
  border: 0 !important;
  background:
    radial-gradient(circle at 12% 0, rgba(68, 140, 105, .26), transparent 24rem),
    var(--hs-forest-950) !important;
  color: #fff !important;
}
body.hs-inner-page > footer :where(div, p, span),
body.hs-inner-page .cluster-footer :where(div, p, span),
body.hs-inner-page .health-footer :where(div, p, span) { color: #dcece5 !important; }
body.hs-inner-page > footer a,
body.hs-inner-page .cluster-footer a,
body.hs-inner-page .health-footer a { color: #fff !important; font-weight: 720; }
body.hs-inner-page .foot-links,
body.hs-inner-page .cluster-footer > div,
body.hs-inner-page .health-footer > div { display: flex !important; flex-wrap: wrap; gap: 12px 24px !important; }

/* Preferencias de cookies: una pastilla discreta, no un engranaje flotante. */
body.hs-inner-page .hc-preferences {
  left: auto !important;
  right: 16px !important;
  bottom: 16px !important;
  width: auto !important;
  height: 42px !important;
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 0 14px !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 999px !important;
  background: rgba(3,45,37,.94) !important;
  color: #fff !important;
  font-size: .72rem !important;
  font-weight: 780 !important;
  box-shadow: 0 10px 28px rgba(3,45,37,.23) !important;
  backdrop-filter: blur(10px);
}
body.hs-inner-page .hc-preferences::before {
  width: 20px !important;
  height: 20px !important;
  display: grid !important;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: #fff;
  content: "✓" !important;
  font-size: .68rem !important;
  line-height: 1 !important;
}
body.hs-inner-page .hc-preferences[hidden] { display: none !important; }

.hs-back-top {
  position: fixed;
  z-index: 880;
  right: 18px;
  bottom: 68px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hs-line);
  border-radius: 50%;
  background: #fff;
  color: var(--hs-forest-900);
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: var(--hs-shadow-soft);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.hs-back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }

@media (max-width: 1060px) {
  .hs-inner-header__main { grid-template-columns: auto auto minmax(0,1fr) auto; gap: 14px; }
  .hs-inner-primary-nav { display: none; }
  .hs-inner-menu-button { display: grid; justify-self: end; }
  .cluster-grid,
  .product-grid,
  .question-grid,
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .hs-inner-topbar nav { display: none; }
  .hs-inner-header__main { min-height: 76px; grid-template-columns: auto 1fr auto; }
  .hs-inner-species { justify-self: center; }
  .hs-inner-primary-nav { display: none; }
  .hs-inner-menu-button { display: grid; justify-self: end; }
  body.hs-inner-page :where(.cluster-hero, .health-hero, main > .hero) { grid-template-columns: 1fr; }
  body.hs-inner-page :where(.cluster-hero, .health-hero, main > .hero) > img { min-height: 300px; max-height: 440px; }
  .cluster-intro { grid-template-columns: 1fr !important; gap: 14px !important; }
  .cluster-path-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .guide-layout,
  .health-layout { grid-template-columns: 1fr !important; }
  .guide-toc,
  .health-side { position: static !important; }
  .cluster-shop { grid-template-columns: 1fr !important; }
  .seo-cluster-related-links,
  .cluster-more-links,
  .related-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 600px) {
  .hs-inner-topbar__in,
  .hs-inner-header__main,
  .hs-inner-mobile-nav,
  body.hs-inner-page :where(.wrap, .cluster-wrap, .health-wrap),
  body.hs-inner-legal main.wrap,
  body.hs-inner-contact main.wrap { width: min(100% - 28px, 1180px) !important; }
  .hs-inner-topbar__in { justify-content: center; text-align: center; }
  .hs-inner-topbar p { font-size: .69rem; }
  .hs-inner-header__main {
    min-height: 118px;
    grid-template-columns: 1fr auto;
    grid-template-rows: 58px 52px;
    gap: 0 10px;
  }
  .hs-inner-brand { grid-column: 1; grid-row: 1; font-size: 1.28rem; }
  .hs-inner-brand img { width: 42px; height: 42px; padding: 7px; }
  .hs-inner-menu-button { grid-column: 2; grid-row: 1; }
  .hs-inner-species { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .hs-inner-species a { min-height: 40px; }
  .hs-inner-mobile-nav { grid-template-columns: 1fr 1fr; padding-bottom: 14px; }
  body.hs-inner-page main { padding-top: 16px; padding-bottom: 54px; }
  body.hs-inner-page :where(.cluster-hero, .health-hero, main > .hero, .faq-hub-hero) {
    min-height: 0;
    border-radius: 24px !important;
  }
  body.hs-inner-page :where(.cluster-hero, .health-hero, main > .hero) > :first-child { padding: 30px 24px; }
  body.hs-inner-page :where(.cluster-hero, .health-hero, main > .hero) h1,
  body.hs-inner-page .faq-hub-hero h1 { max-width: none; font-size: clamp(2.35rem, 13vw, 3.45rem) !important; }
  body.hs-inner-page :where(.cluster-hero, .health-hero, main > .hero) > img { min-height: 260px; max-height: 340px; }
  .faq-hub-hero { padding: 30px 24px !important; }
  .cluster-species,
  .cluster-intro,
  .cluster-path,
  .cluster-faq,
  .cluster-more,
  .question-section,
  .calculator-shell,
  .results,
  .method,
  .faq,
  main > .article,
  main > article.article,
  .answer,
  .health-answer,
  .direct-answer,
  .sources,
  .health-related,
  .related-cluster,
  .seo-cluster-related,
  .products,
  body.hs-inner-legal main.wrap,
  body.hs-inner-contact main.wrap { padding: 22px !important; border-radius: 20px !important; }
  .cluster-path-grid,
  .cluster-grid,
  .product-grid,
  .question-grid,
  .related-grid,
  .method-grid,
  .insight-grid,
  .health-check,
  .check-grid,
  .compare-grid,
  .choice-grid,
  .seo-cluster-related-links,
  .cluster-more-links { grid-template-columns: 1fr !important; }
  .cluster-species-head,
  .question-section-head { align-items: start; flex-direction: column; }
  .cluster-stat { width: 100%; }
  .guide-main > section,
  .health-article,
  .health-side-card,
  .guide-toc { padding: 22px !important; border-radius: 19px !important; }
  .affiliate-choice { grid-template-columns: 1fr !important; }
  a.affiliate-store-link { min-height: 54px; }
  .affiliate-choice-disclosure { grid-column: 1; }
  body.hs-inner-page table { font-size: .84rem; }
  body.hs-inner-page :where(th, td) { min-width: 130px; padding: 11px !important; }
  body.hs-inner-page .hc-preferences {
    right: 10px !important;
    bottom: 10px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding-inline: 11px !important;
    font-size: .66rem !important;
  }
  .hs-back-top { right: 12px; bottom: 60px; }
}

/* Final accessibility layer. */
body.hs-inner-page [id] { scroll-margin-top: 132px; }
body.hs-inner-page .existing-guides h2,
body.hs-inner-page .existing-guides a { color: #fff !important; }
body.hs-inner-page .existing-guides p { color: #dcebe4 !important; }
body.hs-inner-page .hc-preferences {
  left: 14px !important;
  right: auto !important;
  bottom: 14px !important;
  width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  display: grid !important;
  place-items: center !important;
  padding: 6px !important;
  border: 1px solid #c8d8cf !important;
  border-radius: 50% !important;
  background: rgba(255,254,250,.97) !important;
  color: transparent !important;
  font-size: 0 !important;
  box-shadow: 0 7px 22px rgba(8,47,41,.16) !important;
}
body.hs-inner-page .hc-preferences::before {
  width: 32px !important;
  height: 32px !important;
  content: "" !important;
  border-radius: 50% !important;
  background: transparent url('/favicon.svg?v=2') center/28px 28px no-repeat !important;
}
@media (max-width:600px) {
  .hs-inner-topbar__in,
  .hs-inner-header__main,
  .hs-inner-mobile-nav,
  body.hs-inner-page :where(.wrap, .cluster-wrap, .health-wrap),
  body.hs-inner-legal main.wrap,
  body.hs-inner-contact main.wrap { width: min(calc(100% - 28px), 1180px) !important; }
  body.hs-inner-page [id] { scroll-margin-top: 174px; }
  body.hs-inner-page .hc-preferences { left: 10px !important; right: auto !important; bottom: 10px !important; width: 46px !important; height: 46px !important; min-height: 46px !important; padding: 6px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .hs-inner-topbar,
  .hs-inner-header,
  .hs-reading-progress,
  .hs-back-top,
  .hc-preferences { display: none !important; }
  body.hs-inner-page { background: #fff; color: #000; }
  body.hs-inner-page main { padding: 0; }
  body.hs-inner-page :where(.wrap, .cluster-wrap, .health-wrap) { width: 100% !important; }
}
