/* =========================================================
   ÓPTICA · tu zona
   styles.css compartido por las 6 páginas.
   Todo color, tipografía, radio, sombra y espaciado vive en :root.
   Para cambiar la paleta tocá SOLO las variables de abajo.
   ========================================================= */

:root {
  /* ---- Color (muestreado de las fotos del local) ---- */
  --grafito: #271E1E;        /* letras del cartel (foto del frente) */
  --grafito-prof: #1A1414;   /* grafito más oscuro, solo para el footer */
  --marfil: #F6EFEC;         /* chapa del cartel y paredes (fotos del frente y del interior), corrido al rosa */
  --papel: #FCF9F8;          /* marfil más claro, para alternar bandas */
  --salvia: #A8B5A8;         /* estantes de vidrio (foto de los lentes de sol) */
  --roble: #C3B29C;          /* mesa y cajones de madera (fotos del interior y del frente) */
  --roble-osc: #8F7556;      /* roble más oscuro, solo para las estrellas */
  --peonia: #89354D;         /* sombra de las peonías del vidrio (foto del frente): ÚNICO acento, solo en lo que se toca */
  --peonia-osc: #6B2639;     /* hover del acento */
  --error: #B3261E;          /* rojo funcional de los errores del formulario */
  --blanco: #FFFFFF;

  --txt: var(--grafito);
  --txt-suave: #5A514E;
  --txt-inv: var(--marfil);
  --txt-inv-suave: #D3CAC7;
  --linea: rgb(39 30 30 / 0.18);
  --linea-inv: rgb(246 239 236 / 0.26);
  --campo-borde: #7D7370;
  --header-vidrio: rgb(246 239 236 / 0.84);
  --velo-fuerte: rgb(26 20 20 / 0.82);
  --velo-nulo: rgb(26 20 20 / 0);

  /* ---- Tipografía ---- */
  --f-titulo: 'Unbounded', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --f-texto: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --t-1: 0.8rem;
  --t-2: 0.9rem;
  --t-3: 1rem;
  --t-4: 1.15rem;
  --t-5: 1.4rem;
  --t-6: 1.75rem;
  --t-7: 2.25rem;
  --t-8: 3rem;

  /* ---- Espaciado (única escala) ---- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* ---- Contenedor y ritmo ---- */
  --gutter: 20px;
  --cont: 1180px;
  --seccion-y: var(--s-8);
  --alto-header: var(--s-8);

  /* ---- Radios, sombras, bordes, movimiento ---- */
  --r-card: 16px;
  --r-btn: 999px;
  --sombra-1: 0 2px 12px rgb(39 30 30 / 0.12);
  --sombra-2: 0 12px 32px rgb(137 53 77 / 0.28);
  --borde: 1px;
  --borde-fuerte: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  :root { --seccion-y: var(--s-9); }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--alto-header) + var(--s-4));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: var(--t-3);
  line-height: 1.6;
  color: var(--txt);
  background: var(--marfil);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
html:has(body.menu-open) { overflow: hidden; }
.nav-panel { overscroll-behavior: contain; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--f-titulo);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(var(--t-6), 1rem + 4vw, var(--t-8)); }
h2 { font-size: clamp(var(--t-5), 0.8rem + 2.6vw, var(--t-7)); }
h3 { font-size: var(--t-4); font-weight: 500; line-height: 1.25; }

p { margin: 0 0 var(--s-4); max-width: 65ch; }
h1 + p, h2 + p { margin-top: var(--s-4); }
ul, ol { margin: 0; }
a { color: inherit; }

em {
  font-style: normal;
  background: linear-gradient(var(--roble), var(--roble)) no-repeat 0 92% / 100% 0.16em;
}

:focus-visible { outline: 3px solid var(--peonia); outline-offset: 3px; }
.bg-grafito :focus-visible,
.bg-grafito-prof :focus-visible,
.nav-panel :focus-visible { outline-color: var(--roble); }
.bg-roble :focus-visible,
.bg-salvia :focus-visible { outline-color: var(--grafito); }

