/* Source: base/tokens.css */
/* base/tokens — estilos y variantes adaptables del módulo. */

:root {
  /* Paleta basada en assets/logotipo-amaro.png; variantes oscuras para texto. */
  --brand-blue: #102f42;
  --brand-ochre: #844b10;
  --brand-ochre-dark: #65390c;
  --brand-teal: #568e94;
  --brand-teal-dark: #32676d;
  --ink: #293f43;
  --navy: #254d52;
  --teal: var(--brand-teal-dark);
  --mint: #d6e8e8;
  --paper: #fff;
  --wash: #eff5f4;
  --line: #c8dada;
  --muted: #566568;
  --radius: 18px;
}

/* Source: base/typography.css */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/montserrat-variable.ttf') format('truetype');
}

/* base/typography — estilos y variantes adaptables del módulo. */

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: var(--teal);
  text-underline-offset: 0.25em;
}

a:hover {
  text-decoration-thickness: 2px;
}

button {
  font: inherit;
}

input {
  font: inherit;
}

select {
  font: inherit;
}

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

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

button {
  cursor: pointer;
}

a {
  touch-action: manipulation;
}

button {
  touch-action: manipulation;
}

h1 {
  margin-top: 0;
}

h2 {
  margin-top: 0;
}

h3 {
  margin-top: 0;
}

p {
  margin-top: 0;
}

h1 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h2 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.8rem, 5.6vw, 5.1rem);
  font-weight: 650;
  max-width: 850px;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2.15rem, 3.8vw, 3.45rem);
  font-weight: 650;
  margin-bottom: 22px;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.2em;
}

img {
  max-width: 100%;
  display: block;
}

.eyebrow {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 20px;
}

.lead {
  font-size: 1.3rem;
  max-width: 660px;
}

.muted {
  color: var(--muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

nav a {
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 0;
}

nav a:hover {
  color: var(--teal);
}

@media (max-width: 1150px) {
  nav {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 1150px) {
  h1 {
    font-size: 3.8rem;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 110px;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: clamp(2.7rem, 8vw, 4rem);
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 600px) {
  h2 {
    font-size: 2.25rem;
  }
}

.external-note {
  font-size: 1rem;
  color: var(--muted);
  margin: 18px 0 0;
}

.ui-icon {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--teal);
}

/* Títulos en azul. */
h1, h2, h3 {
  color: var(--brand-blue);
}

.dark h1, .dark h2, .dark h3 {
  color: var(--paper);
}

/* Source: base/layout.css */
/* base/layout — estilos y variantes adaptables del módulo. */

section {
  padding: 88px 0;
  scroll-margin-top: 25px;
}

.container {
  width: min(1232px, calc(100% - 64px));
  margin: auto;
}

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

.section-head h2 {
  max-width: 750px;
  margin-bottom: 0;
}

.section-head p {
  max-width: 360px;
  margin: 0;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.soft {
  background: var(--wash);
}

.notice {
  border-left: 4px solid var(--teal);
  padding: 18px 22px;
  background: #e6f4ef;
  font-size: 1.05rem;
}

.dark {
  background: linear-gradient(120deg, var(--navy) 0%, var(--brand-teal-dark) 55%, var(--brand-teal) 100%);
  color: white;
}

.dark .eyebrow {
  color: var(--mint);
}

.dark .lead {
  color: #e1eeee;
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.callout h2 {
  max-width: 760px;
}

.draft {
  padding: 10px 24px;
  background: #fff0d7;
  color: #583b0e;
  text-align: center;
  font-size: 1rem;
}

.breadcrumb {
  padding: 30px 0;
  font-size: 1rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.breadcrumb li + li:before {
  content: '/';
  padding-right: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 40px, 700px);
  }
}

@media (max-width: 900px) {
  .grid.three {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .section-head {
    display: block;
  }
}

@media (max-width: 900px) {
  .section-head p {
    margin-top: 20px;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  section {
    padding: 58px 0;
  }
}

@media (max-width: 900px) {
  .callout {
    display: block;
  }
}

@media (max-width: 600px) {
  .grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .grid.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
}

@media (max-width: 600px) {
  .draft {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .breadcrumb {
    overflow-wrap: anywhere;
  }
}

/* Source: components/card.css */
/* components/card — estilos y variantes adaptables del módulo. */

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.card .number {
  color: var(--teal);
  display: block;
  margin-bottom: 32px;
  font-size: 1rem;
  font-weight: 700;
}

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

.card a {
  font-weight: 600;
}

@media (max-width: 600px) {
  .card {
    padding: 25px;
  }
}

.specialty-card {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.specialty-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.specialty-card-top .number {
  margin: 0;
  opacity: 0.7;
}

.specialty-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: #e5f1ef;
  transition: background 180ms ease;
}

.specialty-icon .ui-icon {
  width: 30px;
  height: 30px;
}

.specialty-card .specialty-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.specialty-link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.specialty-arrow {
  font-size: 1.4rem;
  transition: transform 180ms ease;
}

.specialty-card:focus-within {
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgb(50 103 109 / 14%);
}

.specialty-link:focus-visible {
  outline: none;
}

.specialty-link:focus-visible::after {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

@media (hover: hover) {
  .specialty-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-teal);
    box-shadow: 0 12px 28px rgb(50 103 109 / 14%);
  }

  .specialty-card:hover .specialty-icon {
    background: var(--mint);
  }

  .specialty-card:hover .specialty-arrow {
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .specialty-card, .specialty-icon, .specialty-arrow {
    transition: none;
  }

  .specialty-card:hover, .specialty-card:hover .specialty-arrow {
    transform: none;
  }
}

.specialty-card-top h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.3vw, 2rem);
  line-height: 1.15;
}

.specialty-card .specialty-icon {
  flex-shrink: 0;
}

.specialty-card .specialty-link {
  justify-content: flex-end;
  text-decoration: none;
}

.specialty-card .specialty-arrow {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e5f1ef;
  font-size: 2.4rem;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.specialty-card:hover .specialty-arrow,
.specialty-card:focus-within .specialty-arrow {
  background: var(--teal);
  color: white;
}

@media (prefers-reduced-motion: reduce) {
  .specialty-card .specialty-arrow {
    transition: none;
  }
}

.specialties-intro {
  max-width: 380px;
}

.specialties-intro .specialties-search {
  display: inline-flex;
  gap: 10px;
  margin-top: 18px;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: white;
}

.specialties-search svg {
  flex-shrink: 0;
}

.specialties-intro .specialties-search:hover {
  background: #254d52;
}

.specialties-track {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--brand-teal-dark) #dce9eb;
  padding: 8px 3px 24px;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.specialties-track .specialty-card {
  min-width: 0;
  scroll-snap-align: start;
}

.specialties-track .specialty-link {
  touch-action: pan-x pan-y pinch-zoom;
}

.specialties-track .specialty-card-top h3 {
  overflow-wrap: anywhere;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
}

.specialties-controls {
  justify-content: flex-end;
  margin: 0 0 12px;
  gap: 12px;
}

.specialties-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.specialties-arrow {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--brand-blue);
}

.specialties-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

.specialties-arrow:not(:disabled):hover {
  background: var(--brand-blue);
  color: white;
}

.specialties-arrow:focus-visible,
.specialties-track:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .specialties-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}

@media (max-width: 600px) {
  .specialties-track {
    grid-template-rows: auto;
    grid-auto-columns: 90%;
    gap: 16px;
  }

  .specialties-controls {
    flex-wrap: wrap;
  }
}

.specialties-message {
  margin: 0 0 16px;
  color: var(--brand-blue);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.4;
}

.specialties-closing {
  max-width: 850px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--brand-blue);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.5;
}

.specialties-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.85fr;
  align-items: center;
  gap: 28px;
}

.specialties-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.45rem);
}

.specialties-team {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  object-position: bottom;
  align-self: end;
}

@media (max-width: 1000px) {
  .specialties-heading {
    grid-template-columns: 1fr 0.75fr;
  }

  .specialties-heading .specialties-intro {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .specialties-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .specialties-team {
    width: min(100%, 320px);
    max-height: 280px;
    justify-self: center;
  }
}

.specialties-heading {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px 40px;
}

.specialties-heading > div:first-child {
  grid-column: 1;
  grid-row: 1;
}

.specialties-heading .specialties-intro {
  grid-column: 1;
  grid-row: 2;
  max-width: 520px;
}

.specialties-heading .specialties-team {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 100%;
  max-height: 440px;
  align-self: center;
}

@media (max-width: 600px) {
  .specialties-heading {
    grid-template-columns: 1fr;
  }

  .specialties-heading .specialties-team {
    grid-column: 1;
    grid-row: 3;
    width: min(100%, 420px);
    max-height: 340px;
  }
}

/* Source: components/buttons.css */
/* components/buttons — estilos y variantes adaptables del módulo. */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--teal);
  border: 1px solid var(--teal);
  color: white;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.button:hover {
  background: var(--navy);
  color: white;
}

.phone-button,
.contact-button {
  gap: 10px;
}

.phone-button .ui-icon,
.contact-button .ui-icon,
.contact-button .contact-icon {
  color: inherit;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #829aa5;
}

.button.light {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--navy);
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pending-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border: 1px dashed #90a8b0;
  padding: 9px 15px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 1rem;
}

.dark a:not(.button) {
  color: var(--mint);
}

@media (max-width: 600px) {
  .actions > .button {
    flex: 1 1 180px;
  }
}

@media (max-width: 600px) {
  .callout .button {
    width: 100%;
  }
}

.dark .pending-link {
  color: #e1eeee;
  border-color: #72929f;
}

.button-icon {
  filter: invert(1);
  margin-right: 10px;
}

.whatsapp-pending {
  gap: 12px;
}

@media (max-width: 900px) {
  .section-head > .button {
    margin-top: 24px;
  }
}

.whatsapp-pending {
  background: #eaf7ef;
  border-color: #087b3c;
  color: #14542f;
}

/* Source: components/header.css */
/* components/header — estilos y variantes adaptables del módulo. */

.topline {
  background: var(--navy);
  color: white;
  font-size: 1rem;
  padding: 9px 0;
}

/* Desktop navigation: large text and icons without button surfaces. */
@media (min-width: 1101px) {
  .site-header .site-nav {
    background: transparent;
    padding: 0;
    border-radius: 0;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-basis: 100%;
  }

  .site-header .site-nav > a {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 10px 4px;
    color: var(--ink);
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    gap: 6px;
    white-space: nowrap;
  }

  .site-header .site-nav .ui-icon {
    width: 22px;
    height: 22px;
  }

  .site-header .site-nav > a:hover {
    background: transparent;
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 6px;
  }
}

.topline .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.topline a {
  color: white;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  flex-shrink: 0;
}

.brand-mark {
  border: 1px solid var(--ink);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 600;
}

.brand strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.2;
}

.brand small {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.menu-toggle {
  display: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  min-height: 48px;
}

@media (min-width: 1101px) {
  .site-nav {
    display: flex !important;
  }
}

@media (max-width: 1150px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 18px 0;
    gap: 12px;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 84px;
    padding: 12px 0;
  }
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: block;
  }
}

@media (max-width: 1100px) {
  .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 15px;
  }
}

@media (max-width: 1100px) {
  .site-nav a {
    padding: 12px;
  }
}

@media (max-width: 1100px) {
  .site-nav:not([hidden]) {
    display: flex;
  }
}

@media (max-width: 1100px) {
  .js .site-nav[hidden] {
    display: none;
  }
}

@media (max-width: 1100px) {
  .topline .container span:last-child {
    display: none;
  }
}

@media (max-width: 600px) {
  .brand strong {
    font-size: 1.25rem;
  }
}

@media (max-width: 600px) {
  .brand small {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  .topline {
    font-size: 0.9rem;
  }
}

.brand-logo {
  width: 240px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}

.header-inner {
  flex-wrap: wrap;
  padding: 14px 0;
  gap: 12px;
}

.site-nav {
  flex-wrap: wrap;
  justify-content: space-between;
  flex: 1 1 920px;
}

.site-nav a {
  overflow-wrap: break-word;
}

.topline .container {
  flex-wrap: wrap;
}

.topline a {
  text-align: right;
}

@media (max-width: 1100px) {
  .site-nav {
    flex-basis: 100%;
    align-items: stretch;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    justify-content: space-between;
  }
}

@media (max-width: 1100px) {
  .brand-logo {
    width: 215px;
    height: 66px;
  }
}

@media (max-width: 1100px) {
  .topline .container {
    gap: 4px;
  }
}

@media (max-width: 1100px) {
  .topline a {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .brand-logo {
    width: 190px;
    max-width: calc(100vw - 124px);
  }
}

@media (max-width: 600px) {
  .topline {
    font-size: 0.9rem;
  }
}

.site-nav > a {
  text-transform: none;
  letter-spacing: 0.035em;
  font-size: 1rem;
}

/* Large, clearly separated navigation controls. */
.site-header {
  box-shadow: 0 6px 20px #254d5212;
}

.site-nav {
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(120deg, var(--navy), var(--brand-teal));
  align-items: stretch;
}

.site-nav > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 16px;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  border-radius: 12px;
  text-decoration: none;
}

.site-nav .nav-item {
  background: var(--wash);
  color: var(--ink);
  border: 1px solid var(--line);
}

.site-nav .nav-item:hover {
  background: #e1eeee;
  color: var(--navy);
}

.site-nav .ui-icon,
.menu-toggle .ui-icon {
  width: 26px;
  height: 26px;
  color: inherit;
  flex: none;
}

.site-nav > .button {
  background: var(--mint);
  color: var(--navy);
  border-color: var(--mint);
}

.site-nav > .button:hover {
  background: #e6f1ee;
}

.site-nav a:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid #b5d4d6;
  outline-offset: 3px;
}

