/* ===== COUNSELING PAGE STYLES ===== */

/* Active nav link */
.nav-active { color: var(--black) !important; font-weight: 500 !important; }

/* Inline text link (e.g. Adrian Baek) */
.cc-inline-link {
  color: var(--green); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid rgba(0,103,75,.3); transition: border-color .2s, color .2s;
}
.cc-inline-link:hover { color: var(--green-dark); border-bottom-color: var(--green-dark); }

/* DIFFERENTIATORS */
.cc-diff { padding: 80px 2rem; background: var(--white); }
.cc-diff-inner { max-width: 1000px; margin: 0 auto; }
.cc-diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
/* Staggered offset — second row shifted right */
.cc-diff-card:nth-child(n+4) { transform: translateX(40px); }

.cc-diff-card {
  border: 1px solid var(--border); border-radius: var(--r); padding: 2rem 2rem 2rem 2.25rem;
  background: var(--white); position: relative; overflow: hidden;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  border-left: 3px solid transparent;
  counter-increment: diffcard;
}
.cc-diff-card:nth-child(n+4):hover { transform: translateX(40px) translateY(-2px); }
.cc-diff-card:nth-child(-n+3):hover { transform: translateY(-2px); }
.cc-diff-card:hover {
  box-shadow: 0 8px 28px rgba(0,103,75,.1);
  border-left-color: var(--green);
}

/* Watermark number */
.cc-diff-card::after {
  content: "0" counter(diffcard);
  position: absolute; top: 12px; right: 16px;
  font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 600;
  color: var(--green); opacity: .12; line-height: 1; pointer-events: none;
}

/* Icon hover animation */
.cc-diff-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--green-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  margin-bottom: 1.25rem; transition: transform .4s ease, background .3s;
}
.cc-diff-card:hover .cc-diff-icon { transform: scale(1.15) rotate(-8deg); background: var(--green-mid); }

.cc-diff-card h4 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 500; color: var(--black); margin-bottom: .5rem; }
.cc-diff-card p { font-size: .875rem; font-weight: 300; color: var(--muted); line-height: 1.7; }

/* START EARLY — ONGOING ADVISING */
.cc-early { padding: 80px 2rem; background: var(--black); }
.cc-early-inner { max-width: 680px; margin: 0 auto; }
.cc-early .slabel { color: rgba(255,255,255,.4); }
.cc-early .stitle { color: var(--white); }
.cc-early-content p { font-size: .95rem; font-weight: 300; color: rgba(255,255,255,.6); line-height: 1.8; margin-bottom: 1.5rem; }
.cc-early-list { list-style: none; margin-bottom: 2rem; }
.cc-early-list li {
  font-size: .875rem; color: rgba(255,255,255,.8); padding: .5rem 0;
  display: flex; align-items: center; gap: .6rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cc-early-list li:last-child { border-bottom: none; }
.cc-early-list li::before { content: ''; width: 5px; height: 5px; background: var(--green); border-radius: 50%; flex-shrink: 0; }
.cc-early-price {
  font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 600;
  color: var(--white); line-height: 1; margin-bottom: 1.5rem;
}
.cc-early-price span { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,.4); }

/* PROCESS — VERTICAL TIMELINE */
.cc-process { background: var(--green); padding: 80px 2rem; }
.cc-process-inner { max-width: 900px; margin: 0 auto; }
.cc-process .slabel { color: rgba(255,255,255,.4); }
.cc-process .stitle { color: var(--white); }
.cc-process .ssub { color: rgba(255,255,255,.5); }

.tl { margin-top: 3rem; position: relative; }

.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; margin-bottom: 0; }
.tl-item-last .tl-rail { padding-bottom: 0; }

/* Rail — icon + vertical line */
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0; position: relative; z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.tl-line {
  width: 2px; flex: 1; background: rgba(255,255,255,.2);
  margin-top: 0; margin-bottom: 0;
}