.salto {
  position: absolute;
  left: var(--s-4);
  top: var(--s-4);
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--grafito);
  color: var(--marfil);
  border-radius: var(--r-btn);
  transform: translateY(-300%);
}
.salto:focus { transform: none; }

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

.sec {
  position: relative;
  padding-block: var(--seccion-y);
  overflow-x: clip;
}

.bg-marfil { background: var(--marfil); color: var(--txt); }
.bg-papel { background: var(--papel); color: var(--txt); }
.bg-salvia { background: var(--salvia); color: var(--txt); }
.bg-roble { background: var(--roble); color: var(--txt); }
.bg-grafito { background: var(--grafito); color: var(--txt-inv); }
.bg-grafito-prof { background: var(--grafito-prof); color: var(--txt-inv); }

.suave { color: var(--txt-suave); }
.bg-salvia .suave, .bg-roble .suave { color: var(--txt); }
.bg-grafito .suave, .bg-grafito-prof .suave { color: var(--txt-inv-suave); }

.eyebrow {
  font-size: var(--t-1);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 var(--s-4);
  color: var(--txt-suave);
}
.bg-salvia .eyebrow, .bg-roble .eyebrow { color: var(--txt); }
.bg-grafito .eyebrow { color: var(--txt-inv-suave); }

.sec-head { max-width: 720px; margin-bottom: var(--s-7); }
.sec-head p { margin: var(--s-4) 0 0; }

.dos-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
.dos-col > * { min-width: 0; }
@media (min-width: 900px) {
  .dos-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); align-items: start; }
}

/* ---------- Iconos ---------- */
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: var(--s-3) var(--s-5);
  border: var(--borde-fuerte) solid transparent;
  border-radius: var(--r-btn);
  font-family: var(--f-texto);
  font-size: var(--t-3);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-wa { background: var(--peonia); color: var(--blanco); }
.btn-wa:hover { background: var(--peonia-osc); box-shadow: var(--sombra-2); }
.btn-tel { background: transparent; color: inherit; border-color: currentColor; }
.btn-tel:hover { background: var(--grafito); color: var(--marfil); border-color: var(--grafito); }
.bg-grafito .btn-tel:hover,
.bg-grafito-prof .btn-tel:hover,
.nav-panel .btn-tel:hover { background: var(--marfil); color: var(--grafito); border-color: var(--marfil); }
.btn-link {
  background: transparent;
  color: inherit;
  border-color: transparent;
  padding-inline: 0;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.btn-corto { padding: 0; width: 44px; min-height: 44px; }
.btn-corto .txt { display: none; }
.btns { display: flex; flex-direction: column; gap: var(--s-3); align-items: stretch; }
@media (min-width: 560px) { .btns { flex-direction: row; flex-wrap: wrap; align-items: center; } }

/* ---------- Animaciones: revelado, títulos, hero ---------- */
.js .rv { opacity: 0; transform: translateY(40px); }
.js .rv.visible {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .rv.visible.rv-fin {
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease), opacity 200ms var(--ease);
  transition-delay: 0ms;
}

.js main h1:not(.tt), .js main h2:not(.tt) { opacity: 0; }
.js .tt .wi { display: inline-block; opacity: 0; transform: translateY(0.6em); }
.js .tt.visible .wi {
  opacity: 1;
  transform: none;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: calc(var(--base, 0ms) + var(--i) * 70ms);
}
h1.tt { --base: 250ms; }

@keyframes entra { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .seq { animation: entra 800ms var(--ease) both; animation-delay: var(--sd, 0ms); }

/* NOTA SOBRE "REDUCIR MOVIMIENTO":
   Este sitio muestra sus animaciones SIEMPRE (decisión del proyecto).
   El bloque de abajo está comentado a propósito. Para volver a respetar
   la preferencia del sistema: 1) descomentalo y 2) poné FORZAR_ANIMACIONES = false
   al principio de main.js.

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .tt .wi { opacity: 1; transform: none; }
  .js .seq, .js .marquee-track, .rev-pulso { animation: none; }
}
*/

/* ---------- Barra de progreso ---------- */
.progreso {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 70;
  background: var(--grafito);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--alto-header);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--header-vidrio);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--sombra-1);
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.site-header.compacto::before,
body.menu-open .site-header::before { opacity: 1; }
body.menu-open .site-header::before { background: var(--papel); }

