
        :root {
            --cecar-green-primary: #53cb63;
            --cecar-green-hover: #43b853;
            --cecar-green-light: #eaf8ec;
            --cecar-green-accent: #64D373;
            --cecar-forest-dark: #1A3E21;
            --cecar-dark-text: #222222;
            --cecar-muted-text: #6c757d;
            --cecar-card-bg: #ffffff;
            --cecar-shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
            --cecar-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
            --cecar-font-sans: 'Poppins', sans-serif;
            --cecar-font-serif: 'Playfair Display', Georgia, serif;
        }


                
        @font-face {
        font-family: 'VAG-Rounded-Bold';
        src: url('fonts/VAG-Rounded-Bold.woff2') format('woff2');
        font-style: normal;
        font-display: swap;
        }

        @font-face {
        font-family: 'VAG-Rounded-Light';
        src: url('fonts/VAG-Rounded-Light.woff2') format('woff2');
        font-style: normal;
        font-display: swap;
        }

        @font-face {
        font-family: 'VAG-Rounded-Black';
        src: url('fonts/VAG-Rounded-Black.woff2') format('woff2');
        font-style: normal;
        font-display: swap;
        }

        @font-face {
        font-family: 'VAG-Rounded-Thin';
        src: url('fonts/VAG-Rounded-Thin.ttf') format('truetype');
        font-style: normal;
        font-display: swap;
        }

        @font-face {
        font-family: 'VAG-Rounded-Regular';
        src: url('fonts/VAG-Rounded-Regular.otf') format('opentype');
        font-weight: normal;
        font-style: normal;
        font-display: swap;
        }

        @font-face {
        font-family: 'VAG-Rounded-Medium';
        src: url('fonts/VAG-Rounded-Medium.otf') format('opentype');
        font-weight: normal;
        font-style: normal;
        font-display: swap;
        }



        body {
            font-family: 'VAG-Rounded-Regular';
            color: var(--cecar-dark-text);
            background-color: #fbfdfb;
            overflow-x: hidden;
        }

        /* Stylized text helper */
        .font-serif-italic {
            font-family: 'VAG-Rounded-Bold';
        }

        /* Custom buttons */
        .btn-cecar-primary {
            background-color: var(--cecar-green-accent);
            color: #ffffff;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            padding: 10px 24px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-cecar-primary:hover {
            background-color: var(--cecar-green-hover);
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(100, 211, 115, 0.35);
        }

        .navbar-floating-container {
            position: relative;
        }

        .navbar-floating {
            padding: 20px 40px;
            width: 100%;
        }

        .navbar-brand-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }

        .logo-icon {
            width: 38px;
            height: 38px;
        }

        .brand-text {
            line-height: 1.1;
        }

        .brand-title {
            font-weight: 800;
            font-size: 1.25rem;
            color: #123318;
            letter-spacing: 0.5px;
            margin: 0;
        }

        .brand-subtitle {
            font-size: 0.65rem;
            color: #666;
            margin: 0;
            font-weight: 500;
        }

        .nav-links-custom {
            display: flex;
            align-items: center;
            gap: 18px;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-links-custom .nav-item-link {
            text-decoration: none;
            color: #444444;
            font-weight: 500;
            font-size: 18px;
            transition: color 0.2s;
        }

        .nav-links-custom .nav-item-link:hover {
            color: var(--cecar-green-primary);
        }

        .nav-links-custom .nav-item-link.active-pill {
            background-color: var(--cecar-green-accent);
            color: #ffffff;
            padding: 8px 40px;
            border-radius: 50px;
            font-weight: 600;
        }

        .nav-divider {
            color: #d1d1d1;
            font-weight: 300;
        }

        .hero-section { 
            padding: 40px 0 80px;
            text-align: center;
        }

        .hero-title {
            font-size: 7rem;
            line-height: 6rem;
            color: #fff;
            letter-spacing: -0.5px;
            margin-bottom: 15px;
            font-family: 'VAG-Rounded-Light';
        }

        .hero-title .highlight-green {
            font-family: 'VAG-Rounded-Bold';
            display: block;
            color: var(--cecar-green-accent);
            font-weight: 800;
            font-style: italic;
        }

        .hero-subtitle {
            max-width: 780px;
            margin: 40px auto;
            color: #fff;
            font-size: 23px;
            line-height: normal;
            font-weight: 400;
        }

        .search-pill-card {
            background: #f2f2f2;
            border-radius: 50px;
            padding: 18px 24px;
            margin: -55px auto 0;
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(0, 0, 0, 0.04);
            max-width: 780px;
        }

        .search-input-group {
            display: flex;
            align-items: center;
            border: none;
            background: transparent;
            padding: 5px 10px;
            gap: 20px;
        }

        .search-input-group i {
            font-size: 1.2rem;
            color: #777;
            margin-right: 12px;
        }

        .search-input-group input, .search-input-group select {
            border: none;
            outline: none;
            background: transparent;
            width: 100%;
            font-size: 20px;
            color: #333;
            font-weight: 500;
        }

        .search-input-group input::placeholder {
            color: #888888;
        }

        .search-vertical-divider {
            width: 1px;
            height: 32px;
            background-color: #e2e2e2;
            margin: 0 10px;
        }

        .bg-catalogo{
            background-color: #fdfefd;
            padding: 60px 0 120px;
        }

        .box-slider{            
            display: flex;
            background: linear-gradient(rgb(0 0 0 / 50%), rgba(23, 100, 50, 0.5)), url(bg.webp) center / cover no-repeat;
            flex-direction: column;
            justify-content: center;
            background-color: #eeeeee;
            border-radius: 70px;
            height: 600px;
        }

        .section-header-title {
            text-align: center;
            font-family: 'VAG-Rounded-Light';
            font-size: 3.5rem;
            line-height: 1;
            color: #000;
            max-width: 60%;
            margin: 0 auto;
        }

        .section-header-title.white{
            color: #fff;
        }

        .congress-card {
            background: #ffffff;
            border-radius: 20px;
            border: 1px solid #f0f0f0;
            box-shadow: var(--cecar-shadow-sm);
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            position: relative;
            cursor: pointer;
        }

        .congress-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--cecar-shadow-md);
        }

        .card-img-wrapper {
            position: relative;
            height: 220px;
            overflow: hidden;
        }

        .card-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top;            
        }

        .edition-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background-color: var(--cecar-green-accent);
            color: #ffffff;
            font-size: 16px;
            line-height: 16px;
            padding: 6px 14px;
            border-radius: 6px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            font-family: 'VAG-Rounded-Bold';
        }

        .card-body-custom {
            padding: 24px 30px; 
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .congress-card-title {
            font-size: 24px;
            line-height:26px;
            color: #222;
            margin-bottom: 22px;
            font-family: 'VAG-Rounded-Bold';
        }

        .congress-meta-row {
            display: flex;
            align-items: center;
            gap: 15px;
            color: #777777;
            font-size: 16px;
            margin-bottom: 14px;
            font-weight: 500;
        }

        .congress-meta-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .congress-description {
            color: #666;
            font-size: 16px;
            line-height: 22px;
            margin-bottom: 24px;
            font-family: 'VAG-Rounded-Regular';
        }

        .card-footer-action {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .btn-card-details {
            background-color: var(--cecar-green-accent);
            color: #ffffff;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            font-weight: 700;
            padding: 8px 20px;
            letter-spacing: 0.3px;
            transition: all 0.2s ease;
        }

        .btn-card-details:hover {
            background-color: var(--cecar-green-hover);
            color: #ffffff;
        }

        .btn-circle-arrow {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: var(--cecar-green-accent);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            transition: all 0.2s ease;
        }

        .btn-circle-arrow:hover {
            background-color: var(--cecar-green-hover);
            transform: scale(1.08);
        }

        .stats-dark-banner {
            background-color: var(--cecar-forest-dark);
            color: #ffffff;
            padding: 35px 0;
            margin-top: 60px;
            margin-bottom: 70px;
        }

        .stat-item {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 10px;
        }

        .stat-icon {
            font-size: 1.8rem;
            color: #ffffff;
            opacity: 0.9;
        }

        .stat-number {
            font-size: 1.5rem;
            font-weight: 800;
            margin-right: 5px;
        }

        .stat-label {
            font-size: 0.9rem;
            font-weight: 400;
            opacity: 0.9;
        }

        .stat-divider {
            border-right: 1px solid rgba(255, 255, 255, 0.15);
        }

        .data-cards-section {
            padding: 60px;
            background-color: #64d373;
            border-radius: 30px;
        }

        .top-metric-card {
            background: #ffffff;
            border-radius: 18px;
            padding: 36px;
            border: 1px solid #f0f0f0;
            box-shadow: 0 6px 20px rgba(0,0,0,0.03);
            position: relative;
            height: 100%;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .top-metric-card:hover {
            box-shadow: 0 10px 28px rgba(0,0,0,0.06);
            transform: translateY(-4px);
        }

        .metric-icon-badge {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background-color: var(--cecar-green-accent);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            margin-bottom: 16px;
        }

        .metric-number {
            font-size:40px;
            color: var(--cecar-green-accent);
            line-height:40px;
            margin-bottom: 8px;
            font-family: 'VAG-Rounded-Bold';
        }

        .metric-subtitle {
            font-size: 26px;
            line-height: 26px;
            color: #222;
            margin-bottom: 8px;
        }

        .metric-desc {
            font-size: 18px;
            color: #777;
            margin: 16px 0;
            line-height: 20px;
        }

        .metric-chevron {
            position: absolute;
            top: 25px;
            right: 22px;
            color: var(--cecar-green-accent);
            font-size: 1rem;
        }

        .bottom-compact-card {
            background: #ffffff;
            border-radius: 16px;
            padding: 20px;
            border: 1px solid #f0f0f0;
            box-shadow: 0 4px 15px rgba(0,0,0,0.02);
            display: flex;
            align-items: flex-start;
            gap: 15px;
            position: relative;
            height: 100%;
        }

        .compact-icon-badge {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: var(--cecar-green-accent);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            flex-shrink: 0;
        }

        .compact-number {
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--cecar-green-accent);
            line-height: 1;
            margin-bottom: 4px;
        }

        .compact-title {
            font-size: 0.85rem;
            font-weight: 700;
            color: #222;
            margin: 0;
            line-height: 1.3;
        }

        .compact-desc {
            font-size: 0.75rem;
            color: #888;
            margin-top: 4px;
            line-height: 1.35;
        }

        .cta-dark-card {
            background: linear-gradient(rgb(0 0 0 / 50%), rgba(23, 100, 50, 0.1)), url(bannercongresos.webp) center / cover no-repeat;
            border-radius: 24px;
            padding: 150px 0;
            color: #ffffff;
            text-align: center;
            margin: 60px 0;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .cta-title {
            font-size: 48px;
            font-family: 'VAG-Rounded-Bold';
            margin-bottom: 15px;
        }

        .cta-desc {
            max-width: 680px;
            margin: 0 auto 30px auto;
            font-size: 18px;
            color: #e0e0e0;
            line-height: 24px;
            font-weight: 300;
        }

        .cecar-footer {
            background-color: var(--cecar-green-accent);
            color: #123318;
            padding: 40px 0;
            font-size: 20px;
            font-weight: 600;
        }

        .footer-brand-text {
            font-weight: 800;
            letter-spacing: 0.5px;
        }

        .social-links {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .social-icon-link {
            color: #123318;
            font-size: 1.1rem;
            transition: transform 0.2s ease, color 0.2s ease;
            text-decoration: none;
        }

        .social-icon-link:hover {
            color: #ffffff;
            transform: translateY(-2px);
        }

        .back-to-top-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: #0d0d0d;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            box-shadow: 0 6px 20px rgba(0,0,0,0.25);
            cursor: pointer;
            z-index: 999;
            transition: all 0.3s ease;
            opacity: 0;
            visibility: hidden;
        }

        .back-to-top-btn.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top-btn:hover {
            background-color: var(--cecar-green-accent);
            color: #ffffff;
            transform: translateY(-4px);
        }

        /* Responsive tweaks */
        @media (max-width: 991px) {

            .bg-catalogo {
                background-color: #fdfefd;
                padding: 10px 0;
            }

            .box-slider { 
                height: 500px;
            }

            .nav-links-custom {
             flex-direction: column;
            }

            .navbar-floating {
                padding: 20px 0; 
            }


            .navbar-collapse{
                padding: 30px 0;
                background-color: #eeeeee;
            }

            .stat-divider {
                border-right: none;
                border-bottom: 1px solid rgba(255, 255, 255, 0.15);
                padding-bottom: 15px;
                margin-bottom: 15px;
            }
            .search-pill-card {
                border-radius: 25px;
                padding: 15px;
            }
            .search-vertical-divider {
                display: none;
            }

            .hero-title {
                font-size: 3.2rem;
                line-height: 3.2rem;
            }


            .hero-subtitle {
                font-size: 18px;
                line-height: 24px;
                font-weight: 400;
                padding: 0 30px;
            }

            .search-pill-card {
                border-radius: 25px;
                padding: 15px;
                margin: 40px 0;
            }

            .section-header-title {
                display: none;
            }

            #congressCardsContainer{
                padding: 0 20px;
            }

            .hero-section {
                padding: 0;
            }


            .data-cards-section {
                padding: 60px 30px;
            }

            .cta-desc{
                padding: 0 30px;
            }

            .cta-title {
                font-size: 30px;
                padding: 0 20px;
            }
 
            .footer-brand-text { 
                 text-align: center;
            }

        }

    @media (min-width: 992px) {

        

        .search-pill-card.is-sticky {
            position: fixed;
            top: 15px;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 30px);
            max-width: 780px;
            z-index: 1050;
            margin: 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            animation: slideDown 0.3s ease-out;
        }

        /* Animación suave al aparecer arriba */
        @keyframes slideDown {
            from {
                transform: translate(-50%, -20px);
                opacity: 0;
            }
            to {
                transform: translate(-50%, 0);
                opacity: 1;
            }
        }

    }