/* ─────────────────────────────────────────
   HARMONY — Services Page Stylesheet
   ───────────────────────────────────────── */

/* ── BASE ── */
body { font-family: 'IRANSans', 'Inter', sans-serif; }

/* ── PAGE HEADER ── */
.svc-page-hero {
  padding: 160px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.svc-page-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(62,205,94,.07), transparent 60%);
}
.svc-page-hero .label {
  font-family: 'IRANSans', sans-serif; font-size: 11px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--green);
  margin-bottom: 16px;
}
.svc-page-hero h1 {
  font-size: clamp(36px, 5vw, 64px); font-weight: 700;
  line-height: 1.1; margin-bottom: 20px;
}
.svc-page-hero h1 em { font-style: normal; color: var(--green); }
.svc-page-hero p {
  font-size: 16px; color: var(--muted);
  line-height: 2; max-width: 560px; margin: 0 auto;
}

/* ── QUICK NAV ── */
.svc-quick-nav {
  position: sticky; top: 60px; z-index: 90;
  background: rgba(17,19,17,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.svc-quick-nav::-webkit-scrollbar { display: none; }
.svc-quick-nav-inner {
  display: flex; gap: 0; max-width: 1200px; margin: 0 auto;
  white-space: nowrap;
}
.svc-nav-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px; color: var(--gray); text-decoration: none;
  font-size: 13px; font-weight: 400;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s; flex-shrink: 0;
}
.svc-nav-link .n {
  font-family: 'IRANSans', sans-serif; font-size: 10px;
  color: var(--green); letter-spacing: 1px;
}
.svc-nav-link:hover { color: var(--white); }
.svc-nav-link.active { color: var(--white); border-bottom-color: var(--green); }

/* ── SERVICE SECTIONS ── */
.svc-section {
  padding: 100px 0;
  position: relative; overflow: hidden;
  background: var(--bg);
}

/* Alternating subtle bg */
.svc-section:nth-child(even) { background: var(--bg2); }

/* Pattern overlay */
.svc-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: .018;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 28px 28px;
}
.svc-section:nth-child(even)::before {
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .025;
}

/* Ambient glow */
.svc-section::after {
  content: '';
  position: absolute; pointer-events: none; z-index: 0;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(36,199,106,.06), transparent 70%);
  top: 50%; transform: translateY(-50%);
}
.svc-section:not(.flip)::after { right: -100px; }
.svc-section.flip::after       { left: -100px; }

/* Inner grid */
.svc-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 0 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.svc-inner.flip { direction: ltr; }
.svc-inner.flip .svc-text { direction: rtl; }

/* Image side */
.svc-img-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/3;
}
.svc-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.svc-img-wrap:hover img { transform: scale(1.04); }

/* Thin green frame accent */
.svc-img-wrap::before {
  content: '';
  position: absolute; inset: 0; z-index: 1; border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(36,199,106,.15);
  pointer-events: none;
}

/* Number watermark */
.svc-num-bg {
  position: absolute; bottom: -20px; left: -10px;
  font-family: 'IRANSans', sans-serif; font-size: 120px; font-weight: 800;
  color: rgba(36,199,106,.04); line-height: 1;
  pointer-events: none; user-select: none; z-index: 0;
}

/* Text block */
.svc-text { position: relative; z-index: 1; }

.svc-num {
  font-family: 'IRANSans', sans-serif;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--green); margin-bottom: 20px; display: block;
}

.svc-heading {
  font-size: clamp(26px, 3vw, 44px); font-weight: 700;
  line-height: 1.15; margin-bottom: 16px;
}

.svc-desc {
  font-size: 15px; line-height: 2;
  color: var(--muted); margin-bottom: 28px;
}

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  font-size: 11px; padding: 5px 14px;
  border-radius: 100px;
}
.chip.g {
  background: rgba(36,199,106,.1);
  border: 1px solid rgba(36,199,106,.22);
  color: var(--green);
}
.chip.p {
  background: rgba(122,79,224,.08);
  border: 1px solid rgba(122,79,224,.22);
  color: #a07ff0;
}
.chip.en { font-family: 'IRANSans', sans-serif; letter-spacing: 1px; }

/* CTA */
.svc-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IRANSans', sans-serif;
  padding: 12px 26px;
  background: var(--green); color: #000;
  border-radius: 100px; font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.svc-cta:hover { opacity: .85; transform: translateY(-2px); }

/* ── STICKY PROGRESS BAR ── */
.progress-bar {
  position: fixed; top: 0; right: 0; left: 0; height: 2px;
  background: var(--line); z-index: 999; pointer-events: none;
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--green), var(--purple));
  transition: width .1s linear;
}

/* ── DETAIL MODAL ── */
.svc-detail-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'IRANSans', sans-serif;
  padding: 11px 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px; font-size: 13px; color: rgba(255,255,255,.75);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.svc-detail-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }

.svc-modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.8);
  cursor: default;
  padding: 60px 20px 40px;
  overflow-y: auto;
}
.svc-modal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }

.svc-modal-box {
  background: #111311;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  width: 100%; max-width: 800px;
  padding: 36px 40px 40px;
  cursor: default;
  animation: fadeUp .3s cubic-bezier(.16,1,.3,1);
}

.svc-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 32px; gap: 16px;
}
.svc-modal-num {
  font-family: 'IRANSans', sans-serif; font-size: 10px;
  letter-spacing: 3px; color: var(--green); margin-bottom: 8px;
}
.svc-modal-title { font-size: 24px; font-weight: 700; }

.svc-modal-close {
  flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.svc-modal-close:hover { background: rgba(255,255,255,.12); color: #fff; }

.svc-modal-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.svc-modal-col {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 20px 20px 16px;
}
.svc-modal-col-title {
  font-family: 'IRANSans', sans-serif; font-size: 10px;
  color: var(--green); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(36,199,106,.15);
}
.svc-modal-col ul { list-style: none; }
.svc-modal-col li {
  font-size: 13px; color: rgba(255,255,255,.6);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  display: flex; align-items: center; gap: 8px;
}
.svc-modal-col li:last-child { border-bottom: none; }
.svc-modal-col li::before {
  content: '';
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .svc-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .svc-inner.flip { direction: rtl; }
  .svc-num-bg { display: none; }
  .svc-section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .svc-inner { padding: 0 20px; gap: 28px; }
  .svc-section { padding: 56px 0; }
}
