/**
 * Estilos personalizados para Landing Page Insignia
 * 
 * Este archivo contiene estilos adicionales que complementan Bootstrap
 * para crear una experiencia visual única y profesional.
 * 
 * @author Sistema Insignia
 * @version 1.0.0
 */

/* Variables CSS personalizadas para Insignia */
:root {
    --primary-color: #ffffff;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #cccccc;
    --dark-color: #00555a;

    /* Colores específicos de Insignia */
    --insignia-dark: #1a1a1a;
    --insignia-white: #ffffff;
    --insignia-grey: #333333;
    --insignia-blue: #0066cc;
    --insignia-gold: #d4af37;

    /* Sombras personalizadas */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.5);

    /* Transiciones */
    --transition-base: all 0.3s ease-in-out;
    --transition-fast: all 0.15s ease-in-out;
}

/* Colores personalizados */
body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(to bottom,
            #000000 0%,
            #005f63 20%,
            #004449 60%,
            #00181b 100%);
    background-attachment: fixed;
}


/* Configuración base */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'proxima-nova', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--insignia-white);
    font-size: 20px;
}

hr {
    border-color: var(--light-color);
}

.btn {
    padding-top: .5em;
    padding-bottom: .5em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    border-radius: 1em;
    font-weight: bold;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
}

.btn:hover {
    background-color: var(--dark-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.desktop-break {
    display: block;
}

/* Clase reutilizable para secciones de pantalla completa */
.fullscreen-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.fullscreen-section .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fullscreen-section .section-content {
    text-align: center;
    width: 100%;
}

.fullscreen-section .section-footer {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: .18em;
    opacity: .5;
    color: var(--insignia-white);
    font-family: proxima-nova, sans-serif;
}

/* Header */
#main-content {
    background-image: url('../images/leasing/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    position: relative;
    border-bottom-left-radius: 3em;
    border-bottom-right-radius: 3em;
}

#banco-caribe-logo,
#banco-caribe-logo-footer {
    width: 300px;
    height: auto;
}

/* Inicio */
#home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

#home h1 {
    font-size: 3em;
    font-weight: 100;
    text-transform: uppercase;
    font-family: proxima-nova, sans-serif;
    margin-bottom: 0;
}

#home h2 {
    font-size: 2em;
    font-weight: 400;
    max-width: 700px;
    line-height: 1em;
}

.home-content {
    text-align: left;
    color: var(--insignia-white);
    margin-top: -60px;
}

.home-content h2 {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: normal;
    margin-bottom: 1.5rem;
    font-family: proxima-nova, sans-serif;
}

.home-content p {
    font-size: .56em;
    font-weight: 200;
    margin-bottom: 2rem;
    font-family: proxima-nova, sans-serif;
    line-height: .8em;
    margin-bottom: 4em;
}

h2 {
    font-weight: 600;
    font-size: 2em;
}

#leasing-caribe-content-text p {
    font-weight: 100;
}

#leasing-caribe-content-text .featured-text {
    font-size: 1.7em;
    font-weight: 400;
    line-height: 1em;
}

.link-primary {
    font-size: .9em;
    transition: all 0.3s ease;
}

.link-primary:focus,
.link-primary:hover {
    color: var(--secondary-color) !important;
}

/* Beneficios Visa - Estilo como en la captura */
.beneficios-visa-col {
    border-radius: 15px;
    margin: 0 8px;
    min-height: 200px;
    transition: all 0.3s ease;
}

.beneficios-visa-col:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.icono-beneficio-visa img {
    width: 100px;
    height: 100%;
}

.beneficios-visa-col h5 {
    color: var(--insignia-white);
    font-weight: 600;
    font-size: 1.15rem;
    text-align: left;
    margin-bottom: 8px;
}

.beneficios-visa-col p {
    color: var(--insignia-white);
    font-size: 0.9rem;
    text-align: left;
    line-height: 1.4;
    min-height: 90px;
    margin: 0;
}

.leasing-card {
    position: relative;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    aspect-ratio: 4 / 5;
    display: flex;
    flex-direction: column;
    color: white;
    padding: 20px;
    overflow: hidden;
}

.leasing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 50%);
    border-radius: 15px;
}

.leasing-card>div.leasing-card-content {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-left: 1em;
    padding-right: 1em;
}

.leasing-card-content h3 {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 10px;
}

.leasing-card-content p {
    font-size: .75em;
    font-weight: 200;
    min-height: 70px;
    line-height: 1.2em;
}

#tipos-de-leasing .col-4 {
    padding: 1em;
}

