/* =========================================================================
   SIKKIM PERMITS & REQUIREMENTS — partials/homePage/permitsSection
   Uses the --pt-* tokens from premium-theme.css.
   ========================================================================= */
.pm {
  --pm-ok: #1fa36b;
  --pm-need: #e0523c;
  --pm-info: #2f8fd8;
}

.pm-head {
  max-width: 880px;
  margin: 0 auto 36px;
}

.pm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--pt-radius-pill);
  background: rgba(248, 182, 0, 0.12);
  color: var(--pt-gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.pm .pm-title {
  display: block;
  margin: 14px 0;
  color: var(--pt-ink);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.pm-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pt-gold), var(--pt-gold-light));
}

.pm-lead {
  margin: 0;
  color: var(--pt-slate);
  line-height: 1.8;
}

.pm .pm-subtitle {
  margin: 0 0 20px;
  color: var(--pt-ink);
  font-size: 26px;
  font-weight: 800;
}

/* ---- At a glance ---- */
.pm-glance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.pm-glance-item {
  --c: var(--pm-info);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.07);
  border-left: 4px solid var(--c);
  box-shadow: var(--pt-shadow-sm);
}

.pm-ok   { --c: var(--pm-ok); }
.pm-need { --c: var(--pm-need); }

.pm-glance-item > i {
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--c) 13%, transparent);
  color: var(--c);
  font-size: 20px;
}

.pm-glance-item strong {
  display: block;
  color: var(--pt-ink);
  font-size: 15px;
  font-weight: 700;
}

.pm-glance-item span {
  display: block;
  color: var(--pt-slate);
  font-size: 13px;
  line-height: 1.5;
}

/* ---- Permit types ---- */
.pm-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.pm-type {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: var(--pt-radius-lg);
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.07);
  box-shadow: var(--pt-shadow-sm);
  transition: transform 0.4s var(--pt-ease), box-shadow 0.4s var(--pt-ease), border-color 0.4s var(--pt-ease);
}

.pm-type:hover {
  transform: translateY(-5px);
  border-color: rgba(248, 182, 0, 0.5);
  box-shadow: var(--pt-shadow-md);
}

.pm-type-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pm-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--pt-navy-900), var(--pt-teal-700));
  color: var(--pt-gold-light);
  font-size: 20px;
  transition: transform 0.4s var(--pt-ease);
}

.pm-type:hover .pm-type-icon {
  transform: rotate(-8deg) scale(1.06);
}

.pm-type-num {
  color: rgba(10, 26, 47, 0.08);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.pm-type h4 {
  margin: 0 0 10px;
  color: var(--pt-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.pm-applies {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 11px;
  border-radius: var(--pt-radius-pill);
  background: rgba(248, 182, 0, 0.14);
  color: var(--pt-gold-dark);
  font-size: 11.5px;
  font-weight: 700;
}

.pm-type p {
  margin: 0;
  color: var(--pt-slate);
  font-size: 14px;
  line-height: 1.75;
}

/* ---- Destination permits (dark) ---- */
.pm-dest {
  position: relative;
  overflow: hidden;
  padding: 50px;
  margin-bottom: 60px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 0% 0%, rgba(224, 82, 60, 0.22), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(248, 182, 0, 0.16), transparent 40%),
    linear-gradient(160deg, var(--pt-navy-950), var(--pt-navy-800));
  box-shadow: var(--pt-shadow-lg);
}

.pm-dest-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}

.pm .pm-subtitle-light {
  margin: 0;
  color: #fff;
}

.pm-dest-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--pt-radius-pill);
  background: rgba(248, 182, 0, 0.14);
  border: 1px solid rgba(248, 182, 0, 0.35);
  color: var(--pt-gold-light);
  font-size: 13px;
  font-weight: 600;
}

.pm-dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pm-dest-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--pt-glass-border-dark);
  transition: transform 0.4s var(--pt-ease), background 0.4s var(--pt-ease), border-color 0.4s var(--pt-ease);
}

.pm-dest-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.pm-dest-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--pt-gold);
  color: var(--pt-ink);
  font-size: 21px;
}

.pm-dest-where {
  color: var(--pt-gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.pm-dest-card h4 {
  margin: 6px 0 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.pm-dest-card p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.8;
}

.pm-dest-req {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 6px 13px;
  border-radius: var(--pt-radius-pill);
  background: rgba(224, 82, 60, 0.16);
  border: 1px solid rgba(224, 82, 60, 0.45);
  color: #ff9d8c;
  font-size: 12px;
  font-weight: 700;
}

/* ---- Documents ---- */
.pm-docs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
}

.pm-docs-copy p {
  margin: 0 0 24px;
  color: var(--pt-slate);
  font-size: 15px;
  line-height: 1.8;
}

.pm .pm-docs-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--pt-radius-pill);
  background: var(--pt-gold);
  color: var(--pt-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--pt-shadow-gold);
  transition: transform 0.3s var(--pt-ease), background 0.3s var(--pt-ease);
}

.pm .pm-docs-btn:hover,
.pm .pm-docs-btn:focus {
  background: var(--pt-gold-dark);
  color: var(--pt-ink);
  transform: translateY(-2px);
}

.pm-checklist {
  padding: 28px;
  border-radius: var(--pt-radius-lg);
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.07);
  box-shadow: var(--pt-shadow-md);
}

.pm-checklist-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--pt-slate);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pm-checklist ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pm-checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(10, 26, 47, 0.1);
  color: var(--pt-ink);
  font-size: 15px;
  font-weight: 600;
}

.pm-checklist li:last-child {
  border-bottom: 0;
}

.pm-check-icon {
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 12px;
  background: #f1f5f9;
  color: var(--pt-teal-600);
  font-size: 16px;
}

.pm-tick {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pm-ok);
  color: #fff;
  font-size: 12px;
}

/* ---- Note ---- */
.pm-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(47, 143, 216, 0.08);
  border: 1px solid rgba(47, 143, 216, 0.3);
}

.pm-note i {
  color: var(--pm-info);
  font-size: 22px;
  line-height: 1.2;
}

.pm-note p {
  margin: 0;
  color: var(--pt-slate);
  font-size: 14px;
  line-height: 1.7;
}

.pm-note strong {
  color: var(--pt-ink);
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
  .pm-types {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .pm-glance,
  .pm-dest-grid {
    grid-template-columns: 1fr;
  }

  .pm-dest {
    padding: 36px 28px;
  }

  .pm-docs {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 767px) {
  .pm .pm-title {
    font-size: 28px;
  }

  .pm .pm-subtitle {
    font-size: 22px;
  }

  .pm-types {
    grid-template-columns: 1fr;
  }

  .pm-dest {
    padding: 28px 16px;
    border-radius: 26px;
  }

  .pm-dest-card,
  .pm-checklist {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pm-type,
  .pm-type-icon,
  .pm-dest-card {
    transition: none;
  }
}
