:root {
    --primary: #0069d9;
    --primary-dark: #004a9f;
    --secondary: #e8f4ff;
    --accent: #00c6a7;
    --text: #2d3748;
    --light-gray: #f8fafc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--light-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    color: var(--text);
}

.container {
    display: flex;
    max-width: 1100px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    
}

.hero-section {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 0 50px 40px 50px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    
    
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position:  center;
    opacity: 0.5;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: -220px !important;
    transition: margin 0.3s ease;
}

.hero-content {
    position: relative;
    z-index: 2;
    

}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.3;
}

.hero-section p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 90%;
}

.benefits-list {
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.benefit-icon {
    min-width: 28px;
    height: 28px;
    margin-right: 15px;
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.benefit-text {
    flex: 1;
}

.benefit-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.benefit-desc {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

.form-section {
    flex: 1;
    background-color: var(--white);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-section h2 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.form-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background-color: var(--light-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 105, 217, 0.1);
    background-color: var(--white);
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
}

.radio-item input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.radio-item label {
    font-size: 15px;
    color: var(--text);
    cursor: pointer;
}

.checkbox-group {
    margin: 30px 0;
}

.checkbox-group h3 {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--text);
    font-weight: 600;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
}

.checkbox-item input {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-item label {
    font-size: 15px;
    color: var(--text);
    cursor: pointer;
}

.submit-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 105, 217, 0.2);
}

.submit-btn svg {
    margin-left: 8px;
    width: 18px;
    height: 18px;
}





@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }
    
    .hero-section, .form-section {
        padding: 40px;
        padding-top: 20px;
        padding: 20px 30px 40px 30px !important;
        
    }
    .hero-image {
        margin-top: 0 !important; /* Eliminamos el margen negativo en móvil */
        margin-bottom: 15px !important;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section, .form-section {
        padding: 30px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}