/* QuickFaresX — site styles */
:root {
  --ink: #0f2a24;
  --ink-2: #173a32;
  --jade: #0e7a5a;
  --jade-dk: #0a5e45;
  --jade-lt: #e5f3ec;
  --gold: #f2b544;
  --gold-dk: #dd9c25;
  --coral: #d6493a;
  --paper: #f7f4ec;
  --white: #fff;
  --text: #23302c;
  --muted: #5d6b66;
  --line: #e4e0d4;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(15, 42, 36, .35);
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.65 var(--body); color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jade); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--jade-dk); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--jade); outline-offset: 2px; border-radius: 4px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.qx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.qx-wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.qx-wrap--text { width: min(760px, 100% - 40px); }
.qx-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.qx-skip:focus { top: 12px; }

/* buttons */
.qx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.35em; border-radius: 999px; font: 700 .98rem/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, box-shadow .15s; }
.qx-btn:hover { transform: translateY(-1px); }
.qx-btn--jade { background: var(--jade); color: var(--white); box-shadow: 0 10px 22px -10px rgba(14, 122, 90, .8); }
.qx-btn--jade:hover { background: var(--jade-dk); color: var(--white); }
.qx-btn--gold { background: var(--gold); color: var(--ink); }
.qx-btn--gold:hover { background: var(--gold-dk); color: var(--ink); }
.qx-btn--outline { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.qx-btn--outline:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .08); }
.qx-btn--ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.qx-btn--ghost:hover { border-color: var(--jade); color: var(--jade); }
.qx-btn--lg { padding: .95em 1.6em; font-size: 1.04rem; }
.qx-btn--sm { padding: .5em .95em; font-size: .85rem; white-space: nowrap; }
.qx-btn--block { width: 100%; }
.qx-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.qx-link .ico { transition: transform .15s; }
.qx-link:hover .ico { transform: translateX(3px); }
.qx-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.qx-iconbtn .ico { width: 22px; height: 22px; }

/* top strip + header */
.qx-strip { background: var(--ink); color: #c4d6cf; font-size: .84rem; }
.qx-strip__in { display: flex; justify-content: flex-end; gap: 16px; padding: 8px 0; }
.qx-strip p { margin: 0; display: flex; align-items: center; gap: 8px; }
.qx-strip .ico { color: var(--gold); }
.qx-strip a { color: #c4d6cf; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.qx-strip a:hover { color: var(--white); }
.qx-strip__right { gap: 20px !important; }
.qx-head { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.qx-head.is-scrolled { box-shadow: 0 8px 24px -16px rgba(15, 42, 36, .4); }
.qx-head__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.qx-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.qx-logo__mark { width: 40px; height: 40px; }
.qx-logo__text { font: 600 1.35rem/1 var(--head); letter-spacing: -.03em; }
.qx-logo__text b { font-weight: 700; color: var(--jade); }
.qx-logo__text i { font-style: normal; background: var(--gold); color: var(--ink); border-radius: 6px; padding: 0 5px; margin-left: 2px; }
.qx-logo--light { color: var(--white); }
.qx-logo--light b { color: #7fd1ae; }
.qx-nav { margin-left: auto; }
.qx-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.qx-nav ul a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; }
.qx-nav ul a:hover { background: var(--jade-lt); color: var(--jade-dk); }
.qx-nav ul a[aria-current="page"] { background: var(--ink); color: var(--white); }
.qx-nav__top, .qx-nav__call { display: none; }
.qx-headcall { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.qx-headcall__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); }
.qx-headcall small { display: block; color: var(--muted); font-size: .76rem; }
.qx-headcall b { font-family: var(--head); font-size: 1.05rem; }
.qx-burger { display: none; }
.qx-scrim { position: fixed; inset: 0; z-index: 39; background: rgba(15, 42, 36, .55); }

/* hero */
.qx-hero { position: relative; background: var(--ink); color: #d9e6e0; padding: 64px 0 80px; overflow: hidden; }
.qx-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); }
.qx-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(14, 122, 90, .55), transparent 65%); }
.qx-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.qx-hero h1 { color: var(--white); }
.qx-hero h1 span { color: var(--gold); }
.qx-hero__lede { font-size: 1.12rem; max-width: 34em; }
.qx-hero__ticks { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.qx-hero__ticks li { display: flex; align-items: center; gap: 7px; font-weight: 500; color: var(--white); }
.qx-hero__ticks .ico { color: var(--gold); }
.qx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qx-hero__actions--center { justify-content: center; }
.qx-hero__photo { position: relative; margin: 40px 0 0; max-width: 300px; }
.qx-hero__photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 4px solid rgba(255, 255, 255, .1); }
.qx-hero__photo figcaption { position: absolute; right: -40px; bottom: 18px; background: var(--white); color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .82rem; }
.qx-hero__photo figcaption b { display: block; font-family: var(--head); }
.qx-hero__photo figcaption span { color: var(--muted); }
.qx-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .82rem/1 var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--jade); margin-bottom: 16px; }
.qx-eyebrow--gold { color: var(--gold); }

