/* Importar paleta de colores */
@import url('palette.css');

/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Oswald:wght@700&family=Bebas+Neue&family=Inter:wght@300;400;500;600&display=swap');

/* Variables CSS */
:root {
  --typo-lead-body-size: 1.125rem;
  --typo-body-size: 1rem;
  --typo-small-size: 0.875rem;
  --typo-large-size: 1.25rem;
  --typo-body-small-size: 0.875rem;
  --typo-body-weight: 400;
  --text-color: #2e2e2e;
  --header-height: 80px;
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Anton', sans-serif;
  --font-system: "Mona Sans", "Noto Sans", Helvetica, Arial, sans-serif;
}

/* Reset y Base */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: var(--typo-lead-body-size);
  font-family: var(--font-primary);
  color: var(--text-color);
}

/* Contenido Principal */
.main-content {
  background: #fff;
  min-height: calc(100vh - var(--header-height));
  padding-top: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

/* Módulos */
.services-module,
.news-module,
.join-team-module,
.client-attraction-module {
  margin-bottom: 2.5rem;
  position: relative;
}

.news-module:last-child {
  margin-bottom: 0;
}

/* Títulos de Módulos */
.module-title {
  font-size: 3rem;
  font-weight: 400;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.module-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 2rem;
  font-family: var(--font-primary);
  text-align: center;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.01em;
}

/* Responsive para subtítulos */
@media (max-width: 768px) {
  .module-subtitle {
    font-size: 1.1rem;
    max-width: 90%;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .module-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* Utilidades */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