.menu-toggle {
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  min-height: 56px;
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    gap: 10px;
    padding: 14px;
  }

  .site-nav > a {
    font-size: 1.25rem;
    min-height: 60px;
  }
}

/* Tarjeta de navegación desplegable. */
.menu-intro,
.menu-close-icon,
.menu-appointment-subtitle,
.menu-appointment-arrow {
  display: none;
}

@media (max-width: 1100px) {
  .menu-toggle[aria-expanded="true"] {
    background: transparent;
    border-color: transparent;
    color: var(--brand-blue);
  }

  .menu-toggle[aria-expanded="true"] > .ui-icon {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] .menu-close-icon {
    display: block;
  }

  .site-header .site-nav {
    /* One compact column using the page's normal vertical scrolling. */
    flex-flow: column nowrap;
    min-width: 0;
    overflow: visible;
    padding: 12px;
    gap: 0;
    border: 1px solid #e8f1f3;
    border-radius: 28px;
    background: linear-gradient(145deg, #f4fafc, #fff 65%, #eff8f8);
    box-shadow: 0 8px 28px rgb(50 103 109 / 12%);
    max-height: none;
  }

  .site-header .site-nav > * {
    flex-shrink: 0;
    min-width: 0;
    max-width: 100%;
  }

  .menu-intro > div,
  .site-nav > .button > span:not(.menu-appointment-arrow) {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .menu-intro {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 10px;
    color: var(--brand-blue);
  }

  .menu-intro img {
    width: 64px;
    height: 76px;
    object-fit: contain;
    object-position: bottom;
    background: #e1f0f4;
    border-radius: 24px 24px 4px 4px;
    flex-shrink: 0;
  }

  .menu-intro strong {
    font-size: 1rem;
    line-height: 1.25;
    display: block;
  }

  .menu-intro p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .menu-intro p span {
    display: block;
  }

  .site-header .site-nav > .nav-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e7edef;
    border-radius: 0;
    padding: 7px 4px;
    gap: 12px;
    color: var(--brand-blue);
    font-size: 1.05rem;
    min-height: 48px;
  }

  .site-header .site-nav > .nav-item:hover {
    background: #eaf4f5;
  }

  .site-nav .nav-item .ui-icon {
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 10px;
    background: #e3f0f3;
  }

  .site-nav .nav-item::after {
    content: '';
    width: 9px;
    height: 9px;
    border-top: 2px solid #a8b7bd;
    border-right: 2px solid #a8b7bd;
    transform: rotate(45deg);
    margin-left: auto;
    margin-right: 8px;
    flex-shrink: 0;
  }

  .site-header .site-nav > .button {
    margin-top: 10px;
    padding: 10px 12px;
    border: 0;
    border-radius: 16px;
    background: #bceee7;
    color: var(--brand-blue);
    gap: 10px;
    text-align: left;
    justify-content: flex-start;
    font-size: 1.05rem;
  }

  .site-nav > .button > .ui-icon {
    width: 28px;
    height: 28px;
    color: var(--brand-teal-dark);
  }

  .menu-appointment-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    margin-top: 3px;
  }

  .menu-appointment-arrow {
    display: grid;
    place-items: center;
    margin-left: auto;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    color: white;
    background: var(--brand-teal-dark);
    font-size: 1.6rem;
  }
}

.menu-profiles {
  display: none;
}

@media (max-width: 1100px) {
  .site-header .site-nav .menu-profiles {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-self: flex-end;
    flex-wrap: wrap;
    gap: 2px;
    margin: -4px -2px 10px 0;
  }

  .site-nav .menu-profiles a,
  .site-nav .menu-profiles .header-profile-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 6px;
    color: #617f82;
    opacity: 0.8;
    background: transparent;
    border: 0;
    border-radius: 6px;
  }

  .menu-profiles svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
  }

  .site-nav .menu-profiles a:hover,
  .site-nav .menu-profiles a:focus-visible {
    opacity: 1;
    color: var(--brand-blue);
    background: #e3f0f3;
  }

  @media (pointer: coarse) {
    .site-nav .menu-profiles a,
    .site-nav .menu-profiles .header-profile-pending {
      width: 36px;
      height: 36px;
      padding: 8px;
    }
  }
}

@media (max-width: 1100px) {
  .site-nav .menu-profiles .menu-doctoralia {
    width: auto;
    gap: 5px;
    padding-inline: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
  }
}

.topline .topline-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topline-location .ui-icon {
  width: 20px;
  height: 20px;
  color: inherit;
}

.topline .container .topline-location span {
  display: inline;
}

/* Cabecera compacta únicamente en artículos y escritorio. */
@media (min-width: 1101px) {
  .article-page .topline,
  .article-page .site-header .brand {
    display: none;
  }

  .article-page .header-inner {
    min-height: 76px;
    padding: 12px 0;
  }

  .article-page .site-header .site-nav {
    flex-basis: 100%;
    width: 100%;
  }
}

/* Cabecera móvil ligera y compacta. */
@media (max-width: 1100px) {
  .topline {
    padding: 7px 0;
    background: #f2f7f7;
    color: #36565d;
    border-bottom: 1px solid #e2ebec;
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .topline .container {
    align-items: center;
    gap: 4px 16px;
  }

  .topline .container > span {
    flex: 1 1 180px;
  }

  .topline .topline-location {
    gap: 5px;
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
    min-height: 32px;
  }

  .topline-location .ui-icon {
    width: 16px;
    height: 16px;
  }

  .topline-location:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .site-header {
    box-shadow: 0 3px 14px rgb(16 47 66 / 4%);
  }

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

  .brand-logo {
    height: 56px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 10px;
    border: 1px solid #dce7e9;
    border-radius: 12px;
    background: #f7fafa;
    color: var(--brand-blue);
    font-size: 1rem;
  }

  .menu-toggle:hover {
    background: #eaf2f3;
  }

  .menu-toggle .ui-icon,
  .menu-toggle .menu-close-icon {
    width: 22px;
    height: 22px;
  }
}

.site-header .site-nav > .menu-review-link {
  min-height: 44px;
  padding: 8px 4px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
  gap: 5px;
}

.site-header .site-nav > .menu-review-link:hover {
  color: var(--teal);
  text-decoration: underline;
}

/* Source: components/footer.css */
/* components/footer — estilos y variantes adaptables del módulo. */

.footer {
  padding: 60px 0 28px;
  background: var(--wash);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 45px;
}

.footer h3 {
  font-size: 1.2rem;
}

.footer p {
  font-size: 1rem;
}

.footer address {
  font-size: 1rem;
  font-style: normal;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 16px;
  display: flex;
  gap: 12px 18px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.footer-bottom a {
  text-decoration: none;
}

.mobile-bar {
  display: none;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
}

@media (max-width: 900px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 30;
    border-top: 1px solid var(--line);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 900px) {
  .mobile-bar a {
    text-align: center;
    padding: 11px 4px;
    min-height: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid > div:first-child {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .footer-bottom {
    gap: 10px 14px;
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .mobile-bar {
    gap: 6px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -6px 24px #254d5226;
    background: rgb(245 250 252 / 88%);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .mobile-bar a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 52px;
    padding: 8px 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgb(255 255 255 / 72%);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 90%),
      0 4px 12px rgb(18 57 95 / 8%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--navy);
    font-size: clamp(0.75rem, 3.2vw, 0.95rem);
    font-weight: 700;
    line-height: 1.3;
  }

  .mobile-bar .ui-icon,
  .mobile-bar .quick-whatsapp img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: inherit;
  }

  .mobile-bar .quick-call {
    background: rgb(50 103 109 / 95%);
    color: white;
    border-color: #b5d4d6;
  }

  .mobile-bar .quick-whatsapp {
    background: rgb(0 120 68 / 90%);
    color: white;
    border-color: #5cdda0;
  }

  .mobile-bar .quick-whatsapp img {
    filter: invert(1);
  }

  .mobile-bar .quick-location {
    background: rgb(225 238 238 / 95%);
    color: var(--navy);
    border-color: #b5d4d6;
  }

  .mobile-bar a:focus-visible {
    outline: 3px solid var(--brand-teal-dark);
    outline-offset: 3px;
  }
}

.footer-credit {
  flex-basis: 100%;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Directorio del sitio y datos de sedes en formato compacto. */
.footer-grid {
  grid-template-columns: 1.15fr 0.85fr 1fr 1fr;
  gap: 28px;
}

.footer-clinic .clinic-logo-link {
  min-height: 36px;
  margin-bottom: 10px;
}

.footer-clinic .clinic-logo {
  width: 120px;
  height: 36px;
}

.footer-clinic h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.footer-clinic address {
  font-size: 0.875rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.footer-sitemap {
  display: block;
  width: auto;
}

.footer-sitemap h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.footer-sitemap ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-sitemap a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 0;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.footer-sitemap a:hover {
  text-decoration: underline;
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

/* Contacto móvil: iconos sobre etiquetas, con énfasis en WhatsApp. */
@media (max-width: 900px) {
  .mobile-bar {
    align-items: stretch;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border: 1px solid #dce9e9;
    border-radius: 20px 20px 0 0;
    background: rgb(232 243 242 / 96%);
    box-shadow: 0 -4px 18px rgb(37 77 82 / 10%);
  }

  .mobile-bar a {
    flex-direction: column;
    gap: 5px;
    min-height: 68px;
    padding: 8px 4px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    color: var(--brand-blue);
    font-size: 0.9375rem;
    font-weight: 600;
  }

  .mobile-bar .quick-call,
  .mobile-bar .quick-location {
    background: transparent;
    color: var(--brand-blue);
  }

  .mobile-bar .quick-call .ui-icon,
  .mobile-bar .quick-location .ui-icon {
    color: var(--teal);
  }

  .mobile-bar .quick-whatsapp {
    background: #148565;
    color: white;
  }

  .mobile-bar .quick-whatsapp:hover {
    background: #106c52;
  }

  .mobile-bar .ui-icon,
  .mobile-bar .quick-whatsapp img {
    width: 24px;
    height: 24px;
  }

  body {
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }

  html {
    scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }
}

.footer-clinic {
  align-self: start;
  border-bottom: 1px solid var(--line);
}

.footer-clinic summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 24px 8px 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--brand-blue);
}

.footer-clinic-logo {
  width: 64px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-clinic summary::after {
  content: '';
  width: 7px;
  height: 7px;
  top: 20px;
  right: 4px;
  border-right: 1.5px solid var(--teal);
  border-bottom: 1.5px solid var(--teal);
  transform: rotate(45deg);
}

.footer-clinic[open] summary::after {
  content: '';
  transform: rotate(225deg);
}

.footer-clinic address {
  padding: 8px 0 14px;
}

/* Source: components/hero.css */
/* components/hero — estilos y variantes adaptables del módulo. */

.hero {
  background-image: url('./hero-curvas.svg'), linear-gradient(110deg, #d0e3e3 0%, #f3f7f5 48%, #c4dcdc 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 76px 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 55px;
  align-items: center;
}

.hero em {
  font-style: normal;
  color: var(--teal);
}

.hero-panel {
  background: linear-gradient(135deg, rgb(255 255 255 / 65%) 0%, rgb(214 232 232 / 38%) 55%, rgb(255 255 255 / 24%) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgb(255 255 255 / 65%);
  color: var(--ink);
  border-radius: 100px 18px 18px 18px;
  padding: 65px 38px 32px;
  position: relative;
  box-shadow: 0 16px 40px rgb(16 47 66 / 8%), inset 0 1px 0 rgb(255 255 255 / 75%);
}

.hero-panel .eyebrow {
  color: var(--brand-blue);
}

.hero-panel h2 {
  font-size: 2.55rem;
  line-height: 1.15;
}

.hero-panel a {
  color: var(--brand-blue);
}

.panel-row {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  gap: 18px;
  align-items: start;
}

.panel-row span {
  font-size: 1rem;
  color: var(--brand-blue);
}

.panel-row p {
  margin: 0;
}

.hero-foot {
  margin-top: 70px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hero-foot strong {
  display: block;
}

.hero-foot span {
  font-size: 1rem;
  color: var(--muted);
}

@media (max-width: 1150px) {
  .hero-grid {
    gap: 30px;
  }
}

@media (max-width: 1150px) {
  .hero-panel {
    padding: 50px 28px 28px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 45px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 900px) {
  .hero-panel {
    border-radius: 45px 16px 16px 16px;
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  .hero-panel h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 900px) {
  .hero-foot {
    margin-top: 38px;
    gap: 20px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-foot > div {
    display: flex;
    gap: 15px;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .hero-foot > div {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero-foot span {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero-panel h2 {
    font-size: 2rem;
  }
}

.hero-foot .benefit {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  text-decoration: none;
  color: var(--ink);
  padding: 8px 0;
}

.hero-foot a.benefit:hover strong {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-foot .benefit > div {
  display: block;
}

.hero-foot .benefit span {
  display: block;
}

@media (max-width: 900px) {
  .hero-foot .benefit {
    display: flex;
  }
}

@media (max-width: 900px) {
  .hero-foot .benefit > div {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero-foot .benefit span {
    display: block;
  }
}

.hero-action-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-right: 12px;
}

.hero-faq-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-faq-link svg {
  flex-shrink: 0;
}

.hero-panel-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.hero-panel-heading .eyebrow {
  margin: 0;
}

.hero-portrait {
  width: clamp(100px, 10vw, 150px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgb(16 47 66 / 12%));
}

@media (max-width: 600px) {
  .hero-panel-heading {
    gap: 12px;
  }

  .hero-panel-heading .eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }

  .hero-portrait {
    width: 100px;
  }
}

.hero-panel .doctor-name-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--brand-blue);
  color: white;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.hero-panel .doctor-name-button:hover {
  background: #0b2433;
}

.hero-panel .doctor-name-button:focus-visible {
  outline: 3px solid var(--brand-ochre);
  outline-offset: 3px;
}

.hero-specialty {
  color: var(--brand-blue);
  font-weight: 700;
}

.hero-profiles {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  justify-content: flex-start;
}

.hero-profiles a,
.header-profile-pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--brand-teal-dark);
  background: transparent;
  border: 0;
  opacity: 0.8;
}

.hero-profiles a:hover {
  opacity: 1;
}

.hero-profiles a:focus-visible {
  outline: 2px solid var(--brand-teal-dark);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .hero-profiles {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
  }

  .hero-profiles a,
  .header-profile-pending {
    width: 40px;
    height: 40px;
  }
}

.hero-services {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
}

.hero-services li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-services p {
  margin: 0;
  min-width: 0;
}

.hero-service-icon {
  color: var(--brand-teal-dark);
  flex-shrink: 0;
  margin-top: 0.2em;
}

.hero-service-description {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-profiles svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.hero-profiles .menu-doctoralia {
  width: auto;
  gap: 7px;
  padding-inline: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

/* Source: components/doctor.css */
/* components/doctor — estilos y variantes adaptables del módulo. */

.doctor-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

#doctor {
  padding-block: 48px;
}

#doctor h2 {
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  margin-bottom: 16px;
}

#doctor .eyebrow {
  margin-bottom: 12px;
}

.portrait {
  min-height: 460px;
  border-radius: var(--radius);
  background: var(--navy);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.portrait .initial {
  font-size: 6rem;
  line-height: 1.1;
  font-weight: 500;
  color: var(--mint);
}

.portrait p {
  max-width: 260px;
  margin: 25px 0 0;
}

.portrait img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 12px;
}

.credentials {
  padding: 20px 0;
  border-block: 1px solid var(--line);
}

@media (max-width: 900px) {
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 900px) {
  .portrait {
    min-height: 340px;
  }
}

@media (max-width: 600px) {
  .portrait {
    min-height: 290px;
  }
}

.trajectory-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal);
  font-size: 0.95rem;
  text-decoration: none;
}

.trajectory-link:hover {
  border-color: var(--teal);
  text-decoration: underline;
}

.portrait-modern {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 0;
  background: linear-gradient(145deg, #e5f1f1, #fff);
  border: 0;
  border-radius: 50%;
  aspect-ratio: 1;
}

.portrait-modern img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 0;
}

.portrait-modern::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgb(16 47 66 / 12%) 78%, rgb(16 47 66 / 50%) 100%);
}

@media (max-width: 600px) {
  .portrait-modern {
    width: min(66%, 220px);
    min-height: 0;
    justify-self: center;
    border-radius: 50%;
  }

  .portrait-modern img {
    height: auto;
    max-height: 275px;
    aspect-ratio: 1;
  }
}

/* Source: components/symptoms.css */
/* components/symptoms — estilos y variantes adaptables del módulo. */

.symptoms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.symptoms a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #a7c4c7;
  border-radius: 100px;
  padding: 13px 22px;
  text-decoration: none;
  color: var(--ink);
  background: white;
}

@media (max-width: 600px) {
  .symptoms a {
    border-radius: 12px;
  }
}

.urgent-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.urgent-notice-icon {
  flex-shrink: 0;
  color: #08756e;
  width: 22px;
  height: 22px;
}

.symptom-plus {
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.symptoms-dialogue {
  position: relative;
  padding: 22px 26px;
  background: #e4eff8;
  border: 1px solid #bfd3e5;
  border-radius: 22px;
  color: var(--ink);
  margin-bottom: 20px;
}

.symptoms-dialogue::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 32px;
  width: 18px;
  height: 18px;
  background: #e4eff8;
  border-right: 1px solid #bfd3e5;
  border-bottom: 1px solid #bfd3e5;
  transform: rotate(45deg);
}

/* Source: components/consultation-steps.css */
/* Pasos de consulta con círculos conectados. */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border: 2px solid var(--brand-teal-dark);
  border-radius: 50%;
  background: var(--wash);
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 600;
  z-index: 1;
}

.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(50% + 60px);
  width: calc(100% - 88px);
  border-top: 1px dashed var(--brand-teal);
}

.steps h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 14px;
}

.steps p {
  font-size: 1.1rem;
  line-height: 1.65;
  margin: 0;
  max-width: 38ch;
}

@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .steps li {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 18px;
  }

  .steps li::before {
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
  }

  .steps li:not(:last-child)::after {
    top: 74px;
    left: 32px;
    width: 0;
    height: calc(100% - 54px);
    border-top: 0;
    border-left: 1px dashed var(--brand-teal);
  }

  .steps li > div {
    min-width: 0;
  }
}

.consultation-team-banner {
  margin-top: 48px;
  overflow: hidden;
  border-radius: 24px;
}

.consultation-team-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
}

