/* Estilos específicos para la página de Servicios */

/* Hero de Servicios */
.servicios-hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
}

/* Asegurar que estos estilos no afecten al menú */
.servicios-title {
    font-size: 5rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    margin-top: 50px; /* Aumentado para dar más espacio */
    visibility: visible !important; /* Forzar visibilidad */
}

/* Ajustar la posición del contenido del hero para evitar interferencias con el menú */
.hero-content-wrapper {
    position: absolute;
    width: 100%;
    top: 55%; /* Ajustar para bajar un poco el contenido */
    transform: translateY(-45%); /* Reducir la compensación para que no quede tan arriba */
    z-index: 10;
    padding-top: 80px; /* Añadir padding superior para evitar que quede bajo el menú */
}

.servicios-subtitle {
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Degradado entre secciones */
.servicios-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 1));
    z-index: 2;
}

/* Tarjetas de servicios */
.servicios-cards {
    padding: 100px 0;
    background: var(--light-color);
    position: relative;
}

/* Degradado superior de la sección de tarjetas */
.servicios-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, transparent, rgba(0, 0, 0, 1));
    z-index: 1;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.servicio-card {
    display: flex;
    background-color: #f5f5f5;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.servicio-card:nth-child(odd) {
    background-color: #f0f0f0;
}

.servicio-icon {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.servicio-card:hover .servicio-icon {
    color: var(--light-color);
    background-color: var(--primary-color);
}

.servicio-content {
    flex: 1;
    padding: 30px;
}

.servicio-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.servicio-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.servicio-card:hover .servicio-content h2:after {
    width: 80px;
}

.servicio-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.servicio-content .btn-more {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.servicio-content .btn-more:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Sección CTA con degradado superior */
.cta-section {
    padding: 100px 0;
    position: relative;
    color: var(--light-color);
    text-align: center;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, transparent, rgba(0, 0, 0, 1));
    z-index: 1;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.cta-content h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 700;
}

/* Media Queries */
@media (max-width: 992px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .servicios-title {
        font-size: 4rem;
    }
    
    .cta-content h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .servicios-title {
        font-size: 3rem;
    }
    
    .servicios-subtitle {
        font-size: 1.2rem;
    }
    
    .servicio-card {
        flex-direction: column;
    }
    
    .servicio-icon {
        flex: 0 0 auto;
        padding: 30px 0;
        width: 100%;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
    
    .servicios-hero {
        height: 70vh;
    }
}

@media (max-width: 576px) {
    .servicios-title {
        font-size: 2.5rem;
    }
    
    .servicios-hero {
        height: 60vh;
    }
} 