/* ======================================================================
   MOLEKLAB · HOJA DE ESTILOS
   Índice: 1. Marca  2. Base  3. Cabecera  4. Inicio  5. Servicios
           6. Nosotros  7. Prevención  8. Proceso  9. Contacto
           10. Pie / diálogo  11. Adaptación móvil  12. Accesibilidad
   Para cambiar la paleta global, edita únicamente las variables de :root.
   ====================================================================== */

/* 1 · MARCA. Fuente variable local: una descarga sirve para todos los pesos. */
@font-face {
  font-family: Manrope;
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --navy: #171d4d;
  --navy-deep: #101538;
  --pink: #c91f52;
  --pink-bright: #e63165;
  --ink: #202645;
  --muted: #62677b;
  --paper: #fff;
  --soft: #f6f7fa;
  --blush: #fcf3f5;
  --line: #e4e6ed;
  --green: #11744a;
  --font: Manrope, Arial, sans-serif;
  --content: 1200px;
  --radius: 18px;
}

/* 2 · BASE. border-box facilita calcular el ancho en cualquier dispositivo. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
svg {
  display: inline-block;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.15;
}
h2 {
  font-size: clamp(32px, 3.35vw, 46px);
  font-weight: 700;
  letter-spacing: -1.8px;
}
h3 {
  font-weight: 700;
  letter-spacing: -0.55px;
}
p {
  color: var(--muted);
}
::selection {
  background: #f6d5e1;
  color: var(--navy);
}
[hidden] {
  display: none !important;
}
.container {
  width: min(var(--content), calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding: 100px 0;
}
.section-anchor {
  scroll-margin-top: 20px;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.1px;
  color: var(--pink);
  line-height: 1.5;
  margin-bottom: 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid var(--navy);
  border-radius: 7px;
  background: var(--navy);
  color: white;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  background: #2b3268;
  transform: translateY(-2px);
  box-shadow: 0 7px 18px #171d4d12;
}
.button-small {
  min-height: 43px;
  padding: 11px 18px;
  gap: 20px;
  font-size: 11px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.6;
  color: var(--navy);
}
.text-link:hover {
  color: var(--pink);
}
.text-link .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.text-link:hover .icon {
  transform: translateX(3px);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 44px;
}
.section-heading > p {
  max-width: 340px;
  font-size: 14px;
  line-height: 1.85;
  padding-bottom: 4px;
}
.section-heading .eyebrow {
  margin-bottom: 16px;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 15px;
  padding: 12px 20px;
  background: white;
  color: var(--navy);
  border: 2px solid var(--pink);
  border-radius: 4px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}

/* 3 · CABECERA Y NAVEGACIÓN: consulta css/navigation.css. */

