/* ============================================
   SECCIONES
   ============================================ */

/* INTRO — quién somos */
.intro {
  background:
    radial-gradient(ellipse 1400px 700px at 30% 0%, oklch(0.24 0.015 55 / 0.9), transparent 70%),
    linear-gradient(180deg, oklch(0.16 0.012 60), oklch(0.13 0.008 60));
  color: var(--cream-50);
  padding: calc(var(--section-y) * 1.1) 0;
  position: relative;
  overflow: hidden;
}
.intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='0.8' fill='%23fff' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
}
.intro .container { position: relative; z-index: 1; }
.intro .eyebrow { color: var(--accent); }
.intro__heading { color: var(--cream-50); }
.intro__body { color: oklch(0.88 0.01 60); }
.intro__stat .val { color: var(--accent); }
.intro__stat .lbl { color: oklch(0.7 0.01 60); }
.intro__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: calc(var(--gutter) * 3);
  align-items: start;
}
.intro__label { margin-bottom: 40px; }
.intro__heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 300;
}
.intro__heading em { font-style: italic; }
.intro__body {
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.5;
  color: var(--fg-soft);
}
.intro__body p + p { margin-top: 1.2em; }
.intro__stats {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  gap: 24px;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 300;
  display: block;
}
.stat__num .unit {
  font-family: var(--font-mono);
  font-size: 0.3em;
  vertical-align: top;
  margin-left: 4px;
  opacity: 0.7;
}
.stat__lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 16px;
  display: block;
  max-width: 18ch;
}

@media (max-width: 900px) {
  .intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .intro__stats { grid-template-columns: repeat(2, 1fr); }
}

/* RUTAS */
.routes {
  background: var(--forest-900);
  color: var(--cream-50);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.routes::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=2400&q=70');
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  filter: saturate(1.15) contrast(1.05);
  z-index: 0;
}
.routes::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    oklch(0.14 0.01 60 / 0.55) 0%,
    oklch(0.14 0.01 60 / 0.35) 40%,
    oklch(0.14 0.01 60 / 0.75) 100%);
  z-index: 0;
}
.routes > .container { position: relative; z-index: 1; }
.routes__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 80px;
}
.routes__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  font-weight: 300;
  max-width: 14ch;
}
.routes__title em { font-style: italic; color: oklch(0.85 0.03 155); }

.routes__map {
  position: relative;
  border-top: 1px solid oklch(0.95 0.02 85 / 0.15);
  border-bottom: 1px solid oklch(0.95 0.02 85 / 0.15);
  padding: 60px 0;
}
.routes__line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}
.routes__line::before {
  content: '';
  position: absolute;
  left: 10%; right: 10%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(0.85 0.03 155 / 0.4), transparent);
  z-index: 0;
}
.stop {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}
.stop__dot {
  width: 14px; height: 14px;
  background: var(--cream-50);
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
}
.stop--main .stop__dot {
  width: 20px; height: 20px;
  background: var(--copper);
}
.stop--main .stop__dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid var(--copper);
  border-radius: 50%;
  opacity: 0.5;
}
.stop__city {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 300;
  letter-spacing: -0.02em;
  display: block;
}
.stop__region {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 6px;
  display: block;
}

.routes__frequencies {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.freq-card {
  border: 1px solid oklch(0.95 0.02 85 / 0.18);
  padding: 32px;
  border-radius: 2px;
  transition: border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
}
.freq-card:hover {
  border-color: oklch(0.95 0.02 85 / 0.4);
  background: oklch(0.95 0.02 85 / 0.03);
}
.freq-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.5;
  margin-bottom: 24px;
  display: block;
}
.freq-card__route {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.freq-card__meta {
  font-size: 14px;
  color: oklch(0.85 0.02 155);
  line-height: 1.5;
}
.freq-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid oklch(0.95 0.02 85 / 0.3);
  padding: 6px 10px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .routes__header { grid-template-columns: 1fr; }
  .routes__line { grid-template-columns: 1fr; gap: 24px; }
  .routes__line::before { left: 50%; right: auto; top: 10%; bottom: 10%; width: 1px; height: auto; background: linear-gradient(180deg, transparent, oklch(0.85 0.03 155 / 0.4), transparent); }
  .routes__frequencies { grid-template-columns: 1fr; }
}

/* SERVICIOS (rampa abierta / cerrada) */
.services {
  background:
    linear-gradient(180deg, oklch(0.15 0.01 60), oklch(0.12 0.008 60));
  color: var(--cream-50);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='0.8' fill='%23fff' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
}
.services .container { position: relative; z-index: 1; }
.services .eyebrow { color: var(--accent); }
.services__header {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--gutter);
  margin-bottom: 80px;
}
.services__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-weight: 300;
}
.services__title em { font-style: italic; }
.services__desc {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  color: var(--fg-soft);
  max-width: 52ch;
  align-self: end;
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 48px;
  border-radius: 4px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
  min-height: 520px;
  transition: border-color .3s, transform .3s;
}
.service-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
}
.service-card__visual {
  aspect-ratio: 16 / 10;
  background: var(--forest-900);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.service-card__num {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cream-50);
  opacity: 0.7;
  z-index: 2;
}
.service-card__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.service-card__title em { font-style: italic; }
.service-card__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-soft);
}
.service-card__list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--fg-soft);
}
.service-card__list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
}
.service-card__list li::before {
  content: '→';
  color: var(--accent);
  font-family: var(--font-mono);
}

