/* ============================================
   COBERLINE — Base / Reset
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* AV Estiana — fuente de marca (logo, palabra destacada del H1).
   NOTA DE LICENCIA: los archivos facilitados traen licencia "Desktop
   Commercial" (uso en apps de escritorio), no una licencia de webfont
   explícita, y prohíben el uso como logotipo con la fuente viva. El logo
   en sí usa un SVG con las formas ya vectorizadas (no esta fuente), pero
   aquí SÍ se sirve la fuente viva vía @font-face para el H1. Usar bajo
   ese entendimiento hasta regularizar una licencia de webfont si se
   publica en producción. */
@font-face {
  font-family: 'AV Estiana';
  src: url('../assets/fonts/AVEstiana-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AV Estiana';
  src: url('../assets/fonts/AVEstiana-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AV Estiana';
  src: url('../assets/fonts/AVEstiana-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AV Estiana';
  src: url('../assets/fonts/AVEstiana-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AV Estiana';
  src: url('../assets/fonts/AVEstiana-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Satoshi — titulares grandes (H1, H2...). Gratuita vía Fontshare,
   licencia libre para uso comercial/web sin restricción de logotipo. */
@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../assets/fonts/Satoshi-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: #fff;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* Contenedor estándar del sitio */
.container {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: 28px;
}

/* Oculta visualmente pero deja accesible a lectores de pantalla --
   para <label> reales en campos que solo muestran un placeholder. */
.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;
}

/* Utilidad para animaciones de scroll (Intersection Observer) */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