@media (max-width: 600px) {
  .consultation-team-banner {
    margin-top: 30px;
    border-radius: 16px;
  }
}

/* Source: components/faq.css */
/* components/faq — estilos y variantes adaptables del módulo. */

summary:focus-visible {
  outline: 3px solid #b54a00;
  outline-offset: 5px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
}

.faq-layout .intro {
  position: sticky;
  top: 145px;
  align-self: start;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}

summary {
  font-size: 1.25rem;
  font-weight: 600;
  padding: 22px 36px 22px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: '+';
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 1.65rem;
  font-weight: 400;
}

details[open] summary:after {
  content: '−';
}

details p {
  padding-right: 25px;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 900px) {
  .faq-layout .intro {
    position: static;
  }
}

#preguntas {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

#preguntas::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('./doctor-consulta-sin-fondo.png') left bottom / contain no-repeat;
  width: 70%;
  left: 0;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 45%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 45%, transparent 75%);
  opacity: 0.20;
  filter: grayscale(1);
  pointer-events: none;
}

@media (max-width: 700px) {
  #preguntas::before {
    background-size: contain;
    background-position: left bottom;
    opacity: 0.15;
  }
}

.faq-scroll {
  max-height: min(680px, 75dvh);
  min-height: 240px;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: #949b9e #e9ecee;
  padding: 0 18px 12px 4px;
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.faq-scroll::-webkit-scrollbar {
  width: 10px;
}

.faq-scroll::-webkit-scrollbar-track {
  background: #e9ecee;
  border-radius: 999px;
}

.faq-scroll::-webkit-scrollbar-thumb {
  background: #c2c9cc;
  border: 2px solid #e9ecee;
  border-radius: 999px;
}

.faq-scroll:focus-visible {
  outline: 2px solid var(--brand-teal-dark);
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .faq-scroll {
    max-height: 65dvh;
    padding-right: 12px;
  }
}

.faq-panel {
  min-width: 0;
}

.faq-scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--brand-teal-dark);
  opacity: 0.75;
}

.faq-scroll-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.faq-scroll-arrow:not(:disabled):hover {
  opacity: 1;
  background: rgb(50 103 109 / 5%);
  border-radius: 8px;
}

.faq-scroll-arrow:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.faq-scroll-arrow svg {
  width: 28px;
  height: 28px;
}

.faq-scroll-wrap {
  position: relative;
  padding-left: 22px;
}

.faq-scroll-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  border-radius: 999px;
  background: #f0f2f3;
  pointer-events: none;
}

.faq-scroll-thumb {
  display: block;
  width: 8px;
  min-height: 32px;
  border-radius: 999px;
  background: #c2c9cc;
}

.faq-scroll {
  scrollbar-width: none;
  scrollbar-gutter: auto;
}

.faq-scroll::-webkit-scrollbar {
  display: none;
}

.faq-mobile-photo {
  display: none;
}

@media (max-width: 700px) {
  #preguntas::before {
    display: none;
  }

  .faq-layout .intro {
    display: flow-root;
  }

  .faq-mobile-photo {
    display: block;
    float: right;
    width: 52%;
    max-width: 280px;
    transform: scaleX(-1);
    height: auto;
    margin: 12px 0 12px 14px;
    filter: grayscale(1);
    opacity: 0.8;
  }
}

@media (max-width: 700px) {
  .faq-mobile-photo {
    display: none;
  }

  .faq-layout .intro::after {
    content: '';
    display: block;
    width: 100%;
    height: clamp(220px, 65vw, 340px);
    margin-top: 16px;
    background: url('./doctor-consulta-sin-fondo.png') center bottom / contain no-repeat;
    transform: scaleX(-1);
    filter: grayscale(1);
    opacity: 0.3;
    -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent);
    mask-image: linear-gradient(to bottom, #000 75%, transparent);
    pointer-events: none;
  }
}

/* Source: components/video-card.css */
/* components/video-card — estilos y variantes adaptables del módulo. */

.video-cover {
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: var(--navy);
  color: var(--mint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  margin-bottom: 24px;
}

.play {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 20px;
}

.video-cover p {
  margin: 0;
}

.video-cover:is(iframe) {
  width: 100%;
  border: 0;
  display: block;
  height: auto;
  min-height: 220px;
}

.library-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #f0f0f0;
  border: 1px solid #b6bdc3;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgb(20 30 36 / 24%), 0 3px 8px rgb(20 30 36 / 8%);
}

.library-card > .library-inline-player,
.library-card > img {
  width: calc(100% - 36px);
  margin: 18px 18px 0;
  border-radius: 18px;
  overflow: hidden;
}

.library-card > img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  height: auto;
}

.library-cover {
  aspect-ratio: 16/9;
  background: #c3d9d6;
  padding: 24px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.library-cover > span:first-child {
  color: var(--navy);
  font-size: 1rem;
}

.library-cover strong {
  font-size: 1.4rem;
  line-height: 1.25;
}

.library-badge {
  font-size: 0.95rem;
  background: var(--mint);
  color: var(--navy);
  padding: 3px 10px;
  align-self: start;
  border-radius: 4px;
}

.library-content {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.library-content h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.library-description {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  color: #303438;
  margin: 0 0 20px;
}

.library-content .eyebrow {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.library-grid {
  gap: 16px;
  align-items: stretch;
}

.library-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-height: 64px;
  padding-bottom: 64px;
  margin-top: auto;
}

.library-corner-networks {
  position: absolute;
  right: -8px;
  bottom: -8px;
}

.library-corner-networks .video-availability {
  margin: 0;
}

.library-corner-networks .social-links {
  gap: 4px;
}

.library-corner-networks .social-links .social-link.icon-only {
  width: 88px;
  height: 88px;
  min-height: 88px;
  padding: 28px;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  transform: none;
}

.library-corner-networks .social-links .social-link.icon-only img {
  width: 30px;
  height: 30px;
}

.library-corner-networks .social-link:focus-visible {
  outline: 3px solid white;
  outline-offset: -6px;
}

.library-actions .video-availability {
  margin: 0;
}

.library-actions .library-reading {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  width: 100%;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--teal);
  border-radius: 12px;
  background: var(--teal);
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.library-actions .library-reading:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.reading-book,
.reading-banner-time svg {
  flex-shrink: 0;
}

.reading-banner-copy {
  min-width: 0;
}

.reading-banner-copy strong {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.reading-banner-time {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 400;
  color: white;
}

.library-actions .social-links .social-link.icon-only {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 11px;
  border-radius: 10px;
  transform: none;
}

.library-actions .social-links .social-link.icon-only img {
  width: 22px;
  height: 22px;
}

.library-inline-player {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: none;
  margin-inline: auto;
  background: #102f42;
}

.library-inline-player::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(35 40 46 / 30%), rgb(35 40 46 / 10%) 35%, rgb(35 40 46 / 68%));
  pointer-events: none;
  transition: opacity 180ms ease;
}

.library-inline-player:hover::after,
.library-inline-player:focus-within::after {
  opacity: 0;
}

.library-inline-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.library-more-videos summary {
  min-height: 44px;
  padding: 12px 40px 12px 20px;
  font-size: 1rem;
  color: var(--brand-blue);
}

.library-more-videos summary::after {
  top: 8px;
  right: 16px;
}

.library-meta {
  font-size: 1rem;
  color: var(--muted);
}

.library-meta:empty {
  display: none;
}

.library-pending {
  font-size: 1rem;
  color: var(--muted);
}

.library-reading {
  margin-top: auto;
  padding-top: 16px;
}

.library-player summary {
  font-size: 1.125rem;
}

.library-player iframe {
  min-height: 180px;
}

.library-card .video-cover {
  margin-top: 16px;
}

@media (max-width: 600px) {
  .library-cover strong {
    font-size: 1.65rem;
  }
}

.video-availability {
  margin: 0 0 22px;
}

.video-availability > p {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 10px;
}

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

.social-video-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.social-video-card h3 {
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 20px 0 16px;
}

.social-video-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: var(--brand-blue);
}

.social-video-preview {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background: linear-gradient(140deg, #102f42, #32676d);
  color: white;
  border: 0;
  text-decoration: none;
  font-size: 1rem;
}

.social-video-network {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-video-network img {
  filter: invert(1);
}

.social-video-play {
  font-size: 4rem;
  line-height: 1;
}

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

.social-video-original {
  margin-top: auto;
  padding: 10px 0;
  font-size: 0.9rem;
}

.social-video-preview:hover {
  background: #254d52;
}

.social-video-preview:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: -4px;
}

.social-profile-card {
  justify-content: center;
}

.social-profile-card .button {
  margin-top: auto;
}

@media (max-width: 1000px) {
  .social-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .social-video-grid {
    grid-template-columns: 1fr;
  }
}

/* Mosaico editorial: orden del DOM preservado, reproductor bajo demanda. */
.social-video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 24px;
  gap: 16px;
}

