:root {
  --navy: #14345c;
  --navy-deep: #0b2340;
  --ink: #1b2c3d;
  --muted: #5c6b7a;
  --teal: #0f7f78;
  --teal-soft: #e5f5f3;
  --green: #2f8a3e;
  --green-soft: #e8f5ea;
  --blue: #2a74c4;
  --blue-soft: #e7f1fb;
  --amber: #d8891a;
  --amber-soft: #fff4e4;
  --ivory: #f6f3ec;
  --paper: #fffcf8;
  --line: #e6dfd3;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 52, 92, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --radius: 22px;
  --header: 132px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}
.skip:focus { top: 0.6rem; }

.spectrum {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 6px;
}
.spectrum span:nth-child(1) { background: #f0a02a; }
.spectrum span:nth-child(2) { background: #1aa7a0; }
.spectrum span:nth-child(3) { background: #2f7ed1; }
.spectrum span:nth-child(4) { background: #3c9a45; }

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 243, 236, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header { transition: transform 250ms ease; will-change: transform; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.brand,
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  text-decoration: none;
}
.brand {
  padding-block: 0.7rem;
  color: var(--navy);
}
.brand img,
.footer-brand img {
  width: 64px;
  height: auto;
  object-fit: contain;
}
.brand-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
}
.brand-kicker,
.brand-name strong,
.brand-person { white-space: nowrap; }
.brand-kicker {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.brand-name strong {
  font-weight: 600;
  letter-spacing: 0.07em;
  font-size: 0.74rem;
  text-transform: uppercase;
}
.brand-person {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand .brand-person { color: var(--muted); }
.brand-person::before,
.brand-person::after {
  content: "";
  width: 0.85rem;
  height: 1px;
  background: currentColor;
}

.product-links {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.65rem;
  min-width: 0;
}
.product-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12rem;
  max-width: 240px;
  padding: 0.48rem 0.8rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.product-link strong {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.product-link span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
}
.product-link-specialist strong { color: var(--blue); }
.product-link-mastermind strong { color: var(--green); }
.product-link-specialist:hover {
  background: var(--blue-soft);
  border-color: #b9d4f2;
}
.product-link-mastermind:hover {
  background: var(--green-soft);
  border-color: #b7dfc0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--teal); }
.nav a.btn-solid,
.nav a.btn-solid:hover {
  color: var(--white);
  background: var(--navy);
}
.nav a.btn-solid:hover { background: #1c4678; }
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.85rem;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid #d5d0c6;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
}
.lang-switch-center { margin: 0 auto 1.2rem; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 500;
  border: 1px solid transparent;
}
.btn-light { background: var(--white); color: var(--navy-deep); }
.btn-light:hover { background: #f3fbff; }
.btn-solid { background: var(--navy); color: var(--white); }
.btn-solid:hover { background: #1c4678; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-line {
  background: transparent;
  color: var(--navy);
  border-color: #c9d3df;
}
.btn-line:hover { border-color: var(--navy); }

.hero {
  background:
    radial-gradient(900px 420px at 85% 20%, rgba(42, 168, 160, 0.28), transparent 60%),
    radial-gradient(700px 380px at 10% 90%, rgba(216, 137, 26, 0.16), transparent 55%),
    linear-gradient(160deg, #102848 0%, #0c3048 55%, #12324a 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 3.2rem 0 4.2rem;
}
.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  color: #f0c27a;
  margin-bottom: 0.9rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: #d7f4f1;
}
.named {
  margin-top: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.92rem;
  font-weight: 500;
}
.tagline {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
}
.lead {
  margin-top: 1.2rem;
  max-width: 38rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.7rem; }
.hero-visual { position: relative; min-height: 320px; }
.hero-visual img {
  width: calc(100% + (100vw - min(1120px, 100vw - 2.4rem)) / 2 + 4vw);
  max-width: none;
  height: auto;
  margin-left: 0;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.28));
  -webkit-mask-image: radial-gradient(ellipse at 64% 50%, #000 68%, transparent 94%);
  mask-image: radial-gradient(ellipse at 64% 50%, #000 68%, transparent 94%);
}
.wave {
  display: block;
  width: 100%;
  height: 64px;
  margin-bottom: -1px;
}

.section { padding: 5rem 0; }
.section h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--navy);
}
.kicker {
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.intro {
  max-width: 40rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

.benefits {
  margin-top: -2.2rem;
  position: relative;
  z-index: 1;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 1.6rem;
}
.section-tight { padding-top: 1.4rem; }
.actions-center { justify-content: center; }
.benefit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem 1.25rem;
  box-shadow: var(--shadow);
}
.benefit h3 {
  margin-top: 0.8rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.benefit p { color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }
.icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.icon svg { width: 22px; height: 22px; }
.icon-blue { background: var(--blue-soft); color: var(--blue); }
.icon-green { background: var(--green-soft); color: var(--green); }
.icon-teal { background: var(--teal-soft); color: var(--teal); }
.icon-amber { background: var(--amber-soft); color: #c4740d; }

.legacy {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 3rem;
  align-items: start;
}
.portrait-card {
  background: var(--paper);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.portrait-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.portrait-card figcaption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  padding: 1rem 1.15rem 1.15rem;
}
.portrait-card strong { color: var(--navy); }
.portrait-years { color: var(--muted); font-size: 0.95rem; letter-spacing: 0.02em; }
.legacy-copy h2 { margin-bottom: 1rem; }
.legacy-copy p + p { margin-top: 1rem; }
.quote {
  margin-top: 1.4rem;
  padding: 1.1rem 1.15rem 1.15rem 1.2rem;
  border-left: 3px solid var(--amber);
  background: linear-gradient(90deg, #fff8ee, transparent 80%);
}
.quote p {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.35;
  color: var(--navy);
}
.quote cite {
  display: block;
  margin-top: 0.7rem;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--muted);
}

.practice {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}
.practice-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}
.practice-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  min-height: 420px;
}
.photo-wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  pointer-events: none;
  user-select: none;
}
.photo-wave-top { top: 0; }
.photo-wave-bottom { bottom: 0; }
.index-list { display: grid; gap: 0.75rem; margin-top: 1.4rem; }
.index-list a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
}
.index-list a:hover { border-color: #b7c9d8; }
.index-list strong { display: block; color: var(--navy); font-weight: 600; line-height: 1.25; }
.index-list span { color: var(--muted); font-size: 0.92rem; }

.pillars { background: var(--paper); }
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.pillar {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.4rem 1.35rem 1.3rem;
  background: var(--ivory);
}
.pillar header { display: flex; gap: 0.8rem; align-items: flex-start; }
.pillar h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  color: var(--navy);
  line-height: 1.15;
}
.pillar .sub { color: var(--muted); margin: 0.15rem 0 0.9rem; }
.pillar li {
  position: relative;
  padding-left: 1.15rem;
  margin-top: 0.45rem;
}
.pillar li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  position: absolute;
  left: 0;
  top: 0.55rem;
}
.pillar-blue { color: var(--blue); }
.pillar-amber { color: #c4740d; }
.pillar-teal { color: var(--teal); }
.pillar-green { color: var(--green); }
.pillar p,
.pillar li { color: var(--ink); }
.pillar .sub { color: var(--muted); }
.pillar-blue li::before { background: var(--blue); }
.pillar-amber li::before { background: #d8891a; }
.pillar-teal li::before { background: var(--teal); }
.pillar-green li::before { background: var(--green); }

.salud {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  justify-items: center;
  color: var(--white);
  overflow: hidden;
  background: #0b2340;
}
.salud .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 3.25rem 0;
}
.salud-card {
  width: min(34rem, 100%);
  margin-inline: auto;
  background: rgba(255, 252, 248, 0.97);
  color: var(--ink);
  border-radius: 24px;
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: 0 22px 50px rgba(5, 16, 32, 0.28);
}
.salud-card h2 { font-size: clamp(2rem, 3vw, 2.7rem); }
.salud-card p { margin-top: 0.7rem; }
.contact-links { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 1rem; }
.contact-links a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-links a:hover { color: var(--teal); }

.contact-form {
  position: relative;
  display: grid;
  gap: 0.75rem;
  margin-top: 1.35rem;
}
.contact-form-title {
  margin: 0;
  color: var(--teal);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.contact-form label {
  display: grid;
  gap: 0.28rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #1aa7a0;
  outline-offset: 1px;
  border-color: transparent;
}
.contact-form .btn {
  justify-self: start;
  margin-top: 0.15rem;
  cursor: pointer;
}
.contact-form .btn:disabled {
  cursor: wait;
  opacity: 0.7;
}
.form-status {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.form-status.is-ok { color: var(--green); }
.form-status.is-err { color: #9b3b2f; }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cierre {
  text-align: center;
  padding-bottom: 4.5rem;
}
.cierre h2 { margin-inline: auto; max-width: 16ch; }
.cierre .intro { margin-inline: auto; }
.cierre .actions { justify-content: center; }

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.4rem 0 1.6rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: start;
}
.footer-brand { color: white; }
.footer-brand .brand-person { color: rgba(255, 255, 255, 0.72); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; }
.footer-links a { color: white; text-decoration: none; }
.footer-links a:hover { color: #f0c27a; }
.legal {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
}

.missing {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}
.missing h1 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
}

section[id],
article[id] { scroll-margin-top: 148px; }
section[id] { scroll-margin-top: 1rem; }

:focus-visible {
  outline: 2px solid #1aa7a0;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .benefit-grid, .pillar-grid, .legacy, .practice, .hero-grid { grid-template-columns: 1fr; }
  .hero-visual img {
    width: min(620px, 100%);
    max-width: 100%;
    margin-inline: auto;
    margin-right: auto;
  }
  .practice-photo, .practice-shot { min-height: 320px; }
}
@media (max-width: 1040px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 0.55rem;
  }
  .brand { margin-right: auto; }
  .product-links {
    flex: 1 0 100%;
    order: 5;
    justify-content: stretch;
    margin-top: 0.15rem;
    padding-bottom: 0.2rem;
  }
  .product-link { flex: 1; max-width: none; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1.2rem 1rem;
    gap: 0.2rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.7rem 0; }
  .header-inner { position: relative; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.4rem 0; }
  .footer-grid { flex-direction: column; }
}
@media (max-width: 520px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .brand img, .footer-brand img { width: 46px; }
  .brand-name strong { font-size: 0.64rem; letter-spacing: 0.04em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header { transition: none; }
}

.legacy-signature {
  width: fit-content;
  margin-top: 1.6rem;
  margin-left: auto;
  text-align: left;
  font-style: normal;
}
.legacy-signature-name {
  display: block;
  color: var(--navy);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
}
.legacy-signature-role {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.35;
}
.legacy-signature::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: 0.55rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #3caf4a 0%, #c6d63c 42%, #f0b429 72%, #e07a2f 100%);
}

/* ===== Tipografía OHM Pharma (grupos de ohmpharma.com) — 2026-10-20 ===== */
:root {
  --serif: "Nunito", "Segoe UI", sans-serif;
  --sans: "Roboto", "Segoe UI", Arial, sans-serif;
  --t-display: clamp(2.5rem, 1.6rem + 3.6vw, 3.625rem);   /* 58/400 */
  --t-hero: clamp(2.2rem, 1.5rem + 3vw, 3.1875rem);       /* 51/700 */
  --t-h1: clamp(2rem, 1.45rem + 2.4vw, 2.75rem);          /* 44/700 */
  --t-h2: clamp(1.8rem, 1.35rem + 1.9vw, 2.4375rem);      /* 39/700 · Secundario 39/500 */
  --t-h3: clamp(1.6rem, 1.3rem + 1.3vw, 2.125rem);        /* 34/700 */
  --t-h4: clamp(1.4rem, 1.25rem + 0.6vw, 1.6875rem);      /* 27/700 */
  --t-h5: clamp(1.3rem, 1.2rem + 0.4vw, 1.5rem);          /* 24/700 */
  --t-h6: clamp(1.2rem, 1.15rem + 0.3vw, 1.375rem);       /* 22/700 */
  --t-subtitle: 1.25rem;   /* 20/700 */
  --t-label: 1.1875rem;    /* 19/700 */
  --t-accent: 1.0625rem;   /* 17/500 */
  --t-text-lg: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem); /* 20 */
  --t-text: clamp(1.0625rem, 1.04rem + 0.1vw, 1.125rem);  /* 18/400 */
}
.t-display{font-family:var(--serif);font-size:var(--t-display);font-weight:400}
.t-hero{font-family:var(--serif);font-size:var(--t-hero);font-weight:700}
.t-h1{font-family:var(--serif);font-size:var(--t-h1);font-weight:700}
.t-h2{font-family:var(--serif);font-size:var(--t-h2);font-weight:700}
.t-secondary{font-family:var(--serif);font-size:var(--t-h2);font-weight:500}
.t-h3{font-family:var(--serif);font-size:var(--t-h3);font-weight:700}
.t-h4{font-family:var(--serif);font-size:var(--t-h4);font-weight:700}
.t-h5{font-family:var(--serif);font-size:var(--t-h5);font-weight:700}
.t-h6{font-family:var(--serif);font-size:var(--t-h6);font-weight:700}
.t-subtitle{font-family:var(--serif);font-size:var(--t-subtitle);font-weight:700}
.t-label{font-family:var(--serif);font-size:var(--t-label);font-weight:700}
.t-accent{font-family:var(--serif);font-size:var(--t-accent);font-weight:500}
.t-text-strong{font-family:var(--sans);font-size:var(--t-text-lg);font-weight:700}
.t-text-lg{font-family:var(--sans);font-size:var(--t-text-lg);font-weight:400}
.t-text{font-family:var(--sans);font-size:var(--t-text);font-weight:400}

body { font-size: var(--t-text); }                                   /* Texto base */
.hero h1 { font-size: var(--t-hero); font-weight: 700; line-height: 1.08; } /* Hero */
.hero h1 em { font-weight: 700; }
.section h2, .salud-card h2 { font-size: var(--t-h2); font-weight: 700; line-height: 1.15; } /* H2 */
.missing h1 { font-size: var(--t-h1); font-weight: 700; }            /* H1 */
.pillar h3 { font-size: var(--t-h4); font-weight: 700; }             /* H4 */
.benefit h3 { font-family: var(--serif); font-size: var(--t-h6); font-weight: 700; } /* H6 */
.eyebrow, .kicker, .contact-form-title { font-family: var(--serif); font-weight: 700; } /* Etiqueta (tamaño reducido, mayúsculas) */
.named { font-family: var(--serif); font-size: var(--t-accent); font-weight: 500; } /* Acento */
.tagline { font-family: var(--serif); font-size: var(--t-subtitle); font-weight: 700; } /* Subtítulo */
.lead, .intro { font-size: var(--t-text-lg); font-weight: 400; }     /* Texto grande */
.benefit p, .pillar li, .pillar .sub { font-size: var(--t-text); }
.quote p { font-family: var(--serif); font-size: var(--t-h6); font-weight: 500; } /* Secundario a tamaño H6 */
.quote cite, .legacy-signature-role { font-family: var(--serif); font-size: var(--t-accent); font-weight: 500; } /* Acento */
.legacy-signature-name, .portrait-card strong { font-family: var(--serif); font-size: var(--t-subtitle); font-weight: 700; } /* Subtítulo */
.portrait-card figcaption { font-family: var(--serif); }
.btn { font-family: var(--serif); font-weight: 700; }                /* Etiqueta (botones) */
.nav a { font-family: var(--serif); font-weight: 700; }              /* Etiqueta (nav, tamaño compacto) */
.contact-form label { font-family: var(--serif); font-weight: 700; } /* Etiqueta */
.product-link strong, .brand-name strong, .brand-kicker { font-family: var(--serif); font-weight: 700; }
.product-link span, .brand-person { font-family: var(--serif); font-weight: 500; }
.index-list strong { font-family: var(--serif); font-weight: 700; font-size: var(--t-subtitle); }
.contact-links a { font-weight: 700; }

/* Mobile: centered, larger brand block */
@media (max-width: 760px) {
  .header-inner { justify-content: center; }
  .site-header .brand { flex: 1 0 100%; margin-right: 0; padding-block: 0.5rem 0.2rem; }
  .site-header .brand img { width: 68px; }
  .site-header .brand-kicker { font-size: 0.72rem; }
  .site-header .brand-name strong { font-size: 0.86rem; letter-spacing: 0.05em; }
  .site-header .brand-person { font-size: 0.68rem; }
  .header-tools { flex: 1 0 100%; justify-content: center; margin-left: 0; order: 2; }
}
@media (max-width: 380px) {
  .site-header .brand-name strong { font-size: 0.8rem; letter-spacing: 0.035em; }
}

/* Hamburger toggle + product link inside mobile menu */
.nav-product { display: none; }
@media (max-width: 760px) {
  .site-header .product-links { display: none; }
  .menu-toggle {
    width: 44px; height: 44px; padding: 0;
    align-items: center; justify-content: center;
    border-radius: 12px;
  }
  .menu-icon { position: relative; display: block; width: 20px; height: 14px; }
  .menu-icon span {
    position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
    background: currentColor; transition: transform 220ms ease, opacity 160ms ease, top 220ms ease;
  }
  .menu-icon span:nth-child(1) { top: 0; }
  .menu-icon span:nth-child(2) { top: 6px; }
  .menu-icon span:nth-child(3) { top: 12px; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
  .nav .nav-product {
    display: flex; flex-direction: column; gap: 0.15rem;
    margin-top: 0.6rem; padding: 0.75rem 0.9rem;
    border: 1px solid var(--line); border-radius: 14px; background: var(--white, #fff);
    text-decoration: none;
  }
  .nav .nav-product strong { color: #2f7ed1; }
  .nav .nav-product span { font-family: var(--sans, inherit); font-weight: 400; font-size: 0.85rem; color: var(--muted); }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .menu-icon span { transition: none; }
}

/* Hero globe: contained, rounded card */
.hero-visual {
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-visual img,
.hero-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}
@media (max-width: 980px) {
  .hero-visual { width: min(620px, 100%); margin-inline: auto; }
}
@media (max-width: 520px) {
  .hero-visual { border-radius: 18px; }
}

.contact-links .contact-label { color: var(--muted); font-size: 0.95rem; margin-bottom: -0.2rem; }

/* ===== Help chatbot ===== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hci-chat {
  --chat-gutter: max(1.2rem, calc((100vw - 1120px) / 2));
  position: fixed;
  right: var(--chat-gutter);
  bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  font-family: var(--sans);
}
.chat-launcher {
  display: grid; place-items: center;
  width: 64px; height: 64px; padding: 0;
  border: 0; border-radius: 22px;
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(11, 35, 64, 0.32), 0 0 0 4px rgba(255, 252, 248, 0.85);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.chat-launcher svg { width: 50px; height: 50px; }
.chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(11, 35, 64, 0.38), 0 0 0 4px rgba(255, 252, 248, 0.9); }
.chat-launcher[aria-expanded="true"] { transform: scale(0.92); }
.bot-eyes { transform-box: fill-box; transform-origin: center; animation: bot-blink 5s infinite; }
@keyframes bot-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.12); }
}
.chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(64px + 0.8rem);
  width: min(380px, calc(100vw - 2.4rem));
  height: min(560px, calc(100vh - 7.5rem));
  height: min(560px, calc(100dvh - 7.5rem));
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(11, 35, 64, 0.25);
  overflow: hidden;
  transform-origin: bottom right;
  animation: chat-in 200ms ease;
}
.chat-panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.chat-head {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 0.9rem 0.85rem 1rem;
  background: var(--navy); color: var(--white);
}
.chat-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: rgba(255, 255, 255, 0.1); }
.chat-head-text { flex: 1; min-width: 0; }
.chat-head h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1rem; line-height: 1.2; color: var(--white); }
.chat-head p { margin: 0.1rem 0 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); }
.chat-close {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 12px; background: transparent; color: var(--white); cursor: pointer;
}
.chat-close:hover { background: rgba(255, 255, 255, 0.12); }
.chat-log {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1rem;
  background: var(--ivory);
}
.chat-msg {
  max-width: 86%; margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 16px;
  font-size: 0.95rem; line-height: 1.5;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.chat-msg.bot { align-self: flex-start; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.chat-msg.user { align-self: flex-end; background: var(--teal); color: var(--white); border-bottom-right-radius: 6px; }
.chat-msg.typing { color: var(--muted); font-style: italic; }
.chat-msg a { color: var(--teal); font-weight: 700; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.6rem 1rem 0.2rem; background: var(--paper); border-top: 1px solid var(--line); }
.chat-chips[hidden] { display: none; }
.chat-chip {
  border: 1px solid #c9dedb; background: var(--teal-soft); color: var(--teal);
  border-radius: 999px; padding: 0.4rem 0.75rem;
  font-family: var(--serif); font-weight: 700; font-size: 0.82rem; cursor: pointer;
}
.chat-chip:hover { background: #d6efec; }
.chat-form { display: flex; gap: 0.5rem; padding: 0.7rem 0.8rem 0.3rem 1rem; background: var(--paper); }
.chat-form input {
  flex: 1; min-width: 0;
  border: 1px solid #d9d2c5; border-radius: 999px; background: var(--white);
  padding: 0.65rem 0.95rem; font: inherit; font-size: 0.95rem; color: var(--ink);
}
.chat-form input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 127, 120, 0.15); }
.chat-send {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; flex: none;
  border: 0; border-radius: 999px; background: var(--navy); color: var(--white); cursor: pointer;
}
.chat-send:disabled { opacity: 0.55; cursor: default; }
.chat-note { margin: 0; padding: 0 1rem 0.7rem; background: var(--paper); font-size: 0.72rem; color: var(--muted); text-align: center; }
@media (max-width: 520px) {
  .hci-chat { bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); right: 1.2rem; }
  .chat-launcher { width: 56px; height: 56px; border-radius: 19px; }
  .chat-launcher svg { width: 44px; height: 44px; }
  .chat-panel { bottom: calc(56px + 0.7rem); width: calc(100vw - 2.4rem); height: min(600px, calc(100dvh - 6.5rem)); border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .bot-eyes, .chat-panel { animation: none; }
  .chat-launcher { transition: none; }
}

/* Chat launcher: anchored to viewport corner, not the content gutter */
.hci-chat {
  right: max(24px, env(safe-area-inset-right, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
}
.chat-launcher { width: 56px; height: 56px; border-radius: 19px; }
.chat-launcher svg { width: 44px; height: 44px; }
.chat-panel { bottom: calc(56px + 0.75rem); }
@media (max-width: 520px) {
  .hci-chat {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }
  .chat-panel { width: calc(100vw - 32px); }
}

/* FAQ page (/faq) */
.faq .wrap { max-width: 920px; }
.faq-list { display: grid; gap: 0.75rem; margin-top: 2rem; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.faq-item[open] { border-color: #b7c9d8; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--teal);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 1.2rem 1.2rem; }
.faq-answer p + p, .faq-answer p + ul { margin-top: 0.7rem; }
.faq-answer li { position: relative; padding-left: 1.15rem; margin-top: 0.45rem; }
.faq-answer li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 0;
  top: 0.6rem;
}
.faq-answer a { color: var(--navy); font-weight: 600; }
.faq .actions { margin-top: 2rem; }
.nav a[aria-current="page"] { color: var(--teal); }
@media (min-width: 761px) and (max-width: 1240px) {
  .nav { gap: 1.1rem; }
  .nav a[href="/faq"] { max-width: 5.8rem; line-height: 1.15; text-align: center; }
}
@media (min-width: 861px) and (max-width: 940px) {
  .nav { gap: 0.75rem; }
  .nav a { font-size: 0.9rem; }
  .header-tools { margin-left: 0.5rem; }
}
@media (min-width: 761px) and (max-width: 860px) {
  .nav { gap: 0.6rem; }
  .nav a { font-size: 0.88rem; }
  .nav a.btn-solid { padding-inline: 0.9rem; }
  .header-tools { margin-left: 0.4rem; }
}
@media (min-width: 761px) and (max-width: 800px) {
  .nav { gap: 0.45rem; }
  .nav a { font-size: 0.85rem; }
  .nav a.btn-solid { padding-inline: 0.7rem; }
}
.faq-group {
  font-family: var(--serif);
  font-size: var(--t-h5, 1.35rem);
  font-weight: 700;
  color: var(--navy);
  margin-top: 2.6rem;
}
.faq-group + .faq-list { margin-top: 1rem; }

/* Membership page */
.membership-intro { padding-bottom: 3.4rem; }
.membership-intro h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--navy);
}
.tagline-plain {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1rem;
}
.membership-lead { margin-top: 1.35rem; max-width: 46rem; }
.membership-lead p + p { margin-top: 0.85rem; }
.membership-lead strong { color: var(--navy); }
.membership-phases { background: var(--paper); }
.phase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.phase-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.4rem 1.35rem 1.4rem;
  background: var(--ivory);
}
.phase-card .phase-label {
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.phase-card.phase-next .phase-label { color: #c4740d; }
.phase-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.7rem;
}
.phase-card p { color: var(--ink); }
.mem-list { margin-top: 2.2rem; }
.mem-item {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1rem 1.2rem;
  padding: 1.55rem 0;
  border-top: 1px solid var(--line);
}
.mem-item:last-child { padding-bottom: 0; }
.mem-num {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--teal);
  line-height: 1.15;
}
.mem-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.55rem;
}
.mem-item-lead { color: var(--muted); margin-bottom: 0.7rem; }
.mem-item ul { margin-top: 0.15rem; }
.mem-item li {
  position: relative;
  padding-left: 1.15rem;
  margin-top: 0.5rem;
}
.mem-item li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 0;
  top: 0.6rem;
}
.mem-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--teal-soft);
  border-radius: 14px;
  color: var(--navy);
  font-size: 0.98rem;
}
.membership-legacy { background: var(--paper); }
.membership-legacy-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  align-items: start;
}
.membership-legacy-grid > div p:not(.kicker) { margin-top: 1rem; }
.membership-join {
  background:
    radial-gradient(900px 420px at 85% 20%, rgba(42, 168, 160, 0.28), transparent 60%),
    linear-gradient(160deg, #102848 0%, #0c3048 55%, #12324a 100%);
  color: var(--white);
}
.membership-join h2 { color: var(--white); }
.membership-join .kicker { color: #f0c27a; }
.membership-join .intro { color: rgba(255, 255, 255, 0.86); max-width: 44rem; }
.membership-slogan {
  margin-top: 1.3rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.35;
  color: #d7f4f1;
  max-width: 28rem;
}
.membership-contact { margin-top: 1.15rem; color: rgba(255, 255, 255, 0.9); }
.membership-contact a { color: var(--white); font-weight: 600; }
.membership-contact a:hover { color: #d7f4f1; }
@media (max-width: 860px) {
  .phase-grid,
  .membership-legacy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mem-item { grid-template-columns: 1.8rem 1fr; gap: 0.7rem 0.85rem; }
  .mem-num { font-size: 1.45rem; }
  .mem-item h3 { font-size: 1.25rem; }
}
@media (min-width: 761px) and (max-width: 1280px) {
  .nav { gap: 0.95rem; }
  .nav a[href="/faq"] { max-width: 5.8rem; line-height: 1.15; text-align: center; }
}

