/* =========================================================================
   SIKKIM TOURISM BEST TIME — partials/homePage/bestTimeSection
   Uses the --pt-* tokens from premium-theme.css.
   ========================================================================= */
.bt {
  --bt-best: #1fa36b;
  --bt-good: #2f8fd8;
  --bt-caution: #f0a020;
  --bt-avoid: #e0523c;
  background: linear-gradient(180deg, #f5f8fb 0%, #fff 100%);
}

.bt-r-best    { --bt-c: var(--bt-best); }
.bt-r-good    { --bt-c: var(--bt-good); }
.bt-r-caution { --bt-c: var(--bt-caution); }
.bt-r-avoid   { --bt-c: var(--bt-avoid); }

.bt-head {
  max-width: 860px;
  margin: 0 auto 50px;
}

.bt-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;
}

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

.bt-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));
}

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

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

.bt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--pt-radius-pill);
  background: color-mix(in srgb, var(--bt-c) 14%, transparent);
  color: var(--bt-c);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.bt-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---- Best time windows ---- */
.bt-windows {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.bt-window {
  position: relative;
  overflow: hidden;
  padding: 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);
}

.bt-window::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--bt-c);
}

.bt-window:hover {
  transform: translateY(-5px);
  box-shadow: var(--pt-shadow-md);
}

.bt-window-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.bt-window-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--bt-c) 14%, transparent);
  color: var(--bt-c);
  font-size: 19px;
}

.bt-window h4 {
  margin: 0 0 8px;
  color: var(--pt-ink);
  font-size: 20px;
  font-weight: 800;
}

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

/* ---- Seasons (dark panel) ---- */
.bt-seasons {
  position: relative;
  overflow: hidden;
  padding: 50px;
  margin-bottom: 60px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 90% 0%, rgba(28, 130, 150, 0.35), transparent 45%),
    linear-gradient(160deg, var(--pt-navy-950), var(--pt-navy-800));
  box-shadow: var(--pt-shadow-lg);
}

.bt-seasons-head p {
  max-width: 860px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.8;
}

.bt .bt-subtitle-light {
  color: #fff;
}

.bt-season-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 8px;
  margin-bottom: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--pt-glass-border-dark);
}

.bt-season-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 10px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  cursor: pointer;
  transition: background 0.3s var(--pt-ease), color 0.3s var(--pt-ease);
}

.bt-season-tab i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 16px;
  transition: background 0.3s var(--pt-ease), color 0.3s var(--pt-ease);
}

.bt-season-tab strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.bt-season-tab small {
  display: block;
  font-size: 12px;
  opacity: 0.7;
}

.bt-season-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.bt-season-tab.is-active {
  background: #fff;
  color: var(--pt-ink);
}

.bt-season-tab.is-active i {
  background: var(--bt-c);
  color: #fff;
}

.bt-season-tab:focus-visible,
.bt-month:focus-visible {
  outline: 2px solid var(--pt-gold);
  outline-offset: 2px;
}

.bt-season-panel {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
}

.bt-season-panel.is-active,
.bt-month-panel.is-active {
  animation: btFade 0.45s var(--pt-ease);
}

.bt-season-panel[hidden],
.bt-month-panel[hidden] {
  display: none;
}

@keyframes btFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.bt-season-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--bt-c) 30%, transparent), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.bt-season-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 6px;
  border-radius: 18px;
  background: var(--bt-c);
  color: #fff;
  font-size: 22px;
}

.bt-season-aside .bt-pill {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.bt-season-name {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

.bt-season-months {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
}

.bt-season-facts {
  width: 100%;
  margin: 8px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  list-style: none;
}

.bt-season-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  font-weight: 500;
}

.bt-season-facts i {
  width: 16px;
  color: var(--pt-gold-light);
  text-align: center;
}

.bt-season-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.bt-season-copy > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.bt-seasons-head .bt-subtitle {
  margin-bottom: 22px;
}

.bt-season-copy p {
  font-size: 15.5px;
}

.bt-season-copy > div {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--pt-glass-border-dark);
}

.bt-season-copy h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.bt-season-copy h4 i {
  color: var(--pt-gold-light);
}

.bt-season-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.8;
}

.bt-alert {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(248, 182, 0, 0.1);
  border: 1px solid rgba(248, 182, 0, 0.35);
}

.bt-alert i {
  color: var(--pt-gold);
  font-size: 22px;
  line-height: 1.2;
}

.bt-alert p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.7;
}

.bt-alert strong {
  color: var(--pt-gold-light);
}

/* ---- Month planner ---- */
.bt-months {
  margin-bottom: 50px;
}

.bt-months-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.bt-months-head p {
  max-width: 760px;
  margin: 0;
  color: var(--pt-slate);
  font-size: 15px;
  line-height: 1.8;
}

.bt-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  flex: 0 0 auto;
  max-width: 300px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bt-legend li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--pt-slate);
  font-size: 12.5px;
  font-weight: 600;
}

.bt-legend span {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--bt-c);
}

.bt-month-strip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.bt-month {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 4px 14px;
  overflow: hidden;
  border: 1px solid rgba(10, 26, 47, 0.08);
  border-radius: 16px;
  background: #fff;
  color: var(--pt-ink);
  cursor: pointer;
  transition: transform 0.3s var(--pt-ease), box-shadow 0.3s var(--pt-ease), background 0.3s var(--pt-ease);
}

