/* Zhazhan Group — design refresh layer (loaded after responsive.css).
   Mixed dark + light rhythm: hero, dark bands, CTA and footer stay dark for
   brand impact; .zha-surface / .zha-surface-alt bands become bright. Also:
   livelier cards, buttons, steps, and the WhatsApp contact components. */

:root {
  --c-gold: #FFC93C;
  --c-wa: #25D366;
  --c-wa-dark: #128C7E;
  --grad-accent: linear-gradient(135deg, #1EA7F2 0%, #0E6FB8 100%);
  --shadow-card-light: 0 1px 2px rgba(11, 26, 42, 0.06), 0 8px 24px rgba(11, 26, 42, 0.06);
  --shadow-card-light-hover: 0 2px 4px rgba(11, 26, 42, 0.06), 0 22px 48px rgba(14, 111, 184, 0.16);
}

/* ============================================================
   Section rhythm
   ============================================================ */

/* Dark bands: soft blue glow + faint grid so they never read as flat black. */
.et-l--post .zha-sec:not(.zha-surface):not(.zha-surface-alt):not(.zha-bg-2):not(.zha-hero):not(.zha-hero-interior):not(:has(.zha-wa-cards)) {
  position: relative;
  background:
    radial-gradient(800px 380px at 12% 0%, rgba(30, 167, 242, 0.13), transparent 65%),
    radial-gradient(700px 360px at 92% 100%, rgba(30, 167, 242, 0.09), transparent 65%),
    linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-2) 100%);
}
.et-l--post .zha-sec:not(.zha-surface):not(.zha-surface-alt):not(.zha-bg-2):not(.zha-hero):not(.zha-hero-interior):not(:has(.zha-wa-cards))::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.et-l--post .zha-sec > .et_pb_row { position: relative; z-index: 1; }

/* Light bands. */
.et-l--post .zha-sec.zha-surface { background: #FFFFFF; color: var(--c-light-text); }
.et-l--post .zha-sec.zha-bg-2 { background: #FFFFFF; color: var(--c-light-text); }
.et-l--post .zha-sec.zha-surface-alt { background: linear-gradient(180deg, #F4F7FB 0%, #EAF1F9 100%); color: var(--c-light-text); }
.et-l--post .zha-sec + .zha-sec { border-top: 0; }

.et-l--post :is(.zha-surface, .zha-surface-alt, .zha-bg-2) :is(h2.zha-h2, h3.zha-h3, .et_pb_text_inner h2, .et_pb_text_inner h3, .et_pb_text_inner strong) { color: var(--c-light-text); }
.et-l--post :is(.zha-surface, .zha-surface-alt, .zha-bg-2) :is(.zha-section-lede, .zha-lede, .et_pb_text_inner, .zha-muted) { color: var(--c-light-text-2); }
.et-l--post :is(.zha-surface, .zha-surface-alt, .zha-bg-2) .zha-eyebrow { color: var(--c-light-link); }
.et-l--post :is(.zha-surface, .zha-surface-alt, .zha-bg-2) .et_pb_text_inner a { color: var(--c-light-link); text-decoration-color: rgba(14, 111, 184, 0.4); }

/* Eyebrow: accent dash before the label. */
.et-l--post .zha-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-accent-hover);
}
.et-l--post .zha-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-accent);
  flex: 0 0 auto;
}
.et-l--post .zha-hero .zha-eyebrow,
.et-l--post .zha-hero-interior .zha-eyebrow { color: var(--c-gold); }
.et-l--post .zha-hero .zha-eyebrow::before,
.et-l--post .zha-hero-interior .zha-eyebrow::before { background: var(--c-gold); }

/* Section headings a touch larger and tighter. */
.et-l--post h2.zha-h2 { letter-spacing: -0.015em; }

/* Interior heroes: brighter photo (lighter overlay) + gold underline. */
.et-l--post .zha-hero-interior { border-bottom: 0; }
.et-l--post .zha-hero-interior::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-accent) 30%, var(--c-gold) 70%, transparent);
  opacity: 0.7;
}

