/* ===== TITULOS ===== */
h1, h2, h3, h4, h5, h6, p {
    font-family:'Open Sans',sans-serif;
    font-size:1.2rem;
    margin-top: 0;
    line-height: 2;
}



.ao-titulo-seccion {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.ao-titulo-seccion::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #ff0000;
}

/* ===== SECCIONES GENERALES ===== */
.seccion-contenedor {
    padding: 80px 0;
}

.ao-contenedor-texto {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    text-align: center;
}

.contenedor-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    gap: 40px;
}

/* ===== FONDO OSCURO ===== */
.fondo-oscuro {
    background-color: #222;
    color: #fff;
}

.fondo-oscuro .ao-titulo-seccion,
.fondo-oscuro .ao-titulo-seccion::after {
    color: #fff;
}

/* ===== CONTENIDO ===== */
.contenido-texto,
.contenido-imagen {
    flex: 1 1 300px;
    min-width: 280px;
}

.imagen-destacada {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.imagen-destacada:hover {
    transform: scale(1.02);
}

/* ===== LISTA DE SERVICIOS ===== */
.ao-lista-servicios {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.ao-lista-servicios li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-size: 1.1rem;
}

.ao-icono-lista {
    color: #ff0000;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== CTA ===== */
.ao-contenedor-cta {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 5%;
}

.ao-texto-cta {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.fondo-oscuro .ao-texto-cta {
    color: #eee;
}

.ao-boton-cta {
    display: inline-block;
    background-color: #ff0000;
    color: white;
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #ff0000;
    letter-spacing: 1px;
}

.ao-boton-cta:hover {
    background-color: transparent;
    color: #ff0000;
}

/* ===== ANIMACIONES ===== */
.animacion-izquierda {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.animacion-derecha {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .ao-hero-content {
        padding: 0 5%;
    }
}

@media (max-width: 768px) {
    .contenedor-flex {
        flex-direction: column;
    }

    .inverso {
        flex-direction: column-reverse;
    }

    .ao-titulo-seccion {
        font-size: 1.8rem;
    }

    .seccion-contenedor {
        padding: 60px 0;
    }

    .ao-hero {
        height: 500px;
    }

    .ao-hero-content h1 {
        font-size: 2.2rem;
    }

    .ao-hero-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .ao-titulo-seccion {
        font-size: 1.6rem;
    }

    .ao-boton-cta {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .ao-hero {
        height: 400px;
    }

    .ao-hero-content h1 {
        font-size: 1.8rem;
    }

    .ao-hero-content p {
        font-size: 1rem;
    }
}