/* ═══════════════════════════════════════════════════════════════════
   192 · Centro Médico y Ecografías MC · Pitrufquén
   Demo comercial sin encargo. Construida el 02-09-2026.

   DIRECCIÓN — «SIETE GRISES»
   Una ecografía ES una imagen en escala de grises. La página adopta esa
   escala como identidad completa: **no tiene ningún color de acento**, y
   todo el destaque se hace por LUMINANCIA e INVERSIÓN.

   Es la única del registro construida sobre una escala de grises
   numerada. DESLINDES:
   · 52-cuba-salud (centro médico privado de Loncoche, la comuna vecina
     y el rubro más cercano) es «Lavanda clínica»: papel `#F7F6FB` con
     violeta en tres versiones. Nada en común: aquélla se identifica por
     un color, ésta por la ausencia de color.
   · 190-dr-boett de esta misma tanda es duotono CON un acento (el
     timbre rojo). Ésta no tiene ninguno: donde aquélla pone color, ésta
     invierte el bloque.
   · pmv-08-haustiere también es duotono sin acento, pero es hueso y
     tinta plana; acá los grises son SIETE y están numerados como la
     escala de una imagen ecográfica, que es de lo que trata el negocio.

   Se descartó el mostaza y el amarillo (muy usados: 58, 73, 85 y la
   guardia oscura) y todos los azules clínicos (lago, trabajo, rotulador,
   señal, impresora, glaciar, petróleo): a 191 demos, el color ya no
   distingue — distingue la estructura.

   TRÍO — verificado contra identidades.md el 02-09-2026:
   · Display MIRIAM LIBRE (0 usos). Grotesca de trazo firme y formas
     abiertas: seria sin ser fría.
   · Cuerpo ARCHIVO (4 usos). Neutra, buena en listas largas.
   · Mono VICTOR MONO (3 usos, el menos usado que calza).

   ESTRUCTURA K · FILAS QUE SE ABREN — <details>/<summary> nativos:
   funcionan sin una línea de JavaScript, que es exactamente lo que se
   necesita en una página que alguien abre en la sala de espera con mala
   señal.
   CONTACTO T4 · botón fantasma.
   AMBIENTE: motas en deriva (el ruido de una imagen ecográfica) + grano.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* La escala. g0 es el negro del fondo de una eco; g6 el blanco del hueso. */
  --g0: #16181A;
  --g1: #2A2E31;
  --g2: #4A5054;
  --g3: #6E7579;   /* 4,6:1 sobre g6 — el más claro que se puede usar en texto */
  --g4: #C9CDCF;
  --g5: #E6E9EA;
  --g6: #F6F7F8;

  --papel:  var(--g6);
  --tinta:  var(--g0);
  --medio:  #5A6165;   /* 6,2:1 sobre g6; 5,4:1 sobre g5, el peor fondo */
  --linea:  #CBD0D2;

  --sale:   cubic-bezier(.16, 1, .3, 1);
  --sale-2: cubic-bezier(.2, 0, 0, 1);

  --ancho: min(92vw, 1120px);
  --p--1: clamp(.78rem, .74rem + .18vw, .88rem);
  --p-0:  clamp(1rem, .95rem + .25vw, 1.12rem);
  --p-1:  clamp(1.15rem, 1.05rem + .45vw, 1.38rem);
  --p-2:  clamp(1.6rem, 1.35rem + 1.2vw, 2.3rem);
  --p-3:  clamp(2rem, 1.5rem + 2.3vw, 3.5rem);
  --p-4:  clamp(2.6rem, 1.7rem + 4.4vw, 5.4rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--papel); color: var(--tinta);
  font-family: Archivo, "Segoe UI", system-ui, sans-serif;
  font-size: var(--p-0); line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
.ancho { width: var(--ancho); margin-inline: auto; }
.mono { font-family: "Victor Mono", ui-monospace, monospace; }