/* Card */
.tl-card {
  background: var(--white); border-radius: var(--r); padding: 2rem 2rem 1.75rem;
  margin-bottom: 1.5rem; position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transition: box-shadow .3s, transform .3s;
}
.tl-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.12); transform: translateY(-2px); }
.tl-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  border-radius: var(--r) var(--r) 0 0;
}

.tl-badge {
  display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); background: var(--green-light); padding: 4px 12px; border-radius: 20px; margin-bottom: .75rem;
}
.tl-badge-final { background: var(--green); color: var(--white); }

.tl-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 500; color: var(--black); margin-bottom: .5rem; }
.tl-desc { font-size: .9rem; font-weight: 300; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }

.tl-details { display: grid; gap: 0; }
.tl-detail {
  display: grid; grid-template-columns: 12px 1fr; gap: .75rem; align-items: baseline;
  padding: .6rem 0; border-bottom: 1px solid var(--border);
}
.tl-detail:last-child { border-bottom: none; }
.tl-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; margin-top: .35rem; }
.tl-detail strong { display: block; font-size: .85rem; font-weight: 500; color: var(--black); margin-bottom: .15rem; }
.tl-detail span { font-size: .82rem; font-weight: 300; color: var(--muted); line-height: 1.6; }

/* TRACK RECORD */
.cc-record { padding: 80px 2rem; background: var(--white); }
.cc-record-inner { max-width: 900px; margin: 0 auto; }

.cc-record-group { margin-bottom: 2.5rem; }
.cc-record-group:last-child { margin-bottom: 0; }
.cc-record-label {
  font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border);
}
.cc-record-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.cc-school {
  display: flex; align-items: center; gap: .6rem;
  background: var(--off); border: 1px solid var(--border);
  border-radius: 8px; padding: .65rem 1.1rem;
  transition: box-shadow .2s, transform .2s;
}
.cc-school:hover { box-shadow: 0 4px 16px rgba(0,103,75,.08); transform: translateY(-1px); }
.cc-school-logo { height: 28px; width: 28px; object-fit: contain; flex-shrink: 0; }
.cc-school-count {
  font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 600;
  color: var(--green); line-height: 1; min-width: 28px;
}
.cc-school-name { font-size: .85rem; font-weight: 400; color: var(--muted); }

/* MEET QUEST */
.cc-counselor { padding: 80px 2rem; background: var(--white); }
.cc-counselor-inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: start; }
.cc-counselor-photo img { width: 100%; border-radius: var(--r); object-fit: cover; aspect-ratio: 1; }
.cc-counselor-content p { font-size: .95rem; font-weight: 300; color: var(--muted); line-height: 1.8; margin-bottom: 1.25rem; }
.cc-counselor-content p:last-child { margin-bottom: 0; }

/* PRICING */
.cc-pricing { padding: 80px 2rem; background: var(--off); }
.cc-pricing-inner { max-width: 1000px; margin: 0 auto; }

.cc-pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; max-width: 760px; margin-left: auto; margin-right: auto; }

.cc-price-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
  padding: 2.5rem 2rem; position: relative; display: flex; flex-direction: column;
}
.cc-price-featured { border-color: var(--green); box-shadow: 0 4px 24px rgba(0,103,75,.1); }
.cc-price-featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green); border-radius: var(--r) var(--r) 0 0; }

.cc-price-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: .65rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em;
  background: var(--green); color: var(--white); padding: 4px 10px; border-radius: 4px;
}

.cc-price-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 500; color: var(--black); margin-bottom: .75rem; }
.cc-price-amount { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 600; color: var(--green); line-height: 1; margin-bottom: 1rem; }
.cc-price-amount span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.cc-price-desc { font-size: .875rem; font-weight: 300; color: var(--muted); line-height: 1.6; margin-bottom: 1.5rem; }

.cc-price-card ul { list-style: none; margin-bottom: 1.5rem; flex-grow: 1; }
.cc-price-card li {
  font-size: .84rem; color: var(--black); padding: .4rem 0;
  display: flex; align-items: center; gap: .5rem;
}
.cc-price-card li::before { content: ''; width: 5px; height: 5px; background: var(--green); border-radius: 50%; flex-shrink: 0; }

