/* Stashfin-inspired chrome. Brand from Savi Forex lockup: navy / gold / cyan. */
body.sf {
  --sf-ink: #0a2545;
  --sf-ink-2: #163a5f;
  --sf-gold: #f5a623;
  --sf-gold-2: #e09112;
  --sf-cyan: #00aeef;
  --sf-cyan-2: #008fc7;
  --sf-paper: #f5f7fb;
  --sf-card: #ffffff;
  --sf-line: #e4ecf3;
  --sf-muted: #5b6b7c;
  background: var(--sf-paper);
}

body.sf a { color: var(--sf-cyan-2); }
body.sf a:hover { color: var(--sf-ink); }

/* Header: one clean row + gold CTA */
body.sf .top {
  background: #fff;
  border-bottom: 1px solid var(--sf-line);
  box-shadow: 0 1px 0 rgba(10, 37, 69, .04);
}
body.sf .nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 24px;
  min-height: 72px;
}
body.sf .nav-wrap .brand-logo,
body.sf .nav-wrap .brand img {
  height: 52px;
  max-height: 52px;
  max-width: 180px;
}
body.sf .nav {
  margin-left: auto;
  gap: 22px;
  font-size: 15px;
  font-weight: 650;
}
body.sf .nav a {
  color: var(--sf-ink-2);
  gap: 0;
}
body.sf .nav a:hover { color: var(--sf-cyan-2); }
body.sf .nav-ico { display: none; }
body.sf .nav-cta { gap: 12px; }
body.sf .nav-phone { color: var(--sf-ink-2); font-weight: 700; }
body.sf .nav-wa { display: none; }
body.sf .nav-book {
  background: var(--sf-gold);
  color: var(--sf-ink) !important;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
}
body.sf .nav-book:hover { background: var(--sf-gold-2); color: var(--sf-ink) !important; }
body.sf .head-find { display: none; }

@media (max-width: 980px) {
  body.sf .nav-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "menu brand";
    gap: 12px;
    padding: 10px 14px;
    min-height: 68px;
  }
  body.sf .head-find,
  body.sf .nav-cta { display: none !important; }
  body.sf .nav-wrap .brand-logo,
  body.sf .nav-wrap .brand img {
    height: 56px;
    max-height: 56px;
    max-width: 220px;
  }
}

/* Light homepage hero — booking card is the banner */
body.sf .sf-hero {
  background: linear-gradient(180deg, #fff 0%, var(--sf-paper) 100%);
  padding: 36px 20px 8px;
  text-align: center;
}
body.sf .sf-hero-banner { padding-bottom: 12px; }
body.sf .sf-hero-inner { max-width: 1180px; margin: 0 auto; }
body.sf .sf-hero h1 {
  margin: 0 auto 8px;
  max-width: 22ch;
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--sf-ink);
}
body.sf .sf-hero .lede {
  margin: 0 auto 18px;
  max-width: 520px;
  color: var(--sf-muted);
  font-size: 1rem;
}
body.sf .sf-banner {
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}
body.sf .sf-banner .book-card {
  border: 1px solid var(--sf-line);
  border-radius: 22px;
  padding: 16px 18px 14px;
  box-shadow: 0 18px 44px rgba(10, 37, 69, .12);
}
body.sf .svc:has(input:checked) {
  background: #fff8eb;
  border-color: var(--sf-gold);
  color: var(--sf-ink);
}
body.sf .svc input { accent-color: var(--sf-gold); }
body.sf .pay-chip input { accent-color: var(--sf-gold); }
body.sf .book-cta { background: var(--sf-gold); color: var(--sf-ink); }
body.sf .book-markets button.on { color: var(--sf-gold); border-bottom-color: var(--sf-gold); }

body.sf .sf-products-wrap {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 0 20px;
}
body.sf .sf-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}
body.sf .sf-product {
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: 16px;
  padding: 22px 20px 18px;
  box-shadow: 0 10px 28px rgba(10, 37, 69, .06);
  min-height: 214px;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
body.sf .sf-product:hover {
  transform: translateY(-3px);
  border-color: #c9dcea;
  box-shadow: 0 16px 36px rgba(10, 37, 69, .1);
  color: inherit;
}
body.sf .sf-product .orb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e8f7fd;
  color: var(--sf-cyan-2);
  margin-bottom: 14px;
}
body.sf .sf-product .orb .ico { width: 22px; height: 22px; }
body.sf .sf-product h3 { margin: 0 0 8px; font-size: 1.12rem; color: var(--sf-ink); }
body.sf .sf-product p { margin: 0 0 16px; color: var(--sf-muted); font-size: .92rem; flex: 1; }
body.sf .sf-product .more {
  color: var(--sf-cyan-2);
  font-weight: 800;
  font-size: .9rem;
}

body.sf .sf-finder {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 0 20px 8px;
}
body.sf .sf-finder .book-card,
body.sf .sf-banner .book-card {
  border: 1px solid var(--sf-line);
  box-shadow: 0 12px 32px rgba(10, 37, 69, .08);
}

