/* ==========================================================================
   Travel Bargain — stylesheet
   Palette: plum / raspberry / marigold / warm ivory
   Prefix: tb-
   ========================================================================== */

:root {
  --tb-ink: #241733;
  --tb-plum: #732a6d;
  --tb-plum-dark: #4e1c4b;
  --tb-berry: #d81e5b;
  --tb-berry-dark: #b01147;
  --tb-gold: #f6a623;
  --tb-gold-soft: #fbe3b3;
  --tb-cream: #fcf7f1;
  --tb-sand: #f4ead9;
  --tb-card: #ffffff;
  --tb-line: #e7d9cf;
  --tb-text: #3a2f3d;
  --tb-muted: #6c5f70;
  --tb-white: #ffffff;
  --tb-ok: #1f7a52;
  --tb-warn: #c0392b;
  --tb-shadow: 0 18px 44px -22px rgba(36, 23, 51, 0.45);
  --tb-shadow-sm: 0 8px 22px -14px rgba(36, 23, 51, 0.35);
  --tb-radius: 16px;
  --tb-radius-sm: 10px;
  --tb-maxw: 1180px;
  --tb-font-display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --tb-font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --tb-font-mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--tb-font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--tb-text);
  background: var(--tb-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--tb-berry-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--tb-font-display);
  color: var(--tb-ink);
  line-height: 1.14;
  font-weight: 700;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; }

.tb-wrap { width: 100%; max-width: var(--tb-maxw); margin: 0 auto; padding: 0 22px; }

.tb-eyebrow {
  font-family: var(--tb-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--tb-berry);
  margin: 0 0 0.7rem;
}

.tb-section { padding: 72px 0; }
.tb-section--sand { background: var(--tb-sand); }
.tb-section--ink { background: var(--tb-ink); color: #efe6f0; }
.tb-section--ink h2, .tb-section--ink h3 { color: var(--tb-white); }
.tb-section-head { max-width: 720px; margin: 0 0 38px; }
.tb-section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.tb-lead { font-size: 1.13rem; color: var(--tb-muted); }

/* ---------- Buttons ---------- */
.tb-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--tb-font-body); font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none; line-height: 1;
}
.tb-btn:hover { text-decoration: none; transform: translateY(-2px); }
.tb-btn--primary { background: var(--tb-berry); color: #fff; box-shadow: 0 12px 24px -12px rgba(216,30,91,.7); }
.tb-btn--primary:hover { background: var(--tb-berry-dark); }
.tb-btn--gold { background: var(--tb-gold); color: var(--tb-ink); }
.tb-btn--gold:hover { background: #e6920f; }
.tb-btn--ghost { background: transparent; color: var(--tb-plum); border-color: var(--tb-plum); }
.tb-btn--ghost:hover { background: var(--tb-plum); color: #fff; }
.tb-btn--light { background: #fff; color: var(--tb-plum-dark); }
.tb-btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.tb-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(252, 247, 241, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--tb-line);
}
.tb-header__row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.tb-logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--tb-font-display); font-weight: 700; font-size: 1.4rem; color: var(--tb-ink); }
.tb-logo:hover { text-decoration: none; }
.tb-logo__mark { width: 38px; height: 38px; flex: none; }
.tb-logo b { color: var(--tb-berry); font-weight: 700; }
.tb-logo small { display: block; font-family: var(--tb-font-mono); font-size: 0.55rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tb-muted); margin-top: 2px; font-weight: 500; }

.tb-nav { display: flex; align-items: center; gap: 4px; }
.tb-nav a {
  color: var(--tb-ink); font-weight: 500; font-size: 0.97rem;
  padding: 9px 13px; border-radius: 8px; transition: background .15s, color .15s;
}
.tb-nav a:hover { background: var(--tb-sand); text-decoration: none; }
.tb-nav a.is-active { color: var(--tb-berry); }
.tb-header__cta { display: inline-flex; align-items: center; gap: 14px; }
.tb-header__phone { font-family: var(--tb-font-mono); font-weight: 500; font-size: 0.92rem; color: var(--tb-plum-dark); white-space: nowrap; }
.tb-header__phone span { display: block; font-size: 0.62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tb-muted); }

.tb-burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--tb-ink); }
.tb-burger svg { width: 26px; height: 26px; }

