.system-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);
}

.system-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-repeat: no-repeat;
    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;
}

.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;
}

.process-section {
    padding: 8rem 2rem;
    background: white;
    color: black;
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
}

.process-container h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.2;
    letter-spacing: -3px;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  
  .process-step.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Elimina cualquier animación o delay existente */
  .process-step:nth-child(1),
  .process-step:nth-child(2),
  .process-step:nth-child(3),
  .process-step:nth-child(4),
  .process-step:nth-child(5),
  .process-step:nth-child(6) {
    animation: none;
    animation-delay: 0s;
  }

.step-number {
    width: 100px;
    height: 100px;
    background: black;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 2rem;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.process-step p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.details-section {
    padding: 4rem 2rem;
}

.details-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.details-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -3px;
}

.details-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 350;
    letter-spacing: -0.5px;
    margin-bottom: 3rem;
}

.details-list {
    list-style: none;
    padding: 0;
}

.details-list li {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.details-list li::before {
    content: '•';
    color: #666;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.details-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.details-image:hover img {
    transform: scale(1.05);
}

.quality-section {
    padding: 8rem 2rem;
    min-height: 100vh;
    background: white;
    color: black;
}

.quality-container {
    max-width: 1400px;
    margin: 0 auto;
}

.quality-container h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 4.5rem;
    line-height: 1.2;
    letter-spacing: -3px;
    text-align: center;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.quality-item {
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.quality-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.quality-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.quality-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.testimonial-section {
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem;
}

.quality-item:hover {
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/banner_transparente.png') no-repeat center center;
    background-size: cover;
    transform: translateZ(0);
    z-index: -1;
    will-change: transform;
    height: 120%;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

blockquote {
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 350;
    margin-bottom: 2rem;
}

cite {
    font-size: 1.2rem;
    font-weight: 350;
}

@media (max-width: 1200px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        margin-bottom: 4rem;
    }

    .details-container,
    .quality-grid {
        grid-template-columns: 1fr;
    }

    .details-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .process-container h2,
    .details-content h2,
    .quality-container h2 {
        font-size: 2.5rem;
    }

    blockquote {
        font-size: 1.5rem;
    }
}