.demo-hero {
    padding-top: 95px;
    padding-bottom: 95px;
}

.demo-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.demo-hero p {
    max-width: 820px;
    margin-bottom: 0;
}

.demo-section {
    padding: 90px 24px 110px;
    background: #f8fafc;
}

.demo-layout {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 70px;
    align-items: start;
}

.demo-copy {
    padding-top: 18px;
}

.demo-copy h2 {
    margin: 0 0 18px;
    color: #0f172a;
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.demo-intro {
    margin: 0 0 38px;
    max-width: 610px;
    color: #475569;
    font-size: 18px;
    line-height: 1.75;
}

.demo-benefits {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.demo-benefit {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    align-items: start;
}

.demo-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    color: #047857;
    font-size: 20px;
}

.demo-benefit h3 {
    margin: 1px 0 7px;
    color: #0f172a;
    font-size: 18px;
}

.demo-benefit p {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.demo-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
}

.demo-form-card>h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 28px;
    letter-spacing: -0.02em;
}

.demo-form-card>p {
    margin: 0 0 28px;
    color: #64748b;
    line-height: 1.65;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

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

.form-group label {
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.form-group label span {
    color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    font-size: 15px;
    padding: 12px 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.55;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.form-group .input-error {
    border-color: #dc2626;
}

.field-error {
    color: #b91c1c;
    font-size: 13px;
}


.form-privacy {
    margin: -2px 0 0;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.form-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 22px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.form-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.form-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.demo-form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
}

.demo-form-actions .cf-turnstile {
    flex: 0 0 auto;
    margin: 0;
}

.demo-form-actions .demo-submit-btn {
    flex: 1;
    margin: 0;
    min-height: 48px;
}

.demo-submit-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
    padding: 14px 20px;
    font-size: 15px;
}


@media (max-width: 900px) {
    .demo-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .demo-copy {
        padding-top: 0;
    }
}

@media (max-width: 620px) {
    .demo-section {
        padding: 60px 18px 80px;
    }

    .demo-form-card {
        padding: 26px 20px;
        border-radius: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .demo-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .demo-form-actions .cf-turnstile {
        align-self: center;
    }

    .demo-form-actions .demo-submit-btn {
        width: 100%;
    }

}