/* =========================================================
   FORESTINSIGHTS PRICING PAGE
   Cleaned page-specific styles.
   Relies on about_shared.css and about_forestinsights.css for
   global header, ambient effects, and contact modal styles.
   ========================================================= */

body.forestinsights-pricing-page {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  color: var(--dwell-text, #f4fbf6);
  background:
    radial-gradient(circle at 85% 18%, rgba(56, 133, 89, 0.32), transparent 31rem),
    radial-gradient(circle at 10% 100%, rgba(26, 102, 76, 0.32), transparent 36rem),
    linear-gradient(145deg, #021411 0%, #031c17 44%, #03110f 100%) !important;
}

body.forestinsights-pricing-page header {
  background: rgba(2, 15, 13, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.forestinsights-pricing-page-main {
  min-height: calc(100vh - 56px);
  background: transparent;
}

.pricing-shell {
  width: min(1280px, calc(100% - clamp(2rem, 8vw, 8rem)));
  margin: 0 auto;
}

/* HERO */

.pricing-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2rem, 4vw, 3.5rem) 0 1rem;
  overflow: hidden;
}

.pricing-hero-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 470px;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 19, 16, 0.98), rgba(2, 26, 21, 0.72), rgba(2, 22, 18, 0.5)),
    url("/static/project_thumbnails/indufor_background.png") center / cover no-repeat;
}

.pricing-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(120,217,139,0.16), transparent 22rem),
    linear-gradient(180deg, transparent 0%, rgba(3,28,23,0.88) 88%, #031c17 100%);
}

.pricing-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 clamp(1.6rem, 3vw, 2.5rem);
  color: rgba(120,217,139,0.86);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.pricing-breadcrumb a:hover {
  text-decoration: underline;
}

.pricing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.pricing-title-block h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6.8vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.pricing-title-block h1 span,
.pricing-table strong span {
  color: #78d98b;
}

.pricing-title-block p {
  max-width: 520px;
  margin: 1.35rem 0 0;
  color: rgba(244,251,246,0.82);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.55;
}

/* SHARED CARDS / BUTTONS / ICONS */

.pricing-card {
  border: 1px solid rgba(151,219,174,0.22);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(4,54,44,0.66), rgba(3,26,22,0.92));
  box-shadow:
    0 24px 70px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.pricing-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 0;
  border-radius: 8px;
  padding: 0.72rem 1.15rem;
  background: linear-gradient(135deg, #5ebe70, #2f9657);
  color: #f8fff9;
  box-shadow: 0 12px 30px rgba(22,116,67,0.35);
  font: inherit;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.pricing-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.pricing-large-icon,
.pricing-icon,
.table-icon,
.pricing-feature-strip svg,
.pricing-notes-list svg {
  color: #78d98b;
}

.pricing-large-icon svg,
.pricing-icon svg,
.table-icon svg,
.pricing-feature-strip svg,
.pricing-notes-list svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-large-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(120,217,139,0.18), rgba(120,217,139,0.05));
  box-shadow: inset 0 0 0 1px rgba(120,217,139,0.18);
}

.pricing-large-icon svg {
  width: 48px;
  height: 48px;
}

.pricing-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(120,217,139,0.08);
}

.pricing-icon svg {
  width: 42px;
  height: 42px;
}

.pricing-eyebrow {
  margin: 0 0 0.65rem !important;
  color: #78d98b !important;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* SUMMARY CARDS */

.pricing-coverage-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1.35rem;
  padding: 1.55rem;
}

.pricing-coverage-card h2,
.pricing-notes-card h2,
.pricing-contact-panel h2 {
  margin: 0;
  color: #f4fbf6;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.pricing-coverage-card p,
.pricing-contact-panel p {
  margin: 0.55rem 0 1.1rem;
  color: rgba(244,251,246,0.76);
  line-height: 1.45;
}

.pricing-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.pricing-stat-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.25rem;
  min-height: 140px;
  padding: 1.55rem;
}

.pricing-stat-card:nth-child(1) .pricing-icon {
  border: 2px dashed rgba(120,217,139,0.72);
}

