/* ============================================================================
   LANDING PAGE — CRÉDITO DE VEHÍCULO (Banco de Bogotá Style)
   Mobile-first, Android/iPhone optimized
   ============================================================================ */

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap");

:root {
    --bb-blue: #003087;
    --bb-dark-blue: #001f5b;
    --bb-light-blue: #0055c4;
    --bb-yellow: #ffc107;
    --bb-gold: #f5a623;
    --bb-gray: #6b7280;
    --bb-light-gray: #f3f4f6;
    --bb-white: #ffffff;
    --bb-dark: #1a1a2e;
    --bb-border: #e5e7eb;
    --bb-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --bb-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bb-white);
    color: var(--bb-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ── HEADER ───────────────────────────────────────────────── */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: var(--bb-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 10px 16px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 480px;
    margin: 0 auto;
}

.header-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ingresar-wrapper {
    position: relative;
}

.btn-ingresar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--bb-white);
    border: 2px solid var(--bb-blue);
    border-radius: 24px;
    color: var(--bb-blue);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-ingresar:active {
    background: var(--bb-blue);
    color: var(--bb-white);
}

.btn-ingresar i {
    font-size: 10px;
    transition: transform 0.2s;
}

/* Dropdown */
.ingresar-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bb-white);
    border-radius: var(--bb-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    overflow: hidden;
    z-index: 9999;
}

.ingresar-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    text-decoration: none;
    color: var(--bb-dark);
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s;
    border-bottom: 1px solid var(--bb-border);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item i {
    font-size: 16px;
    color: var(--bb-blue);
    width: 20px;
    text-align: center;
}

.dropdown-item:active {
    background: var(--bb-light-gray);
}

.dropdown-item.disabled-link {
    color: #b0b0b0;
    pointer-events: none;
}

.dropdown-item.disabled-link i {
    color: #ccc;
}

.btn-menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: none;
    border: none;
    color: var(--bb-dark);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    font-family: inherit;
}

.btn-menu-toggle span {
    font-size: 10px;
    font-weight: 600;
    color: var(--bb-gray);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    margin-top: 56px;
    min-height: 520px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 48, 135, 0.70) 0%,
        rgba(0, 48, 135, 0.55) 40%,
        rgba(0, 48, 135, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 24px 50px;
    color: var(--bb-white);
    display: flex;
    flex-direction: column;
    min-height: 520px;
    justify-content: center;
}

.hero-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.9;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    max-width: 320px;
}

.hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
    opacity: 0.9;
    max-width: 340px;
}

.btn-solicitar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bb-white);
    color: var(--bb-blue);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.2s;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-solicitar:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-solicitar i {
    transition: transform 0.2s;
}

.hero-link {
    margin-top: 18px;
    color: var(--bb-white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.hero-link:active {
    opacity: 1;
}

.hero-disclaimer {
    margin-top: 20px;
    font-size: 11px;
    opacity: 0.65;
}

/* ── BENEFITS ─────────────────────────────────────────────── */
.benefits-section {
    background: var(--bb-white);
    padding: 28px 24px;
    border-top: 3px solid var(--bb-light-gray);
}

.benefit-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 22px;
    color: var(--bb-blue);
}

.benefit-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.benefit-label {
    font-size: 13px;
    color: var(--bb-gray);
}

.benefit-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--bb-dark);
}

.benefit-sub {
    font-size: 13px;
    color: var(--bb-gray);
}

.benefit-divider {
    height: 1px;
    background: var(--bb-border);
}

/* ── INFO / CONOCE MÁS ───────────────────────────────────── */
.info-section {
    background: var(--bb-white);
    padding: 0 0 32px;
}

.info-image-wrap {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.info-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-content {
    padding: 24px;
}

.info-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--bb-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.info-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--bb-border);
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.info-tab {
    padding: 10px 18px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--bb-gray);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    font-family: inherit;
}

.info-tab.active {
    color: var(--bb-blue);
    border-bottom-color: var(--bb-blue);
}

.info-tab-content {
    display: none;
}

