/* Business Forum Styles */

/* Variables */
:root {
    --bf-primary-color: #007bff;
    --bf-secondary-color: #28a745;
    --bf-accent-color: #ffc107;
    --bf-text-primary: #333333;
    --bf-text-light: #666666;
    --bf-background: #ffffff;
    --bf-background-alt: #f8f9fa;
    --bf-gradient-primary: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    --bf-gradient-secondary: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    --bf-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --bf-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --bf-border-radius: 8px;
    --bf-transition: all 0.3s ease;
    --bf-font-family: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--bf-font-family);
    color: var(--bf-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.bf-animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Header Section */
.bf-header {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f1419 0%, #1e3a5f 50%, #2c5aa0 100%);
    background-image: url('../images/SF-Provincia_SFBF-2025_Landing_03_img_encabezado-03.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 7vh; /* 7% extra margin top */
}

.bf-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 25, 31, 0.9) 0%, rgba(32, 52, 78, 0.8) 50%, rgba(29, 71, 134, 0.7) 100%);
    z-index: 1;
}

.bf-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.bf-logo-container {
    margin-bottom: 2rem;
}

.bf-main-logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: pulse 3s ease-in-out infinite;
}

.bf-main-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.bf-event-date {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.bf-stats {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--bf-accent-color);
    animation: fadeInUp 1s ease-out 0.9s both;
}

.bf-cta-primary {
    display: inline-block;
    background: var(--bf-accent-color);
    color: var(--bf-text-primary);
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--bf-border-radius);
    box-shadow: var(--bf-shadow);
    transition: var(--bf-transition);
    animation: fadeInUp 1s ease-out 1.1s both;
}

.bf-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--bf-shadow-hover);
    background: #e0a800;
}

/* Section Styles */
section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--bf-transition);
}

.bf-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #fafafa;
    position: relative;
}

.bf-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--bf-gradient-primary);
    border-radius: 2px;
}

/* Intro Section */
.bf-intro {
    background: 
        linear-gradient(rgba(24, 46, 74, 0.75), rgba(228, 33, 83, 0.75)),
        url('../images/2149853161_.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
}

.bf-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.bf-intro .container {
    position: relative;
    z-index: 2;
}

.bf-intro-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.bf-intro-left {
    flex: 1;
}

.bf-intro-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--bf-border-radius);
    box-shadow: var(--bf-shadow);
}

.bf-intro-right {
    flex: 1;
}

.bf-intro .bf-section-title {
    color: white;
}

.bf-intro .bf-section-title::after {
    background: var(--bf-accent-color);
}

.bf-principais-ejes h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--bf-accent-color);
}

.bf-ejes-list {
    list-style: none;
    margin-bottom: 2rem;
}

.bf-ejes-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    position: relative;
    padding-left: 2rem;
    color: white;
}

.bf-ejes-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bf-accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.bf-date-location {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: white;
}

.bf-cta-secondary {
    display: inline-block;
    background: var(--bf-gradient-secondary);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: var(--bf-border-radius);
    font-weight: 600;
    transition: var(--bf-transition);
}

.bf-cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--bf-shadow-hover);
}

/* Exportar Section */
.bf-exportar {
    text-align: center;
    background: #192853;
    padding: 4rem 0;
}

/* Edition Info Styles */
.bf-edition-info {
    margin-bottom: 4rem;
    background: linear-gradient(135deg, rgba(25, 42, 86, 0.95) 0%, rgba(15, 32, 76, 0.98) 100%);
    border-radius: 2px;
    padding: 0;
    border: none;
    box-shadow: 0 20px 60px rgba(25, 42, 86, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.bf-edition-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #007bff 20%, 
        #ffc107 50%, 
        #007bff 80%, 
        transparent 100%);
}

.bf-edition-content {
    display: flex;
    gap: 0;
    align-items: stretch;
    min-height: 400px;
}

.bf-edition-left {
    flex: 1;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.bf-edition-left::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(255, 255, 255, 0.2) 20%, 
        rgba(255, 255, 255, 0.2) 80%, 
        transparent);
}

.bf-edition-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.bf-badge-year {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    line-height: 1;
    letter-spacing: -2px;
}

