/* ============================================================
   MRZ CANADA — SERVICE PAGE STYLES v9.0
   ============================================================ */

/* ─── SERVICE HERO ─────────────────────────────────────────── */
.service-hero {
  --gold: var(--white);
  padding: 180px 0 100px;
  background-color: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}

.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 17, 40, 0.9), rgba(10, 17, 40, 0.8));
  z-index: 1;
}

.service-hero .container {
  position: relative;
  z-index: 2;
}

.service-hero .breadcrumb {
  justify-content: center;
  margin-bottom: 24px;
}

.service-hero .btn-group {
  justify-content: center;
}

.service-hero .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.service-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border-dark);
}

.service-hero .btn-primary,
.svc-section-dark .btn-primary {
  color: var(--navy);
}

/* ─── SECTIONS ─────────────────────────────────────────────── */
.svc-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.svc-section .gold-divider {
  margin-left: auto;
  margin-right: auto;
}

.svc-section .lead {
  margin-left: auto;
  margin-right: auto;
}

.svc-section:last-of-type { border-bottom: none; }

.svc-section-dark {
  --gold: var(--white);
  background: var(--navy);
  color: var(--soft-white);
  border-bottom-color: var(--border-dark);
}

.svc-section-light {
  background: var(--soft-white);
}

.svc-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.svc-label::before,
.svc-label::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

/* ─── INCLUDED LIST ─────────────────────────────────────────── */
.included-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.included-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: all var(--transition);
  position: relative;
}

.included-item:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.included-check {
  width: 28px;
  height: 28px;
  background: rgba(198,166,107,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.included-check::after {
  content: '';
  width: 8px;
  height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}

.included-item span {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
  font-weight: 500;
}

/* Dark variants */
.svc-section-dark .included-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(198,166,107,0.15);
}

.svc-section-dark .included-item span { color: rgba(247,245,240,0.85); }

/* ─── DELIVERABLES ──────────────────────────────────────────── */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.deliverable {
  padding: 24px;
  background: var(--soft-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.deliverable::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ─── PROCESS STEPS ─────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.process-step {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--gold);
  border-radius: 4px 16px 16px 4px;
  padding: 40px;
  text-align: left;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-left-width: 8px;
  transform: translateX(10px);
}

.step-number {
  font-family: var(--ff-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -40px;
  align-self: flex-end;
}

.step-content h4 {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.step-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

@media (max-width: 640px) {
  .process-step {
    padding: 30px;
  }
  .process-step:hover {
    transform: translateY(-5px);
  }
}

/* ─── WHO THIS IS FOR GRID ──────────────────────────────────── */
.for-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.for-item {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  color: var(--text-dark);
  transition: border-color var(--transition-fast);
}

.for-item:hover { border-color: rgba(198,166,107,0.3); }

.for-icon {
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

/* ─── RELATED SERVICES ──────────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.related-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  display: block;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.related-card:hover {
  border-color: var(--gold);
  background: var(--navy);
  color: var(--white);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.related-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--ff-heading);
  margin-bottom: 12px;
  line-height: 1.3;
}

.related-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.related-card .related-arrow {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: auto;
}

.related-card .related-arrow i {
  transition: transform var(--transition-fast);
}

.related-card:hover .related-arrow i {
  transform: translateX(4px);
}

.related-grid + div {
  text-align: center;
  margin-top: 40px !important;
}

/* ─── SERVICE CTA ───────────────────────────────────────────── */
.service-cta {
  padding: var(--section-pad) 0;
  background-color: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.service-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 17, 40, 0.92), rgba(10, 17, 40, 0.92));
  z-index: 1;
}

.service-cta .container {
  position: relative;
  z-index: 2;
}

.service-cta h2 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2rem, 5vw, 2.5rem);
}

.service-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ─── COMPLIANCE NOTE ───────────────────────────────────────── */
.compliance-note {
  background: rgba(13,22,48,0.03);
  border: 1px solid rgba(198,166,107,0.2);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-top: 48px;
  font-style: italic;
}

.svc-section-dark .compliance-note,
.service-cta .compliance-note {
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.8);
}

.compliance-note strong { color: #FFFFFF; font-style: normal; font-weight: 700; opacity: 1; }

/* ─── PAGE NAV (for legal) ──────────────────────────────────── */
.page-sidebar {
  position: sticky;
  top: 100px;
}

.page-toc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-toc h5 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.page-toc a {
  display: block;
  padding: 12px 20px;
  font-size: 0.88rem;
  color: var(--text-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.page-toc a:last-child { border-bottom: none; }
.page-toc a:hover { color: var(--navy); background: var(--soft-white); }
.page-toc a.active { color: var(--navy); background: var(--soft-white); font-weight: 600; }

/* ─── ABOUT TWO-COL ─────────────────────────────────────────── */
.about-cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-cols-rev {
  grid-template-columns: 1fr 1.2fr;
}

.about-visual {
  aspect-ratio: 4 / 3;
  background: var(--white);
  background-image: url('../assets/logo-main.png');
  background-size: 65%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Subtle depth */
}

.about-visual::after {
  content: none;
}

/* ─── RESPONSIVE (SERVICE PAGES) ────────────────────────────── */
@media (max-width: 1024px) {
  .included-list { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .service-hero { padding: 160px 0 80px; }
  .service-hero h1 { font-size: 2.8rem; }
  
  .included-list { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .for-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  
  .about-cols { grid-template-columns: 1fr; gap: 40px; }
  .about-cols-rev { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
}

@media (max-width: 640px) {
  .service-hero { padding: 140px 0 60px; text-align: center; }
  .service-hero h1 { font-size: 2.2rem; line-height: 1.2; }
  .service-hero .lead { font-size: 1rem; margin: 0 auto; }
  
  .svc-section { padding: 48px 0; }
  .svc-section h2 { font-size: 1.6rem; }
  
  .service-cta { padding: 60px 0; }
  .service-cta h2 { font-size: 1.8rem; }
  
  .process-steps::before { display: none; }
  .process-step { gap: 16px; padding: 24px; }
  .step-number { width: auto; height: auto; font-size: 2rem; margin-bottom: -24px; }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px !important;
  }
  
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .grid-2 { grid-template-columns: 1fr !important; gap: 32px; }
}