.hdr {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.logo {
  display: inline-block;
  margin-right: auto;
  text-decoration: none;
  transform-origin: left center;
  transition: transform 300ms var(--ease);
}
.site-header.compacto .logo { transform: scale(0.88); }
.logo-in { display: inline-flex; align-items: center; gap: var(--s-2); }
.logo-ico { width: 40px; height: 20px; color: inherit; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-txt small {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  padding-left: var(--s-1);
}
.logo-txt strong {
  font-family: var(--f-titulo);
  font-weight: 700;
  font-size: var(--t-4);
  letter-spacing: 0.02em;
}

.hdr-acciones { display: flex; gap: var(--s-2); }

.menu-btn {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: var(--borde-fuerte) solid var(--grafito);
  border-radius: 50%;
  background: transparent;
  color: var(--grafito);
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 250ms var(--ease), opacity 200ms var(--ease);
}
.menu-btn span:nth-child(1) { top: 13px; }
.menu-btn span:nth-child(2) { top: 19px; }
.menu-btn span:nth-child(3) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menú mobile: panel a pantalla completa */
.nav-panel {
  position: fixed;
  inset: var(--alto-header) 0 0 0;
  height: calc(100vh - var(--alto-header));
  height: calc(100dvh - var(--alto-header));
  overflow-y: auto;
  padding: var(--s-6) var(--gutter) var(--s-9);
  background: var(--papel);
  color: var(--txt);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: transform 350ms var(--ease), opacity 250ms var(--ease), visibility 0s linear 350ms;
}
.menu-open .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.nav-lista { list-style: none; margin: 0; padding: 0; }
.nav-lista a {
  position: relative;
  display: block;
  padding: var(--s-4) 0;
  border-bottom: var(--borde) solid var(--linea);
  font-family: var(--f-titulo);
  font-size: var(--t-5);
  font-weight: 500;
  text-decoration: none;
}
.nav-lista a[aria-current="page"] { font-weight: 700; }
.nav-lista a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--s-8);
  height: 3px;
  background: var(--peonia);
}
.panel-ctas { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-6); }

@media (min-width: 1180px) {
  .menu-btn { display: none; }
  .nav-panel {
    position: static;
    inset: auto;
    height: auto;
    overflow: visible;
    padding: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    flex: 1;
    display: flex;
    justify-content: center;
  }
  .nav-lista { display: flex; gap: var(--s-5); }
  .nav-lista a {
    padding: var(--s-2) 0;
    border-bottom: 0;
    font-family: var(--f-texto);
    font-size: var(--t-2);
    font-weight: 500;
  }
  .nav-lista a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--peonia);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 250ms var(--ease);
  }
  .nav-lista a:hover::before { transform: scaleX(1); }
  .nav-lista a[aria-current="page"] { font-weight: 700; }
  .nav-lista a[aria-current="page"]::after { left: 0; right: 0; bottom: 0; width: auto; }
  .panel-ctas { display: none; }
  .hdr-acciones .btn-corto { width: auto; padding: var(--s-3) var(--s-5); }
  .hdr-acciones .btn-corto .txt { display: inline; }
  .hdr-acciones .btn-tel.btn-corto { padding: 0; width: 44px; }
  .hdr-acciones .btn-tel.btn-corto .txt { display: none; }
  .hdr-acciones .btn-wa.btn-corto { min-height: 44px; }
}

