/* ==========================================================================
   corridor.css
   Components for the Onward corridor package page type (PATTERNS.md section 3).
   Loaded only on corridor pages. Inherits the site's existing tokens
   (--navy, --gold, --blue, --gray-*, --off-white) from the page stylesheet.
   ========================================================================== */

/* ---------- section intro ---------- */
.section-desc {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-top: 12px;
}

/* ---------- 02 document table ---------- */
.doc-table {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.doc-row {
  display: grid;
  grid-template-columns:
    minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1.2fr)
    minmax(0, 0.9fr);
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-200);
  align-items: start;
  font-size: 14px;
  color: var(--gray-800);
}
.doc-row:last-child {
  border-bottom: 0;
}
.doc-head {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.doc-row strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}
.doc-row em {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}
.doc-row .ours,
.doc-row .yours {
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}
.doc-row .ours {
  background: rgba(200, 150, 62, 0.12);
  color: var(--gold);
}
.doc-row .yours {
  background: var(--gray-100);
  color: var(--gray-600);
}
.doc-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---------- 03 where people get stuck ---------- */
.stuck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.stuck-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 28px;
}
.stuck-n {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.stuck-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.stuck-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---------- 04 what we handle ---------- */
.handled-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.handled {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 20px;
}
.handled h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.handled p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---------- 05 included / not included ---------- */
.incl-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.incl {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 32px;
}
.incl h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
}
.incl.in {
  border-top: 4px solid var(--gold);
}
.incl.out {
  border-top: 4px solid var(--gray-400);
}
.incl.in h3 {
  color: var(--navy);
}
.incl.out h3 {
  color: var(--gray-600);
}
.incl ul {
  list-style: none;
}
.incl li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--gray-800);
  line-height: 1.6;
}
.incl.in li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.incl.out li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--gray-400);
}
.incl-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
  font-style: italic;
}

/* ---------- 07 pricing ---------- */
.price-box {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 36px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.price-amt {
  font-size: 60px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.price-lbl {
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 8px;
  line-height: 1.5;
}
.price-list {
  list-style: none;
}
.price-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 15px;
  color: var(--gray-800);
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.price-add {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}
.price-add strong {
  color: var(--navy);
}
.btn-row-c {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ---------- 08 comparison ---------- */
.cmp {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.cmp-col {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 32px;
}
.cmp-col h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.cmp-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 15px;
  color: var(--gray-800);
}
.cmp-row:last-child {
  border-bottom: 0;
}
.cmp-row span:last-child {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.cmp-tot {
  border-top: 2px solid var(--navy);
  margin-top: 6px;
  font-weight: 700;
}
.cmp-hi {
  background: var(--navy);
  border-color: var(--navy);
}
.cmp-hi h3 {
  color: var(--gold-light);
}
.cmp-hi p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.cmp-hi p:last-child {
  margin-bottom: 0;
}

/* ---------- 09 rejection ---------- */
.reject {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 32px;
  max-width: 820px;
}
.reject p {
  font-size: 15px;
  color: var(--gray-800);
  line-height: 1.75;
  margin-bottom: 14px;
}
.reject p:last-child {
  margin-bottom: 0;
}
.reject strong {
  color: var(--navy);
}
.reject-note {
  font-size: 13px !important;
  color: var(--gray-600) !important;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}

/* ---------- 11 related corridors ---------- */
.rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.rel {
  display: block;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 18px 22px;
  text-decoration: none;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.rel:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .doc-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
  }
  .doc-head {
    display: none;
  }
  .doc-row > span:first-child {
    grid-column: 1 / -1;
  }
  .price-box {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }
  .price-amt {
    font-size: 48px;
  }
}
@media (max-width: 560px) {
  .doc-row {
    grid-template-columns: 1fr;
  }
  .stuck-card,
  .incl,
  .cmp-col,
  .reject {
    padding: 22px;
  }
}
