/* =========================================
   EXCELCRED - ESTILOS GENERALES
   ========================================= */

:root {
    --excelcred-blue: #0680F9;
    --excelcred-yellow: #F4F438;
    --excelcred-dark: #172033;
    --excelcred-white: #FFFFFF;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--excelcred-dark);
    background-color: var(--excelcred-white);
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
    background-color: var(--excelcred-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(23, 32, 51, 0.08);
}

.site-header .navbar {
    min-height: 72px;
    padding-top: 10px;
    padding-bottom: 10px;
}


/* =========================================
   LOGO
   ========================================= */

.excelcred-logo {
    width: 165px;
    height: auto;
    display: block;
}


/* =========================================
   NAVEGACIÓN
   ========================================= */

.navbar-nav {
    gap: 6px;
}

.nav-link {
    color: var(--excelcred-dark);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 10px !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--excelcred-blue);
}


/* =========================================
   BOTÓN PRINCIPAL
   ========================================= */

.btn-excelcred {
    background-color: var(--excelcred-blue);
    color: var(--excelcred-yellow);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 11px 18px;
    border-radius: 8px;
    border: 2px solid var(--excelcred-blue);
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.btn-excelcred:hover {
    background-color: var(--excelcred-yellow);
    color: var(--excelcred-blue);
    border-color: var(--excelcred-yellow);
    transform: translateY(-1px);
}


/* =========================================
   BOTÓN HAMBURGUESA
   ========================================= */

.navbar-toggler {
    border: none;
    padding: 5px;
}

.navbar-toggler:focus {
    box-shadow: none;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 991.98px) {

    .site-header .navbar {
        min-height: auto;
        padding-top: 14px;
        padding-bottom: 8px;
    }

    .site-header .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar-brand {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-right: 0;
        margin-bottom: 8px;
    }

    .excelcred-logo {
        width: 145px;
    }

    .navbar-toggler {
        margin-right: auto;
        margin-left: 0;
    }

    .navbar-collapse {
        width: 100%;
        margin-top: 8px;
    }

    .navbar-nav {
        gap: 0;
        align-items: stretch !important;
        padding-top: 8px;
        padding-bottom: 8px;
        border-top: 1px solid rgba(23, 32, 51, 0.08);
    }

    .nav-link {
        padding: 11px 4px !important;
        text-align: left;
    }

    .nav-item:last-child {
        margin-left: 0 !important;
        margin-top: 8px !important;
    }

    .btn-excelcred {
        display: inline-block;
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   CARRUSEL
   ========================================= */

.hero-carousel {
    width: 100%;
    background-color: var(--excelcred-white);
}

.hero-carousel .carousel-item {
    width: 100%;
}

.carousel-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.hero-carousel img {
    display: block;
    width: 100%;
    height: auto;
}

/* Indicadores */

.hero-carousel .carousel-indicators {
    margin-bottom: 18px;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    margin: 0 5px;
    opacity: 0.45;
    background-color: var(--excelcred-white);
}

.hero-carousel .carousel-indicators .active {
    opacity: 1;
    background-color: var(--excelcred-yellow);
}

/* Flechas */

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 7%;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 38px;
    height: 38px;
    background-size: 55%;
    border-radius: 50%;
    background-color: rgba(23, 32, 51, 0.45);
}

/* Transición */

.hero-carousel .carousel-item {
    transition: transform 0.45s ease-in-out;
}

/* Mobile */

@media (max-width: 767.98px) {

    .hero-carousel .carousel-indicators {
        margin-bottom: 12px;
    }

    .hero-carousel .carousel-indicators [data-bs-target] {
        width: 7px;
        height: 7px;
        margin: 0 4px;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 12%;
        opacity: 1;
    }

    .hero-carousel .carousel-control-prev-icon,
    .hero-carousel .carousel-control-next-icon {
        width: 32px;
        height: 32px;
    }

}

/* =========================================
   HEADER AL HACER SCROLL
   ========================================= */

.site-header {
    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 18px rgba(23, 32, 51, 0.06);
}

/* =========================================
   IDENTIDAD EXCELCRED
   ========================================= */

.brand-intro {
    background-color: var(--excelcred-white);
    padding: 90px 0 95px;
}

.brand-intro-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.section-eyebrow {
    margin: 0 0 22px;
    color: var(--excelcred-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.brand-intro h1 {
    margin: 0;
    color: var(--excelcred-blue);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -1.2px;
}

.brand-intro h1 span {
    display: block;
}

.brand-intro-accent {
    width: 54px;
    height: 4px;
    margin: 28px auto 32px;
    background-color: var(--excelcred-yellow);
    border-radius: 999px;
}

.brand-intro-button {
    display: inline-block;
}

/* Mobile */

@media (max-width: 767.98px) {

    .brand-intro {
        padding: 65px 20px 70px;
    }

    .section-eyebrow {
        margin-bottom: 18px;
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .brand-intro h1 {
        font-size: 34px;
        line-height: 1.18;
        letter-spacing: -0.8px;
    }

    .brand-intro-accent {
        margin: 24px auto 28px;
    }

}

/* =========================================
   LÍNEAS DISPONIBLES
   ========================================= */

.available-lines {
    background-color: var(--excelcred-white);
    padding: 95px 0 100px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading .section-eyebrow {
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 0;
    color: var(--excelcred-dark);
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -1px;
}

/* Lista */

.lines-list {
    border-top: 1px solid rgba(23, 32, 51, 0.12);
}

.credit-line {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 27px 10px 27px 0;
    border-bottom: 1px solid rgba(23, 32, 51, 0.12);
    color: var(--excelcred-dark);
    text-decoration: none;
    transition:
        transform 0.2s ease,
        padding-left 0.2s ease;
}

.credit-line::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background-color: var(--excelcred-yellow);
    transition: width 0.25s ease;
}

.credit-line:hover {
    color: var(--excelcred-dark);
    transform: translateY(-2px);
    padding-left: 8px;
}

.credit-line:hover::before {
    width: 54px;
}

.credit-line-content h3 {
    margin: 0 0 7px;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;
}

.credit-line-content p {
    margin: 0;
    color: rgba(23, 32, 51, 0.68);
    font-size: 15px;
    line-height: 1.4;
}

.credit-line-content strong {
    color: var(--excelcred-blue);
    font-weight: 700;
}

.credit-line-arrow {
    flex-shrink: 0;
    color: var(--excelcred-blue);
    font-size: 28px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.credit-line:hover .credit-line-arrow {
    transform: translateX(5px);
}

/* Aclaración */

.lines-note {
    max-width: 800px;
    margin-top: 25px;
}

.lines-note p {
    margin: 0;
    color: rgba(23, 32, 51, 0.58);
    font-size: 13px;
    line-height: 1.6;
}

/* Situación no contemplada */

.lines-fallback {
    margin-top: 24px;
}

.lines-fallback a {
    color: var(--excelcred-dark);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lines-fallback span {
    color: var(--excelcred-blue);
    font-weight: 700;
    margin-left: 5px;
    transition: color 0.2s ease;
}

.lines-fallback a:hover {
    color: var(--excelcred-blue);
}

/* CTA */

.section-cta {
    margin-top: 42px;
}

/* Mobile */

@media (max-width: 767.98px) {

    .available-lines {
        padding: 70px 20px 75px;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading .section-eyebrow {
        margin-bottom: 15px;
    }

    .section-heading h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    .credit-line {
        gap: 18px;
        padding: 22px 0;
    }

    .credit-line:hover {
        transform: none;
        padding-left: 0;
    }

    .credit-line:hover::before {
        width: 40px;
    }

    .credit-line-content h3 {
        font-size: 17px;
    }

    .credit-line-content p {
        font-size: 14px;
    }

    .credit-line-arrow {
        font-size: 24px;
    }

    .lines-note {
        margin-top: 22px;
    }

    .lines-note p {
        font-size: 12px;
    }

    .section-cta {
        margin-top: 35px;
    }

}

/* =========================================
   REQUISITOS
   ========================================= */

.requirements {
    background-color: var(--excelcred-blue);
    padding: 90px 0 95px;
    color: var(--excelcred-white);
}

.requirements-heading {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.requirements .section-eyebrow {
    margin-bottom: 18px;
    color: var(--excelcred-yellow);
}

.requirements-heading h2 {
    margin: 0;
    color: var(--excelcred-white);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.requirements-intro {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.5;
}

/* Lista de requisitos */

.requirements-list {
    max-width: 1000px;
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
}

.requirement-item {
    text-align: center;
}

.requirement-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.requirement-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--excelcred-white);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.requirement-item h3 {
    margin: 0;
    color: var(--excelcred-white);
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
}

/* CTA */

.requirements-cta {
    margin-top: 55px;
    text-align: center;
}

.btn-requirements {
    background-color: var(--excelcred-yellow);
    color: var(--excelcred-blue);
    border: 2px solid var(--excelcred-yellow);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 12px 22px;
    border-radius: 8px;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.btn-requirements:hover {
    background-color: var(--excelcred-white);
    color: var(--excelcred-blue);
    border-color: var(--excelcred-white);
    transform: translateY(-1px);
}

/* Mobile */

@media (max-width: 767.98px) {

    .requirements {
        padding: 70px 20px 75px;
    }

    .requirements .section-eyebrow {
        margin-bottom: 15px;
    }

    .requirements-heading h2 {
        font-size: 34px;
    }

    .requirements-intro {
        font-size: 16px;
    }

    .requirements-list {
        margin-top: 42px;
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .requirement-icon {
        width: 66px;
        height: 66px;
        margin-bottom: 17px;
    }

    .requirement-icon svg {
        width: 31px;
        height: 31px;
    }

    .requirement-item h3 {
        font-size: 16px;
    }

    .requirements-cta {
        margin-top: 45px;
    }

}

/* =========================================
   PREGUNTAS FRECUENTES
   ========================================= */

.faq-section {
    background-color: var(--excelcred-white);
    padding: 95px 0 100px;
}

.faq-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.faq-heading .section-eyebrow {
    margin-bottom: 18px;
}

.faq-heading h2 {
    margin: 0;
    color: var(--excelcred-dark);
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -1px;
}

.faq-list {
    max-width: 950px;
    margin: 0 auto;
    border-top: 1px solid rgba(23, 32, 51, 0.12);
}

.faq-item {
    position: relative;
    border: none !important;
    border-bottom: 1px solid rgba(23, 32, 51, 0.12) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.faq-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--excelcred-yellow);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.25s ease;
    z-index: 2;
}

.faq-item:has(.accordion-button:not(.collapsed))::before {
    transform: scaleY(1);
}

.faq-item .accordion-button {
    position: relative;
    padding: 25px 50px 25px 18px;
    background: transparent !important;
    color: var(--excelcred-blue);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: none !important;
}

.faq-item .accordion-button::after {
    width: 18px;
    height: 18px;
    margin-left: auto;
    background-image: none;
    content: "+";
    color: var(--excelcred-blue);
    font-size: 26px;
    font-weight: 400;
    line-height: 16px;
    transform: none;
}

.faq-item .accordion-button:not(.collapsed)::after {
    content: "−";
    transform: none;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
}

.faq-item .accordion-body {
    padding: 0 55px 27px 18px;
    color: rgba(23, 32, 51, 0.72);
    font-size: 15px;
    line-height: 1.65;
}

/* Mobile */

@media (max-width: 767.98px) {

    .faq-section {
        padding: 70px 20px 75px;
    }

    .faq-heading {
        margin-bottom: 35px;
    }

    .faq-heading .section-eyebrow {
        margin-bottom: 15px;
    }

    .faq-heading h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    .faq-item .accordion-button {
        padding: 21px 42px 21px 15px;
        font-size: 16px;
    }

    .faq-item .accordion-body {
        padding: 0 35px 23px 15px;
        font-size: 14px;
        line-height: 1.6;
    }

    .faq-item::before {
        width: 2px;
    }

}

/* =========================================
   SOBRE EXCELCRED
   ========================================= */

.about-section {
    background-color: var(--excelcred-white);
    padding: 100px 0 105px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 90px;
    align-items: center;
}

/* Columna izquierda */

.about-highlight {
    max-width: 390px;
    background-color: var(--excelcred-blue);
    padding: 55px 50px;
    border-radius: 4px;
}

.about-highlight-number {
    margin: 0;
    color: var(--excelcred-white);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.about-highlight-line {
    width: 54px;
    height: 4px;
    margin: 25px 0 28px;
    background-color: var(--excelcred-yellow);
    border-radius: 999px;
}

.about-highlight-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.65;
    font-weight: 400;
}

/* Columna derecha */

.about-content {
    max-width: 700px;
}

.about-content .section-eyebrow {
    margin-bottom: 25px;
}

.about-copy p {
    margin: 0 0 22px;
    color: rgba(23, 32, 51, 0.78);
    font-size: 16px;
    line-height: 1.75;
}

.about-copy p:last-child {
    margin-bottom: 0;
}

.about-copy strong {
    color: var(--excelcred-dark);
    font-weight: 700;
}

/* Mobile */

@media (max-width: 767.98px) {

    .about-section {
        padding: 70px 20px 75px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-highlight {
        max-width: 100%;
        padding: 42px 30px;
    }

    .about-highlight-number {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .about-highlight-line {
        margin: 20px 0 22px;
    }

    .about-highlight-text {
        font-size: 17px;
        line-height: 1.6;
    }

    .about-content .section-eyebrow {
        margin-bottom: 20px;
    }

    .about-copy p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 20px;
    }
}

.contact-section {
    background-color: var(--excelcred-white);
    padding: 100px 0 105px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
    gap: 90px;
    align-items: center;
}

/* Columna izquierda */

.contact-info {
    max-width: 560px;
}

.contact-info .section-eyebrow {
    margin-bottom: 20px;
}

.contact-info h2 {
    margin: 0;
    color: var(--excelcred-dark);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1.3px;
}

.contact-info h2 span {
    display: block;
    color: var(--excelcred-blue);
}

.contact-intro {
    max-width: 500px;
    margin: 22px 0 42px;
    color: rgba(23, 32, 51, 0.68);
    font-size: 16px;
    line-height: 1.65;
}

/* Canales */

.contact-channels {
    border-top: 1px solid rgba(23, 32, 51, 0.12);
}

.contact-channel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 20px 8px 20px 0;
    border-bottom: 1px solid rgba(23, 32, 51, 0.12);
    color: var(--excelcred-dark);
    text-decoration: none;
    transition:
        padding-left 0.2s ease,
        color 0.2s ease;
}

.contact-channel::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background-color: var(--excelcred-yellow);
    transition: width 0.25s ease;
}

.contact-channel:hover {
    color: var(--excelcred-blue);
    padding-left: 8px;
}

.contact-channel:hover::before {
    width: 50px;
}

.contact-channel-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-channel-content span {
    color: rgba(23, 32, 51, 0.48);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.contact-channel-content strong {
    color: inherit;
    font-size: 16px;
    font-weight: 600;
}

.contact-channel-arrow {
    flex-shrink: 0;
    color: var(--excelcred-blue);
    font-size: 25px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.contact-channel:hover .contact-channel-arrow {
    transform: translateX(5px);
}


/* Columna derecha */

.contact-consultation {
    background-color: var(--excelcred-blue);
    padding: 55px;
    border-radius: 4px;
}

.contact-consultation-inner {
    max-width: 470px;
}

.contact-consultation-eyebrow {
    margin: 0 0 18px;
    color: var(--excelcred-yellow);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.contact-consultation h3 {
    margin: 0;
    color: var(--excelcred-white);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.contact-accent {
    width: 54px;
    height: 4px;
    margin: 25px 0 27px;
    background-color: var(--excelcred-yellow);
    border-radius: 999px;
}

.contact-consultation p:not(.contact-consultation-eyebrow) {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.7;
}

.btn-contact {
    display: inline-block;
    margin-top: 32px;
    background-color: var(--excelcred-yellow);
    color: var(--excelcred-blue);
    border: 2px solid var(--excelcred-yellow);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 12px 22px;
    border-radius: 8px;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.btn-contact:hover {
    background-color: var(--excelcred-white);
    color: var(--excelcred-blue);
    border-color: var(--excelcred-white);
    transform: translateY(-1px);
}

.contact-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 27px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-trust span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}


/* Mobile */

@media (max-width: 767.98px) {

    .contact-section {
        padding: 70px 20px 75px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-info h2 {
        font-size: 36px;
    }

    .contact-intro {
        margin: 18px 0 32px;
        font-size: 15px;
    }

    .contact-channel {
        padding: 18px 0;
    }

    .contact-channel:hover {
        padding-left: 0;
    }

    .contact-channel-content strong {
        font-size: 15px;
    }

    .contact-consultation {
        padding: 40px 28px;
    }

    .contact-consultation h3 {
        font-size: 29px;
    }

    .contact-consultation p:not(.contact-consultation-eyebrow) {
        font-size: 14px;
    }

    .contact-trust {
        margin-top: 24px;
    }
}

.site-footer {
    background-color: var(--excelcred-blue);
    padding: 70px 0 28px;
    color: var(--excelcred-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr;
    gap: 80px;
}

/* Marca */

.footer-logo {
    display: inline-block;
    text-decoration: none;
}

.footer-logo img {
    width: 145px;
    height: auto;
    display: block;
}

.footer-tagline {
    max-width: 360px;
    margin: 25px 0 0;
    color: var(--excelcred-white);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}

.footer-since {
    margin: 0;
    color: var(--excelcred-yellow);
    font-size: 13px;
    font-weight: 700;
}


/* Columnas */

.footer-column h3 {
    margin: 4px 0 20px;
    color: var(--excelcred-yellow);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--excelcred-yellow);
}


/* Cierre */

.footer-bottom {
    margin-top: 55px;
}

.footer-bottom-line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.22);
}

.footer-bottom p {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    line-height: 1.5;
}


/* Mobile */

@media (max-width: 767.98px) {

    .site-footer {
        padding: 55px 20px 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .footer-logo img {
        width: 135px;
    }

    .footer-tagline {
        margin-top: 20px;
        font-size: 17px;
    }

    .footer-column h3 {
        margin-bottom: 16px;
    }

    .footer-bottom {
        margin-top: 45px;
    }

}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(23, 32, 51, 0.18);
    text-decoration: none;
    z-index: 1050;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 24px rgba(23, 32, 51, 0.22);
}

.floating-whatsapp-icon {
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-whatsapp-icon svg {
    width: 100%;
    height: 100%;
    fill: #FFFFFF;
}

@media (max-width: 767.98px) {
    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }

    .floating-whatsapp-icon {
        width: 27px;
        height: 27px;
    }
}

/* =========================================================
   CONSULTA ONLINE
   ========================================================= */

.consulta-navbar {
    justify-content: center;
}

.consulta-navbar .navbar-brand {
    margin-right: 0;
}

.consulta-hero {
    background-color: var(--excelcred-blue);
    padding: 75px 0 80px;
}

.consulta-hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.consulta-hero .section-eyebrow {
    margin-bottom: 18px;
    color: var(--excelcred-yellow);
}

.consulta-hero h1 {
    margin: 0;
    color: var(--excelcred-white);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.consulta-hero-accent {
    width: 54px;
    height: 4px;
    margin: 26px auto 27px;
    background-color: var(--excelcred-yellow);
    border-radius: 999px;
}

.consulta-hero p:last-child {
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.65;
}


/* Formulario */

.consulta-form-section {
    background-color: var(--excelcred-white);
    padding: 85px 0 100px;
}

.consulta-form {
    max-width: 820px;
    margin: 0 auto;
}

.form-block {
    padding: 0 0 65px;
    margin-bottom: 65px;
    border-bottom: 1px solid rgba(23, 32, 51, 0.1);
}

.form-block-last {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.form-block-heading {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 35px;
}

.form-block-heading > span {
    flex-shrink: 0;
    color: var(--excelcred-yellow);
    background-color: var(--excelcred-blue);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.form-block-heading p {
    margin: 1px 0 5px;
    color: var(--excelcred-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.form-block-heading h2 {
    margin: 0;
    color: var(--excelcred-dark);
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.form-row-custom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.form-row-two {
    grid-template-columns: 1fr 1fr;
    margin-top: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    margin-bottom: 9px;
    color: var(--excelcred-dark);
    font-size: 13px;
    font-weight: 600;
}

.form-field input,
.form-field select {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid rgba(23, 32, 51, 0.18);
    border-radius: 6px;
    background-color: var(--excelcred-white);
    color: var(--excelcred-dark);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-field input::placeholder {
    color: rgba(23, 32, 51, 0.38);
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--excelcred-blue);
    box-shadow: 0 0 0 3px rgba(6, 128, 249, 0.1);
}

.form-field small {
    margin-top: 8px;
    color: rgba(23, 32, 51, 0.5);
    font-size: 12px;
}


/* Documentación */

.document-list {
    border-top: 1px solid rgba(23, 32, 51, 0.1);
}

.document-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(23, 32, 51, 0.1);
}

.document-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.document-info strong {
    color: var(--excelcred-dark);
    font-size: 15px;
    font-weight: 600;
}

.document-info span {
    color: rgba(23, 32, 51, 0.5);
    font-size: 12px;
}

.file-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid var(--excelcred-blue);
    border-radius: 6px;
    background-color: var(--excelcred-white);
    color: var(--excelcred-blue);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.file-button:hover {
    background-color: var(--excelcred-blue);
    color: var(--excelcred-white);
}

.file-button input {
    display: none;
}


/* Autorización */

.authorization {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
}

.authorization input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.authorization-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 1px solid rgba(23, 32, 51, 0.28);
    border-radius: 4px;
    background-color: var(--excelcred-white);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.authorization input:checked + .authorization-box {
    background-color: var(--excelcred-blue);
    border-color: var(--excelcred-blue);
    box-shadow: inset 0 0 0 4px var(--excelcred-white);
}

.authorization-text {
    color: rgba(23, 32, 51, 0.72);
    font-size: 13px;
    line-height: 1.65;
}

.authorization input:focus-visible + .authorization-box {
    outline: 3px solid rgba(6, 128, 249, 0.2);
    outline-offset: 2px;
}

/* Botón */

.consulta-submit {
    display: block;
    width: 100%;
    margin-top: 38px;
    padding: 15px 22px;
    border: 2px solid var(--excelcred-blue);
    border-radius: 8px;
    background-color: var(--excelcred-blue);
    color: var(--excelcred-yellow);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.consulta-submit:hover {
    background-color: var(--excelcred-yellow);
    color: var(--excelcred-blue);
    border-color: var(--excelcred-yellow);
    transform: translateY(-1px);
}


/* Footer reducido de consulta */

.consulta-footer {
    padding-top: 35px;
}


/* Mobile */

@media (max-width: 767.98px) {

    .consulta-hero {
        padding: 58px 20px 62px;
    }

    .consulta-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .consulta-hero p:last-child {
        font-size: 15px;
    }

    .consulta-form-section {
        padding: 60px 20px 75px;
    }

    .form-block {
        padding-bottom: 50px;
        margin-bottom: 50px;
    }

    .form-block-heading {
        gap: 14px;
        margin-bottom: 28px;
    }

    .form-block-heading > span {
        width: 34px;
        height: 34px;
        font-size: 11px;
    }

    .form-block-heading h2 {
        font-size: 22px;
    }

    .form-row-two {
        grid-template-columns: 1fr;
        margin-top: 20px;
        gap: 20px;
    }

    .document-field {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .file-button {
        width: 100%;
    }

    .authorization-text {
        font-size: 12px;
    }

    .consulta-submit {
        margin-top: 30px;
    }
}

.file-button {
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.file-button-text {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-button.file-selected {
    background-color: rgba(6, 128, 249, 0.08);
    border-color: var(--excelcred-blue);
    color: var(--excelcred-blue);
    font-weight: 600;
}

.consulta-result-button {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 22px;
    background-color: var(--excelcred-blue);
    color: var(--excelcred-yellow);
    border: 2px solid var(--excelcred-blue);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.consulta-result-button:hover {
    background-color: var(--excelcred-yellow);
    color: var(--excelcred-blue);
    border-color: var(--excelcred-yellow);
    transform: translateY(-1px);
}

.file-upload {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.file-upload::after {
    content: "Podés hacer clic en el archivo para reemplazarlo.";
    display: none;
    margin-top: 7px;
    font-size: 12px;
    font-weight: 400;
    color: var(--excelcred-dark);
}

.file-upload:has(.file-button.file-selected)::after {
    display: block;
}

.consulta-navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.consulta-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 10px;
    padding: 10px 18px;

    background-color: var(--excelcred-yellow);
    color: var(--excelcred-blue);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;

    border: 2px solid var(--excelcred-yellow);
    border-radius: 8px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.consulta-back-link:hover {
    background-color: var(--excelcred-blue);
    color: var(--excelcred-yellow);
    border-color: var(--excelcred-blue);

    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(23, 32, 51, 0.12);
}

@media (max-width: 767.98px) {
    .consulta-back-link {
        margin-top: 8px;
        padding: 9px 16px;
        font-size: 12px;
    }
}

/* ==============================================
   VALIDACIÓN DE CAMPOS
   ============================================== */

.form-field.field-error input,
.form-field.field-error select,
.form-field.field-error textarea {
    border-color: #dc5a5a;
    background-color: rgba(220, 90, 90, 0.05);
}

.form-field.field-error input:focus,
.form-field.field-error select:focus,
.form-field.field-error textarea:focus {
    border-color: #dc5a5a;
    box-shadow: 0 0 0 3px rgba(220, 90, 90, 0.12);
}

.document-field.field-error {
    border-color: #dc5a5a;
    background-color: rgba(220, 90, 90, 0.05);
}

.authorization.field-error {
    border-color: #dc5a5a;
    background-color: rgba(220, 90, 90, 0.05);
}

/* ==============================================
   VALIDACIÓN DE CAMPOS
   ============================================== */

.form-field.field-error input,
.form-field.field-error select,
.form-field.field-error textarea {
    border-color: #dc5a5a;
    background-color: rgba(220, 90, 90, 0.05);
}

.form-field.field-error input:focus,
.form-field.field-error select:focus,
.form-field.field-error textarea:focus {
    border-color: #dc5a5a;
    box-shadow: 0 0 0 3px rgba(220, 90, 90, 0.12);
}

.document-field.field-error {
    border-color: #dc5a5a;
    background-color: rgba(220, 90, 90, 0.05);
}

.authorization.field-error {
    border-color: #dc5a5a;
    background-color: rgba(220, 90, 90, 0.05);
}

/* ==============================================
   MODAL DE ERROR DE CONSULTA
   ============================================== */

.consulta-error-modal {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(23, 32, 51, 0.18);
}

.consulta-error-modal .modal-body {
    padding: 38px 36px 34px;
    text-align: center;
}

.consulta-error-eyebrow {
    margin: 0 0 14px;
    color: #dc5a5a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.consulta-error-modal h2 {
    margin: 0;
    color: var(--excelcred-dark);
    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
}

.consulta-error-accent {
    width: 44px;
    height: 4px;
    margin: 20px auto 22px;
    background-color: var(--excelcred-yellow);
    border-radius: 999px;
}

.consulta-error-modal #consultaErrorMessage {
    margin: 0 auto 28px;
    max-width: 430px;
    color: #4f596b;
    font-size: 15px;
    line-height: 1.6;
}

.consulta-error-button {
    min-width: 120px;
    padding: 11px 22px;
    background-color: var(--excelcred-blue);
    color: var(--excelcred-yellow);
    border: 2px solid var(--excelcred-blue);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.consulta-error-button:hover {
    background-color: var(--excelcred-yellow);
    color: var(--excelcred-blue);
    border-color: var(--excelcred-yellow);
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {

    .consulta-error-modal .modal-body {
        padding: 32px 24px 28px;
    }

    .consulta-error-modal h2 {
        font-size: 22px;
    }

    .consulta-error-modal #consultaErrorMessage {
        font-size: 14px;
    }

}