/* ---------- Sin JavaScript: el sitio se navega igual ---------- */
html:not(.js) .site-header { position: static; height: auto; }
html:not(.js) .site-header::before { display: none; }
html:not(.js) .hdr { flex-wrap: wrap; padding-block: var(--s-3); }
html:not(.js) .menu-btn { display: none; }
html:not(.js) .nav-panel {
  position: static;
  inset: auto;
  order: 5;
  flex-basis: 100%;
  height: auto;
  padding: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: transparent;
  overflow: visible;
}
html:not(.js) .nav-lista { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
html:not(.js) .nav-lista a { font-size: var(--t-2); padding: var(--s-2) 0; }
html:not(.js) .panel-ctas { display: none; }
html:not(.js) .hero { padding-top: var(--s-6); }
html:not(.js) .flotante { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--alto-header) + var(--s-6));
  padding-bottom: var(--s-8);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 900px) {
  .hero { padding-bottom: var(--s-9); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); }
}
.hero .lead { font-size: var(--t-4); max-width: 52ch; margin: var(--s-4) 0 var(--s-5); }
.hero .btns { margin-bottom: var(--s-4); }
.hero .nota { font-size: var(--t-2); color: var(--txt-suave); margin: 0; }

/* El golpe: dos lentes gigantes que se salen de la pantalla */
.lentes-wrap { display: flex; justify-content: flex-start; }
.lentes {
  --d: min(66vw, 300px);
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}
@media (min-width: 900px) { .lentes { --d: clamp(280px, 27vw, 380px); } }
.lente {
  margin: 0;
  flex: none;
  width: var(--d);
  height: var(--d);
  border: var(--s-2) solid var(--grafito);
  border-radius: 50%;
  overflow: hidden;
  background: var(--salvia);
  box-shadow: var(--sombra-1);
}
.lente img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.puente {
  flex: none;
  width: var(--s-5);
  height: var(--s-2);
  margin-top: calc(var(--d) * -0.3);
  background: var(--grafito);
}

/* Foto de portada de las páginas interiores */
.foto {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--salvia);
  aspect-ratio: var(--ar, 4 / 5);
  box-shadow: var(--sombra-1);
}
.foto img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.hero .foto { max-height: 640px; width: 100%; }
@media (min-width: 900px) { .hero .foto { justify-self: end; max-width: 460px; } }