/* Home hero: let more of the photo through. */
.et-l--post .zha-hero::before {
  background:
    linear-gradient(100deg, rgba(7, 17, 31, 0.9) 0%, rgba(7, 17, 31, 0.68) 50%, rgba(7, 17, 31, 0.35) 100%),
    url('../img/hero/home.jpg') center / cover no-repeat;
}
.et-l--post .zha-hero::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(7, 17, 31, 0.6));
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   Cards
   ============================================================ */
.et-l--post .zha-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.et-l--post .zha-card::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
[dir="rtl"] .et-l--post .zha-card::before { transform-origin: right; }
.et-l--post .zha-card:hover {
  transform: translateY(-6px);
  border-color: rgba(30, 167, 242, 0.45);
  box-shadow: 0 24px 50px rgba(2, 8, 20, 0.45), 0 0 0 1px rgba(30, 167, 242, 0.15);
}
.et-l--post .zha-card:hover::before { transform: scaleX(1); }

/* Cards on light bands. */
.et-l--post :is(.zha-surface, .zha-surface-alt, .zha-bg-2) .zha-card {
  background: #FFFFFF;
  border: 1px solid var(--c-light-border);
  box-shadow: var(--shadow-card-light);
}
.et-l--post :is(.zha-surface, .zha-surface-alt, .zha-bg-2) .zha-card:hover {
  border-color: rgba(30, 167, 242, 0.45);
  box-shadow: var(--shadow-card-light-hover);
}
.et-l--post :is(.zha-surface, .zha-surface-alt, .zha-bg-2) .zha-card .et_pb_module_header,
.et-l--post :is(.zha-surface, .zha-surface-alt, .zha-bg-2) .zha-card h3,
.et-l--post :is(.zha-surface, .zha-surface-alt, .zha-bg-2) .zha-card h4 { color: var(--c-light-text); }
.et-l--post :is(.zha-surface, .zha-surface-alt, .zha-bg-2) .zha-card :is(.et_pb_blurb_description, .et_pb_blurb_description p) { color: var(--c-light-text-2); }
.et-l--post .zha-surface-alt .zha-card { background: #FFFFFF; }

/* Small accent badge on title-only cards (e.g. "Who we serve"). */
.et-l--post .zha-card .et_pb_module_header::before {
  content: '';
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 10px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat,
    var(--grad-accent);
  box-shadow: 0 6px 16px rgba(30, 167, 242, 0.35);
}
[dir="rtl"] .et-l--post .zha-card .et_pb_module_header::before { transform: scaleX(-1); }
.et-l--post .zha-step .et_pb_module_header::before { display: none; }

/* "Explore …" link inside link cards: arrow that slides on hover. */
.et-l--post .zha-card__more { margin-top: 14px; }
.et-l--post .zha-card__more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none !important;
  color: var(--c-accent);
}
.et-l--post .zha-card__more a::after {
  content: '→';
  transition: transform .25s ease;
}
[dir="rtl"] .et-l--post .zha-card__more a::after { content: '←'; }
.et-l--post .zha-card:hover .zha-card__more a::after { transform: translateX(4px); }
[dir="rtl"] .et-l--post .zha-card:hover .zha-card__more a::after { transform: translateX(-4px); }
.et-l--post :is(.zha-surface, .zha-surface-alt, .zha-bg-2) .zha-card__more a { color: var(--c-light-link); }

/* Whole link card clickable: stretch the inner link over the card. */
.et-l--post .zha-card:has(.zha-card__more a) { cursor: pointer; }
.et-l--post .zha-card__more a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ============================================================
   Process steps — numbered circles joined by a line
   ============================================================ */
.et-l--post .zha-step { padding-top: 0; }
.et-l--post .zha-step__num {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #FFFFFF;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 6px rgba(30, 167, 242, 0.12), 0 10px 24px rgba(30, 167, 242, 0.3);
}
@media (min-width: 981px) {
  .et-l--post .et_pb_column:has(> .zha-step):not(:last-child) .zha-step::after {
    content: '';
    position: absolute;
    top: 26px;
    inset-inline-start: 64px;
    inset-inline-end: -16px;
    height: 2px;
    background: linear-gradient(90deg, rgba(30, 167, 242, 0.6), rgba(30, 167, 242, 0.05));
  }
  [dir="rtl"] .et-l--post .et_pb_column:has(> .zha-step):not(:last-child) .zha-step::after {
    background: linear-gradient(270deg, rgba(30, 167, 242, 0.6), rgba(30, 167, 242, 0.05));
  }
}
.et-l--post .zha-step h3.zha-h3 { font-size: 1.15rem; }

