:root {
    --primary-color: #0066cc;
    --text-color: #333;
    --card-bg: white;
    --border-color: #e1e1e1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 80px; /* Altura del nav */
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-button i {
    font-size: 1.2rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #0052a3;
    color: white;
}

/* Ajustes para elementos fijos */
.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Dark Mode */
[data-theme="dark"] {
    --text-color: #fff;
    --card-bg: #2a2a2a;
    --border-color: #444;
    background: #1a1a1a;
}

/* Loading Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading i {
    animation: spin 1s linear infinite;
}

/* Footer Styles */
footer,
.footer-content,
.footer-section,
.contact-section,
.contact-container {
    text-align: center !important;
}

.footer-content,
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer *,
.contact-section * {
    float: none;
    position: relative;
}

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

    h2 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}