/* Tarjetas de Beneficios */
.beneficio-card {
    position: relative;
    background: #00555a;
    border-radius: 20px;
    aspect-ratio: 4 / 5;
    display: flex;
    flex-direction: column;
    padding: 1.5em;
    overflow: hidden;
    color: #cccccc;
}

.beneficio-card-active {
    color: #ffffff;
}

.beneficio-number {
    position: absolute;
    top: .5em;
    right: .5em;
    font-size: 3.5em;
    font-weight: 100;
    line-height: 1;
    color: inherit;
    opacity: 0.3;
}

.beneficio-card-content {
    margin-top: auto;
    z-index: 1;
    position: relative;
}

.beneficio-card-content h4 {
    font-size: 2.8em;
    font-weight: 400;
    margin-bottom: .3em;
    color: inherit;
    line-height: 1em;
    max-width: 100%;
}

.beneficio-card-content p {
    font-size: .86em;
    font-weight: 300;
    line-height: 1.5;
    color: inherit;
    margin: 0;
    min-height: 150px;
}

.beneficio-card-content p strong {
    font-weight: 600;
    color: inherit;
}

#beneficios-requisitos {
    font-size: 1.5em;
    opacity: .5;
}

#mas-beneficios .col-4 {
    padding: 1em;
}

.items-beneficios {
    margin-top: 1em;
    margin-bottom: 1em;
    color: #999999;
}

.items-beneficios strong,
.items-beneficios a {
    color: #fff;
}

h3 {
    font-size: 2.1em;
}

.swiper-pagination {
    background-color: #333333;
    padding: 5px 10px;
    border-radius: 20px;
    display: block;
}

.swiper-pagination-bullet-active {
    background-color: #666666;
}



/* Forzar alineación a la izquierda del título Beneficios Visa */
.text-start,
.text-start h3,
.text-start * {
    text-align: left !important;
    margin-left: 0 !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

/* Forzar contenedores padre */
.container .text-start,
.row .text-start,
.col .text-start {
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}

/* Responsive */
@media (max-width: 768px) {
    .swiper-container {
        max-width: 100%;
        padding: 40px 50px;
    }

    .swiper-slide {
        width: 250px;
        height: 320px;
        margin: 0 4px;
    }

    /* Beneficios Visa responsive */
    .beneficios-visa-col {
        margin: 0 4px 15px 4px;
        min-height: 180px;
    }

    .beneficios-visa-col h5 {
        font-size: 0.9rem;
    }

    .beneficios-visa-col p {
        font-size: 0.8rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -16px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        width: 16px;
        height: 16px;
    }

    .swiper-button-next {
        right: 6em;
    }

    .swiper-button-prev {
        left: 3em;
    }
}

@media (max-width: 480px) {
    .swiper-container {
        padding: 30px 40px;
    }

    .swiper-slide {
        width: 220px;
        height: 280px;
        margin: 0 3px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        width: 14px;
        height: 14px;
    }

    .swiper-button-next {
        right: -5px;
    }

    .swiper-button-prev {
        left: -5px;
    }
}

/* Acordeón de Preguntas Frecuentes */
#preguntas-frecuentes {
    padding: 4rem 0;
    margin-top: 5rem;
}

.accordion-faq {
    margin-top: 2rem;
}

.accordion-faq .accordion-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
}

.accordion-faq .accordion-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-faq .accordion-button {
    background-color: transparent;
    border: none;
    padding: 1.5rem 3.5rem 1.5rem 0;
    color: #66B2B2;
    font-weight: 600;
    font-size: .7em;
    position: relative;
    box-shadow: none;
    width: 100%;
    text-align: left;
}

.accordion-faq .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: #66B2B2;
    box-shadow: none;
}

.accordion-faq .accordion-button::after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6 L8 10 L12 6' stroke='%2366B2B2' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    width: 40px;
    height: 40px;
    background-size: 16px 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #3A6B6B;
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-faq .accordion-button:not(.collapsed)::after {
    transform: translateY(-50%) rotate(180deg);
}

.accordion-faq .accordion-question {
    display: block;
    text-align: left;
    max-width: 70%;
    padding-right: 1rem;
}

.accordion-faq .accordion-body {
    background-color: transparent;
    padding: 0.5rem 0 1.5rem 0;
    color: #ffffff;
    font-size: 1em;
    font-weight: 300;
    line-height: 1.6;
}

.accordion-faq .accordion-collapse {
    transition: all 0.3s ease;
}

#solicitudModalContent {    
    background-color: var(--dark-color) !important;
    padding: 2em;
}