.rotulo {
  font-family: "Victor Mono", ui-monospace, monospace;
  font-size: var(--p--1); letter-spacing: .14em; text-transform: uppercase;
  color: var(--medio); margin: 0 0 1.4rem;
}
.h2 {
  font-family: "Miriam Libre", "Segoe UI", sans-serif; font-weight: 400;
  font-size: var(--p-3); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 1.5rem;
}
.h2--chico { font-size: var(--p-2); }
.mini { font-size: var(--p--1); color: var(--medio); max-width: 64ch; }
.falta { color: var(--medio); font-style: italic; }
.ej { color: var(--medio); font-style: italic; border-bottom: 1px dashed var(--linea); }
.ej::after {
  content: " (ej.)"; font-family: "Victor Mono", ui-monospace, monospace;
  font-size: .78em; font-style: normal; opacity: .8;
}

/* ── BANDA — inversión, no color ────────────────────────────────── */
.propuesta { background: var(--g0); color: var(--g6); }
.propuesta__in { padding: .9rem 0; }
.propuesta__q { font-family: "Victor Mono", ui-monospace, monospace; font-size: var(--p--1); letter-spacing: .03em; margin: 0 0 .2rem; }
.propuesta__d { margin: 0; font-size: var(--p--1); line-height: 1.5; max-width: 104ch; }

/* ── CABECERA ───────────────────────────────────────────────────── */
.cab {
  position: sticky; top: 0; z-index: 50;
  background: var(--papel); border-bottom: 1px solid var(--linea);
  transition: transform .3s var(--sale-2), background-color .3s ease, border-color .3s ease;
}
.cab__in { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: .55rem 0; }
.cab__marca { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; min-height: 44px; }
.cab__txt {
  font-family: "Miriam Libre", sans-serif; font-size: var(--p-1);
  line-height: 1; display: flex; flex-direction: column; gap: .2rem;
}
.cab__sub {
  font-family: "Victor Mono", ui-monospace, monospace;
  font-size: .55em; letter-spacing: .1em; color: var(--medio); text-transform: uppercase;
}
.cab__nav { display: flex; align-items: center; gap: 1.5rem; }
.cab__nav a {
  font-size: var(--p--1); text-decoration: none; color: var(--medio);
  min-height: 44px; display: inline-flex; align-items: center; transition: color .2s ease;
}
.cab__nav a:hover, .cab__nav a:focus-visible { color: var(--tinta); }
.cab__tel { color: var(--tinta) !important; font-family: "Victor Mono", ui-monospace, monospace; }

/* Cabecera 158ª — EL BARRIDO DEL TRANSDUCTOR */
.cono { position: relative; width: 24px; height: 26px; flex: 0 0 auto; }
.cono__punta {
  position: absolute; left: 50%; top: 0; width: 6px; height: 4px;
  margin-left: -3px; background: var(--tinta); border-radius: 1px;
}
.cono__sector {
  position: absolute; left: 0; right: 0; top: 5px; bottom: 0;
  background: linear-gradient(180deg, var(--g2), var(--g4));
  /* el sector circular de una imagen ecográfica */
  clip-path: polygon(45% 0%, 55% 0%, 100% 100%, 0% 100%);
  border-radius: 0 0 40% 40%;
}

.js .cab--top { background: transparent; border-bottom-color: transparent; }
.js .cab--oculta { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .cab { transition-duration: 1ms; } }

/* ── PORTADA ────────────────────────────────────────────────────── */
.portada {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 86svh; display: flex; align-items: center; padding: 5rem 0 4rem;
}
.portada__foto { position: absolute; inset: 0; z-index: -2; }
.portada__foto img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, rgba(0,0,0,.26) 42%, rgba(0,0,0,.74) 62%, #000 80%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, rgba(0,0,0,.26) 42%, rgba(0,0,0,.74) 62%, #000 80%, #000 100%);
}
/* Velo entero en rgba terminando en alfa 0. */
.portada__foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(246,247,248,1) 0%, rgba(246,247,248,1) 30%, rgba(246,247,248,.84) 47%,
    rgba(246,247,248,.42) 65%, rgba(246,247,248,.12) 84%, rgba(246,247,248,0) 97%);
}
/* Grano fijo — es la textura característica de una imagen ecográfica.
   No se anima: un grano que se mueve marea y cuesta caro. data: URI,
   permitido por la CSP (img-src 'self' data:). 280 bytes. */
.portada::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.portada__in { position: relative; z-index: 1; }
.portada__h1 {
  font-family: "Miriam Libre", sans-serif; font-weight: 400;
  font-size: var(--p-4); line-height: 1.0; letter-spacing: -.03em; margin: 0 0 1.3rem;
}
.portada__bajada { max-width: 44ch; color: var(--medio); font-size: var(--p-1); margin: 0 0 2.4rem; }
.portada__pie { margin: 0; }

