/* Variables Globales */
:root {
    --primary-color: #004fae;
    --secondary-color: #ffffff;
    --text-color: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f8f8;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Imagen flotante */
.floating-image {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 100px;
    height: auto;
    z-index: 2000;
    cursor: pointer;
    transition: var(--transition);
}

.floating-image:hover {
    transform: scale(1.1);
}

/* Contenedor Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.top-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.wrap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.brand-logo {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.main-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.menu-item {
    text-decoration: none;
    color: blue;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
    white-space: nowrap;
}

.menu-item:hover,
.menu-item.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    color: var(--primary-color);
    padding: 6rem 0 4rem;
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* FAQ Section */
.benefit-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-section {
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background-color: var(--white);
    transition: var(--transition);
}

.faq-section[hidden] {
    display: none;
}

.faq-section h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Botones */
.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.button:hover {
    background-color: #003a7a;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: #3ab34c;
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--white);
}

.footer-link a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon img {
    width: 32px;
    height: 32px;
    transition: var(--transition);
}

.social-icon:hover img {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    color: var(--white);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animaciones */
.fade-in {
    animation: fadeIn 0.5s ease-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .top-header {
        width: 100%;
        border-radius: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem;
        color: blue;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
    }
    
    .menu-toggle span {
        height: 3px;
        width: 100%;
        background-color: var(--primary-color);
        border-radius: 3px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .floating-image {
        width: 80px;
        right: 10px;
        bottom: 10px;
    }
}