/* JF Auto Sales static site */
:root {
  --jf-black: #0b0b0d;
  --jf-panel: #111318;
  --jf-card: #17191d;
  --jf-orange: #f47b20;
  --jf-gold: #f5bd53;
  --jf-cream: #fff3d8;
  --jf-muted: #c7c0b4;
  --jf-line: rgba(245, 189, 83, .2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--jf-black);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--jf-black);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

.jf-site {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--jf-black);
  color: #fff;
  line-height: 1.55;
}

.jf-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 10, .94);
  border-bottom: 1px solid rgba(245, 189, 83, .25);
  backdrop-filter: blur(10px);
}

.jf-nav {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.jf-brand,
.jf-brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--jf-gold);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.jf-brand span {
  color: var(--jf-orange);
}

.jf-brand-logo img {
  display: block;
  width: auto;
  height: 42px;
  max-width: 170px;
  object-fit: contain;
}

.jf-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}

.jf-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.jf-call {
  padding: 10px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--jf-orange), var(--jf-gold));
  color: #111 !important;
  box-shadow: 0 8px 24px rgba(244, 123, 32, .25);
  white-space: nowrap;
}

.jf-menu-toggle {
  display: none;
}

.jf-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 22px;
}

.jf-hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .62), rgba(0, 0, 0, .18)),
    url("assets/jf-auto-sales-hero-40db8b60-c486-4ce2-abda-fc82ffc53077.png") center / cover no-repeat;
}

.jf-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(transparent, var(--jf-black));
}

.jf-page-hero {
  padding: 120px 0 70px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .94), rgba(0, 0, 0, .74)),
    url("assets/jf-auto-sales-hero-40db8b60-c486-4ce2-abda-fc82ffc53077.png") center / cover no-repeat;
}

.jf-kicker {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--jf-gold);
  color: #111;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h1.jf-title,
.jf-page-hero h1 {
  max-width: 100%;
  margin: 0 0 14px;
  color: #f7f2e8 !important;
  font-weight: 900;
  line-height: .96;
  letter-spacing: 2px;
  overflow-wrap: break-word;
  text-transform: uppercase;
  text-shadow: 0 8px 30px rgba(0, 0, 0, .95);
}

h1.jf-title {
  font-size: clamp(46px, 8vw, 96px);
}

.jf-page-hero h1 {
  font-size: clamp(42px, 7vw, 78px);
}

.jf-title span,
.jf-card h2 span,
.jf-section h2 span {
  color: var(--jf-gold);
}

.jf-title span {
  display: block;
}

.jf-sub {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(19px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: 5px;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 5px 18px rgba(0, 0, 0, .95);
}

.jf-copy {
  max-width: 750px;
  margin: 0 0 28px;
  color: #eee;
  font-size: 20px;
}

.jf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.jf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 15px 22px;
  border-radius: 10px;
  color: inherit;
  font-weight: 900;
  letter-spacing: .5px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.jf-btn.primary {
  background: linear-gradient(135deg, var(--jf-orange), var(--jf-gold));
  color: #111;
}

.jf-btn.secondary {
  border: 2px solid rgba(245, 189, 83, .8);
  background: rgba(0, 0, 0, .35);
  color: #fff;
}

.jf-section {
  padding: 86px 0;
  border-top: 1px solid rgba(245, 189, 83, .13);
}

.jf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 42px;
  align-items: center;
}

.jf-home-trust {
  display: grid;
  gap: 30px;
}

.jf-home-trust .jf-card {
  max-width: 960px;
  margin: 0 auto;
}

.jf-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--jf-line);
  border-radius: 22px;
  background: linear-gradient(180deg, #1a1c21, #101114);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
}

.jf-card h2,
.jf-section h2 {
  max-width: 100%;
  margin: 0 0 18px;
  color: #f7f2e8 !important;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1;
  letter-spacing: 1px;
  overflow-wrap: break-word;
  text-transform: uppercase;
  text-shadow: 0 5px 22px rgba(0, 0, 0, .75);
}

.jf-card p,
.jf-section p {
  color: var(--jf-muted);
  font-size: 18px;
}

.jf-photo {
  display: block;
  width: 100%;
  border: 3px solid rgba(245, 189, 83, .28);
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .45);
}

.jf-photo.jf-home-photo {
  width: min(100%, 680px);
  margin: 0 auto;
}

.jf-quote-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: 24px;
  align-items: center;
}

.jf-features,
.jf-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.jf-features {
  margin-top: 30px;
}

.jf-feature {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(245, 189, 83, .18);
  border-radius: 18px;
  background: var(--jf-panel);
}

.jf-feature b {
  display: block;
  margin-bottom: 8px;
  color: var(--jf-gold);
  font-size: 22px;
}

