﻿/* =========================================================
   Mustasharik Business Services — Brand Stylesheet
   UAE Green / Red / Corporate · Cairo · Mobile-first
   ========================================================= */

:root {
  --green: #006c35;
  --green-dark: #004d26;
  --green-light: #e8f5ee;
  --green-mid: #0a8a48;
  --red: #c8102e;
  --red-dark: #9e0c24;
  --black: #0f172a;
  --ink: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f7f9f8;
  --white: #ffffff;
  --silver: #f1f5f9;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --dock-h: 72px;
  --font: "Cairo", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

/* ---------- Skip link (a11y + security UX) ---------- */
.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  background: var(--green);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 10000;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Preloader / Cinematic video intro ---------- */
.preloader {
  display: none !important;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: #000;
  color: #fff;
  display: block;
  padding: 0;
  margin: 0;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.site-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Kill every overlay that previously covered the video */
.site-intro-bg,
.site-intro-curtains,
.site-intro-brand,
.site-intro-end,
.site-intro-frame {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.site-intro-stage {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #000 !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
  transition: none !important;
}

.site-intro-video {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #000 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

.site-intro-ui {
  position: absolute;
  z-index: 40;
  inset-inline: 0;
  bottom: max(1.1rem, calc(env(safe-area-inset-bottom) + 0.85rem));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0 1rem;
  flex-wrap: wrap;
  pointer-events: auto;
}

.site-intro-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
  position: relative;
  z-index: 41;
}

.site-intro-btn:hover,
.site-intro-btn:focus-visible {
  background: rgba(0, 108, 53, 0.9);
  border-color: rgba(0, 108, 53, 0.95);
}

.site-intro-btn:active {
  transform: scale(0.96);
}

.site-intro-btn--primary {
  background: var(--green);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(0, 108, 53, 0.35);
}

.site-intro-progress {
  position: absolute;
  z-index: 35;
  inset-inline: 10%;
  top: max(0.85rem, env(safe-area-inset-top));
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  opacity: 1;
}

.site-intro-progress > i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0a8a48, #c49a6c, #e8c97a);
  box-shadow: 0 0 12px rgba(196, 154, 108, 0.55);
}

body.intro-locked {
  overflow: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
  .site-intro {
    transition-duration: 0.01ms !important;
  }
}

.preloader-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--green-light);
  border-top-color: var(--green);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  padding-top: env(safe-area-inset-top, 0px);
  transition: border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  overflow: visible;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    backdrop-filter 0.4s, -webkit-backdrop-filter 0.4s;
  pointer-events: none;
}

.site-header.scrolled::before,
.site-header.solid::before {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
}

.site-header.scrolled,
.site-header.solid {
  border-bottom-color: rgba(226, 232, 240, 0.7);
}

.site-header.is-open::before {
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
  position: relative;
}

.brand {
  --logo-frame: #006c35;
  --logo-glow: #0a8a48;
  --logo-accent: #c49a6c;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  z-index: 1002;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 16px;
  isolation: isolate;
  transition: transform 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.brand::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2.5px;
  background: conic-gradient(
    #006c35,
    #0a8a48,
    #c49a6c,
    #e8c97a,
    #c8102e,
    #0a8a48,
    #006c35
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: logoFrameRotate 4.2s linear infinite;
  z-index: 0;
}

.brand::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 108, 53, 0.28),
    rgba(196, 154, 108, 0.12) 45%,
    transparent 70%
  );
  animation: logoAura 2.8s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

.brand:hover {
  transform: scale(1.04);
}

.brand:active {
  transform: scale(0.97);
}

.brand img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 44px;
  object-fit: contain;
  display: block;
  border-radius: 13px;
  background: #fff;
  padding: 0.28rem 0.45rem;
  box-shadow:
    0 6px 16px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: logoFloat 3.2s ease-in-out infinite;
  will-change: transform;
}

@property --logo-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes logoFrameRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes logoFrameSpin {
  to {
    --logo-angle: 360deg;
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-2px) rotate(-0.6deg) scale(1.015);
  }
  50% {
    transform: translateY(-4px) rotate(0.5deg) scale(1.03);
  }
  75% {
    transform: translateY(-1.5px) rotate(-0.35deg) scale(1.01);
  }
}

@keyframes logoAura {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand::before,
  .brand::after,
  .brand img,
  .hero-brand img,
  .nav-drawer-brand img {
    animation: none !important;
  }
}

.brand-text {
  display: none;
}

/* Desktop nav — floating pill rail */
.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
  position: relative;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(247, 249, 248, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 28px rgba(15, 23, 42, 0.04);
}

.nav-indicator {
  position: absolute;
  top: 0.28rem;
  bottom: 0.28rem;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f0faf4 100%);
  box-shadow: 0 4px 16px rgba(0, 108, 53, 0.14),
    0 0 0 1px rgba(0, 108, 53, 0.08);
  transition: left 0.4s var(--ease), width 0.4s var(--ease), opacity 0.25s;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.nav-indicator.is-ready {
  opacity: 1;
}

.nav .nav-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav .nav-link .nav-ico {
  display: none;
}

.nav .nav-link:hover {
  color: var(--green);
}

.nav .nav-link.active {
  color: var(--green-dark);
}

.nav .nav-link:active {
  transform: scale(0.97);
}

.nav-item--drop {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-drop-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.nav-drop-toggle::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  margin-inline-start: 0.2rem;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}

.nav-item--drop.is-open .nav-drop-toggle::after,
.nav-item--drop.is-hover .nav-drop-toggle::after {
  transform: rotate(225deg) translateY(-1px);
}

.nav-item--drop.is-current .nav-drop-toggle,
.nav-item--drop.is-open .nav-drop-toggle,
.nav-item--drop.is-hover .nav-drop-toggle {
  color: var(--green-dark);
}

