/* Brevi's Transportes — landing
   Rojo marca + navy + blanco. Inspirado en Tito's / Oh Mega. */

:root {
  --red: #b71c1c;
  --red-deep: #8e1414;
  --red-bright: #e53935;
  --navy: #13293d;
  --navy-mid: #1b3a5c;
  --ink: #101820;
  --text: #1a2430;
  --muted: rgba(26, 36, 48, 0.68);
  --paper: #f2f4f7;
  --mist: #e6ebf1;
  --white: #ffffff;
  --line: rgba(19, 41, 61, 0.12);
  --on-dark: rgba(255, 255, 255, 0.94);
  --on-dark-muted: rgba(255, 255, 255, 0.68);
  --wa: #1f9b57;
  --wa-deep: #178a4a;
  --radius: 3px;
  --max: 1100px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: clip;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: currentColor;
}

.eyebrow--on-dark {
  color: var(--red-bright);
}

.section {
  padding: 88px 0;
}

.section--navy {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(229, 57, 53, 0.18), transparent 45%),
    linear-gradient(160deg, #0f2235 0%, var(--navy) 45%, #0a1a2a 100%);
  color: var(--on-dark);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--mist {
  background:
    linear-gradient(180deg, var(--mist) 0%, #dde4ec 100%);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-top: 12px;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.section--navy .section-head p,
.section--navy .routes-lead {
  color: var(--on-dark-muted);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  background: linear-gradient(to bottom, rgba(10, 20, 32, 0.75), transparent);
  transition: background 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(16, 24, 32, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-mark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--white);
}

.brand-mark strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.brand-mark span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 2px;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s var(--ease);
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 11px 13px;
  border-radius: 999px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.header-cta span {
  display: none;
}

.header-cta:hover {
  background: var(--wa-deep);
  transform: translateY(-1px);
}

.header-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.nav-toggle {
  display: grid;
  place-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 4px auto;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

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

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

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--on-dark);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: hero-drift 22s var(--ease) infinite alternate;
  pointer-events: none;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 18, 28, 0.82) 0%, rgba(10, 18, 28, 0.35) 52%, rgba(183, 28, 28, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 18, 28, 0.35) 0%, rgba(10, 18, 28, 0.55) 45%, rgba(10, 18, 28, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 0 72px;
  animation: rise-in 1s var(--ease) both;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--red-bright);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.brand-hero span {
  display: block;
  color: var(--white);
  font-size: 0.72em;
  letter-spacing: 0.1em;
}

.brand-hero--cta {
  margin-bottom: 0.75rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  max-width: 12ch;
  margin: 0 0 1.1rem;
}

.hero h1 em {
  font-style: italic;
  color: #f0c4c4;
  font-weight: 700;
}

.hero-lede {
  max-width: 32rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* Trust band */
.trust-band {
  padding: 2rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.trust-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Includes */
.includes {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.includes h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.includes ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  max-width: 36rem;
}

.includes li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
}

.includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background: var(--red);
}

/* Cotizar checklist */
.cotizar-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.cotizar-grid h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 12px 0 14px;
}

.cotizar-grid > div > p {
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.quote-checklist {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  counter-reset: quote;
}

.quote-checklist li {
  display: grid;
  gap: 0.2rem;
  padding: 1.15rem 0 1.15rem 3rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  counter-increment: quote;
}

.quote-checklist li::before {
  content: counter(quote, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  color: var(--red);
  line-height: 1;
}

.quote-checklist strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.quote-checklist span {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-note {
  margin-top: 1.1rem !important;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn--whatsapp {
  background: var(--wa);
  color: #fff;
}

.btn--whatsapp:hover {
  background: var(--wa-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--navy);
  margin-top: 1.5rem;
}

.btn--light:hover {
  background: var(--mist);
  transform: translateY(-2px);
}

.btn--lg {
  min-height: 3.4rem;
  padding: 0.9rem 1.75rem;
  font-size: 1.05rem;
}

/* Services — no cards: stacked rows */
.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.25rem;
  row-gap: 0.35rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.service-n {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  color: var(--red);
  line-height: 1;
  padding-top: 0.15rem;
}

.service h3 {
  font-size: 1.55rem;
}

.service p {
  grid-column: 2;
  color: var(--muted);
  max-width: 36rem;
}

/* Routes */
.routes-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.routes-grid h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 12px 0 14px;
}

.routes-lead {
  max-width: 30rem;
  margin-bottom: 1.5rem;
}

.route-destinations {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.route-destinations li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-left: 1rem;
  border-left: 3px solid var(--red-bright);
}

.route-destinations strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--red-bright);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 2px;
}

.route-destinations span {
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}

.route-map {
  display: grid;
  place-items: center;
}

.argentina-map {
  width: min(100%, 320px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}

.map-pin {
  fill: var(--red-bright);
  stroke: #fff;
  stroke-width: 2;
}

.map-label {
  fill: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
}

.map-route {
  animation: route-dash 18s linear infinite;
}

/* Fleet */
.fleet-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 2rem;
}

.fleet-gallery figure {
  overflow: hidden;
  margin: 0;
}

.fleet-gallery img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s var(--ease);
}

.fleet-wide img {
  aspect-ratio: auto;
  object-fit: unset;
}

.fleet-gallery figure:hover img {
  transform: scale(1.03);
}

.fleet-points {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
}

.fleet-points li {
  color: var(--muted);
  padding-left: 1rem;
  border-left: 2px solid var(--red);
}

.fleet-points strong {
  color: var(--ink);
  font-weight: 700;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.75rem;
}

.step .n {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  font-style: italic;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  max-width: 28rem;
}

/* Why */
.why-grid {
  display: grid;
  gap: 2.5rem;
}

.why-grid h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 12px 0 14px;
}

