:root {
  --ink: #151515;
  --muted: #646464;
  --paper: #fff8ef;
  --paper-strong: #ffefdc;
  --brand: #f2441d;
  --brand-dark: #b92d12;
  --accent: #0b6b63;
  --line: rgba(21, 21, 21, 0.14);
  --shadow: 0 22px 70px rgba(21, 21, 21, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 243, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--brand);
  letter-spacing: 0;
}

.logo span {
  color: var(--ink);
}

.header-actions,
.hero-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-btn,
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.tag-btn--solid,
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 5px 5px 0 var(--ink);
}

.tag-btn--ghost,
.btn--outline {
  background: #fff;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--paper-strong);
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(255, 250, 243, 0.96), rgba(255, 250, 243, 0.68)),
    url("https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.hero-inner {
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 42px;
  padding: 82px 0 70px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: "Space Mono", monospace;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
.section-title {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.8rem, 10vw, 8.8rem);
}

h1 em {
  color: var(--brand);
  font-style: normal;
}

.hero-sub {
  max-width: 640px;
  margin: 26px 0;
  color: #36312d;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
}

.hero-ticket {
  justify-self: center;
}

.ticket {
  position: relative;
  display: grid;
  width: min(360px, 100%);
  aspect-ratio: 0.78;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 34px;
  background: var(--brand);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 var(--ink);
  transform: rotate(4deg);
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: #fffaf3;
}

.ticket::before {
  left: -24px;
}

.ticket::after {
  right: -24px;
}

.ticket__punch {
  position: absolute;
  inset: 22px;
  border: 2px dashed rgba(255, 255, 255, 0.7);
  border-radius: 6px;
}

.ticket__eyebrow,
.ticket__foot {
  position: relative;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.ticket__price {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(5rem, 12vw, 8rem);
  line-height: 1;
}

.ticket__price small {
  font-family: Inter, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
}

.infos,
.contact-form,
.map-section,
.showcase {
  padding: 72px 0;
}

.section-title {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

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

.info-card,
.form-card,
.v-ticket {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 6px 6px 0 var(--paper-strong);
}

.info-card {
  min-height: 190px;
  padding: 22px;
}

.info-card__icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.info-card h3,
.v-ticket h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.info-card a {
  color: var(--brand-dark);
}

.contact-form {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: 110px;
}

.contact-intro p,
.showcase-sub {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 650;
}

.form-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: #fffaf3;
  color: var(--ink);
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(242, 68, 29, 0.18);
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.form-status[data-state="ok"] {
  color: var(--accent);
}

.form-status[data-state="error"] {
  color: var(--brand-dark);
}

.map-section {
  padding-bottom: 0;
}

.map-frame {
  display: block;
  width: 100%;
  height: min(56vw, 520px);
  min-height: 360px;
  border: 0;
  border-top: 2px solid var(--ink);
  filter: saturate(0.85) contrast(1.04);
}

.showcase {
  background: #ffffff;
}

.stock-hero {
  padding: 82px 0 62px;
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(110deg, rgba(255, 250, 243, 0.94), rgba(255, 250, 243, 0.78)),
    url("https://images.unsplash.com/photo-1552519507-da3b142c6e3d?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.stock-hero h1 {
  max-width: 780px;
}

.showcase--stock {
  min-height: 54vh;
}

.showcase-sub {
  margin-top: -12px;
  margin-bottom: 28px;
}

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

.v-ticket {
  overflow: hidden;
}

.v-ticket--product {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.v-ticket--product:hover,
.v-ticket--product:focus-within {
  box-shadow: 8px 8px 0 var(--ink);
  transform: translateY(-2px);
}

.v-ticket__photo {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 10;
  min-height: 178px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(242, 68, 29, 0.12), rgba(11, 107, 99, 0.16)),
    var(--paper);
  border-bottom: 2px solid var(--ink);
  color: var(--brand);
}

.showcase--stock .vehicle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.v-ticket--stock .v-ticket__photo {
  aspect-ratio: 16 / 9;
  min-height: 300px;
}

.v-ticket__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.v-ticket--product:hover .v-ticket__photo img,
.v-ticket--product:focus-within .v-ticket__photo img {
  transform: scale(1.025);
}

.v-ticket__photo svg {
  width: 86px;
  height: 86px;
}

.v-ticket__placeholder {
  display: grid;
  gap: 8px;
  place-items: center;
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
}

.v-ticket__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.v-ticket__stock {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.v-ticket__stock--out {
  background: var(--brand-dark);
}

.v-ticket__body {
  display: flex;
  min-height: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
}

.v-ticket__body h3 {
  margin: 0 0 6px;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.1;
}

.v-ticket__summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.v-ticket__price {
  flex: 0 0 auto;
  color: var(--brand-dark);
  font-family: "Space Mono", monospace;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-align: right;
}

.v-ticket__info {
  display: grid;
  flex: 1;
  gap: 14px;
  padding: 18px;
  background: #fff;
}

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

.v-ticket__specs--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v-ticket__spec {
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fffaf3;
}

.v-ticket__spec small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.v-ticket__spec strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}

.v-ticket__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v-ticket__details span,
.v-ticket__empty {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
}

.v-ticket__request {
  align-self: end;
  margin-top: auto;
  min-height: 46px;
  text-align: center;
}

.showcase-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.site-footer {
  padding: 38px 0;
  background: var(--ink);
  color: #fff;
}

.footer-inner {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.logo--footer {
  color: #fff;
}

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

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-small {
  font-size: 0.9rem;
}

.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  gap: 14px;
}

.whatsapp-float,
.scroll-top-float {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 6px 6px 0 var(--ink);
}

.scroll-top-float {
  color: var(--ink);
  padding: 0;
  background: #fffaf3;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.whatsapp-float {
  background: #20b35b;
}

.whatsapp-float__ping {
  position: absolute;
  inset: -7px;
  border: 2px solid #20b35b;
  border-radius: 50%;
  animation: ping 1.8s ease-out infinite;
}

@keyframes ping {
  0% {
    opacity: 0.9;
    transform: scale(0.9);
  }

  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@media (max-width: 880px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
  }

  .header-actions {
    justify-content: flex-end;
  }

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

  .hero-inner {
    min-height: auto;
    padding: 52px 0 64px;
  }

  .hero-ticket {
    width: min(320px, 86%);
  }

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

  .showcase--stock .vehicle-grid {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 22px, 1120px);
  }

  .logo {
    font-size: 2.1rem;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .tag-btn,
  .btn {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .infos,
  .contact-form,
  .map-section,
  .showcase {
    padding: 54px 0;
  }

  .infos-grid,
  .vehicle-grid,
  .form-row--split {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 18px;
  }

  .v-ticket__body {
    align-items: flex-start;
    flex-direction: column;
  }

  .v-ticket__price {
    text-align: left;
  }

  .v-ticket--stock .v-ticket__photo {
    min-height: 250px;
  }

  .v-ticket__stock {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    text-align: center;
  }

  .v-ticket__specs,
  .v-ticket__specs--compact {
    grid-template-columns: 1fr;
  }

  .v-ticket__request {
    min-height: auto;
    padding-block: 12px;
    white-space: normal;
  }

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

  .whatsapp-float,
  .scroll-top-float {
    width: 56px;
    height: 56px;
    box-shadow: 4px 4px 0 var(--ink);
  }
}
