/* =========================================
   SECCIÓN RUTAS Y PICOS
   ========================================= */

.rutas-picos-section {
  padding: 40px 0;
  font-family: system-ui, -apple-system, sans-serif;
}

.rp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.rp-margin-top {
  margin-top: 48px;
}

.rp-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.rp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Tarjetas de Rutas */
.rp-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.rp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

/* Bordes inferiores de colores 3D */
.rp-card-red { border-bottom: 4px solid #db4e4e; }
.rp-card-yellow { border-bottom: 4px solid #f5c44f; }
.rp-card-green { border-bottom: 4px solid #57a863; }
.rp-card-blue { border-bottom: 4px solid #0dafe5; }
.rp-card-orange { border-bottom: 4px solid #f4970c; }
.rp-card-purple { border-bottom: 4px solid #7c0cf4; }

/* Badges (Etiquetas) */
.rp-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.rp-badge-red { background-color: #db4e4e; }
.rp-badge-yellow { background-color: #f5c44f; color: #5a460b; }
.rp-badge-green { background-color: #57a863; }
.rp-badge-blue { background-color: #0dafe5; }
.rp-badge-orange { background-color: #f4970c; }
.rp-badge-purple { background-color: #7c0cf4; }

.rp-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.rp-card-dist {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rp-card-desc {
  font-size: 1rem;
  color: #777;
}

/* Tarjetas de Picos */
.rp-card-pico {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease;
}

.rp-card-pico:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.rp-pico-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.rp-pico-icon svg {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.rp-pico-info {
  display: flex;
  flex-direction: column;
}

.rp-pico-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px 0;
}

.rp-pico-alt {
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
  margin-bottom: 2px;
}

.rp-pico-prom {
  font-size: 0.85rem;
  color: #777;
}

/* Responsividad extra */
@media (max-width: 768px) {
  .rp-grid {
    grid-template-columns: 1fr;
  }
}

.rp-card-black { border-bottom: 4px solid #2d3748; }
.rp-card-grey { border-bottom: 4px solid #a0aec0; }

.rp-badge-black { background-color: #2d3748; color: #ffffff; }
.rp-badge-grey { background-color: #a0aec0; color: #ffffff; }