.nav a.nav-inquiry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-dark);
    background: var(--primary-soft);
    border: 1px solid #c7e9ef;
}

.nav a.nav-inquiry svg {
    width: 16px;
    height: 16px;
    flex: none;
}

button.btn {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

.inquiry-section {
    padding: 0 0 78px;
    scroll-margin-top: 110px;
}

.inquiry-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 28px 30px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 8% 20%, rgba(72, 194, 210, .20), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #eaf8fb 100%);
    border: 1px solid rgba(2, 110, 145, .16);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.inquiry-banner::after {
    content: "";
    position: absolute;
    inset-inline-end: -60px;
    bottom: -70px;
    width: 170px;
    height: 170px;
    border-radius: 50px;
    transform: rotate(18deg);
    background: rgba(72, 194, 210, .10);
    pointer-events: none;
}

.inquiry-banner > * {
    position: relative;
    z-index: 1;
}

.inquiry-banner-icon {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 16px 30px rgba(2, 110, 145, .25);
}

.inquiry-banner-icon svg {
    width: 36px;
    height: 36px;
}

.inquiry-banner-eyebrow {
    display: inline-flex;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(2, 110, 145, .12);
    color: var(--primary);
    font-weight: 800;
    font-size: 13px;
}

.inquiry-banner h2 {
    margin: 6px 0 4px;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.5;
    color: var(--primary-dark);
}

.inquiry-banner p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.inquiry-banner .btn {
    min-width: 170px;
}

html.inq-open,
html.inq-open body {
    overflow: hidden;
}

.inq-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.inq-modal[hidden] {
    display: none;
}

.inq-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 35, 50, .55);
    backdrop-filter: blur(6px);
    animation: inq-fade .2s ease;
}

.inq-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(560px, 100%);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow: hidden;
    background: var(--white);
    border-radius: 28px;
    border: 1px solid rgba(2, 110, 145, .14);
    box-shadow: 0 30px 90px rgba(3, 40, 60, .35);
    animation: inq-pop .22s ease;
}

.inq-dialog:focus {
    outline: none;
}

@keyframes inq-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes inq-pop {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to { opacity: 1; transform: none; }
}

.inq-head {
    flex: none;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #f5fcfe 0%, #ffffff 100%);
    border-radius: 28px 28px 0 0;
}

.inq-head-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(2, 110, 145, .12), rgba(72, 194, 210, .2));
    border: 1px solid rgba(2, 110, 145, .12);
}

.inq-head-icon svg {
    width: 24px;
    height: 24px;
}

.inq-head h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: var(--primary-dark);
}

.inq-head p {
    margin: 0;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.8;
}

.inq-close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--muted);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .2s ease;
}

.inq-close:hover {
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.inq-close svg {
    width: 18px;
    height: 18px;
}

.inq-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 20px 24px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(2, 110, 145, .32) transparent;
}

.inq-body::-webkit-scrollbar {
    width: 6px;
}

.inq-body::-webkit-scrollbar-track {
    background: transparent;
    margin: 12px 0;
}

.inq-body::-webkit-scrollbar-thumb {
    background: rgba(2, 110, 145, .3);
    border-radius: 999px;
}

.inq-body::-webkit-scrollbar-thumb:hover {
    background: rgba(2, 110, 145, .5);
}

.inq-form {
    display: grid;
    gap: 16px;
}

.inq-form[hidden] {
    display: none;
}

.inq-field {
    display: grid;
    gap: 6px;
}

.inq-field label {
    font-weight: 800;
    font-size: 14px;
    color: var(--ink);
}

.inq-input,
.inq-field input {
    width: 100%;
    min-height: 50px;
    padding: 10px 16px;
    border-radius: 16px;
    border: 1px solid #c9dfe7;
    background: #fbfeff;
    color: var(--ink);
    font-family: inherit;
    font-size: 16px;
    text-align: right;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.inq-field input::placeholder {
    color: #9bb0ba;
}

.inq-field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(11, 143, 180, .14);
    background: var(--white);
}

