/* =================================================================== */
/* --- IMPORTACIÓN DE FUENTES EXTERNAS --- */
/* =================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* =================================================================== */
/* --- ESTILOS GLOBALES DEL BODY --- */
/* =================================================================== */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #F9F4F5;
    color: #2C1A1F;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    scroll-behavior: smooth;
}

/* =================================================================== */
/* --- ESTILOS GENERALES Y COMPONENTES REUTILIZABLES --- */
/* =================================================================== */
.navbar-brand img {
    height: 50px;
}
.navbar-nav .nav-link {
    font-weight: bold;
    padding: 8px 12px;
}

/* ================== INDEX.HTML HERO Y FORM ================== */
.col-baco-promo {
    background-color: #62182F;
}
.logo-promo-size {
    height: 100px;
}
.form-card-max-width {
    max-width: 500px;
    width: 100%;
}
.text-baco-header {
    color: #62182F;
}
.link-baco-accent {
    color: #8C2B49;
    font-weight: bold;
    text-decoration: underline;
}
.link-baco-accent:hover {
    color: #62182F;
}
.dropdown-menu-top-right, .z-index-dropdown {
    z-index: 1050;
}
.col-form-baco-padded {
    padding-top: 130px !important;
    padding-bottom: 60px !important;
}

/* ================== PANEL DE ACCESO (INDEX) ================== */
.baco-access-panel {
    width: 100%;
    max-width: 420px;
}
.baco-access-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background-color: #62182F;
    color: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    width: 100%;
    box-shadow: 0 4px 18px rgba(98, 24, 47, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.baco-access-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(98, 24, 47, 0.28);
    color: #fff;
}
.baco-access-card-outline {
    background-color: #fff;
    color: #62182F;
    border: 2px solid #62182F;
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
}
.baco-access-card-outline:hover {
    background-color: #F9F0F3;
    color: #62182F;
    box-shadow: 0 8px 24px rgba(98, 24, 47, 0.14);
}
.baco-access-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.baco-icon-login {
    background-color: rgba(255,255,255,0.18);
    color: #fff;
}
.baco-icon-register {
    background-color: rgba(98, 24, 47, 0.1);
    color: #62182F;
}
.baco-access-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.baco-access-card:not(.baco-access-card-outline) .text-muted {
    color: rgba(255,255,255,0.75) !important;
}
.baco-access-card .baco-access-arrow {
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
}
.baco-access-card-outline .baco-access-arrow {
    color: #62182F;
    opacity: 0.5;
}