/* quote form */
.qx-finder { background: var(--white); color: var(--text); border-radius: 24px; padding: 26px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.qx-finder__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.qx-finder__head h2 { font-size: 1.4rem; margin: 0; }
.qx-badge { font-size: .76rem; font-weight: 700; background: var(--jade-lt); color: var(--jade-dk); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.qx-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 4px; background: var(--paper); border-radius: 14px; margin-bottom: 18px; }
.qx-tabs button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: 600 .76rem/1.1 var(--body); cursor: pointer; }
.qx-tabs button .ico { width: 20px; height: 20px; }
.qx-tabs button:hover { color: var(--ink); }
.qx-tabs button[aria-selected="true"] { background: var(--white); color: var(--jade); box-shadow: 0 4px 12px -6px rgba(15, 42, 36, .35); }
.qx-triptype { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.qx-triptype label { cursor: pointer; }
.qx-triptype input { position: absolute; opacity: 0; }
.qx-triptype span { display: block; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem; font-weight: 500; }
.qx-triptype input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.qx-triptype input:focus-visible + span { outline: 3px solid var(--jade); outline-offset: 2px; }
.qx-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qx-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.qx-field--wide { grid-column: 1 / -1; }
.qx-field[hidden] { display: none; }
.qx-field label { font-size: .8rem; font-weight: 700; color: var(--ink); }
.qx-field input, .qx-field select, .qx-field textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--text); background: var(--paper); border: 1.5px solid transparent; border-radius: var(--radius-sm); padding: 11px 13px; min-height: 46px; }
.qx-field textarea { resize: vertical; }
.qx-field input:focus, .qx-field select:focus, .qx-field textarea:focus { outline: none; border-color: var(--jade); background: var(--white); }
.qx-field.is-bad input, .qx-field.is-bad select, .qx-field.is-bad textarea { border-color: var(--coral); background: #fff4f2; }
.qx-finder .qx-btn--block { margin-top: 18px; }
.qx-finder__msg { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; font-size: .9rem; background: #fff4f2; color: #a42e22; }
.qx-finder__msg.is-ok { background: #e5f3ec; color: #0a5e45; }
.qx-finder__fine { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.qx-finder__fine .ico { margin-top: 2px; }
.qx-trap { position: absolute; left: -9999px; }

/* stats */
.qx-stats { background: var(--gold); }
.qx-stats__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.qx-stats__row div { padding: 22px 18px; border-left: 1px solid rgba(15, 42, 36, .14); }
.qx-stats__row div:first-child { border-left: 0; }
.qx-stats b { display: block; font: 700 1.6rem/1.1 var(--head); color: var(--ink); }
.qx-stats span { font-size: .9rem; color: #4a3810; }

/* sections */
.qx-sec { padding: 88px 0; }
.qx-sec--tint { background: var(--paper); }
.qx-sec--ink { background: var(--ink); color: #c4d6cf; }
.qx-sec--ink h2, .qx-sec--ink h3 { color: var(--white); }
.qx-split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.qx-split-head h2 { margin: 0; max-width: 16em; }
.qx-split-head > p { max-width: 30em; margin: 0; color: var(--muted); }
.qx-center-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }

.qx-svcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.qx-svcs--four { grid-template-columns: repeat(4, 1fr); }
.qx-svc { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, transform .2s; }
.qx-svc:hover { border-color: var(--jade); transform: translateY(-3px); }
.qx-svc__ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--jade-lt); color: var(--jade); margin-bottom: 16px; }
.qx-svc p { color: var(--muted); margin: 0; font-size: .95rem; }

.qx-routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.qx-route { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; }
.qx-route__img { position: relative; overflow: hidden; }
.qx-route__img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .5s; }
.qx-route:hover .qx-route__img img { transform: scale(1.05); }
.qx-route__code { position: absolute; left: 14px; top: 14px; background: var(--ink); color: var(--gold); font: 700 .85rem/1 var(--head); letter-spacing: .1em; padding: 7px 10px; border-radius: 8px; }
.qx-route__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.qx-route__body h3 small { font: 500 .85rem var(--body); color: var(--muted); margin-left: 4px; }
.qx-route__body p { color: var(--muted); font-size: .94rem; flex: 1; }

.qx-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.qx-fares { width: 100%; border-collapse: collapse; min-width: 820px; font-size: .95rem; }
.qx-fares th { text-align: left; font: 600 .76rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 14px 16px; background: var(--paper); }
.qx-fares td { padding: 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.qx-fares tr:hover td { background: #fbfaf5; }
.qx-iata { font: 600 .74rem var(--head); color: var(--jade); background: var(--jade-lt); padding: 2px 6px; border-radius: 5px; margin-left: 4px; }
.qx-swap { color: var(--muted); }
.qx-price { font: 700 1.05rem var(--head); color: var(--ink); white-space: nowrap; }
.qx-note { font-size: .86rem; color: var(--muted); margin-top: 16px; }

.qx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.qx-steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); }
.qx-steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -20px; width: 20px; border-top: 2px dashed rgba(242, 181, 68, .5); }
.qx-step__n { display: inline-block; font: 700 1.9rem/1 var(--head); color: var(--gold); margin-bottom: 16px; }
.qx-steps p { margin: 0; font-size: .95rem; }

.qx-why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.qx-why__media { position: relative; }
.qx-why__media img { border-radius: 24px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.qx-why__chip { position: absolute; left: -18px; bottom: 28px; display: flex; gap: 12px; align-items: center; background: var(--white); padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); }
.qx-why__chip .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--gold); color: var(--ink); }
.qx-why__chip span { font-size: .85rem; color: var(--muted); }
.qx-why__chip b { display: block; color: var(--ink); font-family: var(--head); }
.qx-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.qx-checks li { display: flex; gap: 14px; }
.qx-tick { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--jade); color: var(--white); stroke-width: 2.6; }
.qx-checks h3 { margin: 0 0 2px; font-size: 1.05rem; }
.qx-checks p { margin: 0; color: var(--muted); font-size: .95rem; }

