:root {
  color-scheme: light;
  --brand: #0F4CBA;
  --brand-light: #3B82F6;
  --graphite: #3D3D3D;
  --gray-light: #E5E7EB;
  --white: #FFFFFF;
  --navy-950: #050b1a;
  --navy-900: #081833;
  --navy-800: #0d2358;
  --muted-on-light: rgba(61, 61, 61, 0.68);
  --muted-on-dark: rgba(255, 255, 255, 0.72);
  --border-light: rgba(61, 61, 61, 0.12);
  --border-dark: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.1);
  --shadow-soft-hover: 0 26px 55px rgba(15, 23, 42, 0.16);
  --shadow-dark: 0 25px 60px rgba(5, 11, 26, 0.45);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--graphite);
  overflow-x: hidden;
}

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

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

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(5, 11, 26, 0.78);
  border-bottom: 1px solid var(--border-dark);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(5, 11, 26, 0.25);
  background: rgba(5, 11, 26, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

.brand img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 10px;
  background: var(--white);
  padding: 0.35rem 0.6rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--brand-light);
}

.main-nav .nav-cta {
  color: #04111b;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(15, 76, 186, 0.35);
}

.button.primary:hover {
  box-shadow: 0 18px 38px rgba(15, 76, 186, 0.45);
}

.button.secondary {
  border: 1px solid var(--border-dark);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button.outline {
  border: 1.5px solid rgba(15, 76, 186, 0.3);
  color: var(--brand);
  background: rgba(15, 76, 186, 0.04);
}

.button.outline:hover {
  background: rgba(15, 76, 186, 0.1);
  border-color: var(--brand);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  color: var(--white);
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.16), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(15, 76, 186, 0.2), transparent 55%),
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(5, 11, 26, 0.55), transparent 70%),
    linear-gradient(180deg, rgba(5, 11, 26, 0.82) 0%, rgba(5, 11, 26, 0.9) 55%, rgba(5, 11, 26, 0.98) 100%),
    url('foto-1.jpg');
  background-size: cover;
  background-position: center, center, center, center, center 62%;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--brand-light);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow-light {
  color: #93c5fd;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.hero-content > p {
  margin: 1.4rem auto 0;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted-on-dark);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-trust {
  margin: 1.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted-on-dark);
  font-weight: 500;
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 2.75rem;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--graphite);
}

.section-header p {
  color: var(--muted-on-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ---------- Value proposition ---------- */
.section-value {
  background: linear-gradient(180deg, var(--white), #f7f9fc);
}

.cards {
  display: grid;
  gap: 1.5rem;
}

.cards-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft-hover);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(15, 76, 186, 0.08);
  color: var(--brand);
  margin-bottom: 1.25rem;
}

.value-icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  color: var(--graphite);
}

.value-card p {
  margin: 0;
  color: var(--muted-on-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---------- How it works ---------- */
.section-steps {
  background: var(--white);
}

.steps-wrap {
  position: relative;
}

.steps-line {
  position: absolute;
  top: 28px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-light) 15%, var(--brand-light) 85%, transparent);
  opacity: 0.35;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.step {
  text-align: center;
}

.step-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 12px 28px rgba(15, 76, 186, 0.35);
  margin-bottom: 1.4rem;
}

.step h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  color: var(--graphite);
}

.step p {
  margin: 0;
  color: var(--muted-on-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---------- Catalog ---------- */
.section-catalog {
  background: #f7f9fc;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(160px, auto);
  grid-auto-flow: dense;
  gap: 1.5rem;
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft-hover);
}

.vehicle-card-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.vehicle-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex: 1;
}

.vehicle-card-feature .vehicle-media {
  aspect-ratio: auto;
}

.vehicle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vehicle-card:hover .vehicle-media img {
  transform: scale(1.06);
}

.vehicle-copy {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vehicle-copy h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--graphite);
}

