:root {
    --primary: #004aad;
    --accent: #ffb703;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #2b2b2b;
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
    height: 85vh;
    background: linear-gradient(rgba(0, 74, 173, 0.75), rgba(0, 0, 0, 0.4)), 
                url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
}

/* Imagen con rotación */
.img-frame {
    padding: 12px;
    background: white;
    border-radius: 20px;
    transform: rotate(-1.5deg);
    transition: 0.3s;
}
.img-frame:hover { transform: rotate(0deg); }

/* WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px; right: 30px;
    background-color: #25d366;
    color: white; width: 60px; height: 60px;
    border-radius: 50%; text-align: center;
    font-size: 30px; line-height: 60px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000; transition: 0.3s;
}
.whatsapp-btn:hover { transform: scale(1.1); color: white; }

/* Carrusel Infinito de Obras Sociales */
.logos-slider {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    position: relative;
    background: #fff;
}

.logos-track {
    display: flex;
    width: calc(250px * 12); /* Ancho de cada card * total de cards */
    animation: scroll 40s linear infinite;
}

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

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); } /* Mueve la mitad exacta */
}

.insurance-card {
    width: 230px;
    margin: 0 10px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    flex-shrink: 0;
}

.insurance-card img {
    max-width: 140px;
    height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: 0.4s;
    margin-bottom: 15px;
}

.insurance-card span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #999;
    letter-spacing: 1px;
}

.insurance-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 74, 173, 0.1);
    transform: translateY(-5px);
}

.insurance-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.insurance-card:hover span {
    color: var(--primary);
}

/* Especialidades Cards */
.card-hover:hover { transform: translateY(-8px); transition: 0.3s; }
.icon-box { width: 60px; height: 60px; background: #e7f0ff; border-radius: 12px; display: flex; align-items: center; justify-content: center; }

/* Botones y Footer */
.btn-primary { background-color: var(--primary); border: none; }
.btn-warning { background-color: var(--accent); border: none; color: #000; }
.footer-link { color: rgba(255, 255, 255, 0.5); transition: 0.3s; }
.footer-link:hover { color: var(--accent); }