/* Lic. Lautaro Acosta Klein — estilos (mobile first) */

@font-face {
  font-family: "Bricolage";
  src: url("assets/fonts/bricolage-variable.woff2") format("woff2-variations"), url("assets/fonts/bricolage-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --marino: #0D2747;
  --marino-hondo: #081A33;
  --marino-medio: #17396A;
  --azul-claro: #6F9BD1;
  --cielo: #CFE0F5;
  --hielo: #EEF3F8;
  --naranja: #F07A2C;
  --naranja-claro: #F69350;
  --naranja-texto: #B5500F;   /* naranja con contraste AA sobre blanco */
  --blanco: #FFFFFF;
  --texto: #0D2747;
  --suave: #4B5D78;
  --linea: #D3DDE9;
  --error: #B42318;
  --sombra: 0 24px 48px -24px rgba(13, 39, 71, .35);
  --gutter: 16px;
  --sec: 72px;
  --fuente: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (min-width: 480px) { :root { --gutter: 20px; } }
@media (min-width: 1000px) { :root { --gutter: 32px; --sec: 112px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.bloqueo { overflow: hidden; }
body {
  margin: 0; background: var(--blanco); color: var(--texto);
  font-family: var(--fuente); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  font-optical-sizing: auto; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 720; font-stretch: 90%; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
p + p { margin-top: .9em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; border-radius: 6px; }

.saltar { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--marino); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.saltar:focus { top: 10px; }

.contenedor { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn__ico { width: 20px; height: 20px; flex: none; }
.btn--naranja { background: var(--naranja); color: var(--marino); box-shadow: 0 10px 24px -12px rgba(240, 122, 44, .8); }
.btn--naranja:hover { background: var(--naranja-claro); }
.btn--borde { border-color: var(--marino); color: var(--marino); background: transparent; }
.btn--borde:hover { background: var(--marino); color: #fff; }
.btn--blanco { background: #fff; color: var(--marino); }
.btn--vidrio { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); }
.btn--vidrio:hover { background: rgba(255, 255, 255, .2); }
@supports (backdrop-filter: blur(8px)) { .btn--vidrio { backdrop-filter: blur(8px); } }
.btn--chico { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn--grande { min-height: 56px; padding: 0 28px; font-size: 1.04rem; }
.btn--ancho { width: 100%; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0) scale(.98); }
}
.icono-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: transparent; color: inherit; cursor: pointer; flex: none; padding: 0;
}
.icono-btn svg { width: 24px; height: 24px; }

/* ---------- header (transparente sobre el hero) ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; color: #fff; transition: background-color .25s, color .25s, box-shadow .25s; }
.header.is-scrolled { background: rgba(255, 255, 255, .97); color: var(--marino); box-shadow: 0 1px 0 var(--linea); }
@supports (backdrop-filter: blur(8px)) { .header.is-scrolled { background: rgba(255, 255, 255, .84); backdrop-filter: blur(12px); } }
.header__in { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.marca__icono { width: 30px; height: 30px; color: var(--naranja); flex: none; }
.marca__txt { display: flex; flex-direction: column; min-width: 0; }
.marca__nombre { font-weight: 720; font-stretch: 92%; font-size: 1.02rem; line-height: 1.15; letter-spacing: -0.01em; white-space: nowrap; }
.marca__esp { font-size: .8rem; opacity: .78; line-height: 1.2; white-space: nowrap; }
.header__nav { display: none; }
.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }
@media (min-width: 1080px) {
  .header__in { min-height: 80px; gap: 20px; }
  .header__nav { display: flex; gap: 2px; }
  .header__nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 520; font-size: .97rem; white-space: nowrap; opacity: .88; }
  .header__nav a:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
  .header.is-scrolled .header__nav a:hover { background: var(--hielo); }
  .header__burger { display: none; }
}

/* ---------- menú mobile ---------- */
.menu {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; padding: 0;
  background: var(--marino); color: #fff; display: none; flex-direction: column;
}
.menu[open] { display: flex; }
.menu::backdrop { background: rgba(8, 26, 51, .5); }
.menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding-inline: var(--gutter); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.menu__nav { display: flex; flex-direction: column; padding: 16px var(--gutter); overflow-y: auto; }
.menu__nav a { padding: 12px 0; font-size: 1.45rem; font-weight: 620; font-stretch: 92%; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.menu__pie { margin-top: auto; display: flex; gap: 12px; align-items: center; padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom)); }
.menu__pie .btn { flex: 1; }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] { animation: menu-entra .22s ease-out; }
  @keyframes menu-entra { from { opacity: 0; transform: translateY(-8px); } }
}

/* ---------- HERO ---------- */
.hero { position: relative; isolation: isolate; color: #fff; padding: 100px 0 0; }
.hero__fondo { position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(70% 55% at 78% 38%, rgba(186, 214, 245, .55), transparent 70%),
    linear-gradient(165deg, #0A1F3D 0%, var(--marino-medio) 44%, #5C8DC9 100%);
}
.hero__fondo::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 96px 96px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent 80%); mask-image: linear-gradient(to bottom, #000 10%, transparent 80%);
}
.hero__in { display: grid; gap: 40px; }
.hero__titulo { display: flex; flex-direction: column; }
.hero__claim { font-size: clamp(2.75rem, 12.4vw, 5.9rem); font-weight: 760; font-stretch: 82%; line-height: .94; letter-spacing: -0.032em; }
.hero__lugar { margin-top: .7em; font-size: clamp(1.05rem, 3.9vw, 1.35rem); font-weight: 580; font-stretch: 94%; color: var(--cielo); letter-spacing: -0.005em; line-height: 1.25; }
.hero__nombre { margin-top: 10px; font-weight: 650; }
.hero__nombre span { font-weight: 420; color: var(--cielo); }
.hero__bajada { margin-top: 14px; max-width: 32em; color: #DCE7F5; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__ctas .btn { flex: 1 1 150px; }
.hero__datos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; max-width: 480px; }
.hero__datos li { padding: 12px 12px 11px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); line-height: 1.2; }
.hero__datos strong { display: block; font-size: 1.12rem; font-weight: 720; font-stretch: 90%; }
.hero__datos span { font-size: .84rem; color: var(--cielo); }
@media (min-width: 640px) { .hero__ctas .btn { flex: 0 0 auto; } }

.hero__visual { position: relative; width: min(100%, 380px); margin: 0 auto -56px; z-index: 2; }
.hero__glow {
  position: absolute; inset: -12% -16%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .7), rgba(170, 205, 245, .4) 45%, transparent 75%);
  filter: blur(24px);
}
.hero__media--tarjeta { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; background: #E3E9F0;
  box-shadow: 0 40px 70px -28px rgba(8, 26, 51, .7); outline: 1px solid rgba(255, 255, 255, .55); outline-offset: -1px; }
