:root {
  --bg: #090909;
  --bg-soft: #151515;
  --panel: #ffffff;
  --ink: #101010;
  --muted: #686868;
  --line: rgba(255, 255, 255, 0.14);
  --red: #e31b23;
  --red-dark: #b80f17;
  --gold: #ffcb5b;
  --cream: #f5f3ee;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(130deg, rgba(227, 27, 35, 0.10), transparent 34%),
    linear-gradient(315deg, rgba(255, 203, 91, 0.14), transparent 30%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(9, 9, 9, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  padding: 6px 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.brand img {
  width: clamp(150px, 16vw, 206px);
  height: auto;
}

.nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:hover {
  color: #fff;
}

.top-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.top-cta,
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 18px 34px rgba(227, 27, 35, 0.28);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.top-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(48px, 6vw, 88px) clamp(18px, 4vw, 56px) 48px;
  color: #fff;
  background:
    radial-gradient(circle at 70% 20%, rgba(227, 27, 35, 0.28), transparent 28%),
    linear-gradient(135deg, #080808 0%, #151515 58%, #2b0a0d 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.split-section h2,
.finance-section h2,
.quick-lead h2,
.location-card h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(2.9rem, 7vw, 6.8rem);
  line-height: 0.91;
  text-wrap: balance;
}

.lead {
  max-width: 710px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-strip span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-visual {
  position: relative;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.deal-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 176px;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.deal-badge span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.deal-badge strong {
  display: block;
  margin-top: 4px;
  font-size: 1.55rem;
}

.hero-panel {
  position: absolute;
  left: -24px;
  bottom: 40px;
  display: grid;
  gap: 4px;
  min-width: 230px;
  padding: 20px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel strong {
  font-size: 0.86rem;
  text-transform: uppercase;
}

.hero-panel span {
  font-size: 1.2rem;
  font-weight: 900;
}

.hero-panel a {
  margin-top: 6px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quick-lead {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
  margin: -26px clamp(18px, 4vw, 56px) 0;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-lead h2 {
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
  background: #f7f7f7;
  border: 1px solid #dedede;
  border-radius: 8px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 27, 35, 0.12);
}

.section,
.split-section,
.finance-section,
.location-section {
  padding: clamp(70px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.48fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head h2,
.split-section h2,
.finance-section h2,
.location-card h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.section-head p:last-child,
.story p,
.finance-section p,
.location-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.vehicle-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: #fff;
  border: 1px solid #e8e5df;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(24, 24, 24, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(24, 24, 24, 0.13);
}

.vehicle-card.is-featured {
  color: #fff;
  background: linear-gradient(145deg, #161616, #3a060a);
  border-color: transparent;
}

.tag {
  width: max-content;
  padding: 8px 10px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  background: rgba(227, 27, 35, 0.1);
  border-radius: 999px;
  text-transform: uppercase;
}

.is-featured .tag {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.vehicle-card h3 {
  margin: 22px 0 10px;
  font-size: 1.35rem;
  line-height: 1.08;
}

.vehicle-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.is-featured p {
  color: rgba(255, 255, 255, 0.72);
}

.price {
  margin-top: 28px;
  font-size: 1.85rem;
  font-weight: 900;
}

.vehicle-card a {
  margin-top: 20px;
  font-weight: 900;
  color: var(--red);
}

.is-featured a {
  color: var(--gold);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(30px, 6vw, 90px);
  color: #fff;
  background: var(--bg);
}

.story p {
  color: rgba(255, 255, 255, 0.74);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-stack {
  display: grid;
  gap: 14px;
}

.proof-stack div {
  padding: 24px;
  background: #fff;
  border-radius: 8px;
}

.metric {
  display: block;
  color: var(--red);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
}

.proof-stack p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.finance-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #fff;
}

.finance-section div {
  max-width: 720px;
}

.location-section {
  background:
    linear-gradient(90deg, rgba(9, 9, 9, 0.84), rgba(9, 9, 9, 0.3)),
    url("https://www.autocerto.com/fotos/3601/2642426/1_091801.jpg") center / cover;
}

.location-card {
  width: min(100%, 620px);
  padding: clamp(28px, 5vw, 48px);
  color: #fff;
  background: rgba(9, 9, 9, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.location-card p {
  color: rgba(255, 255, 255, 0.78);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.68);
  background: #090909;
}

.footer strong,
.footer span {
  display: block;
}

.footer strong,
.footer a {
  color: #fff;
  font-weight: 900;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  color: #fff;
  font-weight: 900;
  background: #16a34a;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.34);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .hero,
  .quick-lead,
  .section-head,
  .split-section {
    grid-template-columns: 1fr;
  }

  .lead-form,
  .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    left: 18px;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 78px;
  }

  .topbar {
    padding: 14px 16px;
  }

  .brand {
    padding: 5px 6px;
  }

  .brand img {
    width: 142px;
  }

  .top-cta {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12.5vw, 3.35rem);
    line-height: 0.96;
  }

  .hero-actions,
  .finance-section,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .quick-lead {
    margin-top: 0;
    border-radius: 0;
  }

  .lead-form,
  .vehicle-grid {
    grid-template-columns: 1fr;
  }

  .photo-card img {
    aspect-ratio: 1 / 1;
  }

  .hero-panel {
    position: static;
    margin-top: 12px;
  }

  .deal-badge {
    right: 12px;
    bottom: 12px;
    min-width: 150px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    left: 12px;
    min-height: 50px;
  }
}
