/* =========================================================
   El manual del bebé · noches difíciles
   A calm, editorial field guide for parents.
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("./assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("./assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Manrope", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  --bg: #f6f0e4;
  --bg-deep: #ede4d5;
  --surface: #fdf9f1;
  --surface-soft: #f2eadc;
  --surface-strong: #eae0ce;
  --ink: #2b241e;
  --ink-soft: #5c524a;
  --ink-muted: #8a7d71;
  --line: rgba(43, 36, 30, 0.12);
  --line-strong: rgba(43, 36, 30, 0.22);
  --forest: #1b3c33;
  --forest-deep: #0d2821;
  --forest-mid: #295144;
  --sage: #91a68c;
  --sage-deep: #56745d;
  --sage-soft: #e4eadf;
  --sage-pale: #eff3ea;
  --cream: #faf3e4;
  --cream-strong: #fffcf4;
  --cream-ink: #1c2a23;
  --coral: #c4654c;
  --coral-deep: #a14a34;
  --coral-soft: #f4dcd1;
  --amber: #d5a253;
  --amber-soft: #f8eacb;
  --amber-deep: #8c641f;
  --red: #a73e2c;
  --red-soft: #f3d5cd;
  --blue-soft: #e2e9ea;
  --blue-deep: #4b6a70;
  --green: #527e60;
  --green-soft: #e0eadf;
  --accent-warm: #e8a26c;
  --accent-green: #9eb6a0;
  --night: #133a31;
  --night-soft: #1b473b;
  --night-text: #f4eedf;
  --night-muted: #bdcabf;
  --night-line: rgba(247, 241, 228, 0.13);
  --moon: #f2d8a6;
  --rose: #c88a75;
  --rose-soft: #f3e0d7;
  --blush: #efd8cc;
  --stitch: rgba(43, 36, 30, 0.26);

  --shadow-xs: 0 1px 2px rgba(54, 39, 27, 0.04);
  --shadow-sm: 0 10px 30px rgba(54, 39, 27, 0.06);
  --shadow-md: 0 22px 60px rgba(54, 39, 27, 0.1);
  --shadow-lg: 0 36px 90px rgba(34, 26, 19, 0.18);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-xl: 40px;
  --header-h: 82px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="night"] {
  color-scheme: dark;
  --bg: #111815;
  --bg-deep: #0b110e;
  --surface: #17211b;
  --surface-soft: #1c281f;
  --surface-strong: #243227;
  --ink: #f3ecdf;
  --ink-soft: #c4cbbe;
  --ink-muted: #8f9a8c;
  --line: rgba(243, 237, 225, 0.12);
  --line-strong: rgba(243, 237, 225, 0.24);
  --forest: #0e332a;
  --forest-deep: #081d17;
  --forest-mid: #1b4a3d;
  --sage: #a5b8a5;
  --sage-deep: #8ba48e;
  --sage-soft: #22342b;
  --sage-pale: #1a2a23;
  --cream: #f4eddd;
  --cream-strong: #fbf6e9;
  --cream-ink: #17241e;
  --coral: #e1886e;
  --coral-deep: #ca6c50;
  --coral-soft: #3b2621;
  --amber: #e3b968;
  --amber-soft: #342c1e;
  --amber-deep: #e3b968;
  --red: #e78d79;
  --red-soft: #3d2420;
  --blue-soft: #1f3034;
  --blue-deep: #9cbbc4;
  --green: #95b59c;
  --green-soft: #20342a;
  --night: #0c2c25;
  --night-soft: #173f35;
  --night-text: #f4eedf;
  --night-muted: #b9c7bc;
  --night-line: rgba(247, 241, 228, 0.13);
  --moon: #f0d3a0;
  --rose: #d99a85;
  --rose-soft: #35251f;
  --blush: #3a2922;
  --stitch: rgba(243, 237, 225, 0.3);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.16);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.16);
  --shadow-md: 0 22px 60px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 36px 90px rgba(0, 0, 0, 0.38);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--coral);
  color: var(--cream-strong);
}

h1, h2, h3, h4, p, dl, dd, figure, blockquote {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.04;
  color: var(--ink);
}

h2 em, h3 em, .serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

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

button, input {
  font: inherit;
}

button {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

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

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.022;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
[data-theme="night"] .page-noise {
  opacity: 0.03;
  mix-blend-mode: screen;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 250;
  height: 2px;
  pointer-events: none;
}
.reading-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--sage), var(--amber), var(--coral));
  border-radius: 0 2px 2px 0;
}

/* =========================================================
   Buttons, links, small type
   ========================================================= */

.btn {
  --btn-bg: var(--ink);
  --btn-color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 20px 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-color);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn:active {
  transform: translateY(0);
}
.btn__icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.btn:hover .btn__icon {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.22);
}
.btn--primary {
  --btn-bg: var(--forest);
  --btn-color: var(--cream-strong);
  background: var(--btn-bg);
  color: var(--btn-color);
}
[data-theme="night"] .btn--primary {
  --btn-bg: var(--cream);
  --btn-color: var(--cream-ink);
}
[data-theme="night"] .btn--primary .btn__icon {
  background: rgba(23, 36, 30, 0.12);
}
.btn--quiet {
  --btn-bg: transparent;
  --btn-color: var(--ink);
  border-color: var(--line-strong);
  padding-left: 20px;
}
.btn--quiet .btn__icon {
  background: transparent;
  width: auto;
  height: auto;
}
.btn--quiet:hover {
  background: var(--surface);
  border-color: var(--ink);
}
.btn--light {
  --btn-bg: var(--cream-strong);
  --btn-color: var(--cream-ink);
  background: var(--cream-strong);
  color: var(--cream-ink);
  border-color: transparent;
  padding: 12px 20px;
  font-size: 13px;
}
.btn--danger {
  --btn-bg: var(--coral);
  --btn-color: #fff9f0;
  background: var(--coral);
  color: #fff9f0;
}
.btn--danger:hover {
  --btn-bg: #b84e37;
}
.btn--small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 13px;
  border-radius: 999px;
  border: 0;
}
.btn--wide {
  width: 100%;
  min-height: 56px;
}
.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(0.2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.text-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}
.text-link:hover {
  color: var(--coral);
  border-color: var(--coral);
}
.text-link:hover .icon {
  transform: translateX(3px);
}
.text-link--light {
  color: var(--night-text);
  border-color: rgba(247, 241, 228, 0.35);
}
.text-link--light:hover {
  color: var(--accent-warm);
  border-color: var(--accent-warm);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.86;
  transition: opacity 0.2s;
}
.text-button:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-button .icon {
  width: 15px;
  height: 15px;
}
.text-button--muted {
  opacity: 0.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow__spark {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--coral);
}
.eyebrow__spark .icon {
  width: 12px;
  height: 12px;
}

.section-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding-bottom: 9px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.112em;
  text-transform: uppercase;
}
.section-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 1px;
  background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 7px);
  opacity: 0.42;
}
.section-label > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px 999px 8px 8px;
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.section-label--light {
  color: var(--night-muted);
}
.section-label--light > span {
  color: var(--night-text);
  border-color: var(--night-line);
  background: rgba(247, 241, 228, 0.05);
}
.section-label--inline {
  display: flex;
  margin-bottom: 16px;
}

.card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.card-kicker__hint {
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}
.card-kicker--light {
  color: rgba(255, 245, 230, 0.68);
}

.text-small {
  font-size: 13px !important;
  line-height: 1.65;
  color: var(--ink-muted);
}

.section {
  position: relative;
  padding: clamp(88px, 10vw, 140px) 0;
}
.section-head {
  margin-bottom: clamp(44px, 6vw, 70px);
}
.section-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: end;
}
.section-head h2 {
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  max-width: 13ch;
}
.section-head h2 em {
  color: var(--coral);
}
.section-head__copy {
  max-width: 440px;
  padding-bottom: 7px;
}
.section-head__copy p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}
.section-head__copy p + p {
  margin-top: 14px;
}

/* =========================================================
   Header and navigation
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: inherit;
}
.site-header.is-scrolled::before {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--header-h);
  transition: height 0.4s var(--ease);
}
.site-header.is-scrolled .header__inner {
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  flex: 0 0 auto;
  transition: transform 0.5s var(--ease), background-color 0.35s;
}
[data-theme="night"] .brand__mark {
  background: var(--cream);
  color: var(--forest-deep);
}
.brand:hover .brand__mark {
  transform: rotate(-8deg);
}
.brand__mark svg {
  width: 29px;
  height: 29px;
}
.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.brand__name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}
.brand__name em {
  font-weight: 500;
}
.brand__tag {
  color: var(--ink-muted);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.2vw, 30px);
  margin-left: auto;
}
.desktop-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.25s;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--ink);
}
.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}
.theme-toggle:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}
.theme-toggle__icons {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}
.theme-toggle__icons .icon {
  position: absolute;
  inset: 0;
  width: 18px;
  height: 18px;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.theme-toggle__icons .icon:first-child {
  opacity: 0;
  transform: rotate(-60deg) scale(0.5);
}
.theme-toggle__icons .icon:last-child {
  opacity: 1;
  transform: rotate(0) scale(1);
}
[data-theme="night"] .theme-toggle__icons .icon:first-child {
  opacity: 1;
  transform: rotate(0) scale(1);
}
[data-theme="night"] .theme-toggle__icons .icon:last-child {
  opacity: 0;
  transform: rotate(60deg) scale(0.5);
}
.emergency-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 15px;
  border: 1px solid color-mix(in srgb, var(--coral) 34%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--coral-soft) 50%, transparent);
  color: var(--coral-deep);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s;
}
[data-theme="night"] .emergency-link {
  color: #f3b1a0;
  border-color: rgba(225, 136, 110, 0.35);
  background: rgba(225, 136, 110, 0.08);
}
.emergency-link:hover {
  background: var(--coral-soft);
  border-color: var(--coral);
  transform: translateY(-1px);
}
.pulse-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--coral);
  border-radius: 50%;
  animation: pulseRing 2.8s ease-out infinite;
}
.menu-toggle {
  display: none;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-toggle .icon {
  width: 18px;
  height: 18px;
}
.menu-close-icon {
  display: none;
}
body.menu-open .menu-open-icon {
  display: none;
}
body.menu-open .menu-close-icon {
  display: block;
}
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  padding: calc(var(--header-h) + 20px) 24px 28px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav__inner {
  width: min(100%, 560px);
  margin: 0 auto;
}
.mobile-nav__label {
  display: block;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.mobile-nav nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 5.5vw, 1.8rem);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mobile-nav nav a > span {
  width: 24px;
  font-family: var(--font-sans);
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.mobile-nav nav a .icon {
  width: 17px;
  height: 17px;
  margin-left: auto;
  color: var(--ink-muted);
}
.mobile-nav__foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 22px;
}
.mobile-nav__foot > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 11px;
}
.mobile-nav__foot > span .icon {
  width: 15px;
  height: 15px;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 26px;
  background:
    radial-gradient(85% 62% at 86% 6%, color-mix(in srgb, var(--amber-soft) 62%, transparent) 0%, transparent 60%),
    radial-gradient(62% 54% at 4% 64%, color-mix(in srgb, var(--rose-soft) 74%, transparent) 0%, transparent 62%),
    radial-gradient(70% 60% at 46% 100%, color-mix(in srgb, var(--sage-soft) 46%, transparent) 0%, transparent 64%),
    var(--bg);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100% - 48px, var(--container));
  height: 1px;
  background: var(--line);
  transform: translateX(-50%);
}
.hero__aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.44;
}
.hero__aura--one {
  width: 340px;
  height: 340px;
  top: 2%;
  right: 2%;
  background: var(--amber-soft);
  animation: auraDrift 16s ease-in-out infinite alternate;
}
.hero__aura--two {
  width: 280px;
  height: 280px;
  left: -7%;
  top: 58%;
  background: var(--sage-soft);
  animation: auraDrift 19s ease-in-out -5s infinite alternate-reverse;
}
[data-theme="night"] .hero__aura {
  opacity: 0.17;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
  align-items: center;
  gap: clamp(38px, 5.4vw, 86px);
  min-height: clamp(640px, 76vh, 800px);
  padding-bottom: clamp(42px, 6vw, 74px);
}
.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 700px;
}
.hero__eyebrow {
  margin-bottom: 25px;
}
.hero__title {
  max-width: 10.5ch;
  font-size: clamp(3.35rem, 6.25vw, 6.3rem);
  line-height: 0.97;
  letter-spacing: -0.05em;
}
.hero__title .serif-italic {
  display: block;
  margin-top: 0.05em;
  color: var(--coral);
  letter-spacing: -0.042em;
}
.hero__lead {
  max-width: 500px;
  margin-top: 29px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.28vw, 1.13rem);
  line-height: 1.76;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 12px;
  margin-top: 29px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 550;
  line-height: 1.4;
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero__meta .icon {
  width: 13px;
  height: 13px;
}
.hero__meta .meta-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  justify-self: end;
  z-index: 2;
  perspective: 1200px;
}
.hero__halo {
  position: absolute;
  width: 112%;
  aspect-ratio: 1;
  left: 0;
  top: -13%;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.hero__halo::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px dashed var(--line);
  border-radius: 50%;
}
.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
}
.hero__scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero__scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 32px;
  background: var(--line-strong);
  overflow: hidden;
}
.hero__scroll-cue i::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 1px;
  height: 50%;
  background: var(--ink);
  animation: scrollDrop 2.5s ease-in-out infinite;
}
.hero__foot-note {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 490px;
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.5;
}
.hero__foot-note .icon {
  width: 15px;
  height: 15px;
  color: var(--sage-deep);
}
.hero__foot-note strong {
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   Hero scene · madre y bebé
   --------------------------------------------------------- */

