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

/* ── HERO SPLIT ──────────────────────────────────────────── */
.page-hero.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  min-height: 80vh;
  align-items: stretch;
}
.hero-stripe {
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}
.hero-radial {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-left {
  padding: 160px 4rem 80px 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
  max-width: 680px;
}
.hero-right-stats {
  padding: 140px 2.5rem 80px 3rem;
  display: flex; flex-direction: column; gap: 1.2rem;
  position: relative; overflow: hidden;
  border-left: 1px solid rgba(255,255,255,0.06);
}
.hero-deco-letter {
  font-family: 'Playfair Display', serif;
  font-size: 14rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(201,168,76,0.06);
  position: absolute; right: -2rem; top: 50%; transform: translateY(-50%);
  user-select: none; pointer-events: none;
}
.hero-mini-stat {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  position: relative; z-index: 2;
}
.hero-mini-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--gold);
  line-height: 1; min-width: 4rem;
}
.hero-mini-label {
  font-size: 0.78rem; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 400;
}

/* ── SERVICE INTRO ───────────────────────────────────────── */
.service-intro-section { background: var(--white); padding: 8rem 0; }
.service-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center;
}
.service-intro-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem; font-weight: 700; color: var(--navy);
  line-height: 1.2; margin: 1rem 0 1.4rem;
}
.service-intro-copy p {
  font-size: 0.97rem; color: var(--text-soft); line-height: 1.85;
  font-weight: 300; margin-bottom: 1.2rem;
}
.service-intro-img { position: relative; }
.service-intro-img img {
  width: 100%; height: 500px; object-fit: cover; display: block;
  box-shadow: 0 24px 60px rgba(11,31,58,0.15);
}
.service-intro-img-frame {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 60%; height: 60%;
  border: 2px solid var(--gold); z-index: -1;
}

/* ── PHASES ──────────────────────────────────────────────── */
.phases-section { background: var(--off-white); padding: 8rem 0; }
.phases-header { text-align: center; margin-bottom: 5rem; }
.phases-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700; color: var(--navy); margin: 1rem 0;
}
.phases-header p {
  font-size: 0.97rem; color: var(--text-soft); max-width: 54ch;
  margin: 0 auto; font-weight: 300; line-height: 1.75;
}
.phases-list { display: flex; flex-direction: column; gap: 0; }
.phase-item {
  display: grid; grid-template-columns: 180px 1fr;
  border-top: 1px solid var(--border); background: var(--white);
  transition: box-shadow 0.25s;
}
.phase-item:last-child { border-bottom: 1px solid var(--border); }
.phase-item:hover { box-shadow: 0 8px 40px rgba(11,31,58,0.08); }
.phase-left {
  padding: 3.5rem 2.5rem;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.5rem;
  align-items: flex-start; position: relative;
}
.phase-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem; font-weight: 700; color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.3); line-height: 1;
}
.phase-label {
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.phase-connector {
  position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 0 4px var(--off-white);
}
.phase-item:hover .phase-connector { box-shadow: 0 0 0 4px var(--white); }
.phase-right { padding: 3.5rem; }
.phase-right h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700; color: var(--navy);
  margin-bottom: 0.6rem; line-height: 1.3;
}
.phase-tagline {
  font-size: 0.95rem; color: var(--text-soft);
  font-style: italic; font-weight: 300; margin-bottom: 1.8rem; line-height: 1.65;
}
.phase-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.phase-bullets li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9rem; color: var(--text-soft); font-weight: 300; line-height: 1.55;
}
.phase-bullets li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 0.45rem;
}

/* ── INCLUDES ────────────────────────────────────────────── */
.includes-section { background: var(--navy); padding: 7rem 0; }
.includes-header { text-align: center; margin-bottom: 4rem; }
.includes-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700; color: var(--white); margin: 1rem 0;
}
.includes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid rgba(255,255,255,0.08);
}
.include-card {
  padding: 2.8rem 2.2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative; transition: background 0.25s;
}
.include-card:nth-child(3n) { border-right: none; }
.include-card:nth-child(n+4) { border-bottom: none; }
.include-card:hover { background: rgba(201,168,76,0.05); }
.include-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.include-card:hover::before { transform: scaleX(1); }
.include-icon {
  width: 40px; height: 40px; margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.include-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; }
.include-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 600; color: var(--white);
  margin-bottom: 0.5rem; line-height: 1.3;
}
.include-card p { font-size: 0.84rem; color: rgba(255,255,255,0.5); line-height: 1.65; font-weight: 300; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-hero.split { grid-template-columns: 1fr; min-height: auto; }
  .hero-right-stats { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); padding: 3rem 2.5rem; flex-direction: row; flex-wrap: wrap; gap: 0.8rem; }
  .hero-mini-stat { flex: 1; min-width: 180px; }
  .hero-deco-letter { display: none; }
  .service-intro-grid { grid-template-columns: 1fr; gap: 4rem; }
  .service-intro-img { max-width: 560px; }
  .phase-item { grid-template-columns: 1fr; }
  .phase-left { border-right: none; border-bottom: 1px solid var(--border); padding: 2.5rem; flex-direction: row; align-items: center; gap: 1.5rem; }
  .phase-connector { display: none; }
  .phase-right { padding: 2.5rem; }
  .includes-grid { grid-template-columns: repeat(2, 1fr); }
  .include-card:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.08); }
  .include-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 768px) {
  .hero-left { padding: 120px 1.5rem 3rem; }
  .includes-grid { grid-template-columns: 1fr; }
  .include-card { border-right: none; }
}

/* ── OTHER SERVICES CROSS-SELL ───────────────────────────── */
/* Used at the bottom of each service sub-page */
.other-services { background: var(--navy); padding: 7rem 0; }
.other-services-header { text-align: center; margin-bottom: 3.5rem; }
.other-services-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem; font-weight: 700; color: var(--white); margin: 1rem 0;
}
.other-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border: 1px solid rgba(255,255,255,0.08);
}
.other-service-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-decoration: none; transition: background 0.25s; position: relative;
}
.other-service-card:last-child { border-right: none; }
.other-service-card:hover { background: rgba(201,168,76,0.05); }
.other-service-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;
}
.other-service-card:hover::after { transform: scaleX(1); }
.other-card-icon {
  width: 48px; height: 48px; background: rgba(201,168,76,0.1);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.2rem;
}
.other-card-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 2; }
.other-service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700; color: var(--white);
  margin-bottom: 0.7rem; line-height: 1.3;
}
.other-service-card p {
  font-size: 0.84rem; color: rgba(255,255,255,0.55);
  font-weight: 300; line-height: 1.65; margin-bottom: 1.5rem;
}
.other-card-link {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem; transition: gap 0.2s;
}
.other-service-card:hover .other-card-link { gap: 0.75rem; }

@media (max-width: 1024px) {
  .other-services-grid { grid-template-columns: 1fr; }
  .other-service-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .other-service-card:last-child { border-bottom: none; }
}
