/* ============================================
   Coordinadora - Inicio / Rastreo de Guía
   ============================================ */

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

body {
  font-family: 'Montserrat', sans-serif;
  background: #f5f5f5;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ---- LOGO ---- */
.logo {
  display: block;
  width: 220px;
  margin: 0 auto;
  padding: 18px 0 10px;
}

/* ---- HERO IMAGE ---- */
.imagen-container {
  position: relative;
  width: 100%;
}

.main-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}

/* ---- RASTREO BOX ---- */
.rastreo-box {
  background: #fff;
  margin: -30px 16px 0;
  padding: 22px 20px 18px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  position: relative;
  z-index: 2;
}

.rastreo-box h1 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.rastreo-box p {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
  line-height: 1.45;
}

.rastreo-box p b {
  color: #2868A9;
  font-weight: 700;
}

/* ---- INPUT BOX ---- */
.input-box {
  display: flex;
  align-items: center;
  background: #f7f7f7;
  border: 1.5px solid #e0e0e0;
  border-radius: 40px;
  padding: 4px 4px 4px 18px;
  transition: border-color 0.2s;
}

.input-box:focus-within {
  border-color: #2868A9;
  box-shadow: 0 0 0 3px rgba(40,104,169,0.08);
}

.input-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  padding: 10px 0;
  outline: none;
  color: #333;
  min-width: 0;
}

.input-box input::placeholder {
  color: #bbb;
  font-size: 13px;
}

#btn-rastrear {
  background: #e0e0e0;
  color: #999;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

#btn-rastrear.naranja {
  background: #2868A9;
  color: #fff;
  box-shadow: 0 2px 8px rgba(40,104,169,0.25);
}

#btn-rastrear:hover {
  opacity: 0.9;
}

/* ---- ALERTA NO GUIA ---- */
.alerta-no-guia {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff5f3;
  border: 1px solid #f5d0c5;
  border-radius: 10px;
  padding: 14px;
  margin-top: 14px;
}

.alerta-no-guia-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.alerta-no-guia-icon svg {
  width: 22px;
  height: 22px;
}

.alerta-no-guia-title {
  font-size: 13px;
  font-weight: 700;
  color: #c73f12;
  margin-bottom: 4px;
}

.alerta-no-guia-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

/* ---- RASTREO LINK ---- */
.rastreo-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #2868A9;
  font-weight: 500;
  margin-top: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
}

.rastreo-link:hover {
  color: #1d5289;
}

.rastreo-link .arrow {
  font-size: 18px;
  margin-left: 8px;
  flex-shrink: 0;
}

/* ---- SECTION DIVIDER ---- */
.section-divider {
  width: 85%;
  margin: 28px auto 0;
  border: none;
  border-top: 1.5px dashed #ddd;
}

/* ---- SERVICIOS TITULO ---- */
.servicios-titulo {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 24px 0 18px;
  padding: 0 16px;
}

/* ---- SERVICIO CARDS ---- */
.servicio-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  margin: 0 16px 12px;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.servicio-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.servicio-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.servicio-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.servicio-info {
  flex: 1;
  min-width: 0;
}

.servicio-nombre {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.servicio-desc {
  font-size: 12.5px;
  color: #777;
  line-height: 1.5;
}

/* ---- MORO (Footer illustration) ---- */
.moro {
  display: block;
  width: 100%;
  margin-top: 20px;
}

/* ---- MENU COORDINADORA (Dark footer nav) ---- */
.menu-coordinadora {
  background: #1a2332;
  padding: 28px 20px 20px;
  margin-top: 0;
}

.logo-menu-coordinadora {
  display: block;
  width: 160px;
  margin-bottom: 22px;
  filter: brightness(1.1);
}

.telefono-coordinadora {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.icono-telefono {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

.linea-unica {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.telefono-numero {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  margin-top: 2px;
}

.separador {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0;
}

.item-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  transition: opacity 0.2s;
}

.item-menu:hover {
  opacity: 0.75;
}

.item-menu span {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.flecha {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
}

/* ---- BOTTOM SECTION ---- */
.nuestras {
  text-align: center;
  font-size: 13px;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0;
}

.compa {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 4px;
  margin-bottom: 10px;
}

.ultimo {
  display: block;
  width: 100%;
  margin-top: 0;
}

/* ---- RESPONSIVE ---- */
/* ---- VER MAS LINK ---- */
.ver-mas {
  display: inline-block;
  font-size: 13px;
  color: #2868A9;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.2s;
}

.ver-mas:hover {
  color: #1d5289;
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 16px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 420px) {
  .container {
    max-width: 100%;
  }
  .rastreo-box {
    margin: -24px 12px 0;
    padding: 18px 16px 14px;
  }
  .servicio-card {
    margin: 0 12px 10px;
    padding: 14px 12px;
  }
  .servicios-titulo {
    font-size: 16px;
  }
}