/* ============================================================
   TABULA RASA — phase-pages.css
   Shared styles for service sub-pages (Study Abroad, Work & PR,
   Vacation Getaways, General Services)
   ============================================================ */

/* ── FULL-BLEED SPLIT HERO ──────────────────────────────────── */
.page-hero.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 72px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero-stripe {
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  z-index: 3;
}
.hero-radial {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 30% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none; z-index: 1;
}
.hero-left {
  padding: 5rem 4rem 5rem 5rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.hero-right {
  position: relative; overflow: hidden;
}
.hero-right img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; filter: brightness(0.75);
}
.hero-right::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11,31,58,0.6) 0%, transparent 50%);
}

/* hero content */
.page-hero .tag-line { margin-bottom: 1rem; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 700; color: var(--white); line-height: 1.12;
  margin-bottom: 1.4rem;
}
.page-hero h1 em { color: var(--gold); font-style: italic; display: block; }
.hero-sub {
  font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.65);
  font-weight: 300; max-width: 52ch; margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* Phase index inside hero */
.hero-phase-index { display: flex; flex-direction: column; gap: 0; margin-top: 1rem; }
.hero-phase-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-bottom: none;
  background: rgba(255,255,255,0.03);
  transition: background 0.2s; text-decoration: none;
}
.hero-phase-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
.hero-phase-item:hover { background: rgba(201,168,76,0.08); }
.phase-num-sm {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: rgba(201,168,76,0.4);
  min-width: 2rem; flex-shrink: 0;
}
.phase-item-title { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 0.15rem; }
.phase-item-sub { font-size: 0.7rem; color: rgba(255,255,255,0.4); font-weight: 300; }
.phase-arrow { color: var(--gold); margin-left: auto; flex-shrink: 0; opacity: 0; transition: opacity 0.2s; }
.hero-phase-item:hover .phase-arrow { opacity: 1; }

/* ── INTRO BAND ─────────────────────────────────────────────── */
.intro-band {
  background: var(--navy-mid);
  padding: 2rem 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
  border-bottom: 3px solid var(--gold);
}
.intro-band p {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-style: italic; color: rgba(255,255,255,0.7);
  line-height: 1.6; flex: 1;
}
.intro-band a {
  color: var(--gold); text-decoration: none; white-space: nowrap;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; transition: color 0.2s; flex-shrink: 0;
}
.intro-band a:hover { color: var(--gold-lt); }

/* ── SECTION HEADER ─────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 4rem; padding: 0 2.5rem; }
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 700;
  color: var(--navy); margin: 0.8rem 0 1rem; line-height: 1.2;
}
.section-header h2 em { color: var(--gold); font-style: italic; }
.section-header p { font-size: 0.97rem; color: var(--text-soft); font-weight: 300; line-height: 1.75; max-width: 58ch; margin: 0 auto; }

/* ── PHASES SECTION ─────────────────────────────────────────── */
.phases-section { background: var(--off-white); padding: 7rem 0; }

/* ── PHASE ROWS (alternating) ───────────────────────────────── */
.phase-row {
  display: grid; grid-template-columns: 360px 1fr;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.phase-row:last-child { border-bottom: 1px solid var(--border); }
.phase-row.reverse { direction: rtl; }
.phase-row.reverse > * { direction: ltr; }
.phase-row:nth-child(even) { background: var(--off-white); }

/* Left number column */
.phase-num-col {
  padding: 3.5rem 3rem;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.5rem;
  background: inherit;
}
.phase-row.reverse .phase-num-col { border-right: none; border-left: 1px solid var(--border); }
.phase-big-num {
  font-family: 'Playfair Display', serif;
  font-size: 5rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(201,168,76,0.25);
  user-select: none; margin-bottom: 0.25rem;
}
.phase-label {
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.phase-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--navy);
  line-height: 1.3; margin: 0.4rem 0 0.6rem;
}
.phase-tagline {
  font-size: 0.85rem; color: var(--text-soft); font-weight: 300;
  line-height: 1.55; font-style: italic; flex: 1;
}
.phase-cta-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid rgba(201,168,76,0.3); padding-bottom: 0.2rem;
  transition: gap 0.2s; align-self: flex-start; margin-top: auto;
}
.phase-cta-link:hover { gap: 0.75rem; border-color: var(--gold); }

/* Right content column */
.phase-content-col { padding: 3.5rem; display: flex; flex-direction: column; gap: 1.8rem; }

/* Problem box */
.problem-box {
  background: rgba(192,74,16,0.06);
  border-left: 3px solid rgba(192,74,16,0.5);
  padding: 1.2rem 1.5rem;
}
.problem-box-label {
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(192,74,16,0.7); font-weight: 700; margin-bottom: 0.5rem;
}
.problem-box p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.65; font-weight: 300; margin: 0; }

