/* Contenedor Principal */
.servicios-main-container {
    padding-top: 150px; /* Espacio para la navbar */
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.servicios-mzn {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
}

.servicios-header {
    text-align: center;
    margin-bottom: 60px;
}

.titulo-servicios {
    color: #f5a623;
    font-size: 3rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.subtitulo-servicios {
    color: #ccc;
    font-size: 1.2rem;
}

/* Grid de Servicios */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Tarjetas Individuales */
.servicio-card {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid #333;
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.servicio-card:hover {
    border-color: #f5a623;
    transform: translateY(-10px);
    background: rgba(20, 20, 20, 0.95);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.2);
}

.servicio-icono {
    font-size: 4rem;
    margin-bottom: 20px;
}

.servicio-card h3 {
    color: #f5a623;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.servicio-card p {
    color: #eee;
    line-height: 1.6;
    font-size: 1rem;
}

.card-footer {
    margin-top: 20px;
}

.link-cotizar {
    color: #f5a623;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}

.link-cotizar:hover {
    letter-spacing: 2px;
}

/* Animación Reveal que usas en el index */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease all;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* Ajuste para el contenedor de imágenes en las tarjetas */
.servicio-imagen-container {
    width: 100%;
    height: 180px; /* Altura fija para que todas se vean iguales */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #444;
}

.servicio-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto hace que la imagen llene el espacio sin estirarse */
    transition: transform 0.4s ease;
}

.servicio-card:hover .servicio-img {
    transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}

/* Ajuste del Grid para soportar 9 elementos de forma estética */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}