/* ============================================================
   Bullet lists — check icons
   ============================================================ */
.et-l--post .zha-ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.et-l--post .zha-ul li {
  position: relative;
  padding: 14px 18px;
  padding-inline-start: 52px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--c-text);
  font-weight: 500;
  margin: 0 !important;
  transition: border-color .2s ease, transform .2s ease;
}
.et-l--post .zha-ul li:hover { border-color: rgba(30, 167, 242, 0.45); transform: translateX(4px); }
[dir="rtl"] .et-l--post .zha-ul li:hover { transform: translateX(-4px); }
.et-l--post .zha-ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat,
    var(--grad-accent);
}
.et-l--post .zha-ul li::marker { content: ''; }
.et-l--post :is(.zha-surface, .zha-surface-alt, .zha-bg-2) .zha-ul li {
  background: #FFFFFF;
  border-color: var(--c-light-border);
  color: var(--c-light-text);
  box-shadow: var(--shadow-card-light);
}

/* ============================================================
   Buttons
   ============================================================ */
.et-l--post a.et_pb_button.zha-btn-primary,
.et-l--post .zha-btn-primary .et_pb_button,
.et-l--post .zha-cta .et_pb_promo_button,
.et-l--footer a.et_pb_button.zha-btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--grad-accent) !important;
  color: #FFFFFF !important;
  padding: 0.85em 1.6em !important;
  box-shadow: 0 10px 24px rgba(30, 167, 242, 0.3);
}
.et-l--post a.et_pb_button.zha-btn-primary::before,
.et-l--post .zha-cta .et_pb_promo_button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.et-l--post a.et_pb_button.zha-btn-primary:hover::before,
.et-l--post .zha-cta .et_pb_promo_button:hover::before { left: 130%; }
.et-l--post a.et_pb_button.zha-btn-primary:hover,
.et-l--post .zha-cta .et_pb_promo_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(30, 167, 242, 0.42);
}

