/* ============================================================
   STYLES.CSS — Punto de entrada
   Importa todos los parciales en orden correcto
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

@import 'variables.css';
@import 'components.css';
@import 'responsive.css';

/* ============================================================
   BASE — Reset y estilos globales
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

/* ── Secciones ── */

.section {
  padding: var(--section-padding);
}

.section--white {
  background-color: var(--color-white);
}

.section--light {
  background-color: var(--color-bg-light);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--footer {
  padding: 0;
}

/* ── Contenedor ── */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ── Quiénes Somos ── */

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-content strong {
  color: var(--color-primary);
  font-weight: var(--weight-bold);
}

/* ── Cabecera de sección ── */

.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.section--dark .section__title,
.section--dark .section__label {
  color: var(--color-white);
}

.section__subtitle {
  font-size: var(--text-base);
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto;
}

.section--dark .section__subtitle {
  color: var(--color-text-light);
}