.hero-scene {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0;
  justify-self: end;
  z-index: 2;
}
.hero__visual.hero-scene {
  max-width: 520px;
}
.hero-scene .hero__halo {
  width: auto;
  height: auto;
  inset: -30px -26px -18px -34px;
  aspect-ratio: auto;
  border-radius: 999px 999px 46px 46px;
  transform: translate(14px, -8px);
  z-index: -1;
  opacity: 0.85;
}
.hero-scene .hero__halo::before {
  inset: 11px;
  border-radius: inherit;
}
.hero-scene__arch {
  position: relative;
  width: 100%;
  aspect-ratio: 520 / 640;
  border-radius: 999px 999px 34px 34px;
  overflow: hidden;
  background:
    radial-gradient(70% 46% at 72% 18%, rgba(247, 216, 166, 0.18) 0%, transparent 62%),
    radial-gradient(60% 50% at 12% 72%, rgba(207, 137, 112, 0.18) 0%, transparent 66%),
    linear-gradient(168deg, #37564a 0%, #26453a 40%, #1a362d 72%, #142e26 100%);
  border: 1px solid rgba(255, 248, 233, 0.16);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.13);
}
.hero-scene__arch::before {
  content: "";
  position: absolute;
  inset: 13px;
  z-index: 2;
  border: 1px dashed rgba(246, 230, 198, 0.23);
  border-radius: inherit;
  pointer-events: none;
}
.hero-scene__arch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-scene__svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.hero-scene__time {
  position: absolute;
  top: 24px;
  left: -22px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.11em;
  transform: rotate(-3deg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-scene__time i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--coral) 12%, transparent);
}
.hero-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px 10px 11px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero-chip--temp {
  top: 35%;
  right: -24px;
  transform: rotate(2.2deg);
}
.hero-chip__icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber-deep);
  flex: 0 0 auto;
}
.hero-chip__icon .icon {
  width: 16px;
  height: 16px;
}
.hero-chip small {
  display: block;
  color: var(--ink-muted);
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-chip strong {
  display: block;
  margin-top: 1px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.hero-note {
  position: absolute;
  left: -30px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: min(272px, 74%);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: var(--shadow-md);
  transform: rotate(-1.4deg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero-note__icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--coral-deep);
  flex: 0 0 auto;
}
.hero-note__icon .icon {
  width: 14px;
  height: 14px;
}
.hero-note p {
  font-size: 10.5px;
  line-height: 1.55;
}
.hero-note strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
}
.hero-note span {
  color: var(--ink-muted);
}

/* Escena en movimiento */
.scene-mother {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: sceneRock 12s ease-in-out infinite;
}
.scene-head {
  transform-box: fill-box;
  transform-origin: 45% 92%;
  animation: sceneNod 9s ease-in-out infinite;
}
.scene-baby {
  transform-box: fill-box;
  transform-origin: 45% 68%;
  animation: sceneBreathe 5.8s ease-in-out infinite;
}
.scene-mobile {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  animation: sceneMobile 9.5s ease-in-out infinite;
}
.scene-plant {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: scenePlant 12.5s ease-in-out infinite;
}
.scene-lamp {
  transform-box: fill-box;
  transform-origin: 50% 80%;
  animation: sceneGlow 7.5s ease-in-out infinite;
}
.scene-breath path {
  animation: sceneBreath 5.8s ease-in-out infinite;
}
.scene-star--one {
  animation: sceneTwinkle 5s ease-in-out infinite;
}
.scene-star--two {
  animation: sceneTwinkle 6.5s ease-in-out 1.2s infinite;
}

/* Hero entrance */
.js [data-intro="1"] { opacity: 0; animation: introUp 0.85s var(--ease) 0.12s forwards; }
.js [data-intro="2"] { opacity: 0; animation: introUp 1s var(--ease) 0.22s forwards; }
.js [data-intro="3"] { opacity: 0; animation: introUp 0.9s var(--ease) 0.38s forwards; }
.js [data-intro="4"] { opacity: 0; animation: introUp 0.9s var(--ease) 0.5s forwards; }
.js [data-intro="5"] { opacity: 0; animation: introUp 0.9s var(--ease) 0.6s forwards; }
.js [data-intro="6"] { opacity: 0; animation: introCard 1.15s var(--ease) 0.36s forwards; }

/* Scroll reveals */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.85s var(--ease) var(--reveal-delay, 0ms), transform 0.95s var(--ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal].is-visible .draw-line {
  animation: drawLine 1.9s var(--ease) 0.25s both;
}

/* =========================================================
   Quick links
   ========================================================= */

.quick-section {
  position: relative;
  padding: 34px 0 clamp(68px, 8vw, 100px);
  background: var(--bg);
}
.quick-head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 23px;
}
.quick-head h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -0.03em;
}
.quick-head__aside {
  margin-left: auto;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.quick-card {
  --quick-tint: var(--sage-soft);
  --quick-ink: var(--sage-deep);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 188px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.4s var(--ease);
}
.quick-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -36px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--quick-tint);
  opacity: 0.62;
  transition: transform 0.65s var(--ease), opacity 0.4s;
}
.quick-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.quick-card:hover::after {
  transform: scale(1.35);
  opacity: 0.9;
}
.quick-card__number {
  position: absolute;
  top: 18px;
  right: 19px;
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
}
.quick-card__icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--quick-tint);
  color: var(--quick-ink);
  transition: transform 0.4s var(--ease);
}
.quick-card:hover .quick-card__icon {
  transform: rotate(-6deg) scale(1.05);
}
.quick-card__icon .icon {
  width: 20px;
  height: 20px;
}
.quick-card__copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
}
.quick-card__copy strong {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.quick-card__copy small {
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.4;
}
.quick-card__arrow {
  position: absolute;
  right: 17px;
  bottom: 17px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  transition: transform 0.35s var(--ease), background-color 0.35s, color 0.35s;
}
.quick-card__arrow .icon {
  width: 13px;
  height: 13px;
}
.quick-card:hover .quick-card__arrow {
  transform: rotate(8deg);
  background: var(--ink);
  color: var(--bg);
}
.quick-card--cold { --quick-tint: var(--amber-soft); --quick-ink: var(--amber-deep); }
.quick-card--bump { --quick-tint: var(--coral-soft); --quick-ink: var(--coral-deep); }
.quick-card--kit { --quick-tint: var(--blue-soft); --quick-ink: var(--blue-deep); }

/* =========================================================
   Interlude · la calma también se contagia
   ========================================================= */

.interlude {
  position: relative;
  padding: clamp(58px, 7.4vw, 104px) 0;
  background:
    radial-gradient(70% 120% at 4% 50%, color-mix(in srgb, var(--surface) 58%, transparent) 0%, transparent 58%),
    radial-gradient(60% 90% at 100% 0%, color-mix(in srgb, var(--amber-soft) 46%, transparent) 0%, transparent 62%),
    var(--rose-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.interlude::before {
  content: "";
  position: absolute;
  width: min(54vw, 760px);
  aspect-ratio: 1;
  right: -12%;
  top: -58%;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.interlude::after {
  content: "";
  position: absolute;
  width: min(32vw, 420px);
  aspect-ratio: 1;
  left: -9%;
  bottom: -62%;
  border: 1px dashed var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.interlude__grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
[data-theme="night"] .interlude__grain {
  mix-blend-mode: screen;
  opacity: 0.05;
}
.interlude__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(34px, 5.6vw, 88px);
}
.interlude__art {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0;
  justify-self: center;
}
.interlude__art svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 50px rgba(94, 57, 42, 0.12));
}
.interlude__art figcaption {
  position: absolute;
  right: 4%;
  bottom: -4px;
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: -0.01em;
  transform: rotate(-2deg);
}
.interlude__copy {
  max-width: 560px;
}
.interlude .section-label {
  margin-bottom: 20px;
  color: var(--ink-soft);
}
.interlude .section-label > span {
  min-width: 24px;
  padding: 0 8px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border-color: var(--line-strong);
  font-size: 12px;
}
.interlude__copy h2 {
  max-width: 15ch;
  font-size: clamp(2.75rem, 4.7vw, 4.55rem);
  line-height: 1.01;
}
.interlude__copy h2 em {
  color: var(--coral-deep);
}
.interlude__lead {
  max-width: 490px;
  margin-top: 21px;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.12vw, 1.02rem);
  line-height: 1.76;
}
.interlude__list {
  display: grid;
  gap: 0;
  margin-top: 26px;
  padding: 0;
  list-style: none;
  border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
}
.interlude__list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
}
.interlude__icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 56%, transparent);
  color: var(--coral-deep);
  flex: 0 0 auto;
}
.interlude__icon .icon {
  width: 15px;
  height: 15px;
}
.interlude__list strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.interlude__list p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.55;
}

.il-heart {
  transform-box: fill-box;
  transform-origin: center;
  animation: ilHeart 4.6s ease-in-out infinite;
}
.il-baby-legs {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  animation: ilLeg 7s ease-in-out infinite;
}
.il-star {
  animation: sceneTwinkle 6s ease-in-out infinite;
}

@keyframes ilHeart {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  46% { transform: scale(1.16); opacity: 1; }
  60% { transform: scale(1.03); }
}
@keyframes ilLeg {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(3.5deg); }
}

@media (max-width: 920px) {
  .interlude__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .interlude__art {
    max-width: 440px;
  }
  .interlude__copy {
    max-width: 620px;
  }
  .interlude__lead {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .interlude {
    padding: 56px 0 60px;
  }
  .interlude__art {
    max-width: 380px;
  }
  .interlude__art figcaption {
    position: static;
    margin-top: 6px;
    text-align: center;
    transform: none;
  }
  .interlude__copy h2 {
    font-size: clamp(2.5rem, 9.5vw, 3.4rem);
  }
  .interlude__list strong {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .il-heart,
  .il-baby-legs,
  .il-star {
    animation: none !important;
  }
}

/* =========================================================
   Fever section
   ========================================================= */

.fever-section {
  background: var(--bg);
}
.fever-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 18px;
  align-items: stretch;
}
.temp-scale,
.night-curve {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.temp-scale {
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
}
.temp-scale .card-kicker {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.temp-scale__list {
  display: flex;
  flex-direction: column;
}
.temp-row {
  --row: var(--sage);
  display: grid;
  grid-template-columns: 102px 13px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.temp-row:last-child {
  border-bottom: 0;
}
.temp-row__range {
  padding-top: 2px;
  color: var(--row);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.temp-row__dot {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--row);
}
.temp-row__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid color-mix(in srgb, var(--row) 34%, transparent);
  border-radius: 50%;
}
.temp-row__copy strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.temp-row__copy p {
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.62;
}
.temp-row__copy b {
  color: var(--ink-soft);
  font-weight: 750;
}
.temp-row--normal { --row: var(--sage-deep); }
.temp-row--low { --row: var(--green); }
.temp-row--mid { --row: var(--amber-deep); }
.temp-row--high { --row: var(--coral); }
.temp-row--alert { --row: var(--red); }
[data-theme="night"] .temp-row--mid { --row: var(--amber); }
[data-theme="night"] .temp-row--high { --row: var(--coral); }

.age-alert {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--coral) 22%, transparent);
  border-radius: var(--radius-sm);
  background: var(--coral-soft);
}
.age-alert__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--coral-deep);
  flex: 0 0 auto;
}
.age-alert__icon .icon {
  width: 15px;
  height: 15px;
}
.age-alert p {
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.55;
}
.age-alert strong {
  color: var(--ink);
}
.fine-print {
  margin-top: 13px;
  color: var(--ink-muted);
  font-size: 9.5px;
  line-height: 1.5;
}

.night-curve {
  --night-muted: rgba(247, 241, 228, 0.54);
  --night-text: #f7f1e4;
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(100% 100% at 88% 0%, rgba(213, 166, 91, 0.13) 0%, transparent 54%),
    radial-gradient(80% 60% at 0% 100%, rgba(128, 162, 137, 0.15) 0%, transparent 60%),
    linear-gradient(150deg, #19463b 0%, #11352d 70%, #0d2d26 100%);
  color: var(--night-text);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.night-curve .card-kicker {
  color: rgba(247, 241, 228, 0.68);
}
.night-curve .card-kicker__hint {
  color: rgba(247, 241, 228, 0.58);
}
.night-curve__title {
  max-width: 15ch;
  margin-top: 26px;
  color: #fbf7ec;
  font-size: clamp(1.8rem, 2.7vw, 2.55rem);
  line-height: 1.06;
}
.night-curve__title em {
  color: #f0c083;
}
.curve-chart {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  grid-template-rows: 210px 18px;
  gap: 0 10px;
  margin-top: 24px;
}
.curve-chart .curve-grid {
  stroke-opacity: 0.21;
}
.curve-chart .curve-axis {
  stroke-opacity: 0.5;
}
.curve-chart__y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 13px;
  color: rgba(247, 241, 228, 0.8);
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.curve-chart__plot {
  position: relative;
  min-width: 0;
  color: var(--night-text);
}
.curve-chart__plot svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.curve-chart__x {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  padding-top: 7px;
  color: rgba(247, 241, 228, 0.78);
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.025em;
}
.curve-chart__area {
  opacity: 0;
}
.curve-chart .draw-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
[data-reveal].is-visible .curve-chart .draw-line {
  animation: drawLine 2.2s var(--ease) 0.18s both;
}
[data-reveal].is-visible .curve-chart__area {
  animation: fadeIn 1.3s var(--ease) 1.05s forwards;
}
.curve-point {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
[data-reveal].is-visible .curve-point {
  animation:
    pointIn 0.55s var(--ease) 1.55s forwards,
    pointGlow 4.5s ease-in-out 2.2s infinite;
}
.curve-tracer,
.curve-tracer-halo {
  opacity: 0;
  pointer-events: none;
}
[data-reveal].is-visible .curve-tracer {
  animation: tracerDotIn 0.55s var(--ease) 2.75s forwards;
}
[data-reveal].is-visible .curve-tracer-halo {
  animation: tracerHaloIn 0.9s var(--ease) 2.6s forwards;
}
.curve-annotation {
  position: absolute;
  color: rgba(251, 247, 236, 0.88);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.035em;
  padding: 4px 8px;
  border: 1px solid rgba(247, 241, 228, 0.24);
  border-radius: 999px;
  background: rgba(9, 32, 26, 0.7);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(3px);
}
.curve-annotation--rise { top: 13%; left: 34%; }
.curve-annotation--fall { bottom: 24%; right: 2%; }
.curve-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(247, 241, 228, 0.12);
  border-bottom: 1px solid rgba(247, 241, 228, 0.12);
}
.curve-facts strong {
  display: block;
  color: #e8bf83;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.curve-facts span {
  display: block;
  margin-top: 3px;
  color: rgba(247, 241, 228, 0.74);
  font-size: 9.5px;
  line-height: 1.5;
}
.night-curve__caption {
  margin-top: 14px;
  color: rgba(247, 241, 228, 0.78);
  font-size: 11.5px;
  line-height: 1.62;
}

.fever-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 18px;
}
.insight-card {
  position: relative;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.insight-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber-deep);
}
.insight-card__icon--moon { background: var(--blue-soft); color: var(--blue-deep); }
.insight-card__icon--thermo { background: var(--amber-soft); color: var(--amber-deep); }
.insight-card__icon--virus { background: var(--coral-soft); color: var(--coral-deep); }
.insight-card__icon .icon {
  width: 17px;
  height: 17px;
}
.insight-card__index {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.insight-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.1;
}
.insight-card p {
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.65;
}
.fever-rule {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}
.fever-rule__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--sage-deep);
  flex: 0 0 auto;
}
.fever-rule__icon .icon {
  width: 14px;
  height: 14px;
}
.fever-rule p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}
.fever-rule strong {
  color: var(--ink);
}

/* Cuidar también es mirar */
.care-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.care-band__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(14px, 2vw, 26px);
  background:
    radial-gradient(90% 90% at 20% 10%, color-mix(in srgb, var(--surface) 65%, transparent) 0%, transparent 60%),
    var(--rose-soft);
  border-right: 1px solid var(--line);
}
.care-band__art svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
}
.care-band__copy {
  padding: clamp(24px, 3.2vw, 42px);
}
.care-band__copy h3 {
  margin-top: 9px;
  font-size: clamp(1.85rem, 2.7vw, 2.55rem);
  line-height: 1.06;
}
.care-band__copy h3 em {
  color: var(--coral);
}
.care-band__copy > p {
  max-width: 490px;
  margin-top: 11px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.68;
}
.care-checks {
  display: grid;
  gap: 0;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.care-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.care-checks li > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  flex: 0 0 auto;
}
.care-checks li > span .icon {
  width: 15px;
  height: 15px;
}
.care-checks strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.care-checks p {
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.55;
}
.care-band__note {
  margin-top: 12px !important;
  color: var(--ink-muted) !important;
  font-size: 10.5px !important;
}
.care-mother {
  transform-box: fill-box;
  transform-origin: 80% 100%;
  animation: careLean 10s ease-in-out infinite;
}
.care-baby {
  transform-box: fill-box;
  transform-origin: 40% 80%;
  animation: sceneBreathe 6.2s ease-in-out infinite;
}
.care-breath path {
  animation: sceneBreath 6.2s ease-in-out infinite;
}
.care-hand {
  transform-box: fill-box;
  transform-origin: 70% 50%;
  animation: careHand 8s ease-in-out infinite;
}

@keyframes careLean {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(0.5deg) translateX(-1px); }
}
@keyframes careHand {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-1.5px, 1.5px); }
}