.et-l--post a.et_pb_button.zha-btn-ghost,
.et-l--post .zha-btn-ghost .et_pb_button {
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  padding: 0.85em 1.6em !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.06) !important;
}
.et-l--post a.et_pb_button.zha-btn-ghost:hover { border-color: #FFFFFF !important; background: rgba(255, 255, 255, 0.14) !important; }

/* Every WhatsApp CTA (content buttons link to #zha-whatsapp) is brand green. */
.et-l--post a.et_pb_button[href="#zha-whatsapp"],
.et-l--post .et_pb_promo_button[href="#zha-whatsapp"],
a.zha-btn-whatsapp,
.et-l--header a.zha-btn-whatsapp,
.et-l--footer a.zha-btn-whatsapp {
  background: linear-gradient(135deg, #2BE071 0%, var(--c-wa) 45%, var(--c-wa-dark) 100%) !important;
  color: #FFFFFF !important;
  border: 0 !important;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
}
.et-l--post a.et_pb_button[href="#zha-whatsapp"]:hover,
.et-l--post .et_pb_promo_button[href="#zha-whatsapp"]:hover,
a.zha-btn-whatsapp:hover {
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.42);
  transform: translateY(-2px);
  color: #FFFFFF !important;
}
/* Icon for Divi-rendered WhatsApp buttons (shortcode buttons carry an inline SVG). */
.et-l--post a.et_pb_button[href="#zha-whatsapp"]::after,
.et-l--post .et_pb_promo_button[href="#zha-whatsapp"]::after {
  content: '' !important;
  display: inline-block !important;
  position: static !important;
  order: -1;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  opacity: 1 !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M17.47 14.38c-.3-.15-1.75-.86-2.02-.96-.27-.1-.47-.15-.67.15-.2.3-.77.96-.94 1.16-.17.2-.35.22-.64.07-.3-.15-1.25-.46-2.38-1.47-.88-.79-1.47-1.76-1.65-2.05-.17-.3-.02-.46.13-.6.13-.14.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.61-.92-2.2-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48 0 1.46 1.07 2.88 1.21 3.07.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.7.63.71.23 1.36.2 1.87.12.57-.08 1.75-.72 2-1.41.25-.69.25-1.29.17-1.41-.07-.12-.27-.2-.57-.35zM12.04 21.5a9.45 9.45 0 0 1-4.82-1.32l-.35-.21-3.58.94.96-3.49-.23-.36a9.43 9.43 0 0 1-1.45-5.03c0-5.22 4.25-9.46 9.48-9.46 2.53 0 4.9.99 6.69 2.78a9.4 9.4 0 0 1 2.77 6.69c0 5.22-4.25 9.46-9.46 9.46zm8.05-17.51A11.3 11.3 0 0 0 12.04.66C5.77.66.67 5.76.66 12.03c0 2 .52 3.96 1.52 5.69L.57 23.6l6.02-1.58a11.35 11.35 0 0 0 5.44 1.39c6.27 0 11.37-5.1 11.37-11.37 0-3.04-1.18-5.9-3.33-8.05z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.et-l--post a.et_pb_button[href="#zha-whatsapp"]::before { display: none; }
.zha-btn-whatsapp .zha-wa-icon { flex: 0 0 auto; }

/* Header CTA stays compact. */
.et-l--header .zha-tb-cta a.zha-btn-whatsapp,
.zha-header-extras a.zha-btn-whatsapp { padding: 9px 16px; font-size: 0.85rem; line-height: 1; white-space: nowrap; }

/* ============================================================
   CTA banner — vivid gradient with glow
   ============================================================ */
.et-l--post .zha-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(37, 211, 102, 0.18), transparent 60%),
    radial-gradient(700px 300px at 0% 100%, rgba(30, 167, 242, 0.35), transparent 60%),
    linear-gradient(135deg, #0D2A4A 0%, #0B1E36 60%, #0A1629 100%);
  border: 1px solid rgba(30, 167, 242, 0.3);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(2, 8, 20, 0.5);
}
.et-l--post .zha-cta h2,
.et-l--post .zha-cta .et_pb_module_header { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); }

/* ============================================================
   Office cards (Network / Contact)
   ============================================================ */
.zha-office-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.zha-office-card:hover { transform: translateY(-4px); border-color: rgba(30, 167, 242, 0.45); box-shadow: 0 20px 44px rgba(2, 8, 20, 0.4); }
:is(.zha-surface, .zha-surface-alt, .zha-bg-2) .zha-office-card { background: #FFFFFF; border-color: var(--c-light-border); box-shadow: var(--shadow-card-light); }
:is(.zha-surface, .zha-surface-alt, .zha-bg-2) .zha-office-card__name,
:is(.zha-surface, .zha-surface-alt, .zha-bg-2) .zha-office-card__row { color: var(--c-light-text); }
:is(.zha-surface, .zha-surface-alt, .zha-bg-2) .zha-office-card :is(.zha-office-card__location, .zha-office-card__address, .zha-office-card__label) { color: var(--c-light-text-2); }

/* ============================================================
   WhatsApp — Contact page cards
   ============================================================ */
.zha-wa-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 24px;
}
a.zha-wa-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid var(--c-light-border);
  box-shadow: var(--shadow-card-light);
  color: var(--c-light-text) !important;
  text-decoration: none !important;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
a.zha-wa-card:hover { transform: translateY(-6px); border-color: rgba(37, 211, 102, 0.6); box-shadow: 0 22px 48px rgba(18, 140, 126, 0.18); }
.zha-wa-card__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border-radius: 16px;
  color: #FFFFFF;
  background: linear-gradient(135deg, #2BE071, var(--c-wa-dark));
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.35);
}
.zha-wa-card__name { font-size: 1.15rem; font-weight: 700; }
.zha-wa-card__loc { color: var(--c-light-text-2); font-size: 0.93rem; }
.zha-wa-card__num { color: var(--c-light-text-2); font-size: 0.93rem; text-align: start; }
.zha-wa-card__cta {
  margin-top: 12px;
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--c-wa);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.92rem;
}
a.zha-wa-card:hover .zha-wa-card__cta { background: var(--c-wa-dark); }
/* On a dark band. */
.zha-sec:not(.zha-surface):not(.zha-surface-alt) a.zha-wa-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--c-text) !important;
}
.zha-sec:not(.zha-surface):not(.zha-surface-alt) :is(.zha-wa-card__loc, .zha-wa-card__num) { color: var(--c-text-2); }

