/* ========================================
   BIO EXPORT CONNECT - Custom Styles
   Paleta de colores corporativos
   ======================================== */

/* Variables CSS */
:root {
    --primary-color: #294C2D;
    --accent-color: #AD925B;
    --secondary-color: #678A60;
    --light-color: #D3DED4;
    --white-color: #FDFDFD;
    --dark-color: #2c3e50;
    --gray-color: #6c757d;
    --light-gray: #f8f9fa;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #c4a76b 100%);
    
    /* Sombras */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    /* Transiciones */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* ========================================
   RESET Y BASE
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
}

/* ========================================
   TIPOGRAFÍA
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--primary-color);
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gray-color);
}

/* ========================================
   NAVEGACIÓN
   ======================================== */

.navbar {
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: var(--primary-color) !important;
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white-color) !important;
}

.navbar-nav .nav-link {
    color: var(--white-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition-fast);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-fast);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* ========================================
   LOGO Y BRAND
   ======================================== */

.navbar-brand {
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.logo {
    height: 40px;
    transition: var(--transition);
    filter: brightness(1.1);
}

.navbar-brand:hover .logo {
    transform: scale(1.1);
    filter: brightness(1.2);
}

@media (max-width: 768px) {
    .logo {
        height: 35px !important;
    }
}

/* ========================================
   BOTONES
   ======================================== */

.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white-color);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--white-color);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--white-color);
    border: 2px solid transparent;
}

.btn-accent:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--white-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    background: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-light {
    color: var(--white-color);
    border: 2px solid var(--white-color);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    min-height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(41, 76, 45, 0.6) 0%, rgba(103, 138, 96, 0.4) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
    padding-bottom: 8rem;
}

.hero-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.hero-section h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.hero-section .text-accent {
    color: var(--accent-color);
}

.hero-section p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-size: 1rem;
}

.hero-buttons {
    margin-top: 1.6rem;
}

