/* Main CSS - Academia Alexander Fleming */

/* ==========================================
   UTILIDADES Y COMPONENTES
   ========================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 24px; }
.pt-4 { padding-top: 32px; }
.pt-5 { padding-top: 48px; }
.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 24px; }
.pb-4 { padding-bottom: 32px; }
.pb-5 { padding-bottom: 48px; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--text-secondary); }
.text-white { color: var(--text-white); }

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-white);
}

.btn-secondary:hover {
    background: #E55B2A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-white {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-blue {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
}

/* Featured Cycle Banner */
.featured-cycle-banner {
    border-radius: var(--radius-xl);
    padding: 100px 40px 60px 40px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
    border: 4px solid #0dcaf0;
    box-shadow: 0 8px 32px rgba(13, 202, 240, 0.4);
}

.featured-cycle-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.featured-cycle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
                rgba(13, 110, 253, 0.45) 0%,
                rgba(0, 149, 246, 0.35) 50%,
                rgba(0, 188, 212, 0.25) 100%);
    z-index: 1;
}

.featured-cycle-content {
    position: relative;
    z-index: 2;
}

.featured-cycle-content h2,
.featured-cycle-content p,
.featured-cycle-content .featured-cycle-details {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.featured-cycle-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3a8a, #1e40af, #2563eb);
    color: white;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.5);
    z-index: 10;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Modality Cards */
.modality-card {
    position: relative;
    padding: 40px 32px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.modality-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modality-icon {
    font-size: 64px;
    text-align: center;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.modality-featured {
    border-color: #FCD34D;
    background: linear-gradient(135deg, #1E40AF, #1E3A8A);
    transform: scale(1.05);
}

.modality-featured:hover {
    transform: translateY(-12px) scale(1.07);
    border-color: #FDE68A;
}

.modality-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    white-space: nowrap;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

/* Section */
.section {
    padding: 80px 0;
    position: relative;
}

.section-sm {
    padding: 60px 0;
}

.section-lg {
    padding: 120px 0;
}

.section-blue {
    background: var(--primary-color);
    color: var(--text-white);
}

.section-light {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    margin-bottom: 16px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.section-blue .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

/* Wave Divider */
.wave-divider {
    width: 100%;
    height: 80px;
    position: absolute;
    bottom: -1px;
    left: 0;
    overflow: hidden;
    /* Fix Chromium anti-aliasing line bug */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
    display: block;
    /* Fix sub-pixel rendering in Chromium */
    transform: scale(1.01);
    transform-origin: bottom center;
}

.wave-top {
    top: 0;
    bottom: auto;
    transform: rotate(180deg);
}

/* Grid Systems */
.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ==========================================
   HOME PAGE SECTIONS
   ========================================== */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

/* Fix Chromium gap after hero section */
.hero + .section,
.hero + section {
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect fill="url(%23grid)" width="800" height="800"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--text-white);
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    height: auto;
}

/* Stats Badge */
.stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-badge strong {
    font-size: 24px;
    color: var(--secondary-color);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.info-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-12px);
}

.info-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 32px;
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.info-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

/* Sección Beneficios Fleming */
.section-beneficios {
    padding-top: 100px !important;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.beneficios-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 60px;
}

.lead-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
}

.beneficios-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(37, 99, 235, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .beneficios-intro {
        padding: 40px;
    }

    .beneficios-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .section-beneficios {
        padding-top: 60px !important;
    }

    .beneficios-intro {
        padding: 32px 24px;
        margin-bottom: 40px;
    }

    .lead-text {
        font-size: 18px;
        line-height: 1.8;
        text-align: center;
    }

    .beneficios-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-top: 32px;
    }

    .stat-item {
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .beneficios-intro {
        padding: 24px 20px;
    }

    .lead-text {
        font-size: 16px;
    }

    .beneficios-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item {
        padding: 24px 20px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 13px;
    }
}

/* Ciclos Cards */
.ciclo-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.ciclo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.ciclo-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 0;
    text-align: center;
    color: var(--text-white);
    position: relative;
    height: 280px;
    overflow: hidden;
}

