:root {
    --primary-color: #00447c; /* Dark blue from Seguros del Este */
    --primary-light: #1a6baa; /* Lighter blue */
    --secondary-color: #f0f4f8; /* Light blue-gray background */
    --accent-color: #e63946; /* Red accent */
    --text-color: #333;
    --light-gray: #e9ecef;
    --border-radius: 4px; /* Less rounded corners */
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Montserrat', sans-serif; /* More corporate font */
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
}

.menu-button {
    background: none;
    border: none;
    font-size: 1.2rem;
    margin-right: 15px;
    cursor: pointer;
    color: var(--primary-color);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-circle {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.logo-circle i {
    color: white;
    font-size: 0.9rem;
}

.header-right {
    display: flex;
    align-items: center;
}

.language-selector {
    display: flex;
    margin-right: 20px;
}

.lang-btn {
    background: none;
    border: 1px solid #ddd;
    margin: 0 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    padding: 2px;
    border-radius: 2px;
}

.lang-btn.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.lang-btn img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    display: block;
}

.contact-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 8px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.contact-button:hover {
    background-color: #d62839;
}

/* Hero Section */
.hero-section {
    background-color: var(--secondary-color);
    padding: 40px 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="400" viewBox="0 0 1440 400"><path d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z" fill="%23e9ecef" opacity="0.3"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100%;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="400" viewBox="0 0 1440 400"><path d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,122.7C960,117,1056,171,1152,197.3C1248,224,1344,224,1392,224L1440,224L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z" fill="%23e9ecef" opacity="0.3"></path></svg>');
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100%;
    z-index: 0;
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

h1 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 700;
}

/* Insurance Tabs */
.insurance-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--light-gray);
    border: none;
    padding: 12px 25px;
    margin: 0 5px 10px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Quote Form */
.quote-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    display: none;
    border: 1px solid #e1e8ed;
}

.quote-form.active {
    display: block;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.form-group {
    flex: 1;
    min-width: 200px;
    padding: 0 10px;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    appearance: none;
    background-color: white;
    font-family: 'Montserrat', sans-serif;
    color: #555;
}

select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.quote-button {
    display: block;
    margin: 10px auto 0;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quote-button:hover {
    background-color: #d62839;
}

/* Partners Section */
.partners-section {
    padding: 30px 0;
    background-color: #fff;
    border-top: 1px solid #e1e8ed;
    border-bottom: 1px solid #e1e8ed;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo {
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Value Section */
.value-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
    text-align: center;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.savings {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #555;
}

.savings strong {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.step p {
    color: #666;
    font-size: 0.95rem;
}

.step-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

/* Footer */
footer {
    padding: 20px 0;
    background-color: #fff;
    border-top: 1px solid #e1e8ed;
}

.disclaimer {
    background-color: var(--secondary-color);
    padding: 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    border: 1px solid #e1e8ed;
}

.disclaimer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.autogestion-button {
    margin-top: 20px;
    margin-bottom: 20px;
}

.autogestion-button button {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.autogestion-button button:hover {
    background-color: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
    
    .form-group {
        flex: 100%;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .steps-container {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .header-container {
        flex-direction: column;
    }
    
    .header-right {
        margin-top: 15px;
    }
    
    .insurance-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        margin-bottom: 10px;
    }
}