/* ============================================================
   ARCAICOS BEBIDAS NATURALES
   Base Styles · base.css
   Reset, tipografía base y clases utilitarias
   ============================================================ */

/* -- Google Fonts (estilo moderno/premium) -- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Anclas (#mapa): el título no queda bajo la navbar fija */
  scroll-padding-top: calc(var(--navbar-height) + 0.75rem);
}

body {
  font-family: var(--font-body);
  font-size: var(--size-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  letter-spacing: 0.01em;
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  background-image: url('../assets/images/backgrounds/galeria-damasco.png');
  background-repeat: repeat;
  background-size: clamp(480px, 55vw, 800px) auto;
  background-position: center top;
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

/* -- Tipografía base -- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--color-text-dark);
}

h1 { font-size: var(--size-5xl); }
h2 { font-size: var(--size-4xl); }
h3 { font-size: var(--size-3xl); }
h4 { font-size: var(--size-2xl); }
h5 { font-size: var(--size-xl); }
h6 { font-size: var(--size-lg); }

p {
  line-height: var(--leading-loose);
  text-wrap: pretty;
  color: var(--color-text-body);
}

/* -- Utilidades -- */
.u-text-center  { text-align: center; }
.u-text-left    { text-align: left; }
.u-text-right   { text-align: right; }

.u-color-primary { color: var(--color-primary); }
.u-color-white   { color: var(--color-text-white); }
.u-color-muted   { color: var(--color-text-muted); }

.u-font-display  { font-family: var(--font-display); }
.u-font-bold     { font-weight: var(--weight-bold); }
.u-font-semibold { font-weight: var(--weight-semibold); }

.u-mt-auto { margin-top: auto; }
.u-mb-0    { margin-bottom: 0; }

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.u-no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}