@media (max-width: 920px) {
  .care-band {
    grid-template-columns: 1fr;
  }
  .care-band__art {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .care-band__art svg {
    max-width: 440px;
  }
}
@media (max-width: 720px) {
  .care-band__copy {
    padding: 22px;
  }
  .care-checks strong {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .care-mother,
  .care-baby,
  .care-breath path,
  .care-hand {
    animation: none !important;
  }
}

/* =========================================================
   Keyframes
   ========================================================= */

@keyframes sceneRock {
  0%, 100% { transform: rotate(-0.45deg); }
  50% { transform: rotate(0.55deg); }
}
@keyframes sceneNod {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(1.1deg) translateY(1.5px); }
}
@keyframes sceneBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.018, 1.026); }
}
@keyframes sceneMobile {
  0%, 100% { transform: rotate(-2.4deg); }
  50% { transform: rotate(2.8deg); }
}
@keyframes scenePlant {
  0%, 100% { transform: rotate(-0.8deg); }
  50% { transform: rotate(1.3deg); }
}
@keyframes sceneGlow {
  0%, 100% { opacity: 0.92; }
  50% { opacity: 1; }
}
@keyframes sceneBreath {
  0%, 100% { opacity: 0.25; transform: translateX(0); }
  50% { opacity: 0.7; transform: translateX(-2px); }
}
@keyframes sceneTwinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.9; }
}
@keyframes introUp {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes introCard {
  from { opacity: 0; transform: translate3d(0, 38px, 0) rotate(3.5deg) scale(0.97); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(1.2deg) scale(1); }
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes pointIn {
  from { opacity: 0; transform: scale(0.55); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pointGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(233, 168, 117, 0)); }
  50% { filter: drop-shadow(0 0 7px rgba(233, 168, 117, 0.8)); }
}
@keyframes tracerDotIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes tracerHaloIn {
  from { opacity: 0; }
  to { opacity: 0.22; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes auraDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(28px, -20px, 0) scale(1.08); }
}
@keyframes pulseRing {
  0% { transform: scale(0.7); opacity: 0.8; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}
@keyframes scrollDrop {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(300%); opacity: 0; }
}

/* =========================================================
   Compass section
   ========================================================= */

.compass-section {
  position: relative;
  padding: clamp(88px, 10vw, 140px) 0;
  background:
    radial-gradient(80% 80% at 92% 8%, rgba(220, 170, 91, 0.12) 0%, transparent 54%),
    radial-gradient(70% 80% at 0% 100%, rgba(142, 173, 147, 0.13) 0%, transparent 55%),
    #10352c;
  color: var(--night-text);
  overflow: hidden;
}
.compass-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
.compass-section__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.compass-section__glow--one {
  width: 380px;
  height: 380px;
  top: -170px;
  right: -130px;
  background: rgba(217, 169, 88, 0.13);
}
.compass-section__glow--two {
  width: 500px;
  height: 500px;
  bottom: -330px;
  left: -180px;
  background: rgba(120, 162, 135, 0.15);
}
.compass-head {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(35px, 5vw, 56px);
}
.compass-head__grid {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 40px;
  align-items: end;
}
.compass-head h2 {
  max-width: 8ch;
  color: var(--night-text);
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  line-height: 0.96;
}
.compass-head h2 em {
  color: #e9b878;
}
.compass-head p {
  max-width: 400px;
  padding-bottom: 8px;
  color: rgba(247, 241, 228, 0.56);
  font-size: 14px;
  line-height: 1.75;
}
.compass-app {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.93fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(247, 241, 228, 0.13);
  border-radius: calc(var(--radius-lg) + 6px);
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.compass-controls {
  padding: clamp(22px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.03);
  border-radius: calc(var(--radius-lg) - 2px);
}
.compass-field {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(247, 241, 228, 0.1);
}
.compass-field__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: rgba(247, 241, 228, 0.68);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.compass-field__label > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.compass-field__label b {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(247, 241, 228, 0.18);
  border-radius: 50%;
  color: #e4bb82;
  font-size: 8px;
  font-weight: 700;
}
.compass-field__hint {
  color: rgba(247, 241, 228, 0.32);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
}
.age-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(247, 241, 228, 0.1);
  border-radius: 13px;
  background: rgba(7, 27, 22, 0.33);
}
.age-option {
  min-height: 42px;
  padding: 9px 7px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(247, 241, 228, 0.48);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.age-option:hover {
  color: rgba(247, 241, 228, 0.82);
}
.age-option.is-active {
  background: #f4ecdc;
  color: #1a2a24;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}
.compass-field--temp {
  padding-top: 24px;
}
.temp-entry {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 8px;
  line-height: 0.85;
}
.temp-entry__number {
  color: #f9f1e3;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 6.2vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.temp-entry__unit {
  margin-top: 10px;
  color: rgba(247, 241, 228, 0.46);
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
}
.temp-entry__tag {
  margin: 8px 0 0 8px;
  padding: 5px 9px;
  border: 1px solid rgba(232, 168, 120, 0.3);
  border-radius: 999px;
  color: #edb793;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
}
.temp-entry__tag[data-level="normal"] {
  color: #b9cbae;
  border-color: rgba(159, 186, 157, 0.3);
}
.temp-entry__tag[data-level="red"] {
  color: #f3ab98;
  border-color: rgba(238, 142, 118, 0.42);
}
.temp-entry__tag[data-level="high"] {
  color: #f2cd8b;
  border-color: rgba(227, 180, 100, 0.42);
}
.temp-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  margin: 17px 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #89a68d 0%, #89a68d 36.4%, #d5a44e 36.4%, #d5a44e 72.7%, #cc684e 72.7%, #cc684e 100%);
  cursor: pointer;
  outline-offset: 7px;
}
.temp-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border: 5px solid #f5edde;
  border-radius: 50%;
  background: #1b3e34;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease);
}
.temp-range::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}
.temp-range::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border: 5px solid #f5edde;
  border-radius: 50%;
  background: #1b3e34;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.temp-range__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: rgba(247, 241, 228, 0.33);
  font-size: 8px;
  font-variant-numeric: tabular-nums;
}
.compass-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 13px;
  border: 1px solid rgba(235, 169, 139, 0.16);
  border-radius: 12px;
  background: rgba(205, 104, 78, 0.08);
}
.compass-warning__icon {
  display: grid;
  place-items: center;
  color: #e8a58d;
}
.compass-warning__icon .icon {
  width: 15px;
  height: 15px;
}
.compass-warning p {
  color: rgba(247, 241, 228, 0.51);
  font-size: 9.5px;
  line-height: 1.55;
}
.compass-warning strong {
  color: #f3d1c4;
}
.compass-reminder {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid rgba(247, 241, 228, 0.08);
  border-radius: 12px;
}
.compass-reminder span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(247, 241, 228, 0.08);
  color: #e6c590;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}
.compass-reminder p {
  color: rgba(247, 241, 228, 0.42);
  font-size: 9.5px;
  line-height: 1.5;
}
.compass-result {
  --result-accent: var(--green);
  --result-accent-soft: var(--green-soft);
  --result-bg: #f7f1e4;
  --result-ink: #192a23;
  --result-muted: #627168;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.2vw, 38px);
  border-radius: calc(var(--radius-lg) - 2px);
  background:
    radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--result-accent-soft) 90%, transparent) 0%, transparent 55%),
    var(--result-bg);
  color: var(--result-ink);
  overflow: hidden;
  transition: background-color 0.5s var(--ease);
}
[data-theme="night"] .compass-result {
  --result-bg: #13251e;
  --result-ink: #f2ecdf;
  --result-muted: #b2c0b7;
  --result-accent-soft: #253b2e;
}
.compass-result[data-tone="green"] {
  --result-accent: var(--green);
  --result-accent-soft: var(--green-soft);
}
.compass-result[data-tone="amber"] {
  --result-accent: var(--amber-deep);
  --result-accent-soft: var(--amber-soft);
}
.compass-result[data-tone="orange"] {
  --result-accent: var(--coral);
  --result-accent-soft: var(--coral-soft);
}
.compass-result[data-tone="red"] {
  --result-accent: var(--red);
  --result-accent-soft: var(--red-soft);
}
.compass-result::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--result-accent);
  opacity: 0.8;
}
.compass-result__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--result-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.result-signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.result-signal i {
  display: block;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: var(--result-accent);
  opacity: 0.35;
}
.result-signal i:nth-child(2) { height: 8px; opacity: 0.6; }
.result-signal i:nth-child(3) { height: 11px; opacity: 0.9; }
.compass-result[data-tone="red"] .result-signal i {
  animation: signal 1.7s ease-in-out infinite alternate;
}
.compass-result[data-tone="red"] .result-signal i:nth-child(2) { animation-delay: 0.2s; }
.compass-result[data-tone="red"] .result-signal i:nth-child(3) { animation-delay: 0.4s; }
.compass-result__tag {
  align-self: flex-start;
  margin-top: 27px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--result-accent) 28%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--result-accent-soft) 70%, transparent);
  color: var(--result-accent);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.compass-result__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-top: 23px;
  border-radius: 50%;
  background: var(--result-accent-soft);
  color: var(--result-accent);
  border: 1px solid color-mix(in srgb, var(--result-accent) 14%, transparent);
}
.compass-result__icon .icon {
  width: 25px;
  height: 25px;
}
.compass-result h3 {
  max-width: 16ch;
  margin-top: 17px;
  color: var(--result-ink);
  font-size: clamp(1.8rem, 2.7vw, 2.55rem);
  line-height: 1.03;
}
.compass-result__copy {
  margin-top: 12px;
  color: var(--result-muted);
  font-size: 11.5px;
  line-height: 1.65;
  max-width: 42ch;
}
.compass-result__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--result-ink) 12%, transparent);
  list-style: none;
}
.compass-result__list li {
  position: relative;
  padding-left: 18px;
  color: var(--result-muted);
  font-size: 10.5px;
  line-height: 1.55;
}
.compass-result__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--result-accent);
}
.compass-result__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 25px;
  color: color-mix(in srgb, var(--result-muted) 75%, transparent);
  font-size: 8px;
  line-height: 1.4;
}
.compass-result__foot .icon {
  width: 15px;
  height: 15px;
}
.compass-result.is-updating h3,
.compass-result.is-updating .compass-result__copy,
.compass-result.is-updating .compass-result__list {
  animation: resultIn 0.45s var(--ease) both;
}
.compass-footnote {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: rgba(247, 241, 228, 0.43);
  font-size: 9.5px;
  line-height: 1.5;
}
.compass-footnote .icon {
  width: 14px;
  height: 14px;
  color: #e0b77f;
}
.compass-footnote p {
  max-width: 760px;
}

@keyframes signal {
  from { transform: scaleY(0.55); opacity: 0.4; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes resultIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   Thermometers
   ========================================================= */

.thermo-section {
  background:
    radial-gradient(70% 60% at 100% 0%, color-mix(in srgb, var(--amber-soft) 46%, transparent) 0%, transparent 58%),
    var(--bg);
}
.thermo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 18px;
  align-items: stretch;
}
.thermo-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(228, 181, 105, 0.17) 0%, transparent 60%),
    radial-gradient(80% 70% at 0% 100%, rgba(126, 164, 138, 0.17) 0%, transparent 55%),
    linear-gradient(150deg, #19483c 0%, #11352c 65%, #0b2b23 100%);
  color: var(--night-text);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.thermo-pick::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(247, 241, 228, 0.09);
  border-radius: 50%;
  pointer-events: none;
}
.thermo-pick .card-kicker {
  color: rgba(247, 241, 228, 0.5);
}
.thermo-pick .card-kicker__hint {
  color: rgba(247, 241, 228, 0.34);
}
.thermo-pick__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 225px;
  margin: 14px 0 20px;
}
.thermo-illustration {
  width: 122px;
  height: auto;
  color: rgba(247, 241, 228, 0.58);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.18));
}
.thermo-pick__stamp {
  position: absolute;
  right: 6%;
  top: 39%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 8px;
  border: 1px dashed rgba(238, 199, 142, 0.45);
  border-radius: 50%;
  color: #edc58d;
  font-size: 8px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-9deg);
}
.thermo-pick h3 {
  max-width: 19ch;
  color: var(--night-text);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.06;
}
.thermo-pick h3 em {
  color: #e9bd80;
}
.thermo-pick > p {
  margin-top: 14px;
  color: rgba(247, 241, 228, 0.58);
  font-size: 11.5px;
  line-height: 1.7;
}
.tick-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(247, 241, 228, 0.12);
  list-style: none;
}
.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(247, 241, 228, 0.63);
  font-size: 10.5px;
  line-height: 1.55;
}
.tick-list li > span {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(159, 186, 157, 0.14);
  color: #b8cbb0;
  flex: 0 0 auto;
}
.tick-list .icon {
  width: 10px;
  height: 10px;
  stroke-width: 2.2;
}
.thermo-pick__foot {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: auto;
  padding-top: 18px;
  color: rgba(247, 241, 228, 0.46);
  font-size: 9.5px;
  line-height: 1.55;
}
.thermo-pick__foot .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: #e8a58d;
  flex: 0 0 auto;
}
.thermo-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.thermo-option {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.thermo-option:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.thermo-option__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.thermo-option__icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-deep);
}
.thermo-option__icon .icon {
  width: 17px;
  height: 17px;
}
.thermo-option__badge {
  padding: 4px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.thermo-option__badge--sage {
  color: var(--sage-deep);
  border-color: color-mix(in srgb, var(--sage-deep) 22%, transparent);
  background: var(--sage-pale);
}
.thermo-option__badge--cream {
  color: var(--ink-soft);
  border-color: var(--line);
  background: var(--surface-soft);
}
.thermo-option__badge--amber {
  color: var(--amber-deep);
  border-color: color-mix(in srgb, var(--amber) 26%, transparent);
  background: var(--amber-soft);
}
.thermo-option__badge--muted {
  color: var(--ink-muted);
  border-color: var(--line);
}
.thermo-option h3 {
  font-size: 24px;
  line-height: 1.08;
}
.thermo-option > p {
  margin-top: 9px;
  color: var(--ink-muted);
  font-size: 10.5px;
  line-height: 1.62;
}
.thermo-option__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 8.5px;
}
.thermo-option__meta > span:first-child {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.thermo-option__age {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 650;
}
.precision {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.precision i {
  display: block;
  width: 12px;
  height: 3px;
  border-radius: 99px;
  background: var(--sage-deep);
}
.precision i.is-empty {
  background: var(--line-strong);
}
.measure-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.measure-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.measure-card--check {
  background:
    radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--sage-soft) 75%, transparent) 0%, transparent 55%),
    var(--surface);
}
.measure-card__head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 20px;
}
.measure-card__icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral-deep);
  flex: 0 0 auto;
}
.measure-card--check .measure-card__icon {
  background: var(--sage-soft);
  color: var(--sage-deep);
}
.measure-card__icon .icon {
  width: 17px;
  height: 17px;
}
.measure-card__head h3 {
  margin-top: 2px;
  font-size: 24px;
  line-height: 1.05;
}
.measure-list {
  border-top: 1px solid var(--line);
}
.measure-item {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.measure-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.measure-item__time {
  padding-top: 2px;
  color: var(--coral-deep);
  font-size: 8.5px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
[data-theme="night"] .measure-item__time {
  color: var(--coral);
}
.measure-item p {
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.62;
}
.check-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: check;
}
.check-steps li {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.check-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.check-steps li > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-muted);
  font-size: 7.5px;
  font-weight: 700;
}
.check-steps p {
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 1.62;
}
.check-steps strong {
  color: var(--ink-soft);
  font-weight: 750;
}
.measure-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--sage-pale) 70%, transparent);
}
.measure-note > span {
  color: var(--sage-deep);
  flex: 0 0 auto;
}
.measure-note .icon {
  width: 14px;
  height: 14px;
}
.measure-note p {
  color: var(--ink-muted);
  font-size: 9.5px;
  line-height: 1.55;
}

/* =========================================================
   Medication
   ========================================================= */

