/* Servicios - Layout actualizado */

.servicios-apple {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    background: #ffffff;
}

/* Navbar igual al index */
.navbar.sticky-white {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 16px 0;
}

.navbar.sticky-white .logo.black {
    color: #000000;
    font-size: 28px;
    font-weight: 800;
}

.navbar.sticky-white .nav-links a {
    color: #333333;
}

.btn-contact-blue {
    background: #3B82F6;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
}

/* Hero con video de fondo */
.hero-apple {
    position: relative;
    padding: 200px 0 160px;
    text-align: center;
    overflow: hidden;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-bg video {
    position: absolute;
    top: 80%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: sepia(0.2) saturate(1.3) contrast(1.1) brightness(1.15);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

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

.hero-content .eyebrow {
    color: #ffffff !important;
    font-weight: 600;
}

.hero-content h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-content .subhead {
    color: #ffffff !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-seo-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.hero-seo-tags span {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.container-apple {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

.eyebrow {
    font-size: 21px;
    font-weight: 600;
    color: #6e6e73;
    margin-bottom: 8px;
}

.hero-apple h1 {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.subhead {
    font-size: 24px;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto;
}

/* Secciones compactas (10% menos alto) */
.section-apple {
    padding: 80px 0;
}

.section-apple.compact {
    padding: 60px 0;
}

.bg-white {
    background: #ffffff;
}

.bg-gray {
    background: #f5f5f7;
}

.bg-dark {
    background: #000000;
}

/* Grid single para bloques individuales */
.grid-apple.single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.grid-apple.single.center {
    text-align: center;
}

.grid-apple.single.center .text-apple {
    max-width: 500px;
    margin: 0 auto;
}

/* Grid 2 columnas para Marketing + ADS */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.service-half {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.service-half.featured-half {
    border: 2px solid #8B5CF6;
}

.badge-apple {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Texto */
.text-apple h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
    line-height: 1.2;
}

.text-apple.white h2 {
    color: #ffffff;
}

.description {
    font-size: 18px;
    color: #86868b;
    line-height: 1.5;
    margin-bottom: 24px;
}

.text-apple.white .description {
    color: #a1a1a6;
}

/* Features */
.features-apple {
    list-style: none;
    padding: 0;
}

.features-apple li {
    font-size: 16px;
    color: #1d1d1f;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

.features-apple.compact li {
    padding: 6px 0;
    font-size: 14px;
}

.text-apple.white .features-apple li {
    color: #f5f5f7;
    border-bottom-color: #424245;
}

/* Visual e imágenes */
.visual-apple {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img,
.service-video {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.service-video {
    display: block;
}

/* CTA Final */
.cta-final-apple {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-final-apple h2 {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.cta-final-apple p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
}

.btn-apple-white {
    display: inline-block;
    padding: 16px 36px;
    background: white;
    color: #8B5CF6;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-apple-white:hover {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 968px) {
    .grid-apple.single,
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-apple h1 {
        font-size: 48px;
    }
    
    .text-apple h2 {
        font-size: 32px;
    }
    
    .service-img {
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .hero-apple h1 {
        font-size: 36px;
    }
    
    .section-apple.compact {
        padding: 40px 0;
    }
    
    .service-half {
        padding: 30px 24px;
    }
}