/* formulador.css - Estilos para la Landing de Veterinarios */

:root {
    --primary-blue: #24597f;
    --primary-light-blue: #3a7caf;
    --accent-green: #a4e5bb;
    --dark-green: #2c7a7b;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-promo {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a4563 100%);
    padding: 100px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-promo h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
}

.hero-promo p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-button {
    background: var(--accent-green);
    color: var(--primary-blue);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(164, 229, 187, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(164, 229, 187, 0.6);
}

/* Feature Grid */
.features-section {
    padding: 80px 20px;
    background: #fdfdfd;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 100px;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.feature-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform 0.5s ease;
}

/* Efecto para imágenes largas (Historial y Reporte) */
.scroll-reveal {
    height: 450px;
    width: 100%;
    max-width: 550px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    position: relative;
    background: #f0f0f0;
    cursor: pointer;
}

.scroll-reveal img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 !important; /* Quitamos para que el scroll sea limpio */
    box-shadow: none !important;
    transition: transform 8s ease-in-out !important; /* Scroll suave y lento */
}

.scroll-reveal:hover img {
    transform: translateY(calc(450px - 100%));
}

.feature-image img:not(.scroll-reveal img):hover {
    transform: scale(1.02);
}

/* Icons/Badges */
.feature-badge {
    background: rgba(36, 89, 127, 0.1);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: inline-block;
}

/* Stats Section */
.stats-section {
    background: var(--primary-blue);
    color: white;
    padding: 60px 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 968px) {
    .feature-row, .feature-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .hero-promo h1 {
        font-size: 2.5rem;
    }
}
