/* =========================================================
   SN ROUTES SECTION (New layout, same design language)
   Requires your :root --sn-* tokens
   ========================================================= */

.sn-routes{
  background: linear-gradient(180deg, rgba(11,58,164,.05), rgba(255,255,255,0));
}

/* Head layout */
.sn-rHead{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
  align-items:start;
  margin-bottom: 14px;
}

/* Filters + trust */
.sn-rFilters{ margin: 10px 0 12px; }
.sn-rTrust{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

/* Quote alignment */
.sn-rQuote{ top: 14px; }

/* Grid of route cards: distinct from packages */
.sn-rGrid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 14px;
}

/* Route card style (similar quality as sn-card, new internal layout) */
.sn-rCard{
  border: 1px solid var(--sn-border);
  background: rgba(255,255,255,.86);
  border-radius: var(--sn-r20);
  overflow:hidden;
  box-shadow: 0 12px 30px rgba(12,16,23,.08);
  transition: transform .18s ease, box-shadow .18s ease;
  display:flex;
  flex-direction:column;
}
.sn-rCard:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(12,16,23,.12);
}

/* Media */
.sn-rMedia{
  position:relative;
  height: 170px;
  background-size:cover;
  background-position:center;
}
.sn-rMedia::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(12,16,23,.08), rgba(12,16,23,.55));
}

/* Icon block (top-left) */
.sn-rIcon{
  position:absolute; left:12px; top:12px;
  z-index:2;
  width:40px; height:40px;
  border-radius: 14px;
  display:grid; place-items:center;
  color:#fff;
  box-shadow: 0 14px 30px rgba(12,16,23,.16);
}

/* Tag (top-right) */
.sn-rTag{
  position:absolute; right:12px; top:12px;
  z-index:2;
  border-radius: var(--sn-pill);
  padding: 7px 10px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255,255,255,.96);
  background: rgba(12,16,23,.35);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  display:inline-flex; align-items:center; gap:8px;
}

/* Body */
.sn-rBody{ padding: 14px; }
.sn-rBody h3{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 950;
  color: var(--sn-ink);
}
.sn-rBody p{
  margin: 0 0 10px;
  color: rgba(12,16,23,.76);
  font-size: 13.5px;
  line-height: 1.55;
}

/* Micro FAQ inside card */
.sn-rFAQ{
  margin: 0 0 12px;
  border: 1px solid var(--sn-border);
  background: rgba(255,255,255,.82);
  border-radius: var(--sn-r16);
  padding: 12px;
  line-height: 1.5;
}
.sn-rFAQ b{ display:block; font-weight: 950; font-size: 13px; margin-bottom: 4px; }
.sn-rFAQ span{ display:block; font-weight: 700; font-size: 13px; color: rgba(12,16,23,.74); }

/* CTA row */
.sn-rCTA{
  display:flex;
  gap: 10px;
  margin-top: 4px;
}
.sn-rCTA .sn-btn{ flex: 1; padding: 11px 12px; }

/* Responsive */
@media (max-width: 992px){
  .sn-rHead{ grid-template-columns: 1fr; }
  .sn-rTrust{ grid-template-columns: 1fr; }
  .sn-rGrid{ grid-template-columns: 1fr; }
  .sn-miniQuote{ position: relative; top:auto; }
}
@media (max-width: 576px){
  .sn-rMedia{ height: 180px; }
  .sn-rCTA{ flex-direction: column; }
  .sn-rCTA .sn-btn{ width: 100%; }
}

/* =========================================================
   SANNIDHI – ROUTES SECTION (RESPONSIVE)
   Section: #routes.sn-routes
   Paste AFTER your existing sn-* CSS so it overrides.
   ========================================================= */

/* ---------- layout defaults (desktop first) ---------- */
.sn-routes{
  padding: clamp(26px, 4vw, 58px) 0;
}

