/* ═══════════════════════════════════════════════════
   ME91 DIGITAL — SERVICE PAGE SHARED STYLES
   Requires: style.css variables loaded first
═══════════════════════════════════════════════════ */

/* ── BREADCRUMB ─────────────────────────────────── */
.svc-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--white-40);
  margin-bottom: 36px; flex-wrap: wrap;
}
.svc-breadcrumb a { color: var(--white-40); transition: color var(--transition); }
.svc-breadcrumb a:hover { color: var(--blue-light); }
.svc-breadcrumb span { color: var(--white-70); font-weight: 600; }

/* ── SERVICE HERO ───────────────────────────────── */
.svc-hero {
  min-height: 88vh;
  display: flex; align-items: center;
  padding: 130px 0 80px;
  position: relative; overflow: hidden;
}
.svc-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(59,130,246,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.svc-hero-orb1 {
  position: absolute; top: -100px; right: -80px;
  width: 550px; height: 550px; border-radius: 50%;
  filter: blur(90px); opacity: 0.28; pointer-events: none;
  background: radial-gradient(circle, #3b82f6, transparent);
}
.svc-hero-orb2 {
  position: absolute; bottom: -80px; left: -60px;
  width: 380px; height: 380px; border-radius: 50%;
  filter: blur(80px); opacity: 0.22; pointer-events: none;
  background: radial-gradient(circle, #a855f7, transparent);
}

/* Color theme orb overrides */
.theme-green  .svc-hero-orb1 { background: radial-gradient(circle, #22c55e, transparent); }
.theme-purple .svc-hero-orb1 { background: radial-gradient(circle, #a855f7, transparent); }
.theme-yellow .svc-hero-orb1 { background: radial-gradient(circle, #eab308, transparent); }
.theme-red    .svc-hero-orb1 { background: radial-gradient(circle, #ef4444, transparent); }
.theme-orange .svc-hero-orb1 { background: radial-gradient(circle, #f97316, transparent); }

.svc-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 2;
}
.svc-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--blue-light); font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: 100px; margin-bottom: 20px;
}
.svc-hero-badge .badge-icon { font-size: 1.2rem; }
.theme-green  .svc-hero-badge { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.3); color: var(--green-light); }
.theme-purple .svc-hero-badge { background: rgba(168,85,247,0.12); border-color: rgba(168,85,247,0.3); color: var(--purple-light); }
.theme-yellow .svc-hero-badge { background: rgba(234,179,8,0.12);  border-color: rgba(234,179,8,0.3);  color: var(--yellow-light); }
.theme-red    .svc-hero-badge { background: rgba(239,68,68,0.12);  border-color: rgba(239,68,68,0.3);  color: var(--red-light); }
.theme-orange .svc-hero-badge { background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.3); color: var(--orange-light); }

.svc-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1; font-weight: 800;
  margin-bottom: 16px; letter-spacing: -1px;
}
.svc-hero-tagline {
  font-size: 1.1rem; color: var(--white-70);
  margin-bottom: 32px; line-height: 1.7; max-width: 480px;
}
.svc-hero-stats {
  display: flex; gap: 0; margin-bottom: 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden; width: fit-content;
}
.svc-stat {
  padding: 16px 24px; text-align: center; border-right: 1px solid var(--border);
}
.svc-stat:last-child { border-right: none; }
.svc-stat-num {
  font-family: var(--font-head); font-size: 1.7rem;
  font-weight: 900; display: block; color: var(--white);
}
.svc-stat-label { font-size: 11px; color: var(--white-40); font-weight: 600; letter-spacing: 0.5px; }
.svc-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero image */
.svc-hero-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.svc-hero-ph { height: 100%; border-radius: var(--radius-xl); }

/* ── WHAT IS SECTION ────────────────────────────── */
.svc-whatis { background: rgba(255,255,255,0.02); }
.svc-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.svc-split-rev { direction: rtl; }
.svc-split-rev > * { direction: ltr; }
.svc-split-text .section-tag { margin-bottom: 12px; display: inline-block; }
.svc-split-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}
.svc-split-text p {
  font-size: 0.97rem; color: var(--white-70);
  line-height: 1.8; margin-bottom: 14px;
}
.svc-split-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card);
}
.svc-split-img .img-placeholder { height: 100%; border-radius: var(--radius-xl); }

/* ── FEATURES GRID ──────────────────────────────── */
.svc-features { }
.svc-features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.svc-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.svc-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 8px 32px rgba(59,130,246,0.12);
}
.sfc-icon {
  font-size: 1.8rem; margin-bottom: 12px; display: block;
}
.svc-feature-card h4 {
  font-size: 0.95rem; font-weight: 700; margin-bottom: 6px;
}
.svc-feature-card p {
  font-size: 0.82rem; color: var(--white-40); line-height: 1.6; margin: 0;
}

/* ── PROCESS SECTION ────────────────────────────── */
.svc-process { background: rgba(255,255,255,0.02); }
.svc-process-steps {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; position: relative;
}
.svc-process-steps::before {
  content: '';
  position: absolute; top: 36px; left: 12%; right: 12%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent);
  z-index: 0;
}
.svc-process-step {
  text-align: center; padding: 0 16px;
  position: relative; z-index: 1;
}
.svc-ps-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--bg-card2);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.svc-process-step:hover .svc-ps-circle {
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(59,130,246,0.3);
}
.svc-ps-num {
  font-family: var(--font-head);
  font-size: 0.65rem; font-weight: 900;
  color: var(--blue-light);
  letter-spacing: 1px;
  display: block; margin-bottom: 2px;
}
.svc-process-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.svc-process-step p { font-size: 0.82rem; color: var(--white-40); line-height: 1.6; }

/* ── BENEFITS SECTION ───────────────────────────── */
.svc-benefits-list {
  display: flex; flex-direction: column; gap: 18px;
  margin-top: 24px;
}
.svc-benefit-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: border-color var(--transition);
}
.svc-benefit-item:hover { border-color: var(--border-glow); }
.svc-benefit-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.svc-benefit-item strong { display: block; font-size: 0.95rem; margin-bottom: 3px; }
.svc-benefit-item p { font-size: 0.83rem; color: var(--white-40); margin: 0; }

