:root {
  --bg: #050505;
  --bg-soft: #111214;
  --panel: rgba(17, 18, 20, 0.9);
  --panel-solid: #16181b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #b9bcc2;
  --silver: #d8dbe0;
  --silver-strong: #f1f3f6;
  --silver-dark: #8f959d;
  --highlight: rgba(229, 232, 237, 0.16);
  --accent: #25d366;
  --accent-dark: #18aa4f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.07), transparent 24%),
    radial-gradient(circle at right, rgba(181, 187, 196, 0.12), transparent 24%),
    linear-gradient(180deg, #030303 0%, #0c0d0f 100%);
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -52px;
  z-index: 120;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--silver-strong);
  color: #050505;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 25%),
    linear-gradient(180deg, #020202 0%, #0b0b0c 100%);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

#splash-logo {
  width: min(260px, 62vw);
  height: auto;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  animation: splashPulse 2s ease-in-out infinite;
}

#splash-bar-container {
  width: min(220px, 60vw);
  height: 3px;
  margin-top: 28px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

#splash-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7f858c, #f1f3f6, #9fa5ad);
  animation: splashProgress 2.4s ease-out forwards;
}

#splash-text {
  margin-top: 14px;
  color: var(--silver);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(3, 3, 3, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand strong,
.footer-content strong {
  display: block;
  font-family: "Barlow", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand span:last-child,
.footer-content p {
  color: var(--muted);
  font-size: 0.92rem;
}

.brand-logo {
  width: 122px;
  height: 62px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

.nav a {
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #08090a;
  background: linear-gradient(135deg, var(--silver-strong), #b8bec7);
  box-shadow: 0 16px 30px rgba(241, 243, 246, 0.16);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(229, 232, 237, 0.22);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-whatsapp {
  color: #041308;
  background: linear-gradient(135deg, var(--accent), #7cf0a4);
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: linear-gradient(135deg, #31e274, #9cf7bc);
  box-shadow: 0 24px 38px rgba(37, 211, 102, 0.35);
}

.btn-disabled,
.btn-disabled:hover,
.btn-disabled:focus-visible {
  background: rgba(209, 34, 41, 0.16) !important;
  color: #de1b27 !important;
  border-color: rgba(209, 34, 41, 0.3) !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.btn.large {
  min-height: 56px;
  padding-inline: 28px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(6, 6, 7, 0.96) 0%, rgba(6, 6, 7, 0.76) 45%, rgba(6, 6, 7, 0.4) 100%),
    url("hero-bg.png")
      center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55)),
    radial-gradient(circle at 20% 30%, rgba(229, 232, 237, 0.12), transparent 26%);
  z-index: -1;
}

.hero-content {
  padding: 120px 0 100px;
  max-width: 720px;
}

.eyebrow,
.section-kicker,
#modal-badge {
  margin: 0 0 14px;
  color: var(--silver);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-card h2,
.contact-panel h2,
.modal-info h3 {
  margin: 0;
  font-family: "Barlow", sans-serif;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
  max-width: 10ch;
}

.hero-text,
.section-heading p,
.about-copy p,
.contact-text,
.modal-description {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 58ch;
}

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

.inventory-section,
.about-section,
.services-section,
.contact-section {
  padding: 92px 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.section-heading h2,
.about-card h2,
.contact-panel h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.inventory-subsection + .inventory-subsection {
  margin-top: 56px;
}

.inventory-category {
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: "Barlow", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.vehicle-card {
  background: linear-gradient(180deg, rgba(24, 26, 29, 0.98), rgba(14, 15, 18, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 232, 237, 0.26);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.48);
}

.vehicle-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

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

.vehicle-card:hover .vehicle-cover img {
  transform: scale(1.05);
}

.vehicle-price-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(10, 11, 12, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  font-weight: 700;
  color: var(--silver-strong);
}

.vehicle-status-tag {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(209, 34, 41, 0.92);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vehicle-body {
  padding: 22px;
}

.vehicle-body h3 {
  margin: 0 0 10px;
  font-family: "Barlow", sans-serif;
  font-size: 1.55rem;
  line-height: 1.05;
}

.vehicle-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vehicle-tags {
  margin-bottom: 22px;
}

.vehicle-tags li,
.tag-list li {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(229, 232, 237, 0.08);
  color: #dde1e6;
  font-size: 0.9rem;
}

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

.vehicle-actions .btn {
  width: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.info-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(22, 23, 25, 0.94), rgba(12, 13, 15, 0.94));
  box-shadow: var(--shadow);
}

.highlight-card {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(28, 29, 32, 0.98), rgba(12, 13, 15, 0.96));
  border-color: rgba(229, 232, 237, 0.16);
}

.info-card h3 {
  margin: 0 0 18px;
  font-family: "Barlow", sans-serif;
  font-size: 1.7rem;
  line-height: 1;
}

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

.benefits-list li {
  position: relative;
  padding: 0 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--silver-strong), #90959c);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.about-card,
.about-copy,
.contact-panel,
.modal-content {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.about-card,
.about-copy {
  padding: 34px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
}

.contact-text a {
  color: var(--text);
  font-weight: 700;
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(229, 232, 237, 0.08);
  color: var(--silver);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(229, 232, 237, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.site-footer {
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-content a {
  color: var(--silver);
}

.footer-socials {
  margin-top: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  background: linear-gradient(180deg, rgba(20, 21, 23, 0.98), rgba(12, 13, 15, 0.98));
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.modal-gallery {
  padding: 24px;
}

#modal-main-image {
  border-radius: 22px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--panel-solid);
}

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.thumb-button {
  padding: 0;
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.thumb-button img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.thumb-button:hover,
.thumb-button.is-active {
  transform: translateY(-2px);
  border-color: rgba(229, 232, 237, 0.55);
}

.modal-info {
  padding: 32px 32px 36px 8px;
}

.modal-price {
  margin: 18px 0 18px;
  font-family: "Barlow", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--silver-strong);
}

.modal-block + .modal-block {
  margin-top: 22px;
}

.modal-block h4 {
  margin: 0 0 12px;
  font-size: 1rem;
}

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

.items-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(229, 232, 237, 0.06);
  color: #dde1e6;
}

.modal-close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

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

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

@keyframes splashPulse {
  0%, 100% {
    opacity: 0.84;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.025);
  }
}

@keyframes splashProgress {
  0% {
    width: 0;
  }

  30% {
    width: 45%;
  }

  65% {
    width: 78%;
  }

  100% {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .inventory-grid,
  .about-grid,
  .services-grid,
  .modal-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    align-items: flex-start;
  }

  .modal-info {
    padding: 8px 24px 28px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .header-content {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 88px 0 72px;
  }

  .vehicle-actions,
  .items-list,
  .modal-thumbs {
    grid-template-columns: 1fr;
  }

  .about-card,
  .about-copy,
  .contact-panel,
  .vehicle-body,
  .modal-gallery {
    padding: 22px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .btn,
  .btn.large {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .brand {
    width: 100%;
  }

  .header-content > .btn-whatsapp {
    width: 100%;
  }
}