/* ── AMBIENTE: motas en deriva (el ruido del eco) ───────────────── */
/* Doce puntos grises que derivan lentísimo en dos ejes. Determinista:
   --i por nth-child (la CSP bloquea style=""), y los ciclos de 22 s con
   retardos primos no vuelven a coincidir. Sólo transform y opacity. */
.amb { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.amb__p {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: rgba(74, 80, 84, .5);
  animation: amb-deriva 22s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes amb-deriva {
  0%, 100% { transform: translate3d(0,0,0);        opacity: .3; }
  25%      { transform: translate3d(2vw,-1.5vh,0); opacity: .6; }
  50%      { transform: translate3d(-1vw,2vh,0);   opacity: .4; }
  75%      { transform: translate3d(1.5vw,1vh,0);  opacity: .6; }
}
.amb__p:nth-child(1)  { left: 56%; top: 18%; animation-delay: 0s; }
.amb__p:nth-child(2)  { left: 63%; top: 34%; animation-delay: -3s; }
.amb__p:nth-child(3)  { left: 71%; top: 12%; animation-delay: -6s; }
.amb__p:nth-child(4)  { left: 78%; top: 46%; animation-delay: -9s; }
.amb__p:nth-child(5)  { left: 85%; top: 26%; animation-delay: -12s; }
.amb__p:nth-child(6)  { left: 92%; top: 58%; animation-delay: -15s; }
.amb__p:nth-child(7)  { left: 60%; top: 66%; animation-delay: -2s; }
.amb__p:nth-child(8)  { left: 68%; top: 80%; animation-delay: -5s; }
.amb__p:nth-child(9)  { left: 75%; top: 70%; animation-delay: -8s; }
.amb__p:nth-child(10) { left: 88%; top: 84%; animation-delay: -11s; }
.amb__p:nth-child(11) { left: 82%; top: 8%;  animation-delay: -14s; }
.amb__p:nth-child(12) { left: 95%; top: 40%; animation-delay: -17s; }
@media (prefers-reduced-motion: reduce) { .amb { display: none; } }
@media (max-width: 760px) { .amb__p:nth-child(n+7) { display: none; } }

/* ── BOTÓN FANTASMA (T4) ────────────────────────────────────────── */
.boton {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8rem 1.8rem;
  border: 1px solid var(--tinta); color: var(--tinta); background: transparent;
  font-family: "Victor Mono", ui-monospace, monospace;
  font-size: var(--p--1); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; overflow: hidden; isolation: isolate;
}
.boton::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--tinta); transform: translateY(101%); transition: transform .4s var(--sale);
}
.boton:hover, .boton:focus-visible { color: var(--g6); }
.boton:hover::before, .boton:focus-visible::before { transform: translateY(0); }
.boton--fuerte { background: var(--tinta); color: var(--g6); }
.boton--fuerte::before { background: var(--g2); }
@media (prefers-reduced-motion: reduce) { .boton::before { transition-duration: 1ms; } }

.flecha {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  font-family: "Victor Mono", ui-monospace, monospace; font-size: var(--p--1); letter-spacing: .05em;
  color: var(--tinta); text-decoration: none; border-bottom: 1px solid currentColor;
  transition: border-bottom-width .2s ease;
}
.flecha:hover, .flecha:focus-visible { border-bottom-width: 3px; }

/* ── PIEZA FIRMA: FILAS QUE SE ABREN ────────────────────────────── */
/* <details>/<summary> nativos: funcionan sin una línea de JS. */
.prep { padding: 7rem 0; background: var(--g5); }
.prep .intro { max-width: 64ch; color: var(--medio); font-size: var(--p-1); margin: 0 0 3rem; }
.filas { border-top: 2px solid var(--tinta); }
.fila { border-bottom: 1px solid var(--linea); }
.fila__t {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: 1.4rem 2.5rem 1.4rem 0; cursor: pointer; position: relative;
  font-family: "Miriam Libre", sans-serif; font-size: var(--p-1); line-height: 1.25;
  min-height: 48px; list-style: none;
}
.fila__t::-webkit-details-marker { display: none; }
/* El signo de abrir, dibujado: dos trazos que se cruzan y uno se va */
.fila__t::after {
  content: ""; position: absolute; right: .4rem; top: 50%;
  width: 14px; height: 2px; background: var(--tinta); transform: translateY(-50%);
}
.fila__t::before {
  content: ""; position: absolute; right: 1.1rem; top: 50%;
  width: 2px; height: 14px; background: var(--tinta); transform: translateY(-50%);
  transition: transform .25s var(--sale), opacity .25s ease;
}
.fila[open] > .fila__t::before { transform: translateY(-50%) rotate(90deg); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .fila__t::before { transition-duration: 1ms; } }