.mosaic-video {
  grid-row: span 10;
  overflow: hidden;
  border-radius: 22px;
}

.mosaic-video:nth-child(3n + 2) {
  grid-row: span 12;
}

.mosaic-video .social-video-preview {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px;
  text-align: left;
  overflow: hidden;
  background: linear-gradient(150deg, #32676d, #102f42);
}

.mosaic-video[data-network='tiktok'] .social-video-preview {
  background: radial-gradient(ellipse at top right, #568e94, transparent 70%), #102f42;
}

.mosaic-poster,
.mosaic-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-shade {
  background: linear-gradient(180deg, rgb(0 0 0 / 28%), transparent 30%, rgb(0 0 0 / 82%));
}

.mosaic-video .social-video-network,
.mosaic-video .social-video-play,
.mosaic-caption {
  position: relative;
  z-index: 1;
}

.mosaic-video .social-video-network {
  font-size: 0.85rem;
}

.mosaic-video .social-video-play {
  align-self: center;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 50%;
  background: rgb(255 255 255 / 12%);
  backdrop-filter: blur(8px);
}

.mosaic-caption {
  display: grid;
  gap: 10px;
}

.mosaic-video-title {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 600;
}

.mosaic-watch {
  font-size: 0.85rem;
  opacity: 0.85;
}

.social-video-grid .social-profile-card {
  grid-row: span 8;
  border-radius: 22px;
}

.video-dialog {
  width: min(90vw, 640px);
  max-height: 92dvh;
  padding: 24px;
  border: 0;
  border-radius: 22px;
  background: white;
  color: var(--ink);
}

.video-dialog::backdrop {
  background: rgb(8 27 39 / 80%);
}

.video-dialog h2 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 16px 0;
}

.video-dialog-close {
  display: block;
  margin-left: auto;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--wash);
  color: var(--brand-blue);
}

.video-dialog-player {
  height: min(65dvh, 700px);
  background: var(--brand-blue);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

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

@media (max-width: 1000px) {
  .social-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .social-video-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .mosaic-video,
  .mosaic-video:nth-child(3n + 2),
  .social-video-grid .social-profile-card {
    grid-row: auto;
  }

  .mosaic-video {
    height: 320px;
  }
}

.mosaic-video .social-video-preview {
  padding: 18px;
  gap: 14px;
}

.mosaic-video-title {
  font-size: 1.1rem;
}

.mosaic-video .social-video-play {
  width: 48px;
  height: 48px;
}

/* Collage compacto de portadas, con piezas verticales y horizontales. */
.social-video-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 6px;
  border-radius: 22px;
  overflow: hidden;
}

.social-video-grid .mosaic-video,
.social-video-grid .social-profile-card {
  grid-row: span 1;
  border-radius: 0;
}

.social-video-grid .mosaic-video:nth-child(1),
.social-video-grid .mosaic-video:nth-child(4),
.social-video-grid .mosaic-video:nth-child(6) {
  grid-row: span 2;
}

.social-video-grid .mosaic-video:nth-child(8) {
  grid-column: span 2;
}

.mosaic-video .social-video-preview {
  padding: 14px;
  gap: 8px;
}

.mosaic-video .social-video-network {
  font-size: 0.7rem;
  gap: 5px;
}

.mosaic-video .social-video-network img {
  width: 17px;
  height: 17px;
}

.mosaic-video .social-video-play {
  width: 38px;
  height: 38px;
  position: absolute;
  top: 12px;
  right: 12px;
}

.mosaic-video .social-video-play svg {
  width: 18px;
  height: 18px;
}

.mosaic-caption {
  margin-top: auto;
}

.mosaic-video-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.25;
}

.mosaic-watch {
  display: none;
}

.social-video-grid .social-profile-card {
  padding: 16px;
  gap: 8px;
  background: #e1eeee;
  border: 0;
}

.social-video-grid .social-profile-card h3 {
  font-size: 1rem;
  margin: 0;
}

.social-video-grid .social-profile-card p {
  display: none;
}

.social-video-grid .social-profile-card .button {
  min-height: 44px;
  font-size: 0.85rem;
  padding: 8px;
}

@media (max-width: 1000px) {
  .social-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }

  .social-video-grid .mosaic-video:nth-child(8) {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .social-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
    gap: 5px;
    border-radius: 16px;
  }

  .social-video-grid .mosaic-video {
    height: auto;
  }

  .mosaic-video-title {
    font-size: 0.95rem;
  }
}

.video-social-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.video-social-actions .social-links {
  margin-top: 0;
}

.video-social-actions > .button {
  min-height: 48px;
  padding: 10px 18px;
  white-space: nowrap;
}

.video-social-intro {
  max-width: 560px;
}

.mosaic-video[data-network='tiktok'] .mosaic-caption {
  display: none;
}

/* Videos relacionados en tarjetas pequeñas, sin apilar reproductores. */
.library-extra-videos {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.library-extra-videos > p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.compact-video-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  width: 100%;
  padding: 12px;
  border: 1px solid #cbdbe5;
  border-radius: 12px;
  background: #f2f6fa;
  color: var(--brand-blue);
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
}

.compact-video-card > span:nth-child(2) {
  min-width: 0;
  overflow-wrap: break-word;
}

.compact-video-card:hover {
  background: #e3edf5;
  border-color: var(--brand-teal-dark);
}

.compact-video-network {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: #c00;
}

.compact-video-network[data-network='tiktok'] {
  background: #121212;
}

.compact-video-network img {
  filter: invert(1);
}

.compact-video-play {
  margin-left: auto;
  flex: none;
  font-size: 0.875rem;
}

.article .article-related-videos {
  margin: 0 0 24px;
}

.article .article-related-videos h2 {
  font-size: 1.25rem;
  margin: 0 0 12px;
  letter-spacing: normal;
}

.compact-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 12px;
}

.text-guides-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-column: 1 / -1;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #f2f6fa;
}

.text-guides-primary {
  min-width: 0;
  padding: 24px;
}

.text-guides-card h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  letter-spacing: normal;
}

.text-guides-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.text-guides-card li + li {
  border-top: 1px solid var(--line);
}

.text-guides-card a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding-block: 12px;
  color: var(--brand-blue);
  text-decoration: none;
}

.text-guides-card a:hover strong {
  text-decoration: underline;
}

.text-guides-card img {
  width: 120px;
  height: 88px;
  flex: none;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 600px) {
  .text-guides-card img {
    width: 88px;
    height: 68px;
  }
}

.text-guides-card strong,
.text-guides-card small,
.text-guide-action {
  display: block;
  line-height: 1.4;
}

.text-guides-card strong {
  font-size: 1rem;
}

.text-guides-card small {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.text-guide-action {
  font-size: 0.875rem;
  margin-top: 6px;
  color: var(--teal);
}

.text-guides-card [data-preview-hidden] {
  display: none;
}

.text-guides-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 14px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  background: var(--teal);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.text-guides-more:hover {
  background: var(--navy);
}

.text-guides-keywords {
  min-width: 0;
  margin: 20px 0;
  padding: 4px 24px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-guides-keywords > p {
  margin: 0 0 8px;
  font-size: 0.875rem;
  color: var(--muted);
}

.text-guides-keywords > div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 12px;
}

.text-guides-card .text-guides-keywords a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  color: var(--brand-teal-dark);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
}

.text-guides-card .text-guides-keywords a:nth-child(3n + 1) {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.text-guides-card .text-guides-keywords a:nth-child(4n + 2) {
  font-size: 1.25rem;
  color: #4d6175;
}

.text-guides-card .text-guides-keywords a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 600px) {
  .text-guides-card {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 24px;
  }

  .text-guides-primary {
    padding: 20px;
  }

  .text-guides-keywords {
    margin: 0 20px 20px;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

.text-guides-card {
  border: 1px solid #b6bdc3;
  box-shadow: 0 16px 40px rgb(20 30 36 / 22%), 0 3px 8px rgb(20 30 36 / 7%);
}

@media (max-width: 600px) {
  .library-card {
    border-radius: 24px;
    box-shadow: 0 12px 30px rgb(20 30 36 / 24%), 0 3px 8px rgb(20 30 36 / 8%);
  }

  .library-content {
    padding: 14px 16px 12px;
  }

  .library-card > .library-inline-player,
  .library-card > img {
    width: calc(100% - 24px);
    margin: 12px 12px 0;
    border-radius: 16px;
  }

  .library-content .eyebrow {
    margin-bottom: 6px;
  }

  .library-content h2 {
    margin-bottom: 12px;
  }

  .library-description {
    margin-bottom: 12px;
  }

  .library-actions {
    padding-bottom: 112px;
    gap: 8px;
  }

  .library-corner-networks {
    right: 16px;
    bottom: 16px;
  }

  .library-corner-networks .social-links .social-link.icon-only {
    width: 104px;
    height: 104px;
    min-height: 104px;
    padding: 28px;
  }

  .library-corner-networks .social-links .social-link.icon-only img {
    width: 48px;
    height: 48px;
  }
}

/* Reproductor cuadrado compacto en escritorio y móvil. */
.library-card > .library-inline-player {
  width: min(calc(100% - 40px), 260px);
  margin: 16px auto 0;
}

@media (max-width: 600px) {
  .library-card > .library-inline-player {
    width: min(calc(100% - 40px), 220px);
    margin-top: 12px;
  }
}

@media (min-width: 901px) {
  .library-card,
  .text-guides-card {
    border-color: transparent;
  }
}

/* Espaciado vertical más compacto sin recortar contenido. */
.library-content {
  padding-top: 14px;
  padding-bottom: 16px;
}

.library-content h2 {
  margin-bottom: 10px;
}

.library-description {
  margin-bottom: 12px;
  line-height: 1.45;
}

.library-content .eyebrow {
  margin-bottom: 6px;
}

.library-actions {
  padding-bottom: 52px;
}

@media (max-width: 600px) {
  .library-content {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .library-actions {
    padding-bottom: 108px;
  }
}

.library-content h2 {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.25;
  margin-bottom: 8px;
}

.library-description {
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 10px;
}

.library-card > .library-inline-player {
  width: min(calc(100% - 40px), 240px);
  margin-top: 12px;
}

@media (max-width: 600px) {
  .library-card > .library-inline-player {
    width: min(calc(100% - 40px), 200px);
  }
}

/* Source: components/article-card.css */
/* components/article-card — estilos y variantes adaptables del módulo. */

.tag {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid rgb(154 190 195 / 55%);
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(255 255 255 / 85%), rgb(225 240 242 / 48%));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 95%), 0 3px 12px rgb(16 47 66 / 6%);
  font-size: 1rem;
  color: var(--muted);
  margin: 0 6px 10px 0;
  text-decoration: none;
}

a.tag:hover {
  background: #e3f0f3;
  border-color: var(--brand-teal);
  color: var(--brand-blue);
}

a.tag:focus-visible {
  outline: 2px solid var(--brand-teal-dark);
  outline-offset: 3px;
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  font-size: 2rem;
}

.blog-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.article-cover {
  width: calc(100% + 60px);
  max-width: none;
  margin: -30px -30px 26px;
  height: auto;
  aspect-ratio: 1200/630;
  object-fit: cover;
  border-radius: 17px 17px 0 0;
}

@media (max-width: 600px) {
  .article-cover:not(.large-cover) {
    width: calc(100% + 50px);
    margin: -25px -25px 24px;
  }
}

.large-cover {
  width: 100%;
  max-width: 100%;
  margin: 0 0 32px;
  border-radius: 18px;
}

.blog-card {
  overflow: hidden;
}

.photo-cover {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}

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

.photo-cover-title {
  position: absolute;
  left: 7%;
  top: 40%;
  color: white;
  font-size: clamp(1.5rem, 7cqw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
}

.photo-cover-title::after {
  content: '';
  display: block;
  width: 28%;
  height: 5px;
  margin-top: 0.4em;
  background: #bceee7;
}

.card-category {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-category-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 11px;
  background: #eaf3f3;
}

.card-category-icon .ui-icon {
  width: 22px;
  height: 22px;
}

.card-category[hidden] {
  display: none;
}

.photo-cover-label {
  position: absolute;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 85%;
  color: white;
}

.photo-cover-label .photo-cover-title {
  position: static;
  font-size: clamp(1.25rem, 6cqw, 4.5rem);
}

.photo-cover-title::after {
  display: none;
}

.photo-cover-icon .ui-icon {
  width: clamp(32px, 8cqw, 72px);
  height: clamp(32px, 8cqw, 72px);
  color: white;
}

.card-reading-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.card-reading-footer .button {
  margin-top: 0;
}

.card-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.card-reading-time svg {
  flex-shrink: 0;
}

.article-open-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 60px;
  color: var(--brand-teal-dark);
  border-radius: 12px;
  text-decoration: none;
}

.article-open-icon svg {
  width: 40px;
  height: 40px;
}

.article-open-icon:hover {
  background: var(--wash);
  color: var(--brand-blue);
}

.article-open-icon:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.blog-card {
  position: relative;
}

.blog-card .article-open-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  cursor: pointer;
}

