/* =============================================
   HOJA DE ESTILOS ESPECÍFICA - PÁGINA DE SERVICIOS
   ============================================= */

.hero-service-page {
    position: relative;
    padding: 6rem 1rem;
    color: var(--color-text-light);
    overflow: hidden;
    min-height: 80vh; /* Ocupa buena parte de la pantalla */
    display: flex;
    align-items: center;
}

/* Contenedor Absoluto de Imagen + Overlay */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gradiente profesional oscuro */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 25, 41, 0.95) 0%, rgba(26, 58, 90, 0.85) 100%);
}

/* Contenido (Sobre el fondo) */
.hero-container-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* --- COLUMNA IZQUIERDA: Texto --- */
.hero-text-content {
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(212, 160, 23, 0.2);
    color: var(--color-accent);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 160, 23, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    color: var(--color-text-light);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Botones Hero */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.hero-actions .btn {
    width: 100%;
    max-width: 320px;
}

/* --- COLUMNA DERECHA: Visuals / Cards --- */
.hero-visuals {
    width: 100%;
    display: flex;
    justify-content: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
}

/* Tarjetas con Glassmorphism */
.feature-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    min-height: 140px;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.feature-card svg {
    width: 36px;
    height: 36px;
    color: var(--color-accent);
    stroke-width: 1.5;
}

.feature-card span {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}


/* --- 2. SECCIÓN DE PROCESO (Metodología) --- */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    border-top: 4px solid var(--color-primary);
    text-align: left;
}

.step-number {
    background-color: var(--color-primary);
    color: var(--color-accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}


/* --- 3. CTA SECTION STYLES --- */
.cta-section {
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

.cta-title {
    color: white;
    font-size: 2rem;
}

.cta-text {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--color-primary);
    border: 2px solid white;
}

.cta-section .btn-primary:hover {
    background-color: transparent;
    color: white;
}

/* --- 4. MEDIA QUERIES (DESKTOP) --- */
@media (min-width: 992px) {
    /* Hero Desktop */
    .hero-service-page {
        padding: 4rem 1rem;
    }
    
    .hero-grid {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
    
    .hero-text-content {
        text-align: left;
    }

    .hero-title {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .hero-actions .btn {
        width: auto;
    }

    .features-grid {
        gap: 1.5rem;
    }

    /* Proceso Desktop */
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}




