/**
 * Bersoft VASQUEZ Footer - Estilos Frontend v1.1.0
 * Herencia total del tema Bersoft y variables CSS
 */
.bvf-footer { width: 100%; position: relative; background-color: var(--bs-color-heading, #172126); color: rgba(255, 255, 255, 0.75); font-family: var(--bs-font-body, system-ui, -apple-system, sans-serif); font-size: 13.5px; line-height: 1.6; box-sizing: border-box; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.bvf-footer *, .bvf-footer *::before, .bvf-footer *::after { box-sizing: border-box; }
.bvf-container { width: 100%; max-width: var(--bs-container-max, 1280px); margin: 0 auto; padding: 0 16px; }

/* 1. Franja Superior de Beneficios (3 elementos equilibrados) */
.bvf-benefits-bar { border-bottom: 1px solid rgba(255, 255, 255, 0.08); background-color: rgba(0, 0, 0, 0.15); padding: 16px 0; }
.bvf-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; }
.bvf-benefit-item { display: flex; align-items: center; gap: 12px; }
.bvf-benefit-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--bs-radius-md, 8px); background-color: rgba(255, 255, 255, 0.05); color: var(--bs-color-accent, #F2A900); }
.bvf-benefit-icon svg { width: 22px; height: 22px; }
.bvf-benefit-text { display: flex; flex-direction: column; gap: 1px; }
.bvf-benefit-title { font-family: var(--bs-font-heading, system-ui, sans-serif); font-size: 13.5px; font-weight: var(--bs-btn-font-weight, 700); color: #ffffff; line-height: 1.25; }
.bvf-benefit-desc { font-size: 12px; color: rgba(255, 255, 255, 0.65); line-height: 1.35; }

/* 2. Bloque Principal: Identidad (280px) · La empresa · Categorías · Centro de ayuda · Asesoría (260px) */
.bvf-main-section { padding: 32px 0 24px; }
.bvf-main-grid { display: grid; grid-template-columns: 280px 1fr 260px; gap: 24px; align-items: flex-start; }

/* Área 1: Identidad y Contacto */
.bvf-col-identity { display: flex; flex-direction: column; gap: 12px; }
.bvf-logo-link { display: inline-block; text-decoration: none; }
.bvf-logo-link img { display: block; width: auto; object-fit: contain; }
.bvf-logo-text { font-family: var(--bs-font-heading, system-ui, sans-serif); font-size: 17px; font-weight: 700; color: #ffffff; letter-spacing: 0.5px; }
.bvf-company-info { display: flex; flex-direction: column; gap: 4px; }
.bvf-company-legal { font-size: 13px; font-weight: 600; color: #ffffff; margin: 0; }
.bvf-company-ruc { font-size: 12px; color: rgba(255, 255, 255, 0.65); margin: 0; }
.bvf-company-desc { font-size: 12px; color: rgba(255, 255, 255, 0.65); margin: 3px 0 0; line-height: 1.45; }
.bvf-contact-list { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.bvf-contact-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 12.5px; transition: color 0.15s ease; }
.bvf-contact-link:hover { color: var(--bs-color-accent, #F2A900); }
.bvf-contact-icon { display: flex; align-items: center; justify-content: center; color: var(--bs-color-accent, #F2A900); flex-shrink: 0; }
.bvf-social-row { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.bvf-social-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.bvf-social-btn:hover { background-color: var(--bs-color-accent, #F2A900); color: var(--bs-color-heading, #0F2A44); transform: translateY(-2px); }
.bvf-social-btn:active { transform: scale(0.95); }

/* Áreas 2, 3 y 4: Columnas de Navegación */
.bvf-nav-columns { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 20px; }
.bvf-nav-col { display: flex; flex-direction: column; }
.bvf-col-heading { margin-bottom: 12px; }
.bvf-col-title-desktop, .bvf-advisory-title { font-family: var(--bs-font-heading, system-ui, sans-serif); font-size: 13.5px; font-weight: 700; color: #ffffff; text-transform: uppercase; letter-spacing: 0.6px; margin: 0; line-height: 1.3; }
.bvf-col-accordion-btn { display: none; }
.bvf-links-list { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 8px; }
.bvf-links-list a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 12.5px; transition: color 0.15s ease, transform 0.15s ease; display: inline-block; }
.bvf-links-list a:hover { color: var(--bs-color-accent, #F2A900); transform: translateX(2px); }

/* Área 5: Asesoría WhatsApp */
.bvf-col-advisory { display: flex; flex-direction: column; }
.bvf-advisory-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--bs-radius-md, 8px); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bvf-advisory-desc { font-size: 12.5px; color: rgba(255, 255, 255, 0.68); margin: 0; line-height: 1.4; }
.bvf-advisory-hours { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); margin: 0; }
.bvf-wa-btn { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; height: 40px !important; padding: 0 18px !important; width: fit-content !important; max-width: 100% !important; background-color: var(--bs-color-accent, #F2A900) !important; color: var(--bs-color-heading, #0F2A44) !important; font-family: var(--bs-font-heading, system-ui, sans-serif) !important; font-size: 12.5px !important; font-weight: var(--bs-btn-font-weight, 700) !important; text-decoration: none !important; border-radius: 30px !important; border: none !important; box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important; cursor: pointer !important; transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important; margin-top: 2px; }
.bvf-wa-btn:hover { background-color: #e59d00 !important; color: var(--bs-color-heading, #0F2A44) !important; transform: translateY(-1px) !important; }
.bvf-wa-btn:active { transform: scale(0.98) !important; }
.bvf-wa-icon { display: flex; align-items: center; justify-content: center; color: var(--bs-color-heading, #0F2A44) !important; fill: currentColor !important; flex-shrink: 0; }

/* 3. Franja Inferior */
.bvf-bottom-bar { border-top: 1px solid rgba(255, 255, 255, 0.08); background-color: rgba(0, 0, 0, 0.2); padding: 16px 0; font-size: 12px; }
.bvf-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bvf-copyright p, .bvf-credit p { margin: 0; color: rgba(255, 255, 255, 0.6); }
.bvf-credit a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-weight: 600; transition: color 0.15s ease; }
.bvf-credit a:hover { color: var(--bs-color-accent, #F2A900); }
.bvf-reclamaciones-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--bs-radius-md, 6px); background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 11.5px; font-weight: 600; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.bvf-reclamaciones-btn:hover { background-color: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: #ffffff; }
.bvf-reclamaciones-icon { display: flex; align-items: center; color: var(--bs-color-accent, #F2A900); }
.bvf-reclamaciones-badge { max-height: 18px; width: auto; object-fit: contain; }

/* Responsive (Tablet & Móvil) */
@media (max-width: 1024px) {
    .bvf-main-grid { grid-template-columns: 1fr; gap: 24px; }
    .bvf-col-identity { max-width: 480px; }
    .bvf-nav-columns { grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 16px; }
    .bvf-benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

@media (max-width: 768px) {
    .bvf-main-section { padding: 24px 0 20px; }
    .bvf-main-grid { display: flex; flex-direction: column; gap: 24px; }
    .bvf-nav-columns { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
    .bvf-nav-col { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .bvf-col-heading { margin-bottom: 0; }
    .bvf-col-title-desktop { display: none; }
    .bvf-col-accordion-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; background: transparent !important; border: none !important; padding: 13px 0 !important; color: #ffffff !important; font-family: var(--bs-font-heading, system-ui, sans-serif) !important; font-size: 13.5px !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer; text-align: left; }
    .bvf-toggle-symbol { font-size: 18px; line-height: 1; color: var(--bs-color-accent, #F2A900); font-weight: 400; transition: transform 0.2s ease; }
    .bvf-col-body { display: none; padding-bottom: 12px; }
    .bvf-col-body.is-open { display: block; }
    .bvf-col-accordion-btn[aria-expanded="true"] .bvf-toggle-symbol { transform: rotate(180deg); }
    .bvf-benefits-grid { grid-template-columns: 1fr; gap: 12px; }
    .bvf-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
    .bvf-copyright, .bvf-reclamaciones, .bvf-credit { width: 100%; display: flex; justify-content: center; }
}

@media (max-width: 480px) {
    .bvf-wa-btn { width: 100% !important; }
}