.blog-card:focus-within {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.blog-card .article-open-icon:focus-visible {
  outline: none;
}

@media (hover: hover) {
  .blog-card:hover {
    border-color: var(--brand-teal);
    box-shadow: 0 8px 24px rgb(16 47 66 / 9%);
  }

  .blog-card:hover .article-open-icon {
    color: var(--brand-blue);
  }
}

.blog-card .article-open-icon {
  width: auto;
  min-height: 48px;
  gap: 8px;
  padding: 6px 4px;
}

.article-open-icon span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}

/* Portada con panel editorial superpuesto, según la referencia. */
.blog-card {
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgb(20 30 36 / 16%);
}

.blog-card .article-cover,
.related-track .blog-card .article-cover {
  width: 100%;
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 24px 24px 0 0;
}

.article-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  z-index: 1;
  margin: -36px 16px 16px;
  padding: 20px;
  background: white;
  border-radius: 18px;
}

.blog-card .card-category {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.blog-card h3,
.related-track .blog-card h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.article-card-body > p:not(.card-category) {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 14px;
}

.article-card-body .tag {
  padding: 4px 10px;
  font-size: 0.8125rem;
  margin-bottom: 6px;
  box-shadow: none;
}

.article-card-body .card-reading-footer {
  margin-top: auto;
  padding-top: 16px;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.article-card-body .article-open-icon svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 600px) {
  .article-card-body {
    margin: -28px 12px 12px;
    padding: 16px;
  }
}

/* Variante editorial más compacta. */
.blog-card .article-card-body h3,
.related-track .blog-card .article-card-body h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.blog-card .article-card-body {
  padding: 16px;
}

.blog-card .article-cover,
.related-track .blog-card .article-cover {
  aspect-ratio: 16 / 9;
}

.article-card-body > p:not(.card-category) {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.article-card-body .card-reading-footer {
  padding-top: 10px;
}

.all-articles-button {
  gap: 10px;
}

.all-articles-button svg {
  flex-shrink: 0;
}

/* Source: components/article-filters.css */
/* components/article-filters — estilos y variantes adaptables del módulo. */

.filters {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: end;
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid #81b8bd;
  border-top: 4px solid #a8e1dc;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--navy) 0%, var(--brand-teal-dark) 55%, var(--brand-teal) 100%);
  color: white;
  box-shadow: 0 14px 32px #254d5233;
}

.article-filter-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 64px;
  padding: 14px 28px;
  border: 2px solid white;
  border-radius: 14px;
  background: #c6f3ee;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px #102f4233;
}

.article-filter-go:hover {
  background: white;
}

.article-filter-go:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .article-filter-go {
    width: 100%;
  }
}

.filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.filters select {
  padding: 12px 35px 12px 14px;
  border: 1px solid #829aa5;
  border-radius: 14px;
  min-height: 52px;
  width: 100%;
  background: white;
  color: var(--ink);
  max-width: 100%;
}

.filters > div {
  flex: 1 1 240px;
}

.article-filter-icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.filters select:focus-visible {
  outline: 3px solid #b5d4d6;
  outline-offset: 4px;
}

.result-count {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  font-size: 1rem;
  color: #edf5f4;
  margin: 0;
  padding: 0;
}

@media (max-width: 600px) {
  .filters > div {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .filters select {
    width: 100%;
  }
}

/* Large, white selection menus, independent of native system menu colors. */
.filters label {
  font-size: 1.2rem;
}

.filters select {
  font-size: 1.25rem;
  min-height: 64px;
  color-scheme: light;
}

.filters select[hidden] {
  display: none;
}

.article-picker {
  position: relative;
  width: 100%;
  color: var(--ink);
  background: white;
  border: 1px solid #829aa5;
  border-radius: 14px;
  margin: 0;
  padding: 0;
}

.article-picker summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 14px 18px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.article-picker summary::-webkit-details-marker {
  display: none;
}

.article-picker summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  flex: none;
}

.article-picker[open] summary::after {
  transform: rotate(225deg);
}

.article-picker-options {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #829aa5;
  border-radius: 14px;
  background: white;
  box-shadow: 0 12px 30px #102f4226;
}

.article-picker-options button {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 0;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.article-picker-options button[aria-pressed='true'] {
  background: #e1eeee;
  color: var(--navy);
  font-weight: 700;
}

.article-picker-options button:hover {
  background: var(--wash);
}

.article-picker summary:focus-visible,
.article-picker-options button:focus-visible {
  outline: 3px solid var(--brand-teal-dark);
  outline-offset: 2px;
}

/* Source: components/article-carousel.css */
/* components/article-carousel — estilos y variantes adaptables del módulo. */

.home-blog-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 6px 2px 20px;
  overscroll-behavior-inline: contain;
}

.home-blog-track > .card {
  min-width: 0;
  scroll-snap-align: start;
}

.home-blog-track:focus-visible {
  outline: 3px solid #b54a00;
  outline-offset: 4px;
}

.home-blog-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
}

.home-blog-status {
  margin: 0;
  text-align: center;
  font-size: 1rem;
}

.home-blog-controls button:disabled {
  opacity: 0.55;
  cursor: default;
}

@media (max-width: 900px) {
  .home-blog-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}

@media (max-width: 600px) {
  .home-blog-track {
    grid-auto-columns: 100%;
  }
}

@media (max-width: 600px) {
  .home-blog-controls {
    gap: 10px;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .home-blog-status {
    order: 3;
    flex-basis: 100%;
  }
}

.related-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 2);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 6px 2px 20px;
  overscroll-behavior-inline: contain;
}

.related-track > .card {
  min-width: 0;
  scroll-snap-align: start;
}

.related-track .article-cover {
  aspect-ratio: 2.4 / 1;
  height: auto;
}

.related-track .blog-card h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.25;
}

.related-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.related-controls[hidden] {
  display: none;
}

.related-status {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
}

.related-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--brand-blue);
  font-size: 1.6rem;
}

.related-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

.related-arrow:not(:disabled):hover {
  background: var(--mint);
}

.related-track:focus-visible,
.related-arrow:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.related-all {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  padding: 10px;
  font-size: 1.05rem;
}

@media (max-width: 700px) {
  .related-track {
    grid-auto-columns: 92%;
    gap: 16px;
  }
}

.related-track {
  scrollbar-width: auto;
  scrollbar-color: var(--brand-teal-dark) #dce9eb;
  padding-bottom: 20px;
}

.related-track::-webkit-scrollbar {
  height: 10px;
}

.related-track::-webkit-scrollbar-track {
  background: #dce9eb;
  border-radius: 999px;
}

.related-track::-webkit-scrollbar-thumb {
  background: var(--brand-teal-dark);
  border: 2px solid #dce9eb;
  border-radius: 999px;
}

.related-track::-webkit-scrollbar-thumb:hover {
  background: var(--brand-blue);
}

.related-controls {
  gap: clamp(12px, 3vw, 28px);
  margin-top: 16px;
}

.related-arrow {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  font-size: 3.4rem;
  line-height: 1;
  border: 2px solid var(--line);
  color: var(--brand-blue);
}

.related-arrow:not(:disabled) {
  box-shadow: 0 5px 16px rgb(16 47 66 / 10%);
}

.related-status {
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .related-arrow {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    font-size: 3rem;
  }
}

.related-controls .related-arrow {
  display: grid;
  place-items: center;
  width: 64px;
  height: 56px;
  flex: 0 0 64px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.related-controls .related-arrow:not(:disabled):hover {
  background: rgb(50 103 109 / 7%);
}

.related-arrow svg {
  width: 44px;
  height: 24px;
}

.related-controls .related-status {
  color: var(--muted);
  font-size: 0.85rem;
}

.related-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.related-heading h2 {
  margin: 0;
  flex: 1 1 260px;
}

.related-heading .related-controls {
  margin: 0;
  gap: 4px;
  flex-shrink: 0;
}

.related-heading .related-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.related-heading .related-arrow {
  width: 96px;
  height: 76px;
  flex-basis: 96px;
}

.related-heading .related-arrow svg {
  width: 80px;
  height: 44px;
}

.related-track,
.related-track .article-open-icon {
  touch-action: pan-x pan-y pinch-zoom;
}

.related-track {
  -webkit-overflow-scrolling: touch;
}

.related-track img {
  -webkit-user-drag: none;
}

.related-heading .related-controls {
  gap: 12px;
}

.related-heading .related-arrow {
  width: 64px;
  height: 64px;
  flex-basis: 64px;
  padding: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--brand-blue);
  box-shadow: none;
}

.related-heading .related-arrow svg {
  width: 46px;
  height: 26px;
}

.related-heading .related-arrow:not(:disabled):hover {
  background: var(--brand-blue);
  color: white;
}

.home-blog-arrow {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  padding: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--brand-blue);
}

.home-blog-arrow:not(:disabled):hover {
  background: var(--brand-blue);
  color: white;
}

.home-blog-arrow:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.home-blog-controls {
  justify-content: flex-end;
  margin: 0 0 20px;
}

.home-blog-track,
.home-blog-track .article-open-icon {
  touch-action: pan-x pan-y pinch-zoom;
}

