:root {
  --prevention-ink: #082b31;
  --prevention-green: #19755f;
  --prevention-mint: #dff1e7;
  --prevention-gold: #f5b82e;
  --prevention-cream: #f7f5ee;
  --prevention-red: #d9252a;
}

.prevention-page { background: var(--prevention-cream); color: var(--prevention-ink); }
.prevention-header { color: #fff; }
.prevention-header .header-inner { border-bottom-color: rgba(255,255,255,.22); }
.prevention-header .main-nav ul { gap: clamp(.9rem, 1.8vw, 1.55rem); }

.prevention-hero { min-height: 48rem; padding: calc(var(--header-height) + 6.25rem) 0 5.5rem; background: linear-gradient(118deg, #062d33 0%, #0b4e48 58%, #287555 100%); color: #fff; }
.prevention-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 7rem); align-items: end; }
.prevention-kicker, .section-label { margin: 0 0 .85rem; color: #aedc9b; font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.prevention-hero h1 { margin: 0; font-size: clamp(5rem, 9vw, 8rem); line-height: .82; letter-spacing: -.075em; }
.prevention-hero h1 span { color: #c8e49c; font-weight: 500; }
.prevention-hero-copy > p:last-child { max-width: 37rem; margin: 2.2rem 0 0; color: rgba(255,255,255,.8); font-size: 1.08rem; }
.prevention-quick-nav { border-top: 2px solid rgba(255,255,255,.65); }
.prevention-quick-nav a { display: grid; grid-template-columns: 8rem 1fr auto; gap: 1rem; align-items: center; min-height: 5rem; border-bottom: 1px solid rgba(255,255,255,.24); color: #fff; text-decoration: none; }
.prevention-quick-nav a span { color: #bcd5cf; font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.prevention-quick-nav a strong { font-size: 1rem; }
.prevention-quick-nav a i { font-style: normal; transition: transform .2s ease; }
.prevention-quick-nav a:hover i { transform: translateY(.25rem); }

.prevention-principle { background: var(--prevention-gold); }
.prevention-principle .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; padding-block: 1.6rem; align-items: center; }
.prevention-principle strong { font-size: 1.08rem; line-height: 1.35; }
.prevention-principle p { margin: 0; }

.prevention-levels, .action-section, .directory-section { padding: 7rem 0; }
.prevention-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.prevention-section-heading > div { max-width: 47rem; }
.prevention-section-heading h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: .98; letter-spacing: -.055em; }
.prevention-section-heading > p { max-width: 30rem; margin: 0; color: #5c6d6b; }
.section-label { color: var(--prevention-green); }

.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.level-card { display: flex; flex-direction: column; min-height: 38rem; border: 1px solid #cad6ce; border-radius: 1.5rem; overflow: hidden; background: #fff; box-shadow: 0 16px 36px rgba(8,43,49,.06); }
.level-card header { min-height: 15rem; padding: 2rem; }
.level-card header span { display: block; margin-bottom: 3rem; font-size: .73rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.level-card h3 { margin: 0 0 .8rem; font-size: 1.75rem; line-height: 1.05; }
.level-card header p { margin: 0; }
.level-universal header { background: #dcefd6; color: #174f31; }
.level-selective header { background: #dcebee; color: #103f50; }
.level-indicated header { background: #fff0c9; color: #63450e; }
.compact-list { display: grid; gap: .7rem; margin: 0; padding: 1.6rem 2rem 2rem; list-style: none; }
.compact-list li { position: relative; padding-left: 1.25rem; color: #425653; font-size: .9rem; }
.compact-list li::before { content: ""; position: absolute; top: .62rem; left: 0; width: .42rem; height: .42rem; border-radius: 50%; background: var(--prevention-green); }
.evidence-note { max-width: 62rem; margin: 2rem 0 0; padding-left: 1rem; border-left: 3px solid var(--prevention-gold); color: #536865; font-size: .87rem; }
.evidence-note a { color: var(--prevention-green); font-weight: 800; }

.audience-section { padding: 7rem 0; background: var(--prevention-ink); color: #fff; }
.audience-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.audience-intro h2 { margin: 0 0 1.25rem; font-size: clamp(3.2rem, 6vw, 5.5rem); line-height: .9; letter-spacing: -.06em; }
.audience-intro > p:last-child { margin: 0; color: rgba(255,255,255,.67); }
.audience-tablist { display: flex; gap: .45rem; margin-bottom: 1rem; padding: .35rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; }
.audience-tablist button { flex: 1; min-height: 2.9rem; padding: .6rem .85rem; border: 0; border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: .83rem; font-weight: 850; cursor: pointer; }
.audience-tablist button[aria-selected="true"] { background: var(--prevention-gold); color: #24320f; }
.audience-panel { min-height: 26rem; padding: clamp(2rem, 5vw, 3.3rem); border-radius: 1.6rem; background: #fff; color: var(--prevention-ink); }
.audience-panel[hidden] { display: none; }
.audience-panel > div { padding-bottom: 2rem; border-bottom: 1px solid #ced9d5; }
.audience-panel > div span { color: var(--prevention-green); font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.audience-panel h3 { max-width: 36rem; margin: .8rem 0; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1; letter-spacing: -.04em; }
.audience-panel p { margin: 0; color: #60716f; }
.audience-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.audience-panel li { padding-left: 1.2rem; border-left: 3px solid var(--prevention-gold); font-size: .92rem; font-weight: 700; }

.action-section { background: #fff; }
.action-path { margin: 0; padding: 0; border-top: 2px solid var(--prevention-ink); list-style: none; }
.action-path li { display: grid; grid-template-columns: minmax(9rem, .42fr) 1fr; gap: 3rem; padding: 2rem 0; border-bottom: 1px solid #bdcbc5; }
.action-word { color: var(--prevention-green); font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 900; letter-spacing: -.045em; }
.action-path h3 { margin: 0 0 .45rem; font-size: 1.25rem; }
.action-path p { max-width: 48rem; margin: 0; color: #526663; }

.support-guides { padding: 7rem 0; background: #edf2eb; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.friend-card, .professional-card { padding: clamp(2rem, 5vw, 3.5rem); border-radius: 1.6rem; }
.friend-card { background: var(--prevention-gold); color: #253018; }
.professional-card { background: #fff; }
.support-guides h2 { margin: 0 0 1.5rem; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: .98; letter-spacing: -.05em; }
.friend-card blockquote { margin: 0 0 1.5rem; padding: 1.25rem 0 1.25rem 1.25rem; border-left: 3px solid currentColor; font-size: 1.05rem; font-weight: 800; }
.support-guides ul { margin: 0; padding-left: 1.2rem; }
.support-guides li + li { margin-top: .6rem; }
.professional-card > p:not(.section-label) { color: #506461; }
.clarification { margin-top: 2rem; padding: 1.2rem; border: 1px solid #b7c8c0; border-radius: 1rem; }
.clarification strong { color: var(--prevention-green); }
.clarification p { margin: .35rem 0 0; }

.emergency-section { padding: 5.5rem 0; background: var(--prevention-red); color: #fff; }
.emergency-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 8vw, 7rem); }
.emergency-callout > p:first-child { margin: 0 0 2rem; font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.emergency-callout h2 { margin: 0 0 1.5rem; font-size: clamp(3.6rem, 7vw, 6.5rem); line-height: .85; letter-spacing: -.07em; }
.emergency-callout h2 a { text-decoration: none; }
.emergency-callout > p:last-child { max-width: 34rem; margin: 0; color: rgba(255,255,255,.82); }
.emergency-signs { padding-left: 2.5rem; border-left: 2px solid rgba(255,255,255,.55); }
.emergency-signs h3 { margin: 0 0 1.4rem; font-size: 1.3rem; }
.emergency-signs ul { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.emergency-signs li { position: relative; padding-left: 1.25rem; font-weight: 750; }
.emergency-signs li::before { content: "!"; position: absolute; left: 0; font-weight: 950; }

.directory-section { background: var(--prevention-cream); }
.directory-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.directory-card { display: flex; flex-direction: column; min-height: 31rem; padding: 2rem; border: 1px solid #c7d3cc; border-radius: 1.35rem; background: #fff; }
.directory-featured { background: #dcefd6; }
.directory-card-heading { padding-bottom: 1.4rem; border-bottom: 1px solid #c5d1cb; }
.directory-card-heading span { color: var(--prevention-green); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.directory-card h3 { margin: .65rem 0 0; font-size: 1.75rem; line-height: 1.05; }
.directory-phone { display: block; margin: 1.5rem 0; color: var(--prevention-ink); font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 900; letter-spacing: -.04em; text-underline-offset: .25rem; }
.directory-variable { font-size: 1.45rem; }
.directory-card dl { margin: 0 0 2rem; }
.directory-card dl div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #dbe3df; }
.directory-card dt { color: #60736d; font-size: .75rem; font-weight: 850; text-transform: uppercase; }
.directory-card dd { margin: 0; font-size: .88rem; }
.directory-link { width: fit-content; margin-top: auto; color: var(--prevention-green); font-weight: 850; text-underline-offset: .25rem; }
.health-notice { padding: 2rem 0; background: #d9e6df; }
.health-notice .container { display: grid; grid-template-columns: 10rem 1fr; gap: 2rem; }
.health-notice p { margin: 0; }

.prevention-page [data-reveal] { opacity: 0; transform: translateY(1.2rem); transition: opacity .5s ease, transform .5s ease; }
.prevention-page [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 72rem) {
  .prevention-hero { min-height: auto; padding-top: calc(var(--header-height) + 4rem); }
  .prevention-hero-grid, .audience-layout { grid-template-columns: 1fr; }
  .prevention-hero-copy { max-width: 58rem; }
  .prevention-hero-copy > p:last-child { margin-bottom: 1.5rem; }
  .prevention-quick-nav { max-width: 52rem; }
  .prevention-principle .container { grid-template-columns: 1fr; gap: .4rem; }
  .level-grid { grid-template-columns: 1fr 1fr; }
  .level-card:last-child { grid-column: 1 / -1; min-height: auto; }
  .support-grid, .emergency-layout { grid-template-columns: 1fr; }
  .emergency-signs { padding: 2rem 0 0; border-left: 0; border-top: 2px solid rgba(255,255,255,.55); }
}

@media (max-width: 64rem) {
  .prevention-header .main-nav { background: #fff; color: var(--prevention-ink); }
}

@media (max-width: 43rem) {
  .prevention-hero { padding-top: calc(var(--header-height) + 3rem); padding-bottom: 4rem; }
  .prevention-hero h1 { font-size: clamp(4.3rem, 21vw, 6rem); }
  .prevention-quick-nav a { grid-template-columns: 1fr auto; padding-block: .75rem; }
  .prevention-quick-nav a span { grid-column: 1 / -1; }
  .prevention-levels, .audience-section, .action-section, .support-guides, .directory-section { padding-block: 4.5rem; }
  .prevention-section-heading { display: block; }
  .prevention-section-heading > p { margin-top: 1.25rem; }
  .level-grid, .directory-grid { grid-template-columns: 1fr; }
  .level-card, .directory-card { min-height: auto; }
  .level-card:last-child { grid-column: auto; }
  .audience-tablist { display: grid; border-radius: 1rem; }
  .audience-tablist button { border-radius: .7rem; }
  .audience-panel ul, .emergency-signs ul { grid-template-columns: 1fr; }
  .action-path li { grid-template-columns: 1fr; gap: .6rem; }
  .health-notice .container { grid-template-columns: 1fr; gap: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .prevention-page [data-reveal] { opacity: 1; transform: none; }
}

/* Páginas informativas del pie de página */
.info-page { background: var(--prevention-cream); color: var(--prevention-ink); }
.info-header { color: var(--prevention-ink); }
.info-header .header-inner { border-bottom-color: rgba(8,43,49,.2); }
.info-header .menu-toggle { border-color: var(--prevention-ink); color: var(--prevention-ink); }
.info-hero { padding: calc(var(--header-height) + 6rem) 0 5rem; background: #dcebe2; }
.info-hero p { margin: 0 0 .8rem; color: var(--prevention-green); font-size: .76rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.info-hero h1 { margin: 0; font-size: clamp(4.5rem, 10vw, 8rem); line-height: .82; letter-spacing: -.075em; }
.info-hero span { display: block; max-width: 42rem; margin-top: 1.8rem; font-size: 1.12rem; }
.info-content { max-width: 58rem; padding-block: 6rem; }
.info-content > header { padding-bottom: 3rem; border-bottom: 2px solid var(--prevention-ink); }
.info-content h2 { margin: 0 0 1rem; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1; letter-spacing: -.04em; }
.info-content p { color: #4f625f; }
.info-content section { padding: 2.5rem 0; border-bottom: 1px solid #bfccc6; }
.info-content a { color: var(--prevention-green); font-weight: 800; }
.source-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #bfccc6; }
.source-list li { border-bottom: 1px solid #bfccc6; }
.source-list a { display: grid; grid-template-columns: minmax(11rem,.45fr) 1fr; gap: 2rem; padding: 1.2rem 0; text-decoration: none; }
.source-list a:hover strong { text-decoration: underline; text-underline-offset: .25rem; }
.source-list span { color: #536865; font-weight: 400; }
.info-update { margin-top: 3rem; padding: 1rem; border-left: 3px solid var(--prevention-gold); background: #fff; font-size: .87rem; }

@media (max-width: 64rem) {
  .info-header .main-nav { background: #fff; color: var(--prevention-ink); }
}

@media (max-width: 43rem) {
  .info-hero { padding-top: calc(var(--header-height) + 3rem); }
  .info-content { padding-block: 4rem; }
  .source-list a { grid-template-columns: 1fr; gap: .35rem; }
}