/* ---------- Disclosure bar ---------- */
.tb-disclosure {
  background: var(--tb-plum-dark); color: #f3e7f1;
  font-size: 0.82rem; line-height: 1.5; padding: 9px 0;
  border-bottom: 2px solid var(--tb-gold);
}
.tb-disclosure p { margin: 0; }
.tb-disclosure strong { color: #fff; }
.tb-disclosure a { color: var(--tb-gold-soft); font-weight: 600; text-decoration: underline; white-space: nowrap; }

/* ---------- Hero ---------- */
.tb-hero { position: relative; overflow: hidden; background: var(--tb-ink); }
.tb-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.tb-hero__veil { position: absolute; inset: 0; background:
  linear-gradient(110deg, rgba(36,23,51,.92) 0%, rgba(78,28,75,.7) 48%, rgba(36,23,51,.35) 100%); }
.tb-hero__inner { position: relative; padding: 96px 0 104px; max-width: 760px; }
.tb-hero__inner .tb-eyebrow { color: var(--tb-gold); }
.tb-hero h1 { color: #fff; }
.tb-hero h1 em { font-style: italic; color: var(--tb-gold); }
.tb-hero p { color: #ecdfee; font-size: 1.18rem; max-width: 600px; }
.tb-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.tb-hero__stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 46px; }
.tb-stat__n { font-family: var(--tb-font-display); font-size: 2rem; color: #fff; font-weight: 700; }
.tb-stat__l { font-size: 0.85rem; color: #d6c6d8; }

/* search / quick-pick strip in hero */
.tb-finder {
  position: relative; margin-top: 40px; background: #fff; border-radius: var(--tb-radius);
  box-shadow: var(--tb-shadow); padding: 18px; display: grid; gap: 12px;
  grid-template-columns: 1.4fr 1fr 1fr auto; align-items: end;
}
.tb-field { display: flex; flex-direction: column; gap: 5px; text-align: left; }
.tb-field label { font-family: var(--tb-font-mono); font-size: 0.66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tb-muted); }
.tb-field select, .tb-field input {
  font-family: var(--tb-font-body); font-size: 0.97rem; padding: 11px 12px;
  border: 1px solid var(--tb-line); border-radius: var(--tb-radius-sm); background: var(--tb-cream); color: var(--tb-ink);
}
.tb-field select:focus, .tb-field input:focus { outline: 2px solid var(--tb-berry); border-color: transparent; }

/* ---------- Deal cards ---------- */
.tb-deal-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.tb-deal {
  background: var(--tb-card); border: 1px solid var(--tb-line); border-radius: var(--tb-radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--tb-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tb-deal:hover { transform: translateY(-5px); box-shadow: var(--tb-shadow); }
.tb-deal__media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.tb-deal__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tb-deal:hover .tb-deal__media img { transform: scale(1.05); }
.tb-deal__tag {
  position: absolute; top: 12px; left: 12px; background: rgba(36,23,51,.82); color: #fff;
  font-family: var(--tb-font-mono); font-size: 0.66rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.tb-deal__save {
  position: absolute; top: 12px; right: 12px; background: var(--tb-gold); color: var(--tb-ink);
  font-family: var(--tb-font-mono); font-weight: 500; font-size: 0.72rem; padding: 5px 10px; border-radius: 999px;
}
.tb-deal__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.tb-deal__where { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tb-deal__dest { font-family: var(--tb-font-display); font-size: 1.32rem; font-weight: 700; color: var(--tb-ink); margin: 0; }
.tb-deal__country { font-size: 0.82rem; color: var(--tb-muted); }
.tb-deal__meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0 12px; font-size: 0.82rem; color: var(--tb-muted); }
.tb-deal__meta span { display: inline-flex; align-items: center; gap: 5px; }
.tb-deal__desc { font-size: 0.93rem; color: var(--tb-text); margin: 0 0 14px; }
.tb-deal__incl { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.tb-deal__incl li { font-size: 0.86rem; padding-left: 22px; position: relative; color: var(--tb-text); }
.tb-deal__incl li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--tb-berry); border-bottom: 2px solid var(--tb-berry); transform: rotate(-45deg); }
.tb-deal__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--tb-line); }
.tb-price__from { display: block; font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tb-muted); font-family: var(--tb-font-mono); }
.tb-price__n { font-family: var(--tb-font-mono); font-weight: 500; font-size: 1.6rem; color: var(--tb-plum-dark); }
.tb-price__n small { font-size: 0.78rem; color: var(--tb-muted); }

/* filter chips */
.tb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tb-chip {
  font-family: var(--tb-font-body); font-size: 0.9rem; font-weight: 500; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--tb-line); background: #fff; color: var(--tb-plum-dark);
  transition: background .15s, color .15s, border-color .15s;
}
.tb-chip:hover { border-color: var(--tb-berry); }
.tb-chip.is-active { background: var(--tb-plum); color: #fff; border-color: var(--tb-plum); }

/* ---------- Generic grids ---------- */
.tb-grid-3 { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.tb-grid-2 { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
.tb-grid-4 { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }

.tb-feature { background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); padding: 26px; box-shadow: var(--tb-shadow-sm); }
.tb-feature__ic { width: 48px; height: 48px; border-radius: 12px; background: var(--tb-sand); color: var(--tb-plum); display: grid; place-items: center; margin-bottom: 14px; }
.tb-feature__ic svg { width: 26px; height: 26px; }
.tb-feature h3 { margin-bottom: 8px; }
.tb-feature p { font-size: 0.95rem; color: var(--tb-muted); margin: 0; }

/* steps */
.tb-step { position: relative; background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); padding: 28px 24px; box-shadow: var(--tb-shadow-sm); }
.tb-step__n { font-family: var(--tb-font-mono); font-size: 0.8rem; color: var(--tb-berry); font-weight: 500; }
.tb-step h3 { margin: 6px 0 8px; }
.tb-step p { font-size: 0.94rem; color: var(--tb-muted); margin: 0; }

/* media row */
.tb-media-img { border-radius: var(--tb-radius); box-shadow: var(--tb-shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* destination mini strip */
.tb-dest { position: relative; border-radius: var(--tb-radius); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--tb-shadow-sm); }
.tb-dest img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tb-dest:hover img { transform: scale(1.06); }
.tb-dest__cap { position: absolute; inset: auto 0 0 0; padding: 16px; background: linear-gradient(transparent, rgba(36,23,51,.85)); color: #fff; }
.tb-dest__cap b { font-family: var(--tb-font-display); font-size: 1.15rem; }
.tb-dest__cap span { display: block; font-size: 0.78rem; color: #e8d9e9; }

/* testimonials */
.tb-quote { background: #fff; border: 1px solid var(--tb-line); border-left: 4px solid var(--tb-gold); border-radius: var(--tb-radius); padding: 24px; box-shadow: var(--tb-shadow-sm); }
.tb-quote p { font-size: 1rem; font-style: italic; color: var(--tb-text); }
.tb-quote__by { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.tb-quote__av { width: 42px; height: 42px; border-radius: 50%; background: var(--tb-plum); color: #fff; display: grid; place-items: center; font-family: var(--tb-font-display); font-weight: 700; }
.tb-quote__by b { display: block; font-size: 0.92rem; color: var(--tb-ink); }
.tb-quote__by span { font-size: 0.8rem; color: var(--tb-muted); }
.tb-stars { color: var(--tb-gold); letter-spacing: 2px; font-size: 0.95rem; }

/* CTA band */
.tb-cta-band { position: relative; overflow: hidden; border-radius: 22px; background: var(--tb-plum); color: #fff; padding: 50px; box-shadow: var(--tb-shadow); }
.tb-cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.tb-cta-band__in { position: relative; max-width: 620px; }
.tb-cta-band h2 { color: #fff; }
.tb-cta-band p { color: #f0e3f1; }

/* ---------- Forms ---------- */
.tb-form { background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); padding: 30px; box-shadow: var(--tb-shadow-sm); }
.tb-form__row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.tb-form .tb-field { margin-bottom: 16px; }
.tb-form .tb-field--full { grid-column: 1 / -1; }
.tb-form input, .tb-form select, .tb-form textarea {
  font-family: var(--tb-font-body); font-size: 1rem; padding: 12px 13px;
  border: 1px solid var(--tb-line); border-radius: var(--tb-radius-sm); background: var(--tb-cream); color: var(--tb-ink); width: 100%;
}
.tb-form textarea { min-height: 130px; resize: vertical; }
.tb-form input:focus, .tb-form select:focus, .tb-form textarea:focus { outline: 2px solid var(--tb-berry); border-color: transparent; }
.tb-form label { font-weight: 500; font-size: 0.9rem; color: var(--tb-ink); margin-bottom: 5px; display: block; }
.tb-form label .tb-req { color: var(--tb-berry); }
.tb-field__err { color: var(--tb-warn); font-size: 0.8rem; margin-top: 4px; display: none; }
.tb-field.is-invalid input, .tb-field.is-invalid select, .tb-field.is-invalid textarea { border-color: var(--tb-warn); background: #fdecea; }
.tb-field.is-invalid .tb-field__err { display: block; }
.tb-form__note { font-size: 0.82rem; color: var(--tb-muted); margin-top: 10px; }
.tb-form__ok { display: none; background: #eaf6ef; border: 1px solid #bfe3cf; color: var(--tb-ok); padding: 14px 16px; border-radius: var(--tb-radius-sm); margin-bottom: 16px; font-size: 0.95rem; }
.tb-form__ok.is-show { display: block; }

/* contact info cards */
.tb-info { display: grid; gap: 16px; }
.tb-info__card { background: #fff; border: 1px solid var(--tb-line); border-radius: var(--tb-radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.tb-info__ic { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--tb-sand); color: var(--tb-plum); display: grid; place-items: center; }
.tb-info__ic svg { width: 22px; height: 22px; }
.tb-info__card b { display: block; color: var(--tb-ink); font-size: 0.95rem; margin-bottom: 2px; }
.tb-info__card p, .tb-info__card a { margin: 0; font-size: 0.93rem; color: var(--tb-muted); }

/* ---------- Legal / prose ---------- */
.tb-prose { max-width: 820px; }
.tb-prose h2 { margin-top: 2em; font-size: 1.5rem; }
.tb-prose h3 { margin-top: 1.4em; font-size: 1.15rem; }
.tb-prose ul { padding-left: 1.2em; }
.tb-prose li { margin-bottom: 0.4em; }
.tb-prose__updated { font-family: var(--tb-font-mono); font-size: 0.82rem; color: var(--tb-muted); border: 1px solid var(--tb-line); background: #fff; border-radius: 999px; padding: 6px 14px; display: inline-block; }

/* page hero (interior) */
.tb-pagehero { background: linear-gradient(120deg, var(--tb-plum-dark), var(--tb-plum)); color: #fff; padding: 64px 0 56px; }
.tb-pagehero .tb-eyebrow { color: var(--tb-gold); }
.tb-pagehero h1 { color: #fff; }
.tb-pagehero p { color: #efe2f0; max-width: 620px; margin: 0; }
.tb-breadcrumb { font-size: 0.82rem; color: #d9c8da; margin-bottom: 10px; font-family: var(--tb-font-mono); }
.tb-breadcrumb a { color: #f0e0f1; }

/* faq */
.tb-faq { max-width: 860px; }
.tb-faq__item { border: 1px solid var(--tb-line); background: #fff; border-radius: var(--tb-radius-sm); margin-bottom: 12px; overflow: hidden; }
.tb-faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 20px; font-family: var(--tb-font-body); font-weight: 600; font-size: 1.02rem; color: var(--tb-ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tb-faq__q svg { width: 20px; height: 20px; flex: none; transition: transform .2s; color: var(--tb-berry); }
.tb-faq__item.is-open .tb-faq__q svg { transform: rotate(180deg); }
.tb-faq__a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; }
.tb-faq__item.is-open .tb-faq__a { padding: 0 20px 18px; max-height: 600px; }
.tb-faq__a p { font-size: 0.95rem; color: var(--tb-muted); margin: 0; }

/* ---------- Footer ---------- */
.tb-footer { background: var(--tb-ink); color: #cfc1d2; padding: 56px 0 0; }
.tb-footer a { color: #d9cbda; }
.tb-footer a:hover { color: #fff; }
.tb-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 30px; padding-bottom: 40px; }
.tb-footer__brand .tb-logo { color: #fff; }
.tb-footer__brand .tb-logo small { color: #b7a6b9; }
.tb-footer__tag { font-size: 0.92rem; margin: 14px 0 16px; color: #c3b4c5; max-width: 320px; }
.tb-footer h4 { color: #fff; font-family: var(--tb-font-body); font-weight: 600; font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.tb-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.tb-footer__col a { font-size: 0.92rem; }
.tb-footer__contact p { font-size: 0.9rem; margin: 0 0 8px; color: #c8b9ca; line-height: 1.5; }
.tb-footer__contact b { color: #fff; }
.tb-social { display: flex; gap: 10px; margin-top: 14px; }
.tb-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.tb-social a:hover { background: var(--tb-berry); }
.tb-social svg { width: 18px; height: 18px; color: #fff; }
.tb-footer__bar { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center; }
.tb-footer__bar p { margin: 0; font-size: 0.82rem; color: #a594a7; }
.tb-footer__bar .tb-refresh { font-family: var(--tb-font-mono); font-size: 0.74rem; color: #8f7e91; }
.tb-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.tb-footer__legal a { font-size: 0.82rem; color: #c8b9ca; text-decoration: none; }
.tb-footer__legal a:hover { color: #fff; text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.tb-cookie {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 160%);
  width: min(560px, calc(100% - 32px)); background: var(--tb-ink); color: #ece1ed;
  border: 1px solid rgba(246,166,35,.4); border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 24px 50px -16px rgba(0,0,0,.5); z-index: 90;
  display: flex; gap: 16px; align-items: center; transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.tb-cookie.is-show { transform: translate(-50%, 0); }
.tb-cookie p { margin: 0; font-size: 0.85rem; line-height: 1.45; }
.tb-cookie a { color: var(--tb-gold-soft); text-decoration: underline; }
.tb-cookie__btns { display: flex; gap: 8px; flex: none; }
.tb-cookie__btns button { font-family: var(--tb-font-body); cursor: pointer; border-radius: 999px; font-size: 0.85rem; font-weight: 600; padding: 9px 16px; border: 1px solid transparent; }
#tbgDealAgree { background: var(--tb-gold); color: var(--tb-ink); }
.tb-cookie__more { background: transparent; color: #ece1ed; border-color: rgba(255,255,255,.3) !important; }

/* ---------- Back to top ---------- */
.tb-top {
  position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--tb-berry); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
  box-shadow: var(--tb-shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s; z-index: 80;
}
.tb-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.tb-top svg { width: 22px; height: 22px; }

/* ---------- Reveal animation ---------- */
.tb-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.tb-reveal.is-in { opacity: 1; transform: none; }

/* skip link */
.tb-skip { position: absolute; left: -999px; top: 0; background: var(--tb-berry); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.tb-skip:focus { left: 0; }

/* mobile nav panel */
.tb-mnav { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .tb-deal-grid, .tb-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tb-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tb-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .tb-finder { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .tb-nav, .tb-header__phone { display: none; }
  .tb-burger { display: grid; place-items: center; }
  .tb-grid-2 { grid-template-columns: 1fr; }
  .tb-form__row { grid-template-columns: 1fr; }
  .tb-cta-band { padding: 34px 24px; }
  .tb-hero__inner { padding: 64px 0 72px; }
  .tb-mnav {
    display: block; position: fixed; inset: 0; background: var(--tb-ink); z-index: 120;
    transform: translateX(100%); transition: transform .3s ease; padding: 26px 24px; overflow-y: auto;
  }
  .tb-mnav.is-open { transform: translateX(0); }
  .tb-mnav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
  .tb-mnav__head .tb-logo { color: #fff; }
  .tb-mnav__close { background: none; border: 0; color: #fff; cursor: pointer; width: 44px; height: 44px; }
  .tb-mnav__close svg { width: 28px; height: 28px; }
  .tb-mnav a { display: block; color: #fff; font-size: 1.2rem; font-family: var(--tb-font-display); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .tb-mnav a:hover { text-decoration: none; color: var(--tb-gold); }
  .tb-mnav__phone { margin-top: 22px; font-family: var(--tb-font-mono); color: var(--tb-gold-soft); }
}
@media (max-width: 540px) {
  .tb-deal-grid, .tb-grid-3, .tb-grid-4 { grid-template-columns: 1fr; }
  .tb-finder { grid-template-columns: 1fr; }
  .tb-cookie { flex-direction: column; align-items: stretch; text-align: left; }
  .tb-hero__stats { gap: 22px; }
}