.hero__media--tarjeta img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__media--tarjeta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 39, 71, .62), rgba(13, 39, 71, 0) 34%); }
.hero__media--recorte img { display: block; width: 100%; height: auto; filter: drop-shadow(-8px 12px 24px rgba(8, 26, 51, .28)); }
/* hero con recorte sin fondo: la figura se apoya sobre el borde inferior del hero y la cabeza sale del círculo */
.hero__visual:has(.hero__media--recorte) { width: min(100%, 330px); margin-bottom: 0; align-self: end; }
.hero__visual:has(.hero__media--recorte)::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 14%; width: 96%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)); border: 1px solid rgba(255, 255, 255, .28);
}
.hero__visual:has(.hero__media--recorte) .hero__glow { inset: 4% -22% 22%; filter: blur(34px); }
.hero:has(.hero__media--recorte) { overflow: hidden; }
.hero:has(.hero__media--recorte) + .seccion--servicios { padding-top: var(--sec); }
.hero__visual:has(.hero__media--recorte) .vidrio--1 { top: 42%; left: -6px; }
.hero__visual:has(.hero__media--recorte) .vidrio--2 { top: 61%; right: -6px; }
.hero__visual:has(.hero__media--recorte) .vidrio--3 { top: auto; bottom: 5%; left: -6px; }
@media (min-width: 1000px) {
  .hero__visual:has(.hero__media--recorte) { width: 100%; max-width: 460px; margin: 0 48px 0 0; }
  .hero__visual:has(.hero__media--recorte) .vidrio--1 { top: 38%; left: -96px; }
  .hero__visual:has(.hero__media--recorte) .vidrio--2 { top: 55%; right: -56px; }
  .hero__visual:has(.hero__media--recorte) .vidrio--3 { bottom: 9%; left: -72px; }
  .hero:has(.hero__media--recorte) .hero__texto { padding-bottom: 104px; }
}