/* ============================================================
   WhatsApp — floating button + office picker
   ============================================================ */
.zha-wa {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.zha-wa__fab {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #2BE071, var(--c-wa) 50%, var(--c-wa-dark));
  box-shadow: 0 12px 30px rgba(18, 140, 126, 0.45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.zha-wa__fab:hover,
.zha-wa__fab:focus-visible { transform: scale(1.07); box-shadow: 0 16px 38px rgba(18, 140, 126, 0.55); }
.zha-wa__fab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--c-wa);
  opacity: 0;
}
.zha-wa.is-pulsing .zha-wa__fab::after { animation: zha-wa-ring 1.6s ease-out 3; }
@keyframes zha-wa-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.zha-wa__panel {
  width: min(340px, calc(100vw - 32px));
  border-radius: 20px;
  overflow: hidden;
  background: #FFFFFF;
  color: var(--c-light-text);
  box-shadow: 0 30px 70px rgba(2, 8, 20, 0.35);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
[dir="rtl"] .zha-wa__panel { transform-origin: bottom left; }
.zha-wa.is-open .zha-wa__panel,
.zha-wa__panel:target {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s ease, transform .25s ease, visibility 0s;
}
.zha-wa__panel:focus { outline: none; }
.zha-wa__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, var(--c-wa-dark), #0B6B60);
  color: #FFFFFF;
}
.zha-wa__head-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); flex: 0 0 auto; }
.zha-wa__title { margin: 0; padding: 0; font-weight: 700; font-size: 1rem; color: #FFFFFF; line-height: 1.3; }
.zha-wa__sub { margin: 2px 0 0; padding: 0; font-size: 0.83rem; color: rgba(255, 255, 255, 0.85); line-height: 1.4; }
.zha-wa__close {
  margin-inline-start: auto;
  color: #FFFFFF !important;
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
  opacity: 0.85;
  padding: 0 4px;
}
.zha-wa__close:hover { opacity: 1; }
.zha-wa__list { list-style: none; margin: 0; padding: 10px; }
.zha-wa__list li { margin: 0; padding: 0; }
.zha-wa__office {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  color: var(--c-light-text) !important;
  text-decoration: none !important;
  transition: background-color .2s ease;
}
.zha-wa__office:hover,
.zha-wa__office:focus-visible { background: #F0FBF4; }
.zha-wa__office-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.zha-wa__office-text strong { font-size: 0.97rem; }
.zha-wa__office-text small { color: var(--c-light-text-2); font-size: 0.8rem; }
.zha-wa__num { text-align: start; }
[dir="rtl"] .zha-wa__num { text-align: end; }
.zha-wa__go {
  margin-inline-start: auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--c-wa);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  flex: 0 0 auto;
}
@media (max-width: 600px) {
  .zha-wa { inset-inline-end: 14px; bottom: 14px; }
  .zha-wa__fab { width: 56px; height: 56px; }
}
@media print { .zha-wa { display: none !important; } }

/* ============================================================
   Header + footer polish
   ============================================================ */
html.zha-scrolled .et-l--header .zha-tb-header {
  background: rgba(7, 17, 31, 0.82);
  box-shadow: 0 10px 30px rgba(2, 8, 20, 0.35);
}
.et-l--header .zha-tb-header { transition: background-color .3s ease, box-shadow .3s ease; }

.et-l--footer .zha-tb-footer {
  position: relative;
  background:
    radial-gradient(900px 300px at 50% 0%, rgba(30, 167, 242, 0.1), transparent 70%),
    var(--c-bg) !important;
}
.et-l--footer .zha-tb-footer::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-accent), var(--c-gold), transparent);
  opacity: 0.6;
}
.zha-footer__list a { transition: color .2s ease, padding .2s ease; }
.zha-footer__list a:hover { padding-inline-start: 4px; }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .et-l--post .zha-card:hover,
  .et-l--post .zha-ul li:hover,
  a.zha-wa-card:hover,
  .zha-office-card:hover { transform: none; }
  .zha-wa.is-pulsing .zha-wa__fab::after { animation: none; }
}

