body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
}

header {
    background-color: #003366; /* Blu scuro */
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    padding-top: 0.5rem;
}

.logo img {
    height: 3rem;
    width: auto;
}

ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

li {
    margin-left: 2rem;
}

a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    background: linear-gradient(45deg, #003366, #006600);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

a:hover {
    background: none;
    transform: none;
    box-shadow: none;
    color: #006600;
}

.active {
    background-color: #004d4d; /* Variante di verde scuro */
}

/* Beneficios Section */
.beneficios {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
}

.beneficios-wrapper {
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid #cccccc;
    padding-top: 20px;
    padding-right: 25px;
    padding-left: 25px;
    padding-bottom: 20px;
}

.beneficio {
    background-color: #003366;
    color: white;
    border: 1px solid #002244;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 1.1rem;
    line-height: 1.6;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.beneficio:hover {
    background-color: #004d4d;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Modern styles for headings */
h1, h2 {
    color: #003366;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 1.8rem;
}

/* Footer */
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
}

/* Contact Page Styles */
.contact-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.contact-info {
    flex: 1;
    background-color: #f0f0f0;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #000000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-info h2 {
    color: #003366;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #003366;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #006600;
    box-shadow: 0 0 5px rgba(0, 102, 0, 0.3);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(45deg, #003366, #006600);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem 0;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-logo {
    flex: 0 0 auto;
}

.cta-message {
    flex: 1;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #003366;
}

.cta-button a {
    background-color: #003366;
    color: white;
    padding: 0.75rem 1rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 4rem;
    }
    .hamburger {
        display: block;
        order: 2;
        padding-bottom: 0.5rem;
    }
    ul {
        display: none;
        position: static;
        width: auto;
        background-color: transparent;
        flex-direction: row;
        justify-content: flex-end;
        margin-top: 0;
        padding: 0;
        box-shadow: none;
        order: 3;
    }
    ul.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #003366;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 10;
    }
    li {
        margin: 0.5rem 0;
        text-align: center;
    }
    a {
        padding: 0.5rem 1rem;
        background: none;
        box-shadow: none;
        border-radius: 0;
    }
    a:hover {
        background: none;
        transform: none;
        box-shadow: none;
        color: #006600;
    }
    .beneficios {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .beneficios-wrapper {
        padding: 1rem;
    }
    main {
        margin-top: 0;
        padding: 1rem;
    }
    .responsive-table, .responsive-table thead, .responsive-table tbody, .responsive-table th, .responsive-table td, .responsive-table tr {
        display: block;
    }
    .responsive-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .responsive-table tr {
        border: 1px solid #ccc;
        margin-bottom: 1rem;
        background: white;
    }
    .responsive-table tr:nth-child(even) {
        background: #f0f0f0;
    }
    .responsive-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: static;
        padding: 0.75rem 0.5rem;
        text-align: left;
        display: block;
    }
    .responsive-table td:before {
        content: attr(data-label) ": ";
        position: static;
        left: auto;
        width: auto;
        padding-right: 0;
        white-space: normal;
        font-weight: bold;
        color: #003366;
        display: inline;
    }
    .responsive-table td[data-label="App"]:before,
    .responsive-table td[data-label="Acción"]:before {
        content: none;
    }
    /* Responsive for Contact */
    .contact-container {
        flex-direction: column;
        gap: 1rem;
    }
    .contact-info,
    .contact-form {
        padding: 1rem;
        width: 90%;
        box-sizing: border-box;
    }
    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    .submit-btn {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    main {
        padding: 0 1rem;
    }
    /* Responsive CTA fix */
    .cta-container {
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: stretch !important;
        padding: 0 1rem !important;
    }
    .cta-logo {
        text-align: center;
        margin-bottom: 0.5rem;
    }
    .cta-message {
        font-size: 1rem !important;
        text-align: center !important;
        margin-bottom: 0.5rem;
    }
    .cta-button {
        text-align: center !important;
        width: 100%;
    }
    .cta-button a {
        width: 95% !important;
        display: block !important;
        text-align: center !important;
        padding: 0.75rem !important;
        font-size: 1.1rem !important;
        border-radius: 25px !important;
    }
}