.bf-badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffc107;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bf-edition-statement h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bf-edition-statement p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin: 0;
}

.bf-edition-right {
    flex: 2;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.bf-edition-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.bf-pillar-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
}

.bf-pillar-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.15);
}

.bf-pillar-item:hover .bf-pillar-icon {
    background: rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.4);
    transform: scale(1.05);
}

.bf-pillar-item:hover .bf-pillar-icon svg {
    stroke: #007bff;
}

.bf-pillar-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.bf-pillar-icon svg {
    width: 32px;
    height: 32px;
    stroke: rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
}

.bf-pillar-content {
    flex: 1;
    padding-top: 0.5rem;
}

.bf-pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.bf-pillar-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.2rem;
    font-weight: 400;
}

.bf-pillar-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bf-pillar-metrics span {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 0.8rem;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    min-width: 100px;
    flex: 1;
}

.bf-pillar-metrics span:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.bf-sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}
 
.bf-sector-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--bf-border-radius);
    box-shadow: var(--bf-shadow);
    transition: var(--bf-transition);
    opacity: 0;
    transform: translateY(20px);
    font-weight: 500;
    border-left: 4px solid var(--bf-primary-color);
}

.bf-sector-item.bf-animate-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.bf-sector-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--bf-shadow-hover);
}

.bf-cta-discover {
    display: inline-block;
    background: var(--bf-gradient-primary);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: var(--bf-border-radius);
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--bf-transition);
}

.bf-cta-discover:hover {
    transform: translateY(-2px);
    box-shadow: var(--bf-shadow-hover);
}

/* Expand/Collapse Styles */
.bf-expand-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.bf-expand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px dashed rgba(0, 123, 255, 0.3) !important;
    transition: all 0.3s ease !important;
}

.bf-expand-item:hover {
    background: rgba(0, 123, 255, 0.1) !important;
    border-color: rgba(0, 123, 255, 0.5) !important;
    transform: translateY(-3px) !important;
}

.bf-expand-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
}

.bf-expand-btn:hover {
    transform: scale(1.05);
}

.bf-expand-btn:active {
    animation: subtleBoingEffect 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes subtleBoingEffect {
    0% { transform: scale(1); }
    30% { transform: scale(1.08) rotate(2deg); }
    60% { transform: scale(0.98) rotate(-1deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.bf-expand-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--bf-text-primary);
    text-align: center;
    line-height: 1.4;
    order: 2;
}

.bf-expand-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.2));
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 123, 255, 0.2);
    order: 1;
}

.bf-expand-btn.expanded .bf-expand-arrow {
    transform: rotate(180deg);
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 123, 255, 0.3));
    border-color: rgba(0, 123, 255, 0.4);
}

.bf-expand-item:hover .bf-expand-arrow {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 123, 255, 0.3));
    border-color: rgba(0, 123, 255, 0.4);
    transform: scale(1.1);
}

.bf-expand-btn.expanded:hover .bf-expand-arrow {
    transform: rotate(180deg) scale(1.1);
}

.bf-expand-arrow svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

/* Sectors Grid Styles */
.bf-sectors-visible {
    margin-bottom: 0;
}

.bf-sectors-hidden {
    margin-top: 2rem;
    animation: slideDown 0.6s ease-out forwards;
    overflow: hidden;
}

/* Toggle Container Styles */
.bf-sectors-toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding: 1rem;
}

.bf-sectors-toggle-container .bf-expand-btn {
    background: transparent;
    border: 2px solid rgba(0, 123, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(10px);
    color: white;
    font-family: inherit;
    transition: all 0.4s ease;
    max-width: 250px;
}

.bf-sectors-toggle-container .bf-expand-btn:hover {
    background: rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

.bf-sectors-toggle-container .bf-expand-text {
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        max-height: 1000px;
    }
}

.bf-sectors-hidden.closing {
    animation: slideUp 0.4s ease-in forwards;
}

@keyframes slideUp {
    0% {
        opacity: 1;
        transform: translateY(0);
        max-height: 1000px;
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
}

/* Enhanced sector icons */
.bf-sector-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.2));
    border-radius: 15px;
    margin: 0 auto 1rem auto;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 123, 255, 0.2);
}

