:root {
  --navy: #0d1b3d;
  --navy-2: #16295a;
  --red: #e11d2e;
  --red-dark: #bd1423;
  --green: #1fae57;
  --text: #172033;
  --muted: #5d6679;
  --line: #e6e9ef;
  --soft: #f5f7fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(13, 27, 61, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.section-pad {
  padding: 88px 0;
}

.section-pad-sm {
  padding: 44px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(13, 27, 61, 0.08);
  backdrop-filter: blur(16px);
}

.navbar {
  min-height: 78px;
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  flex: 0 0 auto;
}

.brand-logo img {
  width: 60px;
  height: 42px;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--red);
  font-weight: 700;
  font-size: 0.76rem;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-actions,
.hero-actions,
.card-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-size: 0.94rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(13, 27, 61, 0.14);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-outline {
  color: var(--navy);
  background: var(--white);
  border-color: rgba(13, 27, 61, 0.16);
}

.btn-outline.dark {
  background: transparent;
  border-color: rgba(13, 27, 61, 0.22);
}

.btn-whatsapp {
  background: var(--green);
  color: var(--white);
}

.btn-call {
  background: var(--navy);
  color: var(--white);
}

.btn-soft {
  background: #eef2f8;
  color: var(--navy);
}

.btn-mini {
  background: #eaf8ef;
  color: #11793b;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--white);
  font-size: 1.2rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(225, 29, 46, 0.09), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f3f6fb 58%, #fff5f6 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(13, 27, 61, 0.08);
  transform: rotate(-12deg);
  pointer-events: none;
}

.hero::before {
  width: 440px;
  height: 160px;
  border-radius: 100px;
  right: -130px;
  top: 140px;
}

.hero::after {
  width: 260px;
  height: 96px;
  border-radius: 80px;
  left: -90px;
  bottom: 60px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 52px;
  min-height: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 2.0rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy > p {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 560px;
  margin-bottom: 28px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 580px;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(13, 27, 61, 0.08);
  color: var(--navy);
  font-weight: 800;
}

.trust-badges i {
  color: var(--red);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  animation: floatVisual 5s ease-in-out infinite;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-large {
  inset: 44px 42px 52px 58px;
}

.hero-card-small {
  width: 42%;
  height: 34%;
  border: 7px solid var(--white);
}

.hero-card-small.top {
  right: 0;
  top: 0;
}

.hero-card-small.bottom {
  left: 0;
  bottom: 0;
}

.hero-note {
  position: absolute;
  right: 22px;
  bottom: 28px;
  width: 230px;
  padding: 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note span {
  color: #dbe3f3;
  font-size: 0.9rem;
}

@keyframes floatVisual {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.stats {
  background: var(--navy);
}

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

.stat-card {
  padding: 28px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 2.25rem;
  line-height: 1;
}

.stat-card strong::after {
  content: "+";
  color: var(--red);
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: #dce5f5;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.text-left {
  margin-inline: 0;
  text-align: left;
}

.section-head h2,
.about-copy h2,
.contact-info h2 {
  margin: 8px 0 12px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.section-head p,
.about-copy p,
.contact-lead {
  color: var(--muted);
  font-size: 1.04rem;
}

.car-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.car-card,
.service-card,
.why-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(13, 27, 61, 0.08);
}

.car-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.car-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.car-card > img {
  width: 100%;
  height: 215px;
  object-fit: cover;
}

.car-body {
  padding: 18px;
}

.car-body h3 {
  margin-bottom: 12px;
  color: var(--navy);
}

.car-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.car-meta span {
  padding: 7px 9px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-bottom: 16px;
}

.price-row strong {
  color: var(--red);
  font-size: 1.2rem;
  line-height: 1.2;
}

.price-row span {
  color: var(--muted);
  text-align: right;
  font-size: 0.9rem;
}

.loan,
.why,
.contact {
  background: var(--soft);
}

.loan-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 40px;
  align-items: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card,
.why-card {
  padding: 24px;
}

.service-card i,
.why-card i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff0f1;
  color: var(--red);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.service-card h3,
.why-card h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card p,
.why-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.customers {
  overflow: hidden;
}

.customer-slider {
  overflow: hidden;
  border-radius: var(--radius);
}

.slider-track {
  display: flex;
  gap: 18px;
  will-change: transform;
  transition: transform 0.55s ease;
}

.customer-slide {
  position: relative;
  min-width: calc((100% - 36px) / 3);
  height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.customer-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.customer-slide:hover img {
  transform: scale(1.05);
}

.customer-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(13, 27, 61, 0.8), transparent);
}

.customer-slide span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--white);
  font-weight: 900;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.about-image {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-image img {
  border-radius: 6px;
}

.map-section {
  padding: 84px 0;
  background: var(--white);
}

.map-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
}

.contact-grid {
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.contact-list p {
  display: flex;
  gap: 12px;
  margin: 0;
  color: var(--muted);
}

.contact-list i {
  color: var(--red);
  margin-top: 4px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: var(--red);
}

.contact-form {
  padding: 26px;
}

.contact-form h3 {
  color: var(--navy);
  font-size: 1.45rem;
}

.contact-form label {
  display: block;
  color: var(--navy);
  font-weight: 800;
  margin: 14px 0 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8dde8;
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
  margin-top: 18px;
}

.footer {
  background: var(--navy);
  color: var(--white);
  padding-top: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.7fr;
  gap: 28px;
}

.footer .brand {
  color: var(--white);
}

.footer p,
.footer a {
  color: #dce5f5;
}

.footer h3 {
  margin-bottom: 14px;
}

.footer-grid > div:nth-child(2) a {
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 36px;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: #dce5f5;
}

.footer-bottom p {
  margin: 0;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  display: grid;
  gap: 10px;
}

.float-btn {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 12px 24px rgba(13, 27, 61, 0.22);
  font-size: 1.3rem;
}

.float-call {
  background: var(--navy);
}

.float-whatsapp {
  background: var(--green);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 1020px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-panel {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-panel.open {
    display: flex;
  }

  .nav-links {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .nav-actions {
    width: 100%;
  }

  .nav-actions .btn {
    flex: 1 1 150px;
  }

  .hero-grid,
  .loan-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding-top: 32px;
  }

  .hero-visual {
    min-height: 440px;
  }

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

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

  .customer-slide {
    min-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .section-pad {
    padding: 64px 0;
  }

  .navbar {
    min-height: 70px;
    width: calc(100% - 20px);
  }

  .nav-panel {
    top: 70px;
    left: 10px;
    right: 10px;
  }

  .brand-logo {
    width: 52px;
    height: 40px;
  }

  .brand-logo img {
    height: 40px;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-copy > p {
    font-size: 1.05rem;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .trust-badges,
  .stats-grid,
  .service-grid,
  .car-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
    animation: none;
  }

  .hero-card-large {
    inset: 28px 0 56px 0;
  }

  .hero-card-small {
    width: 46%;
    height: 31%;
    border-width: 5px;
  }

  .hero-note {
    left: 16px;
    right: auto;
    bottom: 10px;
    width: min(250px, calc(100% - 32px));
  }

  .customer-slide {
    min-width: 100%;
    height: 310px;
  }

  .map-wrap {
    aspect-ratio: 1 / 1.05;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .price-row span {
    text-align: left;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
