body { font-family: 'Montserrat', sans-serif; }
h1, h2, h3, h4, .font-serif { font-family: 'Cinzel', serif; }

/* ===== Hero Float Animation (Odontologia) ===== */
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== Service Cards ===== */
.service-card {
    padding-top: 2rem;
}

.service-card:nth-child(2) {
    transform: translateY(1rem);
}

.service-card:nth-child(5) {
    transform: translateY(1rem);
}

@media (max-width: 639px) {
    .service-card:nth-child(2),
    .service-card:nth-child(5) {
        transform: translateY(0);
    }
}

/* Infinite Carousel Animation */
@keyframes scroll-left-to-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll-left-to-right 40s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

/* ===== Testimonials Section ===== */

/* Auto-scroll animation for testimonial cards */
@keyframes testimonial-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: testimonial-scroll 45s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

/* Testimonial card styling */
.testimonial-card {
    flex-shrink: 0;
    width: 340px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(13, 110, 253, 0.12);
}

/* Star rating gold color */
.star-gold {
    color: #f59e0b;
}

/* Google badge shimmer effect */
@keyframes badge-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.google-badge-shimmer {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: badge-shimmer 4s ease-in-out infinite;
}

/* Fade-in on scroll (used by JS IntersectionObserver) */
.testimonial-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.testimonial-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pause icon hint on hover */
.testimonials-wrapper {
    position: relative;
    cursor: grab;
}

.testimonials-wrapper::after {
    content: '⏸';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 20;
    background: rgba(255,255,255,0.9);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Quote decorative icon */
.quote-icon {
    font-size: 2.5rem;
    line-height: 1;
    color: rgba(13, 110, 253, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    pointer-events: none;
}
