/* ═══════════════════════════════════════
   SERVICE PAGE — HERO (section1)
   Compact banner used by all service pages.
═══════════════════════════════════════ */

.svc-hero {
  position: relative;
  min-height: clamp(440px, 66vh, 600px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.svc-hero .ph-bg { position: absolute; inset: 0; z-index: -3; }
.svc-hero .ph-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  animation: svcZoom 14s ease-out forwards;
}
@keyframes svcZoom { to { transform: scale(1); } }

.svc-hero .ph-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 17, 11, 0.9), rgba(8, 17, 11, 0.6) 55%, rgba(8, 17, 11, 0.35) 85%),
    linear-gradient(180deg, rgba(8, 17, 11, 0.5), transparent 30%),
    linear-gradient(0deg, var(--bg-primary), rgba(255, 255, 255, 0) 20%);
}

.svc-hero .glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.svc-hero .glow.a {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.4), transparent 70%);
  top: -120px; left: 6%; opacity: 0.55;
}
.svc-hero .glow.b {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(31, 157, 92, 0.4), transparent 70%);
  bottom: -90px; right: 6%; opacity: 0.45;
}

.svc-hero .ph-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.svc-hero .ph-content {
  padding: 40px 0 80px;
  max-width: 760px;
}

.svc-hero .crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 24px;
  opacity: 0;
  animation: svcFadeUp 0.8s 0.2s ease forwards;
}
.svc-hero .crumbs a { color: rgba(255, 255, 255, 0.74); text-decoration: none; transition: color 0.25s ease; }
.svc-hero .crumbs a:hover { color: #fff; }
.svc-hero .crumbs .sep { opacity: 0.5; }
.svc-hero .crumbs .here { color: #fff; }

.svc-hero .ph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 16px 8px 11px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  opacity: 0;
  animation: svcFadeUp 0.8s 0.32s ease forwards;
}
.svc-hero .ph-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hero-green); box-shadow: 0 0 10px var(--hero-green); }

.svc-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 0.96;
  color: #fff;
  opacity: 0;
  animation: svcFadeUp 0.8s 0.42s ease forwards;
}
.svc-hero .grad {
  background: linear-gradient(96deg, var(--hero-warm-1), var(--hero-warm-2) 55%, var(--hero-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.svc-hero .sub {
  margin-top: 22px;
  max-width: 560px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  animation: svcFadeUp 0.8s 0.6s ease forwards;
}

@keyframes svcFadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── RTL ── */
body.rtl .svc-hero .ph-content { text-align: right; }
body.rtl .svc-hero .crumbs,
body.rtl .svc-hero .ph-eyebrow { flex-direction: row-reverse; }
body.rtl .svc-hero .ph-bg::after {
  background:
    linear-gradient(255deg, rgba(8, 17, 11, 0.9), rgba(8, 17, 11, 0.6) 55%, rgba(8, 17, 11, 0.35) 85%),
    linear-gradient(180deg, rgba(8, 17, 11, 0.5), transparent 30%),
    linear-gradient(0deg, var(--bg-primary), rgba(255, 255, 255, 0) 20%);
}

@media (max-width: 600px) {
  .svc-hero .ph-content { padding: 20px 0 60px; }
  .svc-hero .sub { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-hero .ph-bg img { animation: none; transform: none; }
  .svc-hero .crumbs, .svc-hero .ph-eyebrow, .svc-hero h1, .svc-hero .sub { opacity: 1; animation: none; }
}