/* Offers */
.offers-label, .offers-title {
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy); font-weight: 700;
}
.offer-list {
  list-style: none; display: flex; flex-direction: column; gap: 0.85rem;
  padding: 0; margin: 0.5rem 0 0;
}
.offer-list li {
  font-size: 0.88rem; color: var(--text-soft); line-height: 1.65; font-weight: 300;
  padding-left: 1.2rem; position: relative;
}
.offer-list li::before {
  content: '→'; position: absolute; left: 0; color: var(--gold); font-size: 0.75rem;
}
.offer-list li strong { color: var(--navy); font-weight: 600; }

/* Gains */
.gains-box {
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 1.4rem 1.5rem;
}
.gains-label, .gains-title {
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 0.8rem;
}
.gains-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.gains-list li {
  font-size: 0.87rem; color: var(--text); font-weight: 400;
  padding-left: 1.2rem; position: relative; line-height: 1.5;
}
.gains-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; font-size: 0.75rem; }

/* ── CTA BAND (service pages) ───────────────────────────────── */
.cta-band {
  background: var(--navy); padding: 6rem 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; right: -8rem; top: 50%; transform: translateY(-50%);
  width: 36rem; height: 36rem; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.07); pointer-events: none;
}
.cta-band-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: 1fr auto; gap: 5rem; align-items: center;
  position: relative; z-index: 1;
}
.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 3rem); font-weight: 700; color: var(--white); line-height: 1.2;
  margin: 0.5rem 0 1rem;
}
.cta-band h2 em { color: var(--gold); font-style: italic; }
.cta-band p { font-size: 0.97rem; color: rgba(255,255,255,0.55); font-weight: 300; line-height: 1.7; max-width: 52ch; }
.cta-actions { display: flex; flex-direction: column; gap: 1rem; min-width: 220px; flex-shrink: 0; }
.cta-btn-gold {
  background: var(--gold); color: var(--navy);
  padding: 1rem 2.2rem; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; font-weight: 700; text-align: center; transition: background 0.2s;
}
.cta-btn-gold:hover { background: var(--gold-lt); }
.cta-btn-ghost {
  background: transparent; color: rgba(255,255,255,0.7);
  padding: 1rem 2.2rem; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2); text-align: center; transition: all 0.2s;
}
.cta-btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ── GENERAL SERVICES SPECIFIC ──────────────────────────────── */
.gs-hero-split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 100vh; padding-top: 72px;
  background: var(--navy); overflow: hidden; position: relative;
}
.gs-intro { background: var(--off-white); padding: 5rem 0; }
.gs-intro-inner { max-width: 900px; margin: 0 auto; padding: 0 2.5rem; }
.gs-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700; color: var(--navy); margin: 1rem 0 1.5rem;
}
.gs-intro p { font-size: 0.97rem; line-height: 1.85; color: var(--text-soft); font-weight: 300; margin-bottom: 1.2rem; }
.gs-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 7rem 0; }
.gs-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 2.5rem 2rem; position: relative; overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.gs-card:hover { box-shadow: 0 12px 40px rgba(11,31,58,0.1); transform: translateY(-3px); }
.gs-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.gs-card:hover::after { transform: scaleX(1); }
.gs-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; font-weight: 700; color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.2); line-height: 1; margin-bottom: 1rem;
}
.gs-card h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.8rem; line-height: 1.3; }
.gs-card p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.7; font-weight: 300; margin-bottom: 1.4rem; }
.gs-card-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.gs-card-list li { font-size: 0.83rem; color: var(--text-soft); padding-left: 1rem; position: relative; line-height: 1.5; }
.gs-card-list li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-size: 0.7rem; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-hero.split { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { min-height: 320px; }
  .hero-left { padding: 4rem 2.5rem; }
  .phase-row { grid-template-columns: 1fr; }
  .phase-row.reverse { direction: ltr; }
  .phase-num-col { border-right: none; border-bottom: 1px solid var(--border); padding: 2.5rem; }
  .phase-row.reverse .phase-num-col { border-left: none; border-bottom: 1px solid var(--border); }
  .phase-content-col { padding: 2.5rem; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .gs-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-left { padding: 3rem 1.5rem; }
  .intro-band { flex-direction: column; gap: 1rem; padding: 1.8rem; }
  .phase-num-col, .phase-content-col { padding: 2rem 1.5rem; }
  .gs-services-grid { grid-template-columns: 1fr; }
}
/* Note: phase-service.css is loaded by functions.php for service sub-pages */
