.lgs-section {
    background: linear-gradient(180deg, #f4f8fd 0%, #ffffff 100%);
    padding: clamp(3rem, 7vw, 5.5rem) 1.5rem;
    scroll-margin-top: 2rem;
}

.lgs-container {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.lgs-confirmation {
    display: none;
    padding: 0 1.5rem clamp(1.5rem, 3vw, 2rem);
    scroll-margin-top: 2rem;
}

.lgs-confirmation.is-visible {
    display: block;
    animation: lgsFadeIn 0.4s ease;
}

.lgs-eyebrow {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(211, 170, 45, 0.15);
    color: #8a6d1a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.lgs-heading {
    font-size: clamp(2.1rem, 4vw, 2.9rem);
    color: #0f3a69;
    margin: 0 0 0.7rem;
}

.lgs-subheading {
    color: #455468;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2.75rem;
    line-height: 1.6;
}

.lgs-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 58, 105, 0.14);
    border: 1px solid rgba(15, 58, 105, 0.06);
    padding: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.lgs-confirmation-card {
    padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
}

.lgs-confirmation-card .lgs-result-icon {
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
}

.lgs-confirmation-card h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

.lgs-confirmation-card p {
    color: #445269;
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 700px;
    margin: 0 auto 1rem;
}

.lgs-confirmation-card .lgs-result-actions {
    margin: 0.5rem 0 0;
}

.lgs-progress {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.25rem;
}

.lgs-progress-dot {
    width: 2.5rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #e2e8f0;
    transition: background-color 0.25s ease;
}

.lgs-progress-dot.is-active,
.lgs-progress-dot.is-complete {
    background: var(--wp--preset--color--primary, #0b51c2);
}

.lgs-step,
.lgs-result {
    display: none;
    animation: lgsFadeIn 0.35s ease;
}

.lgs-step.is-active,
.lgs-result.is-active {
    display: block;
}

@keyframes lgsFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lgs-back {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: none;
    background: transparent;
    color: #455468;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin: 0 0 1rem;
}

.lgs-back:hover {
    color: #0f3a69;
}

.lgs-step-label {
    color: #8a97a8;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem;
}

.lgs-question {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #10253f;
    margin: 0 0 0.85rem;
}

.lgs-hint {
    color: #7c8a9c;
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 2rem;
}

.lgs-hint a {
    color: var(--wp--preset--color--primary, #0b51c2);
    font-weight: 600;
    text-decoration: underline;
}

.lgs-choices {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.lgs-choice {
    min-width: 170px;
    padding: 1.05rem 2.1rem;
    border-radius: 999px;
    border: 2px solid #d7e0ec;
    background: #ffffff;
    color: #0f3a69;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.lgs-choice:hover,
.lgs-choice:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 58, 105, 0.16);
}

.lgs-choice--yes:hover,
.lgs-choice--yes:focus-visible {
    border-color: var(--wp--preset--color--primary, #0b51c2);
    background: var(--wp--preset--color--primary, #0b51c2);
    color: #ffffff;
}

.lgs-choice--no:hover,
.lgs-choice--no:focus-visible {
    border-color: #0f3a69;
    background: #0f3a69;
    color: #ffffff;
}

.lgs-choice--unsure {
    font-weight: 600;
    color: #7c8a9c;
    border-color: #e2e8f0;
}

.lgs-choice--unsure:hover,
.lgs-choice--unsure:focus-visible {
    border-color: #8a6d1a;
    background: #d3aa2d;
    color: #10253f;
}

.lgs-lead-copy {
    color: #445269;
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 520px;
    margin: 0 auto 1.75rem;
}

.lgs-email-form {
    max-width: 520px;
    margin: 0 auto;
}

.lgs-email-label {
    display: block;
    text-align: left;
    font-size: 0.88rem;
    font-weight: 600;
    color: #455468;
    margin-bottom: 0.5rem;
}

.lgs-email-row {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.lgs-email-input {
    flex: 1 1 240px;
    padding: 1rem 1.3rem;
    border-radius: 999px;
    border: 2px solid #d7e0ec;
    font: inherit;
    font-size: 1.02rem;
    color: #10253f;
    background: #ffffff;
    transition: border-color 0.15s ease;
}

.lgs-email-input:focus {
    outline: none;
    border-color: var(--wp--preset--color--primary, #0b51c2);
}

.lgs-email-row .lgs-cta-primary {
    border: none;
    cursor: pointer;
    white-space: nowrap;
    font-size: 1.02rem;
    padding: 1rem 2rem;
}

.lgs-email-row .lgs-cta-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.lgs-email-label:not(:first-child) {
    margin-top: 1.1rem;
}

.lgs-email-input--full {
    display: block;
    width: 100%;
}

.lgs-inquiry-textarea {
    display: block;
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 18px;
    border: 2px solid #d7e0ec;
    font: inherit;
    font-size: 1rem;
    color: #10253f;
    background: #ffffff;
    resize: vertical;
    line-height: 1.5;
    transition: border-color 0.15s ease;
}

.lgs-inquiry-textarea:focus {
    outline: none;
    border-color: var(--wp--preset--color--primary, #0b51c2);
}

.lgs-inquiry-file {
    display: block;
    width: 100%;
    font-size: 0.92rem;
    color: #455468;
}

.lgs-inquiry-submit {
    display: block;
    width: 100%;
    justify-content: center;
    margin-top: 1.25rem;
    border: none;
    cursor: pointer;
}

.lgs-inquiry-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.lgs-email-status {
    min-height: 1.3rem;
    margin: 0.75rem 0 0;
    font-size: 0.92rem;
    color: #166534;
    text-align: left;
}

.lgs-email-status.is-error {
    color: #b91c1c;
}

.lgs-result-icon {
    font-size: 3.25rem;
    line-height: 1;
    margin-bottom: 0.85rem;
}

.lgs-result h3 {
    color: #0f3a69;
    font-size: 1.65rem;
    margin: 0 0 0.85rem;
}

.lgs-result p {
    color: #445269;
    font-size: 1.08rem;
    line-height: 1.65;
    max-width: 540px;
    margin: 0 auto 0.85rem;
}

.lgs-result-note {
    font-size: 0.95rem;
    color: #455468;
}

.lgs-result-note a {
    color: var(--wp--preset--color--primary, #0b51c2);
    font-weight: 600;
}

.lgs-result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.75rem 0 1.1rem;
}

.lgs-cta-primary,
.lgs-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 1.9rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.02rem;
    text-decoration: none;
}

.lgs-cta-primary {
    background: var(--wp--preset--color--primary, #0b51c2);
    color: #ffffff !important;
    border: 1px solid var(--wp--preset--color--primary, #0b51c2);
}

.lgs-cta-primary:hover {
    opacity: 0.9;
}

.lgs-cta-secondary {
    background: #ffffff;
    color: #0f3a69 !important;
    border: 1px solid #d7e0ec;
}

.lgs-cta-secondary:hover {
    border-color: #0f3a69;
}

.lgs-restart {
    display: inline-block;
    margin-top: 0.6rem;
    border: none;
    background: transparent;
    color: #455468;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.lgs-restart:hover {
    color: #0f3a69;
}

.lgs-pricing-section {
    padding: 0 1.5rem clamp(3.5rem, 7vw, 5.5rem);
    scroll-margin-top: 2rem;
}

.lgs-pricing-grid {
    display: grid;
    gap: 1rem;
    margin: 2.25rem auto 0;
    text-align: left;
}

.lgs-pricing-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.9rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(11, 81, 194, 0.14);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 58, 105, 0.06);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.lgs-pricing-item:hover {
    border-color: rgba(11, 81, 194, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(11, 81, 194, 0.12);
}

.lgs-pricing-item__title {
    margin: 0;
    font-size: 1.1rem;
    color: #10253f;
}

.lgs-pricing-item__desc {
    margin: 0.4rem 0 0;
    color: #455468;
    font-size: 0.95rem;
}

.lgs-pricing-item__price {
    text-align: right;
    line-height: 1.15;
}

.lgs-pricing-item__price strong {
    display: block;
    font-size: 1.5rem;
    color: var(--wp--preset--color--primary, #0b51c2);
}

.lgs-pricing-item__price span {
    font-size: 0.82rem;
    color: #64748b;
}

.lgs-pricing-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.lgs-pricing-pill {
    display: inline-block;
    background: #f4fce2;
    border: 1px solid #daefab;
    color: #355011;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (max-width: 640px) {
    .lgs-pricing-item {
        grid-template-columns: 1fr;
    }

    .lgs-pricing-item__price {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .lgs-choice {
        width: 100%;
    }

    .lgs-choices {
        flex-direction: column;
    }

    .lgs-email-row .lgs-cta-primary {
        width: 100%;
        justify-content: center;
    }
}