.fila__n {
  font-family: "Victor Mono", ui-monospace, monospace;
  font-size: var(--p--1); color: var(--medio); flex: 0 0 auto;
}
/* La preparación en una palabra, destacada por INVERSIÓN — no hay
   color de acento en esta página. */
.fila__p {
  font-family: "Victor Mono", ui-monospace, monospace;
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--g0); color: var(--g6); padding: .2rem .55rem; white-space: nowrap;
}
.fila--todos .fila__p { background: transparent; color: var(--tinta); border: 1px solid var(--tinta); }
.fila__c { padding: 0 2.5rem 1.6rem 0; max-width: 74ch; }
.fila__c p { margin: 0 0 .9rem; color: var(--medio); }
.fila__c p:last-child { margin-bottom: 0; }
.fila__c b { color: var(--tinta); }
.fila__x {
  font-family: "Victor Mono", ui-monospace, monospace; font-size: var(--p--1);
  border-left: 2px solid var(--g4); padding-left: .9rem;
}

.nota {
  margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--linea);
  font-size: var(--p--1); color: var(--medio); max-width: 72ch;
}
.nota b { color: var(--tinta); }

/* ── CITA ───────────────────────────────────────────────────────── */
.cita { position: relative; isolation: isolate; overflow: hidden; min-height: min(50vh, 390px); display: grid; align-items: center; }
.cita img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* Peor caso medido a mano: la camisa clara de la foto bajo el velo .8
   sobre g0 → texto g6 en 7,6:1 a tamaño grande. */
.cita::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(22,24,26,.8); }
.cita__txt p {
  font-family: "Miriam Libre", sans-serif; font-size: var(--p-2);
  line-height: 1.2; max-width: 24ch; margin: 0; color: var(--g6);
}

/* ── SERVICIOS ──────────────────────────────────────────────────── */
.ficha-serv { padding: 7rem 0; }
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.cosa { border-top: 2px solid var(--tinta); padding-top: 1rem; }
.cosa__n { font-family: "Victor Mono", ui-monospace, monospace; font-size: var(--p--1); color: var(--medio); margin: 0 0 .5rem; }
.cosa h3 { font-family: "Miriam Libre", sans-serif; font-weight: 400; font-size: var(--p-2); margin: 0 0 .6rem; line-height: 1.15; }
.cosa p { margin: 0; color: var(--medio); }

/* ── TAJO ───────────────────────────────────────────────────────── */
.tajo { position: relative; isolation: isolate; overflow: hidden; margin: 0; min-height: min(52vh, 410px); display: flex; align-items: flex-end; }
.tajo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.tajo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(22,24,26,.95) 0%, rgba(22,24,26,.8) 34%, rgba(22,24,26,.3) 64%, rgba(22,24,26,0) 92%);
}
.tajo__txt { padding: 2.8rem 0; }
.tajo__txt .rotulo { color: var(--g4); }
.tajo__f { font-family: "Miriam Libre", sans-serif; font-size: var(--p-2); margin: 0; line-height: 1.2; max-width: 26ch; color: var(--g6); }
/* El auditor marca estas frases claras y el rótulo del tajo como
   1,0-1,9:1: sube por el DOM buscando fondo opaco y encuentra el body,
   porque el velo es un ::after que no ve. A mano, peor caso (foto
   blanca bajo el velo): cita 7,6:1 · tajo 7,9:1 · rótulo 8,4:1.
   Falso positivo conocido del auditor. */

