/* IDDA V13.21 — escala tipográfica clínica y responsive */
:root{
  --idda-fs-hero:clamp(40px,4.25vw,58px);
  --idda-fs-page-h1:clamp(34px,3.65vw,50px);
  --idda-fs-h2:clamp(27px,2.55vw,36px);
  --idda-fs-h3:clamp(20px,1.65vw,24px);
  --idda-fs-lead:17px;
  --idda-fs-body:16px;
}

/* Portada */
body:not(.v12-page-shell) .hero h1{
  font-size:var(--idda-fs-hero)!important;
  line-height:1.06!important;
  letter-spacing:-1.35px!important;
  max-width:590px!important;
}
body:not(.v12-page-shell) h2{
  font-size:clamp(29px,2.65vw,40px)!important;
  line-height:1.12!important;
  letter-spacing:-.65px!important;
}
body:not(.v12-page-shell) h3{
  font-size:clamp(19px,1.55vw,23px);
  line-height:1.22;
}
body:not(.v12-page-shell) .hero p,
body:not(.v12-page-shell) .lead{
  font-size:17px!important;
  line-height:1.65!important;
}

/* Páginas clínicas / patologías / perfiles */
.pathology-page .p-hero h1,
.pathology-page h1{
  font-size:var(--idda-fs-page-h1)!important;
  line-height:1.08!important;
  letter-spacing:-.018em!important;
  max-width:720px;
}
.pathology-page .p-section h2,
.pathology-page h2{
  font-size:var(--idda-fs-h2)!important;
  line-height:1.16!important;
  letter-spacing:-.012em!important;
}
.pathology-page h3{
  font-size:var(--idda-fs-h3)!important;
  line-height:1.25!important;
}
.pathology-page .p-type h3,
.pathology-page .p-card h3{
  font-size:23px!important;
  line-height:1.22!important;
}
.pathology-page .p-lead{
  font-size:var(--idda-fs-lead)!important;
  line-height:1.68!important;
  max-width:720px;
}
.pathology-page .p-section p,
.pathology-page .p-section li{
  font-size:var(--idda-fs-body)!important;
  line-height:1.72!important;
}
.pathology-page .p-final h2{
  font-size:clamp(28px,2.5vw,36px)!important;
}

/* Landing pages heredadas */
.hero h1{
  font-size:var(--idda-fs-page-h1);
  line-height:1.08;
}
.two-col h2,.options h2,.why h2,.faq h2{
  font-size:36px;
  line-height:1.12;
}
.final-cta h2{font-size:38px;line-height:1.12}

/* Recursos / páginas institucionales */
.idda-hero h1{
  font-size:var(--idda-fs-hero)!important;
  line-height:1.04!important;
}
.resource-head h2,.profile-copy h2,.regional-copy h2{
  font-size:clamp(30px,2.7vw,38px)!important;
  line-height:1.1!important;
}
.resource-card h3{font-size:23px!important}
.verification-box h3,.google-box h3{font-size:25px!important}
.home-resources-heading h2{font-size:clamp(29px,2.8vw,40px)!important}

/* Mantiene subtítulos y etiquetas discretos */
.eyebrow,.p-kicker,.integrity-kicker,.resource-eyebrow{
  font-size:11px!important;
}

@media(max-width:900px){
  :root{
    --idda-fs-page-h1:clamp(33px,6vw,44px);
    --idda-fs-h2:clamp(26px,4.4vw,33px);
  }
  body:not(.v12-page-shell) .hero h1{font-size:clamp(38px,6.2vw,50px)!important}
  .two-col h2,.options h2,.why h2,.faq h2{font-size:32px}
}

@media(max-width:580px){
  :root{
    --idda-fs-page-h1:32px;
    --idda-fs-h2:25px;
    --idda-fs-h3:20px;
    --idda-fs-lead:16px;
    --idda-fs-body:15.5px;
  }
  body:not(.v12-page-shell) .hero h1{
    font-size:36px!important;
    line-height:1.08!important;
    letter-spacing:-.7px!important;
  }
  body:not(.v12-page-shell) h2{font-size:28px!important}
  body:not(.v12-page-shell) h3{font-size:20px}
  .pathology-page .p-hero h1,
  .pathology-page h1{
    font-size:32px!important;
    line-height:1.1!important;
  }
  .pathology-page .p-section h2,
  .pathology-page h2{font-size:25px!important}
  .pathology-page h3{font-size:20px!important}
  .pathology-page .p-type h3,
  .pathology-page .p-card h3{font-size:18px!important}
  .pathology-page .p-final h2{font-size:26px!important}
  .idda-hero h1{font-size:36px!important}
  .resource-head h2,.profile-copy h2,.regional-copy h2{font-size:30px!important}
  .final-cta h2{font-size:31px}
}