.qx-company { display: flex; gap: 24px; align-items: flex-start; padding: 34px; background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--jade); border-radius: var(--radius); }
.qx-company__seal { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--ink); color: var(--gold); }
.qx-company__seal .ico { width: 28px; height: 28px; }
.qx-company h2 { font-size: 1.5rem; }
.qx-company p:last-child { margin: 0; }

.qx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qx-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.qx-card__img img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .5s; }
.qx-card__img { overflow: hidden; }
.qx-card:hover .qx-card__img img { transform: scale(1.04); }
.qx-card__body { padding: 20px 22px 24px; }
.qx-card__meta { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.qx-card__meta span { background: var(--gold); color: var(--ink); font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.qx-card h3 a { color: var(--ink); text-decoration: none; }
.qx-card h3 a:hover { color: var(--jade); }
.qx-card p:last-child { margin: 0; color: var(--muted); font-size: .94rem; }

.qx-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.qx-faq__list { display: grid; gap: 10px; }
.qx-faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.qx-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font: 600 1.02rem/1.35 var(--head); color: var(--ink); }
.qx-faq__item summary::-webkit-details-marker { display: none; }
.qx-faq__item summary .ico { transition: transform .2s; color: var(--jade); }
.qx-faq__item[open] summary .ico { transform: rotate(90deg); }
.qx-faq__item p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* inner pages */
.qx-pagehead { background: var(--ink); color: #c4d6cf; padding: 52px 0 60px; position: relative; overflow: hidden; }
.qx-pagehead::after { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(14, 122, 90, .6), transparent 65%); }
.qx-pagehead h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); max-width: 18em; }
.qx-pagehead__lede { font-size: 1.08rem; max-width: 40em; margin: 0; }
.qx-crumbs { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; }
.qx-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.qx-crumbs a { color: #c4d6cf; text-decoration: none; }
.qx-crumbs a:hover { color: var(--gold); }
.qx-crumbs [aria-current] { color: var(--white); }
.qx-article__cover { margin-top: -30px; position: relative; z-index: 1; }
.qx-article__cover img { border-radius: 20px; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; box-shadow: var(--shadow); }
.qx-prose { padding: 40px 0 88px; font-size: 1.06rem; }
.qx-prose--flush { padding: 0; }
.qx-prose h2 { font-size: 1.55rem; margin-top: 1.6em; }
.qx-prose--flush h2 { margin-top: 0; }
.qx-prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.qx-prose li { margin-bottom: .45em; }
.qx-prose li::marker { color: var(--jade); }
.qx-tip { display: flex; gap: 14px; margin: 32px 0; padding: 20px 22px; background: var(--jade-lt); border-radius: 16px; }
.qx-tip .ico { width: 28px; height: 28px; padding: 5px; border-radius: 8px; background: var(--gold); color: var(--ink); }
.qx-tip p { margin: 0; }
.qx-inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 44px 0; padding: 28px; border-radius: 20px; background: var(--ink); color: #c4d6cf; }
.qx-inline-cta h2 { color: var(--white); margin: 0 0 4px; font-size: 1.35rem; }
.qx-inline-cta p { margin: 0; }
.qx-more h2 { font-size: 1.2rem; }
.qx-more ul { list-style: none; padding: 0; }
.qx-more a { font-weight: 600; }

.qx-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.qx-contact__side { display: grid; gap: 12px; }
.qx-contact__tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .92rem; }
.qx-contact__tile .ico { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--jade-lt); color: var(--jade); }
.qx-contact__tile small { display: block; color: var(--muted); }
.qx-contact__tile b { display: block; color: var(--ink); font-family: var(--head); font-size: 1.05rem; }
.qx-contact__tile--jade { background: var(--jade); border-color: var(--jade); color: #e3f3ec; }
.qx-contact__tile--jade b, .qx-contact__tile--jade small { color: var(--white); }
.qx-contact__tile--jade .ico { background: var(--gold); color: var(--ink); }
a.qx-contact__tile:hover { border-color: var(--jade); }
.qx-mailform { padding: 32px; border-radius: 24px; background: var(--paper); }
.qx-mailform .qx-field input, .qx-mailform .qx-field select, .qx-mailform .qx-field textarea { background: var(--white); border-color: var(--line); }
.qx-mailform .qx-btn { margin-top: 18px; }

.qx-legal { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.qx-legal__nav { position: sticky; top: 100px; padding: 22px; border-radius: 18px; background: var(--paper); }
.qx-legal__nav h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.qx-legal__nav ul { list-style: none; padding: 0; margin: 0 0 18px; }
.qx-legal__nav ul a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 500; }
.qx-legal__nav ul a:hover { background: var(--white); }
.qx-legal__nav ul a[aria-current] { background: var(--ink); color: var(--white); }
.qx-legal__help { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 4px; font-size: .9rem; }
.qx-legal__help p { margin: 0; font-weight: 700; color: var(--ink); }
.qx-legal__body { padding: 0; }
.qx-legal__body section { padding-bottom: 8px; }
.qx-legal__body h2 { display: flex; gap: 12px; align-items: baseline; font-size: 1.3rem; margin-top: 1.4em; }
.qx-legal__body h2 span { font-size: .85rem; color: var(--jade); }
.qx-updated { display: inline-block; font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; }

.qx-404 { padding: 110px 0; text-align: center; }
.qx-404__code { font: 700 clamp(5rem, 16vw, 9rem)/1 var(--head); color: var(--ink); display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 0 20px; }
.qx-404__code span { display: grid; place-items: center; width: .9em; height: .9em; border-radius: 50%; background: var(--gold); }
.qx-404__code .ico { width: .5em; height: .5em; color: var(--jade); stroke-width: 1.6; }
.qx-404 p { color: var(--muted); }

/* footer */
.qx-foot { background: var(--ink); color: #a3bab2; padding: 0 0 100px; font-size: .94rem; }
.qx-foot__cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 32px 36px; border-radius: 24px; background: var(--jade); transform: translateY(-44px); color: #e3f3ec; }
.qx-foot__cta h2 { color: var(--white); margin: 0 0 4px; font-size: 1.6rem; }
.qx-foot__cta p { margin: 0; }
.qx-foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 36px; }
.qx-foot__about p { margin-top: 16px; max-width: 26em; }
.qx-foot h3 { color: var(--white); font-size: .95rem; margin-bottom: 14px; }
.qx-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.qx-foot a { color: #cfe0d9; text-decoration: none; }
.qx-foot a:hover { color: var(--gold); }
.qx-foot .qx-btn--gold, .qx-foot .qx-btn--gold:hover { color: var(--ink); }
.qx-foot__contact li { display: flex; gap: 10px; align-items: flex-start; }
.qx-foot__contact .ico { color: var(--gold); margin-top: 4px; }
.qx-foot__legal { font-size: .82rem; line-height: 1.6; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); margin: 0; }
.qx-foot__base { display: flex; justify-content: space-between; gap: 12px; font-size: .84rem; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; }

.qx-dock { display: none; }
.qx-totop { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--jade); color: var(--white); display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s; box-shadow: var(--shadow); }
.qx-totop.is-on { opacity: 1; pointer-events: auto; transform: none; }

