/* =========================================================
   SATELLITE GOLD CAR — STYLESHEET
   Design tokens are defined as CSS variables below.
   Edit colors, spacing and radii here to re-theme the site.
========================================================= */

:root{
  /* --- Brand colors --- */
  --c-black: #0B0B0B;
  --c-charcoal: #151515;
  --c-gold: #D4AF37;
  --c-gold-light: #F1D27A;
  --c-white: #FFFFFF;
  --c-bg-soft: #F7F7F5;

  /* --- Derived / utility tones --- */
  --c-text: #1B1B1A;
  --c-text-muted: #6B6A66;
  --c-text-on-dark: #F4F3EF;
  --c-text-on-dark-muted: #A9A8A2;
  --c-border: #E7E5DF;
  --c-border-dark: #2A2A28;

  /* --- Typography --- */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- Layout --- */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 12px 32px -12px rgba(11,11,11,0.16);
  --shadow-card: 0 4px 18px -6px rgba(11,11,11,0.10);

  --navbar-h: 84px;
}

/* =========================================================
   RESET & BASE
========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
address{ font-style: normal; }
button{ font-family: inherit; cursor: pointer; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--c-black);
}

p{ margin: 0; }

:focus-visible{
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* =========================================================
   BUTTONS
========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
  white-space: nowrap;
}
.btn i{ font-size: 1.05em; }
.btn:hover{ transform: translateY(-2px); }

.btn--gold{
  background: var(--c-gold);
  color: var(--c-black);
  box-shadow: 0 10px 24px -10px rgba(212,175,55,0.55);
}
.btn--gold:hover{ background: var(--c-gold-light); }

.btn--dark{
  background: var(--c-black);
  color: var(--c-white);
}
.btn--dark:hover{ background: var(--c-charcoal); }

.btn--outline{
  background: transparent;
  border-color: rgba(11,11,11,0.22);
  color: var(--c-black);
}
.btn--outline:hover{ border-color: var(--c-black); background: rgba(11,11,11,0.04); }

.btn--outline-dark{
  background: transparent;
  border-color: rgba(11,11,11,0.3);
  color: var(--c-black);
}
.btn--outline-dark:hover{ background: var(--c-black); color: var(--c-white); }

.btn--sm{ padding: 10px 18px; font-size: 0.86rem; }
.btn--lg{ padding: 16px 30px; font-size: 1rem; }
.btn--block{ width: 100%; }

/* =========================================================
   NAVBAR
========================================================= */
.navbar{
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow .3s ease;
}
.navbar.is-scrolled{
  box-shadow: 0 6px 24px -12px rgba(11,11,11,0.18);
}

.navbar__inner{
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height .3s ease;
}
.navbar.is-scrolled .navbar__inner{ height: 64px; }

.navbar__brand{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.navbar__brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--c-black);
  color: var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.navbar__brand-text{ display: flex; flex-direction: column; line-height: 1.25; }
.navbar__brand-text strong{
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--c-black);
}
.navbar__brand-text em{
  font-style: normal;
  font-size: 0.74rem;
  color: var(--c-text-muted);
  letter-spacing: 0.3px;
}

.navbar__nav{
  display: flex;
  align-items: center;
  gap: 30px;
}
.navlink{
  position: relative;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--c-text);
  padding: 6px 0;
}
.navlink::after{
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--c-gold);
  transition: width .25s ease;
}
.navlink:hover::after,
.navlink.is-active::after{ width: 100%; }

.navbar__actions{
  display: flex;
  align-items: center;
  gap: 16px;
}
.navbar__phone{
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-text);
}
.navbar__phone i{ color: var(--c-gold); }

.navbar__burger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}
.navbar__burger span{
  width: 22px;
  height: 2px;
  background: var(--c-black);
  transition: transform .3s ease, opacity .3s ease;
  margin: 0 auto;
}
.navbar__burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.navbar__burger.is-open span:nth-child(2){ opacity: 0; }
.navbar__burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
========================================================= */
.hero{
  position: relative;
  padding: 96px 0 110px;
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(212,175,55,0.12), transparent 60%),
    var(--c-white);
  overflow: hidden;
}

.hero__inner{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero__badge{
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--c-black);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
}