.nav-drop {
  position: absolute;
  top: calc(100% - 2px);
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.98);
  min-width: 220px;
  padding: 0.85rem 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.28s;
  transition-delay: 0.18s;
  z-index: 60;
}

html[dir="rtl"] .nav-drop {
  transform: translateX(50%) translateY(10px) scale(0.98);
}

.nav-drop::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 12%;
  height: 0.85rem;
}

.nav-drop-panel {
  position: relative;
  padding: 0.55rem;
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 246, 0.96));
  border: 1px solid rgba(0, 108, 53, 0.14);
  box-shadow:
    0 28px 60px rgba(8, 30, 18, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.nav-drop-panel::before {
  content: "";
  position: absolute;
  inset-inline-start: -20%;
  top: -40%;
  width: 55%;
  height: 90%;
  background: radial-gradient(circle, rgba(10, 138, 72, 0.12), transparent 70%);
  pointer-events: none;
}

.nav-item--drop.is-open .nav-drop,
.nav-item--drop.is-hover .nav-drop,
.nav-item--drop:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition-delay: 0s;
}

html[dir="rtl"] .nav-item--drop.is-open .nav-drop,
html[dir="rtl"] .nav-item--drop.is-hover .nav-drop,
html[dir="rtl"] .nav-item--drop:focus-within .nav-drop {
  transform: translateX(50%) translateY(0) scale(1);
}

.nav-drop-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.nav-drop-link:hover,
.nav-drop-link.active {
  background: rgba(10, 138, 72, 0.1);
  color: var(--green-dark);
}

.nav-drop-link small {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-drawer-group {
  display: grid;
  gap: 0.25rem;
}

.nav-drawer-summary {
  width: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: inherit;
}

.nav-drawer-group.is-open .nav-drawer-summary .nav-chev {
  transform: rotate(90deg);
}

html[dir="rtl"] .nav-drawer-group.is-open .nav-drawer-summary .nav-chev {
  transform: rotate(-90deg);
}

.nav-drawer-sub {
  display: none;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  padding: 0.15rem 0.55rem 0.45rem 0.55rem;
  margin-inline-start: 2.4rem;
  border-inline-start: 2px solid rgba(0, 108, 53, 0.15);
}

.nav-drawer-group.is-open .nav-drawer-sub {
  display: grid;
}

.nav-drawer-sublink {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

.nav-drawer-sublink:hover,
.nav-drawer-sublink.active {
  color: var(--green-dark);
  background: rgba(10, 138, 72, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 1002;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 0.42rem 0.72rem;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.76rem;
  color: var(--muted);
  transition: 0.28s var(--ease);
}

.lang-switch button.active {
  background: var(--green);
  color: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  cursor: pointer;
  z-index: 1002;
  position: relative;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:active {
  transform: scale(0.94);
}

.nav-toggle-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav-toggle-lines span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--black);
  transition: 0.35s var(--ease);
  transform-origin: center;
}

.site-header.is-open .nav-toggle {
  border-color: rgba(0, 108, 53, 0.25);
  background: var(--green-light);
}

.site-header.is-open .nav-toggle-lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.3);
}

.site-header.is-open .nav-toggle-lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile / tablet drawer — app sheet */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
}

.nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.nav-drawer.is-open .nav-drawer-backdrop {
  opacity: 1;
}

.nav-drawer-panel {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  bottom: 0;
  width: min(100%, 380px);
  background:
    radial-gradient(700px 280px at 100% 0%, rgba(0, 108, 53, 0.1), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
  box-shadow: -18px 0 50px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  padding:
    calc(1rem + env(safe-area-inset-top, 0px))
    1.15rem
    calc(1.15rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(104%);
  transition: transform 0.45s var(--ease);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

html[dir="rtl"] .nav-drawer-panel {
  transform: translateX(-104%);
  box-shadow: 18px 0 50px rgba(15, 23, 42, 0.18);
}

.nav-drawer.is-open .nav-drawer-panel {
  transform: translateX(0);
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.nav-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.nav-drawer-brand img {
  width: auto;
  height: 40px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 0.28rem 0.4rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  outline: 2px solid transparent;
  outline-offset: 2px;
  animation: logoFloat 3.2s ease-in-out infinite, logoOutlinePulse 2.6s ease-in-out infinite;
}

@keyframes logoOutlinePulse {
  0%,
  100% {
    outline-color: rgba(0, 108, 53, 0.35);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), 0 0 0 0 rgba(0, 108, 53, 0.2);
  }
  50% {
    outline-color: rgba(196, 154, 108, 0.75);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1), 0 0 18px 2px rgba(0, 108, 53, 0.22);
  }
}

.nav-drawer-brand strong {
  display: block;
  font-size: 1rem;
  color: var(--green-dark);
  line-height: 1.2;
}

.nav-drawer-brand span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.nav-drawer-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.nav-drawer-close:active {
  transform: scale(0.94);
  background: var(--green-light);
}

.nav-drawer-links {
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.nav-drawer-link {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease),
    background 0.25s, border-color 0.25s, box-shadow 0.25s;
  transition-delay: calc(var(--i, 0) * 0.05s);
  -webkit-tap-highlight-color: transparent;
}

.nav-drawer.is-open .nav-drawer-link {
  transform: none;
  opacity: 1;
}

.nav-drawer-link:active {
  transform: scale(0.985);
}

.nav-drawer-link.active {
  background: linear-gradient(135deg, rgba(0, 108, 53, 0.12), rgba(0, 108, 53, 0.04));
  border-color: rgba(0, 108, 53, 0.28);
  color: var(--green-dark);
  box-shadow: 0 10px 24px rgba(0, 108, 53, 0.1);
}

.nav-drawer-link .nav-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green-light);
  color: var(--green);
}