/* ---------- Tira de cifras ---------- */
.cifras {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6) var(--s-5);
}
@media (min-width: 900px) { .cifras { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cifra { padding-left: var(--s-4); border-left: var(--borde-fuerte) solid var(--roble); }
.cifra b {
  display: block;
  font-family: var(--f-titulo);
  font-size: clamp(var(--t-6), 1rem + 3.4vw, var(--t-8));
  line-height: 1.1;
  margin-bottom: var(--s-2);
}
.cifra > span { display: block; font-size: var(--t-2); color: var(--txt-inv-suave); }
.fuente { font-size: var(--t-1); margin: var(--s-6) 0 0; color: var(--txt-inv-suave); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: var(--s-5); }
.marquee-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-5);
  padding-inline: var(--gutter);
}
.js .marquee-track {
  flex-wrap: nowrap;
  width: max-content;
  gap: 0;
  padding-inline: 0;
  animation: marquee 50s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--f-titulo);
  font-weight: 500;
  font-size: var(--t-5);
}
.js .marquee-item { margin-right: var(--s-6); }
.js .marquee-item::after {
  content: "";
  width: var(--s-2);
  height: var(--s-2);
  margin-left: var(--s-6);
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Filas (servicios, pasos, datos): sin cajas ---------- */
.filas { list-style: none; margin: 0; padding: 0; border-top: var(--borde) solid var(--linea); }
.bg-grafito .filas { border-color: var(--linea-inv); }
.fila { border-bottom: var(--borde) solid var(--linea); }
.bg-grafito .fila { border-color: var(--linea-inv); }
.fila-link, .fila-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-6) 0;
  color: inherit;
  text-decoration: none;
}
.fila-info { grid-template-columns: auto minmax(0, 1fr); }
@media (min-width: 768px) {
  .fila-link, .fila-info { gap: var(--s-6); padding: var(--s-7) 0; }
}
.fila-nro { font-family: var(--f-titulo); font-size: var(--t-2); color: var(--txt-suave); min-width: var(--s-6); }
.bg-grafito .fila-nro { color: var(--txt-inv-suave); }
.fila h3 { font-size: var(--t-4); }
@media (min-width: 768px) { .fila h3 { font-size: var(--t-5); } }
.fila p { margin: var(--s-2) 0 0; color: var(--txt-suave); }
.bg-grafito .fila p { color: var(--txt-inv-suave); }
.fila-flecha {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--peonia);
  color: var(--blanco);
  transition: transform 200ms var(--ease);
}
.fila-link:hover .fila-flecha { transform: translateX(var(--s-2)); }
.fila-link:hover h3 { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Palabras que más se repiten ---------- */
.palabras { list-style: none; margin: 0; padding: 0; }
.palabra {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-1) var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: var(--borde) solid var(--linea);
}
.palabras .palabra:first-child { border-top: var(--borde) solid var(--linea); }
.palabra b {
  font-family: var(--f-titulo);
  font-weight: 700;
  font-size: clamp(var(--t-5), 0.8rem + 3.2vw, var(--t-7));
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.palabra > span { font-size: var(--t-2); color: var(--txt-suave); }
.cita {
  margin: var(--s-6) 0 0;
  padding: 0 0 0 var(--s-4);
  border-left: var(--borde-fuerte) solid var(--roble);
  font-size: var(--t-4);
}
.cita p { margin: 0 0 var(--s-2); }
.cita footer, .cita cite { font-size: var(--t-2); font-style: normal; color: var(--txt-suave); }
.bg-grafito .cita footer, .bg-grafito .cita cite { color: var(--txt-inv-suave); }

.cita-grande { margin: 0; max-width: 780px; }
.cita-grande p { font-family: var(--f-titulo); font-weight: 500; font-size: clamp(var(--t-5), 0.8rem + 2.4vw, var(--t-7)); line-height: 1.25; margin: 0 0 var(--s-5); max-width: none; text-wrap: balance; }
.cita-grande cite { font-style: normal; font-size: var(--t-2); font-weight: 700; }

/* ---------- Tarjetas (solo reseñas y formulario) ---------- */
.tarjeta {
  background: var(--papel);
  color: var(--txt);
  border: var(--borde) solid var(--linea);
  border-radius: var(--r-card);
  box-shadow: var(--sombra-1);
  padding: var(--s-5);
}
.tarjeta-hover { transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.tarjeta-hover:hover,
.js .rv.visible.rv-fin.tarjeta-hover:hover {
  transform: translateY(-4px);
  border-color: var(--peonia);
  box-shadow: var(--sombra-2);
}

/* ---------- Reseñas ---------- */
.rev-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-5);
  margin-bottom: var(--s-6);
}
.rev-prom { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(var(--t-7), 1rem + 6vw, var(--t-8)); line-height: 1; }
.rev-stats .estrellas svg { width: 24px; height: 24px; }
.rev-total { font-size: var(--t-4); margin: 0; }
.rev-total b { font-family: var(--f-titulo); }
.estrellas { display: inline-flex; gap: var(--s-1); color: var(--roble-osc); }
.bg-grafito .rev-stats .estrellas { color: var(--roble); }
.estrellas svg { width: 16px; height: 16px; fill: currentColor; }

