

.section-sm.pt-30 {
    padding-top: 44px !important;
    padding-bottom: 90px;
}

.form-hero-card {
    position: relative;
    max-width: 1120px;
    margin: 30px auto 0;
    padding: 42px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.92));
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.form-hero-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

.form-hero-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    top: -120px;
    right: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 115, 190, 0.10), transparent 70%);
    pointer-events: none;
}

.form-hero-card .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(30, 115, 190, 0.08);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.form-hero-card h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--dark);
}

.form-hero-card > p {
    max-width: 780px;
    margin: 0 0 30px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 16px;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.field-grid > div,
.form-stack > div {
    position: relative;
    min-width: 0;
}

label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

input,
select,
textarea {
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--border-color);
    background: var(--background-color);
    color: var(--text-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(15, 23, 32, 0.04);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
}

input,
select {
    height: 58px;
    padding: 0 18px;
}

textarea {
    min-height: 180px;
    padding: 16px 18px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: #98a2b3;
}

input:hover,
select:hover,
textarea:hover {
    border-color: rgba(30, 115, 190, 0.35);
    box-shadow: 0 10px 24px rgba(20, 48, 75, 0.06);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    box-shadow:
        0 0 0 4px rgba(30, 115, 190, 0.10),
        0 12px 28px rgba(20, 48, 75, 0.10);
    transform: translateY(-1px);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--primary-color) 50%),
        linear-gradient(135deg, var(--primary-color) 50%, transparent 50%);
    background-position:
        calc(100% - 24px) calc(50% - 4px),
        calc(100% - 18px) calc(50% - 4px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 48px;
}

.qty-stepper {
    display: grid;
    grid-template-columns: 52px 1fr 52px;
    align-items: center;
    width: 100%;
    height: 58px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--background-color);
    box-shadow: 0 6px 18px rgba(15, 23, 32, 0.04);
    transition: all 0.25s ease;
}

.qty-stepper:focus-within {
    border-color: var(--primary-color);
    box-shadow:
        0 0 0 4px rgba(30, 115, 190, 0.10),
        0 12px 28px rgba(20, 48, 75, 0.10);
    transform: translateY(-1px);
}

.qty-stepper button {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    cursor: pointer;
    background: linear-gradient(180deg, var(--surface) 0%, var(--background-color) 100%);
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 800;
    transition: all 0.2s ease;
}

.qty-stepper button:hover {
    background: var(--primary-color);
    color: #fff;
}

.qty-stepper input {
    border: 0;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    height: 100%;
    padding: 0 10px;
    background: transparent;
    font-weight: 700;
    min-width: 0;
}

.qty-stepper input:focus {
    box-shadow: none;
    transform: none;
}

.form-card-note {
    border-radius: var(--radius-md);
    padding: 18px 20px;
    border: 1px solid rgba(212, 160, 23, 0.22);
    background: linear-gradient(180deg, rgba(212, 160, 23, 0.08), rgba(212, 160, 23, 0.04));
    color: var(--dark-soft);
    line-height: 1.8;
    font-size: 14px;
}

.form-card-note strong {
    color: var(--dark);
}

.form-feedback {
    min-height: 24px;
    font-size: 14px;
    font-weight: 600;
}

.form-feedback.success {
    color: #198754;
}

.form-feedback.error {
    color: #dc3545;
}


.reveal {
    animation: fadeRise 0.8s ease both;
}

@keyframes fadeRise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1199px) {
    .form-hero-card {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .page-banner {
        min-height: 300px;
    }

    .page-banner-content {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .form-hero-card {
        padding: 30px;
        margin-top: 40px;
    }

    .field-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 767px) {
    .section-sm.pt-30 {
        padding-top: 90px !important;
        padding-bottom: 65px;
    }

    .page-banner {
        min-height: 260px;
    }

    .page-banner-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .page-banner-content .eyebrow {
        padding: 8px 14px;
        font-size: 11px;
    }

    .page-banner-content h1 {
        font-size: 34px;
        line-height: 1.08;
    }

    .breadcrumbs {
        font-size: 14px;
        flex-wrap: wrap;
    }

    .form-hero-card {
        padding: 22px 16px;
        border-radius: 22px;
        margin-top: -45px;
    }

    .form-hero-card h2 {
        font-size: 28px;
    }

    .form-hero-card > p {
        font-size: 15px;
        line-height: 1.8;
    }

    input,
    select {
        height: 54px;
        padding: 0 15px;
        font-size: 14px;
    }

    textarea {
        min-height: 160px;
        padding: 14px 15px;
        font-size: 14px;
    }

    .qty-stepper {
        height: 54px;
        grid-template-columns: 48px 1fr 48px;
    }

    .qty-stepper button {
        font-size: 20px;
    }

    .btn.btn-primary {
        width: 100%;
        min-width: 100%;
        min-height: 54px;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .form-hero-card {
        padding: 20px 14px;
    }

    .form-stack {
        gap: 20px;
    }

    .field-grid {
        gap: 16px;
    }

    label {
        font-size: 13px;
    }

    .form-card-note {
        padding: 16px;
        font-size: 13px;
    }
}
