body{
    margin: 0;
}

.hero-declara{
    height: 100vh;
    background-image: url('../img/declara-01.svg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-declara{
    width: 700px;
    max-width: 90%;
    animation: respirar 2s ease-in-out infinite alternate;
}

.btn-declara{
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    
    opacity: 0;

    animation: aparecer-btn 0.8s ease-out forwards,
               latido-btn 2.5s ease-in-out 0.8s infinite alternate;
}

.icono{
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    
    width: 118px;
    height: 118px;
    background-color: #f7d878;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 2;
}

.icono img{
    width: 75px;
}

.caja-texto{
    background: #e5e5e5;
    padding: 20px 40px 20px 70px;
    border-radius: 6px;

    font-weight: 700;
    font-size: 2rem;
    color: #555;
    line-height: 1.2;
}

.seccion-opciones{
    background: #efefef;
    padding: 120px 40px 60px;
}

.opciones{
    
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.opcion{
    
    text-align: center;
    width: 220px; 
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}



.icono-opcion{
    width: 90px;
    height: 90px;
    background: #b5546a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
}

.icono-opcion img{
    width: 45px;
}

.texto-opcion{
    background: #d9d9d9;

    width: 100%;
    height: 70px; 

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    line-height: 1.2;

    box-sizing: border-box;
}

.opcion:hover{
    transform: translateY(-5px);
}













/* =========================
   SECCIÓN
   ========================= */
.seccion-basica{
    background: #f4f4f4;
    padding: 100px 40px;
}

/* HEADER */
.header-basica{
    display: flex;
    align-items: center;
    gap: 20px;

    max-width: 1200px;
    margin: 0 auto 40px;
}

.icono-header{
    width: 70px;
    height: 70px;
    background: #b5546a;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.icono-header img{
    width: 35px;
}

.header-basica h2{
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

/* =========================
   CONTENEDOR
   ========================= */
.contenedor-basica{
    max-width: 1100px;
    margin: auto;

    padding: 40px;

    border-radius: 12px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* =========================
   TARJETAS
   ========================= */
.card-basica{
    border-radius: 16px;
    padding: 28px 24px;

    text-align: center;
    color: #444;
    text-decoration: none;

    box-shadow: 0 8px 20px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    height: 160px;

    transition: all 0.3s ease;
}

/* TÍTULO */
.card-basica h3{
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* =========================
   BOTÓN
   ========================= */
.btn-card{
    display: inline-block;
    margin-top: 20px;

    padding: 10px 26px;

    background: #b5546a;
    color: #fff;

    border-radius: 20px;
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;

    transition: all 0.25s ease;
}

/* HOVER BOTÓN */
.btn-card:hover{
    background: #b5546a;
    color: #fff;
    transform: translateY(-2px);
}

/* HOVER CARD */
.card-basica:hover{
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}


/* CONTENEDOR EXPANDIBLE */
.opcion-expandible{
    width: 220px;
}

/* CLICK AREA */
.opcion-main{
    cursor: pointer;
    text-align: center;
}

/* SUBMENÚ */
.submenu-basica{
    margin-top: 10px;
    
    display: flex;
    flex-direction: column;
    gap: 8px;

    max-height: 0;
    overflow: hidden;

    opacity: 0;
    transition: all 0.3s ease;
}

/* ACTIVO */
.submenu-basica.activo{
    max-height: 200px;
    opacity: 1;
}

/* ITEMS */
.subitem{
    background: #f0f0f0;
    padding: 10px;
    border-radius: 6px;

    text-decoration: none;
    color: #555;
    font-size: 13px;

    transition: 0.2s;
}

/* HOVER */
.subitem:hover{
    background: #b5546a;
    color: #fff;
}







@keyframes respirar {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}


@keyframes aparecer-btn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes latido-btn {
    0% {
        transform: translateX(-50%) scale(1);
    }
    100% {
        transform: translateX(-50%) scale(1.05);
    }
}



/* =========================
   TABLETS
   ========================= */
@media (max-width: 1024px){

    .hero-declara{
        background-image: url('../img/burbuja.svg'), url('../img/declara-01.svg');
    }

    .logo-declara{
        width: 500px; 
    }

    .btn-declara{
        bottom: -35px;
    }



    .opciones{
        gap: 50px;
    }

    .opcion{
        width: 200px;
    }

}


/* =========================
   MÓVILES
   ========================= */
@media (max-width: 768px){

    .hero-declara{
        background-image: url('../img/burbuja.svg'), url('../img/declara-01.svg');
        height: 90vh;
    }

    .logo-declara{
        width: 300px;
    }

    .btn-declara{
        bottom: -25px;
        transform: translateX(-50%) scale(0.9);
    }

    .icono{
        width: 70px;
        height: 70px;
        left: -25px;
    }

    .icono img{
        width: 35px;
    }

    .caja-texto{
        font-size: 16px;
        padding: 15px 25px 15px 55px;
    }

    .opciones{
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .opcion{
        width: 80%;
        max-width: 280px;
    }

    .texto-opcion{
        height: 70px;
        font-size: 13px;
    }

}


a {
    text-decoration: none;
    color: inherit;
}