/* ================== BOTONES ================== */
.btn-baco {
    background-color: #62182F;
    color: #FFF1F4;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}
.btn-baco:hover {
    background-color: #8C2B49;
    color: #FFF1F4;
}
.btn-primary {
    background-color: #62182F !important;
    border-color: #62182F !important;
    color: #FFF1F4 !important;
    animation: zoomInOut 1.5s infinite ease-in-out;
}
.btn-primary:hover {
    background-color: #8C2B49 !important;
    border-color: #8C2B49 !important;
    color: #FFF1F4 !important;
}
@keyframes zoomInOut {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ================== LAYOUT/CONTENT ================== */
.form-card {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.form-card .card-header {
    background-color: #62182F;
    color: #ffffff !important;
    border-radius: 10px 10px 0 0;
}

/* =============== PRECIOS / CARDS ================= */
.border-baco-accent {
    border: 2px solid #8C2B49 !important;
}
.text-baco-accent {
    color: #8C2B49 !important;
}
.check-icon {
    color: #62182F;
    font-weight: bold;
    margin-right: 5px;
}
.baco-card-featured {
    background-color: #62182F;
    transform: scale(1.03);
}
.baco-card-featured .check-icon {
    color: #f5c6d0;
}
.baco-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 8px;
    background-color: #fff;
    border-radius: 8px;
    border-left: 4px solid #62182F;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.baco-why-check {
    color: #62182F;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ================== MÓDULOS (ABOUT) ================== */
.baco-module-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #fff;
    border-radius: 10px;
    padding: 16px 18px;
    border: 1px solid #e8d5da;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.baco-module-card:hover {
    box-shadow: 0 6px 18px rgba(98,24,47,0.13);
    transform: translateY(-2px);
}
.baco-module-icon {
    width: 48px;
    height: 48px;
    background-color: #f7eef1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #62182F;
    flex-shrink: 0;
}

/* ================== MODULE FULL CARDS (DOCS) ================== */
.baco-module-full {
    background-color: #fff;
    border: 1px solid #e8d5da;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}
.baco-module-full:hover {
    box-shadow: 0 6px 20px rgba(98,24,47,0.1);
}
.baco-module-full-header {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    border-bottom: 1px solid #f0e0e4;
    padding-bottom: 14px;
}
.baco-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.baco-feature-list li {
    padding: 5px 0 5px 22px;
    position: relative;
    font-size: 0.92rem;
    color: #444;
    border-bottom: 1px dashed #f0e0e4;
}
.baco-feature-list li:last-child {
    border-bottom: none;
}
.baco-feature-list li::before {
    content: "›";
    color: #62182F;
    font-weight: bold;
    font-size: 1.1rem;
    position: absolute;
    left: 4px;
    top: 3px;
}
.baco-module-roles {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0e0e4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.82rem;
}

/* ================== AUDIENCIA (ABOUT) ================== */
.baco-audience-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f7eef1;
    color: #62182F;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 50px;
    border: 1.5px solid #d4849a;
    transition: background-color 0.2s ease, transform 0.2s ease;
    cursor: default;
}
.baco-audience-badge:hover {
    background-color: #62182F;
    color: #fff;
    transform: translateY(-2px);
}

/* ================== DIFERENCIAL (ABOUT) ================== */
.baco-diff-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #fff 60%, #fdf5f7);
    border-radius: 10px;
    padding: 18px 20px;
    border: 1px solid #e8d5da;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.baco-diff-card:hover {
    box-shadow: 0 6px 18px rgba(98,24,47,0.13);
    transform: translateY(-2px);
}
.baco-diff-icon {
    width: 44px;
    height: 44px;
    background-color: #62182F;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

/* =============== NAVBAR (INTERNAS) =============== */
.custom-navbar-prices {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #dee2e6;
}
.nav-link-prices {
    color: #3d0f1e !important;
    font-weight: 500;
}
.nav-link-prices:hover {
    color: #62182F !important;
    text-decoration: underline;
}
.btn-outline-baco {
    color: #62182F;
    border-color: #62182F;
}
.btn-outline-baco:hover {
    background-color: #62182F;
    color: #fff;
}
.btn-baco-secondary {
    background-color: #8C2B49;
    color: #fff;
    border-color: #8C2B49;
}
.btn-baco-secondary:hover {
    background-color: #62182F;
    color: #fff;
}

/* Sección 'hero' de la página 'about.html'. */
.hero-section {
    background-color: #212529;
}
.sidebar-nav {
    border-right: 1px solid #dee2e6;
    padding-right: 1.5rem;
}
.sidebar-link {
    color: #3d0f1e;
    text-decoration: none;
    transition: color 0.3s ease;
}
.sidebar-link:hover, .sidebar-link.active {
    color: #8C2B49;
    font-weight: bold;
}
.checkmark-list li::before {
    content: "✓";
    color: #8C2B49;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* =================================================================== */
/* --- ESTILOS PARA EL MENÚ DESPLEGABLE EN INDEX --- */
/* =================================================================== */
.baco-dropdown-responsive { display: none !important; }
.baco-dropdown-desktop { display: block !important; }

.baco-nav-trigger {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 4px 2px;
    box-shadow: none;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}
.baco-nav-trigger:hover {
    opacity: 1;
}
.baco-dropdown-menu {
    border: 1px solid #e8d5da;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
    margin-top: 8px !important;
}
.baco-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    font-size: 0.9rem;
    color: #333;
    transition: background 0.15s ease, color 0.15s ease;
}
.baco-dropdown-item:hover {
    background-color: #f7eef1;
    color: #62182F;
}
.baco-dd-icon {
    width: 26px;
    height: 26px;
    background-color: #f7eef1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #62182F;
    flex-shrink: 0;
}
.baco-dropdown-item:hover .baco-dd-icon {
    background-color: #e8d5da;
}

@media (max-width: 991.98px) {
    .baco-dropdown-responsive { display: block !important; }
    .baco-dropdown-desktop { display: none !important; }
    /* Botón hamburguesa (Bootstrap style) */
    .btn-hamburger {
        background: transparent;
        border: none;
        padding: 0.4rem 0.6rem;
        box-shadow: none;
        outline: none;
    }
    .btn-hamburger:focus {
        box-shadow: none;
        outline: none;
    }
    /* Elimina cualquier logo dentro del menú móvil */
    .baco-dropdown-responsive img.logo-baco-responsive {
        display: none !important;
    }
}
@media (min-width: 992px) {
    .baco-dropdown-responsive { display: none !important; }
    .baco-dropdown-desktop { display: block !important; }
}

/* =================================================================== */
/* --- INVERTIR ORDEN EN MOBILE --- */
/* =================================================================== */
@media (max-width: 991.98px) {
    .container-fluid.d-flex.flex-column.flex-lg-row.flex-grow-1.p-0 {
        flex-direction: column !important;
    }
    .col-baco-promo {
        order: 1 !important;
        width: 100% !important;
        min-height: 280px;
        padding: 2.5rem 1.5rem !important;
        border-radius: 0 0 25px 25px;
        align-items: center;
        justify-content: flex-start;
        position: relative;
    }
    .col-form-baco-padded {
        order: 2 !important;
        width: 100% !important;
        padding: 2rem 0.5rem !important;
        min-height: auto;
        justify-content: flex-start;
    }
    .form-card-max-width {
        margin: 0 auto;
    }
    .col-baco-promo h1 {
        font-size: 2rem !important;
    }
}
@media (max-width: 575.98px) {
    .col-baco-promo h1 {
        font-size: 1.4rem !important;
    }
    .col-baco-promo p.lead {
        font-size: 1rem !important;
    }
    .form-card-max-width {
        padding: 1rem !important;
    }
}

/* =================================================================== */
/* --- FOOTER BACO --- */
/* =================================================================== */
.footer-baco {
    background-color: #212529;
    color: #adb5bd;
    padding: 2.5rem 0;
    font-family: "Plus Jakarta Sans", sans-serif;
}
.footer-main-content, .footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.footer-brand-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}
.footer-logo img {
    height: 35px;
}
.footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}
.footer-nav-links a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease-in-out;
}
.footer-nav-links a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-social-links {
    display: flex;
    gap: 1rem;
}
.footer-social-links a {
    color: #adb5bd;
    transition: color 0.2s ease-in-out;
}
.footer-social-links a:hover {
    color: #fff;
}
.footer-social-links svg {
    width: 24px;
    height: 24px;
}
.footer-bottom-content {
    gap: 1rem;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}
.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}
.footer-legal-links a {
    color: #adb5bd;
    text-decoration: none;
}
.footer-legal-links a:hover {
    text-decoration: underline;
}
@media (max-width: 767.98px) {
    .footer-main-content, .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-brand-nav {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 991.98px) {
  .baco-dropdown-responsive .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    background-size: 2rem 2rem;
    width: 2rem;
    height: 2rem;
  }
  .baco-dropdown-responsive .navbar-toggler {
    border: none;
    background: transparent;
  }
}