/* Moda Tours — web a medida. Negro, amarillo y rojo, como su flota. */

:root {
  --negro: #0d0d0f;
  --negro-2: #1a1a1e;
  --amarillo: #f5c400;
  --amarillo-2: #ffd633;
  --rojo: #e3051b;
  --rojo-2: #c10016;
  --gris: #f2f3f5;
  --texto: #1d1d22;
  --suave: #5b5e66;
  --radio: 22px;
  --sombra: 0 18px 50px rgba(10, 10, 20, .14);
  --fuente: "Montserrat", "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--fuente); color: var(--texto); background: #fff; }
a { color: inherit; }
.contenedor { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
svg { width: 1em; height: 1em; flex: none; }
svg:not([fill]) { fill: currentColor; } /* los de trazo traen fill="none" */

/* ---------------------------------------------------------------- botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 800; font-size: 1rem; border: 0; cursor: pointer;
  padding: .85em 1.7em; border-radius: 14px; text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--amarillo { background: var(--amarillo); color: var(--negro); box-shadow: 0 6px 18px rgba(245, 196, 0, .35); }
.btn--amarillo:hover { background: var(--amarillo-2); }
.btn--rojo { background: var(--rojo); color: #fff; box-shadow: 0 6px 18px rgba(227, 5, 27, .3); }
.btn--rojo:hover { background: var(--rojo-2); }
.btn--negro { background: var(--negro); color: #fff; }

/* ---------------------------------------------------------- barra superior */
.barra {
  position: sticky; top: 0; z-index: 40;
  background: var(--negro); color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.barra__fila { display: flex; align-items: center; gap: 24px; height: 84px; }

.marca { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.marca__nombre { font-size: 1.85rem; font-weight: 900; font-style: italic; letter-spacing: -.03em; }
.marca__nombre b, .hero__marca b { color: var(--amarillo); }
.marca__lema {
  margin-top: 4px; font-size: .78rem; font-weight: 700; font-style: italic;
  padding: 2px 0; text-align: center;
  background: linear-gradient(90deg, transparent, var(--rojo) 12%, transparent 30%, transparent 70%, var(--amarillo) 88%, transparent) bottom / 100% 2px no-repeat;
}

.menu { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.menu__item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 14px; text-decoration: none; font-size: .9rem; font-weight: 600;
  color: #e9e9ee; border-bottom: 3px solid transparent;
}
.menu__item svg { width: 22px; height: 22px; }
.menu__item:hover, .menu__item.activo { color: var(--amarillo); border-bottom-color: var(--amarillo); }
.menu__login { margin-left: 18px; padding: .75em 1.4em; }
.menu__login svg { width: 20px; height: 20px; }

.barra__toggle, .barra__hamburguesa { display: none; }

/* --------------------------------------------------------------- cabecera */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 70px),
    linear-gradient(160deg, #19191d, var(--negro) 60%);
  min-height: 600px; padding-bottom: 120px;
}
.hero__foto {
  position: absolute; right: 0; bottom: 96px; width: 66%; aspect-ratio: 1010 / 416;
}
.hero__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__foto::before, .hero__foto::after { content: ""; position: absolute; pointer-events: none; }
.hero__foto::before { /* se funde por la izquierda y por arriba */
  inset: 0;
  background:
    linear-gradient(90deg, #121215 0%, rgba(18, 18, 21, .75) 14%, rgba(18, 18, 21, 0) 34%),
    linear-gradient(180deg, #141417 0%, #141417 7%, rgba(20, 20, 23, .6) 15%, rgba(20, 20, 23, 0) 30%);
}
.hero__foto::after { /* franja de la marca bajo las ruedas */
  left: 18%; right: 0; bottom: -10px; height: 10px;
  background: linear-gradient(90deg, transparent, var(--amarillo) 18%, var(--amarillo) 60%, var(--rojo) 60%);
}

.hero__texto { position: relative; padding-top: 70px; }
.hero__texto > * { max-width: 600px; }
.hero__marca {
  margin: 0; font-size: clamp(2.6rem, 5.4vw, 5rem); font-weight: 900; font-style: italic; white-space: nowrap;
  letter-spacing: -.045em; line-height: .95; text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
}
.hero__lema { margin: 14px 0 0; font-size: clamp(1.1rem, 2.2vw, 1.7rem); font-weight: 700; font-style: italic; }
.hero__lema span {
  display: inline-block; padding: 0 .4em;
  background:
    linear-gradient(90deg, transparent, var(--rojo), var(--amarillo)) left center / 2.2em 3px no-repeat,
    linear-gradient(90deg, var(--amarillo), var(--rojo), transparent) right center / 2.2em 3px no-repeat;
  padding-inline: 2.6em;
}
.hero__titular {
  margin: 26px 0 0; font-size: clamp(1.35rem, 2.6vw, 2.15rem); font-weight: 800; font-style: italic; line-height: 1.15;
}
.hero__titular em {
  font-style: italic; color: var(--amarillo);
  background: radial-gradient(60% 12px at 50% 100%, var(--amarillo) 0 45%, transparent 47%) bottom / 100% 10px no-repeat;
  padding-bottom: 8px;
}
.hero__bajada { margin: 12px 0 0; color: #c9cad1; font-size: 1.05rem; line-height: 1.5; max-width: 440px !important; }
.hero__sellos { list-style: none; margin: 34px 0 0; padding: 0; display: flex; gap: 0; }
.hero__sellos li { display: flex; align-items: center; gap: 12px; font-size: .95rem; line-height: 1.2; padding: 0 18px; }
.hero__sellos li:first-child { padding-left: 0; }
.hero__sellos li + li { border-left: 1px solid rgba(255, 255, 255, .3); }
.hero__sellos svg { width: 38px; height: 38px; color: #fff; }

/* ------------------------------------------- tarjeta: envío + seguimiento */
.acciones { position: relative; z-index: 5; margin-top: -96px; scroll-margin-top: 110px; }
.tarjeta {
  background: #fff; border-radius: var(--radio); box-shadow: var(--sombra);
  display: grid; grid-template-columns: 1fr 1.55fr; padding: 34px 36px; gap: 36px;
}
.tarjeta h2 { margin: 0; font-size: 1.45rem; font-weight: 800; }
.tarjeta p { margin: 6px 0 0; color: var(--suave); line-height: 1.45; }
.tarjeta__envio { display: flex; gap: 22px; padding-right: 36px; border-right: 1px solid #e3e4e8; }
.tarjeta__envio .btn { margin-top: 18px; }
.tarjeta__cabeza { display: flex; gap: 20px; align-items: center; }
.icono { display: grid; place-items: center; flex: none; }
.icono--rojo { width: 96px; height: 96px; border-radius: 20px; background: var(--rojo); color: #fff; }
.icono--rojo svg { width: 54px; height: 54px; }
.icono--amarillo { width: 70px; height: 70px; border-radius: 50%; background: var(--amarillo); color: var(--negro); }
.icono--amarillo svg { width: 34px; height: 34px; }

.buscador { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 12px; margin-top: 22px; }
.campo {
  display: flex; align-items: center; gap: 10px; padding: 0 16px;
  border: 1.5px solid #d9dbe0; border-radius: 14px; background: #fff; color: #8a8d96;
  transition: border-color .15s, box-shadow .15s;
}
.campo:focus-within { border-color: var(--amarillo); box-shadow: 0 0 0 4px rgba(245, 196, 0, .2); }
.campo svg { width: 20px; height: 20px; fill: none; }
.campo input { border: 0; outline: 0; width: 100%; padding: 15px 0; font: inherit; color: var(--texto); background: transparent; }

/* ------------------------------------------------------------- beneficios */
.beneficios { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 56px; padding-bottom: 56px; }
.beneficios > div { display: flex; align-items: center; gap: 16px; padding: 0 22px; }
.beneficios > div + div { border-left: 1px solid #d9dbe0; }
.beneficios svg { width: 52px; height: 52px; fill: none; }
.beneficios p { margin: 0; color: var(--suave); font-size: .95rem; }
.beneficios b { display: block; color: var(--texto); font-size: 1.05rem; font-weight: 800; }

/* ---------------------------------------------------------------- pasajes */
.pasajes {
  padding: 64px 0; color: #fff; scroll-margin-top: 84px;
  background:
    linear-gradient(100deg, rgba(13, 13, 15, .97) 35%, rgba(13, 13, 15, .86)),
    url("img/van.jpg") right bottom / cover;
}
.pasajes__sub { margin: 48px 0 0; text-align: center; font-size: 1.4rem; font-weight: 800; font-style: italic; }
.destinos {
  list-style: none; padding: 0; margin: 34px auto 0; max-width: 900px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.destinos li {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px;
  background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px;
  font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
}
.destinos li::before {
  content: ""; width: 14px; height: 18px; flex: none; background: var(--amarillo);
  clip-path: path("M7 0a7 7 0 0 0-7 7c0 5 7 11 7 11s7-6 7-11a7 7 0 0 0-7-7z");
}
.pasajes__nota { text-align: center; margin: 10px 0 28px; color: #cfd0d6; }
.pasajes__nota a { color: var(--amarillo); font-weight: 700; }

/* --------------------------------------------------------------- secciones */
.seccion { padding: 72px 0; scroll-margin-top: 84px; }
.seccion--gris { background: var(--gris); }
.titulo { margin: 0; text-align: center; font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.titulo em { color: var(--amarillo); }
.titulo--claro { color: #fff; }
.titulo--izq { text-align: left; }
.titulo::after {
  content: ""; display: block; width: 72px; height: 5px; margin: 14px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--amarillo) 60%, var(--rojo) 60%);
}
.titulo--izq::after { margin-left: 0; }

.servicios { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.servicio { background: #fff; border-radius: var(--radio); overflow: hidden; box-shadow: 0 10px 30px rgba(10, 10, 20, .08); border-top: 5px solid var(--amarillo); }
.servicio img { width: 100%; height: 190px; object-fit: cover; display: block; }
.servicio__cuerpo { padding: 22px; }
.servicio h3 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.servicio p { color: var(--suave); line-height: 1.5; }

.nosotros { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.nosotros__texto { margin-top: 18px; color: var(--suave); line-height: 1.7; white-space: pre-line; }
.nosotros img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radio); box-shadow: var(--sombra); }

.galeria { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.galeria figure { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(10, 10, 20, .08); }
.galeria img { width: 100%; height: 180px; object-fit: cover; display: block; }
.galeria figcaption { padding: 10px 14px; font-size: .9rem; color: var(--suave); }

.sedes { align-items: start; margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.sede { display: flex; gap: 14px; align-items: flex-start; background: #fff; padding: 18px 20px; border-radius: 16px; border-left: 5px solid var(--rojo); }
.sede svg { width: 26px; height: 26px; color: var(--rojo); }
.sede b { display: block; font-weight: 800; }
.sede span { display: block; margin-top: 4px; font-size: .9rem; color: var(--suave); }

.contacto { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contacto__datos { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.contacto__datos li { padding-left: 16px; border-left: 4px solid var(--amarillo); color: var(--suave); }
.contacto__datos b { display: block; color: var(--texto); }
.contacto__datos a { text-decoration: none; }
.formulario { background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); padding: 30px; display: grid; gap: 14px; }
.formulario label { display: grid; gap: 6px; font-size: .9rem; font-weight: 700; }
.formulario input, .formulario textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid #d9dbe0; border-radius: 12px; outline: 0;
}
.formulario input:focus, .formulario textarea:focus { border-color: var(--amarillo); box-shadow: 0 0 0 4px rgba(245, 196, 0, .2); }
.formulario__par { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aviso { padding: 10px 14px; border-radius: 10px; background: #e7f7ec; color: #166534; font-size: .9rem; }
.aviso--error { background: #fde8ea; color: #9f1239; }

/* ------------------------------------------------------------------ cierre */
.cierre { position: relative; background: var(--negro); color: #fff; text-align: center; padding: 120px 20px 54px; }
.cierre__onda { position: absolute; top: 0; left: 0; width: 100%; height: 110px; }
.cierre p { margin: 0; font-size: clamp(1.3rem, 3vw, 2.1rem); font-weight: 800; font-style: italic; }
.cierre b { color: var(--amarillo); font-weight: 900; }
.pie { background: #050506; color: #9a9ca4; font-size: .85rem; padding: 18px 0; }
.pie__fila { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.pie a { color: #d7d8dd; }

/* ------------------------------------------------------- WhatsApp flotante */
.whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .3);
  transition: transform .15s;
}
.whatsapp:hover { transform: scale(1.07); }
.whatsapp svg { width: 34px; height: 34px; }

/* ---------------------------------------------------------------- celular */
@media (max-width: 1000px) {
  .barra__fila { height: 70px; }
  .marca__nombre { font-size: 1.5rem; }
  .barra__hamburguesa { display: block; margin-left: auto; width: 44px; height: 44px; cursor: pointer; position: relative; }
  .barra__hamburguesa span, .barra__hamburguesa span::before, .barra__hamburguesa span::after {
    content: ""; position: absolute; left: 10px; right: 10px; height: 3px; border-radius: 2px; background: #fff;
  }
  .barra__hamburguesa span { top: 21px; }
  .barra__hamburguesa span::before { top: -8px; left: 0; right: 0; }
  .barra__hamburguesa span::after { top: 8px; left: 0; right: 0; }
  .menu {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--negro); padding: 8px 20px 20px;
    border-bottom: 3px solid var(--amarillo);
  }
  .barra__toggle:checked ~ .menu { display: flex; }
  .menu__item { flex-direction: row; gap: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 14px 4px; }
  .menu__item.activo, .menu__item:hover { border-bottom-color: rgba(255, 255, 255, .08); }
  .menu__login { margin: 14px 0 0; }

  .hero { min-height: 0; padding-bottom: 110px; }
  .hero__foto { position: relative; right: auto; bottom: auto; width: 100%; }
  .hero__foto::before { background: linear-gradient(180deg, #141417 0%, #141417 7%, rgba(20, 20, 23, 0) 28%, rgba(20, 20, 23, 0) 70%, #131316 100%); }
  .hero__foto::after { display: none; }
  .hero__texto { padding-top: 10px; }
  .hero__sellos { flex-wrap: wrap; row-gap: 16px; }
  .hero__sellos li { padding: 0 14px; font-size: .85rem; }
  .hero__sellos svg { width: 30px; height: 30px; }

  .tarjeta { grid-template-columns: 1fr; padding: 24px; gap: 26px; }
  .tarjeta__envio { border-right: 0; padding-right: 0; padding-bottom: 26px; border-bottom: 1px solid #e3e4e8; }
  .icono--rojo { width: 70px; height: 70px; }
  .icono--rojo svg { width: 40px; height: 40px; }
  .buscador { grid-template-columns: 1fr; }
  .tarjeta h2 { font-size: 1.2rem; }
  .tarjeta__envio, .tarjeta__cabeza { gap: 16px; }
  .icono--amarillo { width: 56px; height: 56px; }
  .icono--amarillo svg { width: 28px; height: 28px; }

  .beneficios { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .destinos { grid-template-columns: 1fr 1fr; }
  .beneficios > div:nth-child(3) { border-left: 0; }
  .nosotros, .contacto { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .beneficios { grid-template-columns: 1fr; }
  .beneficios > div + div { border-left: 0; }
  .formulario__par { grid-template-columns: 1fr; }
  .hero__sellos li { padding: 0; border: 0 !important; width: 100%; }
}
