/* CSS personalizado para Ponte Bonita */

html {
    scroll-behavior: smooth;
}

/* Base class for scroll animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service overrides */
.service-card:hover .service-image {
    transform: scale(1.05);
}

/* Service Card Accordion */
.treatment-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out;
}
.service-card.is-expanded .treatment-details {
    max-height: 200px; /* Suficiente para las listas */
    opacity: 1;
}
.service-card.is-expanded .expand-icon {
    transform: rotate(180deg);
}
