.card-hero{padding-top:clamp(6rem,12vw,10rem);padding-bottom:clamp(5rem,10vw,8rem)}
.card-hero h1,.card-section h2,.card-final h2{max-width:23ch;color:var(--ink-deep)}
.card-hero h1 span,.card-section h2 span,.card-final h2 span{color:var(--teal)}
.card-hero p,.card-section>p{max-width:58rem;color:var(--muted);font-size:clamp(1.05rem,2vw,1.25rem);line-height:1.65}
.card-section{padding:clamp(4rem,8vw,7rem) 0}.card-section h2{font-size:clamp(2.2rem,5vw,4.5rem);line-height:1.03}.card-section>small,.sources p{color:var(--muted);line-height:1.5}.dark-section{background:var(--ink-deep);color:#fff;border-radius:2.5rem;padding-inline:clamp(1.25rem,5vw,5rem)}.dark-section h2{color:#fff}.dark-section h2 span{color:var(--teal-soft)}.dark-section>p,.dark-section>small{color:rgba(255,255,255,.78)}
.cardio-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;margin-top:2.5rem}.cardio-kpis article,.risk-grid article,.cardio-note,.agenda-card,.chat-card{border:1px solid var(--line,#d8e5e7);border-radius:1rem;padding:1.25rem;background:rgba(255,255,255,.7)}.cardio-kpis strong{display:block;font-size:clamp(2rem,4vw,3.5rem);color:var(--teal);font-weight:800}.cardio-kpis b{display:block;color:var(--ink-deep);margin-top:.5rem}.cardio-kpis small{display:block;color:var(--muted);margin-top:.75rem;line-height:1.4}.cardio-kpis.compact{grid-template-columns:repeat(5,minmax(0,1fr))}.cardio-kpis.compact article{min-height:9rem}.cardio-kpis.compact strong{font-size:2.6rem}.cardio-chart{display:grid;gap:1rem;max-width:55rem;margin:2rem 0}.chart-bar{display:grid;grid-template-columns:13rem 1fr;align-items:center;gap:1rem}.chart-bar i{display:block;height:2rem;width:var(--bar);background:linear-gradient(90deg,var(--teal),#63e2e1);border-radius:999px}.chart-bar b{color:var(--ink-deep)}.cardio-chart>strong{font-size:3rem;color:var(--teal)}.cardio-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin:2rem 0}.cardio-timeline span{padding:1rem;border-bottom:3px solid var(--teal);color:var(--muted)}.cardio-timeline b{display:block;font-size:1.8rem;color:var(--ink-deep);margin-top:.5rem}.aging{max-width:50rem}.risk-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin:2rem 0}.risk-grid b,.flow-grid b{display:block;color:var(--teal);font-size:.8rem;letter-spacing:.08em}.risk-grid strong{display:block;font-size:1.5rem;margin-top:.7rem;color:var(--ink-deep)}.risk-grid small{color:var(--muted)}.big-number{font-size:clamp(3rem,8vw,7rem);font-weight:800;color:var(--teal-soft);margin:2rem 0}.big-number small{display:block;font-size:1.1rem;color:#fff;max-width:20rem}.flow-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-top:2rem}.flow-grid article{border:1px solid rgba(255,255,255,.25);border-radius:1rem;padding:1.25rem}.flow-grid span{display:block;margin-top:.7rem;color:rgba(255,255,255,.8);line-height:1.5}.dual{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}.dual>div:not(.cardio-note){padding:1.5rem;border-top:3px solid var(--teal)}.dual h2{font-size:clamp(2rem,4vw,3rem)}.dual .cardio-note{grid-column:1/-1}.chat-card{max-width:48rem;margin:2rem 0;background:#fff;color:var(--ink-deep)}.chat-card p{padding:.5rem 0;border-bottom:1px solid var(--line);line-height:1.5}.flow-line{font-size:clamp(1.1rem,2.5vw,2rem);line-height:1.9;color:var(--teal);font-weight:700;margin:2rem 0}.flow-line b{color:var(--muted);padding:0 .35rem}.agenda-card{display:grid;gap:.5rem;max-width:24rem;margin:2rem 0}.agenda-card b{color:var(--muted);font-size:.8rem;letter-spacing:.08em}.agenda-card strong{font-size:1.5rem;color:var(--ink-deep)}.agenda-card em{color:#1d8b70;font-style:normal}.vertical-flow{display:grid;gap:.5rem;max-width:32rem;margin:2rem 0}.vertical-flow span{padding:1rem 1.25rem;border-left:4px solid var(--teal);background:#f2fbfb;color:var(--ink-deep);font-weight:700}.cardio-sim{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;max-width:62rem;margin:2rem 0}.cardio-sim label{display:grid;gap:.4rem;color:#fff;font-weight:700}.cardio-sim input{border:0;border-radius:.6rem;padding:1rem;font:inherit}.cardio-sim button{justify-self:start}.sim-result{border-top:1px solid rgba(255,255,255,.25);padding-top:1rem}.authority{display:grid;grid-template-columns:1.4fr .6fr;gap:2rem;align-items:center}.authority h2{color:#fff}.authority figure{margin:0;text-align:center}.authority img{width:min(100%,18rem);aspect-ratio:1;border-radius:50%;object-fit:cover}.authority figcaption{color:rgba(255,255,255,.8);margin-top:.75rem}.faq details{border-bottom:1px solid var(--line);padding:1rem 0}.faq summary{cursor:pointer;font-weight:700;color:var(--ink-deep)}.faq details p{color:var(--muted);line-height:1.6}.card-final{padding:clamp(5rem,10vw,9rem) 0}.card-final small{display:block;margin-top:1rem;color:var(--muted)}
@media(max-width:1050px){.cardio-kpis,.cardio-kpis.compact{grid-template-columns:repeat(3,1fr)}.risk-grid{grid-template-columns:repeat(2,1fr)}.cardio-sim{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.card-section{padding:3.5rem 0}.dark-section{border-radius:1.25rem;padding-inline:1.25rem}.cardio-kpis,.cardio-kpis.compact,.cardio-timeline,.risk-grid,.flow-grid,.dual,.authority,.cardio-sim{grid-template-columns:1fr}.chart-bar{grid-template-columns:1fr}.chart-bar i{width:var(--bar)}.cardio-timeline span{display:flex;justify-content:space-between}.dual .cardio-note{grid-column:auto}.card-hero h1,.card-section h2,.card-final h2{max-width:100%}.flow-line{font-size:1.1rem}.cardio-sim button{width:100%}}
/* Separate consecutive dark panels without changing their internal layout. */
.card-section.dark-section + .card-section.dark-section{margin-top:clamp(2rem,3.2vw,3rem)}
@media(max-width:700px){.card-section.dark-section + .card-section.dark-section{margin-top:clamp(1.25rem,5vw,1.75rem)}}
/* Align the authority panel with the shared Health layout used by the other specialty pages. */
.authority{grid-template-columns:.82fr 1.18fr;gap:6rem;position:relative;align-items:center}
.authority-copy h2{max-width:14ch;font-size:clamp(2.25rem,9vw,4.25rem);line-height:1.02;letter-spacing:-.055em;margin-block:1rem 1.25rem}
.authority-copy h2 span{color:var(--teal-soft)}
.authority-copy p{color:rgba(255,255,255,.82);font-size:1rem;line-height:1.75}
.authority-media{display:grid;place-items:center}
@media(max-width:1050px){.authority{grid-template-columns:1fr;gap:3rem}}
/* Cardiologia: same animated heading hierarchy as the shared Oftalmologia Health layer. */
#inicio .card-hero h1 .animated-heading-word,
#inicio .card-hero h1 .animated-heading-character{color:var(--ink-deep)!important}
#inicio .card-hero h1 .animated-heading-word:nth-last-of-type(-n + 3),
#inicio .card-hero h1 .animated-heading-word:nth-last-of-type(-n + 3) .animated-heading-character{color:var(--teal)!important}
#inicio .card-section:not(.dark-section) h2 .animated-heading-word,
#inicio .card-section:not(.dark-section) h2 .animated-heading-character{color:var(--ink-deep)!important}
#inicio .card-section:not(.dark-section) h2 .animated-heading-word:nth-last-of-type(-n + 3),
#inicio .card-section:not(.dark-section) h2 .animated-heading-word:nth-last-of-type(-n + 3) .animated-heading-character{color:var(--teal)!important}
#inicio .card-section.dark-section h2 .animated-heading-word,
#inicio .card-section.dark-section h2 .animated-heading-character{color:#fff!important}
#inicio .card-section.dark-section h2 .animated-heading-word:nth-last-of-type(-n + 3),
#inicio .card-section.dark-section h2 .animated-heading-word:nth-last-of-type(-n + 3) .animated-heading-character{color:var(--teal-soft)!important}

/* Pediatria candidate: keep the shared Cardiology/Health system and tune only new data grids. */
.ped-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.ped-regions{grid-template-columns:repeat(4,1fr)}.ped-dependent-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.ped-birth-chart{max-width:58rem}.ped-birth-chart strong small{display:block;font-size:1rem;color:var(--muted)}
@media(max-width:1050px){.ped-kpis,.ped-dependent-grid{grid-template-columns:repeat(3,1fr)}.ped-regions{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.ped-kpis,.ped-dependent-grid,.ped-regions{grid-template-columns:1fr}}