.jf-feature span {
  color: #d8d0c0;
}

.jf-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}

.jf-badge {
  padding: 10px 14px;
  border: 1px solid rgba(245, 189, 83, .35);
  border-radius: 999px;
  background: rgba(245, 189, 83, .08);
  color: var(--jf-cream);
  font-weight: 800;
}

.jf-list {
  margin: 20px 0 0;
  padding-left: 20px;
  color: #ddd;
  font-size: 18px;
}

.jf-list li {
  margin: 10px 0;
}

.jf-big-phone {
  display: inline-block;
  max-width: 100%;
  margin-top: 12px;
  color: var(--jf-gold);
  font-size: clamp(34px, 6vw, 66px);
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.jf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.jf-vehicle-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(245, 189, 83, .24);
  border-radius: 18px;
  background: #08090c;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .32);
}

.jf-vehicle-photo {
  height: 285px;
  border-bottom: 1px solid rgba(245, 189, 83, .16);
  background-color: #08090c;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.jf-vehicle-card img,
.jf-hover-cta {
  display: none;
}

.jf-vehicle-info {
  padding: 16px 18px;
  background: #101114;
}

.jf-vehicle-info span {
  display: none;
}

.jf-vehicle-info b {
  display: block;
  color: #fff;
  font-size: 20px;
}

.jf-gallery-cta {
  margin: 34px 0 12px;
  text-align: center;
}

.jf-footer {
  padding: 32px 22px;
  border-top: 1px solid rgba(245, 189, 83, .18);
  background: #070708;
  color: #9d9485;
  text-align: center;
}

@media (max-width: 980px) {
  .jf-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  html,
  body,
  .jf-site {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .jf-nav {
    position: relative;
    display: block;
    width: 100%;
    min-height: 72px;
    padding: 16px 74px 14px 16px;
  }

  .jf-brand-logo img {
    height: 48px;
    max-width: 190px;
  }

  .jf-menu-toggle {
    position: absolute;
    top: 17px;
    right: 16px;
    z-index: 2;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--jf-orange), var(--jf-gold));
    color: #111;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
  }

  .jf-links {
    display: none;
    width: 100%;
    margin-top: 16px;
  }

  .jf-nav.jf-menu-open .jf-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .jf-links a {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border: 1px solid rgba(245, 189, 83, .16);
    border-radius: 10px;
    background: #14161b;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .jf-links .jf-call {
    border: 0;
    color: #111 !important;
  }

  .jf-wrap {
    width: 100vw;
    max-width: 100vw;
    padding-right: 20px;
    padding-left: 20px;
    overflow: hidden;
  }

  .jf-wrap > * {
    max-width: calc(100vw - 40px);
  }

  .jf-hero {
    min-height: auto;
    padding: 58px 0 76px;
    place-items: start;
  }

  .jf-page-hero {
    padding: 82px 0 48px;
  }

  h1.jf-title {
    font-size: clamp(38px, 11.5vw, 48px);
    line-height: 1;
    letter-spacing: 0;
  }

  .jf-page-hero h1 {
    max-width: 100%;
    font-size: clamp(31px, 9vw, 42px);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .jf-sub {
    font-size: 17px;
    letter-spacing: 1.4px;
  }

  .jf-copy {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    font-size: 16px;
  }

  .jf-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .jf-actions .jf-btn,
  .jf-btn {
    width: 100%;
    white-space: normal;
  }

  .jf-section {
    padding: 56px 0;
  }

  .jf-grid,
  .jf-contact,
  .jf-features,
  .jf-gallery-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .jf-grid {
    gap: 20px;
  }

  .jf-card {
    width: 100%;
    padding: 20px;
    border-radius: 18px;
  }

  .jf-quote-card {
    grid-template-columns: 1fr;
  }

  .jf-card h2,
  .jf-section h2 {
    font-size: clamp(26px, 7.2vw, 34px);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .jf-card p,
  .jf-section p,
  .jf-list {
    font-size: 16px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .jf-feature {
    padding: 20px;
  }

  .jf-feature b {
    font-size: 22px;
  }

  .jf-photo {
    margin-top: 0;
  }

  .jf-vehicle-photo {
    height: 245px;
  }

  .jf-footer {
    padding: 28px 20px;
  }
}

@media (max-width: 380px) {
  .jf-wrap {
    width: 100vw;
    max-width: 100vw;
    padding-right: 16px;
    padding-left: 16px;
  }

  .jf-wrap > *,
  .jf-copy,
  .jf-actions {
    max-width: calc(100vw - 32px);
  }

  .jf-card {
    padding: 18px;
  }

  .jf-brand-logo img {
    max-width: 170px;
  }

  .jf-page-hero h1 {
    font-size: 30px;
  }
}