.inq-field input[aria-invalid="true"] {
    border-color: #d9534f;
    box-shadow: 0 0 0 4px rgba(217, 83, 79, .10);
}

.inq-hint {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.8;
}

.inq-error {
    font-size: 12.5px;
    color: #b42318;
    font-weight: 600;
    line-height: 1.8;
}

.inq-error[hidden],
.inq-hint[hidden] {
    display: none;
}

.inq-date-wrap {
    position: relative;
}

.inq-date-wrap input {
    padding-left: 54px;
}

.inq-date-toggle {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 0;
    background: var(--primary-soft);
    color: var(--primary);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.inq-date-toggle:hover,
.inq-date-toggle[aria-expanded="true"] {
    background: #d3eff5;
}

.inq-date-toggle svg {
    width: 20px;
    height: 20px;
}

.inq-quick {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.inq-quick button {
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--white);
    border: 1px solid #c7e9ef;
    border-radius: 999px;
    padding: 3px 12px;
    cursor: pointer;
    transition: .2s ease;
}

.inq-quick button:hover {
    background: var(--primary-soft);
}

.inq-calendar {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 5;
    width: 300px;
    max-width: 100%;
    padding: 14px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(2, 110, 145, .16);
    box-shadow: 0 22px 50px rgba(3, 40, 60, .18);
}

.inq-calendar[hidden] {
    display: none;
}

.inq-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.inq-cal-title {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 15px;
}

.inq-cal-nav {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--primary-dark);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.inq-cal-nav:hover:not(:disabled) {
    background: var(--primary-soft);
}

.inq-cal-nav:disabled {
    opacity: .35;
    cursor: default;
}

.inq-cal-nav svg {
    width: 16px;
    height: 16px;
}

.inq-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.inq-cal-wd {
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    padding: 4px 0;
}

.inq-cal-wd.is-friday {
    color: #c0392b;
}

.inq-cal-day {
    font-family: inherit;
    font-size: 14px;
    height: 36px;
    border-radius: 11px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: .15s ease;
}

.inq-cal-day:hover:not(:disabled) {
    background: var(--primary-soft);
}

.inq-cal-day.is-friday {
    color: #c0392b;
}

.inq-cal-day.is-today {
    border-color: var(--secondary);
    font-weight: 800;
}

.inq-cal-day.is-selected {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-weight: 800;
}

.inq-cal-day:disabled {
    color: #c3d1d8;
    cursor: default;
}

.inq-captcha-row {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 8px;
    align-items: center;
}

.inq-captcha-img {
    display: block;
    width: 168px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid #c9dfe7;
    background: #eef7fa;
}

.inq-captcha-refresh {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--primary);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .2s ease;
}

.inq-captcha-refresh:hover {
    background: var(--primary-soft);
}

.inq-captcha-refresh svg {
    width: 20px;
    height: 20px;
}

.inq-captcha-refresh.is-spinning svg {
    animation: inq-spin .6s linear;
}

.inq-alert {
    padding: 12px 16px;
    border-radius: 16px;
    background: #fef3f2;
    border: 1px solid #fecdca;
    color: #912018;
    font-size: 14px;
    line-height: 1.9;
}

.inq-alert[hidden] {
    display: none;
}

.inq-submit {
    width: 100%;
    gap: 10px;
    min-height: 52px;
    font-size: 16px;
}

.inq-submit:disabled {
    opacity: .75;
    cursor: wait;
    transform: none;
}

.inq-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: var(--white);
    animation: inq-spin .8s linear infinite;
}

.inq-submit.is-loading .inq-spinner {
    display: inline-block;
}

@keyframes inq-spin {
    to { transform: rotate(360deg); }
}

.inq-note {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
    text-align: center;
    line-height: 1.8;
}