/* responsive */
@media (max-width: 1100px) {
  .qx-headcall { display: none; }
  .qx-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .qx-hero__photo { display: none; }
  .qx-svcs--four { grid-template-columns: repeat(2, 1fr); }
  .qx-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .qx-burger { display: inline-grid; margin-left: auto; }
  .qx-nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(340px, 88vw); background: var(--white); padding: 18px; display: none; flex-direction: column; gap: 18px; margin: 0; overflow-y: auto; }
  .qx-nav.is-open { display: flex; animation: qx-slide .25s ease-out; }
  @keyframes qx-slide { from { transform: translateX(100%); } to { transform: none; } }
  .qx-nav__top { display: flex; justify-content: space-between; align-items: center; font: 600 1.1rem var(--head); color: var(--ink); }
  .qx-nav ul { flex-direction: column; }
  .qx-nav ul a { padding: 12px 14px; font-size: 1.05rem; }
  .qx-nav__call { display: inline-flex; }
  .qx-routes, .qx-cards, .qx-svcs { grid-template-columns: repeat(2, 1fr); }
  .qx-steps { grid-template-columns: repeat(2, 1fr); }
  .qx-steps li::after { display: none; }
  .qx-why, .qx-faq, .qx-contact, .qx-legal { grid-template-columns: 1fr; gap: 36px; }
  .qx-legal__nav { position: static; }
  .qx-split-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .qx-stats__row { grid-template-columns: repeat(2, 1fr); }
  .qx-stats__row div:nth-child(3) { border-left: 0; }
  .qx-stats__row div:nth-child(n+3) { border-top: 1px solid rgba(15, 42, 36, .14); }
}
@media (max-width: 640px) {
  .qx-wrap, .qx-wrap--text { width: calc(100% - 32px); }
  .qx-strip__right span { display: none; }
  .qx-strip__in { font-size: .78rem; }
  .qx-strip { display: none; }
  .qx-sec { padding: 64px 0; }
  .qx-hero { padding: 40px 0 56px; }
  .qx-finder { padding: 18px; border-radius: 20px; }
  .qx-tabs { grid-template-columns: repeat(3, 1fr); }
  .qx-fields { grid-template-columns: 1fr; }
  .qx-routes, .qx-cards, .qx-svcs, .qx-svcs--four, .qx-steps { grid-template-columns: 1fr; }
  .qx-company { flex-direction: column; padding: 24px; }
  .qx-why__chip { left: 12px; }
  .qx-foot__grid { grid-template-columns: 1fr; }
  .qx-foot__cta { padding: 24px; }
  .qx-foot__base { flex-direction: column; }
  .qx-mailform { padding: 22px; }
  .qx-dock { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 35; align-items: center; justify-content: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 600; box-shadow: var(--shadow); }
  .qx-dock span { font-size: .8rem; }
  .qx-dock b { display: block; font-family: var(--head); font-size: 1.05rem; }
  .qx-totop { bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