.rc { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-2); }
.js .rc { overflow: hidden; scroll-snap-type: none; touch-action: pan-y; cursor: grab; }
.js .rc.arrastrando { cursor: grabbing; user-select: none; }
.rc-track { display: flex; width: max-content; padding: var(--s-2) 0 var(--s-5) var(--gutter); }
.js .rc-track { will-change: transform; }
.rev {
  flex: 0 0 min(86vw, 360px);
  margin-right: var(--s-4);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
.rev-top { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.rev-av {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--salvia);
  color: var(--grafito);
  font-weight: 700;
}
.rev-nombre { display: block; font-weight: 700; line-height: 1.2; }
.rev-meta { display: block; font-size: var(--t-1); color: var(--txt-suave); }
.rev-fila { display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-1); color: var(--txt-suave); }
.rev-t { margin: var(--s-3) 0 var(--s-2); font-size: var(--t-3); }
.rev-t.corto {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rev-mas, .rev-google {
  align-self: flex-start;
  padding: var(--s-2) 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  font-size: var(--t-2);
  color: var(--peonia);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.rev-r {
  margin: var(--s-3) 0 0 var(--s-4);
  padding: var(--s-3) var(--s-4);
  background: var(--marfil);
  border-left: 3px solid var(--roble);
  border-radius: var(--r-card);
  font-size: var(--t-2);
}
.rev-r strong { display: block; font-size: var(--t-2); }
.rev-r time { display: block; font-size: var(--t-1); color: var(--txt-suave); margin-bottom: var(--s-1); }
.rev-r p { margin: 0; }
.rc-foot { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; margin-top: var(--s-5); }
.rc-pausa {
  display: none;
  min-height: 44px;
  padding: var(--s-2) var(--s-4);
  border: var(--borde-fuerte) solid currentColor;
  border-radius: var(--r-btn);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--t-2);
  font-weight: 700;
  cursor: pointer;
}
.js .rc-pausa { display: inline-flex; align-items: center; }
.rev-pulso { display: none; }

/* ---------- Preguntas frecuentes ---------- */
.faqs { border-top: var(--borde) solid var(--linea); max-width: 820px; }
.faq { border-bottom: var(--borde) solid var(--linea); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: var(--t-4);
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .mas { flex: none; width: 24px; height: 24px; color: var(--peonia); transition: transform 200ms var(--ease); }
.faq[open] .mas { transform: rotate(45deg); }
.faq p { padding-bottom: var(--s-5); margin: 0; color: var(--txt-suave); }

/* ---------- Horarios ---------- */
.horario { list-style: none; margin: 0; padding: 0; border-top: var(--borde) solid var(--linea); max-width: 520px; }
.horario li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-3) 0;
  border-bottom: var(--borde) solid var(--linea);
}
.horario .dia { font-weight: 700; }
.horario .hs { text-align: right; }
.horario .cerrado { color: var(--txt-suave); }
.bg-grafito-prof .horario, .bg-grafito .horario { border-color: var(--linea-inv); }
.bg-grafito-prof .horario li, .bg-grafito .horario li { border-color: var(--linea-inv); }
.bg-grafito-prof .horario .cerrado { color: var(--txt-inv-suave); }
.direccion { font-style: normal; font-size: var(--t-4); margin: 0 0 var(--s-5); }
.direccion strong { display: block; font-family: var(--f-titulo); font-weight: 700; font-size: var(--t-5); margin-bottom: var(--s-2); }

/* ---------- Formulario que arma el WhatsApp ---------- */
.form-card { max-width: 640px; padding: var(--s-5); }
@media (min-width: 768px) { .form-card { padding: var(--s-6); } }
.campo { margin: 0 0 var(--s-5); padding: 0; border: 0; min-width: 0; }
.campo label, .campo legend { display: block; margin-bottom: var(--s-2); padding: 0; font-weight: 700; }
.campo .op { font-weight: 400; color: var(--txt-suave); }
.campo input[type="text"], .campo select, .campo textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  border: var(--borde-fuerte) solid var(--campo-borde);
  border-radius: var(--r-card);
  background: var(--blanco);
  color: var(--txt);
  font: inherit;
}
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus-visible, .campo select:focus-visible, .campo textarea:focus-visible { border-color: var(--peonia); outline-offset: 2px; }
.campo .invalido { border-color: var(--error); }
.err { margin: var(--s-2) 0 0; min-height: 0; color: var(--error); font-size: var(--t-2); font-weight: 700; }
.err:empty { display: none; }
.pildoras { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pildora { position: relative; }
.pildora input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pildora span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--s-2) var(--s-5);
  border: var(--borde-fuerte) solid var(--campo-borde);
  border-radius: var(--r-btn);
  background: var(--blanco);
}
.pildora input:checked + span { background: var(--grafito); border-color: var(--grafito); color: var(--marfil); }
.pildora input:focus-visible + span { outline: 3px solid var(--peonia); outline-offset: 3px; }
.nota-form { font-size: var(--t-2); color: var(--txt-suave); margin: var(--s-4) 0 0; }