.nav-drawer-link.active .nav-ico {
  background: var(--green);
  color: var(--white);
}

.nav-drawer-link .nav-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-drawer-link .nav-chev {
  width: 8px;
  height: 8px;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.35;
}

html[dir="rtl"] .nav-drawer-link .nav-chev {
  transform: rotate(135deg);
}

.nav-drawer-link.active .nav-chev {
  opacity: 0.7;
  color: var(--green);
}

.nav-drawer-foot {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.nav-drawer-foot .btn {
  width: 100%;
}

.nav-drawer-foot .lang-switch {
  justify-self: start;
}

/* App-style bottom dock (phones / tablets) */
.app-dock {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 980;
  padding: 0.45rem 0.55rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.app-dock-inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.2rem;
  max-width: 560px;
  margin: 0 auto;
  padding: 0.4rem 0.35rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.app-dock-inner--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 640px;
}

.app-dock-item--bot .dock-ico {
  background: rgba(0, 108, 53, 0.12);
  color: var(--green);
}

/* Hide messenger shell until opened (also if bot CSS fails to load) */
.mst-messenger:not(.is-open) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 12000;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Floating residency bot entry */
.bot-fab {
  position: fixed;
  z-index: 970;
  inset-inline-end: 1rem;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0a8a48, #006c35);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 14px 36px rgba(0, 108, 53, 0.38);
  text-decoration: none;
  animation: botFabIn 0.55s var(--ease) both;
  -webkit-tap-highlight-color: transparent;
}

.bot-fab:hover {
  transform: translateY(-2px);
  color: #fff;
}

.bot-fab-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}

@keyframes botFabIn {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

.nav-link--bot {
  color: var(--green-dark) !important;
  font-weight: 800 !important;
}

@media (min-width: 992px) {
  .bot-fab {
    bottom: 1.5rem;
    inset-inline-end: 1.5rem;
  }
}

@media (max-width: 380px) {
  .bot-fab span:last-child {
    display: none;
  }
  .bot-fab {
    padding: 0.7rem;
    border-radius: 50%;
  }
  .app-dock-inner--6 .app-dock-item {
    font-size: 0.55rem;
  }
}

.app-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-height: 56px;
  padding: 0.35rem 0.2rem;
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.app-dock-item .dock-ico {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  transition: 0.28s var(--ease);
}

.app-dock-item .dock-ico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-dock-item:active {
  transform: scale(0.94);
}

.app-dock-item.active {
  color: var(--green-dark);
  background: rgba(0, 108, 53, 0.08);
}

.app-dock-item.active .dock-ico {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(0, 108, 53, 0.28);
  transform: translateY(-2px);
}

body.has-mobile-nav {
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px) + 0.75rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 108, 53, 0.28);
}

.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 12px 28px rgba(0, 108, 53, 0.35);
}

.btn-accent {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.25);
}

.btn-accent:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--green);
  color: var(--green);
}

.btn-outline-dark:hover {
  background: var(--green);
  color: var(--white);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn-header {
  display: none;
}

@media (min-width: 992px) {
  .nav {
    display: inline-flex;
  }

  .btn-header {
    display: inline-flex;
  }

  .nav-toggle,
  .nav-drawer,
  .app-dock {
    display: none !important;
  }

  body.has-mobile-nav {
    padding-bottom: 0;
  }

  .brand img {
    height: 48px;
  }
}

@media (max-width: 991px) {
  .nav-toggle {
    display: inline-flex;
  }

  .app-dock {
    display: block;
  }

  .btn-header {
    display: none;
  }

  .header-actions .lang-switch {
    display: none;
  }
}

@media (max-width: 380px) {
  .app-dock-item {
    font-size: 0.62rem;
  }

  .brand img {
    height: 40px;
  }
}

/* ---------- Phone LTR (fixes Arabic RTL digit flip) ---------- */
.phone-ltr {
  direction: ltr !important;
  unicode-bidi: isolate;
  display: inline-block;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.footer-col .phone-ltr,
.contact-item .phone-ltr {
  color: inherit;
}

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
  min-height: 100svh;
  padding-top: 0;
  align-items: stretch;
  display: block;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  min-height: 100svh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.85s var(--ease), visibility 0.85s;
  color: var(--white);
  padding-top: var(--header-h);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide .hero-media,
.hero-slide .hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide .hero-media {
  overflow: hidden;
  --mx: 0;
  --my: 0;
}

.hero-slide .hero-media::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 65%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transform: translateX(-30%);
}

.hero-slide.is-active .hero-media::before {
  opacity: 1;
  animation: heroLightSweep 7.5s ease-in-out infinite;
}

.hero-slide .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-slide .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12) translate3d(calc(var(--mx) * 1.2%), calc(var(--my) * 1.2%), 0);
  transform-origin: center center;
  will-change: transform, filter;
  transition: opacity 0.9s var(--ease);
  filter: saturate(1.05) contrast(1.03);
}

.hero-slide.is-active .hero-media img {
  animation: heroCinema 14s cubic-bezier(0.37, 0, 0.63, 1) infinite alternate;
}

.hero-overlay--gov {
  background:
    linear-gradient(180deg, rgba(6, 20, 14, 0.4) 0%, rgba(0, 77, 38, 0.78) 50%, rgba(0, 40, 22, 0.94) 100%),
    linear-gradient(90deg, rgba(200, 16, 46, 0.22), transparent 55%);
}

.hero-slide .hero-content {
  position: relative;
  z-index: 3;
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  padding: 3rem 0 5.5rem;
}

.hero-slide.is-active .hero-brand,
.hero-slide.is-active .hero-logos,
.hero-slide.is-active h1,
.hero-slide.is-active p,
.hero-slide.is-active .hero-cta {
  animation: rise 0.85s var(--ease) both;
}