.inq-result[hidden] {
    display: none;
}

.inq-result:focus {
    outline: none;
}

.inq-status {
    --tone: var(--primary);
    --tone-soft: var(--primary-soft);
    --tone-line: #c7e9ef;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 6px;
    padding: 22px 18px 20px;
    border-radius: 22px;
    background: var(--tone-soft);
    border: 1px solid var(--tone-line);
}

.inq-status.tone-success { --tone: #067647; --tone-soft: #ecfdf3; --tone-line: #abefc6; }
.inq-status.tone-refund { --tone: #026e91; --tone-soft: #eaf7fb; --tone-line: #b9e5ec; }
.inq-status.tone-pending { --tone: #b54708; --tone-soft: #fffaeb; --tone-line: #fedf89; }
.inq-status.tone-review { --tone: #b54708; --tone-soft: #fffaeb; --tone-line: #fedf89; }
.inq-status.tone-failed { --tone: #b42318; --tone-soft: #fef3f2; --tone-line: #fecdca; }
.inq-status.tone-notfound { --tone: #475467; --tone-soft: #f5f7f9; --tone-line: #e4e7ec; }
.inq-status.tone-error { --tone: #b42318; --tone-soft: #fef3f2; --tone-line: #fecdca; }

.inq-status-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--tone);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, .7);
    margin-bottom: 6px;
}

.inq-status-icon svg {
    width: 28px;
    height: 28px;
}

.inq-status h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.7;
    color: var(--tone);
}

.inq-status p {
    margin: 0;
    font-size: 14.5px;
    line-height: 2;
    color: var(--ink);
}

.inq-details {
    margin: 16px 0 0;
    padding: 4px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fbfeff;
}

.inq-details div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px dashed #d6e7ee;
}

.inq-details div:last-child {
    border-bottom: 0;
}

.inq-details dt {
    color: var(--muted);
    font-size: 13.5px;
    white-space: nowrap;
}

.inq-details dd {
    margin: 0;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink);
    text-align: left;
    overflow-wrap: anywhere;
}

.inq-details dd.is-ltr {
    direction: ltr;
    font-variant-numeric: tabular-nums;
    letter-spacing: .3px;
}

.inq-steps {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--bg);
    border: 1px solid var(--line);
}

.inq-steps h4 {
    margin: 0 0 6px;
    font-size: 14.5px;
    color: var(--primary-dark);
}

.inq-steps ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.inq-steps li {
    position: relative;
    padding-inline-start: 22px;
    font-size: 14px;
    line-height: 2;
    color: #2b4553;
}

.inq-steps li::before {
    content: "";
    position: absolute;
    inset-inline-start: 4px;
    top: 12px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary);
}

.inq-checked {
    margin: 12px 0 0;
    font-size: 12.5px;
    color: var(--muted);
    text-align: center;
}

.inq-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.inq-actions .btn {
    flex: 1;
}

@media (max-width: 980px) {
    .inquiry-banner {
        grid-template-columns: auto 1fr;
    }

    .inquiry-banner .btn {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .inquiry-section {
        padding-bottom: 54px;
    }

    .inquiry-banner {
        grid-template-columns: 1fr;
        padding: 22px 18px;
        text-align: center;
        justify-items: center;
    }

    .inq-modal {
        padding: 10px;
        align-items: flex-end;
    }

    .inq-dialog {
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 24px;
    }

    .inq-head {
        padding: 16px 16px 14px;
        border-radius: 24px 24px 0 0;
    }

    .inq-body {
        padding: 16px;
    }

    .inq-captcha-row {
        grid-template-columns: auto auto;
    }

    .inq-captcha-row input {
        grid-column: 1 / -1;
    }

    .inq-calendar {
        width: 100%;
    }

    .inq-actions {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inq-backdrop,
    .inq-dialog,
    .inq-spinner,
    .inq-captcha-refresh.is-spinning svg {
        animation: none;
    }
}
