/* ============================================================
   Banquetería Control — base.css
   Reset moderno + estilos base heredados de MVP1_BETA.
   ============================================================ */

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

html {
  font-size: var(--tamano-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fuente-principal);
  font-size: 1rem;
  font-weight: var(--peso-normal);
  color: var(--color-texto);
  background-color: var(--color-fondo);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primario);
  font-weight: var(--peso-semibold);
  line-height: 1.3;
  margin-bottom: var(--espacio-sm);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: var(--espacio-sm);
}

a {
  color: var(--color-primario-claro);
  text-decoration: none;
  transition: color var(--transicion-rapida);
}

a:hover,
a:focus-visible {
  color: var(--color-primario-oscuro);
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: var(--ancho-maximo);
  margin: 0 auto;
  padding: 0 var(--espacio-md);
}

.lead {
  color: var(--color-texto-suave);
  font-size: 1.05rem;
  margin-bottom: var(--espacio-md);
}

/* Utilidad: oculta visualmente pero mantiene accesibilidad (screen readers). */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