.hero-slide.is-active h1 { animation-delay: 0.1s; }
.hero-slide.is-active p { animation-delay: 0.18s; }
.hero-slide.is-active .hero-cta { animation-delay: 0.26s; }

.hero-logos {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
  padding: 0.45rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(0, 108, 53, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-logo-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 64px;
  padding: 0.4rem 0.5rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 108, 53, 0.18);
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.16),
    0 0 14px rgba(0, 108, 53, 0.22);
  animation: chipFloat 3.2s ease-in-out infinite;
}

.hero-logo-chip::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(0, 138, 72, 0.55) 18%, transparent 32%, rgba(200, 16, 46, 0.35) 50%, transparent 64%, rgba(0, 138, 72, 0.45) 82%, transparent 100%);
  animation: frameSpin 4.5s linear infinite;
  z-index: -2;
}

.hero-logo-chip::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  border-radius: 12px;
  background: #ffffff;
  z-index: -1;
  box-shadow: inset 0 0 0 1px rgba(0, 108, 53, 0.08);
}

.hero-logo-chip:nth-child(2) { animation-delay: 0.35s; }
.hero-logo-chip:nth-child(2)::before { animation-delay: -1.5s; }
.hero-logo-chip:nth-child(3) { animation-delay: 0.7s; }
.hero-logo-chip:nth-child(3)::before { animation-delay: -3s; }

.hero-logo-chip img {
  max-height: 40px;
  max-width: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.08));
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes frameSpin {
  to { transform: rotate(360deg); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 520px) {
  .hero-logos {
    gap: 0.4rem;
    padding: 0.35rem;
  }

  .hero-logo-chip {
    width: 78px;
    height: 56px;
  }

  .hero-logo-chip img {
    max-height: 34px;
    max-width: 66px;
  }
}

.hero-controls {
  position: absolute;
  inset-inline: 0;
  bottom: 1.35rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.hero-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: 0.25s var(--ease);
}

.hero-nav:hover {
  background: var(--white);
  color: var(--green);
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.3s var(--ease);
}

.hero-dot.is-active {
  width: 26px;
  background: var(--white);
}

.hero-slider .hero-scroll {
  bottom: 4.2rem;
}

/* ---------- Partners marquee ---------- */
.partners-marquee-section {
  position: relative;
  z-index: 4;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  padding: 0 0 0.25rem;
}

.partners-marquee--featured {
  width: min(100% - 1.25rem, 1280px);
  margin-inline: auto;
  padding: 1.45rem 0 1.65rem;
  border-radius: 22px;
  background:
    radial-gradient(900px 220px at 15% 0%, rgba(0, 108, 53, 0.12), transparent 60%),
    radial-gradient(900px 220px at 85% 100%, rgba(200, 16, 46, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7f9f8 100%);
  border: 1px solid rgba(0, 108, 53, 0.12);
  box-shadow:
    0 22px 55px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 0 40px rgba(0, 108, 53, 0.08);
  overflow: hidden;
  position: relative;
}

.partners-marquee--featured::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 138, 72, 0.08), transparent 45%);
  animation: marqueeAura 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes marqueeAura {
  from { opacity: 0.45; transform: scale(1); }
  to { opacity: 1; transform: scale(1.08); }
}

.marquee-item {
  flex: 0 0 auto;
  width: 168px;
  height: 92px;
  display: grid;
  place-items: center;
  padding: 0.7rem 0.85rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 108, 53, 0.14);
  overflow: hidden;
  isolation: isolate;
  position: relative;
  z-index: 1;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  animation: logoGlow 3.2s ease-in-out infinite, logoRide 5.5s ease-in-out infinite;
}

.marquee-item::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: conic-gradient(from 120deg, transparent, rgba(0, 138, 72, 0.55), transparent 28%, rgba(200, 16, 46, 0.3), transparent 55%, rgba(0, 138, 72, 0.4), transparent);
  animation: frameSpin 5s linear infinite;
  z-index: -2;
}

.marquee-item::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fafbf9);
  z-index: -1;
}

.marquee-item:nth-child(2n) { animation-delay: 0.25s, 0.4s; }
.marquee-item:nth-child(3n) { animation-delay: 0.55s, 0.8s; }
.marquee-item:nth-child(4n) { animation-delay: 0.85s, 1.2s; }
.marquee-item:nth-child(2n)::before { animation-duration: 4.2s; }
.marquee-item:nth-child(3n)::before { animation-duration: 5.8s; animation-direction: reverse; }

@keyframes logoGlow {
  0%, 100% {
    box-shadow:
      0 8px 20px rgba(15, 23, 42, 0.06),
      0 0 12px rgba(0, 108, 53, 0.12),
      0 0 26px rgba(0, 108, 53, 0.08);
  }
  50% {
    box-shadow:
      0 12px 28px rgba(15, 23, 42, 0.1),
      0 0 22px rgba(0, 108, 53, 0.35),
      0 0 44px rgba(0, 138, 72, 0.22);
  }
}

@keyframes logoRide {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.02); }
}

.marquee-item:hover {
  border-color: rgba(0, 108, 53, 0.4);
  animation-play-state: paused;
  transform: translateY(-8px) scale(1.06);
  box-shadow:
    0 16px 34px rgba(0, 108, 53, 0.2),
    0 0 30px rgba(0, 108, 53, 0.4),
    0 0 55px rgba(0, 138, 72, 0.24);
}

.marquee-item img {
  max-width: 100%;
  max-height: 58px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.08));
  transition: filter 0.35s var(--ease), transform 0.35s var(--ease);
}

.marquee-item:hover img {
  filter:
    drop-shadow(0 0 8px rgba(0, 108, 53, 0.3))
    drop-shadow(0 2px 4px rgba(15, 23, 42, 0.1));
  transform: scale(1.04);
}

.partners-marquee-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-inline: 1rem;
}

