/* ========================================
   Global Styles & Reset
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF6B35;
    --dark-orange: #E55A2B;
    --light-orange: #FFE5DC;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --text-dark: #212529;
    --success-green: #28A745;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ========================================
   Header
   ======================================== */
.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
    width: auto;
}

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

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--dark-orange);
    transform: scale(1.05);
}

/* ========================================
   Form Section (Primera sección después del header)
   ======================================== */
.form-section {
    background: linear-gradient(135deg, #FFE5DC 0%, #FFFFFF 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.form-wrapper {
    position: relative;
    z-index: 1;
}

.form-intro {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.form-title .highlight {
    color: var(--primary-orange);
    position: relative;
    display: inline-block;
}

.form-subtitle {
    font-size: 20px;
    color: var(--medium-gray);
    line-height: 1.5;
}

/* ========================================
   Form Container
   ======================================== */
.form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--medium-gray);
    font-size: 16px;
}

/* ========================================
   Form Styles
   ======================================== */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 14px 18px;
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255,107,53,0.1);
}

.form-group input::placeholder {
    color: #ADB5BD;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-orange);
}

.checkbox-label a {
    color: var(--primary-orange);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--dark-orange);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

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

.submit-btn:active {
    transform: translateY(0);
}

.form-disclaimer {
    text-align: center;
    font-size: 13px;
    color: var(--medium-gray);
    margin-top: 8px;
}

/* ========================================
   Success Message
   ======================================== */
.success-message {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #E8F5E9 0%, #FFFFFF 100%);
    border-radius: 15px;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 24px;
    animation: scaleIn 0.5s ease;
}

.success-message h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.success-message p {
    font-size: 16px;
    color: var(--medium-gray);
    line-height: 1.7;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* ========================================
   Benefits Section
   ======================================== */
.benefits-section {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid #E9ECEF;
}

.benefits-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light-orange);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark-gray);
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: 60px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step p {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-orange);
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    color: rgba(255,255,255,0.7);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-orange);
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .form-title {
        font-size: 40px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .form-title {
        font-size: 32px;
    }

    .form-subtitle {
        font-size: 18px;
    }

    .benefits-grid {
        flex-direction: column;
        align-items: center;
    }

    .benefit-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .form-container {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .cta-section p {
        font-size: 18px;
    }

    .header .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .phone-link {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 40px 0;
    }

    .form-title {
        font-size: 28px;
    }

    .form-subtitle {
        font-size: 16px;
    }

    .form-header h2 {
        font-size: 24px;
    }

    .submit-btn {
        font-size: 16px;
        padding: 14px 24px;
    }

    .section-title {
        font-size: 28px;
    }


}