.ciclo-card-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.ciclo-card-header-overlay {
    /* Overlay removido - las imágenes se muestran al 100% */
    display: none;
}

.ciclo-card-header-content {
    /* Ya no se usa - el contenido está en el body */
    display: none;
}

.ciclo-card-icon {
    display: none;
}

.ciclo-card-header h3 {
    color: var(--text-white);
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.ciclo-card-body {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ciclo-features {
    list-style: none;
    margin-bottom: 24px;
}

.ciclo-features li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.ciclo-features li:last-child {
    border-bottom: none;
}

.ciclo-features svg {
    flex-shrink: 0;
    color: var(--success-color);
    margin-top: 2px;
}

.ciclo-price {
    text-align: center;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-top: auto;
}

.ciclo-price-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.ciclo-price-period {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Ciclo Featured Badge */
.ciclo-featured {
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.25);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 10px 40px rgba(255, 107, 0, 0.25); }
    50% { box-shadow: 0 10px 50px rgba(255, 107, 0, 0.4); }
}

.ciclo-featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #e74c3c 100%);
    color: white;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    z-index: 10;
    letter-spacing: 0.5px;
}

/* Testimonials */
.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.testimonial-university {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Docentes Grid */
.docente-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.docente-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.docente-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--bg-blue);
}

.docente-info {
    padding: 24px;
}

.docente-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.docente-especialidad {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 16px;
}

.docente-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-blue);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 80px 0;
    text-align: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    color: var(--text-white);
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: var(--primary-dark);
    color: var(--text-white);
    position: relative;
}

.footer-content {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer-title {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-white);
}

.footer-links,
.footer-contact,
.footer-schedule {
    list-style: none;
}

.footer-links li,
.footer-contact li,
.footer-schedule li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--text-white);
}

.footer-schedule {
    color: rgba(255, 255, 255, 0.8);
}

.footer-schedule li {
    margin-bottom: 16px;
}

.footer-schedule strong {
    display: block;
    color: var(--text-white);
    margin-bottom: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-legal a:hover {
    color: var(--text-white);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Lazy Load */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-loaded {
    opacity: 1;
}

/* ==========================================
   BREADCRUMBS
   ========================================== */

.breadcrumbs {
    background: var(--bg-light);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb-item a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.breadcrumb-item a svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.breadcrumb-separator {
    color: var(--text-secondary);
    opacity: 0.5;
    width: 12px !important;
    height: 12px !important;
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumb-item.active span {
    padding: 4px 8px;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 8px 0;
    }

    .breadcrumb-item {
        font-size: 13px;
    }

    .breadcrumb-item a,
    .breadcrumb-item.active span {
        padding: 3px 6px;
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .info-cards {
        margin-top: 0;
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
    }

    .card {
        padding: 24px;
    }
}

/* ==========================================
   LIGHTBOX
   ========================================== */
.lb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.lb-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.lb-box {
    position: relative;
    max-width: 90vw;
    text-align: center;
}

.lb-box img {
    display: block;
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .6);
}

.lb-caption {
    color: rgba(255, 255, 255, .9);
    margin-top: 12px;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .3px;
}

.lb-close {
    position: fixed;
    top: 20px;
    right: 24px;
    color: white;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    background: rgba(255, 255, 255, .15);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.lb-close:hover { background: rgba(255, 255, 255, .3); }

.lb-prev,
.lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
    background: rgba(255, 255, 255, .12);
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background .2s;
}

.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover,
.lb-next:hover { background: rgba(255, 255, 255, .25); }

@media (max-width: 768px) {
    .lb-prev { left: 8px; padding: 8px 12px; font-size: 36px; }
    .lb-next { right: 8px; padding: 8px 12px; font-size: 36px; }
}
