:root {
  --brand: #206493;
  --brand-dark: #154b70;
  --brand-deep: #0f2f43;
  --brand-light: #eaf3f8;
  --brand-soft: #f4f8fb;
  --ink: #172b38;
  --muted: #5c6f7b;
  --line: #dce6ec;
  --surface: #ffffff;
  --surface-alt: #f7fafc;
  --warning-bg: #fff9ea;
  --warning-line: #e5bd59;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 8px 24px rgba(18, 55, 77, 0.07);
  --shadow: 0 18px 55px rgba(18, 55, 77, 0.11);
  --container: 1200px;
  --reading: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-dark);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(32, 100, 147, 0.32);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65em;
  color: var(--brand-deep);
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.65rem, 5.8vw, 5.75rem);
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.65rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
  margin: 0 0 1.3em;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-deep);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1300;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--brand);
}

.utility-bar {
  color: rgba(255, 255, 255, 0.76);
  background: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.utility-inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-links,
.utility-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.utility-links {
  gap: 7px;
}

.utility-bar a,
.utility-bar button {
  color: inherit;
  text-decoration: none;
}

.utility-links a {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: #d9ecf6;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.utility-links a::after {
  color: #8fc3df;
  content: "↗";
  font-size: 0.68rem;
}

.utility-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.utility-bar a:hover,
.utility-bar button:hover {
  color: #fff;
}

.utility-action {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 230, 236, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 34px;
}

.brand-logo {
  display: inline-flex;
  flex: 0 0 auto;
  width: 174px;
  align-items: center;
}

.brand-logo img {
  width: 100%;
}

.desktop-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 3px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-trigger,
.nav-direct {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: #2c4351;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 0.89rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-trigger::after {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-trigger,
.nav-item:focus-within .nav-trigger,
.nav-item.is-open .nav-trigger,
.nav-trigger.is-active,
.nav-direct.is-active {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-item.is-open .nav-trigger::after {
  transform: translateY(2px) rotate(225deg);
}

.mega-menu {
  position: fixed;
  top: 118px;
  left: 50%;
  width: min(calc(100vw - 40px), 1120px);
  padding: 28px;
  visibility: hidden;
  background: rgba(255, 255, 255, 0.985);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.header-scrolled .mega-menu {
  top: 94px;
}

.nav-item:hover > .mega-menu,
.nav-item:focus-within > .mega-menu,
.nav-item.is-open > .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.mega-feature {
  padding: 24px;
  color: #fff;
  background: var(--brand-deep);
  border-radius: 14px;
}

.mega-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #9dc6df;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mega-feature strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.mega-feature p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.55;
}

.mega-feature a {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
}

.mega-column h3 {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mega-column a {
  display: flex;
  min-height: 35px;
  align-items: center;
  color: #294250;
  font-size: 0.88rem;
  font-weight: 560;
  line-height: 1.25;
  text-decoration: none;
}

.mega-column a:hover {
  color: var(--brand);
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  color: #fff;
  background: var(--brand);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(32, 100, 147, 0.2);
}

.header-cta:hover {
  color: #fff;
  background: var(--brand-dark);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  place-items: center;
  background: var(--brand-soft);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--brand-deep);
  border-radius: 2px;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before {
  position: absolute;
  top: -7px;
}

.menu-toggle-lines::after {
  position: absolute;
  top: 7px;
}

.menu-open .menu-toggle-lines {
  background: transparent;
}

.menu-open .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-open .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: 82px 0 0;
  z-index: 1150;
  display: none;
  overflow-y: auto;
  padding: 22px 20px 50px;
  background: #fff;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-search {
  display: flex;
  min-height: 50px;
  width: 100%;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0 16px;
  color: var(--muted);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.mobile-group {
  border-bottom: 1px solid var(--line);
}

.mobile-group > button,
.mobile-main-link {
  display: flex;
  width: 100%;
  min-height: 55px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  color: var(--brand-deep);
  background: none;
  border: 0;
  font-weight: 680;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.mobile-group > button::after {
  content: "+";
  color: var(--brand);
  font-size: 1.2rem;
}

.mobile-group.is-open > button::after {
  content: "−";
}

.mobile-submenu {
  display: none;
  padding: 0 0 18px 12px;
}

.mobile-group.is-open .mobile-submenu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
}

.mobile-submenu a {
  padding: 7px 0;
  color: #425765;
  font-size: 0.9rem;
  line-height: 1.35;
  text-decoration: none;
}

.mobile-utilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.mobile-utilities a {
  padding: 12px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 20px 30px;
  background: rgba(10, 34, 48, 0.72);
  backdrop-filter: blur(9px);
}

.search-modal.is-open {
  display: flex;
}

.search-panel {
  width: min(720px, 100%);
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
}

.search-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.search-head input {
  flex: 1;
  min-width: 0;
  padding: 12px 4px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1.1rem;
}

.search-close {
  width: 42px;
  height: 42px;
  color: var(--muted);
  background: var(--surface-alt);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.search-results {
  max-height: 55vh;
  overflow-y: auto;
  padding: 10px;
}

.search-result {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: var(--ink);
  border-radius: 12px;
  text-decoration: none;
}

.search-result:hover {
  background: var(--brand-soft);
}

.result-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--brand);
  background: var(--brand-light);
  border-radius: 10px;
  font-weight: 750;
}

.search-result strong,
.search-result small {
  display: block;
}

.search-result small {
  color: var(--muted);
}

.search-empty {
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.section {
  padding-block: clamp(74px, 9vw, 124px);
}

.section-alt {
  background: var(--surface-alt);
}

.section-brand-soft {
  background: var(--brand-soft);
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-kicker::before,
.eyebrow::before {
  width: 26px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-head {
  display: flex;
  margin-bottom: 44px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-head > div:first-child {
  max-width: 760px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  color: #fff;
  background: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(32, 100, 147, 0.22);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--brand);
  background: transparent;
  border-color: rgba(32, 100, 147, 0.32);
}

.btn-outline:hover {
  color: var(--brand);
  background: var(--brand-light);
  box-shadow: none;
}

.btn-light {
  color: var(--brand-deep);
  background: #fff;
  border-color: #fff;
}

.btn-light:hover {
  color: var(--brand-deep);
  background: #f1f7fa;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.home-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background-color: #280305;
  background-image: url("../img/andreas-back_real_short.jpg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 2, 4, 0.9) 0%, rgba(28, 3, 5, 0.76) 39%, rgba(28, 3, 5, 0.18) 68%, rgba(28, 3, 5, 0.02) 100%);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 740px) 1fr;
  align-items: center;
  gap: 40px;
  padding-block: 24px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 30px;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.45rem, 3vw, 3.35rem);
  line-height: 1.07;
}

.hero-copy h1 span {
  display: block;
  color: #fff;
  font-weight: 520;
}

.hero-original-title strong {
  display: block;
  color: #fff;
  font-weight: 760;
}

.hero-original-title strong:last-child {
  color: #aed7ee;
}

.hero-copy > p {
  max-width: 620px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.55;
}

.home-hero .eyebrow {
  color: #b8d9ea;
}

.home-hero .btn-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.4);
}

.home-hero .btn-outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.hero-image-wrap {
  position: relative;
  display: flex;
  min-height: 560px;
  align-self: center;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(155deg, #d8e9f2, #c9e0eb);
  border: 1px solid rgba(32, 100, 147, 0.1);
  border-radius: 34px 34px 12px 34px;
}

.hero-image-wrap::before {
  position: absolute;
  top: -120px;
  right: -150px;
  width: 410px;
  height: 410px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  content: "";
}

.hero-image-wrap img {
  position: relative;
  z-index: 1;
  width: min(100%, 570px);
  max-height: 555px;
  object-fit: contain;
  object-position: bottom;
}

.hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: 225px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note strong {
  color: var(--brand-deep);
  font-size: 0.9rem;
}

.hero-note span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.trust-row {
  display: flex;
  margin-top: 34px;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 620;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-item::before {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "✓";
  font-size: 0.7rem;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.quick-card {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  padding: 26px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.quick-card:hover {
  color: var(--ink);
  border-color: rgba(32, 100, 147, 0.4);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.card-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: var(--brand-light);
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 780;
}

.quick-card h3 {
  margin-bottom: 10px;
}

.quick-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.quick-card::after {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: var(--brand);
  content: "↗";
  font-size: 1.2rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--brand-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-list {
  display: grid;
  margin: 28px 0 34px;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #405865;
}

.feature-list li::before {
  display: grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  place-items: center;
  color: var(--brand);
  background: var(--brand-light);
  border-radius: 50%;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 800;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  padding-top: 12px;
}

.books-section .container {
  width: min(calc(100% - 40px), 1480px);
}

.book-card {
  display: flex;
  min-height: 480px;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.book-visual {
  display: grid;
  min-height: 220px;
  margin-bottom: 22px;
  place-items: center;
  background: var(--surface-alt);
  border-radius: 14px;
}

.book-visual img {
  max-width: 85%;
  max-height: 205px;
  object-fit: contain;
}

.book-card small {
  color: var(--brand);
  font-weight: 750;
}

.book-card h3 {
  margin: 5px 0 10px;
}

.book-card.is-featured {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #edf6fa 0%, #fff 46%);
  border: 2px solid var(--brand);
  box-shadow: 0 22px 52px rgba(18, 55, 77, 0.18);
  transform: translateY(-10px);
}

.book-card.is-featured::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--brand);
  content: "";
}

.book-card.is-featured .book-visual {
  position: relative;
  min-height: 245px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(32, 100, 147, 0.1);
}

.book-card.is-featured .book-visual img {
  max-width: 100%;
  max-height: 238px;
}

.book-card.is-featured small {
  align-self: flex-start;
  padding: 6px 10px;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
}

.book-card.is-featured h3 {
  color: var(--brand-deep);
}

.book-card.is-featured .text-link {
  align-self: flex-start;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand);
  border-radius: 9px;
}

.book-card.is-featured .text-link:hover {
  color: #fff;
  background: var(--brand-deep);
}

.book-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.58;
}

.book-card .text-link {
  margin-top: auto;
  font-size: 0.86rem;
}

.banner-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  color: #fff;
  background: var(--brand-deep);
  border-radius: var(--radius-lg);
}

.banner-copy {
  padding: clamp(32px, 5vw, 64px);
}

.banner-copy h2 {
  color: #fff;
}

.banner-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.banner-image {
  min-height: 440px;
  background: #e8f4f8;
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.ecosystem-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ecosystem-logo {
  display: flex;
  min-height: 76px;
  margin-bottom: 18px;
  align-items: center;
}

.ecosystem-logo img {
  max-width: 165px;
  max-height: 54px;
}

.ecosystem-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.ecosystem-card .text-link {
  margin-top: auto;
  font-size: 0.84rem;
}

.recognition-section {
  overflow: hidden;
  padding-block: clamp(58px, 7vw, 86px);
  color: #fff;
  background: #0d2c3e;
}

.recognition-section .section-head {
  margin-bottom: clamp(34px, 5vw, 56px);
}

.recognition-section .section-head h2 {
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.recognition-section .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.recognition-section .section-kicker {
  color: #8bc0df;
}

.recognition-slider {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 18px;
}

.recognition-track {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
}

.recognition-logo {
  display: none;
  min-width: 0;
  min-height: 108px;
  align-items: center;
  justify-content: center;
}

.recognition-logo.is-active {
  display: flex;
  animation: recognition-logo-in 0.45s ease both;
}

.recognition-logo img {
  display: block;
  width: min(300px, 100%);
  height: auto;
  max-height: 76px;
  object-fit: contain;
  opacity: 1;
  filter: none !important;
}

.recognition-control {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.8rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.recognition-control:hover,
.recognition-control:focus-visible {
  background: var(--brand);
  transform: scale(1.05);
}

@keyframes recognition-logo-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.newsletter-band {
  padding-block: 64px;
  color: #fff;
  background: var(--brand);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.newsletter-inner h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.newsletter-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 10px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(78px, 10vw, 132px);
  background: linear-gradient(120deg, #f4f9fc 0%, #eaf3f8 100%);
}

.page-hero::after {
  position: absolute;
  top: -190px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: rgba(32, 100, 147, 0.07);
  border-radius: 50%;
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  margin: 0 0 28px;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 620;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  color: #9aabb4;
  content: "/";
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.page-hero h1 {
  max-width: 930px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
}

.page-intro {
  max-width: 760px;
  margin: 0;
  color: #506774;
  font-size: clamp(1.05rem, 1.5vw, 1.23rem);
}

.page-meta {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 16px 28px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 620;
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, var(--reading));
  justify-content: center;
  gap: clamp(44px, 7vw, 96px);
}

.article-toc {
  position: sticky;
  top: 112px;
  align-self: start;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-right: 12px;
}

.article-toc h2 {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toc-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 3px;
  list-style: none;
}

.toc-list a {
  display: block;
  padding: 7px 10px;
  color: #536773;
  border-left: 2px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.35;
  text-decoration: none;
}

.toc-list a:hover,
.toc-list a.is-active {
  color: var(--brand);
  border-left-color: var(--brand);
}

.prose {
  min-width: 0;
  color: #2b424f;
  font-size: 1.02rem;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2,
.prose h3 {
  scroll-margin-top: 110px;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.prose h3 {
  margin-top: 1.8em;
}

.prose p,
.prose li {
  color: #334c59;
}

.prose ul,
.prose ol {
  margin: 0 0 1.5em;
  padding-left: 1.35em;
}

.prose li {
  margin-bottom: 0.55em;
}

.original-copy {
  max-width: 940px;
  margin-inline: auto;
}

.original-copy-wide {
  max-width: 1160px;
}

.original-section {
  font-size: 1.01rem;
  line-height: 1.76;
}

.original-section p {
  margin-bottom: 1.25em;
}

.original-section a,
.publication-detail-content a,
.publication-reference-card a {
  overflow-wrap: anywhere;
}

.original-gallery {
  display: grid;
  margin-block: clamp(38px, 6vw, 72px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.original-gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 240px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: zoom-in;
}

.original-gallery a::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: rgba(13, 44, 62, 0.82);
  border-radius: 50%;
  content: "+";
  font-size: 1.3rem;
  pointer-events: none;
}

.original-gallery img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.original-gallery a:hover img {
  transform: scale(1.025);
}

img[data-lightbox-image] {
  cursor: zoom-in;
}

img[data-lightbox-image]:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

body.lightbox-open {
  overflow: hidden;
}

.site-lightbox {
  position: fixed;
  z-index: 4000;
  inset: 0;
  display: none;
  padding: 72px 90px 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(5, 17, 25, 0.96);
  backdrop-filter: blur(10px);
}

.site-lightbox.is-open {
  display: flex;
}

.lightbox-figure {
  display: grid;
  max-width: min(1180px, 100%);
  max-height: 100%;
  margin: 0;
  place-items: center;
  gap: 12px;
}

.lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.lightbox-caption {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  text-align: center;
}

.lightbox-count {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  font-weight: 700;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover {
  background: var(--brand);
}

.lightbox-close {
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
  font-size: 1rem;
}

.lightbox-arrow {
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 2.4rem;
  transform: translateY(-50%);
}

.lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.04);
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.original-cta {
  margin-top: clamp(52px, 8vw, 90px);
  padding: clamp(28px, 5vw, 54px);
  background: var(--brand-light);
  border: 1px solid rgba(32, 100, 147, 0.18);
  border-radius: var(--radius-lg);
}

.original-cta h2 {
  margin-top: 0.35em;
}

.original-cta .eyebrow {
  color: var(--brand);
}

.original-disclaimer {
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  border-left: 5px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

.protocol-directory {
  margin-bottom: clamp(48px, 7vw, 76px);
  padding: clamp(24px, 4vw, 42px);
  color: #fff;
  background: var(--brand-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.protocol-directory-head {
  display: flex;
  margin-bottom: 26px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.protocol-directory-head .eyebrow {
  margin-bottom: 8px;
  color: #9dc6df;
}

.protocol-directory-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.protocol-directory-range {
  display: grid;
  min-width: 74px;
  min-height: 48px;
  place-items: center;
  color: #b9ddf0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-weight: 800;
}

.protocol-letter-grid {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 9px;
}

.protocol-letter-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 82px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px;
  color: var(--brand-deep);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.protocol-letter-card small {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.protocol-letter-card strong {
  font-size: 1.65rem;
  line-height: 1;
}

.protocol-letter-card > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: var(--brand);
  font-size: 0.82rem;
}

.protocol-letter-card:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-3px);
}

.protocol-letter-card:hover small,
.protocol-letter-card:hover > span {
  color: #fff;
}

.original-video {
  max-width: 900px;
  margin: 24px auto 38px;
}

.original-protocol-title {
  grid-template-columns: 112px 1fr;
}

.original-protocol-title .eyebrow {
  color: #9dc6df;
}

.original-protocol-layout {
  max-width: 980px;
  grid-template-columns: minmax(0, 940px);
}

.original-protocol-layout .protocol-rail {
  position: static;
  display: grid;
  width: 100%;
  max-height: none;
  padding: 14px;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.original-protocol-layout .protocol-rail a {
  width: auto;
  height: 44px;
}

.original-protocol-copy {
  margin-top: 36px;
}

.original-protocol-copy p:has(> strong) {
  margin: 30px 0 8px;
  color: var(--brand-deep);
  font-size: 1.08rem;
}

.original-protocol-copy p:has(> strong) + p {
  margin-bottom: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 8px 22px rgba(18, 55, 77, 0.04);
}

.share-heading {
  margin-top: 0 !important;
  font-size: 1rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.original-share-links {
  display: flex;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 9px;
}

.original-share-links a {
  padding: 8px 12px;
  color: var(--brand-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.original-share-links a:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.protocol-inline-nav {
  display: grid;
  margin-block: 24px 50px;
  grid-template-columns: repeat(13, minmax(34px, 1fr));
  gap: 7px;
}

.protocol-inline-nav a {
  display: grid;
  min-height: 38px;
  place-items: center;
  color: var(--brand-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 760;
  text-decoration: none;
}

.protocol-inline-nav a:hover,
.protocol-inline-nav a.is-active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.dioxipedia-original-block {
  display: grid;
  margin-block: 30px 54px;
  padding: clamp(28px, 5vw, 50px);
  justify-items: start;
  gap: 20px;
  background: var(--brand-light);
  border: 1px solid rgba(32, 100, 147, 0.18);
  border-radius: var(--radius-lg);
}

.dioxipedia-original-block > img {
  width: min(280px, 80%);
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
}

.dioxipedia-original-block p {
  margin-bottom: 1em;
}

.publication-intro {
  margin-bottom: 32px;
  font-size: 1.08rem;
}

.original-publication-list {
  display: grid;
  margin-bottom: clamp(56px, 8vw, 88px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.publication-reference-card {
  min-width: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(18, 55, 77, 0.04);
  font-size: 0.88rem;
  line-height: 1.6;
}

.publication-reference-card p {
  margin: 0;
}

.publication-reference-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--brand);
  font-size: 0.78rem;
}

.publication-details {
  display: grid;
  gap: 12px;
}

.publication-detail {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.publication-detail[open] {
  border-color: rgba(32, 100, 147, 0.38);
  box-shadow: var(--shadow-sm);
}

.publication-detail summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: var(--brand-deep);
  cursor: pointer;
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.45;
  list-style: none;
}

.publication-detail summary::-webkit-details-marker {
  display: none;
}

.publication-detail summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--brand);
  content: "+";
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.publication-detail[open] summary::after {
  content: "−";
}

.publication-detail-content {
  overflow-wrap: anywhere;
  padding: 4px 22px 28px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.7;
}

.publication-detail-content img {
  max-width: 100%;
  height: auto;
}

.publication-footer-links {
  margin-top: 42px;
}

.lead {
  color: var(--brand-deep) !important;
  font-size: 1.28rem;
  line-height: 1.62;
}

.info-card,
.callout {
  margin: 32px 0;
  padding: 24px;
  background: var(--brand-soft);
  border: 1px solid #cfe1eb;
  border-left: 4px solid var(--brand);
  border-radius: 12px;
}

.info-card strong,
.callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-deep);
}

.info-card p:last-child,
.callout p:last-child {
  margin-bottom: 0;
}

.medical-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-bottom: 34px;
  padding: 18px 20px;
  color: #5f4b1f;
  background: var(--warning-bg);
  border: 1px solid var(--warning-line);
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.medical-notice::before {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #6f5317;
  background: rgba(229, 189, 89, 0.26);
  border-radius: 50%;
  content: "i";
  font-family: Georgia, serif;
  font-weight: 700;
}

.medical-notice strong {
  display: block;
  margin-bottom: 2px;
}

.protocol-tools,
.library-tools {
  display: flex;
  margin-bottom: 30px;
  align-items: center;
  gap: 12px;
}

.search-field {
  position: relative;
  flex: 1;
}

.search-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px 0 46px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.search-field::before {
  position: absolute;
  top: 50%;
  left: 18px;
  color: var(--brand);
  content: "⌕";
  font-size: 1.4rem;
  transform: translateY(-52%);
}

.results-count {
  min-width: 110px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  text-align: right;
}

.alphabet-filter {
  position: sticky;
  top: 82px;
  z-index: 20;
  display: flex;
  overflow-x: auto;
  margin-bottom: 34px;
  padding: 12px;
  gap: 4px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  scrollbar-width: thin;
}

.alphabet-filter button,
.alphabet-filter a {
  display: grid;
  flex: 1 0 35px;
  min-width: 35px;
  height: 38px;
  place-items: center;
  color: #415a68;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.alphabet-filter button:hover,
.alphabet-filter button.is-active,
.alphabet-filter a:hover,
.alphabet-filter a.is-active {
  color: #fff;
  background: var(--brand);
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.protocol-card {
  display: grid;
  min-height: 184px;
  grid-template-columns: 64px 1fr;
  align-content: start;
  gap: 16px;
  padding: 22px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.protocol-card:hover {
  color: var(--ink);
  border-color: rgba(32, 100, 147, 0.42);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.protocol-letter {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--brand);
  background: var(--brand-light);
  border-radius: 14px;
  font-size: 1.65rem;
  font-weight: 720;
}

.protocol-card h2 {
  margin: 3px 0 7px;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.protocol-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.48;
}

.protocol-card[hidden],
.publication-card[hidden] {
  display: none;
}

.protocol-hero {
  padding-block: 66px;
  background: var(--brand-deep);
}

.protocol-hero .breadcrumbs,
.protocol-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.62);
}

.protocol-title-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 28px;
}

.protocol-hero-letter {
  display: grid;
  width: 120px;
  height: 120px;
  place-items: center;
  color: var(--brand-deep);
  background: #fff;
  border-radius: 24px;
  font-size: 3.8rem;
  font-weight: 740;
}

.protocol-title-row h1 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.protocol-title-row p {
  margin: 0;
  color: #9fc4d9;
  font-size: 1.08rem;
}

.share-tools {
  display: flex;
  gap: 8px;
}

.icon-btn {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  cursor: pointer;
}

.protocol-content-layout {
  display: grid;
  grid-template-columns: 90px minmax(0, var(--reading)) 190px;
  justify-content: center;
  gap: 48px;
}

.protocol-rail {
  position: sticky;
  top: 108px;
  align-self: start;
  display: grid;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.protocol-rail a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--muted);
  background: var(--surface-alt);
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: none;
}

.protocol-rail a:hover,
.protocol-rail a.is-active {
  color: #fff;
  background: var(--brand);
}

.protocol-summary {
  position: sticky;
  top: 108px;
  align-self: start;
  padding: 20px;
  background: var(--brand-soft);
  border: 1px solid #d5e4ec;
  border-radius: 14px;
}

.protocol-summary h2 {
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.protocol-summary dl {
  margin: 0;
}

.protocol-summary dt {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.protocol-summary dd {
  margin: 2px 0 0;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.4;
}

.step-list {
  display: grid;
  margin: 32px 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.step-number {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--brand);
  background: var(--brand-light);
  border-radius: 12px;
  font-weight: 750;
}

.step-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-deep);
}

.step-item p {
  margin: 0;
}

.protocol-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 54px;
}

.protocol-pagination a {
  padding: 18px;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
}

.protocol-pagination a:last-child {
  text-align: right;
}

.protocol-pagination small,
.protocol-pagination strong {
  display: block;
}

.protocol-pagination small {
  color: var(--muted);
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.publication-card {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.publication-top {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.publication-number {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
}

.publication-type {
  padding: 4px 9px;
  color: #4e6572;
  background: var(--surface-alt);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
}

.publication-card h2 {
  margin-bottom: 11px;
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.publication-card p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.publication-card .text-link {
  margin-top: auto;
  font-size: 0.8rem;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--brand-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
  gap: 54px;
  padding-block: 72px;
}

.footer-brand img {
  width: 190px;
  margin-bottom: 24px;
  filter: invert(1);
}

.footer-brand p {
  max-width: 330px;
  font-size: 0.84rem;
  line-height: 1.65;
}

.footer-column h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.footer-links a {
  color: inherit;
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.footer-disclaimer {
  padding: 24px 0;
  background: rgba(0, 0, 0, 0.13);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-disclaimer p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.62;
}

.footer-bottom {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.72rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: inherit;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .desktop-nav,
  .header-cta,
  .utility-links {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .header-inner {
    min-height: 76px;
  }

  .mobile-panel {
    inset: 108px 0 0;
  }

  .header-scrolled .mobile-panel {
    inset: 76px 0 0;
  }

  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .books-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .protocol-letter-grid {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }

  .protocol-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .protocol-content-layout {
    grid-template-columns: 72px minmax(0, var(--reading));
  }

  .protocol-summary {
    display: none;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .original-publication-list {
    grid-template-columns: 1fr;
  }

  .protocol-inline-nav {
    grid-template-columns: repeat(6, minmax(34px, 1fr));
  }

  .protocol-letter-grid,
  .original-protocol-layout .protocol-rail {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .protocol-letter-card {
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 8px;
  }

  .protocol-letter-card small,
  .protocol-letter-card > span {
    display: none;
  }

  .protocol-letter-card strong {
    font-size: 1.45rem;
  }

  .books-section .container {
    width: min(calc(100% - 30px), 1480px);
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recognition-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .utility-inner {
    min-height: 32px;
  }

  .utility-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .utility-actions > a:first-child {
    margin-right: auto;
  }

  .home-hero {
    min-height: 790px;
    background-image: url("../img/andreas-back_real_vert.jpg");
    background-position: center bottom;
  }

  .home-hero::before {
    background: linear-gradient(180deg, rgba(18, 2, 4, 0.9) 0%, rgba(18, 2, 4, 0.62) 48%, rgba(18, 2, 4, 0.08) 72%, rgba(18, 2, 4, 0) 100%);
  }

  .hero-grid {
    min-height: 790px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0;
    padding: 0;
  }

  .hero-copy {
    max-width: 650px;
    padding: 42px 0 400px;
  }

  .hero-copy h1 {
    max-width: 590px;
    font-size: clamp(2.2rem, 7.4vw, 3.1rem);
  }

  .hero-image-wrap {
    max-width: 560px;
    margin-inline: auto;
  }

  .hero-note {
    right: 0;
    bottom: 18px;
  }

  .trust-row {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .split-layout,
  .banner-card,
  .newsletter-inner {
    grid-template-columns: 1fr;
  }

  .books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .banner-image {
    min-height: 320px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
    max-height: none;
    padding: 18px;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .toc-list {
    grid-template-columns: 1fr 1fr;
  }

  .protocol-title-row {
    grid-template-columns: 92px 1fr;
  }

  .protocol-hero-letter {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    font-size: 3rem;
  }

  .share-tools {
    grid-column: 1 / -1;
  }

  .protocol-content-layout {
    grid-template-columns: 1fr;
  }

  .protocol-rail {
    position: sticky;
    top: 76px;
    z-index: 10;
    display: flex;
    overflow-x: auto;
    max-height: none;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .brand-logo {
    width: 145px;
  }

  .utility-actions {
    gap: 14px;
  }

  .utility-actions .hide-small {
    display: none;
  }

  .quick-grid,
  .books-grid,
  .ecosystem-grid,
  .protocol-grid,
  .publication-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 205px;
  }

  .book-card {
    min-height: auto;
  }

  .book-card.is-featured {
    transform: none;
  }

  .original-gallery {
    grid-template-columns: 1fr;
  }

  .protocol-inline-nav {
    grid-template-columns: repeat(5, minmax(34px, 1fr));
  }

  .publication-detail summary {
    padding: 17px 48px 17px 17px;
  }

  .publication-detail-content {
    padding: 4px 17px 22px;
  }

  .site-lightbox {
    padding: 68px 14px 82px;
  }

  .lightbox-image {
    max-height: calc(100vh - 190px);
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .lightbox-arrow {
    top: auto;
    bottom: 16px;
    width: 46px;
    height: 46px;
    transform: none;
  }

  .lightbox-arrow:hover {
    transform: scale(1.04);
  }

  .lightbox-prev {
    left: calc(50% - 58px);
  }

  .lightbox-next {
    right: calc(50% - 58px);
  }

  .recognition-slider {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
  }

  .recognition-track {
    grid-template-columns: minmax(0, 1fr);
  }

  .recognition-logo {
    min-height: 100px;
  }

  .recognition-logo img {
    width: min(300px, 100%);
  }

  .recognition-control {
    width: 40px;
    height: 40px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .page-hero {
    padding-block: 62px;
  }

  .page-hero h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .protocol-tools,
  .library-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .results-count {
    text-align: left;
  }

  .alphabet-filter {
    top: 76px;
  }

  .protocol-card {
    min-height: 150px;
  }

  .protocol-title-row {
    grid-template-columns: 74px 1fr;
    gap: 18px;
  }

  .protocol-hero-letter {
    width: 74px;
    height: 74px;
    border-radius: 15px;
    font-size: 2.5rem;
  }

  .protocol-pagination,
  .toc-list {
    grid-template-columns: 1fr;
  }

  .step-item {
    grid-template-columns: 44px 1fr;
    gap: 13px;
    padding: 16px;
  }

  .step-number {
    width: 44px;
    height: 44px;
  }

  .footer-main {
    gap: 34px;
  }

  .footer-bottom {
    padding-block: 18px;
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Complete Spanish site: normalized legacy content ---------------------- */
.compact-page-hero {
  min-height: 0;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.compact-page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.45rem, 6vw, 5.5rem);
  line-height: .98;
}

.long-title-page-hero h1 {
  max-width: 1280px;
  font-size: clamp(2.35rem, 4.7vw, 4.65rem);
  line-height: 1.02;
  text-wrap: balance;
}

/* Navegación multidioma ----------------------------------------------- */
.language-switcher {
  position: relative;
}

.language-switcher .language-current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.language-switcher img {
  display: block;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .28);
}

.language-menu {
  position: absolute;
  z-index: 1400;
  top: calc(100% + 10px);
  right: 0;
  width: 190px;
  padding: 8px;
  border: 1px solid #d5e2e9;
  border-radius: 12px;
  color: #17384d;
  background: #fff;
  box-shadow: 0 16px 42px rgba(12, 45, 65, .2);
}

.language-menu[hidden] {
  display: none;
}

.language-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #17384d;
  font-size: .83rem;
  font-weight: 700;
}

.language-menu a:hover,
.language-menu a[aria-current="page"] {
  color: #155d8d;
  background: #edf5f9;
}

.multilingual-home-hero {
  min-height: clamp(470px, 68vh, 690px);
  display: grid;
  align-items: center;
  padding-block: clamp(80px, 10vw, 145px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(31, 0, 3, .96) 0%, rgba(47, 0, 4, .82) 47%, rgba(30, 0, 3, .12) 76%),
    url("../img/andreas-back_real_short.jpg") center right / cover no-repeat;
}

.multilingual-home-hero .eyebrow {
  color: #a9dbf5;
}

.multilingual-home-hero h1 {
  max-width: 840px;
  margin: 20px 0 0;
  color: #fff;
  font-size: clamp(2.65rem, 5.3vw, 5.15rem);
  line-height: 1.01;
  text-wrap: balance;
}

.multilingual-home-content > .legacy-widget-heading {
  margin-top: clamp(52px, 7vw, 92px);
}

@media (max-width: 760px) {
  .language-menu {
    position: fixed;
    top: 52px;
    right: 12px;
  }

  .multilingual-home-hero {
    min-height: 520px;
    align-items: end;
    background-position: 64% center;
  }

  .multilingual-home-hero h1 {
    font-size: clamp(2.45rem, 11vw, 4rem);
  }
}

.legacy-page-section {
  overflow: clip;
}

.legacy-content {
  width: min(100%, 980px);
}

.legacy-content :where(.e-con, .e-con-inner, .elementor-element, .elementor-widget-container) {
  position: static;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  margin-inline: 0;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.legacy-content :where(.e-con, .e-con-inner) {
  display: block !important;
  padding: 0;
}

.legacy-widget {
  margin-block: 0 1.5rem;
}

.legacy-widget-heading {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 1rem;
}

.legacy-widget-heading:first-child {
  margin-top: 0;
}

.legacy-widget-heading :where(h1, h2, h3, h4, h5, h6) {
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.legacy-widget-heading h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.legacy-widget-heading h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.legacy-content :where(p, li) {
  overflow-wrap: anywhere;
}

.legacy-content :where(ul, ol) {
  padding-left: 1.35rem;
}

.legacy-content :where(a:not(.btn)) {
  overflow-wrap: anywhere;
}

.legacy-image {
  display: grid;
  place-items: center;
  margin-block: clamp(2rem, 5vw, 4rem);
}

.legacy-image img,
.legacy-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  border-radius: 18px;
}

.legacy-image a {
  display: inline-block;
  max-width: 100%;
}

.legacy-gallery,
.legacy-content :where(.elementor-gallery__container, .gallery, .swiper-wrapper) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  height: auto !important;
  transform: none !important;
}

.legacy-gallery > *,
.legacy-content :where(.e-gallery-item, .gallery-item, .swiper-slide) {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 180px;
  margin: 0 !important;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--soft);
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
}

.legacy-gallery img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 360px;
  padding: .75rem;
  object-fit: contain;
  border-radius: 0;
}

.legacy-button {
  display: inline-flex;
  width: auto;
  margin-right: .65rem;
  margin-bottom: .75rem;
}

.legacy-button .elementor-button-content-wrapper {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.legacy-divider {
  margin-block: clamp(2rem, 5vw, 4rem);
  border: 0;
  border-top: 1px solid var(--line);
}

.legacy-accordion {
  display: grid;
  gap: .75rem;
  margin-block: 1.5rem 3rem;
}

.legacy-detail {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.legacy-detail summary {
  position: relative;
  padding: 1rem 3.25rem 1rem 1.15rem;
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.legacy-detail summary::-webkit-details-marker {
  display: none;
}

.legacy-detail summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.15rem;
  translate: 0 -50%;
  color: var(--accent);
  font-size: 1.5rem;
}

.legacy-detail[open] summary::after {
  content: "−";
}

.legacy-detail-content {
  padding: 0 1.15rem 1.25rem;
  border-top: 1px solid var(--line);
}

.legacy-html {
  width: 100%;
  margin-block: 2rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.legacy-html :where(input, select, textarea, button) {
  max-width: 100%;
  min-height: 44px;
  padding: .65rem .8rem;
  border: 1px solid #b7c8d3;
  border-radius: 9px;
  font: inherit;
}

.legacy-html button {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}

.legacy-content :where(iframe, video) {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: min(56vw, 540px);
  border: 0;
  border-radius: 18px;
}

.legacy-content :where(table) {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.legacy-content :where(th, td) {
  padding: .7rem;
  border: 1px solid var(--line);
  text-align: left;
}

.protocol-warning {
  width: fit-content;
  margin: .65rem 0 0;
  padding: .45rem .7rem;
  border-radius: 8px;
  background: #fff0d7;
  color: #734500;
  font-weight: 800;
  letter-spacing: .03em;
}

.protocol-adjacent {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  margin-block: 2.5rem;
}

.language-current {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.language-current img {
  display: block;
  width: 24px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 2px;
  object-fit: cover;
}

.press-room-content {
  width: min(100%, 1120px);
}

.press-room-intro {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
  padding-bottom: clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.press-room-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  text-wrap: balance;
}

.press-room-intro p:first-child {
  margin-top: 0;
}

.press-room-heading {
  margin-block: clamp(3rem, 7vw, 6rem) 1.5rem;
}

.press-room-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.press-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.press-article-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, var(--soft));
}

.press-article-category :where(h2, h3, h4),
.press-article-author :where(h2, h3, h4) {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: .78rem;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.press-article-title :where(h2, h3, h4) {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
  text-wrap: balance;
}

.press-article-card .legacy-button {
  margin-top: auto;
  margin-bottom: 0;
}

.press-photo-gallery {
  margin-top: clamp(3rem, 7vw, 6rem);
}

.press-photo-gallery .legacy-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.press-room-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .press-room-intro,
  .press-article-grid {
    grid-template-columns: 1fr;
  }

  .press-article-card {
    min-height: 0;
  }

  .press-photo-gallery .legacy-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .press-photo-gallery .legacy-gallery {
    grid-template-columns: 1fr;
  }

  .press-room-actions .legacy-button,
  .press-room-actions .btn {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .legacy-gallery,
  .legacy-content :where(.elementor-gallery__container, .gallery, .swiper-wrapper) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-html {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .legacy-gallery,
  .legacy-content :where(.elementor-gallery__container, .gallery, .swiper-wrapper) {
    grid-template-columns: 1fr;
  }

  .legacy-button,
  .legacy-button .btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .protocol-directory {
    padding: 18px 16px;
  }

  .protocol-directory-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .protocol-letter-grid,
  .original-protocol-layout .protocol-rail {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}

@media print {
  site-header,
  site-footer,
  .protocol-rail,
  .protocol-summary,
  .share-tools,
  .protocol-pagination,
  .scroll-progress {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .protocol-hero {
    padding: 20px 0;
    color: #000;
    background: #fff;
    border-bottom: 1px solid #bbb;
  }

  .protocol-title-row h1,
  .protocol-title-row p,
  .protocol-hero .breadcrumbs,
  .protocol-hero .breadcrumbs a {
    color: #000;
  }

  .protocol-content-layout {
    display: block;
  }

  .section {
    padding: 28px 0;
  }

  a {
    color: #000;
  }
}

/* Protocol pages: the alphabet is a full-width selector, not a sidebar. */
.original-protocol-layout.protocol-content-layout {
  display: grid;
  width: min(100%, 980px);
  max-width: 980px;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

.original-protocol-layout .protocol-rail {
  position: static;
  top: auto;
  width: 100%;
  max-height: none;
  overflow: visible;
  grid-template-columns: repeat(13, minmax(42px, 1fr));
}

.original-protocol-layout .protocol-rail a {
  width: 100%;
  min-width: 0;
  height: 44px;
}

@media (max-width: 820px) {
  .original-protocol-layout .protocol-rail {
    position: static;
    grid-template-columns: repeat(6, minmax(42px, 1fr));
  }
}

@media (max-width: 480px) {
  .original-protocol-layout .protocol-rail {
    grid-template-columns: repeat(5, minmax(40px, 1fr));
    padding: 10px;
    gap: 6px;
  }
}

/* CDS dilution calculator ------------------------------------------------ */
.calculator-page-hero h1 {
  max-width: 980px;
}

.dilution-calculator-section {
  background:
    radial-gradient(circle at 8% 15%, rgba(32, 100, 147, .09), transparent 28%),
    linear-gradient(180deg, #f7fafc, #fff);
}

.dilution-calculator {
  width: min(100%, 1120px);
}

.dilution-calculator-intro {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  column-gap: clamp(2rem, 8vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.dilution-calculator-intro .eyebrow {
  grid-column: 1 / -1;
}

.dilution-calculator-intro h2 {
  margin: .7rem 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.dilution-calculator-intro p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.dilution-calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.dilution-form,
.dilution-result-panel {
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(13, 44, 62, .1);
}

.dilution-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  background: #fff;
}

.dilution-field {
  padding: 1rem;
  border: 1px solid #dbe5eb;
  border-radius: 16px;
  background: #fbfdfe;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.dilution-field:focus-within {
  border-color: rgba(32, 100, 147, .65);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(32, 100, 147, .1);
}

.dilution-field-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .65rem;
}

.dilution-field-heading label {
  color: var(--ink);
  font-weight: 780;
}

.dilution-field-heading > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .76rem;
  font-weight: 850;
}

.dilution-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid #bfd0da;
  border-radius: 11px;
  background: #fff;
}

.dilution-input-wrap input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: .75rem 1rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
}

.dilution-input-wrap input::placeholder {
  color: #9aabb5;
  font-weight: 500;
}

.dilution-input-wrap > span {
  align-self: stretch;
  display: grid;
  min-width: 58px;
  padding-inline: .8rem;
  place-items: center;
  border-left: 1px solid #d6e1e7;
  background: #f1f6f9;
  color: var(--brand-deep);
  font-size: .82rem;
  font-weight: 850;
}

.dilution-field small {
  display: block;
  margin-top: .55rem;
  color: var(--muted);
  line-height: 1.45;
}

.dilution-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
  border-radius: 12px;
  background: var(--soft);
}

.dilution-option-row label {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 720;
}

.dilution-option-row select {
  min-width: 74px;
  min-height: 42px;
  padding: .45rem .7rem;
  border: 1px solid #bfd0da;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
}

.dilution-form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  margin-top: .25rem;
}

.dilution-form-actions .btn {
  min-height: 52px;
  justify-content: center;
}

.dilution-result-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 100%;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(103, 190, 238, .24), transparent 34%),
    linear-gradient(145deg, #123b52, #0b2939 72%);
}

.dilution-result-panel::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
}

.dilution-result-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.dilution-result-heading span {
  color: #9ed3f0;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dilution-result-heading strong {
  font-size: 1.05rem;
}

.dilution-empty {
  position: relative;
  z-index: 1;
  display: grid;
  margin: auto;
  padding-block: 3rem;
  place-items: center;
  text-align: center;
}

.dilution-empty > span {
  display: grid;
  width: 92px;
  height: 92px;
  margin-bottom: 1.25rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 26px;
  color: #a8dbf5;
  background: rgba(255, 255, 255, .07);
  font-size: 1.65rem;
  font-weight: 850;
}

.dilution-empty p {
  max-width: 310px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
}

.dilution-error {
  position: relative;
  z-index: 1;
  margin-block: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(255, 189, 189, .36);
  border-radius: 12px;
  color: #ffe7e7;
  background: rgba(152, 26, 26, .28);
  line-height: 1.55;
}

.dilution-result {
  position: relative;
  z-index: 1;
  padding-top: 1.25rem;
}

.dilution-result[hidden],
.dilution-error[hidden],
.dilution-empty[hidden] {
  display: none !important;
}

.dilution-result-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.dilution-result-card {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
}

.dilution-result-card > span,
.dilution-result-card small {
  display: block;
  color: rgba(255, 255, 255, .66);
  font-size: .72rem;
}

.dilution-result-card strong {
  display: block;
  overflow-wrap: anywhere;
  margin-block: .55rem;
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.dilution-ratio {
  margin-top: 1.25rem;
}

.dilution-ratio-bar {
  display: flex;
  overflow: hidden;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.dilution-ratio-bar span {
  width: 0;
  transition: width .4s ease;
}

.dilution-ratio-bar .is-cds,
.dilution-ratio-legend i.is-cds {
  background: #67beee;
}

.dilution-ratio-bar .is-water,
.dilution-ratio-legend i.is-water {
  background: #d9edf8;
}

.dilution-ratio-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .65rem 1rem;
  margin-top: .65rem;
  color: rgba(255, 255, 255, .68);
  font-size: .72rem;
}

.dilution-ratio-legend span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.dilution-ratio-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dilution-result-copy {
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, .84);
  line-height: 1.65;
}

.dilution-result-actions {
  margin-top: 1rem;
}

.dilution-copy {
  min-height: 42px;
  padding: .6rem .9rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font: inherit;
  font-size: .82rem;
  font-weight: 750;
  cursor: pointer;
}

.dilution-copy:hover {
  background: rgba(255, 255, 255, .14);
}

.dilution-formula {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.dilution-formula summary {
  color: #a8dbf5;
  font-size: .82rem;
  font-weight: 780;
  cursor: pointer;
}

.dilution-formula p {
  margin: .75rem 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: .82rem;
}

@media (max-width: 880px) {
  .dilution-calculator-intro,
  .dilution-calculator-grid {
    grid-template-columns: 1fr;
  }

  .dilution-calculator-intro p {
    margin-top: 1rem;
  }

  .dilution-result-panel {
    min-height: 520px;
  }
}

@media (max-width: 520px) {
  .dilution-form,
  .dilution-result-panel {
    border-radius: 18px;
  }

  .dilution-result-cards,
  .dilution-form-actions {
    grid-template-columns: 1fr;
  }

  .dilution-form-actions .btn,
  .dilution-copy {
    width: 100%;
  }

  .dilution-option-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Portadas internacionales: misma maqueta del inicio español con copy variable. */
body[data-section="inicio"] .hero-original-title,
body[data-section="inicio"] .book-hero-copy h2 {
  text-wrap: balance;
}

body[data-section="inicio"][data-language="de"] .hero-copy h1,
body[data-section="inicio"][data-language="fr"] .hero-copy h1,
body[data-section="inicio"][data-language="it"] .hero-copy h1,
body[data-section="inicio"][data-language="pt-pt"] .hero-copy h1 {
  font-size: clamp(2.15rem, 2.75vw, 3.05rem);
}

body[data-section="inicio"][data-language="de"] .book-hero-copy h2,
body[data-section="inicio"][data-language="fr"] .book-hero-copy h2,
body[data-section="inicio"][data-language="it"] .book-hero-copy h2,
body[data-section="inicio"][data-language="pt-pt"] .book-hero-copy h2 {
  font-size: clamp(2.15rem, 3vw, 3.3rem);
}

@media (min-width: 1101px) {
  body[data-section="inicio"] .books-grid.books-count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body[data-section="inicio"][data-language="de"] .home-hero,
  body[data-section="inicio"][data-language="de"] .hero-grid,
  body[data-section="inicio"][data-language="fr"] .home-hero,
  body[data-section="inicio"][data-language="fr"] .hero-grid,
  body[data-section="inicio"][data-language="it"] .home-hero,
  body[data-section="inicio"][data-language="it"] .hero-grid,
  body[data-section="inicio"][data-language="pt-pt"] .home-hero,
  body[data-section="inicio"][data-language="pt-pt"] .hero-grid {
    min-height: 780px;
  }

  body[data-section="inicio"][data-language="de"] .hero-copy h1,
  body[data-section="inicio"][data-language="fr"] .hero-copy h1,
  body[data-section="inicio"][data-language="it"] .hero-copy h1,
  body[data-section="inicio"][data-language="pt-pt"] .hero-copy h1 {
    font-size: clamp(1.9rem, 6.2vw, 2.45rem);
  }
}

@media (max-width: 580px) {
  body[data-section="inicio"][data-language="de"] .book-hero-copy h2,
  body[data-section="inicio"][data-language="fr"] .book-hero-copy h2,
  body[data-section="inicio"][data-language="it"] .book-hero-copy h2,
  body[data-section="inicio"][data-language="pt-pt"] .book-hero-copy h2 {
    font-size: clamp(1.78rem, 8.6vw, 2.25rem);
  }
}

/* Kalcker TV — portada */
.kalcker-tv-section {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  color: #172b38;
  background:
    radial-gradient(circle at 92% 8%, rgba(8, 123, 138, .11), transparent 28%),
    linear-gradient(145deg, #f8fcff 0%, #eaf7ff 68%, #e3f2f8 100%);
}

.kalcker-tv-section::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -180px;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(8, 123, 138, .12);
  border-radius: 50%;
}

.kalcker-tv-heading {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1180px;
  margin-inline: auto;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.kalcker-tv-heading .section-kicker {
  color: #087b8a;
}

.kalcker-tv-logo {
  display: block;
  width: 100%;
  max-width: 520px;
}

.kalcker-tv-logo img {
  width: 100%;
  height: auto;
}

.kalcker-tv-copy h2 {
  max-width: 600px;
  margin-bottom: .55rem;
  color: #0f2f43;
}

.kalcker-tv-copy p {
  max-width: 600px;
  margin-bottom: 1.35rem;
  color: #5c6f7b;
  font-size: 1rem;
  line-height: 1.65;
}

.kalcker-tv-copy .btn {
  background: #087b8a;
}

.kalcker-tv-copy .btn:hover {
  background: #0f2f43;
}

.kalcker-tv-stage {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(.45rem, 1.5vw, .85rem);
  border: 1px solid #afc4cf;
  border-radius: clamp(18px, 3vw, 30px);
  background: #071c28;
  box-shadow: 0 34px 80px rgba(7, 28, 40, .24);
}

.kalcker-tv-player {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: clamp(12px, 2vw, 22px);
  background: #020709;
}

.kalcker-tv-player iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 520px) {
  .kalcker-tv-section {
    padding-block: 3rem;
  }

  .kalcker-tv-stage {
    margin-inline: -.35rem;
  }
}

@media (max-width: 820px) {
  .kalcker-tv-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .kalcker-tv-logo {
    max-width: 420px;
  }
}

/* Calculadoras y herramientas químicas */
.tools-page-hero .page-hero-intro {
  max-width: 760px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.chemical-warning {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding: 1rem 1.15rem;
  border: 1px solid #ebcc9a;
  border-radius: 16px;
  color: #513d1c;
  background: #fff9ed;
}

.chemical-warning.is-danger {
  border-color: #e6b3b3;
  color: #632424;
  background: #fff5f5;
}

.chemical-warning > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #9b6916;
  font-weight: 900;
}

.chemical-warning.is-danger > span {
  background: #a62d2d;
}

.chemical-warning strong,
.chemical-warning p {
  display: block;
  margin: 0;
}

.chemical-warning p {
  margin-top: .25rem;
  color: inherit;
  line-height: 1.58;
}

.tools-hub-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 2rem;
  align-items: end;
  margin: 2rem 0;
}

.tools-hub-heading h2,
.tool-plain-guide h2,
.tool-plain-guide h3 {
  margin: .4rem 0 0;
  color: var(--ink);
}

.tools-hub-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.tools-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.tool-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 390px;
  padding: clamp(1.35rem, 4vw, 2rem);
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(13, 44, 62, .08);
}

.tool-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(32, 100, 147, .06);
}

.tool-card.is-featured {
  border-color: rgba(32, 100, 147, .42);
  background: linear-gradient(145deg, #fff, #f3f9fc);
}

.tool-card.is-caution {
  border-color: #e8c7a8;
}

.tool-card-code {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-bottom: 2rem;
  padding: .5rem .7rem;
  border-radius: 9px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.tool-kicker {
  display: block;
  color: var(--brand);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tool-card h3 {
  margin: .45rem 0 .75rem;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.tool-card .tool-card-use {
  margin: 1.25rem 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}

.tool-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.tool-plain-guide {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #cddfe9;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #f3f8fb);
}

.tool-guide-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--brand);
  font-size: 1.2rem;
  font-weight: 900;
}

.tool-plain-guide p {
  max-width: 900px;
  margin: .7rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.tool-steps {
  display: grid;
  gap: .7rem;
  margin: 1.15rem 0 0;
  padding: 0;
  counter-reset: tool-step;
  list-style: none;
}

.tool-steps li {
  position: relative;
  min-height: 34px;
  padding: .35rem 0 .35rem 46px;
  color: #405969;
  line-height: 1.6;
  counter-increment: tool-step;
}

.tool-steps li::before {
  content: counter(tool-step);
  position: absolute;
  left: 0;
  top: .15rem;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #c9dce7;
  border-radius: 50%;
  color: var(--brand);
  background: #fff;
  font-size: .78rem;
  font-weight: 850;
}

.dilution-select-wrap select {
  width: 100%;
  min-height: 52px;
  padding: .75rem 2.75rem .75rem 1rem;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 700;
}

.dilution-field[hidden] {
  display: none !important;
}

.tool-confirm {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .8rem;
  padding: 1rem;
  border: 1px solid #e3c5a8;
  border-radius: 14px;
  color: #5d452f;
  background: #fffaf4;
  font-size: .88rem;
  line-height: 1.55;
  cursor: pointer;
}

.tool-confirm input {
  width: 20px;
  height: 20px;
  margin-top: .1rem;
  accent-color: var(--brand);
}

.tool-explanation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 1rem;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.tool-explanation,
.tool-safety-note {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.tool-explanation summary {
  color: var(--ink);
  font-weight: 820;
  cursor: pointer;
}

.tool-explanation div,
.tool-safety-note p {
  color: var(--muted);
  line-height: 1.65;
}

.tool-explanation p,
.tool-safety-note p {
  margin: .75rem 0 0;
}

.tool-safety-note {
  border-left: 4px solid var(--brand);
  background: #f7fbfd;
}

.tool-safety-note.is-danger {
  border-color: #ad3434;
  background: #fff8f8;
}

.tool-safety-note strong {
  color: var(--ink);
}

.tool-safety-note a {
  display: inline-flex;
  margin-top: .85rem;
  color: var(--brand);
  font-size: .82rem;
  font-weight: 800;
}

.converter-result-main {
  display: grid;
  gap: .7rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
}

.converter-result-main span {
  color: rgba(255, 255, 255, .65);
  font-size: .85rem;
}

.converter-result-main strong {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
}

@media (max-width: 880px) {
  .tools-hub-heading,
  .tool-explanation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .tools-hub-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .chemical-warning,
  .tool-plain-guide {
    grid-template-columns: 1fr;
  }

  .tool-card,
  .tool-plain-guide {
    border-radius: 18px;
  }
}

/* Escala y composición refinadas para la portada */
body[data-section="inicio"] main h2 {
  font-size: clamp(1.95rem, 2.7vw, 2.85rem);
  line-height: 1.14;
  letter-spacing: -.032em;
}

body[data-section="inicio"] main > .section {
  padding-block: clamp(58px, 7vw, 94px);
}

body[data-section="inicio"] .home-hero,
body[data-section="inicio"] .hero-grid {
  min-height: 520px;
}

body[data-section="inicio"] .hero-copy h1 {
  max-width: 660px;
  font-size: clamp(2.15rem, 2.7vw, 3.05rem);
  line-height: 1.08;
}

body[data-section="inicio"] .hero-copy > p {
  max-width: 580px;
  font-size: 1rem;
  line-height: 1.6;
}

body[data-section="inicio"] .section-head {
  margin-bottom: clamp(30px, 4vw, 40px);
  gap: 28px;
}

body[data-section="inicio"] .section-head > div:first-child {
  max-width: 790px;
}

body[data-section="inicio"] .section-head p {
  max-width: 720px;
  margin-top: .8rem;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
}

body[data-section="inicio"] .books-section .container,
body[data-section="inicio"] .section-brand-soft > .container {
  width: min(calc(100% - 40px), 1480px);
}

body[data-section="inicio"] .book-card {
  min-height: 455px;
  padding: 21px;
}

body[data-section="inicio"] .book-visual {
  min-height: 205px;
  margin-bottom: 18px;
}

body[data-section="inicio"] .book-card h3 {
  font-size: clamp(1.12rem, 1.45vw, 1.35rem);
  line-height: 1.22;
}

body[data-section="inicio"] .book-card p,
body[data-section="inicio"] .ecosystem-card p {
  font-size: .82rem;
  line-height: 1.58;
}

body[data-section="inicio"] .ecosystem-card {
  min-height: 285px;
  padding: 22px;
}

body[data-section="inicio"] .recognition-section {
  padding-block: clamp(54px, 6vw, 76px);
}

body[data-section="inicio"] .kalcker-tv-section {
  padding-block: clamp(52px, 7vw, 84px);
}

@media (max-width: 820px) {
  body[data-section="inicio"] .books-section .container,
  body[data-section="inicio"] .section-brand-soft > .container {
    width: min(calc(100% - 30px), 1480px);
  }

  body[data-section="inicio"] .home-hero,
  body[data-section="inicio"] .hero-grid {
    min-height: 720px;
  }

  body[data-section="inicio"] .hero-copy {
    padding: 36px 0 355px;
  }

  body[data-section="inicio"] .hero-copy h1 {
    max-width: 560px;
    font-size: clamp(2.05rem, 6.8vw, 2.65rem);
  }
}

@media (max-width: 580px) {
  body[data-section="inicio"] main h2 {
    font-size: clamp(1.8rem, 8vw, 2.05rem);
  }

  body[data-section="inicio"] .section-head {
    gap: 16px;
  }

  body[data-section="inicio"] .section-head p {
    font-size: .94rem;
  }

  body[data-section="inicio"] .book-card {
    min-height: auto;
  }
}

/* Kalcker TV: versión compacta y con mayor contraste */
body[data-section="inicio"] .kalcker-tv-section {
  padding-block: clamp(42px, 5vw, 68px);
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(8, 123, 138, .2), transparent 26%),
    linear-gradient(145deg, #102b3b 0%, #0f2f43 58%, #071c28 100%);
}

.kalcker-tv-layout {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1140px);
  margin-inline: auto;
  grid-template-columns: minmax(260px, 340px) minmax(0, 760px);
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 48px);
}

body[data-section="inicio"] .kalcker-tv-heading {
  display: flex;
  max-width: none;
  margin: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
}

body[data-section="inicio"] .kalcker-tv-logo {
  width: 100%;
  max-width: 340px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .16);
}

body[data-section="inicio"] .kalcker-tv-copy .section-kicker {
  margin-bottom: 10px;
  color: #9fd1eb;
}

body[data-section="inicio"] .kalcker-tv-copy h2 {
  max-width: 340px;
  margin-bottom: .55rem;
  color: #fff;
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  line-height: 1.15;
}

body[data-section="inicio"] .kalcker-tv-copy p {
  max-width: 340px;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, .76);
  font-size: .94rem;
  line-height: 1.6;
}

body[data-section="inicio"] .kalcker-tv-copy .btn {
  min-height: 46px;
  padding-inline: 17px;
  background: #206493;
  font-size: .86rem;
}

body[data-section="inicio"] .kalcker-tv-stage {
  width: 100%;
  max-width: 760px;
  margin: 0;
  padding: 8px;
  border-color: rgba(159, 209, 235, .35);
  border-radius: 22px;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 26px 65px rgba(0, 0, 0, .3);
}

body[data-section="inicio"] .kalcker-tv-player {
  border-radius: 15px;
}

@media (max-width: 900px) {
  .kalcker-tv-layout {
    max-width: 760px;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  body[data-section="inicio"] .kalcker-tv-heading {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
  }

  body[data-section="inicio"] .kalcker-tv-copy h2,
  body[data-section="inicio"] .kalcker-tv-copy p {
    max-width: none;
  }
}

@media (max-width: 650px) {
  body[data-section="inicio"] .kalcker-tv-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body[data-section="inicio"] .kalcker-tv-logo {
    max-width: 300px;
  }

  body[data-section="inicio"] .kalcker-tv-stage {
    margin-inline: 0;
    padding: 5px;
    border-radius: 16px;
  }

  body[data-section="inicio"] .kalcker-tv-player {
    border-radius: 11px;
  }
}

/* Comunidad Andreas Kalcker */
body.community-popup-open {
  overflow: hidden;
}

.community-popup {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  padding: 24px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.community-popup.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.community-popup-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(7, 28, 40, .74);
  backdrop-filter: blur(6px);
  cursor: default;
}

.community-popup-card {
  position: relative;
  z-index: 1;
  display: grid;
  overflow: auto;
  width: min(100%, 880px);
  max-height: min(760px, calc(100vh - 48px));
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .34);
  transform: translateY(18px) scale(.985);
  transition: transform .24s ease;
}

.community-popup.is-open .community-popup-card {
  transform: none;
}

.community-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid #dce6ec;
  border-radius: 50%;
  color: #172b38;
  background: rgba(255, 255, 255, .94);
  font-size: .85rem;
  cursor: pointer;
}

.community-popup-intro {
  padding: clamp(34px, 5vw, 54px);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(98, 210, 143, .16), transparent 34%),
    linear-gradient(145deg, #154b70, #0f2f43 72%);
}

.community-popup-kicker {
  display: block;
  margin-bottom: 18px;
  color: #9fd1eb;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.community-popup-intro h2 {
  margin-bottom: .65rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.community-popup-intro p {
  color: rgba(255, 255, 255, .78);
  font-size: .96rem;
  line-height: 1.65;
}

.community-popup-intro ul {
  display: grid;
  gap: .55rem;
  margin: 1.4rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .88);
  font-size: .85rem;
  list-style: none;
}

.community-popup-intro li {
  position: relative;
  padding-left: 22px;
}

.community-popup-intro li::before {
  position: absolute;
  left: 0;
  color: #9fd1eb;
  content: "✓";
  font-weight: 850;
}

.community-popup-form-panel {
  padding: clamp(34px, 5vw, 52px);
  background: #fff;
}

.community-form {
  display: grid;
  gap: 15px;
}

.community-field {
  display: grid;
  gap: 7px;
}

.community-field label {
  color: #172b38;
  font-size: .82rem;
  font-weight: 780;
}

.community-field input {
  width: 100%;
  min-height: 50px;
  padding: 10px 13px;
  border: 1px solid #c8d7df;
  border-radius: 10px;
  color: #172b38;
  background: #fbfdfe;
  outline: 0;
}

.community-field input:focus {
  border-color: #206493;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(32, 100, 147, .1);
}

.community-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #5c6f7b;
  font-size: .78rem;
  line-height: 1.5;
  cursor: pointer;
}

.community-consent input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: #206493;
}

.community-consent a {
  font-weight: 720;
}

.community-submit {
  width: 100%;
  margin-top: 3px;
}

.community-submit:disabled {
  opacity: .72;
  cursor: wait;
}

.community-form-note,
.community-submit-status {
  margin: 0;
  color: #6b7d88;
  font-size: .73rem;
  line-height: 1.5;
  text-align: center;
}

.community-submit-status {
  padding: 9px 10px;
  border-radius: 9px;
  color: #154b70;
  background: #eaf3f8;
  font-weight: 720;
}

.community-submit-status[hidden] {
  display: none;
}

.community-email-action[hidden] {
  display: none;
}

.community-form.is-awaiting-confirmation .community-field,
.community-form.is-awaiting-confirmation .community-consent,
.community-form.is-awaiting-confirmation .community-submit,
.community-form.is-awaiting-confirmation .community-form-note,
.community-form.is-awaiting-confirmation .community-submit-status {
  display: none;
}

.community-email-action {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 26px 22px 22px;
  border: 2px solid #206493;
  border-radius: 18px;
  color: #17384e;
  background: linear-gradient(180deg, #f4fafe 0%, #fff 72%);
  box-shadow: 0 16px 38px rgba(22, 70, 101, .13);
  text-align: center;
  outline: 0;
}

.community-email-icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 2px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #206493;
  box-shadow: 0 9px 22px rgba(32, 100, 147, .25);
}

.community-email-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.community-email-kicker {
  color: #206493;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .13em;
}

.community-email-action h3 {
  margin: 0;
  color: #102f43;
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  line-height: 1.08;
}

.community-email-action > p {
  margin: 0;
  color: #58707f;
  font-size: .86rem;
  line-height: 1.5;
}

.community-email-address {
  max-width: 100%;
  padding: 7px 12px;
  border-radius: 999px;
  overflow-wrap: anywhere;
  color: #154b70;
  background: #dceef8;
  font-size: .88rem;
}

.community-provider-link {
  width: 100%;
  margin-top: 4px;
  min-height: 52px;
  font-size: .95rem;
}

.community-provider-link[hidden] {
  display: none;
}

.community-confirmation-steps {
  display: grid;
  width: 100%;
  gap: 7px;
  margin-top: 3px;
  text-align: left;
}

.community-confirmation-steps span {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 9px;
  color: #3f5969;
  font-size: .78rem;
  line-height: 1.35;
}

.community-confirmation-steps b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #206493;
  font-size: .72rem;
}

.community-email-action .community-spam-note {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  color: #6c5422;
  background: #fff6d9;
  font-size: .73rem;
}

.community-result-frame {
  display: block;
  width: 100%;
  height: 72px;
  margin-top: -4px;
  border: 0;
}

.community-form.is-awaiting-confirmation .community-result-frame {
  height: 58px;
  margin-top: 0;
  opacity: .82;
}

@media (max-width: 720px) {
  .community-popup {
    padding: 14px;
    align-items: end;
  }

  .community-popup-card {
    max-height: calc(100vh - 28px);
    grid-template-columns: 1fr;
    border-radius: 20px 20px 14px 14px;
  }

  .community-popup-intro {
    padding: 28px 26px 24px;
  }

  .community-popup-intro h2 {
    max-width: 80%;
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .community-popup-intro ul {
    display: none;
  }

  .community-popup-form-panel {
    padding: 26px;
  }

  .community-email-action {
    padding: 22px 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-popup,
  .community-popup-card {
    transition: none;
  }
}

/* Portada principal: slider de contenidos destacados */
.home-hero-slider {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #173f58;
  background-image: none;
}

.home-hero-slider::before {
  display: none;
}

.home-hero-track,
.home-hero-slide {
  min-height: 520px;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease, visibility .55s ease;
}

.home-hero-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.home-hero-slide-main {
  background-color: #280305;
  background-image: url("../img/andreas-back_real_short.jpg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.home-hero-slide-main::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 2, 4, .9) 0%, rgba(28, 3, 5, .76) 39%, rgba(28, 3, 5, .18) 68%, rgba(28, 3, 5, .02) 100%);
  content: "";
}

.home-hero-slide-main .hero-grid {
  position: relative;
  z-index: 1;
}

.home-hero-slide-book {
  color: #fff;
  background:
    radial-gradient(circle at 76% 44%, rgba(255, 255, 255, .18), transparent 28%),
    linear-gradient(125deg, #3d9fca 0%, #45acd4 54%, #287fae 100%);
}

.home-hero-slide-book::before {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, .18) 49%, rgba(255, 255, 255, .18) 51%, transparent 52%),
    linear-gradient(150deg, transparent 48%, rgba(255, 255, 255, .12) 49%, rgba(255, 255, 255, .12) 51%, transparent 52%);
  background-size: 86px 86px;
  content: "";
}

.book-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .8fr);
  align-items: center;
  gap: 40px;
  padding-block: 34px 54px;
}

.book-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.book-hero-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 66, 101, .22);
  font-size: .72rem;
  font-weight: 820;
  letter-spacing: .1em;
}

.book-hero-copy h2 {
  max-width: 650px;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2.35rem, 3.3vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.book-hero-copy h2 em {
  font-weight: 420;
}

.book-hero-copy > p:not(.book-hero-languages) {
  max-width: 620px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
}

.book-hero-languages {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 7px 12px;
  border-radius: 8px;
  color: #164964;
  background: rgba(255, 255, 255, .9);
  font-size: .83rem;
  font-weight: 780;
}

.book-hero-button {
  display: flex;
  width: fit-content;
  color: #206493;
  background: #fff;
  box-shadow: 0 12px 28px rgba(12, 70, 104, .18);
}

.book-hero-button:hover {
  color: #fff;
  background: #164f74;
}

.book-hero-visual {
  position: relative;
  display: grid;
  height: 100%;
  align-items: end;
  justify-items: center;
}

.book-hero-visual img {
  width: min(100%, 555px);
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(6, 49, 76, .28));
  transform: rotate(1.5deg) translateY(28px);
}

.home-hero-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: rgba(11, 38, 55, .72);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.home-hero-arrow,
.home-hero-pause,
.home-hero-dot {
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.home-hero-arrow,
.home-hero-pause {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: .88rem;
}

.home-hero-arrow:hover,
.home-hero-arrow:focus-visible,
.home-hero-pause:hover,
.home-hero-pause:focus-visible {
  background: rgba(255, 255, 255, .18);
  outline: 0;
}

.home-hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-inline: 2px;
}

.home-hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
}

.home-hero-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: #fff;
}

@media (max-width: 820px) {
  .home-hero-slider,
  .home-hero-track,
  .home-hero-slide,
  .book-hero-grid {
    min-height: 720px;
  }

  .home-hero-slide-main {
    background-image: url("../img/andreas-back_real_vert.jpg");
    background-position: center bottom;
  }

  .home-hero-slide-main::before {
    background: linear-gradient(180deg, rgba(18, 2, 4, .9) 0%, rgba(18, 2, 4, .62) 48%, rgba(18, 2, 4, .08) 72%, rgba(18, 2, 4, 0) 100%);
  }

  .book-hero-grid {
    display: block;
    padding-block: 34px 56px;
  }

  .book-hero-copy {
    max-width: 610px;
  }

  .book-hero-copy h2 {
    max-width: 580px;
    font-size: clamp(2.2rem, 7vw, 3.05rem);
  }

  .book-hero-copy > p:not(.book-hero-languages) {
    max-width: 560px;
  }

  .book-hero-visual {
    position: absolute;
    right: -5%;
    bottom: 2px;
    width: 72%;
    height: 390px;
    justify-items: end;
  }

  .book-hero-visual img {
    max-height: 390px;
    transform: rotate(1.5deg) translateY(30px);
  }
}

@media (max-width: 580px) {
  .book-hero-grid {
    width: min(calc(100% - 30px), 1480px);
    padding-top: 28px;
  }

  .book-hero-kicker {
    margin-bottom: 13px;
    font-size: .64rem;
  }

  .book-hero-copy h2 {
    margin-bottom: 13px;
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .book-hero-copy > p:not(.book-hero-languages) {
    max-width: 94%;
    font-size: .92rem;
  }

  .book-hero-languages {
    margin-bottom: 14px;
  }

  .book-hero-button {
    padding: 12px 15px;
    font-size: .78rem;
  }

  .book-hero-visual {
    right: -18%;
    width: 105%;
    height: 340px;
  }

  .book-hero-visual img {
    max-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slide {
    transition: none;
  }
}

/* Página de protocolos: lectura estructurada del contenido original */
.protocol-disclaimer-panel {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(235px, .38fr) minmax(0, 1fr);
  border: 1px solid #d4e2e9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(21, 61, 86, .1);
}

.protocol-disclaimer-heading {
  display: flex;
  padding: clamp(26px, 4vw, 42px);
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
  color: #fff;
  background: linear-gradient(145deg, #154b70, #0f2f43);
}

.protocol-disclaimer-symbol {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  color: #154b70;
  background: #fff;
  font-size: 1.35rem;
  font-weight: 900;
}

.protocol-disclaimer-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.protocol-disclaimer-panel .original-disclaimer {
  display: grid;
  padding: clamp(26px, 4vw, 42px);
  align-content: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.protocol-disclaimer-panel .original-disclaimer p:last-child {
  margin-bottom: 0;
}

.protocol-general-section {
  background:
    radial-gradient(circle at 90% 8%, rgba(32, 100, 147, .08), transparent 24%),
    linear-gradient(180deg, #fff, #f4f8fa);
}

.protocol-general-heading {
  display: flex;
  margin-bottom: 26px;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.protocol-general-heading h2 {
  margin: 0;
  color: #102f43;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.protocol-video-panel {
  display: grid;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 18px;
  grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  border-radius: 20px;
  background: #102f43;
  box-shadow: 0 18px 42px rgba(15, 47, 67, .16);
}

.protocol-video-heading {
  padding: clamp(12px, 3vw, 30px);
}

.protocol-video-heading h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.14;
}

.protocol-video-panel .original-video {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
}

.protocol-information-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  font-size: .96rem;
  line-height: 1.72;
}

.protocol-information-card {
  position: relative;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid #d8e4ea;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(26, 67, 92, .065);
}

.protocol-information-card::before {
  position: absolute;
  top: 0;
  left: 28px;
  width: 52px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: #69a8ce;
  content: "";
}

.protocol-information-card.is-wide {
  grid-column: 1 / -1;
}

.protocol-information-card.is-key {
  border-color: #c7dfec;
  background: linear-gradient(145deg, #f3f9fc, #fff);
}

.protocol-information-card.is-note {
  border-color: #99c8df;
  background: #eaf5fb;
}

.protocol-information-card.is-safety {
  border-color: #ead9ab;
  background: linear-gradient(145deg, #fff9e9, #fff);
}

.protocol-information-card.is-safety::before {
  background: #d5a83f;
}

.protocol-information-card.is-measurement-lead {
  color: #fff;
  border-color: #206493;
  background: linear-gradient(125deg, #206493, #164965);
}

.protocol-information-card.is-measurement-lead::before {
  background: #b9def1;
}

.protocol-information-card.is-measurement {
  border-color: #bdd9e7;
  background: #f1f8fc;
}

.protocol-information-card p {
  margin: 0;
}

.protocol-card-label {
  display: block;
  margin-bottom: 8px;
  color: #154b70;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.protocol-information-card.is-safety .protocol-card-label {
  color: #806018;
}

.protocol-information-card.is-measurement-lead .protocol-card-label {
  color: #d5edf8;
}

@media (max-width: 820px) {
  .protocol-disclaimer-panel,
  .protocol-video-panel {
    grid-template-columns: 1fr;
  }

  .protocol-disclaimer-heading {
    padding: 26px;
    flex-direction: row;
    align-items: center;
  }

  .protocol-disclaimer-symbol {
    flex: 0 0 auto;
  }

  .protocol-video-heading {
    padding: 12px 10px 2px;
  }
}

@media (max-width: 680px) {
  .protocol-information-grid {
    grid-template-columns: 1fr;
  }

  .protocol-information-card.is-wide {
    grid-column: auto;
  }

  .protocol-disclaimer-panel .original-disclaimer {
    padding: 24px;
  }
}

/* Legalidad del dióxido de cloro */
.legality-hero {
  padding-block: clamp(52px, 7vw, 84px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 10%, rgba(111, 183, 220, .18), transparent 30%),
    linear-gradient(125deg, #102f43 0%, #164f74 62%, #206493 100%);
}

.legality-hero::after {
  display: none;
}

.legality-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}

.legality-hero .breadcrumbs,
.legality-hero .breadcrumbs a {
  color: rgba(255, 255, 255, .67);
}

.legality-hero h1 {
  max-width: 800px;
  margin-bottom: 26px;
  color: #fff;
  font-size: clamp(2.75rem, 5.1vw, 5.2rem);
  line-height: .97;
}

.legality-opening-quote {
  max-width: 810px;
  margin: 0;
  padding: 19px 22px;
  border-left: 4px solid #9ed2ed;
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, .09);
}

.legality-opening-quote :where(p, h1, h2, h3, h4, h5, h6) {
  margin: 0;
  color: #fff;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 520;
  line-height: 1.55;
}

.publication-details [data-content-filter-item][hidden] {
  display: none;
}

.legality-attribution {
  max-width: 760px;
  margin-top: 15px;
  color: rgba(255, 255, 255, .72);
  font-size: .85rem;
  line-height: 1.5;
}

.legality-attribution p {
  margin: 0;
}

.legality-portrait {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .27);
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 24px 55px rgba(3, 23, 36, .3);
}

.legality-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  filter: sepia(.08) contrast(1.03);
}

.legality-page-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(32, 100, 147, .07), transparent 25%),
    #f5f8fa;
}

.legality-content {
  display: grid;
  max-width: 1240px;
  gap: 28px;
}

.legality-card,
.legality-split-card,
.legality-consent-card {
  overflow: hidden;
  border: 1px solid #d6e3e9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(24, 65, 90, .08);
}

.legality-rights-card {
  display: grid;
  grid-template-columns: minmax(230px, .36fr) minmax(0, 1fr);
}

.legality-card-heading {
  padding: clamp(28px, 4vw, 42px);
  color: #fff;
  background: linear-gradient(145deg, #154b70, #102f43);
}

.legality-card-heading :where(h1, h2, h3, h4, h5, h6) {
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.18;
}

.legality-section-number {
  display: inline-grid;
  min-width: 44px;
  min-height: 30px;
  padding-inline: 9px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #88c5e6;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.legality-text {
  padding: clamp(28px, 4vw, 44px);
  color: #385464;
  font-size: 1rem;
  line-height: 1.78;
}

.legality-text p {
  margin: 0 0 1.25em;
}

.legality-text p:last-child,
.legality-text ul:last-child {
  margin-bottom: 0;
}

.legality-text a {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.legality-consent-card {
  color: #fff;
  background: linear-gradient(135deg, #164f74, #102f43);
}

.legality-consent-intro {
  padding: clamp(30px, 5vw, 48px);
  text-align: center;
}

.legality-consent-intro .elementor-cta__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.legality-consent-intro .elementor-cta__description {
  color: rgba(255, 255, 255, .77);
  font-size: 1rem;
}

.legality-form {
  margin: 0 clamp(16px, 4vw, 42px) clamp(16px, 4vw, 42px);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}

.legality-form iframe {
  display: block;
  width: 100%;
  min-height: 540px;
  border: 0;
}

.legality-articles-card {
  padding: clamp(28px, 4vw, 42px);
}

.legality-articles-card > .legality-section-number {
  margin-bottom: 4px;
  color: #206493;
}

.legality-articles-card .legality-text {
  padding: 18px 0 0;
}

.legality-articles-card .legality-text p:has(> b:first-child) {
  margin-top: 1.5rem;
  padding: 12px 15px;
  border-left: 3px solid #206493;
  border-radius: 0 8px 8px 0;
  color: #154b70;
  background: #edf6fa;
}

.legality-articles-card .legality-text p:first-child {
  margin-top: 0;
}

.legality-split-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
  align-items: stretch;
}

.legality-split-card.is-reversed {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
}

.legality-split-copy {
  padding: clamp(12px, 2vw, 20px);
}

.legality-split-copy > .legality-section-number {
  margin: 18px 0 0 24px;
  color: #206493;
}

.legality-split-copy .legality-text {
  padding-top: 20px;
}

.legality-reference-image {
  min-height: 100%;
  margin: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: #eaf2f6;
}

.legality-reference-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 520px;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(22, 62, 87, .13);
}

.legality-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}

@media (max-width: 860px) {
  .legality-hero-grid,
  .legality-rights-card,
  .legality-split-card,
  .legality-split-card.is-reversed {
    grid-template-columns: 1fr;
  }

  .legality-portrait {
    width: min(100%, 520px);
  }

  .legality-reference-image {
    min-height: 0;
  }
}

@media (max-width: 580px) {
  .legality-hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.6rem);
  }

  .legality-opening-quote {
    padding: 16px 17px;
  }

  .legality-card-heading {
    padding: 26px;
  }

  .legality-text {
    padding: 25px;
  }

  .legality-form iframe {
    min-height: 620px;
  }

  .legality-page-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .legality-page-nav .btn {
    justify-content: center;
    width: 100%;
  }
}

/* Plantilla editorial para contenidos extensos */
.editorial-page-hero {
  padding-block: clamp(56px, 8vw, 96px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 5%, rgba(121, 193, 228, .17), transparent 30%),
    linear-gradient(125deg, #102f43, #164f74 68%, #206493);
}

.editorial-page-hero::after {
  display: none;
}

.editorial-page-hero .breadcrumbs,
.editorial-page-hero .breadcrumbs a {
  color: rgba(255, 255, 255, .68);
}

.editorial-page-hero h1 {
  max-width: 1040px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 5.4vw, 5.25rem);
  line-height: .98;
}

.editorial-page-section {
  background:
    radial-gradient(circle at 92% 4%, rgba(32, 100, 147, .065), transparent 24%),
    #f5f8fa;
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(210px, 255px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 58px);
}

.editorial-layout.has-no-toc {
  grid-template-columns: minmax(0, 1fr);
}

.editorial-layout.has-no-toc .editorial-sidebar {
  display: none;
}

.editorial-sidebar {
  position: sticky;
  top: 118px;
}

.editorial-toc {
  overflow: hidden;
  padding: 20px;
  border: 1px solid #d3e1e8;
  border-radius: 15px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px rgba(22, 62, 86, .07);
}

.editorial-toc > strong {
  display: block;
  margin-bottom: 12px;
  color: #154b70;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.editorial-toc ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-toc a {
  display: block;
  padding: 7px 9px;
  border-radius: 8px;
  color: #4d6574;
  font-size: .76rem;
  line-height: 1.35;
  text-decoration: none;
}

.editorial-toc a:hover,
.editorial-toc a:focus-visible {
  color: #154b70;
  background: #eaf4f9;
  outline: 0;
}

.editorial-toc .toc-level-h3 a {
  padding-left: 20px;
  font-size: .72rem;
}

.editorial-content {
  width: 100%;
  max-width: none;
}

.editorial-content .legacy-widget {
  margin-bottom: 20px;
}

.editorial-content .legacy-widget-heading {
  margin: clamp(42px, 6vw, 70px) 0 17px;
}

.editorial-content .legacy-widget-heading:first-child {
  margin-top: 0;
}

.editorial-content .legacy-widget-heading :where(h2, h3, h4) {
  scroll-margin-top: 125px;
  color: #102f43;
  line-height: 1.12;
}

.editorial-content .legacy-widget-heading h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid #cddde5;
  font-size: clamp(1.85rem, 3.7vw, 2.8rem);
}

.editorial-content .legacy-widget-heading h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
}

.editorial-content .legacy-widget-text-editor,
.editorial-content .legacy-widget-alert,
.editorial-content .legacy-widget-icon-list {
  padding: clamp(23px, 3.5vw, 34px);
  border: 1px solid #d7e3e9;
  border-radius: 16px;
  color: #3d5969;
  background: #fff;
  box-shadow: 0 9px 26px rgba(22, 62, 86, .055);
}

.editorial-content .legacy-widget-text-editor p:last-child,
.editorial-content .legacy-widget-alert p:last-child {
  margin-bottom: 0;
}

.editorial-content .legacy-widget-image {
  margin-block: 26px;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid #d6e3e9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 62, 86, .07);
}

.editorial-content .legacy-widget-image img {
  box-shadow: none;
}

.editorial-content .legacy-detail {
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid #d3e1e8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(24, 65, 90, .045);
}

.editorial-content .legacy-detail summary {
  padding: 16px 48px 16px 18px;
  color: #173e57;
  background: #fff;
  font-size: .92rem;
  line-height: 1.4;
}

.editorial-content .legacy-detail[open] summary {
  color: #154b70;
  background: #edf6fa;
}

.editorial-content .legacy-detail-content {
  padding: 20px;
  color: #435e6e;
  line-height: 1.72;
}

.editorial-content [data-content-filter-item][hidden] {
  display: none;
}

.editorial-filter {
  max-width: 880px;
  margin: 0 0 34px auto;
  padding: 20px;
  border: 1px solid #cfe0e8;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(21, 61, 86, .07);
}

.editorial-filter > label {
  display: block;
  margin-bottom: 8px;
  color: #173e57;
  font-size: .82rem;
  font-weight: 800;
}

.editorial-filter-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 4px 6px 4px 14px;
  border: 1px solid #c7d9e2;
  border-radius: 11px;
  background: #f8fbfc;
}

.editorial-filter-control > span {
  color: #206493;
  font-size: 1.3rem;
}

.editorial-filter-control input {
  min-width: 0;
  border: 0;
  color: #173e57;
  background: transparent;
  outline: 0;
}

.editorial-filter-control button {
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  color: #154b70;
  background: #e5f1f7;
  font-size: .72rem;
  font-weight: 760;
  cursor: pointer;
}

.editorial-filter-control button[hidden] {
  display: none;
}

.editorial-filter > p {
  min-height: 1em;
  margin: 7px 0 0;
  color: #6b7f8b;
  font-size: .7rem;
  text-align: right;
}

.editorial-precauciones .legacy-widget-text-editor,
.editorial-toxicidad .legacy-widget-text-editor,
.editorial-protocolos-medicos .legacy-widget-text-editor {
  border-left: 4px solid #c69a32;
  background: linear-gradient(145deg, #fffaf0, #fff);
}

.editorial-mecanismo-de-accion .legacy-widget-text-editor,
.editorial-la-quimica-de-cds .legacy-widget-text-editor,
.editorial-medicina-electromolecular .legacy-widget-text-editor,
.editorial-frecuencias .legacy-widget-text-editor {
  border-top: 3px solid #75b5d8;
}

.editorial-sala-de-prensa-dioxido-de-cloro-el-antidoto-universal .legacy-widget-text-editor {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.85;
}

.editorial-sala-de-prensa-dioxido-de-cloro-el-antidoto-universal .legacy-widget-heading {
  font-family: Georgia, "Times New Roman", serif;
}

/* Catálogo completo de libros */
.books-page-hero {
  padding-block: clamp(58px, 8vw, 96px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(132, 196, 229, .17), transparent 30%),
    linear-gradient(125deg, #102f43, #164f74 68%, #206493);
}

.books-page-hero::after {
  display: none;
}

.books-page-hero .breadcrumbs,
.books-page-hero .breadcrumbs a,
.books-page-hero .eyebrow {
  color: rgba(255, 255, 255, .7);
}

.books-page-hero h1 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.books-original-notice {
  max-width: 880px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 13px;
  color: rgba(255, 255, 255, .84);
  background: rgba(255, 255, 255, .09);
  line-height: 1.6;
}

.books-original-notice :where(p, .elementor-alert-title, .elementor-alert-description) {
  margin: 0;
  color: inherit;
}

.books-library-section {
  background: #f5f8fa;
}

.books-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.books-library-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(190px, .72fr) minmax(0, 1.28fr);
  border: 1px solid #d6e3e9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(24, 65, 90, .075);
}

.books-library-card.is-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  border-color: #80b7d3;
  background: linear-gradient(135deg, #eef8fc, #fff 62%);
}

.books-library-cover {
  display: grid;
  min-height: 330px;
  padding: 24px;
  place-items: center;
  background: #edf3f6;
}

.books-library-card.is-featured .books-library-cover {
  min-height: 430px;
  background: linear-gradient(145deg, #dceef7, #eef7fb);
}

.books-library-cover img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 17px 19px rgba(18, 53, 74, .17));
}

.books-library-copy {
  padding: clamp(26px, 4vw, 42px);
  color: #435e6d;
  line-height: 1.7;
}

.books-library-copy :where(h2, h3, h4, h5, strong):first-child {
  color: #102f43;
}

.books-library-copy p:first-child strong:first-child {
  display: block;
  margin-bottom: 12px;
  color: #154b70;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.books-library-languages {
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 10px;
  color: #154b70;
  background: #e5f2f8;
  font-weight: 720;
}

.books-library-action {
  margin-top: 20px;
}

.books-library-action .elementor-button,
.books-library-action a {
  display: inline-flex;
  padding: 13px 18px;
  align-items: center;
  border-radius: 9px;
  color: #fff;
  background: #206493;
  font-weight: 760;
  text-decoration: none;
}

/* Biografía */
.biography-hero {
  padding-block: clamp(54px, 7vw, 88px);
  color: #fff;
  background: linear-gradient(125deg, #102f43, #174f72);
}

.biography-hero::after {
  display: none;
}

.biography-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
  align-items: center;
  gap: clamp(38px, 6vw, 78px);
}

.biography-hero .breadcrumbs,
.biography-hero .breadcrumbs a,
.biography-hero .eyebrow {
  color: rgba(255, 255, 255, .68);
}

.biography-hero h1 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.biography-hero h2 {
  margin-bottom: 22px;
  color: #a9d7ed;
  font-size: clamp(1.25rem, 2.3vw, 1.9rem);
}

.biography-intro {
  color: rgba(255, 255, 255, .8);
  font-size: 1rem;
  line-height: 1.75;
}

.biography-main-image {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
}

.biography-main-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.biography-gallery-section {
  background: #f5f8fa;
}

.biography-section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.biography-section-heading h2 {
  margin: 8px 0 0;
  color: #102f43;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.biography-gallery-section .legacy-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.biography-gallery-section .legacy-gallery a {
  overflow: hidden;
  border-radius: 14px;
  background: #e8f0f4;
  box-shadow: 0 9px 24px rgba(23, 62, 86, .08);
}

.biography-gallery-section .legacy-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 0;
}

.biography-actions {
  display: flex;
  margin-top: 30px;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 980px) {
  .editorial-layout {
    grid-template-columns: 1fr;
  }

  .editorial-sidebar {
    position: static;
  }

  .editorial-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .books-library-grid {
    grid-template-columns: 1fr;
  }

  .books-library-card.is-featured {
    grid-column: auto;
  }

  .biography-gallery-section .legacy-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .books-library-card,
  .books-library-card.is-featured,
  .biography-hero-grid {
    grid-template-columns: 1fr;
  }

  .books-library-cover,
  .books-library-card.is-featured .books-library-cover {
    min-height: 300px;
  }

  .biography-main-image {
    width: min(100%, 520px);
  }

  .biography-gallery-section .legacy-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .editorial-toc ol {
    grid-template-columns: 1fr;
  }

  .editorial-filter-control {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .editorial-filter-control button {
    grid-column: 1 / -1;
  }

  .books-library-grid {
    width: min(calc(100% - 28px), 1480px);
  }

  .biography-gallery-section .legacy-gallery {
    grid-template-columns: 1fr;
  }

  .biography-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .biography-actions .btn {
    justify-content: center;
  }
}

/* Ajustes finales para copy internacional mÃ¡s largo. */
body[data-section="inicio"][data-language="de"] .hero-copy h1,
body[data-section="inicio"][data-language="fr"] .hero-copy h1,
body[data-section="inicio"][data-language="it"] .hero-copy h1,
body[data-section="inicio"][data-language="pt-pt"] .hero-copy h1 {
  font-size: clamp(2.15rem, 2.75vw, 3.05rem);
}

body[data-section="inicio"][data-language="de"] .book-hero-copy h2,
body[data-section="inicio"][data-language="fr"] .book-hero-copy h2,
body[data-section="inicio"][data-language="it"] .book-hero-copy h2,
body[data-section="inicio"][data-language="pt-pt"] .book-hero-copy h2 {
  font-size: clamp(2.15rem, 3vw, 3.3rem);
}

@media (min-width: 1101px) {
  body[data-section="inicio"] .books-grid.books-count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body[data-section="inicio"][data-language="de"] .home-hero,
  body[data-section="inicio"][data-language="de"] .hero-grid,
  body[data-section="inicio"][data-language="fr"] .home-hero,
  body[data-section="inicio"][data-language="fr"] .hero-grid,
  body[data-section="inicio"][data-language="it"] .home-hero,
  body[data-section="inicio"][data-language="it"] .hero-grid,
  body[data-section="inicio"][data-language="pt-pt"] .home-hero,
  body[data-section="inicio"][data-language="pt-pt"] .hero-grid {
    min-height: 780px;
  }

  body[data-section="inicio"][data-language="de"] .hero-copy h1,
  body[data-section="inicio"][data-language="fr"] .hero-copy h1,
  body[data-section="inicio"][data-language="it"] .hero-copy h1,
  body[data-section="inicio"][data-language="pt-pt"] .hero-copy h1 {
    font-size: clamp(1.9rem, 6.2vw, 2.45rem);
  }
}

@media (max-width: 580px) {
  body[data-section="inicio"][data-language="de"] .book-hero-copy h2,
  body[data-section="inicio"][data-language="fr"] .book-hero-copy h2,
  body[data-section="inicio"][data-language="it"] .book-hero-copy h2,
  body[data-section="inicio"][data-language="pt-pt"] .book-hero-copy h2 {
    font-size: clamp(1.78rem, 8.6vw, 2.25rem);
  }
}
.pwa-install-button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1;
  margin-inline-start: auto;
  padding: 0.72rem 1rem;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.pwa-install-button:hover,
.pwa-install-button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.58);
  transform: translateY(-1px);
}

.pwa-install-button[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .pwa-install-button {
    margin: 0.65rem 0 0;
    width: 100%;
  }
}