.bf-sector-item:hover .bf-sector-icon {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 123, 255, 0.3));
    border-color: rgba(0, 123, 255, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.bf-sector-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bf-text-primary);
    text-align: center;
    line-height: 1.4;
}

/* Responsive Design for Expand Button */
@media (max-width: 768px) {
    .bf-expand-arrow {
        width: 50px;
        height: 50px;
    }
    
    .bf-expand-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .bf-expand-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .bf-expand-arrow {
        width: 45px;
        height: 45px;
    }
    
    .bf-expand-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .bf-expand-text {
        font-size: 0.8rem;
    }
    
    .bf-sectors-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.8rem;
    }
    
    .bf-expand-item {
        min-height: 120px;
    }
}

/* Stats Sections */
.bf-rondas, .bf-foro, .bf-auditorio {
    background: var(--bf-background-alt);
    text-align: center;
}

.bf-rondas {
    background: var(--bf-background-alt) url('../images/dotConnection.jpg') no-repeat right center;
    background-size: auto 100%;
    position: relative;
}

.bf-rondas::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

.bf-rondas .container {
    position: relative;
    z-index: 2;
}

.bf-foro {
    background: var(--bf-background-alt) url('../images/ForoInversoresBg.jpg') no-repeat right center;
    background-size: auto 100%;
    position: relative;
}

.bf-foro::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.65) 100%);
    pointer-events: none;
    z-index: 1;
}

.bf-foro .container {
    position: relative;
    z-index: 2;
}

.bf-auditorio {
    background: var(--bf-background-alt) url('../images/forumBg.jpg') no-repeat right center;
    background-size: auto 100%;
    position: relative;
}

.bf-auditorio::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.65) 100%);
    pointer-events: none;
    z-index: 1;
}

.bf-auditorio .container {
    position: relative;
    z-index: 2;
}

/* Títulos azul institucional para secciones principales */
.bf-rondas .bf-section-title,
.bf-foro .bf-section-title,
.bf-auditorio .bf-section-title {
    color: #1C294B;
}

.bf-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.bf-stat-item {
    background: linear-gradient(135deg, rgba(24, 46, 74, 0.95), rgba(15, 20, 25, 0.95));
    padding: 2rem;
    border-radius: var(--bf-border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--bf-transition);
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.bf-stat-item.bf-animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.bf-stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.bf-stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #4FC3F7;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bf-stat-label {
    font-size: 1.1rem;
    color: #E8F4FD;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Countdown Section */
.bf-countdown {
    background: linear-gradient(to bottom, #0a1423, #1C294B 50%, #020301);
    color: white;
    text-align: center;
}

.bf-countdown .bf-section-title {
    color: white;
}

.bf-countdown .bf-section-title::after {
    background: var(--bf-accent-color);
}

.bf-countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.bf-countdown-item {
    text-align: center;
}

.bf-countdown-number {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--bf-accent-color);
}

.bf-countdown-label {
    font-size: 1.1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Why Join Section */
.bf-why-join {
    text-align: center;
}

.bf-section-description {
    font-size: 1.2rem;
    color: var(--bf-text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.bf-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.bf-point-item {
    background: white;
    padding: 2rem;
    border-radius: var(--bf-border-radius);
    box-shadow: var(--bf-shadow);
    transition: var(--bf-transition);
    opacity: 0;
    transform: translateY(30px);
}

.bf-point-item.bf-animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.bf-point-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--bf-shadow-hover);
}

.bf-point-icon {
    width: 60px;
    height: 60px;
    background: var(--bf-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.bf-point-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--bf-text-primary);
}

/* Plans Section */
.bf-plans {
    background: var(--bf-background-alt);
    text-align: center;
}

.bf-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.bf-plan-item {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--bf-border-radius);
    box-shadow: var(--bf-shadow);
    transition: var(--bf-transition);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

.bf-plan-item.bf-animate-in {
    animation: scaleIn 0.8s ease-out forwards;
}

.bf-plan-featured {
    border: 3px solid var(--bf-primary-color);
    transform: scale(1.05);
}

.bf-plan-featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bf-primary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bf-plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bf-text-primary);
}