/* ── MITADES ────────────────────────────────────────────────────── */
.mitades { display: grid; grid-template-columns: 1fr 1fr; background: var(--g5); }
.mitades__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mitades__txt { padding: 5.5rem clamp(1.5rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.lista { margin: 1.4rem 0; padding: 0; list-style: none; }
.lista li { padding: .6rem 0 .6rem 1.5rem; position: relative; border-bottom: 1px solid var(--linea); font-size: var(--p--1); color: var(--medio); }
.lista li b { color: var(--tinta); }
.lista li::before { content: ""; position: absolute; left: 0; top: 1.1em; width: 8px; height: 1px; background: var(--g2); }
.lista--marca li { border-bottom: none; padding-bottom: .3rem; }
.fila__c .lista { margin-top: 0; }

/* ── MOSAICO ────────────────────────────────────────────────────── */
.mos { padding: 7rem 0 0; background: var(--g4); }
.mos .rotulo, .mos .h2 { color: var(--g0); }
.mos__grilla { display: grid; gap: 4px; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; }
.mos__p { margin: 0; overflow: hidden; }
.mos__p:nth-child(1), .mos__p:nth-child(6) { grid-column: span 2; }
.mos__p img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--sale); }
.mos__p:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .mos__p:hover img { transform: none; } }

/* ── CONTACTO ───────────────────────────────────────────────────── */
.con-telon { position: relative; isolation: isolate; overflow: hidden; }
.telon { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.telon img {
  display: block; width: 100%; height: 100%; object-fit: cover; opacity: .15;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 74%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 74%, transparent 100%);
}
.contacto { padding: 7rem 0; }
.contacto__num { margin: 0 0 2.6rem; }
.contacto__num a {
  font-family: "Miriam Libre", sans-serif;
  font-size: clamp(1.9rem, 1.2rem + 3.6vw, 4rem); line-height: 1; color: var(--tinta);
  text-decoration: none; display: inline-flex; align-items: center; min-height: 44px;
  border-bottom: 3px solid var(--g4); transition: border-color .25s ease;
}
.contacto__num a:hover, .contacto__num a:focus-visible { border-bottom-color: var(--tinta); }
.datos { margin: 0 0 2rem; max-width: 48rem; }
.datos > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: .8rem 0; border-bottom: 1px solid var(--linea); }
.datos dt { font-family: "Victor Mono", ui-monospace, monospace; font-size: var(--p--1); color: var(--medio); letter-spacing: .06em; text-transform: uppercase; }
.datos dd { margin: 0; text-align: right; font-size: var(--p--1); }

/* ── PARA EL DUEÑO ──────────────────────────────────────────────── */
.dueno { padding: 7rem 0; border-top: 1px solid var(--linea); background: var(--g5); }
.dueno__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.dueno h3 {
  font-family: "Victor Mono", ui-monospace, monospace; font-weight: 400;
  font-size: var(--p--1); letter-spacing: .1em; text-transform: uppercase;
  color: var(--tinta); margin: 2rem 0 1rem;
}
.dueno p { color: var(--medio); max-width: 62ch; }
.dueno p b { color: var(--tinta); }
.dueno__cierre { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; margin-top: 3rem; }

.pie { padding: 3rem 0; border-top: 1px solid var(--linea); }
.pie__in p { font-size: var(--p--1); color: var(--medio); margin: 0 0 .8rem; }
.pie__leg { opacity: .9; }

/* ── REVEALS ────────────────────────────────────────────────────── */
.js [data-rev-grupo] > * { opacity: 0; transform: translateY(22px); }
.js [data-rev-grupo].ok > * {
  opacity: 1; transform: none;
  transition: opacity .3s ease-out, transform .55s var(--sale);
  transition-delay: calc(var(--r, 0) * 55ms);
}
[data-rev-grupo] > :nth-child(1){--r:0} [data-rev-grupo] > :nth-child(2){--r:1}
[data-rev-grupo] > :nth-child(3){--r:2} [data-rev-grupo] > :nth-child(4){--r:3}
[data-rev-grupo] > :nth-child(5){--r:4} [data-rev-grupo] > :nth-child(6){--r:5}
[data-rev-grupo] > :nth-child(7){--r:6}
@media (prefers-reduced-motion: reduce) {
  .js [data-rev-grupo] > * { opacity: 1; transform: none; transition: none; }
}
:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; }

