/* ===== ESTILOS OPTIMIZADOS Y LIMPIOS ===== */
:root {
    --dark: #020617;
    --primary: #0F172A;
    --accent: #2563EB;
    --accent-soft: #3B82F6;
    --accent-gradient: linear-gradient(135deg, #2563EB, #1D4ED8);
    --bg: #F5F7FA;
    --card: #FFFFFF;
    --border: #E5E7EB;
    --muted: #475569;
    --success: #10B981;
    --light-gray: #F8FAFC;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: #111827;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-weight: 800;
    letter-spacing: .4px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Menú Desktop */
.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.desktop-nav a:hover {
    color: #fff;
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Menú Móvil */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    right: 20px;
    background: var(--primary);
    border-radius: 12px;
    padding: 15px 0;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    animation: slideDown 0.3s ease;
}

.mobile-nav.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav a {
    display: block;
    padding: 12px 24px;
    color: #CBD5E1;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding-left: 28px;
}

/* ===== BOTONES FLOTANTES (SOLO MÓVIL) ===== */
.top-links {
    display: none;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    background: linear-gradient(180deg, #020617, #0F172A);
    color: #fff;
    height: 90vh;
    min-height: 700px;
    max-height: 900px;
    overflow: hidden;
    padding-top: 20px;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 0 40px;
}

.slide-text h1 {
    font-size: 3.2rem;
    margin-bottom: 24px;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #CBD5E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-text p {
    color: #CBD5E1;
    font-size: 1.2rem;
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.slide-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-text h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-text p {
    color: #94A3B8;
    font-size: 1rem;
    margin: 0;
}

/* Slide backgrounds - Desktop */
[class*="slide-"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 769px) {
    [class*="slide-"] {
        background-attachment: fixed;
    }
}

.slide-1 {
    background:
        linear-gradient(135deg, rgba(2, 6, 23, 0.85), rgba(15, 23, 42, 0.9)),
        url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.slide-2 {
    background:
        linear-gradient(135deg, rgba(12, 26, 50, 0.85), rgba(26, 54, 93, 0.9)),
        url('https://images.unsplash.com/photo-1506836467174-27f1042aa48c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.slide-3 {
    background:
        linear-gradient(135deg, rgba(26, 32, 44, 0.85), rgba(45, 55, 72, 0.9)),
        url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.slide-4 {
    background:
        linear-gradient(135deg, rgba(23, 25, 35, 0.85), rgba(45, 55, 72, 0.9)),
        url('https://images.unsplash.com/photo-1676018366904-c083ed678e60?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.slide-5 {
    background:
        linear-gradient(135deg, rgba(15, 20, 30, 0.88), rgba(30, 40, 60, 0.92)),
        url('https://images.unsplash.com/photo-1605745341112-85968b19335b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

.slide-6 {
    background:
        linear-gradient(135deg, rgba(16, 19, 28, 0.88), rgba(10, 13, 20, 0.92)),
        url('https://images.unsplash.com/photo-1553413077-190dd305871c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
}

/* ===== CONTROLES DEL SLIDER ===== */
.slider-controls {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    align-items: center;
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.slider-nav {
    display: flex;
    gap: 15px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.slide-counter {
    color: #CBD5E1;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
}

/* ===== SECCIONES ===== */
.section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 24px;
    position: relative;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.section-title::before {
    content: "";
    width: 40px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

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

/* ===== CARDS ===== */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-gradient);
    transition: height 0.3s ease;
}

.card:hover::before {
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-soft);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--accent-gradient);
    transform: rotate(5deg) scale(1.1);
}

.card-icon i {
    font-size: 28px;
    color: var(--accent);
    transition: var(--transition);
}

.card:hover .card-icon i {
    color: white;
}

.card h3 {
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--primary);
}

.card p {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.7;
}

/* ===== SOBRE MÍ ===== */
.about {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img::before {
    content: "";
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--accent-gradient);
    border-radius: var(--radius);
    bottom: -20px;
    right: -20px;
    z-index: 0;
    opacity: 0.8;
}

.about-img img {
    width: 100%;
    border-radius: var(--radius);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.about-img:hover img {
    transform: translate(-10px, -10px);
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-content p {
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--light-gray);
    border-radius: 8px;
    font-weight: 500;
}

.highlight i {
    color: var(--success);
}

/* ===== PORTAFOLIO ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.portfolio-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

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

.portfolio-img {
    height: 200px;
    background: linear-gradient(135deg, #0F172A, #1E293B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.portfolio-content {
    padding: 24px;
}

.portfolio-content h3 {
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--primary);
}

.portfolio-content p {
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
}

.portfolio-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.portfolio-link:hover::after {
    width: 100%;
}

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, var(--primary), #1E293B);
    color: #fff;
    padding: 100px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 100px 0;
}

.cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

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

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta p {
    color: #CBD5E1;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-gradient);
    color: #fff;
    padding: 18px 40px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1D4ED8, #2563EB);
}

/* ===== AGENDA ===== */
.agenda-section {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 80px 24px;
    margin: 0 24px 100px;
    position: relative;
    overflow: hidden;
}

.agenda-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.agenda-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.agenda-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.agenda-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.agenda-benefits {
    list-style: none;
    margin-bottom: 30px;
}

.agenda-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--primary);
}

.agenda-benefits i {
    color: var(--success);
    font-size: 1.2rem;
}

.agenda-note {
    color: var(--muted);
    font-style: italic;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.agenda-button-only {
    text-align: center;
}

.agenda-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #0B3C5D, #1F6FA3);
    color: #ffffff;
    padding: 20px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(11, 60, 93, 0.3);
    transition: var(--transition);
    width: 100%;
    max-width: 400px;
}

.agenda-btn i {
    font-size: 1.2rem;
}

.agenda-btn:hover {
    background: linear-gradient(135deg, #092F48, #195C87);
    box-shadow: 0 15px 40px rgba(11, 60, 93, 0.4);
    transform: translateY(-4px);
}

.agenda-helper {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: #94A3B8;
    padding: 60px 24px 30px;
    position: relative;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* ===== OPTIMIZACIONES PERFORMANCE ===== */
.slide,
.card,
.portfolio-card {
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== MEDIA QUERIES ===== */

/* Tablet (1100px) */
@media (max-width: 1100px) {
    .slide-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .feature-item {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .agenda-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Móvil (768px) */
@media (max-width: 768px) {
    /* HEADER FIJO */
    header {
        position: fixed;
        top: 0;
        width: 100%;
        height: 60px;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 9999;
    }
    
    .header-inner {
        padding: 0 20px;
        height: 100%;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo img {
        height: 28px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
        width: 40px;
        height: 40px;
    }
    
    /* HERO SLIDER */
    .hero-slider {
        margin-top: 60px;
        height: auto;
        min-height: calc(100vh - 60px);
        padding-bottom: 100px;
    }
    
    /* Fix background móvil */
    [class*="slide-"] {
        background-attachment: scroll !important;
        background-size: cover !important;
        min-height: 100%;
    }
    
    .slide {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* CONTENIDO SLIDER */
    .slide-content {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .slide-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .slide-text p {
        font-size: 1rem;
    }
    
    .slide-features {
        gap: 12px;
    }
    
    .feature-item {
        flex-direction: row;
        text-align: left;
        padding: 15px;
        gap: 12px;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    .feature-text h3 {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }
    
    .feature-text p {
        font-size: 0.9rem;
    }
    
    /* CONTROLES SLIDER */
    .slider-controls {
        bottom: 30px;
        left: 20px;
        right: auto;
        transform: none;
        gap: 10px;
    }
    
    .slider-btn {
        width: 44px;
        height: 44px;
        background: rgba(15, 23, 42, 0.9);
        backdrop-filter: blur(10px);
        border: 1.5px solid rgba(255, 255, 255, 0.25);
    }
    
    .slider-dots,
    .slide-counter {
        display: none;
    }
    
    /* BOTONES SOCIALES FLOTANTES */
    .top-links {
        display: block;
        position: fixed;
        bottom: 30px;
        right: 20px;
        z-index: 1000;
    }
    
    .links-grid {
        display: flex !important;
        flex-direction: column !important; /* Vertical */
        gap: 10px !important;
        align-items: center !important;
    }
    
    .social-btn,
    .cart-mobile {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        transition: all 0.3s ease;
        border: 2px solid white;
        text-decoration: none;
    }
    
    .social-btn span {
        display: none;
    }
    
    .social-btn i,
    .cart-mobile i {
        font-size: 1.4rem;
        margin: 0;
    }
    
    .instagram {
        background: linear-gradient(45deg, #405DE6, #833AB4, #E1306C);
        color: white;
    }
    
    .linkedin {
        background: #0077B5;
        color: white;
    }
    
    .whatsapp {
        background: #25D366;
        color: white;
    }
    
    .cart-mobile {
        background: linear-gradient(135deg, #2563EB, #3B82F6);
        color: white;
        position: relative;
    }
    
    .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #EF4444;
        color: white;
        font-size: 0.7rem;
        font-weight: 800;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid var(--primary);
    }
    
    .social-btn:active,
    .cart-mobile:active {
        transform: scale(0.95);
    }
    
    /* AJUSTE SECCIONES */
    section[id] {
        scroll-margin-top: 80px;
    }
    
    #inicio {
        scroll-margin-top: 0;
    }
    
    .section {
        margin: 60px auto;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .grid,
    .portfolio-grid {
        gap: 24px;
        grid-template-columns: 1fr;
    }
    
    .about {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-img::before {
        width: 90%;
        height: 90%;
        bottom: -15px;
        right: -15px;
    }
    
    .agenda-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta {
        padding: 60px 24px;
        margin: 60px 0;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
}

/* Móvil pequeño (480px) */
@media (max-width: 480px) {
    .slide-text h1 {
        font-size: 1.7rem;
    }
    
    .card {
        padding: 24px;
    }
    
    .social-btn,
    .cart-mobile {
        width: 50px;
        height: 50px;
    }
    
    .social-btn i,
    .cart-mobile i {
        font-size: 1.2rem;
    }
    
    .links-grid {
        gap: 8px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .top-links {
        bottom: 20px;
        right: 15px;
    }
    
    .slider-controls {
        bottom: 20px;
        left: 15px;
    }
}

/* Desktop (769px+) */
@media (min-width: 769px) {
    .top-links {
        display: none !important;
    }
    
    .menu-toggle {
        display: none !important;
    }
    
    .mobile-nav {
        display: none !important;
    }
    
    .desktop-nav {
        display: flex !important;
    }
}

/* Fix Safari iOS */
@supports (-webkit-touch-callout: none) {
    .hero-slider {
        min-height: -webkit-fill-available;
    }
}
    


/* ===== FIX DEFINITIVO MÓVIL ===== */

/* SOLO PARA MÓVIL */
@media (max-width: 768px) {
    
    /* Hero Slider - Ajustes críticos */
    .hero-slider {
        margin-top: 60px !important;
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        padding-top: 0 !important;
        padding-bottom: 120px !important;
        background: #0F172A !important;
    }
    
    /* Container de slides */
    .slides-container {
        position: relative;
        width: 100%;
        min-height: 100vh;
        z-index: 1;
    }
    
    /* Cada slide individual */
    .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        min-height: 100vh !important;
        height: auto !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(30px);
        transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s 0.8s;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 80px 20px 140px 20px !important;
        z-index: 1;
    }
    
    /* Slide activo - MUY IMPORTANTE */
    .slide.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0) !important;
        z-index: 2 !important;
        transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s 0s;
    }
    
    /* Backgrounds - FORZAR VISIBILIDAD */
    .slide-1.active {
        background:
            linear-gradient(135deg, rgba(2, 6, 23, 0.7), rgba(15, 23, 42, 0.8)),
            url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }

    .slide-2.active {
        background:
            linear-gradient(135deg, rgba(12, 26, 50, 0.7), rgba(26, 54, 93, 0.8)),
            url('https://images.unsplash.com/photo-1506836467174-27f1042aa48c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }

    .slide-3.active {
        background:
            linear-gradient(135deg, rgba(26, 32, 44, 0.7), rgba(45, 55, 72, 0.8)),
            url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }

    .slide-4.active {
        background:
            linear-gradient(135deg, rgba(23, 25, 35, 0.7), rgba(45, 55, 72, 0.8)),
            url('https://images.unsplash.com/photo-1676018366904-c083ed678e60?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }

    .slide-5.active {
    background:
        linear-gradient(135deg, rgba(15, 20, 30, 0.7), rgba(30, 40, 60, 0.8)),
        url('https://images.unsplash.com/photo-1605745341112-85968b19335b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    }

    .slide-6.active {
    background:
        linear-gradient(135deg, rgba(16, 19, 28, 0.7), rgba(10, 13, 20, 0.8)),
        url('https://images.unsplash.com/photo-1553413077-190dd305871c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    }
    
    /* Contenido del slide */
    .slide-content {
        position: relative;
        z-index: 10;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 0 !important;
        margin: 0 auto;
    }
    
    /* Texto del slide */
    .slide-text {
        position: relative;
        z-index: 11;
        width: 100%;
    }
    
    .slide-text h1 {
        font-size: 1.9rem !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
        color: #ffffff !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        font-weight: 800 !important;
    }
    
    .slide-text p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        color: #E2E8F0 !important;
        margin-bottom: 30px !important;
        max-width: 100% !important;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    }
    
    /* Features del slide */
    .slide-features {
        position: relative;
        z-index: 11;
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .feature-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
        background: rgba(15, 23, 42, 0.85) !important;
        backdrop-filter: blur(10px);
        border-radius: 12px;
        border-left: 3px solid var(--accent);
        text-align: left;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    .feature-text h3 {
        font-size: 1rem;
        margin-bottom: 4px;
        color: #ffffff !important;
    }
    
    .feature-text p {
        font-size: 0.85rem;
        line-height: 1.4;
        color: #CBD5E1 !important;
        margin: 0 !important;
        text-shadow: none !important;
    }
    
    /* CONTROLES - REPOSICIONAR */
    .slider-controls {
        position: absolute;
        bottom: 20px !important;
        left: 20px !important;
        right: auto !important;
        transform: none !important;
        display: flex;
        gap: 10px;
        align-items: center;
        z-index: 100 !important;
    }
    
    .slider-nav {
        display: flex;
        gap: 10px;
    }
    
    .slider-btn {
        width: 42px !important;
        height: 42px !important;
        background: rgba(15, 23, 42, 0.95) !important;
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        color: white;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    .slider-btn:active {
        transform: scale(0.95);
        background: var(--accent) !important;
    }
    
    /* Ocultar dots y contador en móvil */
    .slider-dots,
    .slide-counter {
        display: none !important;
    }
    
    /* Botones sociales - ajustar posición */
    .top-links {
        bottom: 20px !important;
        right: 20px !important;
    }
}

/* Móvil pequeño adicional */
@media (max-width: 480px) {
    .slide-text h1 {
        font-size: 1.6rem !important;
    }
    
    .slide-text p {
        font-size: 0.95rem !important;
    }
    
    .feature-item {
        padding: 14px !important;
    }
    
    .slider-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 0.9rem !important;
    }
    
    .slider-controls {
        bottom: 15px !important;
        left: 15px !important;
    }
}