body {
    font-family: var(--fuente-principal);
    background-color: var(--blanco);
    color: var(--gris-suave);
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--azul-pastel);
}

a {
    color: var(--azul-lavanda);
}


/*!
 *HERO SECTION
 */

.hero-section {
    background: url('fondoAcuarelaConAmarillo.jpg') no-repeat center center;
    background-size: 110%;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 2rem;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-section .overlay {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    width: 100%;
    flex-wrap: wrap;
}

.hero-section .overlay .hero-image {
    flex: 1 1 300px;
    max-width: 400px;
}

.hero-section .overlay .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.hero-section .overlay .hero-text {
    flex: 1 1 400px;
    text-align: left;
}

.hero-section h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.8rem;
    color: var(--azul-lavanda);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

.hero-section p.lead.hero-subtitle {
    color: var(--naranja-pastel);
    font-weight: 700;
    animation: fadeInUp 1.5s ease-out;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1rem;
        background-size: cover;
        min-height: auto;
    }
    .hero-section .overlay {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    .hero-section .overlay .hero-image,
    .hero-section .overlay .hero-text {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .hero-section .overlay .hero-image img {
        max-width: 280px;
        margin: 0 auto;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p.lead.hero-subtitle {
        font-size: 1.1rem;
    }
}

.intro-section {
    background: none;
    padding: 4rem 2rem;
    text-align: center;
    font-family: 'Fredoka', sans-serif;
}

.intro-section h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #f8bbd0;
    /* Rosa pastel */
    text-shadow: none;
    margin-bottom: 1rem;
}

.intro-section p {
    font-size: 1.25rem;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: justify;
    font-family: 'Quicksand';
}


/*!
 *CARDS SECTION
 */

.card {
    background-color: var(--blanco);
    border: none;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}


/*!
 *ANIMACIONES SECTION
 */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}