/* ── MÓVIL ──────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .dos-col { grid-template-columns: 1fr; gap: 1.8rem; }
  .mitades { grid-template-columns: 1fr; }
  .mitades__foto img { aspect-ratio: 16 / 10; height: auto; }
  .dueno__cols { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 760px) {
  .cab__nav a:not(.cab__tel) { display: none; }
  .portada { min-height: auto; padding: 3.5rem 0 3rem; }
  /* En teléfono el texto cae sobre la foto: velo de arriba abajo. */
  .portada__foto img {
    object-position: 58% 50%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
  }
  .portada__foto::after {
    background: linear-gradient(180deg,
      rgba(246,247,248,.9) 0%, rgba(246,247,248,.84) 34%, rgba(246,247,248,.9) 64%, rgba(246,247,248,1) 100%);
  }
  .fila__t { font-size: var(--p-0); }
  .prep, .ficha-serv, .contacto, .dueno { padding: 4.5rem 0; }
  .mos { padding-top: 4.5rem; }
  .mos__grilla { grid-template-columns: repeat(2, 1fr); }
  .mos__p:nth-child(1), .mos__p:nth-child(6) { grid-column: span 2; }
}
@media (max-width: 460px) {
  .datos > div { flex-direction: column; gap: .2rem; }
  .datos dd { text-align: left; }
}

/* ── MAPA DE UBICACION ──────────────────────────────────────────────
   Imagen propia con mosaicos de OpenStreetMap pegados: la CSP prohibe
   pedir nada a un tercero, asi que un iframe de Google Maps quedaria en
   blanco SIN dar un solo error. El "Como llegar" si es un enlace, y un
   enlace no lo bloquea nada.
   Los colores salen de currentColor a proposito: asi el bloque se adapta
   a la paleta de cada demo sin conocerla y sin chocar con ella.
   La atribucion a OpenStreetMap la exige su licencia (ODbL). */
.mapa-sec { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.mapa { margin: 1.4rem 0 0; border: 1px solid; border-color: color-mix(in srgb, currentColor 22%, transparent); border-radius: 10px; overflow: hidden; }
@supports not (color: color-mix(in srgb, red 50%, blue)) { .mapa { border-color: rgba(128, 128, 128, .35); } }
.mapa img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.mapa__pie {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem;
  padding: .75rem .9rem;
  font-size: .86em; line-height: 1.45;
  border-top: 1px solid; border-top-color: color-mix(in srgb, currentColor 22%, transparent);
}
@supports not (color: color-mix(in srgb, red 50%, blue)) { .mapa__pie { border-top-color: rgba(128, 128, 128, .35); } }
.mapa__pie b { font-weight: 700; }
.mapa__ir { color: inherit; font-weight: 700; text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; }
.mapa__cred { width: 100%; font-size: .84em; opacity: .8; }
.mapa__cred a { color: inherit; }
/* ── BOTON FLOTANTE DE CONTACTO ─────────────────────────────────────
   56 px de alto, por encima del minimo tactil de 44. Los colores de
   marca van a proposito: se reconocen sin leerlos, y eso es lo que hace
   que se toquen. Se ve SIEMPRE por defecto; el JS solo lo aparta sobre
   la portada. Al reves, un fallo del script se llevaria el CTA principal. */
.flota {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem;
  height: 56px; padding: 0 1.15rem 0 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--cuerpo, system-ui, sans-serif);
  font-size: .95rem; font-weight: 700; line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .26), 0 2px 6px rgba(0, 0, 0, .16);
  transition: opacity .28s ease, transform .28s ease, box-shadow .18s ease;
}
.flota--wa { background: #25D366; color: #07310F; }
.flota--ig { background: linear-gradient(120deg, #F9CE34 4%, #EE2A7B 48%, #6228D7 96%); color: #FFFFFF; }
.flota__i { width: 26px; height: 26px; fill: currentColor; flex: none; }
.flota:hover, .flota:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.js .flota--arriba { opacity: 0; transform: translateY(14px) scale(.94); pointer-events: none; }

@media (max-width: 520px) {
  .flota { width: 56px; padding: 0; justify-content: center; }
  .flota__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .flota { transition: opacity .28s ease; }
  .flota:hover, .flota:focus-visible { transform: none; }
  .js .flota--arriba { transform: none; }
}