/* Servicios Page Specific Styles */

/* Hero Section */
.servicios-hero {
    position: relative;
    min-height: 60vh;
    background-image: url('../img/Servicios.jpeg');
    background-position: bottom center; /* bgpos-bottom-center */
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    filter: sepia(50%); /* Enhanced sepia filter */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Disable parallax on mobile for performance */
@media (max-width: 768px) {
    .servicios-hero {
        background-attachment: scroll;
    }
}

/* Black overlay for hero section - overlay-black */
.servicios-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* overlay-black - darker overlay */
    z-index: 1;
}

/* Hero content */
.servicios-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.servicios-hero-title {
    color: #fff; /* Mejor contraste sobre overlay oscuro */
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Main content section */
.servicios-content {
    padding: 60px 0; /* Exact 60px spacing as specified in task (4rem = 64px, changed to exact 60px) */
    background: #000;
}

.servicios-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Introductory text section */
.servicios-intro {
    margin-bottom: 3rem;
    text-align: left;
}

.servicios-intro-text {
    font-size: 1.1rem; /* wnd-font-size-110 */
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #333333; /* wsw-10 */
}

.servicios-brand {
    color: #f4d03f; /* wsw-33 - brand color */
    font-weight: bold;
}

.servicios-highlight {
    color: #555555; /* wsw-13 */
    font-weight: bold;
}

/* Services list styling */
.servicios-list {
    margin-top: 48px; /* 3rem = 48px, keeping consistent spacing */
}

.servicios-main-list {
    list-style: none;
    counter-reset: service-counter;
    padding: 0;
    margin: 0;
}

.servicios-main-item {
    counter-increment: service-counter;
    margin-bottom: 48px; /* 3rem = 48px, keeping consistent spacing */
    padding: 32px; /* 2rem = 32px, keeping consistent spacing */
    background: #000;
    border-radius: 8px;
    border-left: 4px solid #f4d03f;
    position: relative;
}

.servicios-main-item::before {
    content: counter(service-counter);
    position: absolute;
    top: 1rem;
    left: -2rem;
    background: #f4d03f;
    color: #000;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.servicios-service-title {
    color: #333333; /* wsw-10 */
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.servicios-service-description {
    color: #333333; /* wsw-10 */
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Sub-lists styling */
.servicios-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.servicios-sub-item {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.servicios-sub-item::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #f4d03f;
    font-weight: bold;
    font-size: 1.2rem;
}

.servicios-sub-item p {
    margin: 0;
    color: #333333; /* wsw-10 */
    line-height: 1.5;
}

.servicios-sub-highlight {
    color: #555555; /* wsw-13 */
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .servicios-hero {
        min-height: 50vh;
        background-attachment: scroll; /* Disable parallax on mobile for performance */
        filter: sepia(40%); /* Slightly reduced sepia on mobile */
    }
    
    .servicios-hero-title {
        font-size: 2rem;
    }
    
    .servicios-container {
        padding: 0 1rem;
    }
    
    .servicios-main-item {
        padding: 1.5rem;
        margin-left: 1rem;
    }
    
    .servicios-main-item::before {
        left: -1.5rem;
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .servicios-service-title {
        font-size: 1.3rem;
    }
    
    .servicios-intro-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .servicios-hero-title {
        font-size: 1.8rem;
    }
    
    .servicios-main-item {
        margin-left: 0.5rem;
        padding: 1rem;
    }
    
    .servicios-main-item::before {
        left: -1rem;
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.9rem;
    }
}

/* Print styles */
@media print {
    .servicios-hero {
        background: none;
        filter: none;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .servicios-hero-overlay {
        display: none;
    }
    
    .servicios-hero-title {
        color: #000;
        text-shadow: none;
    }
}