/* ---------- Placeholders (se ven siempre) ---------- */
.falta {
  display: inline-block;
  padding: var(--s-1) var(--s-3);
  border: var(--borde-fuerte) dashed currentColor;
  border-radius: var(--r-card);
  font-size: var(--t-2);
  font-weight: 500;
  line-height: 1.4;
}
.foto-falta {
  display: grid;
  place-items: center;
  gap: var(--s-2);
  margin: 0;
  padding: var(--s-5);
  min-height: 200px;
  aspect-ratio: var(--ar, 4 / 3);
  border: var(--borde-fuerte) dashed var(--txt);
  border-radius: var(--r-card);
  text-align: center;
  font-size: var(--t-2);
  font-weight: 500;
}
.foto-falta b { display: block; font-family: var(--f-titulo); font-size: var(--t-3); margin-bottom: var(--s-1); }
.galeria-falta { display: grid; gap: var(--s-4); }
@media (min-width: 768px) { .galeria-falta { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- CTA final ---------- */
.cta h2 { max-width: 18ch; }
.cta p { margin: var(--s-4) 0 var(--s-5); font-size: var(--t-4); }
.cta .donde { font-size: var(--t-2); margin: var(--s-5) 0 0; }
.cta .btn-tel:hover { background: var(--grafito); color: var(--marfil); }

/* ---------- Footer ---------- */
.site-footer {
  padding-top: var(--seccion-y);
  padding-bottom: calc(var(--s-10) + var(--s-5) + env(safe-area-inset-bottom));
  overflow-x: clip;
}
@media (min-width: 1180px) { .site-footer { padding-bottom: var(--s-7); } }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
.footer-grid > * { min-width: 0; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr 1.5fr 1fr 0.8fr; gap: var(--s-6); } }
.f-titulo {
  margin: 0 0 var(--s-4);
  font-size: var(--t-1);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--txt-inv-suave);
}
.site-footer a { text-decoration: underline; text-underline-offset: 0.2em; }
.site-footer .logo { text-decoration: none; display: inline-block; margin-bottom: var(--s-5); }
.site-footer address { font-style: normal; }
.site-footer address p { margin: 0 0 var(--s-2); }
.site-footer .nap-nombre { font-family: var(--f-titulo); font-weight: 700; }
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: var(--s-2); }
.f-links a { display: inline-block; padding: var(--s-1) 0; }
.f-links a[aria-current="page"] { font-weight: 700; text-decoration-color: var(--roble); text-decoration-thickness: 3px; }
.site-footer .horario { max-width: none; }
.site-footer .horario li { font-size: var(--t-2); padding: var(--s-2) 0; }
.f-nota { font-size: var(--t-2); color: var(--txt-inv-suave); margin: var(--s-4) 0 0; }
.f-pie {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: var(--borde) solid var(--linea-inv);
  font-size: var(--t-2);
  color: var(--txt-inv-suave);
}
.f-pie p { margin: 0; max-width: none; }

/* ---------- Botones flotantes (mobile) ---------- */
.flotante {
  position: fixed;
  right: var(--s-4);
  bottom: calc(var(--s-4) + env(safe-area-inset-bottom));
  z-index: 65;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.flotante.on { opacity: 1; transform: none; pointer-events: auto; }
body.menu-open .flotante { opacity: 0; pointer-events: none; }
.flotante a {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: var(--sombra-2);
}
.flotante .f-wa { width: 60px; height: 60px; background: var(--peonia); color: var(--blanco); }
.flotante .f-tel { width: 48px; height: 48px; background: var(--papel); color: var(--grafito); border: var(--borde-fuerte) solid var(--grafito); }
.flotante .f-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--peonia);
  animation: pulso 2.4s ease-out infinite;
}
.flotante svg { width: 28px; height: 28px; }
.flotante .f-tel svg { width: 22px; height: 22px; }
@keyframes pulso { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.7); opacity: 0; } }
@media (min-width: 1180px) { .flotante { display: none; } }