.info-tab-content.active {
    display: block;
}

.info-tab-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 14px;
}

/* ── APP SECTION ──────────────────────────────────────────── */
.app-section {
    background: linear-gradient(135deg, var(--bb-dark-blue) 0%, var(--bb-blue) 100%);
    padding: 40px 24px;
}

.app-content {
    text-align: center;
    color: var(--bb-white);
}

.app-logo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #ffffff;
    padding: 4px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    object-fit: contain;
}

.app-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.app-desc {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 24px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.app-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #111827;
    color: var(--bb-white);
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.15s;
    min-width: 150px;
}

.store-btn:active {
    transform: scale(0.96);
}

.store-btn i {
    font-size: 24px;
}

.store-label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.store-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.landing-footer {
    background: #0a0e1a;
    color: var(--bb-white);
    padding: 0 0 20px;
}

.footer-accordion {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--bb-white);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.accordion-header i {
    font-size: 12px;
    opacity: 0.5;
    transition: transform 0.3s;
}

.accordion-item.open .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 24px;
}

.accordion-item.open .accordion-body {
    max-height: 300px;
    padding: 0 24px 18px;
}

.accordion-body p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.accordion-body a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.accordion-body a:active {
    color: var(--bb-white);
}

.footer-bottom {
    padding: 24px 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.footer-copyright {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
}

/* ── FLOATING HELP BUTTON ─────────────────────────────────── */
.floating-help {
    position: fixed;
    bottom: 20px;
    right: 16px;
    background: var(--bb-yellow);
    color: var(--bb-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    z-index: 8000;
    transition: transform 0.15s;
}

.floating-help:active {
    transform: scale(0.95);
}

.floating-help i {
    font-size: 18px;
}

/* ── BANNER BANCA VIRTUAL ─────────────────────────────────── */
.portal-banner-wrap {
    padding: 16px 20px;
    background: #f8fafc;
}

.portal-banner-card {
    display: block;
    background: linear-gradient(135deg, #eef4ff 0%, #ffffff 100%);
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 14px 20px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 48, 135, 0.06);
    transition: transform 0.15s, box-shadow 0.15s;
}

.portal-banner-card:active {
    transform: scale(0.98);
}

.portal-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.portal-banner-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.portal-banner-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--bb-blue);
    text-transform: uppercase;
}

.portal-banner-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--bb-dark);
}

.portal-banner-sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--bb-light-blue);
}

.portal-banner-avatar {
    width: 50px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ── SERVICIOS DESTACADOS ─────────────────────────────────── */
.quick-services-section {
    display: flex;
    justify-content: space-around;
    padding: 24px 16px;
    background: #ffffff;
    border-top: 1px solid var(--bb-border);
    gap: 12px;
}

.quick-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.quick-service-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.quick-service-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--bb-dark);
    margin-bottom: 2px;
}

.quick-service-desc {
    font-size: 10px;
    color: var(--bb-gray);
    line-height: 1.3;
}

/* ── AVAL ENTITIES ────────────────────────────────────────── */
.aval-entities {
    padding: 20px 24px 10px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 10px;
}

.aval-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.aval-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.aval-logos img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #ffffff;
    padding: 3px;
    object-fit: contain;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* ── RESPONSIVE (tablets) ─────────────────────────────────── */
@media (min-width: 768px) {
    .hero-title {
        font-size: 42px;
        max-width: 460px;
    }
    .hero-subtitle {
        font-size: 17px;
        max-width: 420px;
    }
    .benefits-section {
        display: flex;
        align-items: center;
        padding: 20px 40px;
        gap: 24px;
    }
    .benefit-card {
        flex: 1;
        padding: 16px 0;
    }
    .benefit-divider {
        width: 1px;
        height: 60px;
        flex-shrink: 0;
    }
    .info-section {
        display: flex;
    }
    .info-image-wrap {
        width: 45%;
        height: auto;
        min-height: 350px;
    }
    .info-content {
        flex: 1;
        padding: 40px;
    }
}

/* Honeypot field (invisible) */
.sec-hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
}
