
/* Base Styles - Español */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --light: #f8fafc;
    --dark: #1e293b;
}

body {
    line-height: 1.6;
    color: var(--dark);
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    hyphens: auto;
    word-wrap: break-word;
    scroll-behavior: smooth;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.section {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Accessibility Focus Styles */
a:focus, button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* FAQ Animation */
.border-gray-200 {
    transition: all 0.3s ease;
    cursor: pointer;
}

.border-gray-200:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.border-gray-200 p {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button Effects */
.btn-primary {
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* Ensure all links have proper cursor */
a {
    cursor: pointer;
}

/* Button hover effects */
.bg-yellow-400:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
}
/* Card Effects */
.card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* Floating Elements */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }
}

/* Print Styles */
@media print {
    .bg-yellow-400, .bg-blue-500, .bg-blue-600 {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    footer, #compra {
        page-break-after: avoid;
    }
}