.bf-plan-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--bf-primary-color);
    margin-bottom: 2rem;
}

.bf-plan-price span {
    font-size: 1rem;
    color: var(--bf-text-light);
}

.bf-plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.bf-plan-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.bf-plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bf-secondary-color);
    font-weight: bold;
}

.bf-plan-cta {
    display: block;
    background: var(--bf-gradient-primary);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: var(--bf-border-radius);
    font-weight: 700;
    transition: var(--bf-transition);
}

.bf-plan-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--bf-shadow-hover);
}

/* Testimonials Section */
.bf-testimonials {
    background: var(--bf-gradient-primary);
    color: white;
    text-align: center;
}

.bf-testimonials .bf-section-title {
    color: white;
}

.bf-testimonials .bf-section-title::after {
    background: var(--bf-accent-color);
}

.bf-testimonial {
    font-size: 1.3rem;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    padding: 2rem 0;
}

.bf-testimonial::before,
.bf-testimonial::after {
    content: '"';
    font-size: 4rem;
    color: var(--bf-accent-color);
    position: absolute;
    font-family: Georgia, serif;
}

.bf-testimonial::before {
    top: -1rem;
    left: -2rem;
}

.bf-testimonial::after {
    bottom: -3rem;
    right: -2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bf-main-title {
        font-size: 2.5rem;
    }
    
    .bf-section-title {
        font-size: 2rem;
    }
    
    .bf-intro-content {
        flex-direction: column;
        text-align: center;
    }
    
    .bf-countdown-timer {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bf-countdown-number {
        font-size: 2.5rem;
    }
    
    .bf-stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Reducir padding y espacio de las cards de stats en mobile - 20% menos */
    .bf-stat-item {
        padding: 1.6rem; /* Reducido de 2rem (20% menos) */
    }
    
    .bf-stat-number {
        font-size: 2.4rem; /* Reducido de 3rem (20% menos) */
        margin-bottom: 0.4rem; /* Reducido de 0.5rem (20% menos) */
    }
    
    .bf-stat-label {
        font-size: 0.9rem; /* Reducido de 1.1rem (aprox 20% menos) */
    }
    
    .bf-plans-grid {
        grid-template-columns: 1fr;
    }
    
    .bf-plan-featured {
        transform: none;
    }
    
    .bf-testimonial::before,
    .bf-testimonial::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .bf-main-title {
        font-size: 2rem;
    }
    
    .bf-section-title {
        font-size: 1.8rem;
    }
    
    .bf-countdown-timer {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .bf-countdown-number {
        font-size: 2rem;
    }
}

/* Staggered Animation for Grid Items */
.bf-sectors-grid .bf-sector-item {
    animation-delay: calc(var(--i) * 0.1s);
}

.bf-points-grid .bf-point-item {
    animation-delay: calc(var(--i) * 0.2s);
}

.bf-plans-grid .bf-plan-item {
    animation-delay: calc(var(--i) * 0.3s);
}

/* Speakers Section */
.bf-speakers {
    background: linear-gradient(135deg, rgba(15, 20, 25, 1) 0%, rgba(30, 58, 95, 0.8) 50%, rgba(44, 90, 160, 0.5) 100%);
    background-image: url('../images/SF-Provincia_SFBF-2025_Landing_03_img_encabezado-03.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bf-speakers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 25, 31, 0.9) 0%, rgba(32, 52, 78, 0.7) 50%, rgba(29, 71, 134, 0.5) 100%);
    z-index: 1;
}

.bf-speakers .container {
    position: relative;
    z-index: 2;
}

.bf-speakers .bf-section-title {
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 45px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bf-speakers .bf-section-title::after {
    background: white;
}

.bf-speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 1.8rem;
}

.bf-speaker-card {
    background: linear-gradient(135deg, rgba(24, 46, 74, 0.95), rgba(15, 20, 25, 0.95));
    padding: 1.5rem;
    border-radius: var(--bf-border-radius);
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--bf-transition);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bf-speaker-card.bf-animate-in {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out forwards;
}

.bf-speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(34, 56, 84, 0.98), rgba(25, 30, 35, 0.98));
}

.bf-speaker-card:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: var(--bf-border-radius);
    pointer-events: none;
    animation: subtle-glow 2s ease-in-out infinite alternate;
}

