.services-page {
    background: black;
    color: white;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for grid items */
.values-grid .animate-on-scroll,
.team-grid .animate-on-scroll,
.stats-container .animate-on-scroll {
    transition-delay: calc(var(--item-index) * 0.1s);
}

.services-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-repeat: no-repeat;
    background-image: url('../images/banner_transparente.png');
    background-size: cover;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -3px;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-subtitle {
    color: #666;
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 350;
    letter-spacing: -0.5px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.7s;
}

.service-section {
    padding: 4rem 2rem;
    min-height: 100vh !important;
}

.service-section:nth-child(even) {
    background: white;
    color: black;
}

.service-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-container.reverse {
    direction: rtl;
}

.service-container.reverse .service-content {
    direction: ltr;
}

.service-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -3px;
}

.service-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 350;
    letter-spacing: -0.5px;
    margin-bottom: 3rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.service-features li::before {
    content: '•';
    color: #666;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.service-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.cta-section {
    padding: 8rem 2rem;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('../images/banner_transparente.png') no-repeat center center;
    background-size: cover;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -3px;
}

.cta-container p {
    color: #666;
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 350;
    letter-spacing: -0.5px;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: white;
    border-radius: 10px;
    color: black;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
}

@media (max-width: 1200px) {
    .service-container {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .service-content h2 {
        font-size: 2.5rem;
    }
}