/* Barra de sección ya viene de .page-header (igual que agencias.css) */

/* Chips tipo Agencias */
.route-filter {
    margin: 6px 0 18px;
    gap: 8px;
    flex-wrap: wrap;
    display: flex;
  }
  .route-filter .nav > li > a {
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
  }
  .route-filter .active > a {
    background: #f4831f;
    border-color: #f4831f;
    color: #fff;
  }
  
  /* Grid principal */
  .route-grid {
    margin-bottom: 18px;
  }
  @media (max-width: 991px) {
    .route-grid .col-md-7,
    .route-grid .col-md-5 {
      margin-bottom: 12px;
    }
  }
  
  /* Card principal (match servicios) */
  .route-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.18s, box-shadow 0.18s;
  }
  .route-card:hover {
    transform: translateY(-2px);
  }
  
  .route-media {
    position: relative;
    aspect-ratio: 16/9;
    background: #f6f6f6;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }
  .route-media:hover {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  }
  .route-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
  }
  .route-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.95) 5%,
      rgba(0, 0, 0, 0) 40%
    );
    border-radius: 16px;
  }
  .route-title {
    position: absolute;
    left: 16px;
    bottom: 22px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 25px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    z-index: 2;
    margin-bottom: 0;
  }
  .route-badge {
    position: absolute;
    left: 16px;
    bottom: 54px;
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    z-index: 2;
  }
  .route-body {
    background-color: transparent;
    padding: 16px 16px 8px;
    border: 2px solid #eee;
    border-top: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    margin-top: 4px;
  }
  .route-body:hover {
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  }
  .route-desc {
    color: #444;
    margin: 0 0 10px;
    line-height: 1.45;
    font-size: 14px;
    font-weight: 600;
  }
  
  .route-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
  }
  .route-specs li {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
  }
  .route-specs li img {
    width: 38px;
    height: 38px;
  }
  
  /* Info cards (como “Servicios”) */
  .route-info .info-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  }
  .route-info .info-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
  }
  
  a.related-card:hover {
    color: transparent;
  }
  
  .form-control {
    border-radius: 10px;
    margin-bottom: 8px;
  }
  
  /* Formulario (match visual) */
  .route-form.card {
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  }
  .route-form .card-body {
    padding: 16px;
  }
  .route-form label {
    font-size: 12px;
    color: #374151;
    margin-bottom: 0px;
  }
  .btn-route {
    display: flex;
    justify-content: center;
    background: #f57f29;
    align-items: center;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 16px;
    border: 0;
    margin-top: 16px;
    font-size: clamp(14px, 3vw, 20px);
  }
  
  .btn-route p {
    color: #fff;
    margin-bottom: 0;
  }
  
  .btn-route img {
    width: clamp(16px, 4vw, 24px);
    height: clamp(16px, 4vw, 24px);
    margin-right: 8px;
    vertical-align: middle;
  }
  
  .btn-route:hover {
    background: #e46e10;
    color: #fff;
  }
  .fine {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
    margin-bottom: 0;
    text-align: center;
  }
  
  /* Rutas relacionadas (estilo tarjetas Agencias) */
  .related-title {
    font-size: 22px;
    font-weight: 700;
    margin: 8px 0 10px;
  }
  .related-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    transition: transform 0.22s, box-shadow 0.22s;
  }
  .related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  }
  .related-media {
    position: relative;
    aspect-ratio: 150/103;
    background: #eee;
  }
  .related-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }
  .related-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.95) 5%,
      rgba(0, 0, 0, 0) 40%
    );
  }
  .related-titleWrap {
    position: absolute;
    left: 0;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  }
  .related-titleWrap h3 {
    margin: 0 0 6px 20px;
    font-weight: 700;
    color: white;
    font-size: 20px;
    text-transform: none;
  }
  .badge-pill {
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
    background: transparent;
    color: #fff;
    border-radius: 0 10px 10px 0;
    padding: 8px 50px 0px 20px;
  }
  .related-body .related-row {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 2px solid #eee;
    border-top: 0;
    gap: 10px;
    border-radius: 0 0 16px 16px;
  }
  .related-body .icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1e6;
    color: #f4831f;
    border: 1px solid #ffd9b8;
    border-radius: 8px;
  }
  .related-body .text {
    color: #222;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
  }
  
  .gap-8px {
    gap: 16px;
  }
  
  .flex {
    display: flex;
    flex-direction: column;
  }
  
  .mb-3 {
    margin-bottom: 0.75rem;
  }
  
  .main > .container {
    margin-bottom: 32px;
  }
  
  .route-secure-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
  }
  
  .route-secure-buy img {
    width: 40px;
    height: 40px;
    margin-right: 8px;
  }
  
  .route-secure-buy p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    color: #f58220;
  }
  