/* Inter, servida desde este mismo servidor.
 *
 * El diseño original declaraba `font-family: Inter` pero no la cargaba, así que
 * en cualquier equipo que no la tuviera instalada —es decir, casi todos— la web
 * se veía con la tipografía del sistema y no con la que se aprobó.
 *
 * Se sirve desde aquí y no desde Google Fonts a propósito: así la política de
 * seguridad de contenido puede seguir siendo `font-src 'self'`, y ningún
 * visitante de la web de una sede médica genera una petición a un tercero.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  /* Fuente variable: un solo fichero cubre del 100 al 900, y la hoja usa
     400, 650, 700 y 800. Con ficheros por peso harían falta cuatro descargas. */
  font-weight: 100 900;
  /* `swap`: el texto se ve de inmediato con la fuente del sistema y cambia
     cuando llega Inter. Una web de una sede médica no puede quedarse en blanco
     esperando una tipografía. */
  font-display: swap;
  src: url('/fuentes/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  /* Fuente variable: un solo fichero cubre del 100 al 900, y la hoja usa
     400, 650, 700 y 800. Con ficheros por peso harían falta cuatro descargas. */
  font-weight: 100 900;
  /* `swap`: el texto se ve de inmediato con la fuente del sistema y cambia
     cuando llega Inter. Una web de una sede médica no puede quedarse en blanco
     esperando una tipografía. */
  font-display: swap;
  src: url('/fuentes/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Paleta del portafolio de servicios (guía de marca del cliente, 2026-09-14).
 *
 * Los cuatro primeros valores ya estaban aquí con una diferencia de entre 1 y 7
 * unidades RGB por canal: el diseño salió de la misma marca. Se ajustan a los
 * códigos exactos del portafolio para que la web, el portafolio impreso y la
 * aplicación digan el mismo color, aunque a ojo no se note el cambio.
 *
 * Lo que sí es nuevo es `--verde`, el verde gris #5D6663. El portafolio lo pide
 * como fondo de sección y la web no tenía ningún tono intermedio entre el
 * carbón y el papel: todas las secciones oscuras eran del mismo oscuro.
 * Contraste con blanco 5.9:1 — cumple AA para texto normal. */
:root {
      --ink: #122021;      /* mo-ink      · barra, footer, botones principales */
      --taupe: #9B907C;    /* mo-accent   · etiquetas y detalles, nunca texto pequeño */
      --verde: #5D6663;    /* mo-primary  · bloques de sección */
      --verde-hover: #4D5754;
      --stone: #59605E;    /* mo-text-muted */
      --mist: #D9D4D0;     /* mo-surface  */
      --paper: #F7F5F2;
      --white: #FFFFFF;
      --line: rgba(18, 32, 33, .14);
      --borde-calido: #C5BEB6;
      --shadow: 0 28px 70px rgba(18, 32, 33, .12);
      --radius: 26px;
      --max: 1220px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; }
    button, input, textarea, select { font: inherit; }

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

    /* Sobre papel el texto va en --verde y no en --taupe: el taupe da 2.9:1,
       por debajo del 4.5:1 que exige AA para texto pequeño. Lo advierte la
       propia guía de marca. Sobre los fondos oscuros el taupe sí llega a 5.3:1
       y ahí se conserva. */
    .eyebrow {
      margin: 0 0 16px;
      font-size: .76rem;
      font-weight: 700;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--verde);
    }

    h1, h2, h3 {
      margin: 0;
      font-family: Georgia, "Times New Roman", serif;
      font-weight: 400;
      letter-spacing: -.035em;
      line-height: 1.02;
    }

    h1 {
      font-size: clamp(2.65rem, 4.6vw, 5rem);
      max-width: 12ch;
    }

    h2 {
      font-size: clamp(2.05rem, 3.5vw, 3.65rem);
      max-width: 14ch;
    }

    h3 {
      font-size: clamp(1.55rem, 2.2vw, 2.2rem);
      line-height: 1.12;
    }

    p {
      margin: 0;
      color: #475452;
    }

    .lead {
      font-size: clamp(1rem, 1.35vw, 1.18rem);
      line-height: 1.65;
      max-width: 660px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 52px;
      padding: 0 24px;
      border: 1px solid transparent;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 700;
      font-size: .94rem;
      transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
      cursor: pointer;
    }

    .btn:hover { transform: translateY(-2px); }
    .btn-primary { background: var(--ink); color: var(--white); }
    .btn-primary:hover { background: var(--verde); }
    .btn-outline { border-color: rgba(18,32,33,.25); background: rgba(255,255,255,.65); }
    .btn-outline:hover { border-color: var(--ink); }
    .btn-light { background: var(--paper); color: var(--ink); }
    .btn-light-outline { color: var(--white); border-color: rgba(255,255,255,.4); background: transparent; }

    /* Header */
    .site-header {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 50;
      transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
      border-bottom: 1px solid transparent;
    }
    .site-header.scrolled {
      background: rgba(247,245,242,.93);
      backdrop-filter: blur(16px);
      border-color: var(--line);
    }
    .nav {
      height: 92px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }
    .brand {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      line-height: 0;
    }
    .brand img {
      display: block;
      width: auto;
      height: 62px;
      max-width: 205px;
      object-fit: contain;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 30px;
      margin-left: auto;
    }
    .nav-links a {
      font-size: .9rem;
      font-weight: 650;
      text-decoration: none;
      color: #344341;
    }
    .nav-links a:hover { color: var(--ink); }
    .menu-button {
      display: none;
      width: 46px;
      height: 46px;
      border: 1px solid var(--line);
      border-radius: 50%;
      background: rgba(255,255,255,.7);
      cursor: pointer;
    }
    .menu-button span,
    .menu-button span::before,
    .menu-button span::after {
      display: block;
      width: 18px;
      height: 1.5px;
      background: var(--ink);
      margin: auto;
      position: relative;
      content: "";
    }
    .menu-button span::before { position: absolute; top: -6px; }
    .menu-button span::after { position: absolute; top: 6px; }

    /* Hero */
    .hero {
      min-height: 100svh;
      display: grid;
      align-items: center;
      padding: 122px 0 46px;
      overflow: hidden;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
      align-items: center;
      gap: clamp(32px, 5vw, 76px);
    }
    .hero-copy { position: relative; z-index: 2; }
    .hero-copy .lead { margin-top: 30px; max-width: 590px; }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 34px;
    }
    .hero-meta {
      margin-top: 28px;
      display: flex;
      gap: 16px 26px;
      flex-wrap: wrap;
      color: var(--stone);
      font-size: .88rem;
    }
    .hero-meta span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .hero-meta span::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--taupe);
    }
    .hero-media {
      position: relative;
      min-height: 620px;
    }
    .hero-image {
      position: absolute;
      inset: 0;
      border-radius: 42px 42px 140px 42px;
      background:
        linear-gradient(180deg, transparent 65%, rgba(18,32,33,.08)),
        url("/img/img-17e8fa45.webp") center/cover no-repeat;
      box-shadow: var(--shadow);
    }
    .hero-badge {
      position: absolute;
      left: -54px;
      bottom: 62px;
      width: 190px;
      height: 190px;
      display: grid;
      place-items: center;
      text-align: center;
      padding: 28px;
      border-radius: 50%;
      background: var(--ink);
      color: var(--white);
      box-shadow: 0 20px 50px rgba(18,32,33,.22);
    }
    .hero-badge strong {
      display: block;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.55rem;
      font-weight: 400;
      line-height: 1.12;
    }
    .hero-badge small {
      display: block;
      margin-top: 8px;
      color: rgba(255,255,255,.72);
      font-size: .74rem;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    /* Sections */
    section { padding: clamp(84px, 10vw, 150px) 0; }
    .section-head {
      display: grid;
      grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
      align-items: end;
      gap: 50px;
      margin-bottom: 54px;
    }
    .section-head .lead { justify-self: end; max-width: 590px; }

    .intro {
      background: var(--white);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .intro-grid {
      display: grid;
      grid-template-columns: 1.1fr .9fr;
      gap: 70px;
      align-items: center;
    }
    .intro-copy .lead { margin-top: 26px; }
    .principles {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line);
      border-radius: 24px;
      overflow: hidden;
    }
    .principle {
      min-height: 170px;
      padding: 28px;
      background: var(--white);
    }
    .principle strong {
      display: block;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.35rem;
      font-weight: 400;
      margin-bottom: 8px;
    }
    .principle span { color: var(--stone); font-size: .92rem; }

    /* ── Tipos de consultorio ──
       Tres bloques de ancho completo, alternando el lado de la imagen, en vez
       de tarjetas en rejilla. El cliente pidió «igual relevancia a los tres
       tipos»: en una rejilla de tres columnas el que cae primero se lee como el
       principal, y además no cabe el formulario que va al final de cada uno. */
    .tipos { display: grid; gap: clamp(56px, 7vw, 92px); }

    .tipo {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: clamp(32px, 5vw, 64px);
      /* `start` y no `center`: al desplegar el formulario la columna de texto
         crece, y centrada la fotografía se iría flotando a media altura. */
      align-items: start;
    }
    /* El segundo invierte el orden para que la página no sea una columna de
       fotos alineadas al mismo lado. */
    .tipo:nth-child(even) .tipo-medio { order: 2; }

    .tipo-medio {
      position: relative;
      min-height: 440px;
      border-radius: var(--radius);
      overflow: hidden;
      background: var(--mist);
    }
    .tipo-medio img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    /* Para el tipo del que todavía no hay fotografía. Un panel tipográfico es
       honesto; reutilizar la foto de otro espacio no lo sería. */
    .tipo-medio--sinfoto {
      display: grid;
      place-content: center;
      text-align: center;
      padding: 40px;
      background: var(--mist);
      border: 1px solid var(--borde-calido);
    }
    .tipo-medio--sinfoto .cifra {
      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(3.4rem, 7vw, 5.4rem);
      line-height: 1;
      color: var(--ink);
    }
    .tipo-medio--sinfoto .pie {
      margin-top: 14px;
      font-size: .8rem;
      font-weight: 700;
      letter-spacing: .16em;
      text-transform: uppercase;
      /* --stone sobre este gris da 4.4:1, a un pelo del 4.5:1 de AA. */
      color: var(--ink);
    }

    .tipo-cantidad {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 14px;
      padding: 7px 14px;
      border-radius: 999px;
      background: var(--mist);
      color: var(--ink);
      font-size: .78rem;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
    }
    .tipo-cuerpo h3 { max-width: 16ch; }
    .tipo-area {
      margin-top: 10px;
      color: var(--verde);
      font-weight: 700;
      letter-spacing: .04em;
    }

    .lista-marcada {
      margin: 22px 0 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 11px;
    }
    .lista-marcada li {
      position: relative;
      padding-left: 26px;
      color: var(--stone);
      font-size: .95rem;
      line-height: 1.5;
    }
    .lista-marcada li::before {
      content: "";
      position: absolute;
      left: 0;
      top: .55em;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      border: 2px solid var(--taupe);
    }

    /* ── Formulario desplegable al final de cada tipo ──
       `<details>` y no un botón con script: abre y cierra sin JavaScript, sin
       estado propio y sin nada que se pueda desincronizar. */
    .desplegable {
      margin-top: 30px;
      border: 1px solid var(--borde-calido);
      border-radius: 20px;
      background: var(--white);
      overflow: hidden;
    }
    .desplegable > summary {
      list-style: none;
      cursor: pointer;
      padding: 19px 24px;
      font-weight: 700;
      font-size: .95rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      color: var(--ink);
    }
    .desplegable > summary::-webkit-details-marker { display: none; }
    .desplegable > summary::after {
      content: "+";
      font-size: 1.4rem;
      line-height: 1;
      color: var(--verde);
      transition: transform .22s ease;
    }
    .desplegable[open] > summary::after { transform: rotate(45deg); }
    .desplegable > summary:hover { background: var(--paper); }
    .desplegable > summary:focus-visible {
      outline: 3px solid var(--verde);
      outline-offset: -3px;
    }
    .desplegable-cuerpo {
      padding: 0 24px 24px;
      border-top: 1px solid var(--line);
    }

    /* ── Servicios ── */
    .services { background: var(--ink); color: var(--white); }
    .services .eyebrow { color: var(--mist); }
    .services h2 { color: var(--white); }
    .services h3 { color: var(--white); }
    .services .section-head .lead { color: rgba(255,255,255,.68); }
    .servicios-cols {
      display: grid;
      grid-template-columns: 1.25fr 1fr;
      gap: 1px;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.12);
      border-radius: 28px;
      overflow: hidden;
    }
    .servicios-col {
      padding: clamp(28px, 3.4vw, 42px);
      background: rgba(255,255,255,.025);
    }
    .servicios-col h3 { font-size: 1.6rem; }
    .servicios-col .lista-marcada {
      grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
      gap: 11px 26px;
    }
    /* Los complementarios son cuatro: a dos columnas dejan media caja vacía. */
    .servicios-col:last-child .lista-marcada { grid-template-columns: 1fr; }
    .servicios-col .lista-marcada li { color: rgba(255,255,255,.72); }
    .servicios-col .lista-marcada li::before { border-color: var(--taupe); }
    .servicios-nota {
      margin-top: 22px;
      font-size: .82rem;
      /* .45 daba 3.6:1. Es letra pequeña y además condiciona el precio: es
         justo la que no puede quedarse en un gris que no se lee. */
      color: rgba(255,255,255,.58);
    }

    /* ── Ubicación ──
       La única sección sobre el verde gris del portafolio. Existe para que ese
       color tenga un sitio propio y la página no salte del papel al carbón sin
       nada en medio. */
    .ubicacion { background: var(--verde); color: var(--white); }
    /* El verde gris es más claro que el carbón y deja menos margen: sobre él
       --mist se queda en 4.0:1 y los blancos translúcidos, entre 3.6 y 4.5.
       Aquí los tonos claros van sólidos y medidos, no por transparencia. */
    .ubicacion .eyebrow { color: var(--paper); }      /* 5.4:1 */
    .ubicacion h2 { color: var(--white); }            /* 5.9:1 */
    .ubicacion p { color: #E4E6E5; }                  /* 4.7:1 */
    .ubicacion-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: clamp(40px, 6vw, 84px);
      align-items: start;
    }
    .ubicacion-copy .lead { margin-top: 24px; }
    .ubicacion-copy .lead + .lead { margin-top: 16px; }
    .vecinos-titulo {
      margin-bottom: 18px;
      font-size: .76rem;
      font-weight: 700;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--mist);
    }
    .vecinos {
      border-top: 1px solid rgba(255,255,255,.22);
    }
    .vecinos .row {
      padding: 18px 0;
      border-bottom: 1px solid rgba(255,255,255,.22);
    }
    .vecinos .row strong { font-weight: 650; font-size: 1.02rem; }
    .vecinos .row span {
      display: block;
      margin-top: 4px;
      color: #E4E6E5;
      font-size: .88rem;
    }
    .direccion {
      margin-top: 30px;
      padding: 24px;
      border-radius: 20px;
      /* Oscurece en vez de aclarar: sobre un recuadro más claro que el verde,
         el texto blanco caía a 4.8:1 y el secundario a 3.6:1. */
      background: rgba(18,32,33,.28);
      border: 1px solid rgba(255,255,255,.16);
    }
    .direccion strong { display: block; font-weight: 700; }
    .direccion span { color: #E4E6E5; font-size: .94rem; }


    /* Manifesto photo */
    .manifesto {
      padding: 0;
      background: var(--ink);
    }
    .manifesto-photo {
      min-height: min(78vw, 790px);
      position: relative;
      display: flex;
      align-items: flex-end;
      background:
        linear-gradient(90deg, rgba(18,32,33,.79) 0%, rgba(18,32,33,.30) 55%, rgba(18,32,33,.12) 100%),
        url("/img/img-2befe304.webp") center/cover no-repeat;
    }
    .manifesto-copy {
      padding: clamp(70px, 9vw, 120px) 0;
      color: var(--white);
    }
    .manifesto-copy h2 {
      max-width: 10.5ch;
      font-size: clamp(2.55rem, 4.8vw, 4.9rem);
    }
    .manifesto-copy p {
      color: rgba(255,255,255,.78);
      max-width: 610px;
      margin-top: 26px;
      font-size: 1.14rem;
    }

    /* Professionals + process */
    .audience-grid {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: clamp(44px, 8vw, 100px);
      align-items: start;
    }
    .audience-copy .lead { margin-top: 26px; }
    .audience-list {
      border-top: 1px solid var(--line);
    }
    .audience-list .row {
      padding: 22px 0;
      border-bottom: 1px solid var(--line);
      display: grid;
      grid-template-columns: 42px 1fr;
      gap: 18px;
      align-items: baseline;
    }
    .audience-list .row span:first-child {
      color: var(--verde);
      font-size: .8rem;
      font-weight: 700;
    }
    .audience-list .row strong {
      font-size: 1.05rem;
      font-weight: 650;
    }

    .process {
      background: var(--white);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }
    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      counter-reset: steps;
    }
    .step {
      padding: 28px;
      min-height: 290px;
      background: var(--paper);
      border: 1px solid var(--line);
      border-radius: 22px;
      counter-increment: steps;
    }
    .step::before {
      content: "0" counter(steps);
      display: block;
      color: var(--verde);
      font-weight: 800;
      letter-spacing: .08em;
      margin-bottom: 60px;
    }
    .step h3 { font-size: 1.55rem; }
    .step p { margin-top: 12px; font-size: .93rem; }

    /* Facade */
    .facade-section { padding-bottom: 0; }
    .facade-wrap {
      position: relative;
      min-height: min(70vw, 760px);
      background:
        linear-gradient(180deg, transparent 35%, rgba(18,32,33,.72)),
        url("/img/img-e8b98827.webp") center/cover no-repeat;
    }
    .facade-copy {
      position: absolute;
      left: max(20px, calc((100vw - var(--max)) / 2));
      right: 20px;
      bottom: 64px;
      color: var(--white);
    }
    .facade-copy h2 { max-width: 10ch; }
    .facade-copy p {
      color: rgba(255,255,255,.78);
      max-width: 560px;
      margin-top: 20px;
      font-size: 1.08rem;
    }

    /* Contact */
    .contact {
      background: var(--ink);
      color: var(--white);
    }
    .contact-grid {
      display: grid;
      grid-template-columns: .86fr 1.14fr;
      gap: clamp(50px, 8vw, 110px);
      align-items: start;
    }
    .contact h2 { color: var(--white); max-width: 13ch; }
    .contact-copy p {
      color: rgba(255,255,255,.68);
      margin-top: 24px;
      max-width: 520px;
      font-size: 1.08rem;
    }
    .contact-logo {
      width: 180px;
      margin-top: 54px;
      opacity: .94;
    }
    .form {
      display: grid;
      gap: 14px;
      padding: clamp(26px, 4vw, 42px);
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.035);
      border-radius: 28px;
    }
    .field-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }
    label {
      display: grid;
      gap: 7px;
      font-size: .78rem;
      font-weight: 700;
      color: rgba(255,255,255,.74);
    }
    input, select, textarea {
      width: 100%;
      border: 1px solid rgba(255,255,255,.18);
      background: rgba(255,255,255,.06);
      color: var(--white);
      border-radius: 13px;
      padding: 14px 15px;
      outline: none;
      transition: border-color .2s ease, background .2s ease;
    }
    select option { color: var(--ink); background: var(--white); }
    textarea { min-height: 120px; resize: vertical; }
    input:focus, select:focus, textarea:focus {
      border-color: rgba(255,255,255,.55);
      background: rgba(255,255,255,.09);
    }
    .form-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      margin-top: 8px;
    }
    .form-note {
      color: rgba(255,255,255,.48);
      font-size: .76rem;
      margin-top: 4px;
    }

    /* Footer */
    footer {
      background: #0B1516;
      color: rgba(255,255,255,.65);
      padding: 32px 0;
    }
    .footer-row {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      font-size: .82rem;
    }

    /* WhatsApp */
    .whatsapp {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 60;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      height: 54px;
      padding: 0 19px;
      border-radius: 999px;
      color: white;
      background: var(--ink);
      border: 1px solid rgba(255,255,255,.13);
      box-shadow: 0 15px 34px rgba(18,32,33,.27);
      text-decoration: none;
      font-weight: 800;
      font-size: .88rem;
    }
    .wa-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 0 0 4px rgba(255,255,255,.12);
    }

    .toast {
      position: fixed;
      left: 50%;
      bottom: 30px;
      z-index: 90;
      transform: translate(-50%, 20px);
      opacity: 0;
      pointer-events: none;
      padding: 12px 18px;
      border-radius: 999px;
      color: white;
      background: #0B1516;
      box-shadow: 0 14px 36px rgba(0,0,0,.22);
      font-size: .86rem;
      transition: .25s ease;
    }
    .toast.show { opacity: 1; transform: translate(-50%, 0); }

    @media (max-width: 980px) {
      .nav-links, .nav > .btn { display: none; }
      .menu-button { display: block; }
      .nav-links.open {
        display: grid;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 78px;
        padding: 22px;
        gap: 18px;
        background: rgba(247,245,242,.98);
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: var(--shadow);
      }
      .hero-grid, .section-head, .intro-grid, .audience-grid, .contact-grid,
      .ubicacion-grid, .servicios-cols {
        grid-template-columns: 1fr;
      }
      .hero { min-height: auto; padding-top: 125px; }
      .hero-media { min-height: 610px; margin-top: 10px; }
      .hero-badge { left: 24px; bottom: 24px; width: 165px; height: 165px; }
      .section-head .lead { justify-self: start; }
      .steps { grid-template-columns: 1fr 1fr; }
      .manifesto-photo { min-height: 760px; }
    }

    @media (max-width: 680px) {
      .container { width: min(calc(100% - 28px), var(--max)); }
      .nav { height: 78px; }
      .brand img {
        height: 52px;
        max-width: 172px;
      }
      .hero { padding-top: 102px; }
      h1 { font-size: clamp(2.65rem, 12vw, 3.8rem); }
      h2 { font-size: clamp(2.15rem, 9.5vw, 3.1rem); }
      .hero-media { min-height: 500px; }
      .hero-image { border-radius: 28px 28px 86px 28px; }
      .hero-badge {
        width: 142px;
        height: 142px;
        left: 14px;
        bottom: 14px;
        padding: 20px;
      }
      .hero-badge strong { font-size: 1.25rem; }
      .steps, .field-grid, .principles {
        grid-template-columns: 1fr;
      }
      /* En una sola columna el `order: 2` dejaría la foto DEBAJO del texto solo
         en los pares: se anula para que los tres tipos se lean igual. */
      .tipo { grid-template-columns: 1fr; }
      .tipo:nth-child(even) .tipo-medio { order: 0; }
      .tipo-medio { min-height: 300px; }
      .desplegable > summary { padding: 17px 18px; }
      .desplegable-cuerpo { padding: 0 18px 20px; }
      .step { min-height: 240px; }
      .step::before { margin-bottom: 36px; }
      .manifesto-photo { min-height: 680px; background-position: 66% center; }
      .facade-wrap { min-height: 620px; background-position: 55% center; }
      .footer-row { flex-direction: column; }
      .whatsapp {
        width: 54px;
        padding: 0;
        justify-content: center;
        font-size: 0;
      }
      .whatsapp .wa-dot { width: 12px; height: 12px; }
    }