.pricing-stat-card strong {
  display: block;
  margin-bottom: 0.85rem;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pricing-stat-card p:not(.pricing-eyebrow) {
  margin: 0;
  color: rgba(244,251,246,0.78);
  line-height: 1.45;
}

/* TABLES */

.pricing-content {
  padding: 0 0 4rem;
}

.pricing-table-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pricing-table-card {
  padding: 0;
  overflow: hidden;
}

.pricing-table-card header {
  display: block;
  padding: 1.35rem 1.45rem 1rem;
  border-bottom: 1px solid rgba(151,219,174,0.14);
  background: linear-gradient(180deg, rgba(5,30,25,0.78), rgba(3,22,18,0.34));
}

.pricing-table-card header h2,
.pricing-table-card header h3 {
  margin: 0 0 0.35rem;
  color: #f4fbf6;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.pricing-table-card header p {
  max-width: none;
  margin: 0;
  text-align: left;
  color: rgba(244,251,246,0.72);
  line-height: 1.45;
}

.pricing-table-wrap {
  padding: 0 1.35rem 0.9rem;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.pricing-table th {
  padding: 1rem 0.85rem 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  color: #78d98b;
  font-size: 0.72rem;
  font-weight: 900;
  text-align: left;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pricing-table td {
  padding: 0.95rem 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.075);
  color: rgba(244,251,246,0.78);
  line-height: 1.35;
  vertical-align: middle;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-table tr:hover td {
  background: rgba(120,217,139,0.045);
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  width: 34%;
}

.pricing-table th:nth-child(2),
.pricing-table td:nth-child(2) {
  width: 44%;
}

.pricing-table th:last-child,
.pricing-table td:last-child {
  width: 22%;
  text-align: right;
  white-space: nowrap;
}

.pricing-product-cell {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.pricing-product-cell strong {
  display: block;
  color: #f4fbf6;
  line-height: 1.25;
}

.table-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 0;
}

.table-icon svg {
  width: 26px;
  height: 26px;
}

.pricing-table td:last-child strong {
  font-size: 1.05rem;
}

.included {
  color: #78d98b;
}

/* NOTES / CONTACT / FEATURE STRIP */

.pricing-notes-card {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.92fr);
  gap: 2rem;
  margin-top: 1.25rem;
  padding: 1.5rem 2rem;
}

.pricing-notes-list {
  padding-right: 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.pricing-notes-list h2,
.pricing-contact-panel h2 {
  color: #78d98b;
}

.pricing-notes-list ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.pricing-notes-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  align-items: start;
  color: rgba(244,251,246,0.82);
  line-height: 1.5;
}

.pricing-notes-list svg {
  width: 20px;
  height: 20px;
  fill: rgba(120,217,139,0.18);
  stroke-width: 2.4;
}

.pricing-contact-panel {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 1.35rem;
  align-items: center;
}

.pricing-contact-panel p {
  margin-bottom: 1rem;
}

.pricing-feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 1.25rem;
  padding: 1.1rem 1.35rem;
}

.pricing-feature-strip div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.35rem 1.25rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  color: rgba(244,251,246,0.82);
  line-height: 1.35;
}

.pricing-feature-strip div:last-child {
  border-right: 0;
}

.pricing-feature-strip svg {
  width: 42px;
  height: 42px;
}

/* COVERAGE MAP POPUP */

body.pricing-map-open {
  overflow: hidden !important;
}

.pricing-map-modal.hidden {
  display: none !important;
}

.pricing-map-modal:not(.hidden) {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  isolation: isolate;
}

.pricing-map-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pricing-map-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1180px, 94vw);
  max-height: 90vh;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  overflow: hidden;
  border: 1px solid rgba(151,219,174,0.22);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(4,54,44,0.92), rgba(3,26,22,0.98));
  box-shadow:
    0 30px 90px rgba(0,0,0,0.62),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.pricing-map-header {
  padding-right: 3.5rem;
  margin-bottom: 1.1rem;
}

.pricing-map-header h2 {
  margin: 0;
  color: #78d98b;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.pricing-map-header p:not(.pricing-eyebrow) {
  max-width: 760px;
  margin: 0.55rem 0 0;
  color: rgba(244,251,246,0.72);
  line-height: 1.55;
}

.pricing-map-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(120,217,139,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #f4fbf6;
  font-size: 1.45rem;
  cursor: pointer;
}

.pricing-map-close:hover {
  background: rgba(120,217,139,0.14);
}

.pricing-map-wrap {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(151,219,174,0.18);
  border-radius: 20px;
  background: #dfe8e1;
}

#pricingCoverageMap {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: min(64vh, 620px);
  min-height: 460px;
  background: #dfe8e1;
}

#pricingCoverageMap .mapboxgl-canvas {
  border-radius: 20px;
}

.pricing-map-legend {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  gap: 0.45rem;
  min-width: 150px;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(5, 8, 18, 0.92);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.6;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.pricing-map-legend strong {
  margin-bottom: 0.25rem;
}

.pricing-map-legend span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.legend-dot.available { background: #C6E2B2; }
.legend-dot.coming { background: #E0ECB3; }
.legend-dot.basket { background: #CDAA66; }

/* RESPONSIVE */

@media (max-width: 1100px) {
  .pricing-hero-grid,
  .pricing-table-grid,
  .pricing-notes-card {
    grid-template-columns: 1fr;
  }

  .pricing-stat-grid,
  .pricing-feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-notes-list {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-right: 0;
    padding-bottom: 1.5rem;
  }

  .pricing-feature-strip div:nth-child(2) {
    border-right: 0;
  }

  .pricing-feature-strip div:nth-child(n+3) {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.1rem;
  }
}

@media (max-width: 900px) {
  .pricing-table {
    min-width: 620px;
  }

  .pricing-map-panel {
    width: 96vw;
    max-height: 92vh;
  }

  #pricingCoverageMap {
    height: 56vh;
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .pricing-shell {
    width: min(100% - 2rem, 1280px);
  }

  .pricing-hero {
    padding-top: 1.5rem;
  }

  .pricing-stat-grid,
  .pricing-feature-strip {
    grid-template-columns: 1fr;
  }

  .pricing-coverage-card,
  .pricing-stat-card,
  .pricing-contact-panel {
    grid-template-columns: 1fr;
  }

  .pricing-feature-strip div {
    border-right: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .pricing-feature-strip div:first-child {
    border-top: 0;
  }
}