.vehicle-copy p {
  margin: 0 0 0.5rem;
  color: var(--muted-on-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

.vehicle-copy .button {
  align-self: flex-start;
}

/* ---------- Financing ---------- */
.section-financing {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.financing-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.4), transparent 55%),
    radial-gradient(circle at 10% 85%, rgba(15, 76, 186, 0.45), transparent 55%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
}

.financing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.financing-copy h2 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--white);
  font-weight: 800;
}

.financing-copy p {
  margin: 0 0 2rem;
  color: var(--muted-on-dark);
  font-size: 1.05rem;
  line-height: 1.75;
}

.financing-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.financing-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: 0.98rem;
}

.check-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.22);
  color: var(--brand-light);
}

.check-icon svg {
  width: 16px;
  height: 16px;
}

.check-icon-dark {
  background: rgba(15, 76, 186, 0.1);
  color: var(--brand);
}

.financing-disclaimer {
  margin-top: 2.25rem;
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted-on-dark);
}

/* ---------- Trust ---------- */
.section-trust {
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.trust-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.trust-copy h2 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  color: var(--graphite);
  font-weight: 800;
}

.trust-copy > p {
  margin: 0 0 1.75rem;
  color: var(--muted-on-light);
  line-height: 1.8;
  font-size: 1.02rem;
}

.trust-indicators {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.trust-indicators li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--graphite);
  font-size: 0.95rem;
}

/* ---------- Final CTA ---------- */
.section-final-cta {
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.4), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 80px),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}

.final-cta-content {
  max-width: 700px;
}

.final-cta-content h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 800;
}

.final-cta-content p {
  margin: 0;
  color: var(--muted-on-dark);
  font-size: 1.08rem;
  line-height: 1.75;
}

.final-cta-content .hero-actions {
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--muted-on-dark);
  padding: 3.5rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-logo {
  height: 40px;
  width: auto;
  border-radius: 8px;
  background: var(--white);
  padding: 0.3rem 0.55rem;
  margin-bottom: 0.9rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  max-width: 260px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  font-size: 0.95rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-link:hover {
  transform: translateX(4px);
  color: var(--brand-light);
}

.social-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #04111b;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon.whatsapp { background: linear-gradient(135deg, #25d366, #10b981); }
.social-icon.facebook { background: linear-gradient(135deg, #1877f2, #4a9bff); }
.social-icon.instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }

.footer-legal {
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  justify-content: flex-start;
}

.footer-legal a:hover {
  color: var(--brand-light);
}

/* ---------- Policies page reuse ---------- */
.policy-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, #f7f9fc, var(--white));
}

.policy-hero h1 {
  margin: 0.6rem 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--graphite);
}

.policy-updated {
  color: var(--muted-on-light);
  margin: 0;
  font-size: 0.95rem;
}

.policy-container {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.policy-block h2 {
  font-size: 1.3rem;
  margin: 0 0 0.9rem;
  color: var(--graphite);
}

.policy-block p,
.policy-block li {
  color: var(--muted-on-light);
  line-height: 1.85;
}

.policy-block ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #10b981);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .financing-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-media {
    max-width: 420px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .steps-line {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.65rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 11, 26, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.open {
    max-height: 420px;
  }

  .main-nav a {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-dark);
  }

  .main-nav .nav-cta {
    margin: 1rem 1.25rem;
    justify-content: center;
  }

  .hero {
    min-height: 68vh;
    padding: 3rem 0;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cards-four {
    grid-template-columns: 1fr;
  }

  .vehicle-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.1rem;
    margin: 0 -1rem;
    padding: 0 1rem 0.75rem;
  }

  .vehicle-card,
  .vehicle-card-feature {
    flex: 0 0 84%;
    grid-column: auto;
    grid-row: auto;
    scroll-snap-align: start;
  }

  .vehicle-card-feature .vehicle-media {
    aspect-ratio: 4 / 3;
  }

  .financing-copy .button {
    width: 100%;
  }

  .trust-indicators {
    grid-template-columns: 1fr;
  }

  .final-cta-content .hero-actions .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 1rem;
    bottom: 1rem;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