.med-section {
  background:
    radial-gradient(60% 50% at 0% 0%, color-mix(in srgb, var(--coral-soft) 40%, transparent) 0%, transparent 58%),
    var(--surface-soft);
}
.critical-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px 22px;
  border: 1px solid color-mix(in srgb, var(--coral) 26%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--coral-soft) 72%, var(--surface));
}
.critical-note__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--coral-deep);
  flex: 0 0 auto;
}
.critical-note__icon .icon {
  width: 15px;
  height: 15px;
}
.critical-note .card-kicker {
  margin-bottom: 5px;
  color: var(--coral-deep);
}
.critical-note p {
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.65;
}
.critical-note strong {
  color: var(--ink);
}
[data-theme="night"] .critical-note .card-kicker {
  color: var(--coral);
}
.med-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.med-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.med-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--sage);
}
.med-card--ibu {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(216, 164, 77, 0.12) 0%, transparent 55%),
    linear-gradient(155deg, #fcf7ed, #f7eedc);
  border-color: rgba(176, 134, 66, 0.22);
}
.med-card--ibu::before {
  background: var(--amber);
}
[data-theme="night"] .med-card--ibu {
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(216, 164, 77, 0.1) 0%, transparent 55%),
    linear-gradient(155deg, #1b2a23, #1d2b22);
  border-color: rgba(227, 185, 104, 0.16);
}
.med-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.med-card__label {
  padding-top: 4px;
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.med-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-deep);
}
.med-card--ibu .med-card__icon {
  background: var(--amber-soft);
  color: var(--amber-deep);
}
.med-card__icon .icon {
  width: 19px;
  height: 19px;
}
.med-card h3 {
  margin-top: 20px;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.02;
}
.med-card h3 em {
  color: var(--coral);
}
.med-card--ibu h3 em {
  color: var(--amber-deep);
}
[data-theme="night"] .med-card--ibu h3 em {
  color: var(--amber);
}
.med-card__intro {
  max-width: 46ch;
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.68;
}
.med-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0 0;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.med-stats > div {
  padding: 0 11px;
  border-left: 1px solid var(--line);
}
.med-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.med-stats dt {
  color: var(--ink-muted);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.med-stats dd {
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.med-stats dd span {
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0;
}
.med-card__presentation {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 11px 13px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-soft) 62%, transparent);
}
.med-card__presentation > span {
  color: var(--ink-muted);
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.med-card__presentation p {
  color: var(--ink-soft);
  font-size: 9.5px;
  font-weight: 650;
  text-align: right;
}
.med-card__brands {
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.65;
}
.med-card__brands strong {
  color: var(--ink-soft);
  font-weight: 700;
}
.med-card__caution {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 9.5px;
  line-height: 1.58;
}
.med-card__caution .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--sage-deep);
  flex: 0 0 auto;
}
.med-card--ibu .med-card__caution .icon {
  color: var(--coral-deep);
}
[data-theme="night"] .med-card--ibu .med-card__caution .icon {
  color: var(--coral);
}
.med-cautions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}.med-cautions article {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.mini-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.mini-icon .icon {
  width: 11px;
  height: 11px;
  stroke-width: 2;
}
.mini-icon--red {
  background: var(--red-soft);
  color: var(--red);
}
.mini-icon--amber {
  background: var(--amber-soft);
  color: var(--amber-deep);
}
.med-cautions strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
}
.med-cautions p {
  color: var(--ink-muted);
  font-size: 9.5px;
  line-height: 1.55;
}

/* Más allá del frasco: apoyo y falsas alternativas */

.med-options {
  margin-top: clamp(44px, 6vw, 74px);
}
.med-options__panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 70% at 100% 0%, color-mix(in srgb, var(--sage-soft) 52%, transparent) 0%, transparent 58%),
    var(--surface);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}
.med-options__head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
}
.med-options__copy h3 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.02;
}
.med-options__copy h3 em {
  color: var(--coral);
}
.med-options__copy > p {
  max-width: 54ch;
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.7;
}
.med-questions {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.med-questions li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.med-questions li > span {
  padding-top: 1px;
  color: var(--coral-deep);
  font-family: var(--font-serif);
  font-size: 12px;
  font-style: italic;
}
[data-theme="night"] .med-questions li > span {
  color: var(--coral);
}
.med-questions p {
  color: var(--ink-muted);
  font-size: 9.5px;
  line-height: 1.55;
}
.med-questions strong {
  color: var(--ink-soft);
  font-weight: 750;
}
.med-still {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 460px;
  justify-self: end;
  padding: 10px 10px 0;
  border-radius: 22px;
  background:
    radial-gradient(75% 65% at 15% 0%, rgba(229, 179, 107, 0.18), transparent 60%),
    linear-gradient(155deg, #1a453a 0%, #0e3128 62%, #0a261f 100%);
  box-shadow: 0 24px 50px rgba(13, 48, 41, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.med-still::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 70% 100%, rgba(213, 120, 89, 0.12), transparent 65%);
  pointer-events: none;
}
.med-still svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}
.med-still__stars {
  animation: medStarTwinkle 7s ease-in-out infinite alternate;
}
.med-still__caption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px 14px;
  color: rgba(247, 241, 228, 0.5);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.med-still__caption::before {
  content: "";
  width: 18px;
  height: 1px;
  background: rgba(247, 241, 228, 0.3);
}
@keyframes medStarTwinkle {
  from { opacity: 0.62; }
  to { opacity: 1; }
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-soft) 42%, var(--surface));
}
.support-card {
  padding: 22px 20px 24px;
  border-left: 1px solid var(--line);
}
.support-card:first-child {
  border-left: 0;
}
.support-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
}
.support-card:nth-child(2) .support-card__icon {
  background: var(--blue-soft);
  color: var(--blue-deep);
}
.support-card:nth-child(3) .support-card__icon {
  background: var(--amber-soft);
  color: var(--amber-deep);
}
.support-card:nth-child(4) .support-card__icon {
  background: var(--coral-soft);
  color: var(--coral-deep);
}
.support-card__icon .icon {
  width: 16px;
  height: 16px;
}
.support-card h4 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
}
.support-card p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 9.5px;
  line-height: 1.6;
}
.not-alt {
  margin-top: 16px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid color-mix(in srgb, var(--coral) 25%, transparent);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(75% 70% at 100% 0%, color-mix(in srgb, var(--coral-soft) 62%, transparent) 0%, transparent 58%),
    var(--surface);
}
.not-alt__head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(220px, 0.72fr);
  gap: 16px;
  align-items: center;
}
.not-alt__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral-deep);
}
[data-theme="night"] .not-alt__icon {
  color: var(--coral);
}
.not-alt__icon .icon {
  width: 17px;
  height: 17px;
}
.not-alt__head .card-kicker {
  justify-content: flex-start;
  margin-bottom: 6px;
  color: var(--coral-deep);
}
[data-theme="night"] .not-alt__head .card-kicker {
  color: var(--coral);
}
.not-alt__head h3 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.02;
}
.not-alt__head > p {
  max-width: 390px;
  justify-self: end;
  color: var(--ink-muted);
  font-size: 10.5px;
  line-height: 1.65;
}
.not-alt__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.not-alt__item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 11px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-soft) 55%, transparent);
}
.not-alt__mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  flex: 0 0 auto;
}
.not-alt__mark .icon {
  width: 10px;
  height: 10px;
  stroke-width: 2.4;
}
.not-alt__item h4 {
  font-size: 17px;
  line-height: 1.1;
}
.not-alt__item p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9.5px;
  line-height: 1.58;
}
.not-alt__foot {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.not-alt__alert {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 9.5px;
  line-height: 1.55;
}
.not-alt__alert > .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  color: var(--coral-deep);
  flex: 0 0 auto;
}
[data-theme="night"] .not-alt__alert > .icon {
  color: var(--coral);
}
.not-alt__alert strong {
  color: var(--ink-soft);
}
.not-alt__alert .text-link {
  margin-left: 3px;
  font-size: inherit;
  vertical-align: baseline;
}
.not-alt__alert .text-link .icon {
  width: 11px;
  height: 11px;
}
.not-alt__small {
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 8.5px;
  line-height: 1.5;
}
.dose-panel {
  margin-top: clamp(44px, 6vw, 74px);
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(223, 176, 100, 0.14) 0%, transparent 58%),
    radial-gradient(70% 80% at 0% 100%, rgba(125, 165, 141, 0.13) 0%, transparent 58%),
    linear-gradient(150deg, #173f35 0%, #0e3028 72%, #0a271f 100%);
  color: var(--night-text);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.dose-panel__head {
  max-width: 720px;
}
.dose-panel__head h3 {
  margin-top: 2px;
  color: var(--night-text);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.02;
}
.dose-panel__head h3 em {
  color: #eab87a;
}
.dose-panel__head > p {
  max-width: 540px;
  margin-top: 13px;
  color: rgba(247, 241, 228, 0.55);
  font-size: 11.5px;
  line-height: 1.65;
}
.dose-panel__body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 68px);
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(247, 241, 228, 0.12);
}
.dose-steps {
  display: flex;
  flex-direction: column;
}
.dose-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(247, 241, 228, 0.09);
}
.dose-step:first-child {
  padding-top: 0;
}
.dose-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.dose-step > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(247, 241, 228, 0.18);
  border-radius: 50%;
  color: #e9bd82;
  font-size: 7.5px;
  font-weight: 700;
}
.dose-step strong {
  display: block;
  color: var(--night-text);
  font-size: 12px;
  font-weight: 750;
}
.dose-step p {
  margin-top: 3px;
  color: rgba(247, 241, 228, 0.49);
  font-size: 10px;
  line-height: 1.6;
}
.formula-card {
  align-self: start;
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius-md);
  background: #f8f2e5;
  color: #1a2a24;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}
.formula-card__label {
  display: block;
  margin-bottom: 13px;
  color: #7a837b;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.formula-card__equation {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(26, 42, 36, 0.12);
  color: #33443a;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.35;
}
.formula-card__equation:first-of-type {
  padding-top: 0;
}
.formula-card__equation i {
  color: #c06047;
  font-style: italic;
}
.formula-card__example {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(214, 164, 77, 0.14);
}
.formula-card__example > span {
  color: #8c6725;
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.formula-card__example p {
  margin-top: 5px;
  color: #5f6c62;
  font-size: 9.5px;
  line-height: 1.55;
}
.formula-card__example strong {
  display: block;
  margin-top: 7px;
  color: #1a2a24;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.formula-card__example small {
  display: block;
  margin-top: 2px;
  color: #8a938a;
  font-size: 8px;
}
.weight-details {
  margin-top: 30px;
  border-top: 1px solid rgba(247, 241, 228, 0.13);
}
.weight-details summary {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0 0;
  color: var(--night-text);
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.weight-details summary::-webkit-details-marker {
  display: none;
}
.weight-details summary small {
  color: rgba(247, 241, 228, 0.36);
  font-size: 8.5px;
  font-weight: 500;
}
.summary-plus {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-left: auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.45;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.summary-plus .icon {
  width: 13px;
  height: 13px;
}
details[open] > summary .summary-plus {
  transform: rotate(180deg);
  opacity: 0.8;
}
.weight-details__body {
  padding-top: 16px;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(247, 241, 228, 0.12);
  border-radius: 14px;
}
.weight-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.weight-table caption {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(247, 241, 228, 0.1);
  color: rgba(247, 241, 228, 0.44);
  font-size: 8.5px;
  line-height: 1.5;
  text-align: left;
}
.weight-table th,
.weight-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(247, 241, 228, 0.08);
  color: rgba(247, 241, 228, 0.72);
  font-size: 11px;
  text-align: left;
}
.weight-table th {
  color: var(--night-text);
  font-weight: 650;
}
.weight-table thead th {
  color: rgba(247, 241, 228, 0.5);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.weight-table thead th span {
  display: block;
  margin-top: 2px;
  color: rgba(233, 189, 128, 0.7);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.weight-table tbody tr:last-child th,
.weight-table tbody tr:last-child td {
  border-bottom: 0;
}
.weight-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}
.table-note {
  margin-top: 12px;
  color: rgba(247, 241, 228, 0.38);
  font-size: 8.5px;
  line-height: 1.6;
}
.after-dose {
  margin-top: clamp(50px, 7vw, 82px);
}
.subsection-head {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 30px;
  align-items: start;
}
.subsection-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.subsection-label::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--coral);
}
.subsection-head h3 {
  max-width: 17ch;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.04;
}
.subsection-head p {
  max-width: 580px;
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.7;
}
.after-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  margin-top: 34px;
}
.after-step {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}
.after-step__dot {
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px var(--surface-soft);
}
.after-step__time {
  display: block;
  margin-bottom: 10px;
  color: var(--coral-deep);
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
[data-theme="night"] .after-step__time {
  color: var(--coral);
}
.after-step h4 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
}
.after-step p {
  margin-top: 7px;
  color: var(--ink-muted);
  font-size: 10.5px;
  line-height: 1.62;
}
.after-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}
.after-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 19px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
}
.after-note--sage {
  background: var(--sage-pale);
  border-color: color-mix(in srgb, var(--sage-deep) 16%, transparent);
}
.after-note--amber {
  background: var(--amber-soft);
  border-color: color-mix(in srgb, var(--amber-deep) 16%, transparent);
}
.after-note__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  flex: 0 0 auto;
}
.after-note--sage .after-note__icon { color: var(--sage-deep); }
.after-note--amber .after-note__icon { color: var(--amber-deep); }
.after-note__icon .icon {
  width: 14px;
  height: 14px;
}
.after-note strong {
  display: block;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 750;
}
.after-note p {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.6;
}
.cooling-panel {
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 80% at 100% 0%, color-mix(in srgb, var(--blue-soft) 52%, transparent) 0%, transparent 58%),
    var(--surface);
}
.cooling-panel__head {
  max-width: 780px;
}
.cooling-panel__head h3 {
  max-width: 23ch;
  font-size: clamp(1.8rem, 3.4vw, 2.85rem);
  line-height: 1.06;
}
.cooling-panel__lead {
  max-width: 620px;
  margin-top: 10px;
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.65;
}
.cooling-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
}
.cooling-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--bg) 55%, var(--surface));
}
.cooling-card--yes {
  border-color: color-mix(in srgb, var(--sage-deep) 22%, transparent);
  background: var(--sage-pale);
}
.cooling-card--no {
  border-color: color-mix(in srgb, var(--coral) 20%, transparent);
  background: color-mix(in srgb, var(--coral-soft) 55%, var(--surface));
}
.cooling-card--maybe {
  border-color: color-mix(in srgb, var(--amber) 22%, transparent);
  background: color-mix(in srgb, var(--amber-soft) 42%, var(--surface));
}
.cooling-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--blue-deep);
}
.cooling-card--yes .cooling-card__icon { color: var(--sage-deep); }
.cooling-card--no .cooling-card__icon { color: var(--coral-deep); }
.cooling-card--maybe .cooling-card__icon { color: var(--amber-deep); }
.cooling-card__icon .icon {
  width: 16px;
  height: 16px;
}
.cooling-card h4 {
  font-size: 19px;
  line-height: 1.12;
}
.cooling-card p {
  margin-top: 7px;
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.6;
}
.cooling-answer {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 13px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bg);
}
[data-theme="night"] .cooling-answer {
  background: var(--cream);
  color: var(--cream-ink);
}
.cooling-answer__label {
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.cooling-answer p {
  color: inherit;
  font-size: 10.5px;
  line-height: 1.6;
  opacity: 0.82;
}

/* =========================================================
   Colds
   ========================================================= */

.colds-section {
  background: var(--surface-soft);
}
.cold-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}
.cold-card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-height: 268px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.35s;
}
.cold-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.cold-card--common,
.cold-card--flu {
  grid-column: span 3;
}
.cold-card--common {
  background:
    radial-gradient(85% 90% at 100% 0%, color-mix(in srgb, var(--sage-soft) 68%, transparent) 0%, transparent 60%),
    var(--surface);
}
.cold-card--flu {
  background:
    radial-gradient(85% 90% at 100% 0%, color-mix(in srgb, var(--amber-soft) 58%, transparent) 0%, transparent 60%),
    var(--surface);
}
.cold-card__head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.cold-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  flex: 0 0 auto;
}
.cold-card__icon--amber { background: var(--amber-soft); color: var(--amber-deep); }
.cold-card__icon--coral { background: var(--coral-soft); color: var(--coral-deep); }
.cold-card__icon--blue { background: var(--blue-soft); color: var(--blue-deep); }
.cold-card__icon--green { background: var(--green-soft); color: var(--green); }
.cold-card__icon .icon {
  width: 18px;
  height: 18px;
}
.cold-card__tag {
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--sage-deep) 22%, transparent);
  border-radius: 999px;
  background: var(--sage-pale);
  color: var(--sage-deep);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cold-card__tag--amber { color: var(--amber-deep); border-color: color-mix(in srgb, var(--amber-deep) 22%, transparent); background: var(--amber-soft); }