.partners-marquee-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 108, 53, 0.35), transparent);
}

.partners-marquee-title {
  text-align: center;
  color: var(--green-dark);
  font-weight: 800;
  font-size: clamp(0.86rem, 2.2vw, 1rem);
  margin: 0;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-inline-end: 1rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

[dir="rtl"] .marquee-track {
  animation-name: marquee;
}

@media (max-width: 640px) {
  .partners-marquee-line {
    max-width: 40px;
  }

  .partners-marquee-title {
    white-space: normal;
    max-width: 22ch;
    line-height: 1.35;
  }

  .marquee-item {
    width: 148px;
    height: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .marquee-group[aria-hidden="true"] {
    display: none;
  }

  .hero-slide .hero-media img,
  .hero-slide .hero-media::before,
  .hero-logo-chip,
  .hero-logo-chip::before,
  .marquee-item,
  .marquee-item::before,
  .partners-marquee--featured::before {
    animation: none !important;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

@keyframes kenburns {
  to {
    transform: scale(1.18) translate(-1.5%, -1%);
  }
}

@keyframes heroCinema {
  0% {
    transform: scale(1.08) translate3d(calc(var(--mx) * 1.2% - 0.4%), calc(var(--my) * 1.2% + 0.6%), 0);
    filter: brightness(0.98) saturate(1.02) contrast(1.02);
  }
  50% {
    transform: scale(1.18) translate3d(calc(var(--mx) * 1.2% + 2.2%), calc(var(--my) * 1.2% - 1.4%), 0);
    filter: brightness(1.06) saturate(1.1) contrast(1.04);
  }
  100% {
    transform: scale(1.14) translate3d(calc(var(--mx) * 1.2% - 1.8%), calc(var(--my) * 1.2% + 1.2%), 0);
    filter: brightness(1.02) saturate(1.06) contrast(1.03);
  }
}

@keyframes heroLightSweep {
  0%,
  18% {
    transform: translateX(-45%);
    opacity: 0.15;
  }
  48% {
    transform: translateX(15%);
    opacity: 0.55;
  }
  100% {
    transform: translateX(55%);
    opacity: 0.2;
  }
}

.hero-progress {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 6;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  pointer-events: none;
}

.hero-progress > i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0a8a48, #c49a6c);
  transform-origin: left center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(0, 77, 38, 0.72) 55%, rgba(0, 50, 28, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 40, 22, 0.55), transparent 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  animation: rise 0.9s var(--ease) both;
  position: relative;
  padding: 3px;
  border-radius: 18px;
}

.hero-brand::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 2.5px;
  background: conic-gradient(
    #006c35,
    #0a8a48,
    #c49a6c,
    #e8c97a,
    #c8102e,
    #006c35
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: logoFrameRotate 5s linear infinite;
}

.hero-brand::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(232, 201, 122, 0.35), transparent 70%);
  animation: logoAura 3s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

.hero-brand img {
  position: relative;
  z-index: 1;
  width: min(132px, 38vw);
  height: auto;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.45rem 0.6rem;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  animation: logoFloat 3.4s ease-in-out infinite;
}

.hero-brand-name {
  display: none;
}

@media (min-width: 768px) {
  .hero-brand img {
    width: 148px;
  }
}

.hero-slide h1 {
  font-size: clamp(1.55rem, 4.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.hero-slide p {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 38ch;
  opacity: 0.92;
  margin-bottom: 1.75rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.32s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 1.25rem;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}

.hero-scroll i {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 4px;
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

[dir="rtl"] .hero-scroll {
  transform: translateX(50%);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 3rem;
  color: var(--white);
  overflow: hidden;
}

.page-hero .hero-media img {
  animation: none;
  transform: scale(1.05);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.4rem;
  animation: rise 0.8s var(--ease) both;
}

.page-hero p {
  opacity: 0.9;
  max-width: 42ch;
  animation: rise 0.8s 0.1s var(--ease) both;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
  opacity: 0.85;
}

.breadcrumb a:hover {
  color: #b8f0ce;
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.5rem 0;
}

/* Invoice-style logo watermark in open/light areas */
.section:not(.section-dark)::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background: url("../img/logo.png") center / 150px repeat;
  opacity: 0.032;
  transform: rotate(-16deg);
  transform-origin: center center;
}

.section:not(.section-dark)::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 0;
  width: min(220px, 42vw);
  height: min(220px, 42vw);
  pointer-events: none;
  background: url("../img/logo.png") center / contain no-repeat;
  opacity: 0.045;
  transform: translate(-50%, -50%);
  filter: grayscale(0.15);
}

.section > .container,
.section > .container-wide,
.section > .cta-banner {
  position: relative;
  z-index: 1;
}

.section-alt {
  background: var(--bg);
}

.section-alt:not(.section-dark)::before {
  opacity: 0.04;
}

.section-alt:not(.section-dark)::after {
  opacity: 0.055;
}

.section-dark {
  background: linear-gradient(145deg, var(--green-dark), #01321a 60%, #0a1f14);
  color: var(--white);
}

.section-dark::before,
.section-dark::after {
  content: none;
}

@media (prefers-reduced-motion: reduce) {
  .section:not(.section-dark)::before {
    transform: none;
    inset: 0;
  }
}

/* Soft logo wash behind contact cards / light panels */
.contact-info,
.about-story,
.values-grid,
.services-grid {
  position: relative;
}

.contact-grid {
  position: relative;
  isolation: isolate;
}

.contact-grid::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  z-index: 0;
  pointer-events: none;
  background: url("../img/logo.png") center / contain no-repeat;
  opacity: 0.04;
  filter: grayscale(0.1);
}

.contact-grid > * {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--red);
}

.section-dark .eyebrow {
  color: #8fefb5;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-dark .section-head h2 {
  color: var(--white);
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: blur(0);
}

.reveal.reveal-soft {
  transform: translateY(28px) scale(0.985);
  filter: blur(4px);
}

.reveal.reveal-left {
  transform: translateX(-36px);
}

.reveal.reveal-right {
  transform: translateX(36px);
}

.reveal.reveal-zoom {
  transform: scale(0.94);
}

.reveal.visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ---------- Site motion system ---------- */
.mst-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 108, 53, 0.55);
  background: rgba(10, 138, 72, 0.12);
  pointer-events: none;
  z-index: 30000;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) scale(0.6);
  transition: opacity 0.25s ease, transform 0.18s var(--ease), width 0.2s, height 0.2s, margin 0.2s, background 0.2s;
  mix-blend-mode: multiply;
}