@keyframes subtle-glow {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 0.8;
    }
}

.bf-speaker-photo {
    margin-bottom: 8px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

.bf-speaker-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    filter: none;
    transition: var(--bf-transition);
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.bf-speaker-image:error {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="250" height="250" viewBox="0 0 250 250"><rect width="250" height="250" fill="%23f0f0f0"/><text x="50%" y="50%" font-family="Arial" font-size="14" fill="%23999" text-anchor="middle" dy=".3em">Imagen no disponible</text></svg>');
}

/* Fallback for missing images */
.bf-speaker-image[src*="profiles/"]:not([src*=".jpg"]):not([src*=".jpeg"]):not([src*=".png"]) {
    background: linear-gradient(135deg, rgba(106, 27, 154, 0.3), rgba(239, 108, 0, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-speaker-image[src*="profiles/"]:not([src*=".jpg"]):not([src*=".jpeg"]):not([src*=".png"])::after {
    content: "Foto no disponible";
    color: white;
    font-size: 14px;
    text-align: center;
}

.bf-speaker-photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border-radius: 12px;
    pointer-events: none;
}

.bf-speaker-card:hover .bf-speaker-image {
    filter: none;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.bf-speaker-info {
    position: relative;
    padding: 0px 15px 20px 15px;
}

.bf-speaker-name {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 7px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.bf-speaker-position {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 0.95em;
    font-weight: 400;
    color: #E8F0FE;
    margin-bottom: 4px;
    opacity: 0.9;
    line-height: 1.4;
}

.bf-speaker-fund {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 0.9em;
    font-weight: 500;
    color: #D1E7FF;
    margin-bottom: 13px;
    opacity: 0.85;
    line-height: 1.3;
}

.bf-speaker-country {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 0.85em;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 8px 18px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 4px;
    transition: var(--bf-transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bf-speaker-country:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bf-speaker-flag {
    width: 16px;
    height: 12px;
    opacity: 1;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Speakers */
@media (max-width: 992px) {
    .bf-speakers-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 28px;
    }
    
    .bf-speaker-card {
        padding: 1.4rem;
    }
}

@media (max-width: 870px) {
    /* Mobile speakers functionality */
    .bf-speakers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bf-speaker-card {
        padding: 1rem;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    .bf-speaker-photo {
        flex-shrink: 0;
        margin-right: 15px;
        margin-bottom: 0;
        padding-top: 0;
    }
    
    .bf-speaker-image {
        width: 70px;
        height: 70px;
    }
    
    .bf-speaker-info {
        flex-grow: 1;
        padding: 0;
    }
    
    .bf-speaker-name {
        font-size: 1rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    
    .bf-speaker-position, 
    .bf-speaker-fund {
        font-size: 0.8rem;
        margin-bottom: 3px;
        line-height: 1.2;
    }
    
    .bf-speaker-country {
        font-size: 0.75rem;
        padding: 4px 10px;
        margin-top: 6px;
        display: inline-block;
    }
    
    /* Mobile load more functionality */
    .bf-speakers-mobile-hidden {
        display: none;
    }
    
    .bf-speakers-load-more {
        text-align: center;
        margin-top: 30px;
    }
    
    .bf-speakers-load-more-btn {
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.3);
        color: white;
        padding: 12px 24px;
        border-radius: 25px;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s ease;
    }
    
    .bf-speakers-load-more-btn:hover {
        border-color: #007bff;
        color: #007bff;
        transform: translateY(-2px);
    }
    
    .bf-speakers-load-more-btn svg {
        transition: transform 0.3s ease;
    }
    
    .bf-speakers-load-more-btn:hover svg {
        transform: translateY(2px);
    }
    
    .bf-speakers-load-more-btn.loading {
        opacity: 0.6;
        pointer-events: none;
    }
    
    .bf-speakers-load-more-btn.loading svg {
        animation: bounce 1s infinite;
    }
    
    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
        40% { transform: translateY(-5px); }
        60% { transform: translateY(-3px); }
    }
}

@media (max-width: 768px) {
    .bf-speakers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .bf-speaker-card {
        padding: 1.2rem;
    }
    
    .bf-speaker-photo {
        padding-top: 15px;
        margin-bottom: 6px;
    }
    
    .bf-speaker-info {
        padding: 0px 12px 18px 12px;
    }
    
    .bf-speaker-image {
        width: 100px;
        height: 100px;
    }
    
    .bf-speakers .bf-section-title {
        font-size: 2rem;
        margin-bottom: 35px;
    }
    
    .bf-speaker-name {
        font-size: 1.2em;
        margin-bottom: 6px;
    }
    
    .bf-speaker-country {
        font-size: 0.8em;
        padding: 6px 14px;
        gap: 6px;
        margin-top: 3px;
    }
}

@media (max-width: 480px) {
    .bf-speakers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bf-speaker-card {
        padding: 1rem;
    }
    
    .bf-speaker-photo {
        padding-top: 12px;
        margin-bottom: 5px;
    }
    
    .bf-speaker-info {
        padding: 0px 10px 15px 10px;
    }
    
    .bf-speaker-image {
        width: 90px;
        height: 90px;
    }
    
    .bf-speakers .bf-section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .bf-speaker-name {
        font-size: 1.1em;
        margin-bottom: 5px;
    }
    
    .bf-speaker-position, .bf-speaker-fund {
        font-size: 0.85em;
    }
    
    .bf-speaker-position {
        margin-bottom: 3px;
    }
    
    .bf-speaker-fund {
        margin-bottom: 10px;
    }
    
    .bf-speaker-country {
        font-size: 0.75em;
        padding: 4px 10px;
        gap: 5px;
        margin-top: 2px;
    }
}

/* Staggered Animation for Speakers */
.bf-speakers-grid .bf-speaker-card {
    animation-delay: calc(var(--i) * 0.1s);
}

/* Fallback for no-JS users */
.no-js .bf-speaker-card,
body:not(.js-enabled) .bf-speaker-card {
    opacity: 1;
    transform: translateY(0);
}

/* Show cards after page load as fallback */
.bf-speakers-grid .bf-speaker-card {
    animation: fadeInUp 0.8s ease-out 1s both;
}

/* Responsive Design for Edition Info */
@media (max-width: 768px) {
    .bf-edition-content {
        flex-direction: column;
        gap: 0;
    }
    
    .bf-edition-left {
        padding: 2rem;
        text-align: center;
    }
    
    .bf-edition-left::after {
        display: none;
    }
    
    .bf-badge-year {
        font-size: 2.8rem;
    }
    
    .bf-badge-text {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        letter-spacing: 1px;
    }
    
    .bf-edition-statement h3 {
        font-size: 1.4rem;
    }
    
    .bf-edition-statement p {
        font-size: 1rem;
    }
    
    .bf-edition-right {
        padding: 1.5rem;
    }
    
    .bf-edition-pillars {
        grid-template-columns: 1fr;
        gap: 1px;
    }
    
    .bf-pillar-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .bf-pillar-icon {
        width: 60px;
        height: 60px;
    }
    
    .bf-pillar-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .bf-pillar-title {
        font-size: 1.1rem;
    }
    
    .bf-pillar-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .bf-edition-info {
        margin-bottom: 3rem;
    }
    
    .bf-edition-left {
        padding: 1.5rem;
    }
    
    .bf-badge-year {
        font-size: 2.2rem;
    }
    
    .bf-edition-statement h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .bf-edition-statement p {
        font-size: 0.95rem;
    }
    
    .bf-edition-right {
        padding: 1rem;
    }
    
    .bf-pillar-item {
        padding: 1.2rem;
    }
    
    .bf-pillar-icon {
        width: 50px;
        height: 50px;
    }
    
    .bf-pillar-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .bf-pillar-title {
        font-size: 1rem;
    }
    
    .bf-pillar-description {
        font-size: 0.85rem;
    }
    
    .bf-pillar-metrics span {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}
