/* Veterinaria Medivet. Sistema tomado de turnio (plano, sin sombras, salas de color), pero con el círculo del logo como idea
   y dos modos: perro (amarillo) y gato (turquesa). El modo se pone en body[data-animal]. */
@property --piel { syntax: '<color>'; inherits: true; initial-value: #ffb800; }
@property --claro { syntax: '<color>'; inherits: true; initial-value: #fff4d4; }
@property --fuerte { syntax: '<color>'; inherits: true; initial-value: #8a5a00; }
@property --otro { syntax: '<color>'; inherits: true; initial-value: #17b1cf; }

:root {
  --marino: #002f5f;
  --noche: #00203f;
  --gris: #48617a;
  --amarillo: #ffb800;
  --turquesa: #17b1cf;
  --vida-acento: #002f5f;
  --vida-radio: 32px;
  --vida-arranque: .25s;
  --curva: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  --piel: #ffb800; --claro: #fff4d4; --fuerte: #8a5a00; --otro: #17b1cf;
  margin: 0; background: #fff; color: var(--marino);
  font: 400 18px/1.55 Figtree, system-ui, sans-serif;
  transition: --piel .8s ease, --claro .8s ease, --fuerte .8s ease, --otro .8s ease;
}
body[data-animal="gato"] { --piel: #1fb6d3; --claro: #e0f5f9; --fuerte: #00677c; --otro: #ffb800; }
main { overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: Gabarito, Figtree, sans-serif; font-weight: 700; letter-spacing: -.025em; line-height: .98; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(38px, 5.2vw, 76px); }
em { font-style: normal; color: var(--fuerte); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--marino); outline-offset: 3px; border-radius: 12px; }
.caja { width: min(1240px, 100% - 48px); margin-inline: auto; }
html:not(.con-js) .js-solo { display: none !important; }

/* Franja y barra */
.franja { background: var(--marino); color: #fff; font-size: 14px; text-align: center; padding: 8px 16px; }
.nav { position: sticky; top: 0; z-index: 30; background: var(--piel); }
.nav__caja { width: min(1240px, 100% - 48px); margin: auto; display: flex; align-items: center; gap: 28px; height: 76px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 26px/1 Gabarito, sans-serif; letter-spacing: -.02em; }
.marca img { background: #fff; border-radius: 50%; padding: 3px; }
.nav__links { display: flex; gap: 26px; margin: 0 auto; font-weight: 500; font-size: 16px; }
.nav__links a { text-decoration: none; padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .35s; }
.nav__links a:hover { background-size: 100% 2px; }

/* Botones */
.botones { display: flex; flex-wrap: wrap; gap: 12px; }
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 99px; background: var(--marino); color: #fff; font: 600 18px/1.1 Figtree, sans-serif; text-decoration: none; border: 2px solid var(--marino); transition: background .25s, color .25s, scale .25s; }
.boton svg { width: 22px; height: 22px; flex: none; }
.boton:hover { background: #fff; color: var(--marino); }
.boton:active { scale: .97; }
.boton--linea { background: transparent; color: var(--marino); }
.boton--linea:hover { background: var(--marino); color: #fff; }
.boton--nav { min-height: 46px; padding: 0 22px; font-size: 16px; white-space: nowrap; }
.boton--piel { background: var(--piel); border-color: var(--piel); color: var(--noche); }
.boton--ancho { width: 100%; }
.boton--grande { min-height: 72px; padding: 0 40px; font-size: 21px; }

/* La llave perro / gato */
.llave { display: inline-grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 99px; padding: 6px; position: relative; isolation: isolate; }
.llave::before { content: ''; position: absolute; z-index: -1; inset: 6px auto 6px 6px; width: calc(50% - 6px); border-radius: 99px; background: var(--otro); transition: translate .5s var(--curva); }
body[data-animal="gato"] .llave::before { translate: 100% 0; }
.llave button { border: 0; background: none; color: var(--marino); font: 600 17px/1 Figtree, sans-serif; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
.llave svg { width: 24px; height: 30px; }
.llave--chica { padding: 4px; }
.llave--chica::before { inset: 4px auto 4px 4px; width: calc(50% - 4px); }
.llave--chica button { min-height: 40px; padding: 0 13px; }
.llave--chica svg { width: 20px; height: 24px; }

/* Portada */
.portada { background: var(--piel); overflow: clip; }
.portada__caja { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: min(820px, calc(100svh - 112px)); padding-block: 16px 40px; }
.portada__bajada { font-weight: 600; margin-bottom: 22px; }
h1 { font-size: clamp(50px, 6.7vw, 102px); font-weight: 800; line-height: .94; letter-spacing: -.035em; }
.renglon { display: block; }
.portada__p { font-size: clamp(18px, 1.5vw, 21px); max-width: 31em; margin: 24px 0 28px; }
.portada .llave { margin-bottom: 18px; }
.emblema { position: relative; width: min(100%, 78svh, 660px); aspect-ratio: 1; justify-self: center; }
.emblema__foto { position: absolute; left: 14.5%; top: 11.25%; width: 69%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--otro); }
.emblema__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.02; clip-path: circle(0% at 50% 100%); transition: clip-path .9s var(--vida-corte, ease); z-index: 1; }
body[data-animal="perro"] .emblema__video[data-de="perro"],
body[data-animal="gato"] .emblema__video[data-de="gato"] { clip-path: circle(120% at 50% 100%); z-index: 2; }
body:not([data-animal="perro"]) .emblema__video[data-de="perro"],
body:not([data-animal="gato"]) .emblema__video[data-de="gato"] { transition-delay: .9s; transition-duration: 0s; }
.emblema__marca { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.emblema__aro { transform-origin: 97.5px 91px; rotate: calc(var(--giro, 0) * 1deg); }
.emblema__mano, .emblema__cruz { transform-box: fill-box; transform-origin: center; }
.js .emblema__aro { animation: aro 1.5s .2s var(--curva) backwards; }
.js .emblema__mano { animation: mano 1.3s .35s var(--curva) backwards; }
.js .emblema__cruz { animation: cruz .8s 1.200s cubic-bezier(.3, 1.700, .5, 1) backwards; }
.js .emblema__foto { animation: foto 1.1s .1s var(--curva) backwards; }
@keyframes aro { from { transform: rotate(-150deg); opacity: 0; } }
@keyframes mano { from { transform: translate(-14px, 46px); opacity: 0; } }
@keyframes cruz { from { transform: scale(0) rotate(-90deg); } }
@keyframes foto { from { transform: scale(.6); opacity: 0; } }
.globo { position: absolute; z-index: 4; background: #fff; color: var(--marino); border-radius: 99px; text-decoration: none; display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.2; font-weight: 500; }
.globo--google { left: -2%; top: 49%; padding: 8px 22px 8px 8px; }
.globo--google strong { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--marino); color: #fff; font: 700 23px/1 Gabarito, sans-serif; }
.globo--estado { right: -2%; bottom: 4%; padding: 14px 20px; }
.globo i, .donde__estado i { width: 12px; height: 12px; border-radius: 50%; background: #9db0c1; flex: none; }
.abierto i { background: #16a34a !important; }

/* Ficha */
.ficha { padding: clamp(80px, 10vw, 150px) 0; }
.ficha__caja { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.ficha__intro { position: sticky; top: 120px; display: grid; gap: 26px; }
.ficha__intro p { max-width: 30em; color: var(--gris); }
.ficha__alerta { border-top: 2px solid var(--marino); padding-top: 20px; font-size: 16px; }
.ficha__alerta strong { color: var(--marino); }
.papel { background: var(--claro); border-radius: 40px; padding: clamp(24px, 3.200vw, 44px); display: grid; gap: 30px; }
.papel__cabeza { display: flex; align-items: center; gap: 22px; }
.papel__cabeza > div { flex: 1; min-width: 0; }
.papel__sello { width: 92px; height: 92px; padding: 18px; border-radius: 50%; background: var(--piel); color: #fff; flex: none; }
.papel label, .papel legend, .papel__mirar > p { font-size: 15px; font-weight: 600; color: var(--gris); padding: 0; }
.papel input[type="text"] { width: 100%; border: 0; border-bottom: 2px solid var(--marino); background: none; padding: 4px 0 6px; font: 700 clamp(26px, 3vw, 40px)/1.1 Gabarito, sans-serif; color: var(--marino); border-radius: 0; letter-spacing: -.02em; }
.papel input[type="text"]::placeholder { color: var(--marino); opacity: .38; }
.papel input[type="text"]:focus { outline: none; border-bottom-width: 4px; padding-bottom: 4px; }
.papel__signos { border: 0; margin: 0; padding: 0; min-width: 0; }
#signos { display: grid; margin-top: 8px; }
label.signo, .papel .signo { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid color-mix(in srgb, var(--marino) 18%, transparent); cursor: pointer; font-size: 18px; font-weight: 500; line-height: 1.25; color: var(--marino); }
.signo input { appearance: none; width: 28px; height: 28px; margin: 0; border-radius: 50%; border: 2px solid var(--marino); flex: none; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.signo input::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: #fff; scale: 0; transition: scale .25s var(--curva); }
.signo input:checked { background: var(--marino); }
.signo input:checked::after { scale: 1; }
.papel__mirar ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-height: 42px; }
.papel__mirar li { background: #fff; border-radius: 99px; padding: 8px 18px; font-weight: 600; font-size: 16px; animation: brota .45s var(--curva); }
@keyframes brota { from { scale: .6; opacity: 0; } }
.papel__nota { font-size: 15px; color: var(--gris); text-align: center; margin-top: -14px; }

/* Chequeo Express */
.chequeo { background: var(--noche); color: #fff; padding: clamp(80px, 9vw, 130px) 0; }
.chequeo__caja { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.chequeo__bajada { font-size: 20px; max-width: 26em; margin: 20px 0 30px; color: #c6d6e6; }
.pasos { list-style: none; margin: 0 0 34px; padding: 0; }
.pasos li { border-top: 1px solid rgba(255, 255, 255, .22); padding: 14px 0; }
.pasos span { font: 600 clamp(22px, 2.200vw, 30px)/1.1 Gabarito, sans-serif; letter-spacing: -.01em; }
.pasos p { color: #c6d6e6; font-size: 17px; padding-top: 4px; }
.con-js .pasos li { transition: opacity .4s, color .4s; opacity: .62; }
.con-js .pasos li p { display: grid; grid-template-rows: 1fr; max-height: 0; overflow: hidden; padding-top: 0; transition: max-height .5s var(--curva), padding .5s; }
.con-js .pasos li.es-actual { opacity: 1; color: var(--piel); }
.con-js .pasos li.es-actual p { max-height: 80px; padding-top: 6px; }
.reloj { position: relative; width: min(100%, 70svh, 600px); aspect-ratio: 1; justify-self: center; }
.reloj svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.reloj__marcas line { stroke: rgba(255, 255, 255, .35); stroke-width: 2; stroke-linecap: round; transition: stroke .3s; }
.reloj__marcas line.paso { stroke: var(--piel); }
.reloj__pista, .reloj__avance { fill: none; stroke-width: 16; }
.reloj__pista { stroke: rgba(255, 255, 255, .12); }
.reloj__avance { stroke: var(--piel); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; stroke-dasharray: calc(var(--p, 1) * 100) 200; }
.reloj__foto { position: absolute; inset: 11.5%; border-radius: 50%; overflow: hidden; background: var(--marino); }
.reloj__foto video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.12; transition: opacity .6s, scale 1.2s var(--curva); }
.reloj__foto video.es-actual { opacity: 1; scale: 1; }
.reloj__min { position: absolute; right: 2%; bottom: 4%; width: 31%; aspect-ratio: 1; border-radius: 50%; background: var(--piel); color: var(--noche); display: grid; place-content: center; justify-items: center; line-height: .9; }
.reloj__min b { font: 800 clamp(38px, 5vw, 74px)/.9 Gabarito, sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.reloj__min span { font-weight: 600; font-size: clamp(14px, 1.400vw, 18px); }
.js .chequeo { padding: 0; height: 360vh; height: 360svh; }
.js .chequeo__pin { position: sticky; top: 76px; min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: grid; align-items: center; padding: 24px 0; }

/* Especialidades */
.espe { padding: clamp(80px, 10vw, 150px) 0 clamp(70px, 8vw, 120px); }
.espe__cabeza { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.espe__cabeza p { color: var(--gris); max-width: 24em; }
.paneles { display: flex; gap: 10px; height: min(600px, 74vh); }
.panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: 99px; overflow: hidden; background: var(--marino); color: #fff; cursor: pointer; isolation: isolate; }
.panel { transition: flex-grow .8s var(--curva), border-radius .8s var(--curva); }
.panel.es-abierto { flex-grow: 6.2; border-radius: 40px; cursor: default; }
.panel img, .panel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0, 32, 63, .5); transition: background .5s; }
.panel:not(.es-abierto):hover::before { background: rgba(0, 32, 63, .25); }
.panel.es-abierto::before { background: linear-gradient(to top, rgba(0, 24, 48, .88), rgba(0, 24, 48, .1) 62%); }
.panel button { position: absolute; left: 0; bottom: 0; border: 0; background: none; color: #fff; font: 700 25px/1 Gabarito, sans-serif; letter-spacing: -.01em; cursor: pointer; white-space: nowrap; text-align: left; padding: 0; transform-origin: 0 50%; left: 50%; bottom: 34px; transform: rotate(-90deg) translateY(0); transition: transform .7s var(--curva), left .7s var(--curva), bottom .7s var(--curva), font-size .5s; }
.panel button::after { content: ''; position: absolute; inset: -60px; }
.panel.es-abierto button { left: 36px; bottom: 132px; transform: none; font-size: clamp(34px, 3.600vw, 54px); }
.panel.es-abierto button::after { display: none; }
.panel > p { position: absolute; left: 36px; bottom: 34px; width: min(34em, 520px); height: 84px; font-size: 18px; opacity: 0; translate: 0 12px; transition: opacity .25s, translate .4s; pointer-events: none; }
.panel.es-abierto > p { opacity: 1; translate: 0 0; transition: opacity .5s .4s, translate .6s .4s var(--curva); }
.espe__mas { margin-top: 28px; font-size: 20px; font-weight: 500; }

/* Nosotros */
.nosotros { background: var(--piel); padding: clamp(80px, 9vw, 140px) 0; }
.nosotros__caja { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.nosotros__foto { border-radius: 40px; overflow: hidden; --vida-radio: 40px; }
.nosotros__foto img { width: 100%; height: auto; border-radius: 40px; }
.nosotros__texto > p { font-size: 20px; margin: 26px 0 34px; max-width: 30em; }
.datos { display: flex; flex-wrap: wrap; gap: 16px 46px; margin: 0 0 36px; }
.datos div { display: flex; flex-direction: column-reverse; }
.datos dt { font-size: 16px; font-weight: 500; }
.datos dd { margin: 0; font: 800 clamp(48px, 5vw, 74px)/1 Gabarito, sans-serif; letter-spacing: -.03em; }
.nosotros__texto > p.congreso { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 28px; padding: 18px 24px; font-size: 17px; margin: 0; }
.congreso svg { width: 38px; height: 54px; color: var(--otro); flex: none; transition: color .5s; }

/* Opiniones */
.opi { padding: clamp(80px, 9vw, 140px) 0 clamp(60px, 7vw, 100px); overflow: clip; }
.opi__cabeza { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.opi__cabeza h2 { max-width: 11em; }
.opi__flechas { display: flex; gap: 10px; }
.opi__flechas button { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--marino); background: none; color: var(--marino); cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s; }
.opi__flechas button:first-child { rotate: 180deg; }
.opi__flechas button:hover { background: var(--marino); color: #fff; }
.opi__flechas svg { width: 26px; height: 26px; }
.riel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(24px, calc((100vw - 1240px) / 2)) 22px; scroll-padding-inline: max(24px, calc((100vw - 1240px) / 2)); scrollbar-width: none; }
.riel::-webkit-scrollbar { display: none; }
.dicho { flex: 0 0 min(440px, 82vw); aspect-ratio: 1; margin: 0; border-radius: 50%; display: grid; place-items: center; padding: 58px; text-align: center; scroll-snap-align: start; }
.dicho p { font: 600 clamp(18px, 1.700vw, 23px)/1.28 Gabarito, sans-serif; text-wrap: balance; }
.dicho--a { background: var(--claro); }
.dicho--b { background: var(--piel); }
.dicho--c { background: var(--marino); color: #fff; }
.opi__pie { font-size: 16px; color: var(--gris); }

/* Horarios */
.donde { background: var(--claro); padding: clamp(80px, 9vw, 140px) 0; }
.donde__caja { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: stretch; }
.donde__estado { display: inline-flex; align-items: center; gap: 12px; background: #fff; border-radius: 99px; padding: 12px 22px; font-weight: 600; margin: 24px 0 30px; }
.semana { margin-bottom: 34px; display: grid; gap: 4px; }
.semana p { padding: 6px 0; }
.turno { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 16px; min-height: 40px; font-weight: 500; }
.turno.es-hoy { font-weight: 700; }
.turno__linea { position: relative; height: 14px; border-radius: 99px; background: #fff; }
.turno__linea b { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: color-mix(in srgb, var(--marino) 30%, transparent); }
.turno.es-hoy .turno__linea b { background: var(--marino); }
.turno__linea u { position: absolute; top: -9px; bottom: -9px; width: 4px; margin-left: -2px; border-radius: 4px; background: #e2264d; }
.turno__horas { position: relative; height: 24px; margin-left: 112px; font-size: 14px; color: var(--gris); }
.turno__horas span { position: absolute; translate: -50% 0; white-space: nowrap; }
.mapa { border-radius: 40px; overflow: hidden; min-height: 420px; background: #fff; }
.mapa iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Preguntas */
.preg { padding: clamp(80px, 9vw, 140px) 0; }
.preg__caja { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.200fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.preg details { border-top: 2px solid var(--marino); }
.preg details:last-child { border-bottom: 2px solid var(--marino); }
.preg summary { list-style: none; cursor: pointer; padding: 24px 0; font: 600 clamp(20px, 2vw, 26px)/1.2 Gabarito, sans-serif; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.preg summary::-webkit-details-marker { display: none; }
.preg summary::after { content: ''; width: 34px; height: 34px; border-radius: 50%; flex: none; background: linear-gradient(var(--marino), var(--marino)) center / 14px 2.5px no-repeat, linear-gradient(var(--marino), var(--marino)) center / 2.5px 14px no-repeat, var(--piel); transition: rotate .4s var(--curva); }
.preg details[open] summary::after { rotate: 135deg; }
.preg details p { padding: 0 60px 26px 0; color: var(--gris); max-width: 36em; }

/* Cierre y pie */
.cierre { position: relative; background: var(--piel); overflow: clip; padding: clamp(80px, 9vw, 130px) 0 clamp(280px, 27vw, 400px); text-align: center; }
.cierre h2 { font-size: clamp(54px, 9.500vw, 150px); font-weight: 800; overflow-wrap: anywhere; }
.cierre em { color: var(--marino); background: #fff; border-radius: .3em; padding: 0 .2em .06em; display: inline-block; max-width: 100%; }
.cierre h2 { line-height: 1.08; }
.cierre__caja { display: grid; gap: 40px; justify-items: center; }
.cierre__perro, .cierre__gato { position: absolute; bottom: -14px; color: #fff; transition: translate .8s var(--curva), color .8s; }
.cierre__perro { width: clamp(170px, 18vw, 262px); height: clamp(247px, 26.2vw, 380px); right: 50%; margin-right: -4%; bottom: -20px; }
.cierre__gato { width: clamp(120px, 12.6vw, 182px); height: clamp(170px, 17.8vw, 257px); left: 50%; margin-left: 4%; color: var(--otro); }
body[data-animal="gato"] .cierre__perro { color: var(--otro); translate: 0 18%; }
body[data-animal="gato"] .cierre__gato { color: #fff; }
body[data-animal="perro"] .cierre__gato { translate: 0 14%; }
.pie { background: var(--noche); color: #dbe7f2; padding: 54px 0 110px; font-size: 16px; }
.pie__caja { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; }
.pie .marca { color: #fff; }
.pie__final { flex-basis: 100%; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 15px; }
.flota { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 24px; border-radius: 99px; background: var(--marino); color: #fff; font-weight: 600; text-decoration: none; border: 2px solid #fff; transition: translate .5s var(--curva), opacity .4s, visibility .4s; }
.flota svg { width: 22px; height: 22px; }
.flota.oculto { translate: 0 90px; opacity: 0; visibility: hidden; }

/* Privacidad */
.legal { padding: 70px 0 110px; max-width: 760px; display: grid; gap: 14px; }
.legal h1 { font-size: clamp(44px, 6vw, 76px); margin-bottom: 14px; }
.legal h2 { font-size: 26px; letter-spacing: -.01em; margin-top: 22px; }

@media (max-width: 1080px) { .nav__links { display: none; } .nav .llave { margin-left: auto; } }
@media (max-width: 820px) {
  body { font-size: 17px; }
  .caja, .nav__caja { width: calc(100% - 40px); }
  .nav__caja { height: 68px; gap: 12px; }
  .marca { font-size: 22px; }
  .marca img { width: 40px; height: 40px; }
  .boton--nav { padding: 0 16px; min-height: 44px; font-size: 15px; }
  .nav .llave { display: none; }
  .nav .boton--nav { margin-left: auto; }
  .portada__caja { grid-template-columns: 1fr; min-height: 0; padding-block: 12px 44px; gap: 8px; }
  .portada__texto { display: contents; }
  .portada__bajada { order: 1; font-size: 15px; margin-bottom: 8px; }
  h1 { order: 2; font-size: clamp(42px, 12.900vw, 60px); }
  .emblema { order: 3; width: min(100%, 420px); margin-top: 8px; }
  .portada .llave { order: 4; display: grid; margin: 10px 0 14px; }
  .portada .llave button { padding: 0 8px; font-size: 16px; gap: 8px; }
  .portada__p { order: 5; margin: 0 0 16px; }
  .portada .botones { order: 6; display: grid; }
  .globo { font-size: 13px; gap: 9px; }
  .globo--google { left: -6px; top: 0; padding: 5px 14px 5px 5px; }
  .globo--google strong { width: 46px; height: 46px; font-size: 19px; }
  .globo--estado { right: -4px; bottom: 0; padding: 10px 14px; }
  .ficha__caja, .nosotros__caja, .donde__caja, .preg__caja, .espe__cabeza { grid-template-columns: 1fr; }
  .ficha__intro { position: static; }
  .papel { border-radius: 32px; margin-inline: -6px; }
  .papel__sello { width: 74px; height: 74px; padding: 14px; }
  .boton--ancho { padding: 0 18px; font-size: 17px; }
  .chequeo__caja { grid-template-columns: 1fr; gap: 16px; }
  .reloj { order: -1; width: min(64vw, 38svh); }
  .reloj__min { width: 36%; }
  .js .chequeo__pin { top: 68px; min-height: calc(100svh - 68px); padding: 14px 0; align-items: start; }
  .chequeo h2 { font-size: 38px; }
  .chequeo__bajada { font-size: 16px; margin: 8px 0 12px; line-height: 1.4; }
  .pasos { margin-bottom: 16px; }
  .pasos li { padding: 8px 0; }
  .pasos span { font-size: 19px; }
  .pasos p { font-size: 15px; line-height: 1.35; }
  .chequeo .boton { min-height: 50px; font-size: 16px; width: 100%; }
  .espe__cabeza { gap: 16px; margin-bottom: 30px; }
  .paneles { flex-direction: column; height: auto; gap: 8px; }
  .panel { flex: none; height: 68px; transition: height .7s var(--curva), border-radius .7s var(--curva); }
  .panel.es-abierto { height: 380px; border-radius: 32px; }
  .panel button, .panel.es-abierto button { left: 26px; transform: none; transition: bottom .6s var(--curva); }
  .panel button { bottom: 22px; font-size: 23px; }
  .panel button::after { inset: -22px -300px -22px -26px; }
  .panel.es-abierto button { bottom: 128px; font-size: 34px; }
  .panel > p { left: 26px; right: 26px; width: auto; bottom: 18px; height: 100px; font-size: 16px; line-height: 1.4; }
  .espe__mas { font-size: 18px; }
  .nosotros__foto, .nosotros__foto img { border-radius: 28px; --vida-radio: 28px; }
  .nosotros__texto > p { font-size: 18px; }
  .datos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .datos dd { font-size: 42px; }
  .datos dt { font-size: 14px; line-height: 1.2; min-height: 2.4em; }
  .boton--grande { min-height: 64px; padding: 0 26px; font-size: 18px; }
  .cierre h2 { font-size: clamp(48px, 14vw, 64px); }
  .opi__flechas { display: none; }
  .dicho { padding: 38px; }
  .turno { grid-template-columns: 46px 1fr; gap: 10px; }
  .turno__horas { margin-left: 56px; }
  .mapa, .mapa iframe { min-height: 340px; }
  .preg details p { padding-right: 0; }
  .flota { right: 14px; bottom: 14px; min-height: 52px; }
}
@media (max-width: 820px) and (max-height: 700px) { .chequeo__bajada { display: none; } .reloj { width: min(56vw, 32svh); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01s !important; } html { scroll-behavior: auto; } .con-js .pasos li, .con-js .pasos li.es-actual { opacity: 1; color: #fff; } .con-js .pasos li p { max-height: none; } }