/* 4 · INICIO. La foto tiene dimensiones reservadas para evitar saltos de contenido. */
.hero {
  background: linear-gradient(110deg, #fff 45%, #f7f8fc 100%);
  padding: 56px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy {
  padding: 12px 0 20px;
}
.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 1.9px;
  margin-bottom: 24px;
}
.tiny-spark {
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}
h1 {
  font-size: clamp(44px, 4.9vw, 67px);
  line-height: 1.08;
  letter-spacing: -3.4px;
  font-weight: 700;
}
h1 > span {
  color: var(--pink);
}
.hero-description {
  max-width: 415px;
  font-size: 14px;
  line-height: 1.9;
  margin-top: 24px;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.hero-actions .button {
  font-size: 11px;
  padding: 14px 20px;
  gap: 18px;
}
.hero-actions .text-link {
  font-size: 10px;
  gap: 7px;
}
.hero-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
}
.note-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--pink);
}
.note-icon .icon {
  width: 16px;
  height: 16px;
}
.hero-note p {
  font-size: 10px;
  line-height: 1.65;
}
.hero-note strong {
  font-weight: 600;
  color: var(--ink);
}
.hero-visual {
  position: relative;
  margin: 0 0 26px;
  min-width: 0;
}
.hero-photo {
  height: 488px;
  border-radius: 100px 14px 14px 14px;
  overflow: hidden;
  background: #d8e4ed;
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}
.hero-photo picture {
  display: block;
  height: 100%;
}
.photo-caption {
  position: absolute;
  right: 13px;
  bottom: 12px;
  font-size: 8px;
  letter-spacing: 0.25px;
  color: white;
  padding: 2px 7px;
  border-radius: 3px;
  background: #171d4d99;
}
.image-corner {
  position: absolute;
  top: -28px;
  right: 20px;
  color: var(--pink);
  font-size: 67px;
  line-height: 1;
  text-shadow: 0 2px 0 white;
}
.photo-label {
  position: absolute;
  bottom: 24px;
  left: -29px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: white;
  padding: 19px 22px;
  border: 1px solid #f0f0f5;
  border-radius: 10px;
  box-shadow: 0 12px 45px #171d4d12;
}
.label-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--pink);
}
.label-icon .icon {
  width: 25px;
  height: 25px;
}
.photo-label div > span {
  display: block;
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--muted);
  margin-bottom: 4px;
}
.photo-label strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}
.photo-index {
  position: absolute;
  bottom: -26px;
  right: 0;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #70758c;
}
.specialty-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 48px;
}
.specialty-strip a {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 23px 28px;
  font-size: 12px;
  font-weight: 650;
  position: relative;
}
.specialty-strip a:first-child {
  padding-left: 0;
}
.specialty-strip a:last-child {
  padding-right: 0;
}
.specialty-strip a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--line);
}
.specialty-strip span {
  color: var(--pink);
  font-size: 9px;
  font-weight: 600;
}
.specialty-strip .icon {
  margin-left: auto;
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.specialty-strip a:hover {
  color: var(--pink);
}

/* 5 · SERVICIOS. Grid automático y tarjetas con enlaces reales. */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 31px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: #b8bdd0;
}
.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 30px;
}
.service-icon {
  width: 43px;
  height: 43px;
  stroke: var(--pink);
  stroke-width: 1.5;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.service-top span {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
.service-card h3 {
  font-size: 21px;
  margin-bottom: 14px;
}
.service-card > p {
  font-size: 12px;
  line-height: 1.85;
  min-height: 68px;
}
.check-list {
  padding: 0;
  margin: 22px 0 27px;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 11px;
}
.check-list li {
  padding-left: 20px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  color: var(--pink);
  position: absolute;
  left: 0;
  font-size: 12px;
  font-weight: 700;
}
.service-link {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
}
.service-link .icon {
  width: 18px;
  height: 18px;
}
.service-card-featured {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.service-card-featured h3 {
  color: white;
}
.service-card-featured p,
.service-card-featured .service-top span {
  color: #d6d9e9;
}
.service-card-featured .service-icon,
.service-card-featured li::before {
  color: #ff95b4;
  stroke: #ff95b4;
}
.service-card-featured .service-link {
  border-color: #ffffff26;
}
.service-link:hover {
  color: var(--pink);
}
.service-card-featured .service-link:hover {
  color: #ff95b4;
}
.section-footnote {
  font-size: 11px;
  text-align: center;
  margin-top: 28px;
}

/* 6 · NOSOTROS. Composición de marca en CSS: liviana y sin imágenes extra. */
.about {
  background: var(--soft);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}
.about-art {
  height: 510px;
  background: #eef0f6;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
.brand-art {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 310px;
}
.brand-art img {
  width: 100%;
  opacity: 0.94;
  mix-blend-mode: multiply;
}
.orbit {
  position: absolute;
  width: 365px;
  height: 365px;
  border: 1px solid #c8ccdc99;
  border-radius: 50%;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
}
.orbit-two {
  width: 465px;
  height: 465px;
  top: -60px;
  border-style: dashed;
  border-color: #c8ccdc66;
}
.art-label {
  position: absolute;
  font-size: 8px;
  letter-spacing: 1.6px;
  font-weight: 700;
  padding: 7px 14px;
  background: #ffffffee;
  border: 1px solid #e4e6ed;
  border-radius: 40px;
  color: var(--navy);
}
.art-label-one {
  top: 59px;
  left: 27px;
}
.art-label-two {
  top: 142px;
  right: 20px;
}
.art-label-three {
  top: 297px;
  left: 35px;
}
.about-art-bottom {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 34px;
  border-top: 1px solid #c8ccdc;
  padding-top: 23px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.about-art-bottom > span {
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-top: 6px;
  color: var(--muted);
}
.about-art-bottom p {
  font-size: 24px;
  font-weight: 650;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.8px;
}
.about-copy .page-title {
  font-size: 39px;
  margin-bottom: 23px;
}
.about-copy > p:not(.eyebrow) {
  font-size: 13px;
  margin-bottom: 14px;
}
.purpose-list {
  margin: 28px 0 29px;
  border-top: 1px solid var(--line);
}
.purpose-list > div {
  display: flex;
  gap: 20px;
  padding-top: 20px;
}
.purpose-number {
  font-size: 10px;
  color: var(--pink);
  padding-top: 3px;
}
.purpose-list h3 {
  font-size: 15px;
  margin-bottom: 7px;
}
.purpose-list p {
  font-size: 12px;
  line-height: 1.8;
}

/* 7 · PREVENCIÓN. Bloque editorial con fuente médica enlazada. */
.prevention {
  background: var(--blush);
  position: relative;
}
.prevention-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.prevention-intro {
  position: relative;
}
.prevention-spark {
  display: block;
  font-size: 48px;
  line-height: 1;
  color: var(--pink);
  margin-bottom: 24px;
}
.prevention-intro .page-title {
  margin-bottom: 24px;
}
.prevention-intro > p:not(.eyebrow) {
  font-size: 13px;
  max-width: 380px;
  margin-bottom: 25px;
  line-height: 1.9;
}
.prevention-info article {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid #e9dce1;
}
.prevention-info article:first-child {
  padding-top: 0;
}
.prevention-info article > span {
  color: var(--pink);
  font-size: 10px;
  font-weight: 700;
  padding-top: 2px;
}
.prevention-info h3 {
  font-size: 17px;
  margin-bottom: 10px;
}
.prevention-info article p {
  font-size: 12px;
  line-height: 1.9;
}
.medical-source {
  font-size: 9px;
  margin-top: 20px;
  line-height: 1.8;
}
.medical-source a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 8 · PROCESO / FAQ. details y summary son controles nativos accesibles. */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin: 55px 0 85px;
}
.steps li {
  border-top: 1px solid var(--line);
  position: relative;
  padding-top: 29px;
}
.steps li > span {
  position: absolute;
  top: -18px;
  background: white;
  padding-right: 17px;
  font-size: 22px;
  font-weight: 500;
  color: var(--pink);
  line-height: 1.5;
}
.steps h3 {
  font-size: 16px;
  margin: 10px 0 12px;
}
.steps p {
  font-size: 12px;
  max-width: 290px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding-top: 62px;
  border-top: 1px solid var(--line);
}
.faq-title {
  font-size: 30px;
  letter-spacing: -1px;
  margin-bottom: 15px;
}
.faq-grid > div > p:not(.eyebrow) {
  font-size: 12px;
  max-width: 250px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  padding: 22px 0;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary .icon {
  width: 16px;
  height: 16px;
  color: var(--pink);
  transition: transform 0.2s;
}
.faq-list details[open] summary .icon {
  transform: rotate(45deg);
}
.faq-list details p {
  padding: 0 30px 23px 0;
  font-size: 12px;
}
.faq-list details p a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--navy);
}

/* 9 · CONTACTO. Sin iframe de Google Maps: se descarga solo si el usuario lo abre. */
.contact {
  background: var(--soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
}
.location-panel {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  border-radius: 12px;
  padding: 38px 40px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.location-panel::after {
  content: "✦";
  position: absolute;
  right: -50px;
  bottom: 25px;
  font-size: 300px;
  line-height: 1;
  color: #ffffff04;
  pointer-events: none;
}
.location-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 46px;
}
.location-top span {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #c3c9e4;
}
.location-top .icon {
  width: 27px;
  height: 27px;
  color: #ff95b4;
}
.location-panel h3 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
  color: white;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}
.location-panel p {
  color: #e0e3f2;
  font-size: 13px;
}
.location-panel .location-city {
  font-size: 11px;
  color: #b4bbd6;
  margin-top: 5px;
}
.button-light {
  margin-top: 30px;
  background: white;
  color: var(--navy);
  border-color: white;
  font-size: 11px;
  min-height: 46px;
  padding: 12px 20px;
  position: relative;
  z-index: 1;
}
.button-light:hover {
  background: #f8eaf0;
}
.location-bottom {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 48px;
  font-size: 9px;
  color: #c3c9e4;
}
.location-bottom .icon {
  width: 17px;
  height: 17px;
  color: #ff95b4;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 18px 0 23px;
  border-bottom: 1px solid #dfe2eb;
}
.contact-row:first-child {
  padding-top: 0;
}
.contact-icon {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  color: var(--pink);
}
.contact-icon .icon {
  width: 19px;
  height: 19px;
}
.contact-row small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-bottom: 3px;
}
.contact-row strong {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.contact-row > .icon {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.contact-row:hover strong {
  color: var(--pink);
}
.consultation {
  padding-top: 28px;
}
.consultation h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.consultation > p {
  font-size: 12px;
  margin-bottom: 17px;
}
.consultation label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--navy);
}
.consultation select {
  width: 100%;
  border: 1px solid #d9dde8;
  border-radius: 6px;
  background: white;
  color: var(--navy);
  padding: 12px 15px;
  font-size: 12px;
  min-height: 46px;
}
.button-whatsapp {
  width: 100%;
  background: var(--green);
  border-color: var(--green);
  margin-top: 12px;
  font-size: 11px;
  gap: 10px;
}
.button-whatsapp:hover {
  background: #0a5d39;
}
.button-whatsapp .icon:last-child {
  margin-left: auto;
  width: 18px;
  height: 18px;
}
.button-whatsapp .icon:first-child {
  width: 20px;
  height: 20px;
  margin-right: auto;
}
.privacy-note {
  display: block;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.8;
  margin-top: 14px;
  max-width: 390px;
}
.consultation-result {
  background: #e8f3ed;
  border-left: 3px solid var(--green);
  padding: 15px;
  margin-top: 15px;
}
.consultation-result p {
  font-size: 12px;
  margin-bottom: 10px;
  color: var(--ink);
}

/* 10 · PIE, WHATSAPP Y PRIVACIDAD. El modal no aparece hasta pulsar el enlace. */
.site-footer {
  padding: 58px 0 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 50px;
  padding-bottom: 46px;
}
.footer-main > div > p {
  font-size: 11px;
  line-height: 1.9;
  margin-top: 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links > span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.6px;
  margin-bottom: 8px;
  color: var(--navy);
}
.footer-links a {
  font-size: 11px;
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--pink);
}
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  min-height: 71px;
  padding-block: 20px;
  font-size: 9px;
  color: var(--muted);
}
.footer-bottom > span {
  margin-right: auto;
}
.privacy-trigger {
  border: 0;
  background: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}
