/* ============================================================
   TABULA RASA TRAVEL CONSULTANCY — services.css
   ============================================================ */

/* ── HERO INDEX (services page specific) ────────────────────── */
.hero-geo {
  position: absolute; right: -8rem; top: 50%; transform: translateY(-50%);
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.07); pointer-events: none;
}
.hero-stripe-l {
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-index { display: flex; flex-direction: column; gap: 0; }
.hero-index-item {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  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-index-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
.hero-index-item:hover { background: rgba(201,168,76,0.08); }
.hero-index-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700; color: rgba(201,168,76,0.3);
  line-height: 1; min-width: 2rem; flex-shrink: 0;
}
.hero-index-text { flex: 1; }
.hero-index-title { font-size: 0.88rem; font-weight: 600; color: var(--white); line-height: 1.3; margin-bottom: 0.2rem; }
.hero-index-sub { font-size: 0.75rem; color: rgba(255,255,255,0.4); font-weight: 300; }
.hero-index-arrow { color: var(--gold); font-size: 0.9rem; flex-shrink: 0; opacity: 0; transition: opacity 0.2s; }
.hero-index-item:hover .hero-index-arrow { opacity: 1; }

/* ── SERVICE OVERVIEW CARDS ─────────────────────────────────── */
.services-overview { background: var(--off-white); padding: 7rem 0; }
.services-overview-header { text-align: center; margin-bottom: 4.5rem; }
.services-overview-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700;
  color: var(--navy); margin: 0.8rem 0 1rem;
}
.services-overview-header p { font-size: 0.97rem; color: var(--text-soft); font-weight: 300; line-height: 1.75; max-width: 62ch; margin: 0 auto; }
.service-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.service-card:hover { box-shadow: 0 16px 48px rgba(11,31,58,0.1); transform: translateY(-3px); }
.service-card.reverse { direction: rtl; }
.service-card.reverse > * { direction: ltr; }
.service-card-img { position: relative; overflow: hidden; min-height: 260px; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,31,58,0.45) 0%, transparent 60%);
}
.service-card-num {
  position: absolute; top: 1.2rem; left: 1.2rem;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 700;
  color: rgba(201,168,76,0.7); line-height: 1;
}
.service-card.reverse .service-card-num { left: auto; right: 1.2rem; }
.service-card-body { padding: 2.2rem 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.service-card-tag {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.7rem;
}
.service-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700; color: var(--navy);
  line-height: 1.3; margin-bottom: 0.9rem;
}
.service-card-body p { font-size: 0.86rem; color: var(--text-soft); line-height: 1.7; font-weight: 300; flex: 1; margin-bottom: 1.6rem; }
.service-learn-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; 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, border-color 0.2s;
}
.service-learn-more:hover { gap: 0.9rem; border-color: var(--gold); }

/* ── DEEP DIVE ALTERNATING ROWS ─────────────────────────────── */
.deep-dive { background: var(--white); padding: 7rem 0; }
.deep-dive-header { text-align: center; margin-bottom: 5rem; }
.deep-dive-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700;
  color: var(--navy); margin: 0.8rem 0 1rem;
}
.deep-dive-header p { font-size: 0.97rem; color: var(--text-soft); font-weight: 300; line-height: 1.75; max-width: 58ch; margin: 0 auto; }
.pillar-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
.pillar-row:last-of-type { border-bottom: 1px solid var(--border); }
.pillar-row.flip { direction: rtl; }
.pillar-row.flip > * { direction: ltr; }
.pillar-img { position: relative; overflow: hidden; min-height: 360px; }
.pillar-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.pillar-row:hover .pillar-img img { transform: scale(1.04); }
.pillar-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11,31,58,0.25) 0%, transparent 60%);
}
.pillar-row.flip .pillar-img-overlay { background: linear-gradient(to left, rgba(11,31,58,0.25) 0%, transparent 60%); }
.pillar-content { padding: 4rem; display: flex; flex-direction: column; justify-content: center; background: var(--white); }
.pillar-row:nth-child(even) .pillar-content { background: var(--off-white); }
.pillar-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.2);
  margin-bottom: 0.5rem; user-select: none;
}
.pillar-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; font-weight: 700; color: var(--navy);
  line-height: 1.25; margin-bottom: 1rem;
}
.pillar-tagline { font-size: 0.9rem; color: var(--gold); font-weight: 600; font-style: italic; margin-bottom: 1.2rem; line-height: 1.5; }
.pillar-body { font-size: 0.92rem; color: var(--text-soft); line-height: 1.8; font-weight: 300; margin-bottom: 2rem; }
.pillar-cta {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--navy); color: var(--white);
  padding: 0.8rem 1.8rem; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; font-weight: 600;
  border: 2px solid var(--navy); transition: all 0.22s; width: fit-content;
}
.pillar-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ── CTA BAND ────────────────────────────────────────────────── */
.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::after {
  content: '';
  position: absolute; right: -5rem; top: 50%; transform: translateY(-50%);
  width: 24rem; height: 24rem; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.05); pointer-events: none;
}
.cta-band-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: 1fr auto; gap: 4rem; 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;
}
.cta-band h2 em { color: var(--gold); font-style: italic; }
.cta-band p { font-size: 1rem; color: rgba(255,255,255,0.55); font-weight: 300; line-height: 1.7; margin-top: 1rem; max-width: 52ch; }
.cta-band-actions { display: flex; flex-direction: column; gap: 1rem; min-width: 220px; }
.cta-band-btn {
  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-band-btn:hover { background: var(--gold-lt); }
.cta-band-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-band-btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* Hero animation */
.page-hero-inner > *:first-child { animation: fadeUp 0.75s 0.1s ease both; }
.page-hero-inner > *:last-child  { animation: fadeUp 0.75s 0.3s ease both; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-cards-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .service-card.reverse { direction: ltr; }
  .pillar-row { grid-template-columns: 1fr; }
  .pillar-row.flip { direction: ltr; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .pillar-content { padding: 2.5rem 1.5rem; }
  .hero-index { display: none; }
}
