:root {
  --black: #050505;
  --ink: #111111;
  --muted: #696969;
  --white: #ffffff;
  --soft: #f6f2e9;
  --gold: #f5c542;
  --gold-strong: #d59a14;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--gold);
  color: var(--black);
  padding: 0.7rem 1rem;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  padding-block: 0.72rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 197, 66, 0.6);
  border-radius: 6px;
  background: var(--gold);
  color: var(--black);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand small {
  margin-top: 0.22rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78);
}

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

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.85rem 1.15rem;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-cta,
.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

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

.nav-toggle {
  display: none;
  width: 2.8rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--black);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/hero-motologistica-baires.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.62) 43%, rgba(0, 0, 0, 0.24) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 4.5rem;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.7rem;
  height: 2px;
  background: var(--gold);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.14rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.25);
}

section:not(.hero) {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.section-heading {
  width: min(980px, 100%);
  margin: 0 auto 2rem;
}

.section-heading p {
  max-width: 720px;
}

.quick-quote {
  background: var(--black);
  color: var(--white);
}

.quick-quote .section-heading {
  margin-bottom: 1.5rem;
}

.quick-quote h2,
.business h2,
.instagram h2,
.contact h2 {
  color: var(--white);
}

.quote-form,
.contact-form {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 0.88rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--black);
  padding: 0.88rem 0.9rem;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 197, 66, 0.22);
}

.service-grid,
.testimonial-grid,
.gallery-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card,
.testimonial,
.gallery-item,
.insta-card {
  border-radius: 8px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  background: var(--white);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.08);
}

.service-card {
  min-height: 215px;
  padding: 1.4rem;
}

.icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  aspect-ratio: 1;
  margin-bottom: 1.35rem;
  border-radius: 6px;
  background: var(--black);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 900;
}

.about,
.business,
.instagram,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
}

.about {
  background: var(--soft);
}

.about-copy,
.business-copy,
.instagram-copy,
.contact-copy {
  width: min(680px, 100%);
  justify-self: end;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.stats div {
  padding: 1.2rem;
  border-radius: 8px;
  background: var(--black);
  color: var(--white);
}

.stats strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.stats span {
  color: rgba(255, 255, 255, 0.72);
}

.coverage-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
}

.zone-list {
  display: grid;
  gap: 0.75rem;
}

.zone-list span,
.business-list span {
  display: flex;
  align-items: center;
  min-height: 3.4rem;
  padding: 0.9rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  background: #fbfbfb;
  font-weight: 800;
}

.zone-list span::before,
.business-list span::before {
  content: "";
  width: 0.55rem;
  aspect-ratio: 1;
  margin-right: 0.7rem;
  border-radius: 999px;
  background: var(--gold);
}

.map-panel {
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(5, 5, 5, 0.1);
  box-shadow: var(--shadow);
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

.business,
.instagram,
.contact {
  background: var(--black);
  color: var(--white);
}

.business p,
.instagram p,
.contact p {
  color: rgba(255, 255, 255, 0.72);
}

.business-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.business-list span {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line);
  color: var(--white);
}

.gallery-grid {
  align-items: stretch;
}

.gallery-item {
  overflow: hidden;
  margin: 0;
  background: var(--black);
  color: var(--white);
}

.gallery-item img,
.gallery-surface {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-surface {
  background:
    radial-gradient(circle at 75% 25%, rgba(245, 197, 66, 0.58), transparent 22%),
    linear-gradient(135deg, #111 0%, #333 54%, #f5c542 55%, #f5c542 65%, #111 66%);
}

.gallery-surface.ecommerce {
  background:
    linear-gradient(135deg, rgba(245, 197, 66, 0.9), rgba(245, 197, 66, 0.15) 35%, transparent 36%),
    repeating-linear-gradient(90deg, #101010 0 18px, #1d1d1d 18px 36px);
}

.gallery-item figcaption {
  padding: 1rem;
  font-weight: 900;
}

.testimonials {
  background: var(--soft);
}

.testimonial {
  padding: 1.4rem;
}

.testimonial p {
  color: var(--ink);
  font-size: 1.02rem;
}

.testimonial strong {
  color: var(--gold-strong);
}

.insta-card {
  min-height: 330px;
  display: grid;
  align-content: end;
  gap: 0.65rem;
  padding: 1.4rem;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.9)),
    url("assets/hero-motologistica-baires.png") center / cover;
}

.insta-card span {
  color: var(--gold);
  font-weight: 900;
}

.insta-card strong {
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  line-height: 1.03;
}

.insta-card small {
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  grid-template-columns: 1fr;
  justify-self: start;
  margin: 0;
}

.phone-link {
  display: inline-flex;
  margin-top: 0.6rem;
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  background: #000;
  color: var(--white);
}

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

.footer-links {
  display: flex;
  gap: 1rem;
  color: var(--gold);
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: #22c55e;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 15px 45px rgba(34, 197, 94, 0.35);
}

.floating-whatsapp::before {
  content: "";
  width: 0.72rem;
  aspect-ratio: 1;
  margin-right: 0.5rem;
  border-radius: 999px;
  background: var(--white);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav.is-open {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: grid;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(5, 5, 5, 0.96);
    box-shadow: var(--shadow);
  }

  .quote-form,
  .service-grid,
  .testimonial-grid,
  .gallery-grid,
  .coverage-layout,
  .about,
  .business,
  .instagram,
  .contact {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 0.9rem;
  }

  .about-copy,
  .business-copy,
  .instagram-copy,
  .contact-copy,
  .contact-form {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 0.85rem;
  }

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

  .hero {
    min-height: 88svh;
  }

  .hero-bg {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.54)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent 54%);
  }

  .hero-content {
    width: calc(100% - 1.7rem);
    padding-bottom: 3.5rem;
  }

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

  .stats,
  .business-list {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 340px;
  }

  .site-footer {
    display: grid;
  }

  .floating-whatsapp {
    left: 1rem;
    right: 1rem;
  }
}

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