.privacy-trigger:hover {
  color: var(--pink);
}
.floating-whatsapp {
  position: fixed;
  z-index: 25;
  right: 25px;
  bottom: 23px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--green);
  color: white;
  border: 1px solid #ffffff33;
  border-radius: 50px;
  box-shadow: 0 5px 22px #081e2425;
  font-size: 10px;
  font-weight: 650;
  transition: transform 0.2s;
}
.floating-whatsapp:hover {
  transform: translateY(-3px);
}
.floating-whatsapp .icon {
  width: 24px;
  height: 24px;
}
dialog {
  width: min(550px, calc(100% - 38px));
  max-height: calc(100dvh - 50px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  color: var(--ink);
  box-shadow: 0 20px 100px #10153830;
}
dialog::backdrop {
  background: #10153899;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-heading h2 {
  font-size: 27px;
  letter-spacing: -1px;
}
.dialog-close {
  background: var(--soft);
  border: 0;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 25px;
  line-height: 1;
  color: var(--navy);
}
dialog p {
  font-size: 12px;
  margin-top: 15px;
  line-height: 1.9;
}
dialog a {
  color: var(--pink);
  text-decoration: underline;
}

/* 11 · ADAPTACIÓN: 1100px portátil, 900/760px tablet, 480/350px celular. */
@media (min-width: 1500px) {
  .hero-grid {
    gap: 90px;
  }
  .hero-photo {
    height: 530px;
  }
  .hero {
    padding-top: 68px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }

  .hero-grid {
    gap: 35px;
  }
  h1 {
    font-size: 55px;
    letter-spacing: -2.8px;
  }
  .hero-photo {
    height: 470px;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .service-card {
    padding: 25px 20px;
  }
  .service-top {
    gap: 6px;
  }
  .service-top span {
    font-size: 7px;
  }
  .about-grid {
    gap: 45px;
  }
  .about-copy .page-title {
    font-size: 34px;
  }
  .about-art {
    height: 520px;
  }
  .prevention-grid {
    gap: 65px;
  }
  .contact-grid {
    gap: 35px;
  }
  .location-panel {
    padding: 32px;
  }
}
@media (max-width: 900px) {
  .container {
    width: calc(100% - 48px);
  }
  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: 38px;
  }
  .hero-grid {
    gap: 30px;
  }
  h1 {
    font-size: 48px;
    letter-spacing: -2.5px;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px;
  }
  .hero-photo {
    height: 455px;
    border-top-left-radius: 75px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero-note {
    margin-top: 24px;
  }
  .photo-label {
    left: -18px;
    padding: 16px 14px;
    gap: 9px;
  }
  .photo-label strong {
    font-size: 10px;
  }
  .photo-label div > span {
    font-size: 7px;
  }
  .specialty-strip {
    margin-top: 35px;
  }
  .specialty-strip a {
    font-size: 10px;
    padding-inline: 16px;
    gap: 10px;
  }
  .section-heading {
    gap: 35px;
  }
  .section-heading > p {
    max-width: 280px;
    font-size: 12px;
  }
  .service-grid {
    gap: 12px;
  }
  .service-card {
    padding: 23px 16px;
  }
  .service-card h3 {
    font-size: 18px;
  }
  .service-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
  }
  .service-top span {
    font-size: 8px;
  }
  .service-card > p {
    font-size: 11px;
  }
  .check-list {
    font-size: 10px;
  }
  .service-link {
    font-size: 10px;
  }
  .about-grid {
    gap: 30px;
  }
  .about-copy .page-title {
    font-size: 30px;
  }
  .about-art {
    height: 550px;
  }
  .brand-art {
    width: 300px;
  }
  .about-art-bottom {
    flex-direction: column;
    gap: 12px;
    left: 26px;
    right: 26px;
  }
  .art-label-one {
    left: 12px;
  }
  .art-label-two {
    right: 10px;
  }
  .art-label-three {
    left: 20px;
  }
  .prevention-grid {
    gap: 45px;
  }
  .prevention-info article {
    gap: 16px;
  }
  .steps {
    gap: 25px;
  }
  .steps h3 {
    font-size: 14px;
  }
  .faq-grid {
    gap: 40px;
  }
  .contact-grid {
    gap: 30px;
  }
  .location-panel {
    padding: 28px;
  }
  .location-panel h3 {
    font-size: 31px;
  }
  .contact-row strong {
    font-size: 17px;
  }
  .consultation h3 {
    font-size: 18px;
  }
}
@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-copy {
    padding: 5px 0 0;
    max-width: 550px;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  h1 {
    font-size: clamp(49px, 9.4vw, 68px);
    letter-spacing: -2.8px;
  }
  .desktop-break {
    display: none;
  }
  .hero-description {
    font-size: 14px;
    max-width: 450px;
  }
  .hero-actions {
    gap: 23px;
  }
  .hero-note {
    display: none;
  }
  .hero-visual {
    margin: 0 0 20px;
  }
  .hero-photo {
    height: 390px;
    border-radius: 65px 12px 12px 12px;
  }
  .photo-label {
    left: 16px;
    bottom: 20px;
    padding: 16px 18px;
  }
  .photo-label strong {
    font-size: 12px;
  }
  .photo-label div > span {
    font-size: 8px;
  }
  .image-corner {
    font-size: 57px;
    top: -22px;
    right: 20px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    max-width: 440px;
    margin-top: 22px;
  }
  .section-heading h2 {
    font-size: 37px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .service-card {
    padding: 28px;
  }
  .service-top {
    flex-direction: row;
    align-items: center;
    margin-bottom: 24px;
  }
  .service-top span {
    font-size: 9px;
  }
  .service-card h3 {
    font-size: 24px;
  }
  .service-card > p {
    font-size: 13px;
    min-height: 0;
    max-width: 440px;
  }
  .check-list {
    font-size: 12px;
    gap: 8px;
    margin-block: 20px;
  }
  .service-link {
    font-size: 12px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .about-art {
    height: 420px;
  }
  .brand-art {
    top: -23px;
    width: 315px;
  }
  .art-label-three {
    top: 255px;
    left: 40px;
  }
  .art-label-two {
    right: 45px;
    top: 130px;
  }
  .art-label-one {
    left: 45px;
    top: 50px;
  }
  .about-art-bottom {
    flex-direction: row;
    bottom: 24px;
    align-items: center;
  }
  .about-copy .page-title {
    font-size: 37px;
  }
  .prevention-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .prevention-intro > p:not(.eyebrow) {
    max-width: 100%;
  }
  .prevention-intro .page-title {
    font-size: 37px;
  }
  .prevention-spark {
    font-size: 42px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-block: 45px 60px;
  }
  .steps li {
    padding-top: 22px;
  }
  .steps h3 {
    font-size: 18px;
  }
  .steps p {
    max-width: 100%;
    font-size: 13px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 45px;
  }
  .faq-grid > div > p:not(.eyebrow) {
    max-width: 100%;
  }
  .faq-list summary {
    font-size: 13px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .location-panel {
    min-height: 425px;
    padding: 32px;
  }
  .location-panel h3 {
    font-size: 35px;
  }
  .location-top {
    margin-bottom: 30px;
  }
  .contact-options {
    padding: 0 4px;
  }
  .contact-row strong {
    font-size: 21px;
  }
  .consultation h3 {
    font-size: 21px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .footer-main > div:first-child {
    grid-column: 1/-1;
  }
  .footer-main > div > p {
    margin-top: 12px;
  }
  .footer-bottom {
    padding-bottom: 85px;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .container {
    width: calc(100% - 40px);
  }
  .section {
    padding: 62px 0;
  }

  .hero {
    padding-top: 29px;
  }
  .hero-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1.1px;
    margin-bottom: 23px;
  }
  .tiny-spark {
    font-size: 17px;
  }
  h1 {
    font-size: 49px;
    letter-spacing: -2.4px;
    line-height: 1.1;
  }
  .hero-description {
    margin-top: 22px;
    font-size: 13px;
    line-height: 1.9;
  }
  .hero-actions {
    margin-top: 25px;
    gap: 17px;
  }
  .hero-actions .button {
    font-size: 11px;
    min-height: 49px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .hero-grid {
    gap: 34px;
  }
  .hero-photo {
    height: 325px;
    border-top-left-radius: 52px;
  }
  .photo-label {
    left: 12px;
    right: 12px;
    bottom: 18px;
    width: max-content;
    max-width: calc(100% - 24px);
    padding: 13px 15px;
  }
  .photo-label strong {
    font-size: 10px;
  }
  .photo-label div > span {
    font-size: 7px;
  }
  .photo-caption {
    bottom: 3px;
    font-size: 6px;
  }
  .photo-index {
    font-size: 7px;
  }
  .image-corner {
    font-size: 48px;
    right: 15px;
    top: -20px;
  }
  .specialty-strip {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }
  .specialty-strip a,
  .specialty-strip a:first-child,
  .specialty-strip a:last-child {
    padding: 15px 0;
    font-size: 12px;
  }
  .specialty-strip a + a {
    border-top: 1px solid var(--line);
  }
  .specialty-strip a + a::before {
    display: none;
  }
  .specialty-strip span {
    font-size: 9px;
    margin-right: 4px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-heading h2,
  .about-copy .page-title,
  .prevention-intro .page-title {
    font-size: 33px;
    letter-spacing: -1.4px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.6px;
  }
  .section-heading > p {
    font-size: 12px;
    margin-top: 18px;
  }
  .service-card {
    padding: 26px;
  }
  .service-card h3 {
    font-size: 22px;
  }
  .section-footnote {
    font-size: 10px;
  }
  .about-art {
    height: 400px;
  }
  .brand-art {
    top: -23px;
    width: 300px;
  }
  .about-art-bottom {
    left: 22px;
    right: 22px;
    gap: 12px;
  }
  .about-art-bottom p {
    font-size: 23px;
  }
  .about-art-bottom > span {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .art-label-one {
    left: 15px;
  }
  .art-label-two {
    right: 12px;
  }
  .art-label-three {
    left: 22px;
    top: 245px;
  }
  .prevention-info article {
    gap: 18px;
  }
  .prevention-info h3 {
    font-size: 17px;
  }
  .medical-source {
    font-size: 8px;
  }
  .faq-title {
    font-size: 29px;
  }
  .faq-list summary {
    font-size: 12px;
    line-height: 1.7;
  }
  .location-panel {
    padding: 28px;
    min-height: 410px;
  }
  .location-panel h3 {
    font-size: 32px;
  }
  .location-panel p {
    font-size: 11px;
  }
  .location-bottom {
    font-size: 8px;
    gap: 10px;
  }
  .contact-row {
    gap: 13px;
  }
  .contact-row strong {
    font-size: 18px;
  }
  .contact-row > .icon {
    width: 16px;
  }
  .contact-icon {
    width: 39px;
    height: 39px;
  }
  .button-whatsapp {
    padding: 14px;
    font-size: 10px;
  }
  .footer-main {
    gap: 28px;
  }
  .footer-links a {
    font-size: 10px;
  }
  .footer-links > span {
    font-size: 7px;
  }
  .footer-bottom > span {
    flex-basis: 100%;
    font-size: 8px;
  }
  .footer-bottom {
    font-size: 9px;
  }
  .floating-whatsapp {
    right: 17px;
    bottom: 17px;
    padding: 12px;
  }
  .floating-whatsapp span {
    display: none;
  }
}
@media (max-width: 350px) {
  h1 {
    font-size: 43px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .hero-copy .eyebrow {
    font-size: 7px;
  }
  .service-card {
    padding: 23px;
  }
  .location-panel {
    padding: 24px;
  }
  .contact-row strong {
    font-size: 16px;
  }
  .button-whatsapp {
    font-size: 9px;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-main > div:first-child {
    grid-column: auto;
  }
}

/* 12 · ACCESIBILIDAD. Foco visible y respeto por movimiento reducido. */
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 5px;
  border-radius: 3px;
}
.service-card-featured :focus-visible,
.location-panel :focus-visible {
  outline-color: #ff95b4;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .container {
    width: 100%;
  }
  .section {
    padding: 25px 0;
  }
  .hero-grid,
  .about-grid,
  .contact-grid,
  .prevention-grid {
    display: block;
  }
  .hero {
    padding: 0;
  }
  .hero-copy h1 {
    font-size: 35px;
  }
  .service-card-featured,
  .location-panel {
    background: white;
    color: black;
  }
  .service-card-featured h3,
  .service-card-featured p,
  .location-panel h3,
  .location-panel p {
    color: black;
  }
  .service-card,
  .location-panel {
    break-inside: avoid;
  }
  a[href^="https"]::after {
    content: " (" attr(href) ")";
    font-size: 8px;
    overflow-wrap: anywhere;
  }
  dialog {
    display: none;
  }
  .footer-bottom {
    padding-bottom: 0;
  }
}

/* Sin JavaScript: ofrecer contactos directos y ocultar controles que lo requieren. */
html:not(.js) #consultation-form,
html:not(.js) .privacy-trigger {
  display: none;
}
