/* ════════════════════════
   SERVICES PAGE STYLES
════════════════════════ */

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--section-alt, #F5EFE3);
  padding: 120px 6% 80px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(320px, 560px);
  column-gap: 72px;
  align-items: end;
  justify-content: center;
}
.page-hero::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg,transparent,var(--gold),transparent); }
.ph-label { grid-column: 1; font-family: var(--font-ui); font-size: 0.56rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.ph-title { grid-column: 1; font-family: var(--font-display); font-size: clamp(2.4rem,4vw,4rem); font-weight: 400; color: var(--text-dark); line-height: 1.1; }
.ph-title em { font-style: italic; color: var(--gold); }
.ph-desc { grid-column: 2; grid-row: 2; font-size: 0.92rem; line-height: 1.9; color: var(--text-mid); max-width: 520px; font-weight: 300; margin: 0; }

/* ─── SERVICES SECTION ─── */
.services-section { padding: 100px 6%; background: var(--cream); }

.all-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 20px;
}

.srv-full-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 30px 32px;
  position: relative; overflow: hidden;
  transition: all 0.35s;
}
.srv-full-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--gold); transition: height 0.4s; }
.srv-full-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.srv-full-card:hover::before { height: 100%; }

.srv-num { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; color: rgba(184,134,11,0.65); line-height: 1; margin-bottom: 16px; }
.srv-icon-wrap { width: 58px; height: 58px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--gold); margin-bottom: 20px; transition: all 0.3s; }
.srv-full-card:hover .srv-icon-wrap { background: var(--gold); color: #fff; border-color: var(--gold); }
.srv-full-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--text-dark); margin-bottom: 14px; line-height: 1.3; }
.srv-full-desc { font-size: 0.82rem; line-height: 1.9; color: var(--text-mid); font-weight: 300; margin-bottom: 24px; }

.srv-features { border-top: 1px solid var(--border-lt); padding-top: 20px; margin-bottom: 24px; display: grid; gap: 8px; }
.srv-feat { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--text-body); }
.srv-feat::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.srv-full-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 0.58rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
  transition: gap 0.3s; font-weight: 500;
}
.srv-full-link:hover { gap: 14px; }

/* ─── PROCESS TIMELINE ─── */
.process-section { padding: 100px 6%; background: var(--section-alt, #F5EFE3); }

.process-timeline {
  position: relative;
  max-width: 920px;
  margin: 70px auto 0;
}

/* Vertical center line */
.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 36px; bottom: 36px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(184,134,11,0.15) 100%);
  transform: translateX(-50%);
  z-index: 0;
}

.proc-step {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  position: relative;
}

/* Even steps flip: card goes to the right side */
.proc-step:nth-child(even) { flex-direction: row-reverse; }

.proc-content-side {
  flex: 1;
  padding-right: 48px;
  position: relative;
}
.proc-step:nth-child(even) .proc-content-side {
  padding-right: 0;
  padding-left: 48px;
}

/* Horizontal connector line from card edge to icon */
.proc-content-side::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 48px;
  height: 1px;
  background: rgba(184,134,11,0.4);
  transform: translateY(-50%);
}
.proc-step:nth-child(even) .proc-content-side::after {
  right: auto;
  left: 0;
}

/* Card */
.proc-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px 30px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s, transform 0.35s;
}
.proc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height 0.4s;
}
.proc-step:hover .proc-card::before { height: 100%; }
.proc-step:hover .proc-card { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.proc-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(184,134,11,0.65);
  line-height: 1;
  margin-bottom: 4px;
}
.proc-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.proc-desc {
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 300;
  margin: 0;
}

/* Center icon circle */
.proc-axis {
  flex-shrink: 0;
  width: 74px;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.proc-icon {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--section-alt);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  transition: all 0.3s;
  box-shadow: 0 0 0 7px var(--section-alt);
}
.proc-step:hover .proc-icon {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 0 0 7px var(--section-alt), 0 6px 22px rgba(184,134,11,0.3);
}

.proc-phantom-side { flex: 1; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .process-timeline::before { left: 37px; top: 0; bottom: 0; }
  .proc-step,
  .proc-step:nth-child(even) { flex-direction: row; align-items: flex-start; margin-bottom: 28px; }
  .proc-content-side,
  .proc-step:nth-child(even) .proc-content-side { flex: 1; padding-left: 22px; padding-right: 0; }
  .proc-content-side::after,
  .proc-step:nth-child(even) .proc-content-side::after { display: none; }
  .proc-axis { order: -1; }
  .proc-phantom-side { display: none; }
  .proc-icon { width: 64px; height: 64px; font-size: 1.1rem; box-shadow: 0 0 0 5px var(--section-alt); }
}
@media (max-width: 480px) {
  .proc-card { padding: 20px 22px; }
  .proc-icon { width: 54px; height: 54px; font-size: 1rem; }
  .process-timeline::before { left: 27px; }
}

/* ─── SERVICES GRID RESPONSIVE ─── */
@media (max-width:1024px) { .all-services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:768px)  {
  .page-hero {
    grid-template-columns: 1fr;
    row-gap: 18px;
    justify-content: start;
  }
  .ph-label,
  .ph-title,
  .ph-desc {
    grid-column: 1;
    grid-row: auto;
  }
  .all-services-grid { grid-template-columns: 1fr; }
}
