/* Visa fee calculator, fee tables and fee list (templates/fees/*, static/fees.js).
   Site tokens only. Every animation is a fee-* keyframe and all of them stop under prefers-reduced-motion. */

@keyframes fee-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(8deg); } }
@keyframes fee-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fee-wobble { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
@keyframes fee-pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes fee-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fee-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fee-shine { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes fee-print { from { opacity: 0; transform: translateY(-10px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes fee-total { 0% { opacity: 0; transform: scale(.7); } 60% { opacity: 1; transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes fee-tap { 0% { transform: scale(1); } 40% { transform: scale(.94); } 100% { transform: scale(1); } }
@keyframes fee-swap { 0% { transform: scale(1); } 40% { transform: scale(1.18) rotate(-8deg); } 100% { transform: scale(1); } }

/* ---- hero (page body) */
.fee-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 100%), var(--band-bg); color: var(--band-ink); }
.fee-hero-inner { position: relative; z-index: 1; padding-block: 72px 40px; }
.fee-hero h1 { color: var(--band-ink); max-width: 760px; margin: 0 0 14px; line-height: 1.05; }
.fee-hero .lede { color: #EAF4F2; font-size: 18px; line-height: 1.5; max-width: 640px; }
.fee-coin { position: absolute; z-index: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; pointer-events: none; }
.fee-coin--big { top: 40px; right: 8%; width: 86px; height: 86px; background: var(--sun); color: var(--on-sun); font-size: 40px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); animation: fee-float 6s ease-in-out infinite; }
.fee-coin--mid { bottom: 70px; right: 22%; width: 52px; height: 52px; background: var(--band-muted); color: var(--band-bg); font-size: 24px; animation: fee-float 8s ease-in-out infinite reverse; }
.fee-coin--dot { top: 120px; right: 34%; width: 28px; height: 28px; background: #FFE3A3; opacity: .8; animation: fee-float 6s ease-in-out infinite; }
@media (max-width: 719px) {
  .fee-hero-inner { padding-block: 64px 28px; }
  .fee-coin--big { top: 12px; right: 12px; width: 44px; height: 44px; font-size: 22px; }
  .fee-coin--mid { top: 18px; bottom: auto; right: 68px; width: 30px; height: 30px; font-size: 15px; }
  .fee-coin--dot { display: none; }
}
.fee-ticker { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .15); padding: 12px 0; }
.fee-ticker-track { display: flex; gap: 12px; width: max-content; font-size: 14px; color: var(--band-muted); white-space: nowrap; animation: fee-drift 40s linear infinite; }
.fee-ticker-item { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); }

/* ---- calculator layout */
.fee-calc { display: flex; flex-direction: column; gap: 40px; margin-block: 32px 48px; }
.fee-calc h2 { margin: 0 0 6px; }
.fee-form { display: flex; flex-direction: column; gap: 40px; }
.fee-main { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.fee-steps { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.fee-result { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.fee-step, .fee-result-card, .fee-funds, .fee-compare-bars, .fee-guide {
  background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.fee-step { margin: 0; min-width: 0; padding: 22px; animation: fee-rise .6s ease-out both; }
.fee-step:nth-of-type(2) { animation-delay: .1s; }
.fee-step:nth-of-type(3) { animation-delay: .2s; }
.fee-step legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; }
.fee-step legend ~ * { clear: both; }
.fee-step-n { display: block; margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--harbour); }
.fee-step-q { display: block; font-size: 19px; font-weight: 700; margin-bottom: 12px; color: var(--ink); }
legend .fee-step-q { margin-bottom: 0; }
@media (max-width: 480px) { .fee-step { padding: 18px 16px; } }
@media (hover: hover) {
  .fee-step:hover, .fee-result-card:hover, .fee-guide:hover, .fee-extra:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20, 38, 42, .12); }
}

.fee-calc select, .fee-calc input[type="number"], .fee-calc input[type="email"], .fee-list select, .fee-list input[type="search"] {
  min-height: 48px; padding: 0 12px; border-radius: var(--radius-md); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: 500 16px var(--font-body); max-width: 100%;
}
#fee-visa, #fee-country { width: 100%; }
.fee-calc .btn-sm, .fee-list .btn-sm, .fee-table .btn-sm { min-height: 44px; }
.fee-go { align-self: flex-start; }
[data-fee-page] [hidden] { display: none !important; }
.fee-calc :focus-visible, .fee-list :focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* step 1 */
.fee-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.fee-chips[hidden] { display: none; }
.fee-chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 14px var(--font-body); cursor: pointer; transition: background .2s ease, color .2s ease, transform .15s ease; }
.fee-chip[aria-pressed="true"] { background: var(--harbour); border-color: var(--harbour); color: var(--on-harbour); }
.fee-chip:active { transform: scale(.96); }
.fee-tap { animation: fee-tap .3s ease-out; }

/* step 2 */
.fee-places { display: flex; flex-wrap: wrap; gap: 10px; }
.fee-place { position: relative; flex: 1 1 150px; min-width: 0; min-height: 72px; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 4px; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .15s ease; }
.fee-place:active { transform: scale(.97); }
.fee-place:has(input:checked), .fee-place.is-on { border-color: var(--harbour); background: var(--harbour-soft); }
.fee-place:focus-within { outline: 3px solid var(--sun); outline-offset: 2px; }
.fee-js .fee-place input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.fee-place-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.fee-place-sub { font-size: 13px; color: var(--ink-muted); }
.fee-country { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.fee-country[hidden] { display: none; }
.fee-country label { font-weight: 600; }

/* step 3 */
.fee-counts { display: flex; flex-wrap: wrap; gap: 14px 24px; }
.fee-count { display: flex; align-items: center; gap: 10px; }
.fee-count label { font-weight: 600; min-width: 64px; }
.fee-count-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; transition: transform .15s ease; }
.fee-count-btn:active { transform: scale(.9); }
.fee-count-btn[hidden] { display: none; }
.fee-calc .fee-count input { width: 64px; padding: 0 4px; text-align: center; font: 700 22px var(--font-display); }
.fee-bump { animation: fee-pop .4s ease-out; }
.fee-solo-note { background: var(--surface-raised, #fff); border: 1px solid var(--line, #e3ddd3); border-radius: 12px; padding: 12px 14px; line-height: 1.5; }
.fee-solo-note p { margin: 0; }
.fee-solo-note ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.fee-solo-note a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.fee-people { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; margin-top: 14px; min-height: 34px; color: var(--harbour); }
.fee-pop { animation: fee-pop .5s ease-out both; }

/* ---- result */
.fee-result-card { padding: 22px; box-shadow: 0 12px 30px rgba(20, 38, 42, .08); }
.fee-result-for { margin: 0 0 12px; font: 600 14px/1.4 var(--font-body); color: var(--ink-muted); }
.fee-mood { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.fee-mood[hidden], .fee-gauge[hidden], .fee-funds[hidden], .fee-cur[hidden], .fee-equals[hidden] { display: none; }
.fee-face { flex: none; animation: fee-wobble 1.6s ease-in-out infinite; transform-origin: 50% 50%; }
.fee-face circle { transition: fill .4s ease, r .4s ease; }
.fee-face path { transition: d .4s ease; }
.fee-face-swap { animation: fee-swap .5s ease-out, fee-wobble 1.6s ease-in-out .5s infinite; }
.fee-mood-label { margin: 0; font-size: 20px; font-weight: 700; }
.fee-mood-help { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-muted); }
.fee-mood[data-mood="pocket"] .fee-mood-label { color: #2E6B47; }
.fee-mood[data-mood="manageable"] .fee-mood-label { color: #7A5A00; }
.fee-mood[data-mood="big"] .fee-mood-label { color: #8A4A12; }
.fee-mood[data-mood="major"] .fee-mood-label { color: #9C3B1F; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .fee-mood[data-mood="pocket"] .fee-mood-label { color: #9FD08A; }
  :root:not([data-theme="light"]) .fee-mood[data-mood="manageable"] .fee-mood-label { color: #F6D27A; }
  :root:not([data-theme="light"]) .fee-mood[data-mood="big"] .fee-mood-label { color: #F2A65A; }
  :root:not([data-theme="light"]) .fee-mood[data-mood="major"] .fee-mood-label { color: #F08A6C; }
}
:root[data-theme="dark"] .fee-mood[data-mood="pocket"] .fee-mood-label { color: #9FD08A; }
:root[data-theme="dark"] .fee-mood[data-mood="manageable"] .fee-mood-label { color: #F6D27A; }
:root[data-theme="dark"] .fee-mood[data-mood="big"] .fee-mood-label { color: #F2A65A; }
:root[data-theme="dark"] .fee-mood[data-mood="major"] .fee-mood-label { color: #F08A6C; }

/* Gauge: a log-scale track; the fill is invisible and its right edge carries the needle. */
.fee-gauge { position: relative; height: 12px; border-radius: 999px; margin: 4px 0 22px; background: linear-gradient(90deg, #2E6B47 0%, #8FC27A 30%, #F2B33D 60%, #D9682F 85%, #9C3B1F 100%); }
.fee-gauge-fill { position: absolute; left: 0; top: 0; bottom: 0; background: transparent; transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.fee-gauge-fill::after { content: ""; position: absolute; right: -2px; top: -6px; width: 4px; height: 24px; border-radius: 2px; background: var(--ink); }

/* The printing receipt */
.fee-receipt { background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 12px; padding: 18px 18px 14px; }
.fee-receipt-head { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.fee-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dotted var(--line-strong); font-size: 15px; animation: fee-print .45s ease-out both; }
.fee-line-amount { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fee-total { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding-top: 12px; animation: fee-total .6s .45s ease-out both; }
.fee-total > span { font-weight: 700; font-size: 16px; }
.fee-total-amount { margin: 0; font: 700 40px/1.1 var(--font-display); color: var(--harbour); font-variant-numeric: tabular-nums; }
.fee-receipt-note { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-muted); }
.fee-waiver { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--radius-md); background: #FFF4DA; color: #14262A; font-size: 14px; line-height: 1.45; animation: fee-rise .5s ease-out both; }
.fee-source { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.fee-cta { display: flex; width: 100%; margin-top: 14px; padding: 10px 14px; height: auto; text-align: center; font-size: 16px; line-height: 1.3; }

.fee-funds { padding: 18px; animation: fee-rise .6s ease-out both; }
.fee-funds-h { margin: 0 0 4px; font-weight: 700; }
.fee-funds p + p { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.fee-funds a { font-size: 14px; }

.fee-cur { background: var(--harbour-soft); border-radius: var(--radius-lg); padding: 18px; }
.fee-cur > label { display: block; font-weight: 700; margin-bottom: 8px; }
.fee-cur-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fee-cur-row select { min-width: 0; flex: 1 1 180px; }
.fee-cur-value { font: 700 26px var(--font-display); color: var(--harbour); }
.fee-cur-note { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-muted); }

.fee-equals { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--ink); }
.fee-equals > svg { flex: none; color: var(--harbour); }
.fee-equals > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fee-equals-rent { font-size: 15px; line-height: 1.45; }
.fee-equals-calm { font-size: 14px; line-height: 1.45; color: var(--success); }
.fee-equals-source { font-size: 13px; }
.fee-equals-city { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---- extras and the real total */
.fee-extras { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; padding: 28px; border-radius: 20px; background: var(--surface-raised); border: 1px solid var(--line); }
@media (max-width: 480px) { .fee-extras { padding: 18px 16px; } }
.fee-extras-main { flex: 999 1 480px; min-width: 0; }
.fee-extras-main > p { margin: 0 0 18px; color: var(--ink-muted); line-height: 1.5; }
.fee-extra-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; margin-bottom: 12px; }
.fee-extra { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease, background .2s ease; }
.fee-extra:has(input:checked), .fee-extra.is-on { border-color: var(--harbour); background: var(--harbour-soft); }
.fee-extra input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--harbour); }
.fee-extra-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fee-extra-label { font-weight: 700; }
.fee-extra-range { font-size: 13px; color: var(--ink-muted); }
.fee-extra-note { font-size: 13px; line-height: 1.4; color: var(--ink-muted); }
.fee-extra-source { font-size: 13px; align-self: flex-start; }
.fee-tick { animation: fee-tap .3s ease-out; }

/* The real-total panel stays dark in both themes, so it keeps fixed colours (light: --ink, --sun). */
.fee-sum { position: sticky; top: 88px; flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px; justify-content: center; padding: 22px; border-radius: var(--radius-lg); background: #14262A; color: #FFFFFF; }
.fee-sum p { margin: 0; }
.fee-sum-label { font-size: 14px; color: #A9C4C0; }
.fee-sum-inz, .fee-sum-extras { font: 600 28px/1.15 var(--font-display); margin-bottom: 6px !important; }
.fee-sum-label:nth-last-child(2) { margin-top: 6px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .2); color: #F2B33D; font-weight: 700; }
.fee-sum-real { font: 700 clamp(30px, 6vw, 40px)/1.1 var(--font-display); color: #F2B33D; overflow-wrap: anywhere; }
.fee-sum-hint { font-size: 13px; color: #A9C4C0; }
.fee-sum-unavailable { font-size: 18px; font-weight: 600; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fee-sum { background: #0A1416; border: 1px solid var(--line); } }
:root[data-theme="dark"] .fee-sum { background: #0A1416; border: 1px solid var(--line); }

/* ---- compare */
.fee-compare { display: flex; flex-direction: column; gap: 16px; }
.fee-compare h2 { margin: 0; }
.fee-compare-pick { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fee-compare-a { font-weight: 600; }
.fee-compare-vs { color: var(--ink-muted); }
.fee-compare-pick select { min-width: 0; flex: 1 1 220px; }
.fee-compare-bars { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.fee-compare-row { display: flex; flex-direction: column; gap: 6px; }
.fee-compare-name { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.fee-compare-total { font: 600 20px var(--font-display); white-space: nowrap; }
.fee-bar { height: 18px; border-radius: 999px; background: #F1ECE3; overflow: hidden; }
.fee-bar-fill { height: 100%; border-radius: 999px; transform-origin: left; transition: width .6s ease; animation: fee-grow .9s cubic-bezier(.2, .8, .2, 1) both; }
.fee-bar-fill--1 { background: var(--harbour); }
.fee-bar-fill--2 { background: var(--sun); }
.fee-grow { animation: fee-grow .9s cubic-bezier(.2, .8, .2, 1) both; }
.fee-compare-line { margin: 4px 0 0; font-size: 14px; color: var(--ink-muted); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fee-bar { background: var(--line); } }
:root[data-theme="dark"] .fee-bar { background: var(--line); }

/* ---- email me this breakdown */
.fee-mail { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 28px; border-radius: 20px; background: var(--band-bg); color: var(--band-ink); }
@media (max-width: 480px) { .fee-mail { padding: 20px 16px; } }
.fee-mail > div { flex: 999 1 420px; min-width: 0; }
.fee-mail h2 { margin: 0 0 6px; color: var(--band-ink); }
.fee-mail p { color: var(--band-muted); line-height: 1.5; }
.fee-mail-form, .fee-mail-sent { flex: 1 1 340px; min-width: 0; }
.fee-mail-form { display: flex; flex-direction: column; gap: 10px; }
.fee-mail-form > label { font-weight: 600; }
.fee-mail-form input[type="email"] { width: 100%; border: 0; background: var(--surface-raised); color: var(--ink); }
.fee-consent { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 14px; font-weight: 400 !important; color: var(--band-muted); }
.fee-consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--sun); }
.fee-mail a { color: var(--band-ink); }
.fee-mail-form .btn { background: linear-gradient(90deg, #F2B33D 0%, #FFE3A3 50%, #F2B33D 100%); background-size: 200% 100%; color: var(--on-sun); animation: fee-shine 3s linear infinite; }
.fee-mail-form .btn:disabled { opacity: .7; cursor: progress; }
.fee-mail-status { margin: 0; min-height: 1.5em; font-size: 14px; font-weight: 600; color: var(--band-ink) !important; }
.fee-mail-status.is-error { color: #FFE3A3 !important; }
.fee-mail-sent { padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, .12); font-size: 17px; font-weight: 600; animation: fee-pop .5s ease-out both; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fee-mail { border: 1px solid var(--line); } }
:root[data-theme="dark"] .fee-mail { border: 1px solid var(--line); }

/* ---- guides grid */
.fee-guides { display: flex; flex-direction: column; gap: 12px; }
.fee-guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.fee-guide { display: flex; flex-direction: column; gap: 8px; padding: 18px; text-decoration: none; color: var(--ink); }
.fee-guide-title { font-weight: 700; }
.fee-guide-from { font-size: 14px; color: var(--ink-muted); }

/* ---- plain tables: the whole list, one item's table, and the list filter */
.fee-fold { margin: 0; }
.fee-plain-table, .fee-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.fee-plain-table th, .fee-plain-table td, .fee-table th, .fee-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-plain-table thead th, .fee-table thead th { font-size: 13px; color: var(--ink-muted); }
.fee-plain-group th { background: var(--surface); font-family: var(--font-display); font-size: 17px; }
.fee-tag { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--harbour-soft); color: var(--ink); font-size: 12px; font-weight: 600; }
.fee-table caption { padding: 12px; text-align: left; font-weight: 700; }
.fee-table-source { margin: 8px 0 0; font-size: 13px; color: var(--ink-muted); }
.fee-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.fee-list-filter { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.fee-list-filter input[type="search"] { flex: 1 1 220px; min-width: 0; }
.fee-list-filter label { font-weight: 600; }
.fee-reset { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 719px) {
  .fee-plain-table td[data-label]::before, .fee-table td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-muted); font-size: 13px; }
  .fee-plain-table td, .fee-table td { padding: 2px 0; border: 0; }
}

/* ---- reduced motion: everything stops, numbers are set directly by fees.js */
@media (prefers-reduced-motion: reduce) {
  .fee-hero, .fee-hero *, [data-fee-page], [data-fee-page] *, [data-fee-page] *::before, [data-fee-page] *::after {
    animation: none !important; transition: none !important;
  }
}

/* ---- hero photo, badge and buttons (calculator page) */
.fee-hero { isolation: isolate; }
.fee-hero-photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.fee-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(6, 20, 22, .35) 0%, rgba(15, 82, 87, .92) 100%); }
.fee-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: #DCEBE8; margin-bottom: 4px; align-items: center; }
.fee-crumbs a { color: #DCEBE8; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.fee-badge { display: inline-flex; margin: 0 0 10px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; }
.fee-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.fee-hero-cta, .fee-hero-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.fee-hero-cta { background: var(--sun); color: var(--ink); }
.fee-hero-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .5); font-weight: 600; }
.fee-faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 48px 0; }
.fee-faq details { background: #fff; border: 1px solid #E3DDD3; border-radius: 12px; padding: 16px; }
.fee-faq summary { font-weight: 700; cursor: pointer; min-height: 24px; }
.fee-faq p { margin: 10px 0 0; }
