/* ═══════════════════════════════════════════
   LAYOUT  —  Grid, secciones, tipografía base
   Desktop-first: base = PC, reducimos en mobile
   ═══════════════════════════════════════════ */

.container { max-width: 1160px; padding-left: 24px; padding-right: 24px; }

/* ── Secciones ─────────────────────────────── */
.section { padding: 100px 0; }

@media (max-width: 1024px) { .section { padding: 80px 0; } }
@media (max-width: 768px)  { .section { padding: 60px 0; } }
@media (max-width: 480px)  { .section { padding: 48px 0; } }

/* ── Encabezado de sección ─────────────────── */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
}
@media (max-width: 480px) { .section-head { margin-bottom: 22px; } }

/* ── Títulos de sección ─────────────────────── */
/*  Desktop: 2.4rem  |  Tablet: 2rem  |  Mobile: 1.5rem  */
.section-title {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin: 0;
    font-size: 2.4rem;
}
@media (max-width: 1024px) { .section-title { font-size: 2rem; } }
@media (max-width: 768px)  { .section-title { font-size: 1.7rem; } }
@media (max-width: 480px)  { .section-title { font-size: 1.4rem; } }

/* ── Subtítulos de sección ─────────────────── */
/*  Desktop: 1.1rem  |  Mobile: 1rem  */
.section-subtitle {
    color: var(--muted);
    max-width: 68ch;
    margin: 12px 0 0 0;
    line-height: 1.7;
    font-size: 1.05rem;
}
@media (max-width: 768px)  { .section-subtitle { font-size: .975rem; } }
@media (max-width: 480px)  { .section-subtitle { font-size: .925rem; max-width: 100%; } }

/* ── Suprimir delays de AOS en mobile ─────────
   En pantallas < 768px los delays crean un efecto
   de "aparición lenta" molesto al hacer scroll.
   Las animaciones siguen activas, solo sin delay. */
@media (max-width: 767px) {
    [data-aos-delay] { transition-delay: 0ms !important; }
}
