:root {
  --bg: #ffffff;
  --bg2: #f8f7f5;
  --ink: #1a1a18;
  --muted: #7a7a72;
  --rule: #e4e2dc;
  --accent: #2a5c8f;
  --accent2: #c8a85a;
  --max: 1200px
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem
}

.section {
  padding: 80px 0
}

.section--alt {
  background: var(--bg2)
}

.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 1rem
}

h2.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1.5rem
}

p.lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 680px
}

/* ── HERO ── */
.log-hero {
  width: 100%;
  height: 406px;
  position: relative;
  overflow: hidden
}

.log-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.log-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(26, 26, 24, .78) 0%, rgba(26, 26, 24, .25) 55%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end
}

.log-hero__text {
  padding: 0 4rem;
  text-align: center
}

.log-hero__text h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: .75rem
}

.log-hero__text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .75);
  max-width: 460px
}

/* ── STATS BANNER ── */
.stats-banner {
  background: var(--accent);
  padding: 0.5rem 0
}

.stats-banner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0
}

.stat-item {
  text-align: center;
  padding: 1rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, .15)
}

.stat-item:last-child {
  border-right: none
}

.stat-item__number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  color: var(--accent2);
  line-height: 1;
  margin-bottom: .4rem
}

.stat-item__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7)
}

/* ── EURICOM CANCÚN ── */
.euricom-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 4px 32px rgba(0, 0, 0, .06);
  transition: box-shadow .3s;
}

.euricom-card:hover {
  box-shadow: 0 12px 48px rgba(42, 92, 143, .12)
}

.euricom-card__text h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 1rem
}

.euricom-card__text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 640px
}

.euricom-card__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  min-width: 200px
}

.euricom-card__logo {
  width: 180px;
  height: auto;
  display: block
}

.euricom-card__logo-placeholder {
  width: 180px;
  height: 80px;
  background: var(--bg2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em
}

.btn-primary {
  display: inline-block;
  padding: .85rem 2rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background .2s, transform .2s
}

.btn-primary:hover {
  background: var(--accent2);
  color: #fff;
  transform: translateY(-2px)
}

/* ── RUTAS ── */
.rutas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center
}

.rutas-mapa {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg2);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center
}

.rutas-mapa img {
  width: 75%;
  display: block;
  border-radius: 16px
}

.rutas-mapa__placeholder {
  padding: 3rem;
  text-align: center
}

.ruta-linea {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--rule)
}

.ruta-linea:last-child {
  border-bottom: none
}

.ruta-linea__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent2);
  flex-shrink: 0;
  margin-top: .4rem
}

.ruta-linea__texto {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.6
}

.ruta-linea__texto strong {
  color: var(--ink)
}

/* ── TRANSPORTE ── */
.flota-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 4rem
}

.flota-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem
}

.flota-stat__numero {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  color: var(--accent2);
  line-height: 1
}

.flota-stat__texto {
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  max-width: 120px;
  line-height: 1.4
}

.flota-vehiculos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem
}

.vehiculo-card {
  background: var(--bg2);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: transform .3s, box-shadow .3s
}

.vehiculo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .1)
}

.vehiculo-card__img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff
}

.vehiculo-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem
}

.vehiculo-card__img-placeholder {
  font-size: .65rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em;
  text-align: center
}

.vehiculo-card__label {
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent)
}

/* ── VENTAS Y DISTRIBUCIÓN ── */
.ventas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center
}

.ventas-estados {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem
}

.estado-tag {
  background: var(--bg);
  border: 2px solid var(--accent2);
  border-radius: 20px;
  padding: .35rem .9rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent2)
}

.crecimiento-visual {
  background: var(--accent);
  border-radius: 16px;
  padding: 2.5rem;
  color: #fff
}

.crecimiento-visual h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #fff
}

.barra-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem
}

.barra-item__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-bottom: .4rem
}

.barra-item__track {
  background: rgba(255, 255, 255, .15);
  border-radius: 4px;
  height: 8px;
  overflow: hidden
}

.barra-item__fill {
  height: 100%;
  border-radius: 4px;
  background: var(--accent2);
  width: 0;
  transition: width 1.2s cubic-bezier(.4, 0, .2, 1)
}

/* ── ABASTECIMIENTO ── */
.abasto-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem
}

.abasto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem
}

.abasto-stat {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: box-shadow .25s, transform .25s
}

.abasto-stat:hover {
  box-shadow: 0 8px 28px rgba(42, 92, 143, .1);
  transform: translateY(-4px)
}

.abasto-stat__numero {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  color: var(--accent2);
  line-height: 1;
  margin-bottom: .4rem
}

.abasto-stat__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted)
}

.almacenes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem
}

.almacen-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--rule)
}

.almacen-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform .5s
}

.almacen-card:hover img {
  transform: scale(1.04)
}

.almacen-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(0deg, rgba(26, 26, 24, .85) 0%, transparent 100%);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase
}

.almacen-card__img-placeholder {
  width: 100%;
  height: 280px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .08em
}

/* ── WHATSAPP ── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
  text-decoration: none
}

.wa-float:hover {
  transform: scale(1.1)
}

.wa-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .2;
  animation: wa-ping 1.5s cubic-bezier(0, 0, .2, 1) infinite
}

@keyframes wa-ping {

  75%,
  100% {
    transform: scale(2);
    opacity: 0
  }
}

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  .euricom-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0.5rem;
    justify-content: center;
  }

  .euricom-card__side {
    flex-direction: row;
    justify-content: center;
    min-width: auto
  }

  .rutas-grid,
  .flota-intro,
  .ventas-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .flota-vehiculos {
    grid-template-columns: repeat(3, 1fr)
  }

  .abasto-stats {
    grid-template-columns: repeat(3, 1fr)
  }

  .stats-banner__grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat-item:nth-child(2) {
    border-right: none
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, .15)
  }
}

@media(max-width:600px) {
  .container {
    padding: 0 1.25rem
  }

  p.lead {
    max-width: 100%
  }

  .log-hero {
    height: 280px
  }

  .log-hero__overlay {
    background: linear-gradient(0deg, rgba(26, 26, 24, .78) 30%, rgba(26, 26, 24, .25) 60%, transparent 100%);
  }

  .log-hero__text {
    padding: 0 1.5rem !important;
    margin-top: 15% !important;
    text-align: center !important;
  }

  .log-hero__text h1 {
    text-align: center !important;
  }

  .log-hero__text p {
    max-width: 100% !important;
    text-align: center !important;
  }

  .flota-vehiculos {
    grid-template-columns: 1fr
  }

  .almacenes-grid {
    grid-template-columns: 1fr
  }

  .abasto-stats {
    grid-template-columns: 1fr
  }

  .stats-banner__grid {
    grid-template-columns: 1fr
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .15)
  }

  .stat-item:last-child {
    border-bottom: none
  }
}