/* ── TRUST BADGES ───────────────────────────────── */
.svc-trust { background: rgba(255,255,255,0.02); }
.trust-badges-grid {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.trust-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 13px; font-weight: 600;
  color: var(--white-70);
  transition: var(--transition);
}
.trust-badge:hover {
  background: var(--blue-glow); border-color: var(--blue); color: var(--white);
}

/* ── AUDIENCE SECTION ───────────────────────────── */
.svc-audience-wrap { text-align: center; }
.svc-audience-tags {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin-top: 8px;
}
.svc-audience-tag {
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(168,85,247,0.12));
  border: 1px solid rgba(99,179,237,0.2);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  font-size: 14px; font-weight: 600; color: var(--white);
  transition: var(--transition);
}
.svc-audience-tag:hover {
  background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(168,85,247,0.25));
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59,130,246,0.2);
}
.svc-audience-tag .aud-icon { font-size: 1.2rem; margin-right: 6px; }

/* ── FAQ ACCORDION ──────────────────────────────── */
.svc-faq { background: rgba(255,255,255,0.02); }
.svc-faq-list {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border-glow); }
.faq-q {
  padding: 20px 24px;
  font-weight: 600; font-size: 0.97rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; user-select: none;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--blue-light); }
.faq-arrow {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--white-12); display: flex;
  align-items: center; justify-content: center;
  font-size: 0.8rem; flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); background: var(--blue-glow); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px; font-size: 0.9rem;
  color: var(--white-70); line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }

/* ── RELATED SERVICES ───────────────────────────── */
.svc-related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.svc-related-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
  cursor: pointer;
}
.svc-related-card:hover { transform: translateY(-4px); border-color: var(--border-glow); }
.src-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.svc-related-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.svc-related-card p { font-size: 0.78rem; color: var(--white-40); margin-bottom: 12px; }
.src-link { font-size: 12.5px; font-weight: 700; color: var(--blue-light); }

/* ── INLINE CONTACT FORM ────────────────────────── */
.svc-contact { }
.svc-contact-form {
  max-width: 700px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  display: flex; flex-direction: column; gap: 18px;
}

/* ── 404 STATE ──────────────────────────────────── */
.svc-404 {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px;
}
.svc-404 h1 { font-family: var(--font-head); font-size: 3rem; margin-bottom: 16px; }
.svc-404 p { color: var(--white-70); margin-bottom: 28px; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .svc-features-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-related-grid  { grid-template-columns: repeat(2, 1fr); }
  .svc-process-steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .svc-process-steps::before { display: none; }
}
@media (max-width: 768px) {
  .svc-hero-inner  { grid-template-columns: 1fr; gap: 36px; }
  .svc-hero-img    { display: none; }
  .svc-split       { grid-template-columns: 1fr; gap: 36px; }
  .svc-split-rev   { direction: ltr; }
  .svc-split-img   { display: none; }
  .svc-hero-stats  { width: 100%; }
  .svc-stat        { flex: 1; padding: 12px 16px; }
  .svc-features-grid { grid-template-columns: 1fr 1fr; }
  .svc-process-steps { grid-template-columns: 1fr; }
  .svc-related-grid  { grid-template-columns: 1fr 1fr; }
  .svc-contact-form  { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .svc-hero-stats    { flex-direction: column; width: fit-content; border-radius: var(--radius-md); }
  .svc-stat          { border-right: none; border-bottom: 1px solid var(--border); }
  .svc-stat:last-child { border-bottom: none; }
  .svc-features-grid { grid-template-columns: 1fr; }
  .svc-related-grid  { grid-template-columns: 1fr; }
}