.why-grid > div:first-child p {
  color: var(--muted);
  max-width: 34rem;
}

.why-points {
  display: grid;
  gap: 1.5rem;
}

.why-point {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.why-point strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.why-point p {
  color: var(--muted);
}

/* FAQ */
.faq .section-head {
  margin-bottom: 28px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.75rem;
  color: var(--muted);
  max-width: 40rem;
}

/* CTA */
.cta {
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: var(--on-dark);
  background:
    linear-gradient(180deg, rgba(10, 18, 28, 0.78), rgba(10, 18, 28, 0.92)),
    url("../assets/images/camion-trailer.jpg") center / cover no-repeat;
}

.cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 0.85rem;
}

.cta > .wrap > p {
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  color: var(--on-dark-muted);
}

.cta .brand-hero {
  display: inline-block;
}

.cta .brand-hero span {
  display: inline;
  margin-left: 0.35rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 36px;
  font-size: 0.92rem;
}

.foot-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 0.35rem;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
}

.foot-nav a:hover,
.site-footer a:hover {
  color: var(--white);
}

.footer-copy {
  margin-top: 0.5rem;
  opacity: 0.65;
  font-size: 0.85rem;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(31, 155, 87, 0.4);
  transition: transform 0.25s var(--ease), background 0.2s;
  animation: fab-pulse 3.2s var(--ease) infinite;
}

.wa-float:hover {
  background: var(--wa-deep);
  transform: scale(1.06);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

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

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Mobile nav open */
.nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(16, 24, 32, 0.98);
  padding: 1.25rem 1.5rem 1.75rem;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Animations */
@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes route-dash {
  to {
    stroke-dashoffset: -280;
  }
}

@keyframes fab-pulse {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(31, 155, 87, 0.4);
  }
  50% {
    box-shadow: 0 10px 36px rgba(31, 155, 87, 0.65);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media,
  .wa-float,
  .map-route,
  .hero-content {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Breakpoints — mobile first */
@media (min-width: 720px) {
  .header-cta {
    padding: 11px 16px;
  }

  .header-cta span {
    display: inline;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .service {
    grid-template-columns: 4rem 12rem 1fr;
    align-items: baseline;
  }

  .service h3 {
    grid-column: 2;
  }

  .service p {
    grid-column: 3;
  }

  .service-n {
    grid-row: auto;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }

  .cotizar-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }

  .why-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }

  .foot-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
  }

  .routes-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