.home-blog-track {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-blog-track::-webkit-scrollbar {
  display: none;
}

.home-blog-scrollbar {
  height: 7px;
  margin-top: 2px;
  border-radius: 999px;
  background: #edf0f1;
}

.home-blog-scrollbar span {
  display: block;
  height: 100%;
  min-width: 32px;
  border-radius: 999px;
  background: #b7c1c5;
}

.all-articles-button {
  min-height: 64px;
  padding: 16px 28px;
  font-size: 1.35rem;
}

/* Source: components/clinic-card.css */
/* components/clinic-card — estilos y variantes adaptables del módulo. */

.clinic {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.clinic-info {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.clinic-info .actions {
  margin-top: auto;
  width: 100%;
}

.clinic-info address {
  font-style: normal;
  margin-bottom: 14px;
  line-height: 1.5;
}

.clinic h3 {
  font-size: 1.8rem;
}

.clinic dl {
  margin: 0 0 16px;
  line-height: 1.4;
}

.clinic dt {
  font-weight: 600;
}

.clinic dd {
  margin: 2px 0 8px;
}

.map {
  width: 100%;
  height: 255px;
  border: 0;
  background: #dce9ec;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .clinic-info {
    padding: 25px;
  }
}

@media (max-width: 600px) {
  .clinic {
    padding: 0;
  }
}

.clinic-logo-link {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 22px;
  min-height: 60px;
}

.clinic-logo {
  width: 200px;
  max-width: 100%;
  height: 65px;
  object-fit: contain;
  object-position: left center;
}

.clinics-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.clinics-location-icon {
  color: var(--brand-blue);
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
  margin-top: 0.15em;
}

@media (max-width: 600px) {
  .clinics-heading {
    gap: 10px;
  }
}

#consultorios .clinic-appointment-notice {
  max-width: 750px;
  margin-top: 16px;
  color: var(--brand-blue);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-weight: 500;
  line-height: 1.5;
}

.clinic-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.clinic-selection-instruction {
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: 1rem;
  font-weight: 500;
}

.clinic-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.clinic-tab[aria-selected='true'] {
  background: #e8ebed;
  border-color: #b8c0c4;
}

.clinic-tab:focus-visible {
  outline: 3px solid var(--brand-teal);
  outline-offset: 3px;
}

.clinic-tab-logo {
  width: 76px;
  height: 48px;
  flex: 0 0 76px;
  object-fit: contain;
}

.clinic-tab-label,
.clinic-tab strong {
  display: block;
}

.clinic-tab-label {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.clinic-tab strong {
  font-size: 1rem;
}

.clinic-panels.has-tabs {
  display: block;
}

@media (min-width: 901px) {
  .clinic-panels {
    align-items: stretch;
  }

  .clinic-panel {
    min-width: 0;
  }

  .clinic-panel > .clinic {
    height: 100%;
  }
}

.clinic-panel[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .clinic-tabs {
    gap: 8px;
  }

  .clinic-tab {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px 6px;
    text-align: center;
  }

  .clinic-tab-logo {
    width: 100%;
    height: 42px;
    flex-basis: 42px;
  }

  .clinic-tab strong {
    font-size: 0.85rem;
  }
}

/* Tarjeta editorial con cabecera y mapa integrado al pie. */
.clinic {
  border: 0;
  border-radius: 28px;
  box-shadow: 0 14px 36px rgb(20 30 36 / 18%);
  background: white;
}

.clinic-cover {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  min-height: 180px;
  padding: 24px 28px 52px;
  background: #155d72 url('./fondo-azul.svg') center / cover;
  color: white;
}

.clinic-cover > svg {
  flex-shrink: 0;
}

.clinic-cover .clinic-logo-link {
  min-height: 0;
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: white;
}

.clinic-cover .clinic-logo {
  width: 170px;
  height: 44px;
}

.clinic .clinic-info {
  z-index: 1;
  min-width: 0;
  margin: -32px 16px 0;
  padding: 24px 20px;
  border-radius: 24px 24px 0 0;
  background: white;
}

.clinic-info .eyebrow {
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.clinic h3,
.clinic h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.clinic-info address,
.clinic-info dl {
  font-size: 1rem;
}

.clinic-info dd {
  overflow-wrap: anywhere;
}

.clinic > .map {
  margin-top: auto;
  height: 220px;
  border-top: 1px solid var(--line);
}

@media (max-width: 600px) {
  .clinic {
    border-radius: 24px;
  }

  .clinic-cover {
    min-height: 156px;
    padding: 20px 24px 44px;
  }

  .clinic .clinic-info {
    margin: -28px 12px 0;
    padding: 20px 16px;
    border-radius: 20px 20px 0 0;
  }

  .clinic > .map {
    height: 200px;
  }
}

/* Source: components/doctoralia.css */
/* components/doctoralia — estilos y variantes adaptables del módulo. */

.doctoralia-section {
  background: white;
}

.doctoralia-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 70px;
  border: 1px solid var(--line);
  padding: 52px;
  border-radius: 24px;
}

.doctoralia-brand {
  background: #effaf7;
  border-radius: 16px;
  min-height: 280px;
  padding: 44px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.doctoralia-brand img {
  width: 100%;
  height: auto;
  max-width: 340px;
  margin: 0 auto 35px;
}

.doctoralia-brand p {
  text-align: center;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 900px) {
  .doctoralia-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 30px;
  }
}

@media (max-width: 900px) {
  .doctoralia-brand {
    min-height: 210px;
  }
}

@media (max-width: 900px) {
  .doctoralia-brand img {
    max-width: 300px;
  }
}

@media (max-width: 600px) {
  .doctoralia-panel {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .doctoralia-brand {
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .doctoralia-panel h2 {
    font-size: 2rem;
  }
}

.social-link img[src$='doctoralia-logo.png'] {
  width: 95px;
  height: 24px;
}

.social-link img[src$='doctoralia-logo.png'] + span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* Source: components/reviews.css */
/* components/reviews — estilos y variantes adaptables del módulo. */

.review-card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  background: white;
}

.review-platform {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.review-platform img {
  display: block;
  width: auto;
  max-width: 150px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.review-card blockquote {
  margin: 0 0 20px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  color: #191919;
}

.review-card blockquote p {
  margin: 0;
}

.review-stars {
  color: #f5a623;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
}

.review-byline {
  margin: auto 0 4px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

.review-byline .review-source {
  display: inline;
  min-height: 0;
  color: inherit;
}

.review-platform:empty,
.review-profile:empty {
  display: none;
}

.review-author {
  font-weight: 600;
  margin-bottom: 0;
}

.review-date {
  font-size: 1rem;
  color: var(--muted);
}

.review-placeholder {
  padding: 14px 0 32px;
}

.review-placeholder-stars {
  color: #a47832;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 8px;
}

.review-placeholder p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.review-placeholder span {
  color: var(--muted);
}

.review-source {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.review-profile {
  margin-top: auto;
  padding-top: 20px;
}

.review-profile-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
}

.reviews-note {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--teal) var(--wash);
  padding: 6px 2px 20px;
  overscroll-behavior-inline: contain;
}

.reviews-track .review-card {
  scroll-snap-align: start;
  min-width: 0;
}

.reviews-track:focus-visible {
  outline: 3px solid #b54a00;
  outline-offset: 5px;
}

.reviews-controls {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
}

.reviews-status {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 1rem;
}

.reviews-controls button:disabled {
  cursor: default;
  opacity: 0.55;
}

.reviews-arrow {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  padding: 8px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--brand-blue);
}

.reviews-arrow:not(:disabled):hover {
  background: var(--brand-blue);
  color: white;
}

.reviews-arrow:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .reviews-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}

@media (max-width: 600px) {
  .reviews-track {
    grid-auto-columns: 100%;
  }
}

@media (max-width: 600px) {
  .reviews-controls {
    gap: 10px;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .reviews-status {
    order: 3;
    flex-basis: 100%;
  }
}

/* Mismo tratamiento editorial de las tarjetas de artículos. */
.review-card {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: white;
  box-shadow: 0 12px 30px rgb(20 30 36 / 16%);
}

.review-card-cover {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  min-height: 168px;
  padding: 24px 28px 48px;
  background: #155d72 url('./fondo-azul.svg') center / cover;
  color: white;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.review-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  z-index: 1;
  margin: -32px 16px 16px;
  padding: 20px;
  border-radius: 24px;
  background: white;
}

.review-card blockquote,
.review-placeholder p {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--brand-blue);
}

.review-placeholder {
  padding: 8px 0 20px;
}

.review-placeholder span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

.review-card .review-platform img {
  height: 28px;
  max-width: 120px;
}

.review-profile {
  padding-top: 12px;
}

@media (max-width: 600px) {
  .review-card {
    border-radius: 24px;
  }

  .review-card-cover {
    min-height: 148px;
    padding: 20px 24px 44px;
  }

  .review-card-body {
    margin: -28px 12px 12px;
    padding: 18px;
  }
}

.review-cover-platform {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 12px;
  background: white;
}

.review-cover-platform img {
  width: auto;
  height: 32px;
  max-width: 140px;
  object-fit: contain;
}

.review-patient-name {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.reviews-heading {
  display: block;
}

.reviews-heading h2 {
  max-width: 850px;
}

.reviews-heading .reviews-intro {
  max-width: 850px;
  margin: 16px 0 20px;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.reviews-share-experience {
  gap: 10px;
}

.reviews-share-experience svg {
  flex-shrink: 0;
}

/* Source: components/social-links.css */
/* components/social-links — estilos y variantes adaptables del módulo. */

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1rem;
  background: white;
}

.social-link img {
  object-fit: contain;
  flex: none;
}

.social-link small {
  font-size: 0.9rem;
  color: var(--muted);
}

.is-pending {
  border-style: dashed;
}

.dark .social-link {
  color: var(--ink);
}

.dark .social-link:not(.is-pending) {
  color: var(--ink);
}

.dark .social-links {
  max-width: 550px;
}

.dark .social-link img {
  width: 28px;
  height: 28px;
}

.social-links .social-link[data-network] {
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.social-links .social-link[data-network='instagram'] {
  background: linear-gradient(120deg, #6236a5 0%, #ad2568 55%, #a83d15 100%);
  color: #fff;
  border-color: #833ab4;
}

.social-links .social-link[data-network='youtube'] {
  background: #c00;
  color: #fff;
  border-color: #c00;
}

.social-links .social-link[data-network='facebook'] {
  background: #0866ff;
  color: #fff;
  border-color: #0866ff;
}

.social-links .social-link[data-network='tiktok'] {
  background: #121212;
  color: #fff;
  border-color: #121212;
  box-shadow:
    -2px 0 0 #25f4ee,
    2px 0 0 #fe2c55;
}

.social-links .social-link[data-network='instagram'] img {
  filter: invert(1);
}

.social-links .social-link[data-network='youtube'] img {
  filter: invert(1);
}

.social-links .social-link[data-network='facebook'] img {
  filter: invert(1);
}

.social-links .social-link[data-network='tiktok'] img {
  filter: invert(1);
}

.social-links .social-link[data-network='doctoralia'] {
  background: #effaf7;
  color: #102f42;
  border-color: #008b80;
}

.social-links .social-link[data-network] small {
  color: inherit;
  font-weight: 400;
  opacity: 1;
}

.social-links .social-link.is-pending[data-network] {
  border-style: dashed;
}

.social-links a.social-link[data-network]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px #092f4530;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.video-availability .social-link img {
  width: 24px;
  height: 24px;
}

.video-availability .social-links {
  gap: 10px;
}

.social-links .social-link[data-network='google mi negocio'] {
  background: #fff;
  color: #174ea6;
  border-color: #1a73e8;
}

.social-links .social-link[data-network='google mi negocio'] img {
  filter: none;
}

.social-links .social-link.icon-only {
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 12px;
  justify-content: center;
  flex-wrap: nowrap;
  position: relative;
  border-radius: 50%;
  box-shadow: 0 4px 10px #092f4514;
}

.social-links .social-link.icon-only > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.social-links .social-link.icon-only > small {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.social-links .social-link.icon-only img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.social-links .social-link.icon-only[data-network='doctoralia'] {
  width: 144px;
  border-radius: 100px;
  padding-inline: 18px;
}

.social-links .social-link.icon-only[data-network='tiktok'] {
  box-shadow: -2px 0 0 #25f4ee, 2px 0 0 #fe2c55, 0 4px 10px #092f4514;
}

.social-links a.social-link.icon-only:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 4px;
}

.social-links .social-link.icon-only[data-network='doctoralia'] img {
  width: 98px;
  height: 26px;
}

@media (max-width: 600px) {
  .social-links {
    gap: 10px;
  }

  .social-links .social-link.icon-only:not([data-network='doctoralia']) {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 9px;
  }
}

.video-social-intro .social-links {
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 14px;
}

.video-social-intro .social-links .social-link.icon-only {
  display: inline-flex;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 10px;
  border: 1px solid #d5e2e4;
  border-radius: 14px;
  background: rgb(255 255 255 / 85%);
  color: var(--brand-blue);
  box-shadow: none;
}

.video-social-intro .social-links .social-link img {
  width: 25px;
  height: 25px;
  filter: none;
  opacity: 0.8;
}

.video-social-intro .social-links a.social-link:hover {
  background: #e1eeee;
  border-color: var(--brand-teal);
  box-shadow: none;
  transform: none;
}

.video-social-intro .social-links a.social-link:hover img {
  opacity: 1;
}

.video-social-intro .social-links {
  gap: 16px;
}

.video-social-intro .social-links .social-link.icon-only {
  width: 64px;
  height: 64px;
  min-height: 64px;
  flex-basis: 64px;
  padding: 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.video-social-intro .social-links .social-link img {
  width: 48px;
  height: 48px;
  filter: grayscale(1);
  opacity: 0.55;
}

.video-social-intro .social-links a.social-link:hover {
  background: transparent;
}

.video-social-intro .social-links a.social-link:hover img {
  opacity: 0.8;
}

@media (max-width: 380px) {
  .video-social-intro .social-links {
    gap: 8px;
  }

  .video-social-intro .social-links .social-link.icon-only {
    width: 56px;
    height: 56px;
    min-height: 56px;
    flex-basis: 56px;
  }

  .video-social-intro .social-links .social-link img {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 600px) {
  .video-social-intro .social-links {
    gap: 6px;
  }

  .video-social-intro .social-links .social-link.icon-only {
    width: 50px;
    height: 54px;
    min-height: 54px;
    flex: 0 1 50px;
    padding: 3px;
  }

  .video-social-intro .social-links .social-link img {
    width: 42px;
    height: 42px;
    max-width: 100%;
  }
}

/* Source: pages/blog.css */
/* pages/blog — estilos y variantes adaptables del módulo. */

.blog-intro {
  padding: 58px 0 64px;
}

.blog-intro h1 {
  max-width: 980px;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.blog-theme {
  padding: 34px;
  border-left: 4px solid var(--teal);
  background: var(--wash);
  border-radius: 0 18px 18px 0;
  display: flex;
  flex-direction: column;
}

.blog-theme h3 {
  font-size: 1.9rem;
  line-height: 1.2;
}

.blog-theme .button {
  gap: 10px;
  align-self: start;
  margin-top: auto;
}

@media (max-width: 600px) {
  .blog-theme {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .blog-theme h3 {
    font-size: 1.6rem;
  }
}

.blog-theme:first-child {
  background: #edf0f3 url('./fondo-gris.svg') center/cover;
  border-left-color: #5f7488;
}

.blog-theme:nth-child(2) {
  background: var(--navy) url('./fondo-azul.svg') center/cover;
  color: white;
  border-left-color: #68b6e8;
}

.blog-theme:nth-child(2) .eyebrow {
  color: #c6f3ee;
}

.blog-theme:nth-child(2) h3 {
  color: white;
}

.blog-theme:nth-child(2) .button.secondary {
  background: white;
  color: var(--navy);
  border-color: white;
}

/* Source: pages/article.css */
/* pages/article — estilos y variantes adaptables del módulo. */

.article {
  width: 80%;
  max-width: none;
  margin: auto;
}

.article h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.article h2 {
  font-size: 2rem;
  margin-top: 45px;
}

.article .prose {
  font-size: 1.2rem;
}

.sources li {
  margin-bottom: 14px;
}

.article-toc {
  display: block;
  background: linear-gradient(135deg, rgb(245 251 252 / 88%), rgb(227 240 242 / 50%));
  padding: 24px;
  border: 1px solid rgb(174 203 208 / 50%);
  border-radius: 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 95%), 0 8px 24px rgb(16 47 66 / 5%);
  margin: 30px 0;
}

.article-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 16px 0 0;
  padding-left: 24px;
}

.article-toc li {
  margin: 0;
  padding: 8px 4px;
}

.article-toc a {
  color: var(--teal);
  font-size: 1.125rem;
  text-decoration: none;
}

.article-video {
  margin: 35px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.article-video h2 {
  margin-top: 0;
}

@media (max-width: 600px) {
  .article-toc {
    padding: 20px;
  }
}

.article-actions {
  margin-top: 28px;
}

.article-actions {
  align-items: center;
  gap: 16px 24px;
}

.article-actions > .button {
  min-height: 52px;
  padding: 12px 22px;
  font-size: 1.2rem;
  border-radius: 12px;
}

.article-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 4px;
  font-size: 1.125rem;
  color: var(--brand-blue);
  text-decoration: none;
}

.article-back-button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.article-back-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-back-button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 6px;
}

@media (max-width: 600px) {
  .article-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .article-actions > .button {
    flex: none;
    width: 100%;
  }
}

.article h1,
.article > .lead {
  max-width: none;
}

@media (max-width: 900px) {
  .article {
    width: 80%;
  }
}

.article > :not(.large-cover) {
  margin-left: 24px;
  margin-right: 24px;
}

.article > .large-cover {
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgb(16 47 66 / 14%);
  overflow: hidden;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .article > :not(.large-cover) {
    margin-left: 16px;
    margin-right: 16px;
  }
}

.article .article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 24px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
}

.article-breadcrumb a {
  padding: 0;
  font-size: inherit;
}

.article-breadcrumb [aria-current] {
  color: var(--brand-blue);
}

.article > .article-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  margin: 0 0 40px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--brand-blue);
  box-shadow: 0 12px 32px rgb(16 47 66 / 12%);
}

.article-hero-copy {
  min-width: 0;
  padding: clamp(28px, 4vw, 64px);
  align-self: center;
}

.article-hero-copy .eyebrow {
  color: #b5d9dd;
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.article .article-hero-copy h1 {
  color: white;
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 1.08;
  margin-bottom: 24px;
  overflow-wrap: break-word;
}

.article-hero-copy .lead {
  color: #d6e8e8;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  margin: 0;
}

.article-hero-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  background: #d5e4e7;
}

.article-hero-media > .photo-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 0;
}

.article-hero-media > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 78% center;
}

@media (max-width: 900px) {
  .article > .article-hero-card {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .article-hero-media,
  .article-hero-media > img {
    min-height: 0;
    height: auto;
  }

  .article-hero-media > img {
    aspect-ratio: 16 / 9;
  }

  .article-hero-media {
    aspect-ratio: 16 / 9;
  }
}

.article-specialty-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-specialty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid rgb(214 232 232 / 25%);
  border-radius: 14px;
  background: rgb(214 232 232 / 12%);
}

.article-specialty-icon .ui-icon {
  width: 28px;
  height: 28px;
  color: #b5d9dd;
}

.article > .article-hero-card {
  position: relative;
}

.article-hero-copy {
  padding-bottom: 100px;
}

.article-hero-sharing {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: white;
  text-shadow: 0 1px 3px rgb(0 0 0 / 25%);
}

.article-hero-sharing .article-sharing {
  margin: 0;
  padding: 0;
}

.article .article-hero-sharing h2 {
  color: white;
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.75;
  margin: 0 0 3px;
  text-align: right;
  letter-spacing: 0.03em;
}

.article-hero-sharing .share-options {
  justify-content: flex-end;
  gap: 2px;
}

.article-hero-sharing .share-option {
  width: 32px;
  height: 32px;
  min-height: 32px;
  flex: 0 0 32px;
  padding: 6px;
  color: white;
  opacity: 0.8;
}

.article-hero-sharing .share-option img,
.article-hero-sharing .share-option svg {
  width: 20px;
  height: 20px;
  filter: none;
}

.article-hero-sharing .share-option img {
  filter: invert(1);
}

.article-hero-sharing .share-option:hover {
  color: white;
  background: rgb(255 255 255 / 12%);
  opacity: 1;
}

.article-hero-sharing .share-option:focus-visible {
  outline-color: white;
}

.article-hero-sharing .share-status {
  max-width: 240px;
  font-size: 0.8rem;
}

.article-hero-sharing .share-fallback {
  color: var(--ink);
  max-width: 240px;
}

@media (max-width: 900px) {
  .article-hero-copy {
    padding-bottom: 28px;
  }
}

.article-breadcrumb .article-breadcrumb-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
}