.mst-cursor.is-on {
  opacity: 1;
}

.mst-cursor.is-hot {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  background: rgba(10, 138, 72, 0.16);
  border-color: rgba(0, 108, 53, 0.75);
}

body.has-mst-cursor {
  cursor: none;
}

body.has-mst-cursor a,
body.has-mst-cursor button,
body.has-mst-cursor .nav-toggle,
body.has-mst-cursor .service-tile,
body.has-mst-cursor .btn {
  cursor: none;
}

body.has-mst-cursor input,
body.has-mst-cursor textarea,
body.has-mst-cursor select,
body.has-mst-cursor [contenteditable="true"] {
  cursor: text;
}

.img-motion {
  overflow: hidden;
  isolation: isolate;
}

.img-motion > img,
.service-tile img,
.split-media img,
.page-hero .hero-media img,
.svc-gallery img,
.svc-aside img,
.about-gallery img {
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
  will-change: transform;
}

.service-tile:hover img,
.split-media:hover img,
.img-motion:hover > img,
.svc-gallery figure:hover img {
  transform: scale(1.07);
  filter: saturate(1.08) brightness(1.03);
}

.service-tile,
.stat-card,
.svc-hub-card,
.pill-card,
.contact-card,
.why-card,
.value-card {
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}

.service-tile:hover,
.stat-card:hover,
.svc-hub-card:hover,
.pill-card:hover,
.contact-card:hover,
.why-card:hover,
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

.btn,
.nav-link,
.app-dock-item,
.bot-fab {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
}

.btn:hover {
  transform: translateY(-2px);
}

.section-head.reveal.visible h2,
.section-head.reveal.visible p {
  animation: textRise 0.85s var(--ease) both;
}

.section-head.reveal.visible p {
  animation-delay: 0.1s;
}

@keyframes textRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.parallax-media {
  --py: 0;
}

.parallax-media img {
  transform: translate3d(0, calc(var(--py) * 1px), 0) scale(1.08);
  transition: transform 0.12s linear;
}

.stagger-kids > *.reveal.visible {
  animation: textRise 0.7s var(--ease) both;
}

@media (hover: hover) and (pointer: fine) {
  .tilt-ready {
    transform-style: preserve-3d;
    perspective: 900px;
  }

  .tilt-ready.is-tilting {
    transition: transform 0.12s linear;
  }
}

@media (max-width: 900px) {
  .mst-cursor {
    display: none !important;
  }

  body.has-mst-cursor {
    cursor: auto;
  }

  .service-tile:hover,
  .stat-card:hover,
  .svc-hub-card:hover {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mst-cursor,
  .hero-progress {
    display: none !important;
  }

  .service-tile:hover img,
  .split-media:hover img,
  .img-motion:hover > img {
    transform: none;
    filter: none;
  }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -3rem;
  position: relative;
  z-index: 5;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 108, 53, 0.06);
}

.stat-card strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--green);
  font-weight: 800;
  line-height: 1.1;
}

.stat-card span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
    margin-top: -2rem;
  }
}

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg);
}

.split-badge {
  position: absolute;
  inset-inline-end: 1rem;
  bottom: 1rem;
  background: var(--white);
  color: var(--green);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-weight: 800;
  font-size: 0.9rem;
  max-width: 180px;
  line-height: 1.35;
}

.split-badge em {
  display: block;
  font-style: normal;
  color: var(--red);
  font-size: 1.4rem;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-media img {
    height: 280px;
  }
}

.check-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006c35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center/12px no-repeat;
}

/* ---------- Service tiles ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  color: var(--white);
  isolation: isolate;
}

.service-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  z-index: -2;
}

.service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 40, 22, 0.88) 100%);
  z-index: -1;
}

.service-tile:hover img {
  transform: scale(1.08);
}

.service-tile-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
}

.service-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8fefb5;
  margin-bottom: 0.4rem;
}

.service-tile h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.service-tile p {
  font-size: 0.9rem;
  opacity: 0.88;
  margin-bottom: 0.85rem;
}

.service-tile .link {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-tile .link::after {
  content: "→";
  transition: transform 0.3s;
}

[dir="rtl"] .service-tile .link::after {
  content: "←";
}

.service-tile:hover .link::after {
  transform: translateX(4px);
}

[dir="rtl"] .service-tile:hover .link::after {
  transform: translateX(-4px);
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Detail service cards */
.service-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
}