.cold-card__tag--coral { color: var(--coral-deep); border-color: color-mix(in srgb, var(--coral-deep) 20%, transparent); background: var(--coral-soft); }
.cold-card__tag--blue { color: var(--blue-deep); border-color: color-mix(in srgb, var(--blue-deep) 20%, transparent); background: var(--blue-soft); }
.cold-card__tag--green { color: var(--green); border-color: color-mix(in srgb, var(--green) 22%, transparent); background: var(--green-soft); }
.cold-card h3 {
  position: relative;
  z-index: 2;
  margin-top: 19px;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1.05;
}
.cold-card__lead {
  position: relative;
  z-index: 2;
  max-width: 45ch;
  margin-top: 8px;
  color: var(--ink-muted);
  font-size: 10.5px;
  line-height: 1.62;
}
.cold-card__art {
  position: absolute;
  right: 8px;
  bottom: 74px;
  width: 46%;
  max-width: 230px;
  opacity: 0.56;
  color: var(--ink-muted);
  pointer-events: none;
}
.cold-card__art svg {
  width: 100%;
  height: auto;
}
.cold-facts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  margin: auto 0 0;
  padding-top: 16px;
}
.cold-facts > div {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}
.cold-facts dt {
  padding-top: 1px;
  color: var(--ink-muted);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.cold-facts dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9.5px;
  line-height: 1.5;
}
.cold-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}
.cold-note > span {
  color: var(--sage-deep);
  flex: 0 0 auto;
}
.cold-note .icon {
  width: 15px;
  height: 15px;
}
.cold-note p {
  color: var(--ink-muted);
  font-size: 10px;
  line-height: 1.6;
}
.cold-note strong {
  color: var(--ink-soft);
}
.nasal-block {
  margin-top: clamp(44px, 6vw, 70px);
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(210, 162, 85, 0.15) 0%, transparent 56%),
    radial-gradient(70% 70% at 0% 100%, rgba(130, 166, 141, 0.16) 0%, transparent 55%),
    linear-gradient(150deg, #184439 0%, #10342c 65%, #0c2b24 100%);
  color: var(--night-text);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.nasal-head {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  padding-bottom: 27px;
  border-bottom: 1px solid rgba(247, 241, 228, 0.12);
}
.nasal-head h3 {
  color: var(--night-text);
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.02;
}
.nasal-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.nasal-head__aside p {
  max-width: 420px;
  padding-bottom: 3px;
  color: rgba(247, 241, 228, 0.52);
  font-size: 11px;
  line-height: 1.7;
}
.nasal-art {
  width: min(100%, 300px);
  opacity: 0.94;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.18));
}
.nasal-art svg {
  width: 100%;
  height: auto;
}
.nasal-head .section-label {
  color: rgba(247, 241, 228, 0.5);
}
.nasal-head .section-label > span {
  color: var(--night-text);
  border-color: rgba(247, 241, 228, 0.16);
}
.howto-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0 25px;
}
.howto-step {
  position: relative;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 241, 228, 0.13);
}
.howto-step__num {
  position: absolute;
  top: -11px;
  left: 0;
  padding-right: 8px;
  background: #12382f;
  color: #e9bb7c;
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
}
.howto-step__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border: 1px solid rgba(247, 241, 228, 0.14);
  border-radius: 50%;
  color: #e5c08a;
}
.howto-step__icon .icon {
  width: 16px;
  height: 16px;
}
.howto-step h4 {
  color: var(--night-text);
  font-size: 19px;
  font-weight: 500;
}
.howto-step p {
  margin-top: 6px;
  color: rgba(247, 241, 228, 0.45);
  font-size: 9.5px;
  line-height: 1.6;
}
.nasal-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(247, 241, 228, 0.12);
}
.nasal-tips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(247, 241, 228, 0.54);
  font-size: 9px;
}
.nasal-tips .icon {
  width: 12px;
  height: 12px;
  color: #b4c9ae;
}
.nasal-tips span:nth-last-child(-n+2) .icon {
  color: #e8a58d;
}
.cold-help {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.cold-help__column {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.cold-help__column--do {
  background:
    radial-gradient(80% 70% at 100% 0%, color-mix(in srgb, var(--sage-soft) 60%, transparent) 0%, transparent 56%),
    var(--surface);
}
.cold-help__column--dont {
  background:
    radial-gradient(80% 70% at 100% 0%, color-mix(in srgb, var(--coral-soft) 45%, transparent) 0%, transparent 56%),
    var(--surface);
}
.cold-help__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.cold-help__icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  flex: 0 0 auto;
}
.cold-help__column--dont .cold-help__icon {
  background: var(--coral-soft);
  color: var(--coral-deep);
}
.cold-help__icon .icon {
  width: 16px;
  height: 16px;
}
.cold-help__head h3 {
  margin-top: 2px;
  font-size: 23px;
  line-height: 1.06;
}
.do-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.do-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.55;
}
.do-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.do-list li > span {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-deep);
  flex: 0 0 auto;
}
.do-list .icon {
  width: 9px;
  height: 9px;
  stroke-width: 2.3;
}
.do-list--no li > span {
  background: var(--coral-soft);
  color: var(--coral-deep);
}
.consult-strip {
  margin-top: 18px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid color-mix(in srgb, var(--amber) 26%, transparent);
  border-radius: var(--radius-md);
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(214, 164, 77, 0.09) 0%, transparent 60%),
    var(--amber-soft);
}
.consult-strip__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.consult-strip__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--amber-deep);
  flex: 0 0 auto;
}
.consult-strip__icon .icon {
  width: 17px;
  height: 17px;
}
.consult-strip h3 {
  margin-top: 2px;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.1;
}
.consult-strip .card-kicker {
  color: var(--amber-deep);
}
.consult-strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 16px;
}
.consult-strip__items span {
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--amber-deep) 20%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  color: var(--ink-soft);
  font-size: 9px;
}
.consult-strip .text-link {
  color: var(--amber-deep);
  border-color: color-mix(in srgb, var(--amber-deep) 36%, transparent);
}
[data-theme="night"] .consult-strip .card-kicker,
[data-theme="night"] .consult-strip .text-link {
  color: var(--amber);
}

/* =========================================================
   Minor accidents
   ========================================================= */

.accidents-section {
  background:
    radial-gradient(55% 50% at 100% 100%, color-mix(in srgb, var(--coral-soft) 36%, transparent) 0%, transparent 54%),
    var(--bg);
}
.accident-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.accident-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.accident-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.accident-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
}
.accident-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  flex: 0 0 auto;
}
.accident-card__icon--amber { background: var(--amber-soft); color: var(--amber-deep); }
.accident-card__icon--coral { background: var(--coral-soft); color: var(--coral-deep); }
.accident-card__icon .icon {
  width: 17px;
  height: 17px;
}
.accident-card__label {
  color: var(--ink-muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.accident-card__number {
  margin-left: auto;
  color: var(--ink-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.accident-card h3 {
  font-size: clamp(1.7rem, 2.2vw, 2rem);
  line-height: 1.06;
}
.accident-card__lead {
  margin-top: 9px;
  color: var(--ink-muted);
  font-size: 10.5px;
  line-height: 1.6;
}
.accident-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.accident-steps li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.accident-steps li > span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-muted);
  font-size: 7px;
  font-weight: 700;
}
.accident-steps strong {
  display: block;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 750;
}
.accident-steps p {
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 9.5px;
  line-height: 1.55;
}
.accident-urgent {
  margin-top: auto;
  padding-top: 14px;
}
.accident-urgent > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  color: var(--coral-deep);
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.accident-urgent .icon {
  width: 11px;
  height: 11px;
}
.accident-urgent p {
  color: var(--ink-muted);
  font-size: 9px;
  line-height: 1.55;
}
[data-theme="night"] .accident-urgent > span {
  color: var(--coral);
}
.accident-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-md);
  background:
    radial-gradient(70% 100% at 100% 50%, rgba(224, 131, 98, 0.17) 0%, transparent 60%),
    linear-gradient(135deg, #3a211a, #291b16);
  color: var(--night-text);
  overflow: hidden;
}
.accident-banner__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(235, 166, 138, 0.3);
  border-radius: 50%;
  background: rgba(220, 116, 86, 0.12);
  color: #f0ab92;
  flex: 0 0 auto;
}
.accident-banner__icon .icon {
  width: 20px;
  height: 20px;
}
.accident-banner__copy {
  flex: 1;
}
.accident-banner .card-kicker {
  color: rgba(246, 215, 203, 0.52);
}
.accident-banner h3 {
  margin-top: 3px;
  color: var(--night-text);
  font-size: clamp(1.7rem, 2.7vw, 2.2rem);
}
.accident-banner p {
  max-width: 680px;
  margin-top: 5px;
  color: rgba(247, 235, 228, 0.53);
  font-size: 10px;
  line-height: 1.6;
}
.accident-banner .btn {
  flex: 0 0 auto;
  color: #241712;
}
.accident-banner .btn .icon {
  width: 14px;
  height: 14px;
}
.accident-rules {
  display: grid;
  grid-template-columns: 0.65fr repeat(3, 1fr);
  gap: 22px;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.accident-rules__title {
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  line-height: 1.15;
}
.accident-rules > div {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
}
.accident-rules > div > span {
  color: var(--coral-deep);
  font-size: 8px;
  font-weight: 750;
  padding-top: 2px;
}
[data-theme="night"] .accident-rules > div > span {
  color: var(--coral);
}
.accident-rules p {
  color: var(--ink-muted);
  font-size: 9.5px;
  line-height: 1.55;
}

/* =========================================================
   First aid kit
   ========================================================= */

.kit-section {
  background:
    radial-gradient(60% 50% at 0% 0%, color-mix(in srgb, var(--blue-soft) 42%, transparent) 0%, transparent 55%),
    var(--surface-soft);
}
.kit-layout {
  display: grid;
  grid-template-columns: 332px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.kit-aside {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kit-progress-card {
  position: relative;
  padding: 25px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(75% 70% at 100% 0%, rgba(219, 172, 98, 0.16) 0%, transparent 58%),
    linear-gradient(155deg, #19463a, #0e3128);
  color: var(--night-text);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.kit-progress {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 13px;
}
.kit-progress svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}
.kit-ring__track,
.kit-ring {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
}
.kit-ring__track {
  stroke: rgba(247, 241, 228, 0.13);
}
.kit-ring {
  stroke: #e5b470;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.7s var(--ease), stroke 0.4s;
  filter: drop-shadow(0 0 6px rgba(229, 180, 112, 0.25));
}
.kit-progress[data-complete="true"] .kit-ring {
  stroke: #a9c6a2;
}
.kit-progress__value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.kit-progress__value strong {
  color: var(--night-text);
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.kit-progress__value strong span {
  margin-left: 1px;
  color: #e5b470;
  font-size: 17px;
  font-style: italic;
}
.kit-progress__value small {
  color: rgba(247, 241, 228, 0.44);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.kit-progress__copy {
  text-align: center;
}
.kit-progress__copy .card-kicker {
  justify-content: center;
  color: rgba(247, 241, 228, 0.36);
}
.kit-progress__copy h3 {
  margin-top: 5px;
  color: var(--night-text);
  font-size: 22px;
}
.kit-progress__copy p {
  max-width: 230px;
  margin: 6px auto 0;
  color: rgba(247, 241, 228, 0.48);
  font-size: 9.5px;
  line-height: 1.55;
}
.kit-progress__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(247, 241, 228, 0.12);
  color: rgba(247, 241, 228, 0.6);
}
.kit-progress__actions .text-button {
  color: rgba(247, 241, 228, 0.72);
}
.kit-progress__actions .text-button--muted {
  color: rgba(247, 241, 228, 0.36);
}
.kit-principles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.kit-principles > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.kit-principles > div > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-deep);
  flex: 0 0 auto;
}
.kit-principles .icon {
  width: 12px;
  height: 12px;
}
.kit-principles p {
  color: var(--ink-muted);
  font-size: 9px;
  line-height: 1.55;
}
.kit-principles strong {
  color: var(--ink-soft);
  font-weight: 750;
}
.kit-privacy {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 0 5px;
  color: var(--ink-muted);
  font-size: 8.5px;
  line-height: 1.5;
}
.kit-privacy .icon {
  width: 12px;
  height: 12px;
  margin-top: 1px;
  flex: 0 0 auto;
}
.kit-art-card {
  margin: 0;
  padding: 10px 10px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(75% 70% at 100% 0%, color-mix(in srgb, var(--amber-soft) 45%, transparent) 0%, transparent 60%),
    var(--surface);
  overflow: hidden;
}
.kit-art-card svg {
  width: 100%;
  height: auto;
}
.kit-art-card figcaption {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px 12px;
  color: var(--ink-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.kit-art-card figcaption::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--line-strong);
}
.kit-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.kit-category {
  padding: 23px clamp(20px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
}
.kit-category:last-child {
  border-bottom: 0;
}
.kit-category__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.kit-category__icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  flex: 0 0 auto;
}
.kit-category__icon--amber { background: var(--amber-soft); color: var(--amber-deep); }
.kit-category__icon--coral { background: var(--coral-soft); color: var(--coral-deep); }
.kit-category__icon--green { background: var(--green-soft); color: var(--green); }
.kit-category__icon--muted { background: var(--surface-soft); color: var(--ink-soft); }
.kit-category__icon .icon {
  width: 17px;
  height: 17px;
}
.kit-category__head h3 {
  font-size: 22px;
  line-height: 1.05;
}
.kit-category__head p {
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 9.5px;
  line-height: 1.4;
}
.kit-category__count {
  display: grid;
  place-items: center;
  min-width: 27px;
  height: 24px;
  margin-left: auto;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 8px;
  font-weight: 700;
}
.kit-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
  margin-top: 12px;
}
.kit-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.kit-item:hover .kit-check {
  border-color: var(--sage-deep);
}
.kit-item input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.kit-check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: transparent;
  color: transparent;
  flex: 0 0 auto;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.kit-check .icon {
  width: 11px;
  height: 11px;
  stroke-width: 2.6;
  transform: scale(0.6);
  transition: transform 0.25s var(--ease);
}
.kit-item input:checked ~ .kit-check {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}
[data-theme="night"] .kit-item input:checked ~ .kit-check {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--forest-deep);
}
.kit-item input:checked ~ .kit-check .icon {
  transform: scale(1);
}
.kit-item input:focus-visible ~ .kit-check {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}
.kit-item__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.kit-item__copy strong {
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.25s;
}
.kit-item__copy small {
  color: var(--ink-muted);
  font-size: 8.5px;
  line-height: 1.45;
}
.kit-item input:checked ~ .kit-item__copy strong {
  color: var(--ink-muted);
}
.kit-item input:checked ~ .kit-item__copy small {
  opacity: 0.7;
}
.kit-bottom {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 14px;
  margin-top: 18px;
}
.kit-warning,
.kit-tip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.kit-warning {
  background: color-mix(in srgb, var(--coral-soft) 34%, var(--surface));
  border-color: color-mix(in srgb, var(--coral) 18%, transparent);
}
.kit-tip {
  background:
    radial-gradient(70% 80% at 100% 0%, color-mix(in srgb, var(--amber-soft) 52%, transparent) 0%, transparent 58%),
    var(--surface);
}
.kit-warning__icon,
.kit-tip__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  flex: 0 0 auto;
}
.kit-warning__icon { color: var(--coral-deep); }
.kit-tip__icon { color: var(--amber-deep); }
.kit-warning__icon .icon,
.kit-tip__icon .icon {
  width: 15px;
  height: 15px;
}
.kit-warning h3,
.kit-tip h3 {
  margin-top: 3px;
  font-size: 23px;
  line-height: 1.06;
}
.kit-warning ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.kit-warning li {
  position: relative;
  padding: 5px 0 5px 12px;
  color: var(--ink-muted);
  font-size: 9px;
  line-height: 1.5;
}
.kit-warning li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
}
.kit-tip p {
  max-width: 430px;
  margin-top: 7px;
  color: var(--ink-muted);
  font-size: 9.5px;
  line-height: 1.62;
}

/* =========================================================
   Emergency
   ========================================================= */