/* ── Clases que sustituyen a los `style=` en línea ──
   La política de contenido del servidor es `style-src 'self'`; un atributo
   `style` obligaría a 'unsafe-inline'. Se sustituyen al integrar cada versión
   nueva del diseño. */
.lead--separado { margin-top: 18px; }
.eyebrow--claro { color: var(--mist); }
.eyebrow--arena { color: #e6e0d7; }
/* .42 daba 4.1:1 sobre el pie; .48 llega a 4.7:1. */
.pie-dato { margin-top: 5px; color: rgba(255,255,255,.48); }
.pie-dato--junto { margin-top: 3px; }

.pagina-error { padding-top: 180px; padding-bottom: 120px; text-align: center; }
.acciones-error { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Formulario sobre fondo claro ──
   `.form` se escribió para la sección de contacto, que es oscura: texto blanco
   y bordes translúcidos. Dentro de un tipo de consultorio el fondo es claro y
   ese mismo formulario quedaría en blanco sobre blanco. El modificador invierte
   solo lo que depende del fondo. */
.form--claro {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.form--claro label { color: var(--stone); }
.form--claro input,
.form--claro select,
.form--claro textarea {
  border-color: var(--borde-calido);
  background: var(--white);
  color: var(--ink);
}
.form--claro input:focus,
.form--claro select:focus,
.form--claro textarea:focus {
  border-color: var(--verde);
  background: var(--white);
}
.form--claro .form-note { color: var(--stone); }
.form--claro .check span { color: var(--stone); }
.form--claro .check a { color: var(--ink); }
.form--claro .btn-light {
  background: var(--ink);
  color: var(--white);
}
.form--claro .btn-light-outline {
  color: var(--ink);
  border-color: var(--borde-calido);
}

/* Las casillas de autorización: el texto es legal y se lee, así que no puede ir
   al tamaño de una etiqueta de campo. */
.privacy-checks { display: grid; gap: 12px; margin-top: 6px; }
.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.5;
}
.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--verde);
}

