/* =====================================================================
   RV25 Relojería · BASE
   ---------------------------------------------------------------------
   Reinicio del navegador y estilos de las etiquetas HTML sin clase
   (body, títulos, enlaces, imágenes). No pongas aquí estilos de una
   sección concreta: esos van en css/secciones/.
   ===================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--alto-cabecera);
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font: 400 17px/1.55 var(--letra);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Mientras la ficha de un reloj está abierta, la página de atrás no se mueve */
body.con-ficha { overflow: hidden; }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
s { color: var(--tinta-suave); font-weight: 400; }   /* precio anterior tachado */

h1, h2, h3 {
  margin: 0;
  font-family: var(--titulo);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Título grande de sección (Relojes, Así compras, Preguntas frecuentes...) */
.titulo-seccion { font-size: clamp(32px, 8vw, 52px); line-height: 1.05; }

/* Contorno visible al navegar con teclado */
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; }

/* Quien pide menos movimiento en su teléfono no ve animaciones */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
