/* ================================
   TÍTULOS GENERALES (por si no hay secciones.css)
   ================================ */

.section__title{
  text-align:left;
  font-size:2rem;
  font-weight:700;
  color:#00295E;
  margin:0 0 24px;
}

/* ================================
   HERO RUTA 39 – FONDO VERDE CLARO
   ================================ */

.ruta-hero{
  position:relative;
  min-height:260px;
  padding:80px 0 70px;
  /* Usá este gradient o copiá el mismo de Servicios */
  background:linear-gradient(135deg,#f3fbf6,#e0f4ea) !important;
  color:#00295E;
  overflow:hidden;
}

/* Ya no usamos fondo ni overlay, los podés borrar si querés
.ruta-hero__bg{...}
.ruta-hero__overlay{...}
*/

/* Contenido */
.ruta-hero__content{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  gap:14px;
  max-width:720px;
}

/* Eyebrow sobre fondo claro */
.ruta-hero__eyebrow{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(0,0,0,0.05);
  font-size:0.78rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  margin-bottom:6px;
  color:#335066;
}

.ruta-hero__title{
  margin:0;
  font-size:2.3rem;
  font-weight:700;
  color:#00295E;
}

.ruta-hero__subtitle{
  margin:4px 0 10px;
  font-size:0.98rem;
  line-height:1.6;
  color:#36556d;
}

/* Chips de datos rápidos */
.ruta-hero__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:6px;
}

.ruta-hero__chip{
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.08);
  font-size:0.78rem;
  color:#123756;
  background:rgba(255,255,255,0.8);
}

/* ================================
   BLOQUE PRINCIPAL (TEXTO + MAPA)
   ================================ */

.ruta-body{
  padding:60px 0 70px;
  background:#ffffff;
}

.ruta-body__inner{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(0,1.3fr);
  gap:32px;
  align-items:flex-start;
}

/* Columna izquierda */
.ruta-body__main{
  font-size:0.96rem;
  line-height:1.7;
  color:#4a5670;
}

.ruta-body__main h2{
  font-size:1.3rem;
  color:#00295E;
  margin:0 0 10px;
}

.ruta-body__main h3{
  font-size:1.1rem;
  color:#00295E;
  margin:18px 0 8px;
}

.ruta-body__main p{
  margin:0 0 14px;
}

/* Listas */
.ruta-body__list{
  margin:0 0 16px;
  padding-left:18px;
}

.ruta-body__list li{
  margin-bottom:6px;
}

/* Tags tipo pill */
.ruta-body__tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:8px 0 18px;
  padding:0;
  list-style:none;
}

.ruta-body__tagpill{
  padding:6px 12px;
  border-radius:999px;
  background:#f2f5fb;
  border:1px solid #d5deee;
  font-size:0.8rem;
  color:#00295E;
}

/* Columna derecha */
.ruta-body__aside{
  align-self:stretch;
}

.ruta-body__card{
  background:#ffffff;
  border-radius:14px;
  box-shadow:0 18px 48px rgba(10,26,54,0.12);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

/* Encabezado de la tarjeta */
.ruta-body__card-head{
  padding:14px 18px 10px;
  border-bottom:1px solid #e2e7f2;
}

.ruta-body__card-title{
  margin:0;
  font-size:1.05rem;
  font-weight:700;
  color:#00295E;
}

.ruta-body__card-sub{
  margin:2px 0 0;
  font-size:0.85rem;
  color:#6b7790;
}

/* Mapa */
.ruta-body__mapwrap{
  position:relative;
  padding-top:56.25%; /* 16:9 */
  background:#eef1f7;
}

.ruta-body__mapwrap iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

/* Cuerpo de la tarjeta */
.ruta-body__card-body{
  padding:14px 18px 16px;
  font-size:0.9rem;
  color:#4a5670;
}

.ruta-body__card-body ul{
  list-style:none;
  margin:0;
  padding:0;
}

.ruta-body__card-body li{
  margin-bottom:6px;
}

/* Acciones de la tarjeta */
.ruta-body__card-actions{
  padding:10px 18px 16px;
  border-top:1px solid #e2e7f2;
  display:flex;
  justify-content:flex-end;
}

.ruta-body__btn{
  display:inline-block;
  padding:8px 18px;
  border-radius:999px;
  font-size:0.9rem;
  font-weight:600;
  text-decoration:none;
  background:#00295E;
  color:#ffffff;
  box-shadow:0 10px 24px rgba(0,0,0,0.18);
  transition:background .2s ease, transform .15s ease, box-shadow .15s ease;
}

.ruta-body__btn:hover{
  background:#001835;
  transform:translateY(-1px);
  box-shadow:0 14px 32px rgba(0,0,0,0.22);
}

.ruta-body__btn:active{
  transform:translateY(0);
  box-shadow:0 9px 20px rgba(0,0,0,0.2);
}

/* ================================
   SERVICIOS DESTACADOS RUTA 39
   ================================ */

.ruta-servicios{
  padding:0 0 70px;
  background:#ffffff;
}

.ruta-servicios__title{
  text-align:center;
  font-size:1.5rem;
  font-weight:700;
  color:#00295E;
  margin:0 0 26px;
}

.ruta-servicios__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.ruta-serv-card{
  background:#f7f9fc;
  border-radius:14px;
  padding:18px 16px 20px;
  box-shadow:0 16px 40px rgba(10,26,54,0.08);
  display:flex;
  flex-direction:column;
  gap:8px;
}

.ruta-serv-card__icon{
  width:32px;
  height:32px;
  background:var(--navbar-accent,#00A033);
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-size:contain;
  mask-size:contain;
  -webkit-mask-position:center;
  mask-position:center;
  display:inline-block;
}

.ruta-serv-card__title{
  margin:6px 0 2px;
  font-size:1rem;
  font-weight:700;
  color:#00295E;
}

.ruta-serv-card__desc{
  margin:0;
  font-size:0.9rem;
  line-height:1.6;
  color:#4a5670;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width:900px){
  .ruta-hero{
    padding:60px 0 50px;
  }

  .ruta-hero__title{
    font-size:1.9rem;
  }

  .ruta-body__inner{
    grid-template-columns:1fr;
  }

  .ruta-servicios__grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:600px){
  .section__title{
    font-size:1.7rem;
    margin-bottom:18px;
  }

  .ruta-body{
    padding:50px 0 60px;
  }

  .ruta-servicios{
    padding-bottom:60px;
  }
}