.article-breadcrumb-back svg {
  flex-shrink: 0;
  opacity: 0.65;
}

.article-breadcrumb-back:hover svg {
  opacity: 1;
}

.article-reading-time {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  color: #b5d9dd;
  font-size: 0.9rem;
  line-height: 1.4;
}

.article-reading-time svg {
  flex-shrink: 0;
}

.article-toc a:hover {
  text-decoration: underline;
}

.article-toc li::marker {
  color: var(--brand-teal-dark);
  font-size: 0.85em;
}

@media (max-width: 700px) {
  .article-toc ol {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.article-section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.article-section-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #f1f8f8, #e2efef);
  border: 1px solid rgb(174 203 208 / 40%);
}

.article-section-icon .ui-icon {
  width: 25px;
  height: 25px;
  color: var(--brand-teal-dark);
}

.article .prose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
  margin-bottom: 32px;
}

.article-content-card {
  padding: clamp(22px, 2.5vw, 36px);
  border: 1px solid rgb(174 203 208 / 42%);
  border-radius: 24px;
  background: linear-gradient(145deg, rgb(255 255 255 / 95%), rgb(239 247 248 / 65%));
  box-shadow: inset 0 1px 0 white, 0 6px 22px rgb(16 47 66 / 4%);
}

.article .article-content-card h2 {
  align-items: flex-start;
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  line-height: 1.2;
  margin: 0 0 20px;
}

.article-content-card p {
  margin: 0;
  font-size: 1.075rem;
  line-height: 1.75;
}

.article-content-card .article-section-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .article .prose {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.article-toc ol {
  position: relative;
  column-gap: 48px;
}

.article-toc ol::after {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1px;
  background: var(--line);
  pointer-events: none;
}

@media (max-width: 700px) {
  .article-toc ol::after {
    display: none;
  }
}

.article-overview {
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 2fr);
  gap: 28px;
  align-items: stretch;
  padding: 24px 0;
}

.article-overview-tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 28px 16px 0;
  border-right: 1px solid var(--line);
}

.article-overview-tags .tag {
  margin: 0;
}

.article-overview .article-toc {
  margin: 0;
  min-width: 0;
}

.article-overview .article-toc ol::after {
  display: none;
}

@media (max-width: 900px) {
  .article-overview {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-overview-tags {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Lectura cómoda: contraste estable, líneas moderadas y menos decoración. */
.article .prose {
  gap: 28px;
  align-items: start;
}

.article-content-card {
  padding: clamp(24px, 2.5vw, 36px);
  background: #fff;
  border: 1px solid #d5e2e4;
  border-radius: 20px;
  box-shadow: none;
}

.article .article-content-card h2 {
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  gap: 12px;
  margin-bottom: 22px;
}

.article-content-card p {
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 55ch;
  color: #293f43;
  text-align: left;
}

.article-content-card p + p {
  margin-top: 18px;
}

.article-content-card .article-section-icon {
  background: #eaf3f3;
  border: 0;
  border-radius: 50%;
}

@media (max-width: 1200px) {
  .article .prose {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-content-card p {
    max-width: 65ch;
  }
}

@media (max-width: 600px) {
  .article {
    width: calc(100% - 24px);
  }

  .article > .prose {
    margin-left: 0;
    margin-right: 0;
  }

  .article-content-card {
    padding: 22px 18px;
  }
}

.article-education-notice {
  padding: 10px 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  border-left-width: 3px;
  border-radius: 0 8px 8px 0;
}

.article-education-notice a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topic-banner {
  margin-top: 40px;
  padding: clamp(28px, 4vw, 60px);
  background: var(--brand-blue);
  color: white;
  border-radius: 24px;
}

.topic-banner h2 {
  color: white;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 500;
  margin: 0 0 28px;
}

.topic-banner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topic-banner-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 22px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 999px;
  color: white;
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  line-height: 1.3;
  text-decoration: none;
}

.topic-banner-links a:hover {
  background: #bceee7;
  border-color: #bceee7;
  color: var(--brand-blue);
}

.topic-banner-links a:focus-visible {
  outline: 3px solid #bceee7;
  outline-offset: 4px;
}

.topic-format {
  font-size: 0.7rem;
  opacity: 0.85;
}

@media (max-width: 600px) {
  .topic-banner-links {
    gap: 10px;
  }

  .topic-banner-links a {
    padding: 10px 16px;
    max-width: 100%;
    flex-wrap: wrap;
  }
}

.topic-banner {
  scroll-margin-top: 24px;
}

/* Source: pages/biography.css */
.biography-intro .doctor-grid {
  align-items: start;
}

.biography-sections {
  max-width: 960px;
}

.biography-section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 140px;
}

.biography-section h2 {
  margin-top: 0;
}

.biography-section li {
  margin-bottom: 12px;
}

.biography-areas {
  columns: 2;
  column-gap: 48px;
}

.biography-areas li {
  break-inside: avoid;
}

.biography-credentials dt {
  font-weight: 600;
}

.biography-credentials dd {
  margin: 4px 0 20px;
  color: var(--muted);
}

.biography-return {
  margin: 0 0 60px;
}

@media (max-width: 600px) {
  .biography-areas {
    columns: 1;
  }

  .biography-section {
    padding: 30px 0;
  }
}

/* Source: pages/videos.css */
/* pages/videos — estilos y variantes adaptables del módulo. */

.videos-more {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.videos-more .pending-link {
  padding: 15px 28px;
  background: var(--navy);
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  border-style: solid;
}

.video-library-intro {
  padding: 28px 0 16px;
  background: #fff;
  color: var(--ink);
}

.video-library-intro h1,
.video-library-intro .lead {
  color: var(--ink);
}

.video-library-intro .eyebrow {
  color: var(--navy);
}

.video-library-intro h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 14px;
}

.video-library-intro .lead {
  margin-bottom: 8px;
  font-size: 1.125rem;
}

.video-library-intro .social-links {
  justify-content: flex-end;
  gap: 2px;
  margin-top: 8px;
}

.library-follow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 12px auto;
  color: var(--muted);
  font-size: 0.9375rem;
}

.video-library-intro .library-follow .social-links {
  margin-top: 0;
}

.video-library-intro .social-links .social-link.icon-only {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--brand-blue);
  box-shadow: none;
  transform: none;
}

.video-library-intro .social-links .social-link.icon-only img,
.video-library-intro .social-links .social-link.icon-only svg {
  width: 20px;
  height: 20px;
  filter: none;
}

.video-library-intro .social-links .social-link.icon-only:hover {
  background: rgb(255 255 255 / 35%);
}

.video-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.video-topics button {
  border: 1px solid #829aa5;
  background: #e1eeec;
  color: var(--ink);
  border-radius: 100px;
  padding: 12px 18px;
  min-height: 48px;
}

.video-topics button[aria-pressed='true'] {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.video-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: end;
}

.video-filters > div:first-child {
  flex: 1 1 260px;
}

.video-filters label {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}

.video-filters input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #829aa5;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: white;
}

.video-filters select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #829aa5;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: white;
}

.video-filters input:focus-visible {
  outline: 3px solid #b54a00;
  outline-offset: 4px;
}

.library-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 1rem;
}

@media (max-width: 600px) {
  .video-filters > div {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .video-topics {
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .video-topics button {
    font-size: 1rem;
    padding: 10px 14px;
  }
}

/* Search and filters */
.video-results-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 20px 0 16px;
}

.video-results-heading h2 {
  margin: 0;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
}

.video-results-heading p,
.video-results-divider {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

.video-library-content {
  padding-top: 16px;
}

.video-filters {
  padding: 14px;
  border: 1px solid #a4bfd8;
  border-radius: 18px;
  background: linear-gradient(135deg, #c9dff2, #e0ecf8);
  color: var(--brand-blue);
  box-shadow: 0 4px 18px rgb(16 47 66 / 4%);
  gap: 10px;
}

.video-filters .video-search-field {
  flex: 1 1 100%;
}

.video-filters label[for='video-search'] {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}

.video-filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.filter-icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.video-search-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 4px 12px;
  background: white;
  color: var(--ink);
  border: 1px solid #829aa5;
  border-radius: 12px;
  box-shadow: none;
}

.video-search-shell:focus-within {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.video-search-shell #video-search {
  border: 0;
  background: transparent;
  min-width: 0;
  padding: 8px 0;
  flex: 1;
  outline: none;
}

.voice-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  cursor: pointer;
}

.voice-button[aria-pressed='true'] {
  background: #a32d3b;
}

.voice-status {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 8px 0 0;
}

.voice-status:empty {
  display: none;
}

.platform-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-options button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  min-height: 46px;
  border: 1px solid #c3d9d6;
  border-radius: 100px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.95rem;
}

.platform-options button[aria-pressed='true'] {
  background: #e1eeee;
  border-color: #83c5ff;
  box-shadow: inset 0 0 0 1px var(--brand-teal-dark);
}

.platform-options button img {
  width: 20px;
  height: 20px;
}

.video-filters select {
  border-radius: 14px;
}

#video-reset {
  gap: 8px;
  border-radius: 14px;
  background: transparent;
  color: var(--brand-teal-dark);
  border-color: #b4cbcd;
}

#video-reset:hover {
  background: #e1eeee;
}

.video-filters button:focus-visible,
.video-filters select:focus-visible {
  outline: 3px solid var(--brand-teal-dark);
  outline-offset: 4px;
}

.voice-button[hidden],
.platform-options[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .video-filters {
    padding: 16px;
  }

  .video-search-shell {
    padding-left: 14px;
    gap: 8px;
  }
}

.platform-options button[data-video-platform]:not([data-video-platform='']) {
  width: 48px;
  height: 48px;
  padding: 12px;
  justify-content: center;
  border-radius: 50%;
}

.video-filters select[hidden] {
  display: none;
}

.video-filters #video-format {
  font-size: 1.25rem;
  min-height: 64px;
  color-scheme: light;
}

/* Buscador y temas integrados en una sola tarjeta. */
.video-filters .video-topics {
  flex: 1 1 100%;
  min-width: 0;
  flex-wrap: wrap;
  overflow-x: visible;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #8fa8ba transparent;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid #bdcedb;
}

.video-filters .video-topics button {
  flex-shrink: 0;
  white-space: nowrap;
  background: rgb(255 255 255 / 95%);
  border-color: #c8dada;
  color: var(--brand-blue);
}

.video-filters #video-reset {
  flex: 0 0 auto;
  align-self: flex-end;
  white-space: nowrap;
  margin-bottom: 6px;
}

.video-filters .video-topics button[aria-pressed='true'] {
  background: #c6f3ee;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  font-weight: 700;
  box-shadow: inset 0 -2px var(--brand-blue);
}

.video-filters .video-topics button:hover {
  background: #d6e8e8;
}