.vidrio {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 18px;
  background: rgba(255, 255, 255, .9); color: var(--marino); line-height: 1.2; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 16px 32px -14px rgba(8, 26, 51, .45);
}
@supports (backdrop-filter: blur(10px)) { .vidrio { background: rgba(255, 255, 255, .66); backdrop-filter: blur(14px) saturate(1.5); } }
.vidrio strong { display: block; font-size: .92rem; font-weight: 700; }
.vidrio small { display: block; font-size: .78rem; color: var(--suave); }
.vidrio__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--marino); color: #fff; flex: none; }
.vidrio__ico svg { width: 18px; height: 18px; }
.vidrio--1 { top: 16px; left: 10px; }
.vidrio--2 { top: 46%; right: 10px; }
.vidrio--3 { bottom: 22px; left: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .js .vidrio { animation: vidrio-entra .6s cubic-bezier(.2, .7, .2, 1) both; }
  .js .vidrio--1 { animation-delay: .25s; } .js .vidrio--2 { animation-delay: .4s; } .js .vidrio--3 { animation-delay: .55s; }
  @keyframes vidrio-entra { from { opacity: 0; transform: translateY(12px); } }
}

@media (min-width: 1000px) {
  .hero { padding-top: 128px; }
  .hero__in { grid-template-columns: 1.08fr .92fr; align-items: end; gap: 48px; }
  .hero__texto { padding-bottom: 88px; }
  .hero__visual { width: 100%; max-width: 470px; justify-self: end; margin: 0 24px -72px 0; }
  .vidrio--1 { top: 9%; left: -64px; }
  .vidrio--2 { top: 45%; right: -40px; }
  .vidrio--3 { bottom: 15%; left: -48px; }
  .vidrio { padding: 11px 18px 11px 11px; }
  .vidrio strong { font-size: 1rem; }
  .vidrio__ico { width: 40px; height: 40px; }
}

/* ---------- secciones ---------- */
.seccion { padding: var(--sec) 0; }
.seccion--hielo { background: var(--hielo); }
.seccion__cab { max-width: 640px; margin-bottom: 36px; }
.seccion__cab p { margin-top: 14px; color: var(--suave); }
h2 { font-size: clamp(2rem, 6.2vw, 3.1rem); }
@media (min-width: 1000px) { .seccion__cab { margin-bottom: 52px; } }
.seccion--servicios { padding-top: calc(var(--sec) + 56px); }
@media (min-width: 1000px) { .seccion--servicios { padding-top: calc(var(--sec) + 8px); } }