body.sf .sf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1180px;
  margin: 36px auto 0;
  padding: 0 20px 8px;
}
body.sf .sf-stat {
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
}
body.sf .sf-stat strong {
  display: block;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: -.03em;
  color: var(--sf-ink);
}
body.sf .sf-stat span { color: var(--sf-muted); font-size: .85rem; }

body.sf .sf-why {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 36px;
  align-items: center;
}
body.sf .sf-why-panel {
  background: linear-gradient(160deg, var(--sf-ink), var(--sf-ink-2));
  color: #fff;
  border-radius: 20px;
  min-height: 320px;
  padding: 36px 32px;
}
body.sf .sf-why-panel h3 { margin: 0 0 10px; font-size: 1.7rem; color: #fff; }
body.sf .sf-why-panel p { color: #c9d7e6; margin: 0; }
body.sf .sf-why-list { margin: 0; padding: 0; list-style: none; }
body.sf .sf-why-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--sf-line);
}
body.sf .sf-why-list li:last-child { border-bottom: 0; }
body.sf .sf-why-list b { display: block; font-size: 1.02rem; color: var(--sf-ink); }
body.sf .sf-why-list span { color: var(--sf-muted); font-size: .9rem; }
body.sf .sf-check {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e8f7fd;
  color: var(--sf-cyan-2);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: none;
}

body.sf .sf-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
body.sf .sf-quote {
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: 16px;
  padding: 22px;
}
body.sf .sf-quote p { color: var(--sf-ink-2); margin: 0 0 16px; }
body.sf .sf-quote b { display: block; color: var(--sf-ink); }
body.sf .sf-quote small { color: var(--sf-muted); }

body.sf .sf-cta {
  background: linear-gradient(160deg, var(--sf-ink), #0c2d48);
  color: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
body.sf .sf-cta h2 { color: #fff; margin: 0 0 6px; }
body.sf .sf-cta p { color: #c9d7e6; margin: 0; }
body.sf .sf-cta .btn.gold { flex: none; }

/* Kill Avis dark hero on search pages too */
body.sf .hero-stage {
  background: linear-gradient(180deg, #fff, var(--sf-paper));
  color: var(--sf-ink);
  min-height: 0;
  padding: 18px 0 8px;
}
body.sf .hero-visual,
body.sf .photo-orb { display: none !important; }
body.sf .hero-copy h1 { color: var(--sf-ink); max-width: none; }
body.sf .book-dock { transform: none; padding: 0 20px 8px; }
body.sf .hero-stage-compact .book-dock { transform: none; }
body.sf .trust-bar { padding: 28px 24px; background: #fff; }
body.sf .page-white { background: var(--sf-paper); }

body.sf .prod { box-shadow: 0 10px 28px rgba(10, 37, 69, .06); }
body.sf .rate-tile { box-shadow: 0 8px 22px rgba(10, 37, 69, .05); }

/* Mega footer */
body.sf .foot {
  background: var(--sf-ink);
  color: #c9d7e6;
  padding: 56px 24px 28px;
}
body.sf .foot-mega {
  max-width: 1180px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr);
  gap: 28px;
  min-width: 0;
}
body.sf .foot h3,
body.sf .foot h4 {
  color: #fff;
  font-size: .92rem;
  letter-spacing: .04em;
  margin: 0 0 12px;
}
body.sf .foot a { color: #c9d7e6; }
body.sf .foot a:hover { color: var(--sf-gold); }
body.sf .foot p { color: #9fb3c4; font-size: .92rem; }
body.sf .foot .brand-logo,
body.sf .foot .brand img {
  height: 44px;
  max-height: 44px;
  max-width: 150px;
  background: #fff;
  border-radius: 10px;
  padding: 6px 8px;
}
body.sf .legal { max-width: 1180px; }

@media (max-width: 1024px) {
  body.sf .sf-products,
  body.sf .sf-stats,
  body.sf .sf-quotes,
  body.sf .sf-why,
  body.sf .foot-mega,
  body.sf .sf-cta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.sf .sf-cta { display: grid; }
  body.sf .sf-hero { padding-top: 22px; }
  body.sf .sf-hero h1 { max-width: none; }
  body.sf .nav-wrap { max-width: 100%; }
}
@media (max-width: 640px) {
  body.sf .sf-products,
  body.sf .sf-stats,
  body.sf .sf-quotes,
  body.sf .sf-why,
  body.sf .foot-mega {
    grid-template-columns: minmax(0, 1fr);
  }
  body.sf .sf-cta { text-align: left; padding: 24px 18px; }
  body.sf .sf-hero { padding-left: 14px; padding-right: 14px; }
  body.sf .sf-products-wrap,
  body.sf .sf-finder,
  body.sf .sf-stats { padding-left: 14px; padding-right: 14px; }
}