/* ── Datos de contacto ──
   Van como contenido real y no dentro del formulario: si el formulario falla
   —hoy no tiene backend, y hasta que lo tenga no envía nada— tiene que quedar
   una forma de contactar que no dependa de nada. */
.datos-contacto {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}
.dato {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.dato dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mist);
}
.dato dd {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: .98rem;
}
.dato dd a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.dato dd a:hover { border-bottom-color: var(--white); }

@media (max-width: 680px) {
  .dato { grid-template-columns: 1fr; gap: 4px; }
}

/* ── «Y además»: espacios que no son consultorios ──
   Van en un bloque secundario y no como un cuarto tipo. El cliente pidió igual
   relevancia para los TRES consultorios; meter aquí la sala de juntas y el área
   de rehabilitación al mismo nivel volvería a desequilibrar la lectura. */
.otros-espacios {
  margin-top: clamp(56px, 7vw, 92px);
  padding: clamp(30px, 4vw, 44px);
  border: 1px solid var(--borde-calido);
  border-radius: var(--radius);
  background: var(--white);
}
.otros-espacios h3 { font-size: 1.5rem; }
.otros-espacios .lista-marcada {
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 13px 32px;
}
.otros-espacios .lista-marcada strong { color: var(--ink); font-weight: 650; }