.hero__title{
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero__title-accent{ color: var(--c-gold); }

.hero__text{
  max-width: 48ch;
  font-size: 1.08rem;
  color: var(--c-text-muted);
  margin-bottom: 36px;
}

.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__visual{ 
  position: relative; 
}

.hero__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__frame-glow{
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: inherit;
  pointer-events: none;
}
.hero__stat-card{
  position: absolute;
  left: -20px;
  bottom: -22px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.hero__stat-number{
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--c-black);
}
.hero__stat-label{
  font-size: 0.82rem;
  color: var(--c-text-muted);
  font-weight: 600;
}

/* Fallback style applied via JS when hero image fails to load */
.img-fallback{
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  background: linear-gradient(150deg, var(--c-charcoal), var(--c-black));
}
.img-fallback i{ font-size: 2.6rem; opacity: 0.75; }

/* =========================================================
   TRUST BAR
========================================================= */
.trustbar{
  background: var(--c-black);
  padding: 28px 0;
}
.trustbar__inner{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trustbar__item{
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--c-text-on-dark);
}
.trustbar__item i{
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(212,175,55,0.14);
  color: var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.trustbar__item div{ display: flex; flex-direction: column; line-height: 1.3; }
.trustbar__item strong{ font-size: 0.92rem; }
.trustbar__item span{ font-size: 0.82rem; color: var(--c-text-on-dark-muted); }

/* =========================================================
   SECTIONS (shared)
========================================================= */
.section{ padding: 100px 0; }
.section--soft{ background: var(--c-bg-soft); }
.section--dark{ background: var(--c-black); }

.section__head{
  max-width: 620px;
  margin: 0 0 52px;
}
.section__head--light .section__title{ color: var(--c-white); }

.section__title{
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin-bottom: 12px;
}
.section__subtitle{
  color: var(--c-text-muted);
  font-size: 1.03rem;
}

/* =========================================================
   VEHICLE FILTERS
========================================================= */
.filters{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn{
  border: 1px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-text);
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all .2s ease;
}
.filter-btn:hover{ border-color: var(--c-gold); }
.filter-btn.is-active{
  background: var(--c-black);
  border-color: var(--c-black);
  color: var(--c-white);
}

/* =========================================================
   VEHICLE CARDS
========================================================= */
.cars-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.car-card{
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.car-card:hover{
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.5);
  box-shadow: 0 18px 34px -16px rgba(11,11,11,0.22);
}

.car-card__media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #151515;
}

.car-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.badge{
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--c-white);
  color: var(--c-black);
}
.badge--available{ background: var(--c-white); color: #1c6b3f; }
.badge--unavailable{ background: var(--c-black); color: var(--c-gold-light); }

.car-card__body{
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.car-card__category{
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-gold);
}
.car-card__body h3{
  font-size: 1.28rem;
}
.car-card__desc{
  color: var(--c-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.car-card__specs{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.car-card__specs li{
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  color: var(--c-text);
}
.car-card__specs i{ color: var(--c-gold); }

.car-card__price{
  font-size: 0.92rem;
  color: var(--c-text-muted);
}
.car-card__price strong{
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--c-black);
  margin-right: 4px;
}

.car-card__actions{
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.car-card__actions .btn{ flex: 1; padding: 12px 14px; font-size: 0.88rem; }

/* =========================================================
   WHY CHOOSE US
========================================================= */
.benefits{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.benefit{
  border-top: 1px solid var(--c-border-dark);
  padding-top: 20px;
}
.benefit__num{
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--c-gold);
  margin-bottom: 14px;
}
.benefit h3{
  color: var(--c-white);
  font-size: 1.12rem;
  margin-bottom: 10px;
}
.benefit p{
  color: var(--c-text-on-dark-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* =========================================================
   HOW IT WORKS
========================================================= */
.steps{
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 20px;
}
.step{ text-align: left; }
.step__num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--c-gold);
  color: var(--c-black);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.step h3{ font-size: 1.1rem; margin-bottom: 10px; }
.step p{ color: var(--c-text-muted); font-size: 0.92rem; line-height: 1.6; }
.step__connector{
  height: 1px;
  background: var(--c-border);
  margin-top: 23px;
}

/* =========================================================
   LOCATION
========================================================= */
.location{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.location__address{
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--c-text-muted);
  margin: 20px 0 32px;
}
.location__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.location__map{
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border);
}
.location__map iframe{
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* =========================================================
   CTA
========================================================= */
.cta{
  background: var(--c-black);
  padding: 90px 0;
  text-align: center;
}
.cta__title{
  color: var(--c-white);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  margin-bottom: 14px;
}
.cta__text{
  color: var(--c-text-on-dark-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.cta__actions{
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn--outline.cnt {
    background: transparent;
    border-color: rgb(255 255 255 / 35%);
    color: #f3e6ba;
}

.btn--outline.cnt:hover {
    background: transparent;
    border-color: #79725c;
    color: #ecd99a;
}
/* =========================================================
   FOOTER
========================================================= */
.footer{
  background: var(--c-charcoal);
  color: var(--c-text-on-dark-muted);
  padding: 70px 0 0;
}
.footer__inner{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--c-border-dark);
}
.footer__brand{
  display: flex;
  gap: 14px;
}
.navbar__brand-mark--footer{ background: var(--c-gold); color: var(--c-black); }
.footer__brand strong{
  font-family: var(--font-display);
  color: var(--c-white);
  font-size: 1.1rem;
}
.footer__brand p{ font-size: 0.88rem; margin-top: 4px; }

.footer__col h4{
  color: var(--c-white);
  font-size: 0.92rem;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer__col{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col a, .footer__col span{
  font-size: 0.89rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s ease;
}
.footer__col a:hover{ color: var(--c-gold); }

.footer__bottom{
  text-align: center;
  padding: 24px 0;
  font-size: 0.82rem;
}

/* =========================================================
   FLOATING WHATSAPP BUTTON
========================================================= */
.floating-whatsapp{
  position: fixed;
  right: 24px;
  bottom: 94px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,0.6);
  z-index: 400;
  transition: transform .25s ease, box-shadow .25s ease;
}
.floating-whatsapp:hover{
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 18px 36px -8px rgba(37,211,102,0.75);
}

/* =========================================================
   MODAL
========================================================= */
.modal{
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden]{ display: none; }

.modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(11,11,11,0.6);
  backdrop-filter: blur(3px);
  animation: fadeIn .25s ease;
}

.modal__box{
  position: relative;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.4);
  animation: modalPop .28s ease;
}

@keyframes fadeIn{ from{ opacity: 0; } to{ opacity: 1; } }
@keyframes modalPop{
  from{ opacity: 0; transform: translateY(18px) scale(0.98); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

.modal__close{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--c-black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.3);
}

.modal__media{
  position: relative;
  background: linear-gradient(150deg, var(--c-charcoal), var(--c-black));
  min-height: 260px;
}
.modal__media img{ width: 100%; height: 100%; object-fit: cover; }
.modal__badge{ top: 18px; left: 18px; }

.modal__content{
  padding: 34px;
  display: flex;
  flex-direction: column;
}
.modal__category{
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: 6px;
}
.modal__content h3{ font-size: 1.5rem; margin-bottom: 12px; }
.modal__desc{
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.modal__specs{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 20px;
}
.modal__specs li{ display: flex; align-items: center; gap: 10px; font-size: 0.92rem; }
.modal__specs i{ color: var(--c-gold); width: 18px; }

.modal__price{
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.9rem;
  color: var(--c-text-muted);
}
.modal__price strong{
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--c-black);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1200px){
  .cars-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px){
  :root{ --navbar-h: 72px; }

  .navbar__nav{
    position: fixed;
    top: var(--navbar-h);
    left: 0; right: 0;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 28px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
  }
  .navbar__nav.is-open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .navlink{ padding: 12px 0; width: 100%; border-bottom: 1px solid var(--c-border); }

  .navbar__phone span{ display: none; }
  .navbar__burger{ display: flex; }

  .hero__inner{ grid-template-columns: 1fr; }
  .hero__visual{ order: -1; }
  .hero__stat-card{ left: 16px; }

  .trustbar__inner{ grid-template-columns: repeat(2, 1fr); row-gap: 22px; }

  .benefits{ grid-template-columns: repeat(2, 1fr); }

  .steps{ grid-template-columns: 1fr; }
  .step__connector{ display: none; }

  .location{ grid-template-columns: 1fr; }
}

@media (max-width: 768px){
  .section{ padding: 72px 0; }
  .cars-grid{ grid-template-columns: 1fr; }
  .modal__box{ grid-template-columns: 1fr; }
  .modal__media{ min-height: 200px; }
  .footer__inner{ grid-template-columns: 1fr 1fr; }

  .navbar__brand-text strong {
    font-size: 0.68rem;
  }

  .navbar__brand-text em {
    font-size: 0.68rem;
  }

  .navbar__brand {
    gap: 6px;
  }

  .navbar__actions {
    gap: 14px;
  }

  .navbar__burger {
    gap: 6px;
    margin-left: -8px;
  }

  .btn--sm {
    padding: 3px 10px;
    font-size: 0.76rem;
  }

  .navbar__burger {
    gap: 6px;
  }
}

@media (max-width: 480px){
  .container{ padding: 0 8px; }
  .hero{ padding: 64px 0 80px; }
  .hero__actions{ flex-direction: column; }
  .hero__actions .btn{ width: 100%; }
  .trustbar__inner{ grid-template-columns: 1fr; }
  .benefits{ grid-template-columns: 1fr; }
  .cta__actions{ flex-direction: column; }
  .cta__actions .btn{ width: 100%; }
  .footer__inner{ grid-template-columns: 1fr; }
  .car-card__actions{ flex-direction: column; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  html{ scroll-behavior: auto; }
}