.service-detail-media {
  min-height: 220px;
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-body {
  padding: 1.75rem 1.5rem;
}

.service-detail-body h3 {
  font-size: 1.35rem;
  color: var(--green);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.service-detail-body > p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.service-detail-body ul {
  display: grid;
  gap: 0.55rem;
}

.service-detail-body li {
  position: relative;
  padding-inline-start: 1.15rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.service-detail-body li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

@media (max-width: 800px) {
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail-media {
    height: 200px;
  }
}

/* ---------- Values / Vision ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.info-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s;
}

.info-panel:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 108, 53, 0.2);
}

.info-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-light);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.info-panel h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.info-panel p {
  color: var(--muted);
  font-size: 0.95rem;
}

.vision-card {
  background: linear-gradient(160deg, var(--green), var(--green-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  inset-inline-end: -40px;
  top: -40px;
}

.vision-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.vision-card p {
  opacity: 0.92;
  position: relative;
}

.mission-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}

.mission-card h3 {
  color: var(--green);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.mission-card p {
  color: var(--muted);
}

@media (max-width: 900px) {
  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .cards-2,
  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Compare ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.compare-col {
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
}

.compare-col.muted-col {
  background: var(--silver);
}

.compare-col.brand-col {
  background: var(--white);
  border-color: rgba(0, 108, 53, 0.25);
  box-shadow: var(--shadow);
  position: relative;
}

.compare-col.brand-col::before {
  content: attr(data-badge);
  position: absolute;
  top: -12px;
  inset-inline-end: 1.25rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.compare-col h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.compare-col.brand-col h3 {
  color: var(--green);
}

.compare-col li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.92rem;
  color: var(--ink);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.compare-col li:last-child {
  border-bottom: 0;
}

.compare-col.muted-col li::before {
  content: "–";
  color: var(--muted);
  font-weight: 700;
}

.compare-col.brand-col li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 760px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

/* ---------- Steps / Methodology ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #8fefb5;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.step p {
  font-size: 0.9rem;
  opacity: 0.82;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Partners ---------- */
.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.partner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1rem 1.15rem;
  text-align: center;
  transition: 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}

.partner:hover {
  border-color: rgba(0, 108, 53, 0.35);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.partner-logo {
  width: 100%;
  height: 88px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  background: #fafbf9;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.partner-logo img {
  max-width: 100%;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.06));
  transition: transform 0.35s var(--ease);
}

.partner:hover .partner-logo img {
  transform: scale(1.04);
}

.partner strong {
  display: block;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.partner span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .partners {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .partners {
    grid-template-columns: 1fr;
  }

  .partner-logo {
    height: 96px;
  }
}

/* ---------- Gallery strip ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 180px 180px;
  gap: 0.75rem;
}

.gallery figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.gallery figure:first-child {
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.06);
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
  }

  .gallery figure:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  padding: 3rem 2rem;
  color: var(--white);
  text-align: center;
}

.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 77, 38, 0.92), rgba(200, 16, 46, 0.55));
  z-index: 1;
}

.cta-band > * {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.65rem;
  max-width: 22ch;
  margin-inline: auto;
}

.cta-band p {
  opacity: 0.92;
  margin-bottom: 1.5rem;
  max-width: 42ch;
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.1rem;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.contact-item p,
.contact-item a {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-item a {
  display: block;
}

.contact-item a:hover {
  color: var(--green);
}

.contact-item .wa-link {
  margin-top: 0.25rem;
  color: var(--green);
  font-weight: 700;
}

.contact-item .wa-link:hover {
  color: var(--green-dark);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 108, 53, 0.12);
  background: var(--white);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-success.show {
  display: block;
}

@media (max-width: 860px) {
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  padding-top: 3.75rem;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(10, 138, 72, 0.28), transparent 60%),
    radial-gradient(700px 360px at 10% 110%, rgba(196, 154, 108, 0.12), transparent 55%),
    linear-gradient(180deg, #0a1c14 0%, #06140e 48%, #04100b 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0a8a48 20%, #c49a6c 50%, #0a8a48 80%, transparent);
  opacity: 0.9;
  z-index: 1;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .site-footer {
    padding-bottom: 0.5rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.05fr 1.2fr;
  gap: 2.25rem 2rem;
  padding-bottom: 2.75rem;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 1rem;
  max-width: 34ch;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
  border-radius: 14px;
  padding: 0.5rem 0.7rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.footer-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.footer-brand img,
.footer-logo img {
  width: auto;
  height: 72px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
}

.footer-brand h3 {
  display: none;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(232, 245, 238, 0.78);
  margin: 0;
}

.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: #04100b;
  background: linear-gradient(145deg, #8fefb5, #0a8a48);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), filter 0.25s;
}

.footer-pill:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  color: #04100b;
}

.footer-pill--ghost {
  color: #e8f5ee;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.footer-pill--ghost:hover {
  color: #fff;
  border-color: rgba(143, 239, 181, 0.45);
  background: rgba(10, 138, 72, 0.22);
  filter: none;
}

.footer-col h4 {
  position: relative;
  color: #fff;
  font-size: 0.98rem;
  margin: 0 0 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding-bottom: 0.65rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 2rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0a8a48, #c49a6c);
}

.footer-col nav,
.footer-links {
  display: grid;
  gap: 0.15rem;
}

.footer-col a:not(.footer-pill):not(.footer-contact-link) {
  display: block;
  width: fit-content;
  font-size: 0.9rem;
  padding: 0.38rem 0;
  color: rgba(232, 245, 238, 0.78);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s var(--ease);
}

.footer-col a:not(.footer-pill):not(.footer-contact-link):hover {
  color: #8fefb5;
  transform: translateX(-3px);
}

html[lang="en"] .footer-col a:not(.footer-pill):not(.footer-contact-link):hover {
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(232, 245, 238, 0.82);
}

.footer-contact-item .footer-ico {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(10, 138, 72, 0.18);
  border: 1px solid rgba(143, 239, 181, 0.18);
  color: #8fefb5;
  flex-shrink: 0;
}

.footer-contact-item .footer-ico svg {
  width: 15px;
  height: 15px;
}

.footer-contact-item .footer-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(143, 239, 181, 0.85);
  margin-bottom: 0.15rem;
}

.footer-contact-title {
  display: block;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

.footer-contact-link {
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  transition: color 0.2s;
}

.footer-contact-link:hover {
  color: #8fefb5;
}

.footer-contact-item .phone-ltr {
  direction: ltr;
  unicode-bidi: plaintext;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 0 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.18);
}

.footer-bottom > span[data-i18n="footer_copy"] {
  opacity: 0.72;
  max-width: 48ch;
  line-height: 1.5;
}

.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.8rem 0.45rem 0.45rem;
  border-radius: 999px;
  text-decoration: none;
  color: #e8f5ee;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.footer-dev:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 239, 181, 0.45);
  color: #fff;
  background: linear-gradient(135deg, rgba(10, 138, 72, 0.35), rgba(255, 255, 255, 0.06));
}

.footer-dev-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: #04100b;
  background: linear-gradient(145deg, #e8c97a, #c49a6c);
  box-shadow: 0 6px 16px rgba(196, 154, 108, 0.35);
}

.footer-dev-copy {
  display: grid;
  gap: 0.05rem;
  line-height: 1.2;
}

.footer-dev-copy span {
  font-size: 0.68rem;
  opacity: 0.72;
  font-weight: 600;
}

.footer-dev-copy strong {
  font-size: 0.84rem;
  font-weight: 800;
}

.footer-dev-copy em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #8fefb5;
  opacity: 0.95;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 48ch;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Utilities ---------- */
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.text-center {
  text-align: center;
}
.text-muted {
  color: var(--muted);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
}
.mb-1 {
  margin-bottom: 1rem;
}

.disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1.25rem;
  line-height: 1.5;
}

/* ——— Service showcase pages ——— */
.nav-drop--wide {
  min-width: min(560px, calc(100vw - 2rem));
  inset-inline-start: 50%;
}

.nav-drop--mega .nav-drop-panel {
  padding: 0.85rem;
}

.nav-mega-head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.35rem 0.55rem 0.75rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(0, 108, 53, 0.1);
}

