/* =========================================================
   PACKAGES — FINAL (CLEAN + DIFFERENT FROM SERVICES)
   Replace your existing packages css with this block
   ========================================================= */

.cm-section.packages{
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5vw, 86px) 0;

  /* Section identity: slightly deeper band than other sections */
  background: linear-gradient(180deg, #F7F8FC 0%, #EEF2F9 100%);
}

/* Ambient premium wash */
.cm-section.packages::before{
  content:"";
  position:absolute;
  inset:-180px -180px -240px -180px;
  background:
    radial-gradient(980px 520px at 16% 16%, rgba(244,180,0,.22), transparent 62%),
    radial-gradient(860px 520px at 82% 18%, rgba(11,18,32,.10), transparent 62%),
    radial-gradient(980px 620px at 52% 100%, rgba(244,180,0,.10), transparent 60%);
  pointer-events:none;
  z-index:0;
}

/* Separator from previous section */
.cm-section.packages::after{
  content:"";
  position:absolute;
  left: 0; right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11,18,32,.12), transparent);
  z-index:0;
}

.cm-section.packages .container{
  position: relative;
  z-index: 1;
}

/* ---------- Header: makes Packages look different ---------- */
.packages-head{
  position: relative;
  max-width: 980px;
  margin: 0 0 14px;
  display: block;          /* IMPORTANT: stop grid auto-placement */
}

/* Right-side pill (no HTML change) */

.sec-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(11,18,32,.10);
  box-shadow: 0 10px 24px rgba(11,18,32,.06);
  font-weight: 900;
  letter-spacing: .2px;
}
@media (max-width: 860px){
  .packages-head::after{
    position: static;
    margin-top: 10px;
  }
}
@media (max-width: 880px){
  .packages-head{ grid-template-columns: 1fr; }
  .packages-head::after{ justify-self: start; }
}

/* ---------- Grid ---------- */
.packages-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* ---------- Card ---------- */
.pkg-card{
  border-radius: 26px;
  overflow:hidden;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(11,18,32,.10);
  box-shadow: 0 20px 55px rgba(11,18,32,.10);
  transition: box-shadow .18s ease, border-color .18s ease;
  display:flex;
  flex-direction:column;
  min-height: 460px;
}

/* Glow hover (not the same lift as services) */
.pkg-card:hover{
  border-color: rgba(244,180,0,.26);
  box-shadow:
    0 26px 70px rgba(11,18,32,.14),
    0 0 0 6px rgba(244,180,0,.06);
}

/* ---------- Media ---------- */
.pkg-media{
  position:relative;
  height: 190px; /* taller = more “route card” */
  background: rgba(11,18,32,.06);
}
.pkg-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.05);
}
.pkg-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.00) 0%, rgba(0,0,0,.12) 42%, rgba(0,0,0,.38) 100%);
  pointer-events:none;
}

/* Icon badge: route marker style */
.pkg-icon{
  position:absolute;
  left: 16px;
  bottom: -20px;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  background: linear-gradient(180deg, rgba(255,211,106,.98), rgba(244,180,0,.98));
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 16px 30px rgba(244,180,0,.20), 0 14px 26px rgba(11,18,32,.10);
}
.pkg-icon i{ color:#1A1300; font-size: 19px; }

/* Top-right tag */
.pkg-tag{
  position:absolute;
  right: 14px;
  top: 14px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(11,18,32,.12);
  box-shadow: 0 10px 22px rgba(11,18,32,.08);
  font-weight: 900;
  letter-spacing: .35px;
  font-size: 12px;
  color: rgba(11,18,32,.86);
}
.pkg-tag i{ color: var(--brand); }

/* ---------- Body ---------- */
.pkg-body{
  padding: 34px 16px 16px; /* extra top due to icon overlap */
  display:flex;
  flex-direction:column;
  gap: 10px;
  flex: 1 1 auto;
}

.pkg-title{
  margin: 0;
  font-weight: 900;
  letter-spacing: -.4px;
  font-size: 19px;
  color: rgba(11,18,32,.96);
  position: relative;
}
.pkg-title::after{
  content:"";
  display:block;
  width: 46px;
  height: 3px;
  margin-top: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), rgba(244,180,0,.25));
}

.pkg-desc{
  margin: 0;
  color: rgba(11,18,32,.68);
  font-size: 14.6px;
  line-height: 1.65;
  font-weight: 600;
}
.pkg-desc strong{ color: rgba(11,18,32,.92); font-weight: 900; }

/* Points become “route meta blocks” */
.pkg-points{
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.pkg-points li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(11,18,32,.03);
  border: 1px solid rgba(11,18,32,.06);
  color: rgba(11,18,32,.74);
  font-weight: 650;
  font-size: 13.7px;
  line-height: 1.55;
}
.pkg-points i{
  margin-top: 2px;
  color: var(--brand);
}

/* Best-for chips */
.pkg-bestfor{
  margin-top: 6px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

/* CTA row */
.pkg-cta{
  margin-top: auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 12px;
}
.pkg-cta .btn{
  height: 46px;
  border-radius: 16px;
}
.btn-block{ width:100%; }

/* Note card */
.pkg-note{
  padding: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 40px rgba(11,18,32,.10);
  border-radius: 26px;
}
.pkg-note .card-title{
  margin: 0 0 8px;
  font-weight: 900;
  letter-spacing: -.3px;
  color: rgba(11,18,32,.94);
  display:flex;
  align-items:center;
  gap: 10px;
}
.pkg-note .card-title i{ color: var(--brand); }
.pkg-note .card-desc{
  margin: 0;
  color: rgba(11,18,32,.70);
  line-height: 1.7;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 991px){
  .packages-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .packages-grid{ grid-template-columns: 1fr; }
  .pkg-media{ height: 200px; }
  .pkg-cta{ grid-template-columns: 1fr; }
}