.sn-routes .container{
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.sn-rHead{
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: clamp(14px, 2.2vw, 24px);
  align-items: start;
}

.sn-rHead > div{
  min-width: 0; /* stop grid overflow */
}

/* Title + lead scale */
.sn-routes .sn-h2{
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.15;
  margin: 10px 0 10px;
}

.sn-routes .sn-lead{
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.65;
  margin: 0 0 14px;
}

/* Filters row */
.sn-rFilters{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.sn-rFilters .sn-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* ghost pill to the right on large screens */
.sn-rFilters .ms-lg-auto{
  margin-left: auto;
}

/* Trust strip */
.sn-rTrust{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.sn-rTrust .sn-trust{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
}

.sn-rTrust .sn-trust > div{
  min-width: 0;
}

.sn-rTrust b{
  display: block;
  line-height: 1.2;
}

.sn-rTrust span{
  display: block;
  opacity: .85;
  line-height: 1.25;
}

/* Sticky mini quote card (desktop) */
.sn-rQuote{
  position: sticky;
  top: var(--sn-sticky-offset, 96px);
  align-self: start;
}

/* Mini quote CTA buttons */
.sn-miniCtas{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sn-miniCtas .sn-btn{
  width: 100%;
  justify-content: center;
}

/* Routes grid */
.sn-rGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 18px);
  margin-top: clamp(16px, 2.2vw, 22px);
}

.sn-rCard{ min-width: 0; }

/* Media image block */
.sn-rMedia{
  background-size: cover;
  background-position: center;
  min-height: 190px;
}

/* Body spacing */
.sn-rBody{
  padding: 16px 16px 14px;
}

.sn-rBody h3{
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 8px;
}

/* points list */
.sn-points{
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.sn-points li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
}

/* chips wrap */
.sn-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.sn-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  max-width: 100%;
}

/* CTA inside card */
.sn-rCTA{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
}

.sn-rCTA .sn-btn{
  width: 100%;
  justify-content: center;
}

/* ---------- <= 1024px (tablet landscape / small laptop) ---------- */
@media (max-width: 1024px){
  .sn-rHead{
    grid-template-columns: 1.2fr .8fr;
  }

  .sn-rGrid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sn-rMedia{
    min-height: 175px;
  }
}

/* ---------- <= 860px (tablet) ---------- */
@media (max-width: 860px){
  .sn-rHead{
    grid-template-columns: 1fr; /* stack content */
  }

  /* stop sticky on smaller screens (better UX) */
  .sn-rQuote{
    position: relative;
    top: auto;
  }

  /* place quote card after content */
  .sn-rQuote{
    order: 2;
    margin-top: 10px;
  }

  /* filters become horizontal scroll */
  .sn-rFilters{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    gap: 10px;
  }

  .sn-rFilters::-webkit-scrollbar{ height: 6px; }

  .sn-rFilters .ms-lg-auto{
    margin-left: 0; /* because row is scrollable */
  }

  /* trust strip wraps to 1 column (clean) */
  .sn-rTrust{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* routes grid becomes single column */
  .sn-rGrid{
    grid-template-columns: 1fr;
  }

  .sn-rMedia{
    min-height: 210px;
  }
}

/* ---------- <= 520px (mobile) ---------- */
@media (max-width: 520px){
  .sn-routes .container{
    width: min(1180px, calc(100% - 22px));
  }

  .sn-eyebrow{
    font-size: 12px;
    line-height: 1.35;
  }

  .sn-sep{ display: none; }

  .sn-routes .sn-h2{
    font-size: 22px;
    line-height: 1.18;
  }

  .sn-routes .sn-lead{
    font-size: 14px;
  }

  /* quote CTAs stack */
  .sn-miniCtas{
    grid-template-columns: 1fr;
  }

  /* card body tighter */
  .sn-rBody{
    padding: 14px 14px 12px;
  }

  .sn-rMedia{
    min-height: 185px;
  }

  /* card CTA stack */
  .sn-rCTA{
    grid-template-columns: 1fr;
  }
}

/* ---------- Optional: reduce motion ---------- */
@media (prefers-reduced-motion: reduce){
  .sn-routes *{
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}