.cc-price-note { font-size: .78rem; color: var(--muted); font-style: italic; margin-bottom: 1.25rem; }
.cc-price-btn { display: block; text-align: center; text-decoration: none; width: 100%; }

/* COLLAPSIBLE TIMELINE */
.tl-card .tl-desc,
.tl-card .tl-details { max-height: 600px; overflow: hidden; transition: max-height .4s ease, opacity .3s ease; opacity: 1; }
.tl-card.tl-collapsed .tl-desc,
.tl-card.tl-collapsed .tl-details { max-height: 0; opacity: 0; margin-bottom: 0; }
.tl-chevron {
  display: inline-block; margin-left: .5rem; font-size: .7rem; transition: transform .3s;
  vertical-align: middle;
}
.tl-chevron::after { content: '\25BC'; }
.tl-collapsed .tl-chevron { transform: rotate(-90deg); }

/* HOVER ANIMATIONS ON SCHOOL BADGES */
.cc-school {
  transition: box-shadow .25s, transform .25s, background .25s;
}
.cc-school:hover {
  box-shadow: 0 6px 20px rgba(0,103,75,.12);
  transform: translateY(-3px) scale(1.03);
  background: var(--white);
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger reveal for grid items */
.cc-diff-card.reveal:nth-child(2) { transition-delay: .1s; }
.cc-diff-card.reveal:nth-child(3) { transition-delay: .2s; }
.cc-diff-card.reveal:nth-child(4) { transition-delay: .15s; }
.cc-diff-card.reveal:nth-child(5) { transition-delay: .25s; }
.cc-diff-card.reveal:nth-child(6) { transition-delay: .3s; }
.tl-item.reveal:nth-child(2) { transition-delay: .1s; }
.tl-item.reveal:nth-child(3) { transition-delay: .2s; }
.tl-item.reveal:nth-child(4) { transition-delay: .3s; }
.tl-item.reveal:nth-child(5) { transition-delay: .4s; }

/* COMPARISON TABLE */
.cc-compare { padding: 80px 2rem; background: var(--off); }
.cc-compare-inner { max-width: 900px; margin: 0 auto; }
.cc-compare-table { margin-top: 3rem; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.cc-compare-row {
  display: grid; grid-template-columns: 180px 1fr 1fr; gap: 0;
}
.cc-compare-row > div { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.cc-compare-row:last-child > div { border-bottom: none; }
.cc-compare-header > div { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cc-compare-header .cc-compare-feature { background: var(--white); color: var(--muted); }
.cc-compare-header .cc-compare-them { background: #f5f5f5; color: var(--muted); border-bottom-color: #e0e0e0; }
.cc-compare-header .cc-compare-us { background: var(--green); color: var(--white); border-bottom-color: rgba(255,255,255,.15); }
.cc-compare-feature {
  font-size: .82rem; font-weight: 500; color: var(--black); background: var(--white);
  display: flex; align-items: center;
}
.cc-compare-them {
  font-size: .84rem; font-weight: 300; color: #888; background: #fafafa;
  display: flex; align-items: center; border-left: 1px solid var(--border);
}
.cc-compare-us {
  font-size: .84rem; font-weight: 400; color: var(--green-dark); background: var(--green-light);
  display: flex; align-items: center; border-left: 1px solid var(--green-mid);
}

/* TRANSFER ADVISING */
.cc-transfer { padding: 80px 2rem; background: var(--off); border-top: 1px solid var(--border); }
.cc-transfer-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 340px; gap: 4rem; align-items: start;
}
.cc-transfer-content p { font-size: .925rem; font-weight: 300; color: var(--muted); line-height: 1.75; margin-bottom: 1rem; }
.cc-transfer-list { list-style: none; margin: 1.5rem 0 2rem; }
.cc-transfer-list li {
  font-size: .9rem; color: var(--black); padding: .55rem 0;
  display: flex; align-items: baseline; gap: .65rem;
  border-bottom: 1px solid var(--border);
}
.cc-transfer-list li:last-child { border-bottom: none; }
.cc-transfer-list li::before { content: '\2713'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.cc-transfer-card {
  background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--green);
  border-radius: var(--r); padding: 2rem;
  position: sticky; top: 2rem;
  box-shadow: 0 4px 20px rgba(0,103,75,.06);
}
.cc-transfer-card-label {
  font-size: .7rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green); margin-bottom: 1rem;
}
.cc-transfer-who { list-style: none; margin: 0 0 .5rem; }
.cc-transfer-who li {
  font-size: .875rem; color: var(--black); padding: .45rem 0;
  display: flex; align-items: baseline; gap: .5rem;
  border-bottom: 1px solid var(--border);
}
.cc-transfer-who li:last-child { border-bottom: none; }
.cc-transfer-who li::before { content: '\203A'; color: var(--green); font-weight: 600; flex-shrink: 0; }
.cc-transfer-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.cc-transfer-note { font-size: .82rem; font-weight: 300; color: var(--muted); line-height: 1.65; margin-bottom: 1.25rem; }
.cc-transfer-cta { display: inline-block; font-size: .875rem; font-weight: 500; color: var(--green); text-decoration: none; transition: color .2s; }
.cc-transfer-cta:hover { color: var(--green-dark); }

/* RESPONSIVE */
@media (max-width: 768px) {
  /* Transfer advising */
  .cc-transfer { padding: 48px 1.5rem; }
  .cc-transfer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cc-transfer-card { position: static; }
  /* Start Early */
  .cc-early { padding: 48px 1.5rem; }
  .cc-early-price { font-size: 2rem; }

  /* Differentiators */
  .cc-diff { padding: 48px 1.5rem; }
  .cc-diff-grid { grid-template-columns: 1fr; margin-top: 2rem; }
  .cc-diff-card:nth-child(n+4) { transform: none; }
  .cc-diff-card:nth-child(n+4):hover { transform: translateY(-2px); }

  /* Timeline */
  .cc-process { padding: 48px 1rem; }
  .tl-item { grid-template-columns: 36px 1fr; gap: .75rem; }
  .tl-icon { width: 36px; height: 36px; font-size: .9rem; }
  .tl-card { padding: 1.25rem; }
  .tl-card h3 { font-size: 1.1rem; }

  /* Comparison — card layout on mobile */
  .cc-compare { padding: 48px 1.5rem; }
  .cc-compare-table { border: none; box-shadow: none; }
  .cc-compare-row { grid-template-columns: 1fr; border: 1px solid var(--border); border-radius: var(--r); margin-bottom: .75rem; overflow: hidden; }
  .cc-compare-row > div { border-bottom: none; }
  .cc-compare-header { display: none; }
  .cc-compare-feature { font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; background: var(--off); padding: .75rem 1rem; border-bottom: 1px solid var(--border) !important; }
  .cc-compare-them { padding: .75rem 1rem; font-size: .82rem; color: #999; border-left: 3px solid #ddd; }
  .cc-compare-them::before { content: none; }
  .cc-compare-us { padding: .75rem 1rem; font-size: .82rem; border-left: 3px solid var(--green); background: var(--green-light); }
  .cc-compare-us::before { content: none; }

  /* Track record */
  .cc-record { padding: 48px 1.5rem; }
  .cc-record-grid { gap: .5rem; }
  .cc-school { padding: .5rem .75rem; }
  .cc-school-count { font-size: 1.1rem; min-width: 20px; }
  .cc-school-logo { height: 22px; width: 22px; }

  /* Meet Quest */
  .cc-counselor { padding: 48px 1.5rem; }
  .cc-counselor-inner { grid-template-columns: 1fr; text-align: center; }
  .cc-counselor-photo img { max-width: 200px; margin: 0 auto; }

  /* Pricing */
  .cc-pricing { padding: 48px 1.5rem; }
  .cc-pricing-grid { grid-template-columns: 1fr; max-width: 100%; }
}
