* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'davregular', sans-serif;
}

body {
    background: linear-gradient(181deg,rgba(233, 233, 233, 1) 0%, rgba(233, 233, 233, 1) 0%, rgba(239, 239, 239, 1) 0%, rgba(255, 255, 255, 1) 74%);
}

/* Logo */
.logo-davivienda {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    z-index: 150;
}

/* Legal lateral */
.legal-lateral h2 {
    position: absolute;
    transform: rotate(-180deg);
    writing-mode: vertical-rl;
    top: 170px;
    right: 25px;
    font-size: 10px;
    z-index: 3;
}


/* Barra limpia */
.custom-menu {
    padding: 10px 25px;
    margin-top: 10px;
}

/* Estilos generales del menú */
.menu-item {
    font-size: 16px; 
    font-family: 'davregular', sans-serif;
    color: #231f20 !important;
    padding: 3px 24px;
    border-radius: 50px;
    transition: 0.2s;
}


.menu-item.active {
    border: 1px solid #ED1C27; 
    font-family: 'davsemibold', sans-serif;
    color: #ED1C27 !important;
}


.navbar-toggler {
    border: none !important; 
}

.navbar-toggler:focus {
    box-shadow: none !important; 
}

/* Estilo del icono hamburguesa */
.navbar-toggler-icon {
    background-image: none !important; 
    width: 20px;
    height: 3px;
    background-color: #ed1c27; 
    position: relative;
    transition: 0.3s;
    border-radius: 50px;
    top: -10px;
}

/* Crear las otras dos líneas */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    border-radius: 50px;
    width: 28px;
    height: 3px;
    background-color: #E3000F;
    transition: 0.3s;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}



/* Desktop/Mobile headers */
.desktop { display: block; margin-top: -20px;}
.mobile { display: none;  }



.cta-btn:hover {
    transform: scale(1.03);
}


/* Estilo general del menú */
.preguntas-menu {
    margin-top: 40px;
    margin-bottom: 5px;
}

/* Espaciado entre ítems */
.preguntas-menu .nav-link {
    padding: 5px 15px;
    color: #4d4d4d;
    font-size: 18px;
    font-family: 'davregular', sans-serif;
}

/* Hover minimalista */
.preguntas-menu .nav-link:hover {
    color: #231f20;
}

/* Ítem activo: subrayado + negrita + negro */
.preguntas-menu .nav-link.active {
    font-family: 'davsemibold', sans-serif;
    color: #231f20 !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}



/* Título */
.titulo-seccion {
    font-size: 32px;
    font-family: 'davlight', sans-serif;
    color: #ed1c27;
}

.titulo-seccion span {
    color: #ed1c27;
    font-family: 'davsemibold', sans-serif;
}

/* Tarjeta pregunta */
.pregunta-card {
    background: #eaeaea;
    border-radius: 20px;
    transition: all .3s ease;
}

/* Botón icono */
.icon-btn {
    background: none;
    border: none;
    padding: 0;
}

/* Icono */
.icono-pregunta {
    width: 32px;
    transition: transform .3s ease;
}

/* Rotación cuando está abierto */
.icon-btn[aria-expanded="true"] .icono-pregunta {
    transform: rotate(134deg);
}

/* Texto pregunta */
.pregunta-texto {
    font-size: 20px;
    font-family: 'davsemibold', sans-serif;
    margin: 0;
}

/* Texto que aparece en acordeón */
.texto-respuesta {
    font-size: 16px;
    line-height: 1.5;
    font-family: 'davregular', sans-serif;
    margin: 0;
}

.text-seccion-dos{
    font-size: 18px;
    line-height: 25px;
    font-family: 'davregular', sans-serif;
    color: #231f20;
}

.text-seccion-dos a{
    font-family: 'davsemibold', sans-serif;
    color: #ed1c27;
    text-decoration: underline;
    cursor: pointer;
}

.text-seccion-dos strong{
    font-family: 'davsemibold', sans-serif;
}




footer{
    margin-top: 5px;
}

.text-footer{
    font-family: 'davregular', sans-serif;
    font-size: .8rem;
}

.img-footer img{
    width: 200px;
    padding-bottom: 10px;
}


/* RESPONSIVE */
@media (max-width: 768px) {

    .logo-davivienda { width: 60px; }

    .legal-lateral h2 {
    top: 180px;
    right: 10px;
}

    .desktop { display: none; }
    .mobile { display: block;
    padding-top: -30px; }

    .cta-box {
        padding: 15px;
        border-radius: 20px;
        margin-top: -20px;
        margin-bottom: -30px;
    }

    .icon-one { width: 50px; }

    .cta-text {
        font-size: 1.2rem;
        line-height: 1.5rem;
        font-family: 'davlight', sans-serif;
    }

    .cta-text b{
        font-size: 1.2rem;
        line-height: 1.5rem;
        font-family: 'davsemibold', sans-serif;
    }

    .cta-btn {
        font-size: .8rem;
        padding: 10px 15px;
    }



}