.bt-month-bar {
  align-self: stretch;
  height: 6px;
  margin-bottom: 10px;
  background: var(--bt-c);
}

.bt-month strong {
  font-size: 15px;
  font-weight: 800;
}

.bt-month small {
  color: var(--pt-slate);
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
}

.bt-month em {
  margin-top: 4px;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--pt-gold);
  color: var(--pt-ink);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.bt-month:hover {
  transform: translateY(-3px);
  box-shadow: var(--pt-shadow-sm);
}

.bt-month.is-active {
  background: var(--pt-ink);
  border-color: var(--pt-ink);
  color: #fff;
  box-shadow: var(--pt-shadow-md);
}

.bt-month.is-active small {
  color: rgba(255, 255, 255, 0.7);
}

.bt-month-panel {
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  gap: 30px;
  align-items: center;
  padding: 30px;
  border-radius: var(--pt-radius-lg);
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.07);
  border-left: 6px solid var(--bt-c);
  box-shadow: var(--pt-shadow-sm);
}

.bt-month-big span {
  display: block;
  color: color-mix(in srgb, var(--bt-c) 35%, transparent);
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
}

.bt-month-big strong {
  color: var(--pt-ink);
  font-size: 24px;
  font-weight: 800;
}

.bt-month-copy h4 {
  margin: 10px 0 8px;
  color: var(--pt-ink);
  font-size: 20px;
  font-weight: 800;
}

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

.bt-month-facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.bt-month-facts > div {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f5f8fb;
}

.bt-month-facts dt {
  margin-bottom: 3px;
  color: var(--pt-slate);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.bt-month-facts dt i {
  margin-right: 4px;
  color: var(--pt-gold-dark);
}

.bt-month-facts dd {
  margin: 0;
  color: var(--pt-ink);
  font-size: 15px;
  font-weight: 700;
}

/* Table (collapsible) */
.bt-table-wrap {
  margin-top: 18px;
  border-radius: var(--pt-radius-md);
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.07);
}

.bt-table-wrap summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  color: var(--pt-ink);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.bt-table-wrap summary::-webkit-details-marker {
  display: none;
}

.bt-table-wrap summary i {
  transition: transform 0.3s var(--pt-ease);
}

.bt-table-wrap[open] summary i {
  transform: rotate(180deg);
}

.bt-table-scroll {
  overflow-x: auto;
  padding: 0 22px 20px;
}

.bt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.bt-table th,
.bt-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(10, 26, 47, 0.07);
  text-align: left;
}

.bt-table thead th {
  color: var(--pt-slate);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.bt-table tbody th {
  color: var(--pt-ink);
  font-weight: 700;
  white-space: nowrap;
}

.bt-table tbody th span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--bt-c);
}

.bt-table td {
  color: var(--pt-slate);
}

.bt-table tbody tr:last-child > * {
  border-bottom: 0;
}

/* ---- CTA ---- */
.bt-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  border-radius: var(--pt-radius-lg);
  background: linear-gradient(120deg, var(--pt-gold-light), var(--pt-gold));
  box-shadow: var(--pt-shadow-gold);
}

.bt-cta-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bt-cta-icon {
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 50%;
  background: var(--pt-ink);
  color: var(--pt-gold-light);
  font-size: 20px;
}

.bt-cta p {
  margin: 0;
  color: var(--pt-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.bt .bt-cta-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--pt-radius-pill);
  background: var(--pt-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s var(--pt-ease), background 0.3s var(--pt-ease);
}

.bt .bt-cta-btn:hover,
.bt .bt-cta-btn:focus {
  background: var(--pt-navy-700);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Responsive ---- */
@media (max-width: 1199px) {
  .bt-season-copy {
    grid-template-columns: 1fr;
  }

  .bt-month-panel {
    grid-template-columns: 160px 1fr;
  }

  .bt-month-facts {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .bt-windows {
    grid-template-columns: repeat(2, 1fr);
  }

  .bt-seasons {
    padding: 36px 28px;
  }

  .bt-season-panel {
    grid-template-columns: 1fr;
  }

  .bt-months-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .bt-legend {
    max-width: none;
  }

  .bt-month-strip {
    grid-template-columns: repeat(6, 1fr);
  }
}

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

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

  .bt-seasons {
    padding: 28px 16px;
    border-radius: 26px;
  }

  .bt-season-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .bt-season-tabs::-webkit-scrollbar {
    display: none;
  }

  .bt-season-tab {
    flex: 0 0 auto;
  }

  .bt-season-copy {
    grid-template-columns: 1fr;
  }

  .bt-season-copy > div,
  .bt-season-aside {
    padding: 20px;
  }

  .bt-month-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .bt-month-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }

  .bt-month-big {
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .bt-month-big span {
    font-size: 40px;
  }

  .bt-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }

  .bt-cta p {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .bt-windows {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bt-season-panel.is-active,
  .bt-month-panel.is-active,
  .bt-window,
  .bt-month {
    animation: none;
    transition: none;
  }
}
