.tax-page { --tax-primary: var(--brand-primary, #26B5A6); --tax-primary-dark: var(--brand-interactive, #087E74); --tax-deep: var(--brand-dark, #052A33); --tax-ink: #29484d; --tax-muted: #738a8e; overflow: hidden; color: var(--tax-ink); background: #fff; }
.tax-banner { position: relative; width: 100%; height: 390px; overflow: hidden; }
.tax-banner > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tax-banner__shade { position: absolute; top:0;right:0;bottom:0;left:0;inset: 0; background: linear-gradient(90deg, rgba(2,35,42,.78), rgba(2,35,42,.4) 48%, rgba(2,35,42,.08)); }
.tax-banner__content { position: absolute; right: 0; bottom: 62px; left: 0; z-index: 2; color: #fff; }
.tax-banner__content p { margin: 0; color: rgba(255,255,255,.88); font-size: 20px; line-height: 1.5; letter-spacing: .18em; }
.tax-banner__content h1 { margin: 7px 0 0; color: #fff; font-size: 44px; font-weight: 400; line-height: 1.25; }
.tax-main { padding: 88px 0 108px; background: linear-gradient(180deg, #fff 0, #f6f9f8 100%); }
.tax-heading { max-width: 730px; margin: 0 auto 38px; text-align: center; }
.tax-heading > span { display: inline-flex; align-items: center; grid-gap:11px;gap: 11px; margin-bottom: 13px; color: var(--tax-primary-dark); font-size: 12px; font-weight: 700; letter-spacing: .18em; }
.tax-heading > span::before, .tax-heading > span::after { content: ""; width: 30px; height: 1px; background: var(--tax-primary); }
@supports not (font-size: clamp(34px, 3vw, 44px)) {
.tax-heading h2 { font-size: 3vw; }
@media (max-width: 1133.33333px) { .tax-heading h2 { font-size: 34px; } }
@media (min-width: 1466.66667px) { .tax-heading h2 { font-size: 44px; } }
}
.tax-heading h2 { margin: 0 0 15px; color: var(--tax-deep); font-size: clamp(34px, 3vw, 44px); font-weight: 700; line-height: 1.3; }
.tax-heading p { margin: 0; color: var(--tax-muted); font-size: 15px; line-height: 1.8; }
.tax-query-card { max-width: 980px; margin: 0 auto; padding: 36px 40px 29px; background: #fff; border-top: 4px solid var(--tax-primary); box-shadow: 0 18px 54px rgba(3,52,60,.1); }
.tax-query-form > label { display: block; margin-bottom: 10px; color: #456166; font-size: 13px; font-weight: 600; }
.tax-query-form__control { display: flex; align-items: center; height: 62px; border: 1px solid #d4e2df; background: #f8faf9; transition: border-color .2s ease, box-shadow .2s ease; }
.tax-query-form__control:focus-within { border-color: var(--tax-primary); box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb, 38, 181, 166), .1); }
.tax-query-form__control > i { flex: 0 0 58px; color: var(--tax-primary); font-size: 18px; text-align: center; }
.tax-query-form__control input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 15px 0 0; color: var(--tax-ink); background: transparent; border: 0; outline: 0; font-size: 16px; }
.tax-query-form__control input::placeholder { color: #a3b1b3; }
.tax-query-form__control button { display: inline-flex; flex: 0 0 158px; align-items: center; justify-content: center; grid-gap:13px;gap: 13px; height: 100%; color: #fff; background: var(--tax-primary); border: 0; font-size: 15px; transition: background-color .2s ease; }
.tax-query-form__control button:hover { background: var(--tax-primary-dark); }
.tax-query-form__control button:disabled { cursor: wait; opacity: .65; }
.tax-query-form__hint { margin: 12px 0 0; color: #93a2a4; font-size: 12px; }
.tax-query-form__hint i { margin-right: 6px; color: var(--tax-primary); }

.tax-result { max-width: 1200px; min-height: 270px; margin: 34px auto 0; background: #fff; border: 1px solid #e0e9e7; box-shadow: 0 14px 42px rgba(3,52,60,.05); }
.tax-state { padding: 64px 30px; text-align: center; }
.tax-state > span:not(.tax-spinner) { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 18px; color: var(--brand-interactive, #087E74); background: #eaf6f4; border-radius: 50%; font-size: 25px; }
.tax-state h3 { margin: 0 0 9px; color: var(--tax-deep); font-size: 21px; font-weight: 600; }
.tax-state p { margin: 0; color: #889a9d; font-size: 14px; }
.tax-state--error > span:not(.tax-spinner) { color: #d66a52; background: #fff1ed; }
.tax-spinner { display: block; width: 48px; height: 48px; margin: 0 auto 23px; border: 3px solid #d8e9e6; border-top-color: var(--tax-primary); border-radius: 50%; animation: tax-spin .75s linear infinite; }
@keyframes tax-spin { to { transform: rotate(360deg); } }
.tax-result__summary { display: flex; align-items: center; justify-content: space-between; grid-gap:30px;gap: 30px; padding: 27px 34px; color: #668083; background: #f0f6f5; border-bottom: 1px solid #dce7e5; }
.tax-result__summary span { display: block; margin-bottom: 4px; color: #8b9b9e; font-size: 11px; }
.tax-result__summary > div > strong { color: var(--tax-deep); font-size: 20px; font-weight: 600; word-break: break-all; }
.tax-result__summary p { margin: 0; font-size: 13px; }
.tax-result__summary p i { margin-right: 7px; color: var(--tax-primary); }
.tax-table-wrap { overflow-x: auto; }
.tax-table { width: 100%; border-collapse: collapse; }
.tax-table th, .tax-table td { padding: 16px 18px; border-bottom: 1px solid #e5edeb; text-align: left; vertical-align: top; }
.tax-table th { color: #72888b; background: #fbfdfc; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tax-table td { color: #345258; font-size: 14px; line-height: 1.65; }
.tax-table tbody tr:hover { background: #f7fbfa; }
.tax-table td:first-child { color: var(--tax-primary-dark); font-weight:600;font-weight: 650; white-space: nowrap; }
.tax-table td:nth-last-child(2), .tax-table td:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 991px) {
    .tax-banner { height: 300px; }
    .tax-banner__content { bottom: 46px; }
    .tax-main { padding: 70px 0 84px; }
}
@media (max-width: 767px) {
    .tax-banner { height: 250px; }
    .tax-banner__content p { font-size: 15px; }
    .tax-banner__content h1 { font-size: 32px; }
    .tax-main { padding: 54px 0 64px; }
    .tax-heading { margin-bottom: 30px; }
    .tax-heading p { font-size: 14px; }
    .tax-query-card { padding: 28px 20px 24px; }
    .tax-query-form__control { height: auto; flex-wrap: wrap; border: 0; background: transparent; }
    .tax-query-form__control > i { position: absolute; z-index: 1; width: 48px; height: 56px; line-height: 56px; }
    .tax-query-form__control input { flex: 0 0 100%; height: 56px; padding: 0 14px 0 48px; background: #f8faf9; border: 1px solid #d4e2df; }
    .tax-query-form__control button { flex: 0 0 100%; height: 54px; margin-top: 12px; }
    .tax-result__summary { align-items: flex-start; flex-direction: column; grid-gap:14px;gap: 14px; padding: 24px; }
    .tax-table { min-width: 780px; }
    .tax-table th, .tax-table td { padding: 13px 14px; }
    .tax-state { padding: 54px 22px; }
}