/* servicios: grilla compacta (ícono + título); el detalle se abre en una hoja */
.servicios { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 10px; }
.servicio { display: flex; }
.servicio__titulo { display: flex; flex: 1; font-size: inherit; font-weight: inherit; letter-spacing: 0; }
.servicio__btn {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 14px;
  min-height: 116px; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--linea);
  font: inherit; color: var(--marino); text-align: left; cursor: pointer; position: relative;
  transition: transform .22s cubic-bezier(.2, .7, .2, 1), box-shadow .22s, border-color .22s;
}
.servicio__btn::after {
  content: ""; position: absolute; top: 18px; right: 16px; width: 8px; height: 8px;
  border-top: 2px solid var(--naranja-texto); border-right: 2px solid var(--naranja-texto); transform: rotate(45deg); opacity: .7;
}
.servicio__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--hielo); color: var(--marino); flex: none; transition: background-color .22s, color .22s; }
.servicio__ico svg { width: 23px; height: 23px; }
.servicio__nombre { font-size: .95rem; font-weight: 680; font-stretch: 92%; line-height: 1.18; letter-spacing: -0.01em; hyphens: manual; overflow-wrap: normal; padding-right: 6px; }
@media (hover: hover) {
  .servicio__btn:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: transparent; }
  .servicio__btn:hover .servicio__ico { background: var(--marino); color: #fff; }
}
@media (prefers-reduced-motion: no-preference) { .servicio__btn:active { transform: scale(.98); } }
@media (prefers-reduced-motion: reduce) { .servicio__btn, .servicio__btn:hover { transform: none; } }
@media (min-width: 640px) { .servicios { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1000px) {
  .servicios { gap: 20px; }
  .servicio__btn { min-height: 112px; padding: 22px 24px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; }
  .servicio__ico { width: 56px; height: 56px; border-radius: 18px; }
  .servicio__ico svg { width: 28px; height: 28px; }
  .servicio__nombre { font-size: 1.15rem; padding-right: 18px; }
  .servicio__btn::after { top: 50%; margin-top: -4px; right: 22px; }
}

/* hoja de detalle del servicio */
.hoja {
  position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 86vh; margin: 0; border: 0;
  padding: 10px 20px calc(18px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0;
  background: #fff; color: var(--texto); box-shadow: 0 -20px 50px -20px rgba(8, 26, 51, .4); overflow-y: auto;
}
.hoja[open] { display: flex; flex-direction: column; }
.hoja::backdrop { background: rgba(8, 26, 51, .45); }
.hoja__agarre { width: 44px; height: 5px; border-radius: 999px; background: #CCD6E3; margin: 0 auto 14px; flex: none; }
.hoja__cab { display: flex; align-items: center; gap: 14px; }
.hoja__titulo { font-size: 1.35rem; flex: 1; }
.hoja__cerrar { background: var(--hielo); width: 40px; height: 40px; }
.hoja__cerrar svg { width: 20px; height: 20px; }
.hoja__cuerpo { margin: 16px 0 20px; }
.hoja__desc { color: var(--texto); }
.hoja__uso { margin-top: 16px; padding: 14px 16px; border-radius: 18px; background: var(--hielo); }
.hoja__subt { font-weight: 700; margin-bottom: 4px; color: var(--marino); }
.hoja__uso p + p { margin-top: 0; color: var(--suave); }
@media (prefers-reduced-motion: no-preference) {
  .hoja[open] { animation: hoja-sube .3s cubic-bezier(.2, .7, .2, 1); }
  @keyframes hoja-sube { from { transform: translateY(40px); opacity: .4; } }
}
@media (min-width: 768px) {
  .hoja { inset: 0; margin: auto; width: min(540px, calc(100% - 40px)); max-height: 80vh; height: fit-content; border-radius: 28px; padding: 28px; }
  .hoja__agarre { display: none; }
  @media (prefers-reduced-motion: no-preference) { .hoja[open] { animation: hoja-modal .24s cubic-bezier(.2, .7, .2, 1); } @keyframes hoja-modal { from { transform: translateY(12px) scale(.98); opacity: 0; } } }
}

/* consultorio: galería + tarjeta flotante de equipamiento */
.consultorio { position: relative; }
.galeria {
  display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px;
  scrollbar-width: none;
}
.galeria::-webkit-scrollbar { display: none; }
.galeria__item { margin: 0; scroll-snap-align: start; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4; background: #dfe6ef; }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; }
.equipo {
  position: relative; z-index: 1; margin: -40px 12px 0; padding: 22px; border-radius: 26px;
  background: rgba(255, 255, 255, .96); box-shadow: var(--sombra); border: 1px solid rgba(255, 255, 255, .9);
}
@supports (backdrop-filter: blur(10px)) { .equipo { background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.4); } }
.equipo h3 { font-size: 1.15rem; margin-bottom: 14px; }
.equipo ul { display: grid; gap: 12px; }
.equipo li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.3; }
.equipo__check { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--naranja); color: var(--marino); flex: none; margin-top: 1px; }
.equipo strong { display: block; font-weight: 650; font-size: .98rem; }
.equipo small { display: block; font-size: .86rem; color: var(--suave); }
@media (min-width: 900px) {
  .galeria { grid-auto-flow: row; grid-template-columns: 1.4fr 1fr; grid-template-rows: 300px 300px; overflow: visible; margin: 0; padding: 0; gap: 18px; }
  .galeria__item { aspect-ratio: auto; height: 100%; border-radius: 32px; }
  .galeria__item--grande { grid-row: span 2; }
  .equipo { position: absolute; left: -20px; bottom: -56px; width: 360px; margin: 0; padding: 26px; }
  #consultorio { padding-bottom: calc(var(--sec) + 48px); }
}

/* pisada */
.pisada {
  position: relative; overflow: hidden; display: grid; gap: 28px;
  background: linear-gradient(140deg, var(--marino) 0%, #1D4A86 100%); color: #fff; border-radius: 32px; padding: 32px 22px;
}
.pisada__colab { display: inline-block; font-size: .88rem; padding: 6px 14px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 999px; margin-bottom: 18px; }
.pisada h2 { color: #fff; }
.pisada__texto { margin-top: 14px; color: #D5E0EE; max-width: 34em; }
.pisada__lista { margin: 22px 0 26px; display: grid; gap: 10px; }
.pisada__lista li { position: relative; padding-left: 30px; font-weight: 520; }
.pisada__lista li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--naranja) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D2747' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pisada__fecha { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-weight: 620; }
.pisada__fecha svg { width: 20px; height: 20px; color: var(--naranja); }
.pisada__huella { position: absolute; right: 18px; top: 22px; width: 64px; opacity: .55; }
.pisada__contorno { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .55); stroke-width: 1.5; }
#pisada.esperando { display: none; }
@media (max-width: 559px) { .pisada__colab { margin-right: 64px; } }
@media (min-width: 1000px) {
  .pisada { grid-template-columns: 1fr 220px; padding: 64px; align-items: center; }
  .pisada__huella { position: static; width: 190px; opacity: 1; justify-self: center; }
}

/* sobre mí */
.sobre { display: grid; gap: 28px; }
.sobre__foto { width: 100%; max-width: 320px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 28px; box-shadow: var(--sombra); }
.sobre__texto h2 { margin-bottom: 18px; }
.sobre__texto p { max-width: 36em; }
.sobre__texto p { font-size: 1.08rem; }
.sobre__texto .sobre__matricula { margin-top: 14px; font-size: .88rem; color: var(--suave); }
@media (min-width: 800px) { .sobre { grid-template-columns: 340px 1fr; gap: 72px; align-items: center; } }

/* pasos: es una secuencia real, por eso numerada */
.pasos { display: grid; gap: 28px; }
.paso { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.paso__num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 2.5px solid var(--naranja); font-weight: 720; font-size: 1.2rem; background: #fff; position: relative; z-index: 1;
}
.paso h3 { font-size: 1.28rem; margin: 10px 0 6px; }
.paso p { color: var(--suave); max-width: 30em; }
@media (min-width: 860px) {
  .pasos { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .paso { grid-template-columns: 1fr; position: relative; }
  .paso:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 60px; right: -28px; height: 2px; background: var(--linea); }
  .paso h3 { margin-top: 6px; }
}

/* ---------- TURNO: asistente tipo app ---------- */
.seccion--turno { background: linear-gradient(180deg, #EAF2FB 0%, #D9E7F6 100%); }
.turno-wrap { display: grid; gap: 32px; }
.turno-wrap__cab p { margin-top: 14px; color: var(--suave); max-width: 30em; }
.turno-wrap__puntos { margin-top: 22px; display: grid; gap: 10px; }
.turno-wrap__puntos li { display: flex; gap: 10px; align-items: center; font-weight: 540; }
.turno-wrap__puntos svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--naranja); color: var(--marino); flex: none; }
@media (min-width: 1000px) {
  .turno-wrap { grid-template-columns: 1fr 440px; gap: 96px; align-items: center; }
}

.app {
  position: relative; width: 100%; max-width: 440px; margin-inline: auto;
  background: #F7FAFD; border: 9px solid var(--marino); border-radius: 46px; padding: 30px 16px 18px;
  box-shadow: 0 50px 80px -40px rgba(13, 39, 71, .55);
}
.app__notch { position: absolute; top: 9px; left: 50%; width: 92px; height: 22px; margin-left: -46px; border-radius: 999px; background: var(--marino); }
.app__cab { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.app__cab img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.app__nombre { font-weight: 720; font-stretch: 94%; line-height: 1.2; }
.app__quien p + p { margin-top: 0; }
.app__rol { font-size: .86rem; color: var(--suave); }
.app__wa { margin-left: auto; background: #fff; color: var(--marino); border: 1px solid var(--linea); }
.app__nav { display: flex; align-items: center; gap: 12px; margin: 18px 0 20px; }
.app__atras { width: 40px; height: 40px; background: #fff; border: 1px solid var(--linea); color: var(--marino); }
.app__atras svg { width: 20px; height: 20px; }
.app__atras:disabled { opacity: .35; cursor: default; }
.app__progreso { flex: 1; height: 6px; border-radius: 999px; background: #D6E1EE; overflow: hidden; }
.app__progreso span { display: block; height: 100%; background: var(--naranja); border-radius: inherit; transform-origin: left; transform: scaleX(var(--p, .2)); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.app__contador { font-size: .86rem; font-weight: 600; color: var(--suave); font-variant-numeric: tabular-nums; min-width: 2.2em; text-align: right; }
.app__form { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 480px) { .app { padding: 32px 22px 22px; } .app__form { min-height: 470px; } }

.paso-app { border: 0; margin: 0; padding: 0; min-width: 0; }
.paso-app legend { padding: 0; margin-bottom: 16px; font-size: 1.55rem; font-weight: 720; font-stretch: 90%; letter-spacing: -0.015em; line-height: 1.1; }
.paso-app legend:focus { outline: none; }
.paso-app__ayuda { margin: -8px 0 14px; font-size: .9rem; color: var(--suave); }
.paso-app__sub { margin: 22px 0 10px; font-weight: 650; }
.paso-app .opciones + .campo { margin-top: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .entra-der { animation: entra-der .34s cubic-bezier(.2, .7, .2, 1); }
  .entra-izq { animation: entra-izq .34s cubic-bezier(.2, .7, .2, 1); }
  @keyframes entra-der { from { opacity: 0; transform: translateX(20px); } }
  @keyframes entra-izq { from { opacity: 0; transform: translateX(-20px); } }
}

.opciones { display: grid; gap: 10px; }
.opciones--motivo { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opciones--motivo .op:last-child:nth-child(3n+1) { grid-column: 1 / -1; flex-direction: row; min-height: 48px; }
.opciones--dias { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.opciones--horario, .opciones--dos { grid-template-columns: 1fr 1fr; }
.opciones--chips { display: flex; flex-wrap: wrap; gap: 8px; }

.op {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  padding: 10px 12px; min-height: 52px; border-radius: 18px; background: #fff; border: 1.5px solid #CFDAE7;
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; user-select: none;
  transition: background-color .15s, border-color .15s, color .15s, transform .12s, box-shadow .15s;
}
.op input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: inherit; }
.op:hover { border-color: var(--marino); }
.op:has(input:checked) { background: var(--marino); border-color: var(--marino); color: #fff; box-shadow: 0 10px 20px -12px rgba(13, 39, 71, .7); }
.op:has(input:focus-visible) { outline: 3px solid var(--naranja); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .op:active { transform: scale(.97); } }
.op__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--hielo); color: var(--marino); flex: none; transition: background-color .15s, color .15s; }
.op__ico svg { width: 22px; height: 22px; }
.op:has(input:checked) .op__ico { background: rgba(255, 255, 255, .16); color: #fff; }
.op--motivo { flex-direction: column; gap: 6px; min-height: 78px; max-height: 88px; padding: 8px 6px; border-radius: 16px; font-size: .84rem; line-height: 1.15; }
.op--motivo .op__ico { width: auto; height: auto; background: none; border-radius: 0; }
.op--motivo .op__ico svg { width: 20px; height: 20px; }
.op--motivo:has(input:checked) .op__ico { background: none; }
.op--dia { min-height: 64px; padding: 6px 4px; border-radius: 18px; }
.op__dia { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.op__dia small { font-size: .78rem; font-weight: 560; opacity: .8; }
.op__dia strong { font-size: 1.35rem; font-weight: 720; }
.op--grande { flex-direction: column; min-height: 116px; }
.op__txt small { display: block; margin-top: 4px; font-size: .82rem; font-weight: 500; opacity: .75; }
.op--chip { min-height: 46px; padding: 0 18px; border-radius: 999px; }
.op--off { opacity: .45; border-style: dashed; cursor: not-allowed; }
.op--off:hover { border-color: #CFDAE7; }

.campo { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.campo > label { font-weight: 620; font-size: .98rem; }
.campo input[type="text"] {
  width: 100%; min-height: 54px; padding: 0 16px; font: inherit; font-size: 1rem; color: var(--texto);
  background: #fff; border: 1.5px solid #AFBDD0; border-radius: 16px;
}
.campo input[type="text"]::placeholder { color: #7A889C; }
.campo input[type="text"]:hover { border-color: var(--marino); }
.campo input[type="text"]:focus-visible { border-color: var(--marino); outline-offset: 1px; border-radius: 16px; }
.campo input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.campo__error { color: var(--error); font-size: .92rem; font-weight: 560; }
.campo__error:empty, .campo__ayuda:empty { display: none; }
.campo__ayuda { font-size: .86rem; color: var(--suave); margin-top: 10px; }
.campo .campo__ayuda { margin-top: 0; }

.ticket { position: relative; margin-top: 18px; padding: 16px 18px 6px; border-radius: 18px; background: #fff; border: 1.5px dashed #BFCDDF; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #F7FAFD; border: 1.5px dashed #BFCDDF; }
.ticket::before { left: -10px; border-left-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); }
.ticket::after { right: -10px; border-right-color: transparent; border-top-color: transparent; transform: rotate(45deg); }
.ticket__titulo { font-weight: 720; margin-bottom: 4px; }
.ticket dl { margin: 0; }
.ticket dl div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px dashed var(--linea); font-size: .92rem; }
.ticket dl div:last-child { border-bottom: 0; }
.ticket dt { color: var(--suave); flex: none; }
.ticket dd { margin: 0; font-weight: 620; text-align: right; }
.turno__estado { font-size: .95rem; font-weight: 520; }
.turno__estado:empty { display: none; }
.turno__estado a { color: var(--naranja-texto); font-weight: 650; }
.app__pie { margin-top: auto; display: grid; gap: 8px; position: sticky; bottom: 0; z-index: 2; padding: 12px 0 2px; background: linear-gradient(rgba(247, 250, 253, 0), #F7FAFD 14px); }
.app__aclaracion { font-size: .8rem; color: var(--suave); text-align: center; }
.app__cerrar { display: none; background: #fff; border: 1px solid var(--linea); color: var(--marino); width: 40px; height: 40px; }
.app__cerrar svg { width: 20px; height: 20px; }

/* mobile: sin marco de celular, tarjeta limpia */
@media (max-width: 767px) {
  .app { border: 1px solid var(--linea); border-radius: 26px; padding: 16px 14px 14px; box-shadow: var(--sombra); background: #F7FAFD; }
  .app__notch { display: none; }
  .app__cab { margin-top: 0; }
  .app__cab img { width: 42px; height: 42px; }
  .app__nav { margin: 14px 0 16px; }
  .paso-app legend { font-size: 1.35rem; margin-bottom: 12px; }
}

/* mobile: pantalla completa tipo app */
.turno-dialog {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: #F7FAFD; overflow: hidden;
}
.turno-dialog[open] { display: flex; flex-direction: column; }
.turno-dialog::backdrop { background: var(--marino); }
.turno-dialog .app {
  flex: 1; display: flex; flex-direction: column; max-width: none; height: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none;
  padding: calc(10px + env(safe-area-inset-top)) 16px calc(10px + env(safe-area-inset-bottom));
}
.turno-dialog .app__cab { padding-bottom: 10px; border-bottom: 1px solid var(--linea); }
.turno-dialog .app__wa { margin-left: auto; }
.turno-dialog .app__cerrar { display: inline-grid; }
.turno-dialog .app__nav { margin: 12px 0 14px; }
.turno-dialog .app__form { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; gap: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .turno-dialog[open] { animation: turno-sube .3s cubic-bezier(.2, .7, .2, 1); }
  @keyframes turno-sube { from { transform: translateY(24px); opacity: 0; } }
}

/* ---------- obras sociales ---------- */
#obras-sociales { padding-bottom: calc(var(--sec) / 2); }
.obras h2 { margin-bottom: 26px; }
.obras__lista { display: flex; flex-wrap: wrap; gap: 10px; }
.obras__lista li { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--marino); font-weight: 640; font-size: 1.05rem; }
.obras__particular { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-weight: 560; }
.obras__particular svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--naranja); color: var(--marino); flex: none; }

/* ---------- reseñas ---------- */
.resenas { display: grid; gap: 16px; }
.resena { margin: 0; background: var(--hielo); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.resena blockquote { margin: 0; }
.resena figcaption { display: flex; flex-direction: column; font-size: .95rem; margin-top: auto; }
.resena figcaption span { color: var(--suave); font-size: .88rem; }
@media (min-width: 720px) { .resenas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .resenas { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 28px; }
.faq-wrap__sub { margin-top: 14px; color: var(--suave); }
.faq-wrap__sub a { color: var(--naranja-texto); font-weight: 620; }
.faq { max-width: 780px; border-top: 1.5px solid var(--linea); }
.faq__item { border-bottom: 1.5px solid var(--linea); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; cursor: pointer; list-style: none; font-weight: 620; font-size: 1.08rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--linea);
  background: linear-gradient(var(--marino), var(--marino)) center / 12px 2px no-repeat, linear-gradient(var(--marino), var(--marino)) center / 2px 12px no-repeat;
  transition: border-color .2s;
}
.faq__item[open] summary::after { background: linear-gradient(var(--marino), var(--marino)) center / 12px 2px no-repeat; border-color: var(--naranja); }
.faq__item p { padding: 0 44px 20px 0; color: var(--suave); max-width: 40em; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: start; } }

/* ---------- ubicación ---------- */
.ubicacion { display: grid; gap: 32px; }
.ubicacion h2 { margin-bottom: 26px; }
.dato { display: grid; grid-template-columns: 26px 1fr; gap: 14px; margin-bottom: 22px; }
.dato > svg { width: 24px; height: 24px; color: var(--naranja-texto); margin-top: 2px; }
.dato p { color: var(--suave); }
.dato p + p { margin-top: .2em; }
.dato .dato__fuerte { color: var(--marino); font-weight: 650; font-size: 1.12rem; }
.horarios { display: grid; gap: 10px; }
.horarios li { display: flex; flex-direction: column; }
.horarios strong { font-weight: 640; }
.horarios span { color: var(--suave); }
.ubicacion__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.mapa { border-radius: 28px; overflow: hidden; background: #dfe6ef; min-height: 300px; }
.mapa iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; }
@media (min-width: 1000px) { .ubicacion { grid-template-columns: 1fr 1.2fr; gap: 56px; } .mapa, .mapa iframe { min-height: 440px; } }

/* ---------- footer ---------- */
.footer { background: var(--marino-hondo); color: #D5E0EE; padding: 48px 0 calc(110px + env(safe-area-inset-bottom)); font-size: .95rem; }
.footer__in { display: grid; gap: 26px; }
.footer__nombre { color: #fff; font-weight: 720; font-size: 1.2rem; font-stretch: 92%; }
.footer__redes { display: grid; gap: 10px; }
.footer__redes a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: #fff; }
.footer__redes a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__redes svg { width: 22px; height: 22px; }
.footer__legal { font-size: .85rem; color: #9FB0C8; }
.footer__legal a { color: inherit; }
@media (min-width: 1000px) {
  .footer { padding-bottom: 48px; }
  .footer__in { grid-template-columns: 1fr auto; align-items: start; }
  .footer__legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
}

/* ---------- barra inferior mobile ---------- */
.barra-turno {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: #fff; box-shadow: 0 -1px 0 var(--linea), 0 -8px 24px rgba(13, 39, 71, .08);
  transform: translateY(110%); transition: transform .25s ease;
}
.barra-turno .btn { flex: 1; }
.icono-btn--wa { width: 50px; height: 50px; background: var(--marino); color: #fff; }
.icono-btn--dudas { width: 50px; height: 50px; background: var(--hielo); color: var(--marino); border: 1px solid var(--linea); }
.icono-btn--dudas svg { width: 24px; height: 24px; }
.barra-visible .barra-turno { transform: none; }
@media (min-width: 1000px) { .barra-turno { display: none; } }

/* ---------- asistente de preguntas ---------- */
.dudas-btn { display: none; }
@media (min-width: 1000px) {
  .dudas-btn {
    position: fixed; right: 20px; bottom: 20px; z-index: 35;
    display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: 999px;
    background: var(--marino); color: #fff; font: inherit; font-weight: 640; font-size: .95rem; cursor: pointer;
    box-shadow: 0 14px 30px -12px rgba(8, 26, 51, .6), 0 0 0 1px rgba(255, 255, 255, .15) inset; transition: transform .18s;
  }
  .dudas-btn svg { width: 22px; height: 22px; color: var(--naranja); }
}
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) and (hover: hover) { .dudas-btn:hover { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .barra-turno { transition: none; } }

.dudas {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: #F3F7FB; color: var(--texto); display: none; flex-direction: column; overflow: hidden;
}
.dudas[open] { display: flex; }
.dudas::backdrop { background: rgba(8, 26, 51, .35); }
.dudas__cab { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; padding-top: calc(12px + env(safe-area-inset-top)); background: var(--marino); color: #fff; }
.dudas__cab img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.dudas__cab .icono-btn { margin-left: auto; }
.dudas__cab p + p { margin-top: 0; }
.dudas__titulo { font-weight: 720; line-height: 1.2; }
.dudas__sub { font-size: .82rem; color: var(--cielo); }
.dudas__log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.burbuja { margin: 0; max-width: 86%; padding: 11px 15px; border-radius: 20px; font-size: .96rem; line-height: 1.45; }
.burbuja--el { align-self: flex-start; background: #fff; border: 1px solid var(--linea); border-bottom-left-radius: 6px; }
.burbuja--yo { align-self: flex-end; background: var(--marino); color: #fff; border-bottom-right-radius: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .burbuja { animation: burbuja .28s cubic-bezier(.2, .7, .2, 1) both; }
  .burbuja--yo + .burbuja--el { animation-delay: .12s; }
  @keyframes burbuja { from { opacity: 0; transform: translateY(8px); } }
}
.dudas__pie { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--linea); max-height: 48%; overflow-y: auto; }
.dudas__opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.dudas__op {
  padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--marino); background: #fff; color: var(--marino);
  font: inherit; font-size: .9rem; font-weight: 580; text-align: left; cursor: pointer; transition: background-color .15s, color .15s;
}
.dudas__op:hover { background: var(--marino); color: #fff; }
.dudas__wa { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 0 2px; font-size: .92rem; font-weight: 620; color: var(--marino); text-decoration-color: var(--naranja); text-underline-offset: 3px; }
.dudas__wa svg { width: 22px; height: 22px; flex: none; }
@media (min-width: 720px) {
  .dudas { inset: auto 20px 84px auto; width: 390px; height: min(620px, calc(100vh - 120px)); border-radius: 28px; border: 1px solid var(--linea); box-shadow: 0 40px 80px -30px rgba(8, 26, 51, .5); }
  .dudas::backdrop { background: rgba(8, 26, 51, .12); }
  .dudas__cab { padding-top: 12px; }
  .dudas__pie { padding-bottom: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .dudas[open] { animation: dudas-entra .26s cubic-bezier(.2, .7, .2, 1); }
  @keyframes dudas-entra { from { opacity: 0; transform: translateY(14px); } }
}