.hero-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.scroll-down {
    color: var(--white-color);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ========================================
   CARDS
   ======================================== */

.service-card,
.product-card,
.team-card,
.blog-card,
.success-card {
    background: var(--white-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-card:hover,
.product-card:hover,
.team-card:hover,
.blog-card:hover,
.success-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon,
.advantage-icon,
.mvp-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white-color);
}

/* ========================================
   PRODUCTOS
   ======================================== */

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(41, 76, 45, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-category {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 1.5rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    text-align: left;
}

.price-label {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-color);
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ========================================
   FILTROS
   ======================================== */

.filter-buttons,
.blog-categories {
    margin-bottom: 2rem;
}

.filter-buttons .btn,
.blog-categories .btn {
    margin: 0.25rem;
    transition: var(--transition);
}

/* ========================================
   EQUIPO
   ======================================== */

.team-image {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(41, 76, 45, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    border-radius: 50%;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.25rem;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--white-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ========================================
   TESTIMONIOS
   ======================================== */

.testimonial-card {
    background: var(--white-color);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: none;
}

.testimonial-image img {
    border: 4px solid var(--accent-color);
}

.stars {
    font-size: 1.2rem;
}

.client-logos {
    padding: 2rem 0;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 1rem;
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: 0.7;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.client-logo img {
    max-height: 60px;
    width: auto;
}

/* ========================================
   BLOG
   ======================================== */

.featured-article {
    background: var(--white-color);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.featured-image {
    position: relative;
}

.article-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.article-meta {
    font-size: 0.875rem;
}

.article-tags .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.blog-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(41, 76, 45, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-title a {
    color: var(--primary-color);
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--accent-color);
}

.blog-excerpt {
    line-height: 1.6;
}

/* ========================================
   CONTACTO
   ======================================== */

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    color: var(--white-color);
    font-size: 1.2rem;
}

.contact-details h6 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--gray-color);
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--accent-color);
}

.social-links {
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    margin-right: 0.5rem;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-3px);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder iframe {
    border-radius: 15px;
}

/* ========================================
   FORMULARIOS
   ======================================== */

.form-control,
.form-select {
    border: 2px solid var(--light-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(173, 146, 91, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.newsletter-form .input-group {
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 0;
}

.newsletter-form .btn {
    border-radius: 0;
    padding: 0.75rem 1.5rem;
}

/* ========================================
   ESTADÍSTICAS
   ======================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    background: var(--light-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    background: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-5px);
}

.stat-box {
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition);
}

.stat-box:hover {
    background: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-5px);
}

/* ========================================
   MISION, VISION, VALORES
   ======================================== */

.mvp-card {
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mvp-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   VENTAJAS
   ======================================== */

.advantage-card {
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   CASOS DE ÉXITO
   ======================================== */

.success-card {
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.success-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.success-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.success-stats {
    margin-top: 1rem;
}

/* ========================================
   PÁGINAS HEADER
   ======================================== */

.page-header {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--primary-color);
    color: var(--white-color);
}

.footer h5,
.footer h6 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--white-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent-color);
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* ========================================
   TRAZABILIDAD
   ======================================== */

.traceability-step {
    padding: 2rem 1rem;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.traceability-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: var(--white-color);
}

.specifications-table {
    background: var(--white-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.spec-row {
    transition: var(--transition);
}

.spec-row:hover {
    background-color: var(--light-color);
    border-radius: 5px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.campaign-calendar {
    background: var(--white-color);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.campaign-calendar table {
    margin-bottom: 0;
}

.campaign-calendar th {
    font-size: 0.8rem;
    padding: 0.5rem 0.25rem;
    text-align: center;
    background: var(--primary-color) !important;
    color: var(--white-color) !important;
    border-color: var(--primary-color) !important;
}

.campaign-calendar td {
    text-align: center;
    padding: 0.5rem 0.25rem;
    vertical-align: middle;
}

.campaign-calendar td:first-child {
    text-align: left;
    font-weight: 600;
    background-color: var(--light-color);
}

.campaign-legend {
    text-align: center;
}

/* ========================================
   CERTIFICACIONES
   ======================================== */

.certification-logo {
    transition: var(--transition);
    padding: 1rem;
}

.certification-logo:hover {
    transform: translateY(-5px);
}

.cert-badge {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.certification-logo:hover .cert-badge {
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

/* ========================================
   CERTIFICACIONES MEJORADAS
   ======================================== */

.certification-card {
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-color);
    height: 100%;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-logo img {
    transition: var(--transition);
    filter: grayscale(0.2);
}

.certification-card:hover .cert-logo img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.certification-info {
    border: 1px solid var(--light-color);
}

/* ========================================
   UTILIDADES
   ======================================== */

.bg-primary {
    background: var(--gradient-primary) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 0.9rem;
    }
    
    .hero-section .container {
        padding-bottom: 4rem;
    }
    
    .hero-content {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 1rem;
    }
    
    .team-image {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .service-card,
    .product-card,
    .team-card,
    .blog-card {
        padding: 1.5rem;
    }
}

/* ========================================
   ANIMACIONES PERSONALIZADAS
   ======================================== */

@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);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease-out;
}

/* ========================================
   LOADING STATES
   ======================================== */

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--accent-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   ACCESIBILIDAD
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus states */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .navbar,
    .footer,
    .btn,
    .hero-section,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* ========================================
   PERSONALIZACIÓN DE BARRAS DE DESPLAZAMIENTO
   Colores corporativos BEC Peru
   ======================================== */

/* Para navegadores WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
    transform: scale(1.05);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #1e7e34, #1a7a6b);
}

::-webkit-scrollbar-corner {
    background: #f1f1f1;
}

/* Para Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #28a745 #f1f1f1;
}

body {
    scrollbar-width: thin;
    scrollbar-color: #28a745 #f1f1f1;
}

/* Estilos específicos para elementos con scroll */
.pdf-viewer-wrapper,
.modal-body,
.navbar-nav {
    scrollbar-width: thin;
    scrollbar-color: #28a745 #f1f1f1;
}

.pdf-viewer-wrapper::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.navbar-nav::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.pdf-viewer-wrapper::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
.navbar-nav::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 6px;
    border: 1px solid #f1f1f1;
}

.pdf-viewer-wrapper::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover,
.navbar-nav::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #218838, #1ea085);
}