.nav-mega-head strong {
  font-size: 0.95rem;
  color: var(--green-dark);
}

.nav-mega-head span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.nav-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.nav-mega-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s, background 0.2s, box-shadow 0.25s;
  animation: nav-mega-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav-mega-card:nth-child(1) { animation-delay: 0.04s; }
.nav-mega-card:nth-child(2) { animation-delay: 0.08s; }
.nav-mega-card:nth-child(3) { animation-delay: 0.12s; }
.nav-mega-card:nth-child(4) { animation-delay: 0.16s; }

@keyframes nav-mega-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-mega-card:hover,
.nav-mega-card.active {
  background: #fff;
  border-color: rgba(0, 108, 53, 0.18);
  box-shadow: 0 10px 24px rgba(0, 108, 53, 0.12);
  transform: translateY(-2px);
}

.nav-mega-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  background: var(--bg, #eef3f0);
}

.nav-mega-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.nav-mega-copy strong {
  font-size: 0.84rem;
  line-height: 1.3;
  color: var(--ink);
}

.nav-mega-copy small {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav-mega-all {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.55rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.86rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #0a8a48, #006c35);
  box-shadow: 0 10px 22px rgba(0, 108, 53, 0.25);
  transition: transform 0.2s, filter 0.2s;
}

.nav-mega-all:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.nav-drop-link--all {
  margin-top: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 108, 53, 0.1);
  color: var(--green-dark);
}

.svc-bank {
  align-items: center;
}

.svc-bank-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.svc-bank-list li {
  position: relative;
  padding-inline-start: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.svc-bank-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a8a48, #006c35);
}

@media (max-width: 991px) {
  .nav-mega-grid {
    grid-template-columns: 1fr;
  }
}

.svc-page .svc-intro .split-media img {
  border-radius: 20px;
}

.svc-offer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.svc-offer-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(10, 138, 72, 0.1);
  border: 1px solid rgba(0, 108, 53, 0.14);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.86rem;
}

.svc-check-list {
  max-width: 720px;
  margin-inline: auto;
}

.svc-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.svc-gallery figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 14px 34px rgba(8, 30, 18, 0.12);
}

.svc-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.svc-gallery figure:hover img {
  transform: scale(1.04);
}

.svc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 820px;
  margin-inline: auto;
  position: relative;
}

.svc-steps::before {
  content: "";
  position: absolute;
  inset-inline-start: 1.35rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--green), rgba(0, 108, 53, 0.15));
}

.svc-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  padding: 1.1rem 0 1.35rem;
  position: relative;
}

.svc-step-num {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(0, 108, 53, 0.25);
  z-index: 1;
}

.svc-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.svc-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.svc-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.svc-pillar {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 108, 53, 0.1);
  box-shadow: 0 16px 36px rgba(8, 30, 18, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.svc-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(8, 30, 18, 0.12);
}

.svc-pillar img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.svc-pillar-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.svc-pillar-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  color: var(--green-dark);
}

.svc-pillar-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.svc-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.svc-hub-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 108, 53, 0.1);
  box-shadow: 0 16px 40px rgba(8, 30, 18, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.svc-hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(8, 30, 18, 0.14);
}

.svc-hub-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.svc-hub-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.svc-hub-card:hover .svc-hub-card-media img {
  transform: scale(1.06);
}

.svc-hub-card-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: grid;
  gap: 0.55rem;
}

.svc-hub-card-body h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--ink);
}

.svc-hub-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.svc-hub-card-link {
  font-weight: 800;
  color: var(--green-dark);
  font-size: 0.88rem;
}

.svc-hub-card-link::after {
  content: " →";
}

html[dir="rtl"] .svc-hub-card-link::after {
  content: " ←";
}

@media (max-width: 991px) {
  .svc-pillars,
  .svc-gallery {
    grid-template-columns: 1fr;
  }

  .svc-hub-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .svc-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    max-width: none;
  }

  .svc-steps::before {
    display: none;
  }

  .svc-step {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0;
    gap: 0.75rem;
  }

  .svc-step-num {
    margin-inline: auto;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