@media (max-width: 900px) {
  .services__header, .services__grid { grid-template-columns: 1fr; }
}

/* FLOTA — carrusel */
.fleet {
  background:
    linear-gradient(180deg, oklch(0.28 0.025 50), oklch(0.23 0.02 55));
  color: var(--cream-50);
  padding: var(--section-y) 0;
  overflow: hidden;
  position: relative;
}
.fleet::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M0 40 L80 40' stroke='%23fff' stroke-width='0.5' opacity='0.05'/%3E%3Cpath d='M40 0 L40 80' stroke='%23fff' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.fleet::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse 600px 400px at 100% 50%, oklch(0.6 0.18 45 / 0.18), transparent 70%);
  pointer-events: none;
}
.fleet .container { position: relative; z-index: 1; }
.fleet .eyebrow { color: var(--accent) !important; }
.fleet__title { color: var(--cream-50); }
.fleet__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 60px;
}
.fleet__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-weight: 300;
  max-width: 14ch;
}
.fleet__title em { font-style: italic; }
.fleet__controls {
  display: flex;
  gap: 12px;
}
.fleet__btn {
  width: 48px; height: 48px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .2s, color .2s, border-color .2s;
}
.fleet__btn:hover {
  background: var(--brand);
  color: var(--brand-ink);
  border-color: var(--brand);
}
.fleet__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.fleet__carousel {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
}
.fleet__track {
  display: flex;
  gap: 24px;
  transition: transform .6s cubic-bezier(.7,0,.2,1);
  will-change: transform;
}
[data-motion="off"] .fleet__track { transition: none; }

.truck-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--bg-alt);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--rule);
  display: grid;
  grid-template-rows: auto 1fr;
}
.truck-card__visual {
  aspect-ratio: 4 / 3;
  background: var(--forest-800);
  position: relative;
  overflow: hidden;
}
.truck-card__meta {
  padding: 24px;
  display: grid;
  gap: 16px;
}
.truck-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.truck-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.truck-card__plate {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  border: 1px solid var(--rule);
  padding: 4px 8px;
  border-radius: 2px;
}
.truck-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.truck-card__specs dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.truck-card__specs dd {
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 900px) {
  .truck-card { flex: 0 0 calc(100% - 40px); }
  .fleet__header { grid-template-columns: 1fr; }
}

/* TESTIMONIOS */
.testimonials {
  background: var(--forest-900);
  color: var(--cream-50);
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1464851707681-f9c006e4d5b3?auto=format&fit=crop&w=2400&q=70');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: grayscale(0.5);
  z-index: 0;
}
.testimonials > .container { position: relative; z-index: 1; }
.testimonials__label {
  color: oklch(0.85 0.02 155);
  margin-bottom: 40px;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 300;
  max-width: 22ch;
}
.testimonial-quote em { font-style: italic; color: oklch(0.85 0.03 155); }
.testimonial-meta {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid oklch(0.95 0.02 85 / 0.2);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: baseline;
}
.testimonial-author {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
}
.testimonial-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}
.testimonial-nav {
  display: flex;
  gap: 8px;
}
.testimonial-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid oklch(0.95 0.02 85 / 0.4);
  background: transparent;
  transition: background .2s;
}
.testimonial-dot.is-active { background: var(--cream-50); border-color: var(--cream-50); }

/* CLIENTES */
.clients {
  background: var(--bg-alt);
  padding: calc(var(--section-y) * 0.7) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.clients__inner {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: var(--gutter);
  align-items: center;
}
.clients__label { max-width: 20ch; }
.clients__logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
}
.client-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--fg-muted);
  text-align: center;
  opacity: 0.6;
  transition: opacity .3s, color .3s;
}
.client-logo:hover { opacity: 1; color: var(--fg); }
.client-logo.mono { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; }

@media (max-width: 900px) {
  .clients__inner { grid-template-columns: 1fr; }
  .clients__logos { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* CONTACTO / FOOTER */
.contact {
  background: var(--forest-900);
  color: var(--cream-50);
  padding: calc(var(--section-y) * 0.8) 0 40px;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1517816743773-6e0fd518b4a6?auto=format&fit=crop&w=2400&q=70');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  filter: grayscale(0.8);
  z-index: 0;
}
.contact > .container { position: relative; z-index: 1; }
.contact__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: end;
  padding-bottom: 60px;
  border-bottom: 1px solid oklch(0.95 0.02 85 / 0.2);
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-weight: 300;
}
.contact__title em { font-style: italic; }
.contact__cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.contact__whatsapp {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 28px;
  border-radius: 999px;
  background: oklch(0.62 0.14 145);
  color: var(--forest-900);
  font-weight: 500;
  transition: transform .2s, box-shadow .2s;
}
.contact__whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -16px oklch(0.62 0.14 145 / 0.6);
}
.contact__whatsapp-ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--forest-900);
  color: oklch(0.62 0.14 145);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.contact__phone {
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.contact__info {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.contact-block__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 12px;
}
.contact-block__value {
  font-size: 16px;
  line-height: 1.4;
}
.contact-block__value a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-block__value a:hover { border-bottom-color: currentColor; }

.footer-bottom {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 1px solid oklch(0.95 0.02 85 / 0.15);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .contact__header { grid-template-columns: 1fr; gap: 40px; }
  .contact__info { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; }
}