.video-filters .video-topics button:focus-visible {
  outline: 3px solid var(--brand-teal-dark);
  outline-offset: 2px;
}

.video-topics {
  margin-top: 20px;
  gap: 8px;
}

.video-topics button {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 1rem;
  line-height: 1.35;
}

@media (max-width: 600px) {
  .video-filters {
    padding: 12px;
    gap: 10px;
    border-radius: 18px;
  }

  .video-filters .video-topics {
    flex-basis: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .video-filters #video-reset {
    margin-bottom: 0;
  }

  .video-filters label[for='video-search'] {
    font-size: 1.125rem;
    margin-bottom: 8px;
  }

  .video-filters label {
    margin-bottom: 8px;
  }

  .video-search-shell {
    padding: 4px 6px 4px 12px;
    gap: 8px;
  }

  .video-search-shell #video-search {
    min-height: 44px;
    font-size: 1rem;
  }

  .voice-button {
    width: 44px;
    height: 44px;
  }

  .platform-options {
    gap: 6px;
  }

  .platform-options button,
  .platform-options button[data-video-platform]:not([data-video-platform='']) {
    min-height: 44px;
    height: 44px;
    font-size: 1rem;
    padding: 8px 10px;
  }

  .platform-options button[data-video-platform]:not([data-video-platform='']) {
    width: 44px;
  }

  .video-filters #video-reset {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 1rem;
  }

  .video-topics {
    margin-block: 16px;
    gap: 6px;
  }

  .video-topics button {
    padding-inline: 12px;
    font-size: 0.9375rem;
    border-radius: 12px;
  }
}

/* Source: pages/links.css */
/* pages/links — estilos y variantes adaptables del módulo. */

body.links-page {
  background: linear-gradient(150deg, #edf3f6, #dbe8f3 55%, #edf5f6);
  padding: 0 18px 30px;
  min-height: 100vh;
}

.links-main {
  max-width: 650px;
  margin: 0 auto;
  padding: 44px 0 0;
}

.links-profile {
  text-align: center;
}

.links-profile .brand-logo {
  margin: 0 auto 24px;
  object-position: center;
  width: 220px;
  height: 70px;
}

.links-profile h1 {
  font-size: clamp(2rem, 6vw, 2.8rem);
  margin-bottom: 16px;
}

.links-profile p {
  color: var(--muted);
}

.links-appointment {
  width: 100%;
  gap: 14px;
  min-height: 64px;
  background: #087b3c;
  border-color: #087b3c;
  font-size: 1.25rem;
}

.links-appointment img {
  filter: invert(1);
}

.links-hint {
  text-align: center;
  font-size: 1rem;
  margin: 12px 0 24px;
  color: var(--muted);
}

.links-social {
  display: block;
}

.links-social .social-links {
  justify-content: center;
  gap: 14px;
}

.links-clinics {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.links-clinic {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}

.links-clinic-heading {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.links-clinic h2 {
  font-size: 1.5rem;
  margin: 0;
}

.links-clinic address {
  font-style: normal;
  color: var(--muted);
  margin-bottom: 18px;
}

.links-clinic .button {
  width: 100%;
}

.links-explore {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0;
}

.links-explore a {
  padding: 12px 16px;
  min-height: 48px;
}

.links-footer {
  text-align: center;
  font-size: 1rem;
  padding: 12px;
}

.links-footer a {
  display: inline-block;
  padding: 10px;
}

@media (max-width: 600px) {
  .links-main {
    padding-top: 28px;
  }
}

@media (max-width: 600px) {
  .links-clinic {
    padding: 22px;
  }
}

.links-clinics .clinic h2 {
  font-size: 1.8rem;
  line-height: 1.25;
  margin: 0 0 24px;
}

.links-clinics .clinic-info {
  padding: 30px;
}

.links-clinics .actions {
  gap: 12px;
  flex-wrap: wrap;
}

.links-clinics .actions > * {
  flex: 1 1 140px;
  justify-content: center;
  text-align: center;
}

.links-clinics .map {
  height: 255px;
}

@media (max-width: 420px) {
  .links-clinics .clinic-info {
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .links-clinics .actions > * {
    flex-basis: 100%;
  }
}

/* Source: components/share.css */
/* components/share — estilos y variantes adaptables del módulo. */

.article-sharing {
  margin-top: 38px;
  padding: 0;
  border: 0;
  background: transparent;
}

.article-sharing h2 {
  margin-top: 0;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.social-links .share-whatsapp {
  background: #087b3c;
  color: white;
  border-color: #087b3c;
}

.share-whatsapp img {
  filter: invert(1);
}

.share-status {
  font-size: 1rem;
  margin: 14px 0 0;
}

.share-fallback {
  width: 100%;
  font: inherit;
  padding: 12px;
  margin-top: 12px;
}

.article-sharing button {
  cursor: pointer;
}

@media (max-width: 600px) {
  .article-sharing {
    padding: 0;
  }
}

.share-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.share-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 7px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.share-option img,
.share-option svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.share-option:hover {
  background: #e3eef5;
  border-color: var(--brand-ochre);
  color: var(--brand-blue);
}

.share-option:focus-visible {
  outline: 3px solid var(--brand-ochre);
  outline-offset: 3px;
}

.share-option[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .share-option {
    flex: 0 0 48px;
  }
}

.share-status:empty {
  display: none;
}

/* Source: base/mobile.css */
/* Ajustes móviles compartidos: compactar espacio, conservar contenido y lectura. */
.home-shortcuts {
  display: none;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 24px;
    scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }

  section {
    padding-block: 40px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head p {
    margin-top: 12px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-grid,
  .doctor-grid,
  .faq-layout {
    gap: 24px;
  }

  .hero-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .hero-foot {
    margin-top: 24px;
    padding-block: 16px;
    gap: 8px;
  }

  .hero-profiles {
    margin-top: 20px;
  }

  .home-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
  }

  .home-shortcuts a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #b4cecf;
    border-radius: 12px;
    background: rgb(255 255 255 / 80%);
    color: var(--brand-blue);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
  }

  .home-shortcuts a:hover {
    background: white;
    border-color: var(--teal);
  }

  .doctoralia-panel {
    padding: 20px;
    gap: 20px;
  }

  .doctoralia-brand {
    min-height: 0;
    padding: 20px;
  }

  .doctoralia-brand img {
    max-width: 220px;
    margin-bottom: 16px;
  }

  .footer {
    padding-top: 36px;
  }

  .footer-grid {
    gap: 24px;
  }

  .mobile-bar a {
    min-height: 48px;
  }

  /* Reserve enough room for the fixed contact bar and keyboard focus. */
  body {
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1.0625rem;
    line-height: 1.6;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
    margin-bottom: 20px;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(1.75rem, 6.8vw, 2rem);
    line-height: 1.18;
    margin-bottom: 16px;
  }

  .eyebrow {
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
  }

  .lead {
    font-size: 1.125rem;
  }

  .button {
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .actions {
    gap: 10px;
  }

  .hero-services {
    gap: 12px;
    margin-bottom: 20px;
  }

  .hero-panel h2 {
    font-size: 1.625rem;
  }

  .hero-panel-heading {
    margin-bottom: 12px;
  }

  .hero-portrait {
    width: 76px;
  }

  .panel-row {
    padding-block: 12px;
    gap: 12px;
  }

  .hero-profiles a,
  .site-nav .menu-profiles a {
    min-width: 44px;
    min-height: 44px;
  }

  .hero-faq-link {
    min-height: 44px;
    font-size: 1rem;
  }

  .hero-foot .benefit {
    gap: 12px;
    padding-block: 6px;
  }

  .specialties-heading .specialties-team {
    max-height: 180px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-inline: auto;
  }

  .specialties-arrow,
  .home-blog-arrow,
  .reviews-arrow {
    width: 48px;
    height: 48px;
    padding: 4px;
  }

  .specialties-arrow svg,
  .home-blog-arrow svg,
  .reviews-arrow svg {
    width: 36px;
    max-width: 100%;
  }

  .reviews-controls {
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 16px;
  }

  .reviews-status {
    order: 0;
    flex-basis: auto;
  }

  .review-card blockquote {
    font-size: 1.375rem;
  }

  .steps {
    margin-top: 24px;
    gap: 20px;
  }

  .steps li {
    gap: 12px;
  }

  .steps li::before {
    width: 48px;
    height: 48px;
    font-size: 1.125rem;
  }

  .steps li:not(:last-child)::after {
    left: 24px;
    top: 56px;
    height: calc(100% - 36px);
  }

  .steps h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .steps p {
    font-size: 1rem;
  }

  /* Decorative photograph previously added an entire mobile screen. */
  .faq-layout .intro::after {
    display: none;
  }

  .faq-scroll summary {
    font-size: 1.125rem;
    padding-block: 16px;
  }

  .faq-scroll summary::after {
    top: 12px;
  }

  .clinic-info {
    padding: 20px;
  }

  .clinic-logo-link,
  .clinic-info address {
    margin-bottom: 16px;
  }

  .clinic-logo {
    height: 52px;
  }

  .clinic dl {
    margin-bottom: 16px;
  }

  .clinic-tab[aria-selected='true'] {
    border-color: var(--brand-teal-dark);
    background: #e1eeee;
    box-shadow: inset 0 -3px var(--brand-teal-dark);
  }

  .clinics-location-icon {
    width: 36px;
    height: 36px;
  }

  .map {
    height: 210px;
  }

  .blog-intro {
    padding-block: 32px;
  }

  .blog-intro h1,
  .video-library-intro h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .blog-theme {
    padding: 20px;
  }

  .blog-card h3 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .filters {
    padding: 16px;
    gap: 16px;
    border-radius: 18px;
  }

  .filters label {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .filters select,
  .article-picker summary,
  .article-filter-go {
    min-height: 48px;
    font-size: 1rem;
    padding-block: 10px;
  }

  .article-picker-options button {
    min-height: 48px;
    font-size: 1rem;
    padding: 10px 12px;
  }

  .article-hero-copy {
    padding: 24px;
  }

  .article .article-hero-copy h1 {
    font-size: 2rem;
  }
}

/* Source: components/specialties-editorial.css */
/* Panel editorial de especialidades inspirado en la referencia del usuario. */
.specialties-editorial {
  position: relative;
  isolation: isolate;
  background: #eff1f2;
}

.specialties-editorial::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 460px;
  z-index: -1;
  background: linear-gradient(rgb(16 30 37 / 72%), rgb(16 30 37 / 60%)), url('./equipo-quirofano-marca-agua.jpg') center 35% / cover;
  filter: grayscale(1);
}

.specialties-editorial-heading {
  max-width: 850px;
  margin: 0 auto 28px;
  text-align: center;
  color: white;
}

.specialties-editorial-heading h2 {
  color: white;
  font-weight: 400;
  font-size: clamp(1.875rem, 3.2vw, 3rem);
  line-height: 1.2;
}

.specialties-editorial-heading .eyebrow {
  color: #d6e8e8;
}

.specialties-editorial-heading > p:last-child {
  margin: 0;
}

.specialties-editorial-panel {
  padding: 40px;
  background: white;
  border-radius: 28px;
  box-shadow: 0 16px 45px rgb(16 47 66 / 8%);
}

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

.specialties-editorial-grid .specialty-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  min-width: 0;
}

.specialties-editorial-grid .specialty-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.specialties-editorial-grid .specialty-icon {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 0;
}

.specialties-editorial-grid .specialty-icon .ui-icon {
  width: 40px;
  height: 40px;
  color: var(--teal);
}

.specialties-editorial-grid h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: uppercase;
}

.specialties-editorial-grid .specialty-card > p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.specialties-editorial-grid .specialty-link {
  min-height: 44px;
  padding: 8px 0 0;
  justify-content: flex-start;
  color: var(--teal);
  font-size: 1rem;
}

.specialties-editorial-grid .specialty-arrow {
  display: inline;
  width: auto;
  height: auto;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
}

.specialties-editorial-grid .specialty-link::after {
  border-radius: 8px;
}

.specialties-editorial-grid .specialty-card:hover .specialty-icon {
  background: transparent;
}

.specialties-editorial-more {
  margin-top: 24px;
  border-block: 1px solid var(--line);
}

.specialties-editorial-more summary {
  min-height: 48px;
  padding-block: 16px;
  font-size: 1rem;
  color: var(--teal);
}

.specialties-editorial-more summary::after {
  top: 10px;
}

.specialties-editorial-more .specialties-editorial-grid {
  padding: 12px 0 24px;
}

.specialties-editorial-note {
  margin: 20px 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .specialties-editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .specialties-editorial-panel {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .specialties-editorial-grid {
    gap: 24px 20px;
  }
}

@media (max-width: 480px) {
  .specialties-editorial-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .specialties-editorial-grid .specialty-card + .specialty-card {
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
}

/* Source: base/accessibility.css */
/* base/accessibility — estilos y variantes adaptables del módulo. */

button:focus-visible {
  outline: 3px solid #b54a00;
  outline-offset: 5px;
}

a:focus-visible {
  outline: 3px solid #b54a00;
  outline-offset: 5px;
}

select:focus-visible {
  outline: 3px solid #b54a00;
  outline-offset: 5px;
}

.skip {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 12px;
}

.skip:focus {
  top: 12px;
}

[hidden] {
  display: none !important;
}

/* Source: base/motion.css */
/* base/motion — estilos y variantes adaptables del módulo. */

.reveal {
  animation: rise 0.65s ease both;
}

@keyframes rise {
  from {
    opacity: 0.3;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-links a.social-link[data-network]:hover {
    transform: none;
  }
}
