.page-hero.breath-editorial-hero { padding: 0; background: #eff6fc; }
.breath-editorial-hero::after { display: none; }
.breath-editorial-hero .shell { display: grid; align-items: center; min-height: 510px; padding-block: 52px; }
.breath-editorial-hero .page-hero-copy { width: min(650px, 55%); }
.breath-editorial-hero h1 { font-size: clamp(2.5rem, 4.3vw, 3.9rem); }
.breath-editorial-hero .lead { max-width: 52ch; }

.breath-editorial-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.breath-editorial-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #f4f8fd 0%, rgba(245, 249, 253, .91) 35%, rgba(245, 249, 253, .42) 53%, transparent 65%);
  pointer-events: none;
}
.breath-service-hero .breath-editorial-art { left: auto; width: 66%; object-position: 90% 44%; }
.breath-service-hero .page-hero-copy { width: min(590px, 46%); }
.breath-service-hero::before { background: linear-gradient(90deg, #f4f8fd 34%, rgba(245, 249, 253, .95) 39%, rgba(245, 249, 253, .58) 46%, transparent 54%); }

.breath-jumps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
.breath-jumps a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: .2em; font-size: .92rem; font-weight: 700; }
.breath-art-credit { color: var(--body); text-align: right; padding-block: 7px; }
.breath-art-credit a { text-decoration: underline; }
.breath-section.section { padding-block: clamp(36px, 6vw, 72px); }
.breath-section h2 { margin-bottom: 12px; }
.breath-section .prose h2:not(:first-child) { margin-top: 28px; }
.breath-section .card p { margin-top: 8px; }
.breath-test-cards, .breath-actions { margin: 20px 0; }
.breath-substrate-image { display: block; width: 100%; height: auto; border-radius: 12px; margin-bottom: 14px; background: var(--mist); }
.breath-test-cards .card-link { display: block; width: fit-content; margin-top: 9px; }
.breath-pediatric-notice { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(10px, 2vw, 20px); margin-block: 24px; padding: clamp(14px, 3vw, 24px); border-color: #e6b485; background: #fff1e1; color: #4b2c16; }
.breath-pediatric-notice h2, .breath-pediatric-notice .card-link { color: #73390e; }
.breath-pediatric-icon { display: grid; place-items: center; width: clamp(36px, 7vw, 54px); aspect-ratio: 1; border-radius: 14px; background: #ffdfb9; font-size: clamp(1.2rem, 4vw, 1.75rem); line-height: 1; }
.breath-service-content .notice .actions, .breath-result-actions { margin-top: 14px; }
.breath-result-actions { margin-bottom: 18px; }
.breath-section .sidebar-card h2 { font-size: 1.25rem; }
.breath-service-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, 290px); align-items: start; gap: clamp(24px, 4vw, 48px); padding-block: 12px 32px; }
.breath-service-content { min-width: 0; }
.breath-service-content > .section { padding: clamp(22px, 4vw, 34px) 0; background: transparent; }
.breath-service-content > .section + .section { border-top: 1px solid var(--line); }
.breath-service-content > .section > .shell { width: 100%; max-width: none; }
.breath-sticky { position: sticky; padding: 20px; top: 105px; max-height: calc(100vh - 125px); overflow-y: auto; }
.breath-sticky h2 { font-size: 1.3rem; margin: 12px 0; }
.breath-sticky .button { padding-inline: 10px; }
.breath-facts { display: grid; gap: 6px; margin: 0 0 13px; }
.breath-facts div { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: baseline; }
.breath-facts dt { color: var(--blue-ink); font-weight: 750; }
.breath-facts dd { margin: 0; font-size: .86rem; }
.breath-side-nav { display: grid; gap: 3px; border-top: 1px solid var(--line); padding-top: 10px; }
.breath-side-nav a { display: block; padding: 4px 8px; border-radius: 7px; color: var(--blue-ink); font-size: .87rem; }
.breath-side-nav a[aria-current='location'] { background: #e1edf8; font-weight: 800; box-shadow: inset 3px 0 var(--blue); }

.breath-physiology { padding: clamp(12px, 2.5vw, 22px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.breath-physiology [hidden], .breath-video [hidden] { display: none; }
.breath-phys-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 16px; }
.breath-phys-figure { margin: 0; border-radius: 12px; padding: 8px; background: #edf5fc; text-align: center; }
.breath-phys-figure svg { display: block; width: 100%; height: auto; max-height: 310px; }
.breath-phys-figure text { font: 700 12px system-ui, sans-serif; }
.breath-phys-figure figcaption { font-size: .76rem; margin-top: 5px; }
.breath-phys-panels article { background: var(--mist); padding: 14px; border-radius: 12px; margin-block: 5px; }
.breath-phys-panels h3 { margin: 4px 0; color: var(--blue-ink); }
.breath-phys-panels p { margin: 5px 0; }
.breath-physiology.is-interactive .breath-phys-path:not(.is-active) { opacity: .18; }
.breath-video { aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 15px; background: #eaf3fb; border: 1px solid var(--line); margin-block: 14px 10px; }
.breath-video img, .breath-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.breath-video button { z-index: 1; box-shadow: 0 8px 25px #11334a38; }

.breath-journey { margin-top: 18px; padding: clamp(12px, 3vw, 27px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.breath-journey [hidden] { display: none; }
.breath-journey-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.breath-journey-choices button {
  text-align: left; padding: 11px 12px; font: inherit; font-size: .9rem; font-weight: 750;
  color: var(--blue-ink); border: 1px solid var(--line); border-radius: 10px; background: var(--mist); cursor: pointer;
}
.breath-journey-choices button span { display: block; color: var(--blue); font-size: .77rem; margin-bottom: 3px; }
.breath-journey-choices button[aria-pressed='true'] { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.breath-journey-choices button[aria-pressed='true'] span { color: #dfedfb; }
.breath-journey-panels { display: grid; gap: 8px; }
.breath-journey-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(12px, 3vw, 24px); align-items: center; background: var(--soft); padding: clamp(15px, 3vw, 25px); border-radius: 12px; }
.breath-journey-panel p { margin: 4px 0 0; }
.breath-journey-panel h3 { color: var(--blue-ink); margin: 4px 0 0; }
.breath-step-label { color: var(--blue-dark); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.breath-journey-icon { display: grid; place-items: center; width: 60px; height: 60px; background: #fff; color: var(--blue-dark); border-radius: 16px; }
.breath-journey-icon svg { width: 34px; height: 34px; }
.breath-journey-nav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 14px; }
.breath-journey-nav progress { width: 100%; accent-color: var(--blue); }
.breath-journey-nav button:disabled { opacity: .45; cursor: default; }
.breath-journey button:focus-visible, .breath-jumps a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .breath-journey-choices:not([hidden]) + .breath-journey-panels .breath-journey-panel:not([hidden]) { animation: breath-panel-in .22s ease-out both; }
  @keyframes breath-panel-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
  .breath-enter { transition: opacity .45s ease, transform .45s ease; }
  .breath-enter:not(.breath-enter-visible):not(:focus-within) { opacity: 0; transform: translateY(14px); }
  .breath-physiology.is-interactive .breath-phys-path.is-active { animation: breath-path-in .65s ease both; }
  .breath-phys-path.is-active > path { stroke-dasharray: 450; animation: breath-draw 1s ease-out both; }
  @keyframes breath-path-in { from { opacity: .18; } to { opacity: 1; } }
  @keyframes breath-draw { from { stroke-dashoffset: 450; } to { stroke-dashoffset: 0; } }
}

.breath-sources {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.breath-sources summary {
  color: var(--blue-ink);
  font-weight: 750;
  cursor: pointer;
}

.breath-selects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.breath-selects[hidden] { display: none; }
.breath-prep-options { display: grid; gap: 10px; margin-top: 14px; }
.breath-prep-options h3 { font-size: 1.04rem; margin-bottom: 4px; }
.breath-prep-options p { margin: 0; }
.breath-checklist { display: grid; gap: 12px; border: 0; padding: 0; margin: 14px 0; min-width: 0; }
.breath-checklist label { display: flex; gap: 9px; align-items: flex-start; }
.breath-checklist input { flex: none; margin-top: .3em; accent-color: var(--blue); }
.breath-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#cuidados-sibo, #cuidados-fructosa, #recorrido-hidrogeno, #sustratos-hidrogeno, #mi-orden, #viaje-hidrogeno, #video-gastroplus, #resultados-hidrogeno { scroll-margin-top: 100px; }

@media (max-width: 980px) {
  .breath-service-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .breath-sticky { position: static; max-height: none; overflow: visible; }
  .breath-side-nav { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}

@media (max-width: 1100px) {
  .breath-service-hero::before { display: none; }
  .breath-service-hero .breath-editorial-art { position: relative; width: 100%; height: clamp(210px, 56vw, 420px); object-position: right 45%; }
  .breath-service-hero .shell { min-height: 0; padding-block: 18px 30px; }
  .breath-service-hero .page-hero-copy { width: 100%; }
}

@media (max-width: 780px) {
  .breath-editorial-hero::before { display: none; }
  .breath-editorial-art { position: relative; height: clamp(195px, 52vw, 340px); object-position: 85% 43%; }
  .breath-editorial-hero .shell { min-height: 0; padding-block: 18px 30px; }
  .breath-editorial-hero .page-hero-copy { width: 100%; }
  .breath-editorial-hero h1 { font-size: clamp(2rem, 6.4vw, 2.85rem); }
  .breath-art-credit { text-align: left; }
  .breath-journey-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .breath-selects { grid-template-columns: minmax(0, 1fr); }
  .breath-phys-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .breath-jumps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-inline-end: 35px; }
  .breath-journey-icon { width: 42px; height: 42px; border-radius: 10px; }
  .breath-journey-icon svg { width: 25px; height: 25px; }
  .breath-journey-nav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .breath-journey-nav progress { grid-area: 1 / 1 / 2 / 3; }
}
