/* assets/css/services.css */
.services-page-section { padding: 60px 0; background-color: var(--gray); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service-img-wrapper { width: 100%; height: 220px; overflow: hidden; }

.service-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.05); /* Zoom suave */
}

.service-card-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }

.service-card-body h3 {
    color: var(--primary-blue); font-size: 1.4rem; margin-bottom: 15px; display: flex; align-items: center; gap: 10px;
}

.service-card-body h3 i { color: var(--brand-green); font-size: 1.2rem; }

.service-card-body p {
    color: #555; font-size: 0.95rem; margin-bottom: 25px; flex-grow: 1;
}

.btn-outline {
    background: transparent; border: 2px solid var(--brand-green); color: var(--brand-green); text-align: center; padding: 10px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: 0.3s ease;
}

.btn-outline:hover { background: var(--brand-green); color: var(--white); }

/* --- RESPONSIVIDAD DEL TÍTULO HERO --- */
.services-hero-title {
    font-family: 'Titan One', cursive;
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--brand-orange);
}

@media (max-width: 768px) {
    .services-hero-title {
        font-size: 2.1rem; /* Más pequeño en celular para que no se desborde */
    }
}

/* --- ANCLAS PARA EL SCROLL DEL FOOTER --- */
.service-card {
    /* El resto de tus estilos de service-card se mantienen iguales... */
    scroll-margin-top: 120px; /* Evita que el menú tape la tarjeta al saltar desde el footer */
}