/* Contact page: the WhatsApp cards replace the old form, so drop the form
   panel chrome and let the cards use the full row width. */
.et-l--post .zha-form-wrap:has(.zha-wa-cards) {
  background: none;
  border: 0;
  padding: 0;
  max-width: none;
}
.et-l--post .et_pb_code:has(.zha-wa-cards),
.et-l--post .et_pb_code:has(.zha-wa-cards) .et_pb_code_inner { max-inline-size: none; width: 100%; }
.et-l--post .et_pb_column:has(.zha-wa-cards) { width: 100% !important; max-width: 100% !important; flex-basis: 100% !important; margin-inline-end: 0 !important; }
@media (min-width: 981px) { .zha-wa-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* The WhatsApp section follows the dark offices band: render it light. */
.et-l--post .zha-sec:has(.zha-wa-cards):not(.zha-surface) { background: linear-gradient(180deg, #F4F7FB 0%, #EAF1F9 100%); }
.et-l--post .zha-sec:has(.zha-wa-cards) .zha-section-lede { color: var(--c-light-text-2); font-size: var(--fs-lede); }
.et-l--post .zha-sec:has(.zha-wa-cards) a.zha-wa-card {
  background: #FFFFFF;
  border-color: var(--c-light-border);
  color: var(--c-light-text) !important;
}
.et-l--post .zha-sec:has(.zha-wa-cards) :is(.zha-wa-card__loc, .zha-wa-card__num) { color: var(--c-light-text-2); }

/* Divi-rendered WhatsApp buttons: keep the icon centred on the label. */
.et-l--post a.et_pb_button[href="#zha-whatsapp"],
.et-l--post .et_pb_promo_button[href="#zha-whatsapp"] {
  display: inline-flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  line-height: 1.2 !important;
}
.et-l--post a.et_pb_button[href="#zha-whatsapp"]::after,
.et-l--post .et_pb_promo_button[href="#zha-whatsapp"]::after {
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* Header: size columns to their content (the longer "Why Choose Us" label and
   WhatsApp CTA overflowed the fixed 16/60/24 split, mostly in Kurdish). */
@media (min-width: 981px) {
  .et-l--header .zha-tb-header .et_pb_column_0_tb_header,
  .et-l--header .zha-tb-header .et_pb_column_2_tb_header {
    flex: 0 0 auto !important;
    max-width: none !important;
    width: auto !important;
  }
  .et-l--header .zha-tb-header .et_pb_column_1_tb_header {
    flex: 1 1 auto !important;
    max-width: none !important;
    width: auto !important;
    min-width: 0;
    justify-content: center;
  }
  .et-l--header .zha-tb-header .et_pb_column { margin-inline-end: 0 !important; }
  .et-l--header .zha-tb-header .et_pb_row { width: 94% !important; max-width: 1380px !important; gap: 20px; }
  .et-l--header .zha-wordmark__mark { height: 44px; }
  .et-l--header .zha-wordmark { gap: 10px; }
  .zha-tb-menu.et_pb_menu .et-menu > li > a { white-space: nowrap; }
}
/* Tighter desktops: WhatsApp header button shows only its icon. */
@media (min-width: 981px) and (max-width: 1400px) {
  .et-l--header a.zha-btn-whatsapp > span {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .et-l--header .zha-tb-cta a.zha-btn-whatsapp { padding: 9px 11px; }
  .zha-tb-menu.et_pb_menu .et-menu > li > a { padding: 5px 6px; font-size: 0.8rem; }
  .et-l--header .zha-wordmark__name { font-size: 0.95rem; }
}
@media (min-width: 981px) and (max-width: 1240px) {
  .et-l--header .zha-wordmark__text { display: none; }
  .et-l--header .zha-tb-header .et_pb_row { width: 96% !important; gap: 12px; }
  .zha-tb-menu.et_pb_menu .et-menu > li > a { padding: 5px 5px; font-size: 0.78rem; }
}