.emergency-section {
  position: relative;
  padding: clamp(88px, 10vw, 140px) 0;
  background:
    radial-gradient(70% 60% at 92% 0%, rgba(219, 135, 104, 0.18) 0%, transparent 55%),
    radial-gradient(60% 60% at 0% 100%, rgba(214, 164, 77, 0.08) 0%, transparent 55%),
    linear-gradient(155deg, #281c17 0%, #1c1a15 48%, #141a15 100%);
  color: var(--night-text);
  overflow: hidden;
}
.emergency-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
.emergency-section__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.emergency-section__glow--one {
  width: 380px;
  height: 380px;
  top: -180px;
  right: -100px;
  background: rgba(213, 119, 87, 0.16);
}
.emergency-section__glow--two {
  width: 430px;
  height: 430px;
  bottom: -300px;
  left: -140px;
  background: rgba(205, 161, 91, 0.08);
}
.emergency-head {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(35px, 5vw, 52px);
}
.emergency-head__grid {
  display: grid;
  grid-template-columns: 1fr 0.58fr;
  gap: 40px;
  align-items: end;
}
.emergency-head h2 {
  max-width: 9ch;
  color: var(--night-text);
  font-size: clamp(3rem, 5.6vw, 5.4rem);
  line-height: 0.96;
}
.emergency-head h2 em {
  color: #ed9f84;
}
.emergency-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.emergency-head__aside p {
  max-width: 390px;
  padding-bottom: 8px;
  color: rgba(247, 241, 228, 0.52);
  font-size: 13px;
  line-height: 1.75;
}
.emergency-art {
  width: min(100%, 280px);
  opacity: 0.95;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.22));
}
.emergency-art svg {
  width: 100%;
  height: auto;
}
.emergency-alert {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(236, 147, 119, 0.3);
  border-radius: var(--radius-md);
  background: rgba(194, 83, 57, 0.14);
}
.emergency-alert__icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: rgba(245, 221, 210, 0.1);
  color: #f0a990;
  flex: 0 0 auto;
}
.emergency-alert__icon .icon {
  width: 16px;
  height: 16px;
}
.emergency-alert .card-kicker {
  margin-bottom: 4px;
  color: #eea78f;
}
.emergency-alert p {
  color: rgba(247, 235, 228, 0.66);
  font-size: 11px;
  line-height: 1.6;
}
.emergency-alert strong {
  color: #f9e9e1;
}
.emergency-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: 13px;
  align-items: start;
}
.redflags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.redflag {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 19px;
  border: 1px solid rgba(247, 241, 228, 0.11);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  transition: background-color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.redflag:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(247, 241, 228, 0.19);
  transform: translateY(-2px);
}
.redflag__icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: rgba(226, 139, 109, 0.1);
  color: #eaa48b;
  flex: 0 0 auto;
}
.redflag__icon .icon {
  width: 15px;
  height: 15px;
}
.redflag__label {
  display: block;
  margin-bottom: 3px;
  color: rgba(240, 172, 148, 0.65);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.redflag h3 {
  color: var(--night-text);
  font-size: 19px;
  line-height: 1.08;
}
.redflag p {
  margin-top: 5px;
  color: rgba(247, 241, 228, 0.44);
  font-size: 9px;
  line-height: 1.55;
}
.plan-card {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  padding: clamp(24px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(214, 164, 77, 0.14) 0%, transparent 58%),
    #f8f2e5;
  color: #1a2a24;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}
.plan-card__kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border: 1px solid rgba(169, 64, 47, 0.24);
  border-radius: 999px;
  background: rgba(243, 214, 207, 0.6);
  color: #9b3c2b;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.plan-card h3 {
  max-width: 17ch;
  margin-top: 14px;
  color: #192a23;
  font-size: clamp(1.9rem, 2.7vw, 2.4rem);
  line-height: 1.04;
}
.plan-card__intro {
  margin-top: 10px;
  color: #68756c;
  font-size: 10.5px;
  line-height: 1.65;
}
.plan-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid rgba(26, 42, 36, 0.13);
  list-style: none;
}
.plan-steps li {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26, 42, 36, 0.1);
}
.plan-steps li > span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid rgba(26, 42, 36, 0.24);
  border-radius: 50%;
  color: #7f8981;
  font-size: 7px;
  font-weight: 700;
}
.plan-steps p {
  color: #68756c;
  font-size: 9.5px;
  line-height: 1.55;
}
.plan-steps strong {
  color: #293a31;
  font-weight: 750;
}
.emergency-number {
  margin-top: 19px;
}
.emergency-number label {
  display: block;
  margin-bottom: 6px;
  color: #7d877f;
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.emergency-number__row {
  display: flex;
  gap: 7px;
}
.emergency-number input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(26, 42, 36, 0.2);
  border-radius: 999px;
  background: #fffdf7;
  color: #1a2a24;
  font-size: 12px;
  font-weight: 650;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.emergency-number input::placeholder {
  color: #a3aaa3;
  font-weight: 500;
}
.emergency-number input:focus {
  outline: none;
  border-color: #c06047;
  box-shadow: 0 0 0 3px rgba(203, 96, 70, 0.15);
}
.emergency-number .btn {
  flex: 0 0 auto;
  background: #1a2a24;
  color: #f8f2e5;
}
.emergency-number .btn:hover {
  background: #0f1f19;
}
#emergencyPrivacy {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: #8c958d;
  font-size: 8px;
}
#emergencyPrivacy .icon {
  width: 10px;
  height: 10px;
}
#emergencyCall {
  margin-top: 13px;
  gap: 9px;
}
#emergencyCall .icon {
  width: 15px;
  height: 15px;
}
#emergencyCall[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}
.plan-card__foot {
  margin-top: 10px;
  color: #909990;
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
}
.emergency-quote {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 196px;
  align-items: center;
  gap: clamp(22px, 4vw, 46px);
  max-width: 1000px;
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid rgba(247, 241, 228, 0.12);
}
.emergency-quote__copy {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.emergency-quote .icon {
  width: 18px;
  height: 18px;
  margin-top: 6px;
  color: #e3b374;
  flex: 0 0 auto;
}
.emergency-quote p {
  color: rgba(247, 241, 228, 0.66);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.45;
  letter-spacing: -0.015em;
}
.emergency-quote__art {
  margin: 0;
  justify-self: end;
  width: 196px;
}
.emergency-quote__art svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 999px 999px 18px 18px;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.28));
}
.eq-mother {
  transform-box: fill-box;
  transform-origin: 80% 100%;
  animation: careLean 11s ease-in-out infinite;
}
.eq-baby {
  transform-box: fill-box;
  transform-origin: 50% 80%;
  animation: sceneBreathe 6.4s ease-in-out infinite;
}
@media (max-width: 720px) {
  .emergency-quote {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }
  .emergency-quote__art {
    justify-self: center;
    width: 168px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eq-mother,
  .eq-baby {
    animation: none !important;
  }
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
  background:
    radial-gradient(50% 50% at 100% 0%, color-mix(in srgb, var(--sage-soft) 44%, transparent) 0%, transparent 55%),
    var(--bg);
}
.faq-head {
  margin-bottom: clamp(30px, 5vw, 48px);
}
.faq-head__grid {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 40px;
  align-items: end;
}
.faq-head h2 {
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 0.98;
}
.faq-head h2 em {
  color: var(--coral);
}
.faq-head p {
  max-width: 360px;
  padding-bottom: 5px;
  color: var(--ink-muted);
  font-size: 11.5px;
  line-height: 1.7;
}
.faq-list {
  border-top: 1px solid var(--line-strong);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px 4px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--coral-deep);
}
[data-theme="night"] .faq-item summary:hover {
  color: var(--coral);
}
.faq-item__num {
  flex: 0 0 26px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.faq-item summary > span:nth-child(2) {
  flex: 1;
}
.faq-item__plus {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-soft);
  flex: 0 0 auto;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s;
}
.faq-item__plus .icon {
  width: 14px;
  height: 14px;
}
.faq-item[open] .faq-item__plus {
  transform: rotate(180deg);
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
[data-theme="night"] .faq-item[open] .faq-item__plus {
  background: var(--cream);
  color: var(--cream-ink);
  border-color: var(--cream);
}
.faq-item__body {
  padding: 0 60px 24px 46px;
  animation: faqIn 0.4s var(--ease) both;
}
.faq-item__body p {
  max-width: 860px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}
.faq-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 38px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.faq-footer > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.faq-footer > div .icon {
  width: 18px;
  height: 18px;
  color: var(--coral);
  flex: 0 0 auto;
}
.faq-footer p {
  color: var(--ink-muted);
  font-size: 10.5px;
  line-height: 1.6;
}
.faq-footer strong {
  color: var(--ink);
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 26px;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(213, 166, 89, 0.1) 0%, transparent 55%),
    radial-gradient(55% 60% at 0% 100%, rgba(121, 158, 134, 0.1) 0%, transparent 58%),
    linear-gradient(160deg, #0f332a 0%, #0a241d 70%, #081d17 100%);
  color: var(--night-text);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
.site-footer__moon {
  position: absolute;
  top: -170px;
  right: -100px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(247, 241, 228, 0.07);
  border-radius: 50%;
  pointer-events: none;
}
.site-footer__moon::before {
  content: "";
  position: absolute;
  inset: 45px;
  border: 1px dashed rgba(247, 241, 228, 0.06);
  border-radius: 50%;
}
.site-footer .container {
  position: relative;
  z-index: 2;
}
.footer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: end;
  padding-bottom: clamp(36px, 5vw, 54px);
  border-bottom: 1px solid rgba(247, 241, 228, 0.12);
}
.footer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(247, 241, 228, 0.44);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.footer-kicker .icon {
  width: 13px;
  height: 13px;
  color: #e1b273;
}
.footer-hero h2 {
  max-width: 12ch;
  margin-top: 17px;
  color: var(--night-text);
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1;
}
.footer-hero h2 em {
  color: #e8b978;
}
.footer-hero__aside {
  padding-bottom: 5px;
}
.footer-hero__aside > p {
  max-width: 380px;
  color: rgba(247, 241, 228, 0.51);
  font-size: 11.5px;
  line-height: 1.7;
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.footer-actions .btn--primary {
  background: var(--cream);
  color: var(--cream-ink);
}
.footer-actions .btn--quiet {
  color: var(--night-text);
  border-color: rgba(247, 241, 228, 0.24);
}
.footer-actions .btn--quiet:hover {
  background: rgba(247, 241, 228, 0.07);
  border-color: rgba(247, 241, 228, 0.45);
}
.footer-actions .btn--quiet .icon {
  width: 14px;
  height: 14px;
}
.offline-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  padding: 5px 10px;
  border: 1px solid rgba(247, 241, 228, 0.14);
  border-radius: 999px;
  color: rgba(247, 241, 228, 0.46);
  font-size: 8px;
  font-weight: 600;
}
.offline-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a8c19f;
  box-shadow: 0 0 0 3px rgba(168, 193, 159, 0.09);
}
.offline-chip.is-offline i {
  background: #e4a384;
  box-shadow: 0 0 0 3px rgba(228, 163, 132, 0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 0.85fr;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(34px, 5vw, 50px) 0;
  border-bottom: 1px solid rgba(247, 241, 228, 0.12);
}
.brand--footer {
  color: var(--night-text);
}
.brand--footer .brand__mark {
  background: var(--cream);
  color: var(--forest-deep);
}
.brand--footer .brand__tag {
  color: rgba(247, 241, 228, 0.35);
}
.footer-brand > p {
  max-width: 280px;
  margin-top: 16px;
  color: rgba(247, 241, 228, 0.42);
  font-size: 9.5px;
  line-height: 1.65;
}
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.footer-nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.footer-nav > div > span {
  margin-bottom: 4px;
  color: rgba(247, 241, 228, 0.33);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.footer-nav a {
  color: rgba(247, 241, 228, 0.62);
  font-size: 10px;
  text-decoration: none;
  transition: color 0.25s, transform 0.25s;
}
.footer-nav a:hover {
  color: #eec58d;
  transform: translateX(2px);
}
.footer-emergency {
  padding-left: clamp(0px, 3vw, 34px);
  border-left: 1px solid rgba(247, 241, 228, 0.12);
}
.footer-emergency__label {
  color: #e6a88f;
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-emergency h3 {
  max-width: 15ch;
  margin-top: 7px;
  color: var(--night-text);
  font-size: 22px;
  line-height: 1.1;
}
.footer-emergency p {
  margin-top: 8px;
  color: rgba(247, 241, 228, 0.42);
  font-size: 9.5px;
  line-height: 1.6;
}
.footer-emergency .text-link {
  margin-top: 13px;
  font-size: 9.5px;
}
.footer-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(247, 241, 228, 0.1);
}
.footer-disclaimer__icon {
  color: rgba(247, 241, 228, 0.34);
  flex: 0 0 auto;
}
.footer-disclaimer .icon {
  width: 14px;
  height: 14px;
}
.footer-disclaimer p {
  max-width: 1000px;
  color: rgba(247, 241, 228, 0.34);
  font-size: 8.5px;
  line-height: 1.7;
}
.footer-disclaimer strong {
  color: rgba(247, 241, 228, 0.58);
}
.sources {
  border-bottom: 1px solid rgba(247, 241, 228, 0.1);
}
.sources summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  color: rgba(247, 241, 228, 0.46);
  font-size: 9px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.sources summary::-webkit-details-marker {
  display: none;
}
.sources summary .summary-plus {
  width: 22px;
  height: 22px;
  opacity: 0.32;
}
.sources__body {
  padding: 0 0 22px;
}
.sources__body > p {
  max-width: 850px;
  color: rgba(247, 241, 228, 0.38);
  font-size: 8.5px;
  line-height: 1.65;
}
.sources__body ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 30px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.sources__body li {
  position: relative;
  padding-left: 11px;
}
.sources__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(233, 185, 120, 0.6);
}
.sources__body a {
  color: rgba(247, 241, 228, 0.55);
  font-size: 8.5px;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 241, 228, 0.14);
  transition: color 0.25s, border-color 0.25s;
}
.sources__body a:hover {
  color: #eec58d;
  border-color: #eec58d;
}
.sources__note {
  margin-top: 12px;
  font-style: italic;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 19px;
  color: rgba(247, 241, 228, 0.33);
  font-size: 8.5px;
}
.footer-bottom__quote {
  font-family: var(--font-serif);
  font-size: 12px;
  font-style: italic;
  letter-spacing: -0.01em;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(247, 241, 228, 0.5);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-bottom a:hover {
  color: #eec58d;
}
.footer-bottom .icon {
  width: 12px;
  height: 12px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), visibility 0.35s, transform 0.35s var(--ease), background-color 0.25s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover {
  background: var(--ink);
  color: var(--bg);
}
.back-to-top .icon {
  width: 16px;
  height: 16px;
  transform: rotate(-45deg);
}

/* =========================================================
   Legibility refinements
   ========================================================= */

.thermo-pick > p { font-size: 12.5px; }
.tick-list li { font-size: 12px; }
.thermo-pick__foot { font-size: 11px; }
.thermo-option > p { font-size: 12px; }
.thermo-option__meta { font-size: 9.5px; }
.thermo-option__badge { font-size: 8px; }
.measure-item p { font-size: 12px; }
.measure-item__time { font-size: 9.5px; }
.check-steps p { font-size: 12px; }
.measure-note p { font-size: 11px; }
.critical-note p { font-size: 12.5px; }
.med-card__intro { font-size: 12.5px; }
.med-card__brands { font-size: 11.5px; }
.med-card__caution { font-size: 11px; }
.med-cautions strong { font-size: 12px; }
.med-cautions p { font-size: 11px; }
.med-stats dt { font-size: 8.5px; }
.med-stats dd span { font-size: 9px; }
.med-card__presentation > span { font-size: 8.5px; }
.med-card__presentation p { font-size: 10.5px; }
.med-options__copy > p { font-size: 13.5px; }
.med-questions p { font-size: 11.5px; }
.support-card h4 { font-size: 19px; }
.support-card p { font-size: 11.5px; }
.not-alt__head > p { font-size: 12.5px; }
.not-alt__item p { font-size: 11.5px; }
.not-alt__alert { font-size: 11.5px; }
.not-alt__small { font-size: 10px; }
.med-footnote {
  margin-top: 11px;
  color: var(--ink-muted);
  font-size: 9.5px;
  line-height: 1.55;
}
.dose-panel__head > p { font-size: 12.5px; }
.dose-step strong { font-size: 13px; }
.dose-step p { font-size: 11.5px; }
.formula-card__example p { font-size: 11px; }
.formula-card__example small { font-size: 9px; }
.after-step p { font-size: 11.5px; }
.after-note strong { font-size: 12.5px; }
.after-note p { font-size: 11.5px; }
.cooling-panel__lead { font-size: 12.5px; }
.cooling-card p { font-size: 11.5px; }
.cooling-answer p { font-size: 11.5px; }
.cold-card__lead { font-size: 11.5px; }
.cold-facts dt { font-size: 8px; }
.cold-facts dd { font-size: 11px; }
.cold-note p { font-size: 11.5px; }
.nasal-head__aside p { font-size: 12px; }
.howto-step p { font-size: 11px; }
.nasal-tips span { font-size: 10px; }
.do-list li { font-size: 11.5px; }
.consult-strip__items span { font-size: 10px; }
.accident-card__lead { font-size: 11.5px; }
.accident-steps strong { font-size: 11.5px; }
.accident-steps p { font-size: 11px; }
.accident-urgent p { font-size: 10.5px; }
.accident-banner p { font-size: 11.5px; }
.accident-rules p { font-size: 11px; }
.kit-progress__copy p { font-size: 11px; }
.kit-principles p { font-size: 10.5px; }
.kit-category__head p { font-size: 10.5px; }
.kit-item__copy strong { font-size: 11.5px; }
.kit-item__copy small { font-size: 10px; }
.kit-warning li { font-size: 10.5px; }
.kit-tip p { font-size: 11px; }
.emergency-alert p { font-size: 12px; }
.redflag p { font-size: 10.5px; }
.plan-card__intro { font-size: 11.5px; }
.plan-steps p { font-size: 10.5px; }
.faq-item__body p { font-size: 13px; }
.faq-head p { font-size: 12.5px; }
.faq-footer p { font-size: 11.5px; }
.hero-float { font-size: 10.5px; }
.hero-float strong { font-size: 11px; }
.hero-float small:last-child { font-size: 9.5px; }
.footer-disclaimer p { font-size: 9.5px; }
.sources__body > p { font-size: 9.5px; }
.sources__body a { font-size: 9.5px; }
.footer-bottom { font-size: 9px; }

/* =========================================================
   Responsive · large tablets and small laptops
   ========================================================= */

@media (max-width: 1180px) {
  .hero__visual {
    max-width: 430px;
  }
  .hero-float--top {
    right: -8px;
  }
  .hero-float--bottom {
    left: -12px;
  }
  .kit-layout {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .med-stats > div {
    padding: 0 8px;
  }
  .med-stats dd {
    font-size: 18px;
  }
}

@media (min-width: 1061px) and (max-height: 860px) {
  .kit-aside {
    position: static;
  }
}

@media (max-width: 1060px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .header__inner {
    gap: 18px;
  }
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 42px;
  }
  .hero__title {
    font-size: clamp(3.1rem, 5.7vw, 5.2rem);
  }
  .compass-app {
    grid-template-columns: 1fr;
  }
  .compass-result {
    min-height: 520px;
  }
  .kit-layout {
    grid-template-columns: 1fr;
  }
  .kit-aside {
    position: static;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: stretch;
  }
  .kit-progress-card {
    grid-row: span 2;
  }
  .kit-principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .kit-privacy {
    grid-column: 2;
  }
  .kit-art-card {
    grid-column: 2;
    justify-self: end;
    width: min(100%, 280px);
  }
  .emergency-grid {
    grid-template-columns: 1fr;
  }
  .plan-card {
    position: static;
  }
  .plan-card h3 {
    max-width: none;
  }
  .plan-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .plan-steps li {
    grid-template-columns: 1fr;
    align-content: start;
    border-bottom: 0;
    border-top: 1px solid rgba(26, 42, 36, 0.1);
    padding-top: 12px;
  }
  .emergency-number__row {
    max-width: 460px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1.1fr;
  }
  .footer-emergency {
    grid-column: 1 / -1;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(247, 241, 228, 0.12);
  }
  .footer-emergency h3 {
    max-width: none;
  }
}

/* =========================================================
   Responsive · tablets
   ========================================================= */

@media (max-width: 920px) {
  .hero {
    padding-top: calc(var(--header-h) + 44px);
  }
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 54px;
    padding-bottom: 50px;
  }
  .hero__copy {
    max-width: 650px;
  }
  .hero__title {
    font-size: clamp(3.3rem, 8.4vw, 5.5rem);
  }
  .hero__lead {
    max-width: 520px;
  }
  .hero__visual {
    justify-self: center;
    max-width: 430px;
    width: min(100%, 430px);
  }
  .hero__foot {
    padding-bottom: 24px;
  }
  .section-head__grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .section-head__copy {
    max-width: 560px;
  }
  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quick-card {
    min-height: 170px;
  }
  .fever-grid {
    grid-template-columns: 1fr;
  }
  .night-curve {
    min-height: 480px;
  }
  .fever-insights {
    grid-template-columns: 1fr;
  }
  .insight-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 16px;
  }
  .insight-card__icon {
    grid-row: span 3;
    margin-bottom: 0;
  }
  .insight-card__index {
    margin-top: 2px;
  }
  .insight-card h3 {
    margin-bottom: 4px;
  }
  .compass-head__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .compass-head p {
    max-width: 500px;
  }
  .thermo-layout {
    grid-template-columns: 1fr;
  }
  .thermo-pick {
    min-height: 0;
  }
  .thermo-pick__visual {
    min-height: 190px;
  }
  .measure-guide {
    grid-template-columns: 1fr;
  }
  .med-grid {
    grid-template-columns: 1fr;
  }
  .med-cautions {
    grid-template-columns: 1fr;
  }
  .med-options__head {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .med-still {
    justify-self: center;
    max-width: 520px;
  }
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }
  .support-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .support-card:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .not-alt__head {
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
  }
  .not-alt__head > p {
    grid-column: 2;
    justify-self: start;
    max-width: 600px;
  }
  .dose-panel__body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .formula-card {
    max-width: 620px;
  }
  .subsection-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .subsection-head h3 {
    max-width: 24ch;
  }
  .after-timeline {
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
  }
  .cooling-cards {
    grid-template-columns: 1fr;
  }
  .cold-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cold-card,
  .cold-card--common,
  .cold-card--flu {
    grid-column: span 1;
  }
  .cold-card__art {
    display: none;
  }
  .nasal-head {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .nasal-head__aside {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
  }
  .nasal-head__aside p {
    max-width: 600px;
  }
  .nasal-art {
    width: 100%;
    max-width: 240px;
  }
  .emergency-head__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .emergency-head__aside {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
  }
  .emergency-art {
    width: 100%;
    max-width: 220px;
  }
  .howto-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
  }
  .cold-help {
    grid-template-columns: 1fr;
  }
  .accident-grid {
    grid-template-columns: 1fr;
  }
  .accident-card {
    padding: 26px;
  }
  .accident-rules {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .accident-rules__title {
    padding-bottom: 3px;
    border-bottom: 1px solid var(--line);
  }
  .kit-aside {
    grid-template-columns: 1fr;
  }
  .kit-progress-card {
    grid-row: auto;
  }
  .kit-art-card {
    grid-column: auto;
    justify-self: center;
    width: 100%;
    max-width: 300px;
  }
  .kit-principles {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .kit-privacy {
    grid-column: 1 / -1;
  }
  .kit-bottom {
    grid-template-columns: 1fr;
  }
  .redflags {
    grid-template-columns: 1fr 1fr;
  }
  .faq-head__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-hero h2 {
    max-width: 15ch;
  }
  .footer-actions {
    margin-top: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   Responsive · phones
   ========================================================= */

@media (max-width: 720px) {
  :root {
    --header-h: 72px;
  }
  .container {
    width: min(100% - 32px, var(--container));
  }
  .brand__name {
    font-size: 18px;
  }
  .brand__tag {
    font-size: 7px;
  }
  .brand__mark {
    width: 36px;
    height: 36px;
  }
  .emergency-link {
    display: none;
  }
  .section {
    padding: 74px 0;
  }
  .section-label {
    margin-bottom: 18px;
  }
  .hero {
    padding-top: calc(var(--header-h) + 36px);
  }
  .hero__grid {
    gap: 40px;
    padding-bottom: 36px;
  }
  .hero__eyebrow {
    margin-bottom: 20px;
  }
  .hero__title {
    font-size: clamp(3rem, 11.5vw, 4.4rem);
  }
  .hero__lead {
    margin-top: 21px;
    font-size: 0.98rem;
  }
  .hero__actions {
    margin-top: 26px;
  }
  .hero__actions .btn {
    min-height: 48px;
    font-size: 12.5px;
  }
  .hero__meta {
    margin-top: 23px;
    font-size: 9px;
  }
  .hero__visual {
    max-width: 390px;
  }
  .hero-float {
    display: none;
  }
  .hero__moon {
    width: 120px;
    height: 120px;
    right: -2%;
    top: -8%;
  }
  .night-card {
    padding: 22px;
    border-radius: 25px;
  }
  .hero__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 25px;
  }
  .hero__scroll-cue {
    display: none;
  }
  .hero__foot-note {
    font-size: 9.5px;
  }
  .quick-section {
    padding-top: 8px;
    padding-bottom: 64px;
  }
  .quick-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .quick-head__aside {
    width: 100%;
    margin-left: 0;
  }
  .quick-card {
    min-height: 162px;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .section-head h2 {
    font-size: clamp(2.4rem, 9vw, 3.3rem);
  }
  .section-head__copy p {
    font-size: 13.5px;
  }
  .temp-scale,
  .night-curve {
    padding: 20px;
  }
  .temp-row {
    grid-template-columns: 92px 11px minmax(0, 1fr);
    gap: 11px;
    padding: 14px 0;
  }
  .temp-row__copy strong {
    font-size: 16px;
  }
  .temp-row__copy p {
    font-size: 10.5px;
  }
  .curve-chart {
    grid-template-rows: 180px 18px;
  }
  .compass-head h2 {
    font-size: clamp(2.6rem, 10vw, 3.8rem);
  }
  .compass-app {
    padding: 8px;
    border-radius: 26px;
  }
  .compass-controls {
    padding: 20px;
  }
  .compass-result {
    min-height: 0;
    padding: 25px 22px;
  }
  .compass-result h3 {
    font-size: 30px;
  }
  .compass-result__foot {
    margin-top: 23px;
    padding-top: 20px;
  }
  .age-option {
    font-size: 9px;
    padding: 8px 4px;
  }
  .compass-warning,
  .compass-reminder {
    padding: 11px;
  }
  .thermo-options {
    grid-template-columns: 1fr;
  }
  .thermo-option {
    padding: 20px;
  }
  .thermo-pick__stamp {
    right: 14%;
  }
  .measure-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .med-stats {
    grid-template-columns: 1fr 1fr;
    gap: 14px 0;
  }
  .med-stats > div {
    border-left: 0;
    padding: 0;
  }
  .med-stats > div:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 12px;
  }
  .med-stats > div:nth-child(even) {
    padding-left: 14px;
  }
  .after-notes {
    grid-template-columns: 1fr;
  }
  .cooling-answer {
    flex-direction: column;
    gap: 8px;
  }
  .cold-grid {
    grid-template-columns: 1fr;
  }
  .cold-card {
    min-height: 0;
  }
  .cold-card__art {
    display: block;
    position: static;
    width: 45%;
    margin: 14px 0 0 auto;
    opacity: 0.5;
  }
  .med-options__head {
    padding: 22px;
  }
  .med-still {
    max-width: 380px;
  }
  .not-alt {
    padding: 22px;
  }
  .not-alt__head {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
  }
  .not-alt__head > p {
    grid-column: 1 / -1;
  }
  .not-alt__grid {
    grid-template-columns: 1fr;
  }
  .nasal-block,
  .dose-panel,
  .cooling-panel {
    padding: 22px;
  }
  .nasal-head__aside {
    grid-template-columns: 1fr;
  }
  .nasal-art {
    max-width: 230px;
    margin: 0 auto;
  }
  .emergency-head__aside {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .emergency-head__aside p {
    width: 100%;
  }
  .emergency-art {
    max-width: 220px;
  }
  .howto-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 22px 0;
  }
  .howto-step {
    padding-top: 16px;
  }
  .cold-help__column {
    padding: 22px;
  }
  .consult-strip {
    padding: 20px;
  }
  .accident-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .accident-banner .btn {
    width: 100%;
  }
  .kit-items {
    grid-template-columns: 1fr;
  }
  .kit-principles {
    grid-template-columns: 1fr;
  }
  .kit-privacy {
    grid-column: auto;
  }
  .kit-category {
    padding: 20px;
  }
  .kit-warning ul {
    grid-template-columns: 1fr;
  }
  .redflags {
    grid-template-columns: 1fr;
  }
  .emergency-head h2 {
    font-size: clamp(2.6rem, 10vw, 3.8rem);
  }
  .plan-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .plan-steps li {
    grid-template-columns: 21px minmax(0, 1fr);
    border-top: 0;
    border-bottom: 1px solid rgba(26, 42, 36, 0.1);
    padding: 10px 0;
  }
  .emergency-number__row {
    max-width: none;
  }
  .faq-head h2 {
    font-size: clamp(2.4rem, 9vw, 3.3rem);
  }
  .faq-item summary {
    gap: 11px;
    padding: 18px 2px;
    font-size: 17px;
  }
  .faq-item__num {
    flex-basis: 20px;
  }
  .faq-item__body {
    padding: 0 34px 20px 33px;
  }
  .faq-item__body p {
    font-size: 11.5px;
  }
  .faq-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 18px;
  }
  .footer-hero h2 {
    font-size: clamp(2.4rem, 9vw, 3.4rem);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-nav {
    gap: 20px;
  }
  .footer-emergency {
    grid-column: auto;
  }
  .sources__body ul {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .footer-bottom__quote {
    order: 3;
  }
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 41px;
    height: 41px;
  }
}

@media (max-width: 520px) {
  .hero__title {
    font-size: clamp(2.7rem, 12.2vw, 3.7rem);
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .hero__meta .meta-divider {
    display: none;
  }
  .hero__visual {
    max-width: 345px;
  }
  .night-temp__value {
    font-size: 4.4rem;
  }
  .night-card__foot {
    gap: 8px 12px;
    font-size: 7px;
  }
  .observation-note {
    padding: 11px;
  }
  .quick-grid {
    grid-template-columns: 1fr;
  }
  .quick-card {
    min-height: 150px;
  }
  .quick-card::after {
    width: 150px;
    height: 150px;
    right: -38px;
    bottom: -55px;
  }
  .temp-row {
    grid-template-columns: 1fr 11px;
    gap: 9px;
  }
  .temp-row__range {
    grid-column: 1;
  }
  .temp-row__dot {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .temp-row__copy {
    grid-column: 1;
  }
  .night-curve {
    padding: 20px;
  }
  .curve-chart {
    grid-template-rows: 150px 18px;
  }
  .curve-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .compass-field__label {
    align-items: flex-start;
  }
  .compass-field__hint {
    display: none;
  }
  .age-option {
    font-size: 8px;
  }
  .temp-entry__number {
    font-size: 4.2rem;
  }
  .temp-entry__tag {
    display: none;
  }
  .med-card {
    padding: 21px;
  }
  .med-card__presentation {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .med-card__presentation p {
    text-align: left;
  }
  .med-options__head {
    padding: 20px;
  }
  .med-questions li {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
  .support-card {
    padding: 18px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .support-card:first-child {
    border-top: 0;
  }
  .not-alt__item {
    padding: 14px;
  }
  .med-still__caption {
    font-size: 7px;
  }
  .after-timeline {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .after-step__dot {
    box-shadow: 0 0 0 5px var(--surface-soft);
  }
  .cold-card {
    padding: 20px;
  }
  .cold-facts > div {
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .cold-card__art {
    width: 55%;
  }
  .accident-card {
    padding: 21px;
  }
  .accident-rules {
    padding: 19px;
  }
  .kit-progress-card {
    padding: 22px;
  }
  .kit-progress {
    width: 138px;
    height: 138px;
  }
  .kit-category__head {
    align-items: flex-start;
  }
  .kit-category__head p {
    font-size: 9px;
  }
  .emergency-section {
    padding: 74px 0;
  }
  .emergency-alert {
    padding: 15px;
  }
  .plan-card {
    padding: 21px;
  }
  .emergency-number__row {
    flex-direction: column;
  }
  .emergency-number__row .btn {
    width: 100%;
  }
  .faq-item__num {
    display: none;
  }
  .faq-item__body {
    padding-left: 0;
    padding-right: 28px;
  }
  .footer-actions .btn {
    width: 100%;
  }
  .sources summary {
    font-size: 8.5px;
  }
}

@media (max-width: 380px) {
  .brand__tag {
    display: none;
  }
  .header__inner {
    gap: 10px;
  }
  .header__actions {
    gap: 7px;
  }
  .theme-toggle,
  .menu-toggle {
    width: 35px;
    height: 35px;
  }
  .hero__title {
    font-size: 2.55rem;
  }
  .night-card {
    padding: 18px;
  }
  .night-card__foot {
    display: none;
  }
  .compass-controls {
    padding: 16px;
  }
  .age-switch {
    gap: 3px;
  }
  .age-option {
    font-size: 7.5px;
  }
  .kit-progress__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
}

/* =========================================================
   Reduced motion
   ========================================================= */

/* =========================================================
   Mobile reading comfort
   Prioriza la lectura a oscuras sin perder la jerarquía editorial.
   ========================================================= */

@media (max-width: 920px) {
  .section-head__copy p,
  .compass-head__grid > p,
  .emergency-head__aside p,
  .faq-head__grid > p {
    font-size: 15px;
  }
  .section-head__copy .text-small {
    font-size: 13.5px;
  }
  .med-options__copy > p {
    font-size: 14px;
  }
  .not-alt__head > p {
    font-size: 13px;
  }
  .thermo-option > p,
  .tick-list li,
  .measure-item p,
  .check-steps p,
  .cooling-panel__lead,
  .cold-card__lead,
  .cold-note p,
  .do-list li,
  .accident-card__lead,
  .med-card__intro,
  .faq-head p {
    font-size: 12.5px;
  }
  .measure-note p,
  .critical-note p {
    font-size: 13px;
  }
  .med-card__caution,
  .med-cautions p,
  .dose-step p,
  .after-step p,
  .formula-card__example p,
  .cooling-card p,
  .cooling-answer p,
  .cold-facts dd,
  .nasal-head__aside p,
  .howto-step p,
  .nasal-tips span,
  .consult-strip__items span,
  .accident-steps p,
  .accident-urgent p,
  .accident-rules p,
  .kit-principles p,
  .kit-item__copy small,
  .kit-warning li,
  .kit-tip p,
  .emergency-alert p,
  .plan-steps p,
  .med-questions p,
  .support-card p,
  .not-alt__item p,
  .not-alt__alert {
    font-size: 12px;
  }
  .not-alt__small {
    font-size: 10.5px;
  }
  .redflag p {
    font-size: 13px;
    line-height: 1.55;
  }
  .kit-item__copy strong,
  .accident-steps strong,
  .med-cautions strong,
  .after-note strong,
  .dose-step strong {
    font-size: 13px;
  }
  .faq-item__body p {
    font-size: 14px;
  }
  .footer-disclaimer p,
  .sources__body > p,
  .sources__body a {
    font-size: 11px;
  }
}

@media (max-width: 720px) {
  .back-to-top {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-intro],
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .night-chart__line {
    stroke-dashoffset: 0;
  }
  .night-chart__area {
    opacity: 1;
  }
  .draw-line {
    stroke-dashoffset: 0 !important;
  }
  .curve-chart .draw-line {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
  .curve-chart__area,
  .curve-point {
    opacity: 1 !important;
    animation: none !important;
  }
  .curve-tracer,
  .curve-tracer-halo {
    display: none !important;
  }
  .hero__aura,
  .hero-float,
  .pulse-dot::after,
  .hero__scroll-cue i::after {
    animation: none !important;
  }
}

/* =========================================================
   Hero scene · ajustes responsivos
   ========================================================= */

@media (max-width: 1180px) {
  .hero__visual.hero-scene {
    max-width: 470px;
  }
  .hero-scene__time {
    left: -12px;
  }
  .hero-chip--temp {
    right: -12px;
  }
  .hero-note {
    left: -14px;
  }
}

@media (max-width: 920px) {
  .hero-scene {
    max-width: 430px;
    justify-self: center;
  }
  .hero__visual.hero-scene {
    max-width: 430px;
  }
  .hero-scene__time {
    left: -6px;
  }
  .hero-chip--temp {
    right: -6px;
  }
  .hero-note {
    left: -6px;
    bottom: 20px;
  }
}

@media (max-width: 720px) {
  .hero__visual.hero-scene {
    max-width: 392px;
  }
  .hero-scene__time {
    top: 18px;
    left: 0;
    font-size: 8px;
    padding: 7px 11px;
  }
  .hero-chip--temp {
    top: 28%;
    right: 0;
    padding: 8px 12px 8px 9px;
    transform: rotate(1.6deg);
  }
  .hero-chip__icon {
    width: 27px;
    height: 27px;
  }
  .hero-chip strong {
    font-size: 17px;
  }
  .hero-note {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
    transform: none;
  }
  .hero-scene .hero__halo {
    inset: -18px -14px -12px -18px;
  }
}

@media (max-width: 420px) {
  .hero__visual.hero-scene {
    max-width: 350px;
  }
  .hero-chip--temp {
    top: 26%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-mother,
  .scene-head,
  .scene-baby,
  .scene-mobile,
  .scene-plant,
  .scene-lamp,
  .scene-breath path,
  .scene-star {
    animation: none !important;
  }
}

/* =========================================================
   Print
   ========================================================= */

@media print {
  @page {
    margin: 14mm;
  }
  :root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-soft: #ffffff;
    --ink: #111111;
    --ink-soft: #333333;
    --ink-muted: #555555;
    --line: rgba(0, 0, 0, 0.16);
    --line-strong: rgba(0, 0, 0, 0.3);
  }
  body {
    background: #fff;
    color: #111;
    font-size: 10pt;
    line-height: 1.5;
  }
  .js [data-intro],
  .js [data-reveal],
  [data-intro],
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .draw-line,
  .night-chart__line {
    stroke-dashoffset: 0 !important;
  }
  .night-chart__area {
    opacity: 1 !important;
  }
  body::before {
    content: "El manual del bebé · guía educativa para noches difíciles · no sustituye una valoración médica";
    display: block;
    margin-bottom: 8mm;
    padding-bottom: 3mm;
    border-bottom: 1px solid #999;
    font-size: 8pt;
    letter-spacing: 0.04em;
  }
  .site-header,
  .mobile-nav,
  .reading-progress,
  .page-noise,
  .back-to-top,
  .skip-link,
  .hero__visual,
  .hero__aura,
  .hero__foot,
  .hero__moon,
  .quick-section,
  .interlude,
  .care-band__art,
  .emergency-quote__art,
  .compass-controls,
  .compass-footnote,
  .footer-hero__aside,
  .footer-actions,
  .offline-chip,
  .back-to-top,
  #installApp,
  .theme-toggle,
  .menu-toggle,
  .plan-card,
  .med-still,
  .nasal-art,
  .kit-art-card,
  .emergency-art {
    display: none !important;
  }
  .hero {
    padding: 0 0 8mm;
    background: #fff !important;
    min-height: 0;
  }
  .hero__grid {
    display: block;
    min-height: 0;
    padding: 0;
  }
  .hero__title {
    font-size: 28pt;
  }
  .hero__lead {
    font-size: 10pt;
  }
  .hero__meta {
    font-size: 8pt;
  }
  .section,
  .colds-section,
  .compass-section,
  .emergency-section,
  .faq-section,
  .site-footer {
    padding: 8mm 0 !important;
    background: #fff !important;
    color: #111 !important;
  }
  section {
    break-inside: auto;
  }
  .container {
    width: 100%;
  }
  .section-head__grid,
  .compass-head__grid,
  .faq-head__grid,
  .footer-hero,
  .footer-grid,
  .thermo-layout,
  .med-grid,
  .med-options__head,
  .med-questions,
  .support-grid,
  .not-alt__head,
  .not-alt__grid,
  .nasal-head,
  .dose-panel__body,
  .cold-help,
  .accident-grid,
  .kit-layout,
  .emergency-head__grid,
  .emergency-grid {
    display: block !important;
  }
  .section-head,
  .compass-head,
  .faq-head,
  .footer-hero {
    margin-bottom: 6mm;
  }
  h1, h2, h3, h4 {
    color: #111 !important;
    page-break-after: avoid;
  }
  h2 {
    font-size: 22pt !important;
  }
  h3 {
    font-size: 15pt !important;
  }
  .temp-scale,
  .night-curve,
  .thermo-pick,
  .thermo-option,
  .measure-card,
  .med-card,
  .med-options__panel,
  .support-card,
  .not-alt,
  .not-alt__item,
  .dose-panel,
  .formula-card,
  .after-note,
  .cooling-panel,
  .cooling-card,
  .cold-card,
  .nasal-block,
  .howto-step,
  .cold-help__column,
  .consult-strip,
  .accident-card,
  .accident-banner,
  .accident-rules,
  .kit-progress-card,
  .kit-panel,
  .kit-warning,
  .kit-tip,
  .redflag,
  .emergency-alert,
  .faq-item,
  .faq-footer,
  .sources {
    background: #fff !important;
    color: #111 !important;
    border: 1px solid #bbb !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
  .night-curve,
  .thermo-pick,
  .dose-panel,
  .nasal-block,
  .kit-progress-card,
  .emergency-section,
  .compass-result,
  .site-footer {
    color: #111 !important;
  }
  .night-curve h3,
  .thermo-pick h3,
  .dose-panel h3,
  .nasal-block h3,
  .compass-result h3,
  .footer-hero h2,
  .redflag h3,
  .emergency-quote p,
  .footer-kicker,
  .section-label,
  .redflag p,
  .dose-panel__head > p,
  .nasal-head__aside p,
  .howto-step p,
  .night-curve__caption {
    color: #222 !important;
  }
  .night-curve em,
  .thermo-pick em,
  .dose-panel em,
  .footer-hero h2 em,
  .section-head h2 em {
    color: #111 !important;
  }
  .night-curve,
  .dose-panel,
  .nasal-block,
  .kit-progress-card,
  .compass-result,
  .emergency-section {
    page-break-inside: avoid;
  }
  .cooling-card,
  .case,
  .redflag {
    break-inside: avoid;
  }
  .after-timeline {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 5mm !important;
  }
  .cold-grid,
  .kit-items,
  .redflags,
  .fever-insights,
  .after-notes {
    display: block !important;
  }
  .cold-card,
  .kit-category,
  .redflag,
  .insight-card,
  .after-note,
  .support-card,
  .not-alt__item {
    margin-bottom: 3mm;
  }
  .support-card,
  .not-alt__item,
  .med-questions li {
    break-inside: avoid;
  }
  .support-grid {
    background: #fff !important;
  }
  .care-band {
    display: block !important;
    background: #fff !important;
    border: 1px solid #bbb !important;
    box-shadow: none !important;
    break-inside: avoid;
  }
  .care-band__copy {
    padding: 0 !important;
  }
  .care-checks li > span {
    background: #f1f1f1 !important;
    color: #333 !important;
  }
  .care-checks p,
  .care-band__note {
    color: #444 !important;
  }
  .emergency-quote {
    display: block !important;
    grid-template-columns: none;
  }
  .cold-card__art {
    display: none !important;
  }
  .kit-item,
  .kit-category {
    break-inside: avoid;
  }
  .kit-item {
    padding: 2mm 0;
  }
  .kit-item input {
    position: static !important;
    width: 12px !important;
    height: 12px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    accent-color: #111;
  }
  .kit-check {
    display: none !important;
  }
  details > summary {
    list-style: none;
  }
  details:not([open]) > *:not(summary) {
    display: block !important;
  }
  details[open] .summary-plus,
  .summary-plus {
    display: none !important;
  }
  .faq-item__body {
    padding: 0 0 3mm !important;
  }
  .sources__body {
    display: block !important;
    padding-bottom: 0;
  }
  .footer-nav,
  .footer-emergency,
  .footer-disclaimer,
  .footer-bottom {
    margin-top: 4mm;
  }
  .footer-disclaimer p,
  .sources__body a,
  .sources__body > p {
    color: #444 !important;
  }
  .weight-table {
    min-width: 0;
  }
  .weight-table th,
  .weight-table td {
    color: #111 !important;
    border-color: #bbb !important;
  }
  .weight-details summary {
    color: #111;
    padding-top: 4mm;
  }
  .plan-card,
  .hero-float,
  .page-noise,
  .reading-progress,
  #kitPrint,
  #kitReset,
  .emergency-number {
    display: none !important;
  }
  a {
    color: #111 !important;
    text-decoration: none;
  }
  .text-link {
    border-bottom: 0;
  }
  .weight-details[open] .weight-details__body,
  .sources[open] .sources__body {
    display: block !important;
  }

  /* La curva también debe leerse en papel. */
  .night-curve {
    --night-text: #111111;
    --night-muted: #444444;
  }
  .night-curve .card-kicker,
  .night-curve .card-kicker__hint,
  .night-curve .curve-facts span,
  .night-curve__caption {
    color: #444 !important;
  }
  .night-curve .curve-facts strong {
    color: #111 !important;
  }
  .curve-chart .curve-grid {
    stroke-opacity: 0.18;
  }
  .curve-chart .curve-axis {
    stroke-opacity: 0.4;
  }
  .curve-chart__y,
  .curve-chart__x {
    color: #333 !important;
  }
  .curve-annotation {
    color: #111 !important;
    background: #fff !important;
    border-color: #bbb !important;
    box-shadow: none !important;
    backdrop-filter: none;
  }
  .curve-chart__area,
  .curve-point {
    opacity: 1 !important;
    animation: none !important;
  }
  .curve-chart .draw-line {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
  .curve-tracer,
  .curve-tracer-halo {
    display: none !important;
  }

  /* Impresión dedicada: solo la lista del botiquín. */
  body.print-kit .site-header,
  body.print-kit .mobile-nav,
  body.print-kit .reading-progress,
  body.print-kit .page-noise,
  body.print-kit .site-footer,
  body.print-kit .back-to-top,
  body.print-kit .skip-link {
    display: none !important;
  }
  body.print-kit main > section:not(#botiquin) {
    display: none !important;
  }
  body.print-kit #botiquin {
    padding: 0 !important;
    background: #fff !important;
    color: #111 !important;
    break-inside: auto !important;
  }
  body.print-kit #botiquin .section-head {
    margin-bottom: 5mm !important;
  }
  body.print-kit #botiquin .section-head__copy {
    max-width: none;
  }
  body.print-kit #botiquin .kit-aside,
  body.print-kit #botiquin .kit-warning,
  body.print-kit #botiquin .kit-tip {
    display: none !important;
  }
  body.print-kit #botiquin .kit-layout {
    display: block !important;
    break-inside: auto !important;
  }
  body.print-kit #botiquin .kit-panel {
    padding: 0 !important;
    border: 0 !important;
    break-inside: auto !important;
  }
  body.print-kit #botiquin .kit-category {
    break-inside: avoid;
    padding: 4mm 0 !important;
  }
  body.print-kit #botiquin .kit-items {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 7mm !important;
  }
  body.print-kit #botiquin .kit-item {
    padding: 1.4mm 0 !important;
    break-inside: avoid;
  }
}
