/* =========================================================
   ARG Capital — Premium Corporate Design System
   ========================================================= */

:root {
  /* Brand */
  --brand: #1F4E78;
  --brand-deep: #163958;
  --brand-darker: #0E2A44;
  --brand-soft: #2A6FA8;
  --brand-pale: #E8EEF5;
  --brand-faint: #F4F7FB;

  /* Ink */
  --ink: #0A0F1A;
  --ink-2: #1A2332;
  --ink-3: #3B4858;
  --ink-4: #6B7787;
  --ink-5: #9AA4B2;

  /* Surface */
  --bg: #F7F8FB;
  --bg-2: #FBFCFD;
  --bg-soft: #EEF1F6;
  --surface: #FFFFFF;
  --line: rgba(31, 78, 120, 0.10);
  --line-2: rgba(10, 15, 26, 0.06);

  /* Accent — champagne gold, very restrained */
  --gold: #B89668;
  --booking-gold: #B89668;
  --booking-gold-dark: #9F7F55;
  --booking-gold-light: #C9AD86;
  --gold-soft: #D9C49A;
  --gold-pale: #F2E9D7;

  /* Type */
  --ff: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-num: "Manrope", "Tajawal", sans-serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 40px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(10, 15, 26, 0.04), 0 1px 1px rgba(10, 15, 26, 0.03);
  --sh-2: 0 4px 18px -8px rgba(22, 57, 88, 0.18), 0 2px 6px rgba(22, 57, 88, 0.06);
  --sh-3: 0 22px 60px -28px rgba(22, 57, 88, 0.35), 0 8px 24px -10px rgba(22, 57, 88, 0.12);
  --sh-glow: 0 0 0 1px rgba(31, 78, 120, 0.08), 0 30px 80px -40px rgba(31, 78, 120, 0.45);

  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  background-image:
    radial-gradient(1100px 700px at 90% -10%, rgba(31, 78, 120, 0.06), transparent 60%),
    radial-gradient(800px 600px at -5% 30%, rgba(184, 150, 104, 0.05), transparent 60%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 251, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-pale); }
.nav-links a.active {
  color: var(--brand);
  background: var(--brand-pale);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(-4px); }

.btn-primary {
  background: linear-gradient(180deg, #245E92 0%, #1F4E78 60%, #1A4368 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 12px 28px -10px rgba(22, 57, 88, 0.55), 0 2px 6px rgba(22, 57, 88, 0.18);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 18px 36px -10px rgba(22, 57, 88, 0.65), 0 4px 10px rgba(22, 57, 88, 0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--brand);
  border-color: rgba(31, 78, 120, 0.25);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-2); }

.btn-sm { padding: 10px 18px; font-size: 14px; }

/* Mobile nav */
.menu-toggle { display: none; }
.mobile-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 4px;
}
.mobile-links a {
  display: block;
  padding: 12px 8px;
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
  border-bottom: 1px solid var(--line-2);
}
.mobile-links .mobile-cta {
  margin-top: 12px;
  padding: 14px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  border: none;
}
body.menu-open .mobile-links { display: flex; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle {
    display: inline-flex;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface);
  }
  .nav-cta .btn { padding: 10px 16px; font-size: 13px; }
}

/* =========================================================
   Typography helpers
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand);
  text-transform: none;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h1, h2, h3, h4 { font-family: var(--ff); color: var(--ink); margin: 0; line-height: 1.2; }
h1 { font-weight: 800; font-size: clamp(40px, 5.2vw, 72px); letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.015em; }
h3 { font-weight: 700; font-size: clamp(20px, 1.6vw, 24px); }
h4 { font-weight: 700; font-size: 18px; }
p { margin: 0; }

.lead {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.75;
  color: var(--ink-3);
  font-weight: 400;
}

.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { width: 28px; }
.section-head p { margin-top: 18px; }

/* Decorative rule */
.rule-gold {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

/* =========================================================
   Cards
   ========================================================= */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--sh-1);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: rgba(31, 78, 120, 0.18);
}

.card-num {
  font-family: var(--ff-num);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: linear-gradient(180deg, #0A1828 0%, #0A0F1A 100%);
  color: #B6C0CE;
  padding: 96px 0 32px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(31, 78, 120, 0.35), transparent 60%),
    radial-gradient(600px 300px at 10% 100%, rgba(184, 150, 104, 0.08), transparent 60%);
  pointer-events: none;
}
.site-footer .container { position: relative; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.footer-brand img {
  height: 56px;
  filter: brightness(0) invert(1) opacity(0.95);
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: #8C97A6;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 14px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 24px; height: 1px;
  background: var(--gold);
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer-col a {
  font-size: 14px;
  color: #B6C0CE;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }

.footer-disclaimer {
  padding-top: 32px;
  font-size: 12.5px;
  line-height: 1.85;
  color: #6E7886;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-disclaimer-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
}
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #6E7886;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom a:hover { color: #fff; }


/* Footer contact form */
.footer-contact-panel {
  margin-top: 36px;
  margin-bottom: 36px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.035);
  display: grid;
  grid-template-columns: .9fr 1.6fr;
  gap: 34px;
  align-items: flex-start;
}
.footer-contact-panel h3 {
  color: #fff;
  font-size: 24px;
  margin: 8px 0 10px;
}
.footer-contact-panel p { color: #8C97A6; font-size: 14px; line-height: 1.8; }
.footer-mini-label {
  display: inline-flex;
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
}
.footer-contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.footer-contact-form input,
.footer-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 13px 15px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border .2s, background .2s, box-shadow .2s;
}
.footer-contact-form textarea { min-height: 92px; resize: vertical; }
.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder { color: rgba(255,255,255,0.42); }
.footer-contact-form input:focus,
.footer-contact-form textarea:focus {
  border-color: rgba(217,196,154,0.55);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 4px rgba(217,196,154,0.10);
}
.footer-contact-form .footer-form-note {
  color: #6E7886;
  font-size: 12px;
  line-height: 1.7;
}
@media (max-width: 980px) {
  .footer-contact-panel { grid-template-columns: 1fr; padding: 26px; }
  .footer-form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Hero composition pieces (shared)
   ========================================================= */
.stage {
  position: relative;
  isolation: isolate;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.4), transparent 30%),
    radial-gradient(900px 500px at 85% 20%, rgba(42, 111, 168, 0.10), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* 3D orb */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0.3px);
}
.orb-blue {
  background:
    radial-gradient(circle at 30% 25%, #6BA6D7 0%, #2A6FA8 22%, #1F4E78 48%, #163958 78%, #0E2A44 100%);
  box-shadow:
    inset -20px -30px 80px rgba(0,0,0,0.45),
    inset 20px 30px 60px rgba(255,255,255,0.18),
    0 50px 100px -30px rgba(22, 57, 88, 0.5),
    0 0 0 1px rgba(255,255,255,0.04);
}
.orb-blue::before {
  content: "";
  position: absolute;
  inset: 8% 8% auto auto;
  width: 35%; height: 25%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.55), transparent 70%);
  border-radius: 50%;
  filter: blur(8px);
}
.orb-soft {
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), rgba(232, 238, 245, 0.6) 40%, rgba(31, 78, 120, 0.18) 100%);
  filter: blur(20px);
}
.orb-gold {
  background: radial-gradient(circle at 35% 30%, #F2E9D7 0%, #D9C49A 30%, #B89668 60%, #8B6F44 100%);
  box-shadow:
    inset -10px -16px 40px rgba(0,0,0,0.35),
    inset 10px 14px 28px rgba(255,255,255,0.3),
    0 20px 50px -20px rgba(184, 150, 104, 0.5);
}

/* Glass card */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.6));
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 30px 60px -30px rgba(22, 57, 88, 0.35),
    0 12px 28px -16px rgba(22, 57, 88, 0.18);
  border-radius: var(--r-lg);
}

/* Sub-page hero */
.page-hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 30%, rgba(42, 111, 168, 0.10), transparent 60%),
    radial-gradient(700px 400px at 10% 80%, rgba(184, 150, 104, 0.06), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(36px, 4.8vw, 64px); }
.page-hero .lead { margin-top: 22px; max-width: 720px; }
.page-hero .crumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-4);
  margin-bottom: 24px;
}
.page-hero .crumbs a { color: var(--brand); }
.page-hero .crumbs .sep { color: var(--ink-5); }

/* Utility */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 980px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .nav { height: 68px; }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Fast reveal — lightweight fade for better perceived speed */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity .22s ease-out, transform .22s ease-out;
  transition-delay: 0ms !important;
  filter: none;
  will-change: auto;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-left.js .reveal,
.js .reveal.reveal-left,
.reveal-right.js .reveal,
.js .reveal.reveal-right,
.js .reveal.reveal-scale { transform: translate3d(0, 8px, 0); }
.js .reveal.reveal-left.in,
.js .reveal.reveal-right.in,
.js .reveal.reveal-scale.in { transform: none; }
@keyframes floatSoft {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: var(--sh-1); }
  50% { box-shadow: var(--sh-glow); }
}
.hero-art .stat-pill,
.services-hero-art .badge,
.about-hero-art .floating-card,
.orb { animation: floatSoft 6s ease-in-out infinite; }
.hero-art .pill-2,
.services-hero-art .bg-2,
.about-hero-art .fc-2 { animation-delay: 1.4s; }
.card:hover,
.svc-mini:hover,
.track-card:hover,
.choose-card:hover,
.aud-card:hover,
.value-card:hover { will-change: transform; }
.form-note {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-4);
}
.form-note a { color: var(--brand); font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .hero-art .stat-pill,
  .services-hero-art .badge,
  .about-hero-art .floating-card,
  .orb {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    animation: none;
  }
}

/* Section divider */
.divider-fade {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 0 auto;
  max-width: 1180px;
}

/* Numeric column accent */
.col-accent {
  position: relative;
  padding-right: 28px;
}
.col-accent::before {
  content: "";
  position: absolute;
  right: 0; top: 4px; bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

/* Form */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--ink);
  transition: border .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; font-family: inherit; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(31, 78, 120, 0.12);
  background: #fff;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
}
.checkbox input { margin-top: 4px; accent-color: var(--brand); }

/* Tag */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-pale);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.tag.gold { background: var(--gold-pale); color: #8B6F44; }
.tag.dark { background: var(--ink); color: #fff; }

/* Section background variants */
.bg-soft { background: linear-gradient(180deg, transparent, var(--bg-soft) 30%, transparent 95%); }
.bg-dark {
  background: linear-gradient(180deg, #0A1828 0%, #0A0F1A 100%);
  color: #C6CFDB;
  position: relative;
  overflow: hidden;
}
.bg-dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(31, 78, 120, 0.4), transparent 60%),
    radial-gradient(700px 400px at 20% 90%, rgba(184, 150, 104, 0.08), transparent 60%);
  pointer-events: none;
}
.bg-dark > .container { position: relative; z-index: 2; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark .eyebrow { color: var(--gold-soft); }
.bg-dark .lead { color: #98A4B4; }
.bg-dark .card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: #C6CFDB;
}
.bg-dark .card h3 { color: #fff; }

/* =========================================================
   Image placeholder slot (user-supplied transparent PNG)
   ========================================================= */
.img-slot {
  position: relative;
  border-radius: var(--r-xl);
  background:
    repeating-linear-gradient(45deg, rgba(31, 78, 120, 0.03) 0 14px, transparent 14px 28px),
    linear-gradient(180deg, var(--brand-faint), #fff);
  border: 1.5px dashed rgba(31, 78, 120, 0.22);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.img-slot .img-slot-label {
  font-family: var(--ff-num);
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: rgba(31, 78, 120, 0.38);
  text-transform: uppercase;
}
.img-slot img { width: 100%; height: 100%; object-fit: contain; }

/* =========================================================
   FAQ accordion (shared across pages)
   ========================================================= */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2px 28px;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.faq-item:hover { border-color: rgba(31, 78, 120, 0.2); }
.faq-item[open] {
  border-color: rgba(31, 78, 120, 0.24);
  box-shadow: var(--sh-2);
  background: linear-gradient(180deg, #fff, #FBFCFD);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .icn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--brand-faint);
  display: grid; place-items: center;
  color: var(--brand);
  flex-shrink: 0;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item[open] .icn {
  background: var(--brand);
  color: #fff;
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 0 24px 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-3);
  max-width: 720px;
}
.faq-item[open] p { animation: faqReveal .3s ease both; }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item[open] p { animation: none; }
}

/* Footer development credit */
.footer-bottom .dev-credit {
  color: var(--gold-soft);
  font-weight: 600;
  transition: color .2s ease;
}
.footer-bottom .dev-credit:hover { color: #fff; }

/* Grain */
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}


/* =========================================================
   Integrated decorative backgrounds and soft motion accents
   Added for content sections without external image assets
   ========================================================= */
.section {
  overflow: hidden;
  isolation: isolate;
}
.section::before,
.section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.section::before {
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,.72), transparent 28%),
    radial-gradient(circle, rgba(31,78,120,.085), transparent 62%);
  top: 8%;
  inset-inline-end: -16%;
  filter: blur(.4px);
  animation: argDrift 14s ease-in-out infinite;
}
.section::after {
  width: min(36vw, 430px);
  height: min(36vw, 430px);
  border: 1px solid rgba(184,150,104,.16);
  border-radius: 36% 64% 58% 42% / 48% 40% 60% 52%;
  bottom: 9%;
  inset-inline-start: -14%;
  background: linear-gradient(135deg, rgba(184,150,104,.07), rgba(31,78,120,.035));
  animation: argMorph 18s ease-in-out infinite;
}
.section:nth-of-type(even)::before {
  inset-inline-end: auto;
  inset-inline-start: -16%;
  background:
    radial-gradient(circle at 40% 38%, rgba(255,255,255,.64), transparent 28%),
    radial-gradient(circle, rgba(184,150,104,.075), transparent 62%);
  animation-delay: -4s;
}
.section:nth-of-type(even)::after {
  inset-inline-start: auto;
  inset-inline-end: -14%;
  animation-delay: -7s;
}
.section .container { position: relative; z-index: 1; }

.section-head::after {
  content: "";
  display: block;
  width: 110px;
  height: 1px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, transparent, rgba(184,150,104,.65), transparent);
  transform-origin: center;
  animation: argLinePulse 4s ease-in-out infinite;
}

.card::before,
.svc-card::before,
.track-card::before,
.choose-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.45), transparent 34%, rgba(184,150,104,.12));
  opacity: .72;
}
.card > *,
.svc-card > *,
.track-card > *,
.choose-card > *,
.contact-card > * { position: relative; z-index: 1; }

.booking-section {
  background:
    radial-gradient(900px 460px at 85% 18%, rgba(31,78,120,.14), transparent 62%),
    radial-gradient(760px 420px at 18% 86%, rgba(184,150,104,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.42), rgba(238,241,246,.42));
}
.booking-section::before {
  width: 680px;
  height: 680px;
  inset-inline-end: -260px;
  top: -180px;
  background:
    repeating-linear-gradient(135deg, rgba(31,78,120,.08) 0 1px, transparent 1px 18px),
    radial-gradient(circle, rgba(31,78,120,.10), transparent 62%);
  border-radius: 48% 52% 44% 56% / 56% 46% 54% 44%;
}
.booking-section::after {
  width: 520px;
  height: 520px;
  inset-inline-start: -210px;
  bottom: -190px;
  border-color: rgba(184,150,104,.22);
}
.booking-wrap,
.big-cta,
.subscribe-wrap {
  position: relative;
  overflow: hidden;
}
.booking-wrap::before,
.big-cta::before,
.subscribe-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 220px at 82% 18%, rgba(255,255,255,.34), transparent 62%),
    linear-gradient(135deg, rgba(31,78,120,.055), rgba(184,150,104,.045));
  pointer-events: none;
}
.booking-wrap > *,
.big-cta > *,
.subscribe-wrap > * { position: relative; z-index: 1; }

.page-hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  inset-inline-start: -180px;
  bottom: -260px;
  border-radius: 999px;
  border: 1px solid rgba(184,150,104,.16);
  background: radial-gradient(circle, rgba(184,150,104,.08), transparent 64%);
  pointer-events: none;
  animation: argDrift 16s ease-in-out infinite reverse;
}

@keyframes argDrift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(18px,-18px,0) scale(1.035); }
}
@keyframes argMorph {
  0%, 100% { transform: rotate(0deg) scale(1); border-radius: 36% 64% 58% 42% / 48% 40% 60% 52%; }
  50% { transform: rotate(7deg) scale(1.04); border-radius: 58% 42% 38% 62% / 42% 58% 46% 54%; }
}
@keyframes argLinePulse {
  0%, 100% { opacity: .55; transform: scaleX(.74); }
  50% { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 760px) {
  .section::before { width: 360px; height: 360px; opacity: .75; }
  .section::after { width: 300px; height: 300px; opacity: .75; }
}
@media (prefers-reduced-motion: reduce) {
  .section::before,
  .section::after,
  .section-head::after,
  .page-hero::after { animation: none !important; }
}


/* Performance tuning: remove slow decorative motion while keeping crisp interactions */
.hero-art .stat-pill,
.services-hero-art .badge,
.about-hero-art .floating-card,
.orb {
  animation: none !important;
}

/* Reservation CTA color across the site */
a.btn[href="booking.html"],
.nav-cta a[href="booking.html"],
.mobile-links .mobile-cta,
.booking-form .btn-primary,
.booking-form-card .btn-primary,
.services-booking-form .btn-primary,
form[aria-label*="احجز استشارة"] .btn-primary {
  background: linear-gradient(180deg, var(--booking-gold-light) 0%, var(--booking-gold) 62%, var(--booking-gold-dark) 100%) !important;
  color: #fff !important;
  border-color: rgba(184, 150, 104, .65) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 16px 32px -18px rgba(159,127,85,.85), 0 2px 7px rgba(159,127,85,.18) !important;
}
a.btn[href="booking.html"]:hover,
.nav-cta a[href="booking.html"]:hover,
.mobile-links .mobile-cta:hover,
.booking-form .btn-primary:hover,
.booking-form-card .btn-primary:hover,
.services-booking-form .btn-primary:hover,
form[aria-label*="احجز استشارة"] .btn-primary:hover {
  background: linear-gradient(180deg, #D0B58E 0%, #B89668 58%, #967449 100%) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.24) inset, 0 20px 38px -18px rgba(159,127,85,.95), 0 4px 12px rgba(159,127,85,.22) !important;
}


/* =========================================================
   Final performance + hover correction
   ========================================================= */
:root { --arg-fast-ease: cubic-bezier(.2,.7,.2,1); }

/* Page entrance: no slow slide/reveal. Content appears instantly for a faster feel. */
.reveal,
.js .reveal,
.js .reveal.in,
.js .reveal.reveal-left,
.js .reveal.reveal-right,
.js .reveal.reveal-scale,
.js .reveal.reveal-left.in,
.js .reveal.reveal-right.in,
.js .reveal.reveal-scale.in {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  transition-delay: 0ms !important;
}

/* Disable decorative background motion for faster browsing. */
.section::before,
.section::after,
.section-head::after,
.page-hero::after,
.hero::before,
.hero::after,
.ticker-track,
.hero-art .stat-pill,
.services-hero-art .badge,
.about-hero-art .floating-card,
.orb {
  animation: none !important;
}

/* Crisp hover timing across components. */
:where(.btn,.card,.svc-card,.svc-mini,.track-card,.choose-card,.aud-card,.value-card,.find-card,.ana-card,.type-card,.channel,.legal-toc a,.faq-item,.slot,.date-cell,.svc-choice,.pcl,.program-item,.why-cell,.step) {
  transition-duration: .14s !important;
  transition-delay: 0ms !important;
  transition-timing-function: var(--arg-fast-ease) !important;
}

/* Booking CTA: gold #B89668, no contour, subtle 3D depth. */
a.btn[href="booking.html"],
.nav-cta a[href="booking.html"],
.mobile-links .mobile-cta,
.booking-form .btn-primary,
.booking-form-card .btn-primary,
.services-booking-form .btn-primary,
form[aria-label*="احجز استشارة"] .btn-primary {
  background: linear-gradient(180deg, #D2B98F 0%, #B89668 52%, #93724A 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -2px 0 rgba(86,62,35,.18),
    0 12px 0 -7px rgba(127,95,58,.72),
    0 18px 34px -20px rgba(127,95,58,.9) !important;
}
a.btn[href="booking.html"]:hover,
.nav-cta a[href="booking.html"]:hover,
.mobile-links .mobile-cta:hover,
.booking-form .btn-primary:hover,
.booking-form-card .btn-primary:hover,
.services-booking-form .btn-primary:hover,
form[aria-label*="احجز استشارة"] .btn-primary:hover {
  background: #B89668 !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-1px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),
    inset 0 -2px 0 rgba(86,62,35,.18),
    0 13px 0 -7px rgba(127,95,58,.78),
    0 22px 42px -21px rgba(127,95,58,1) !important;
}

/* A controlled use of the gold hover color in selected sections for visual variety. */
:where(.svc-mini,.track-card,.choose-card,.aud-card,.value-card,.find-card,.ana-card,.type-card,.channel):nth-child(odd):hover {
  border-color: rgba(184,150,104,.55) !important;
  box-shadow: 0 20px 44px -30px rgba(184,150,104,.8) !important;
}
:where(.svc-mini,.track-card,.choose-card,.aud-card,.value-card,.find-card,.ana-card,.type-card,.channel):nth-child(even):hover {
  border-color: rgba(31,78,120,.32) !important;
}


/* =========================================================
   ARG final polish — clean hero chart, flat booking CTA, section-based hovers, fast scroll reveal
   ========================================================= */
:root { --arg-hover-blue: var(--brand); --arg-hover-gold: #B89668; }

/* Smooth but quick scroll reveal, no slow slide. */
.js .reveal {
  opacity: 0 !important;
  transform: translate3d(0, 14px, 0) !important;
  filter: none !important;
  transition: opacity .28s cubic-bezier(.2,.7,.2,1), transform .28s cubic-bezier(.2,.7,.2,1) !important;
  transition-delay: 0ms !important;
}
.js .reveal.in {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

/* Keep all interactions immediate. */
*, *::before, *::after { transition-delay: 0ms !important; }
:where(.btn,.card,.svc-card,.svc-mini,.track-card,.choose-card,.aud-card,.value-card,.find-card,.ana-card,.type-card,.channel,.legal-toc a,.faq-item,.slot,.date-cell,.svc-choice,.pcl,.program-item,.why-cell,.step,.booking-step,.booking-process li) {
  transition-duration: .16s !important;
  transition-timing-function: cubic-bezier(.2,.7,.2,1) !important;
}

/* Hero: chart is only behind the PNG frame, not behind text and not above the PNG layer. */
.hero-copy { position: relative; z-index: 4; }
.hero-art {
  position: relative !important;
  isolation: isolate;
}
.hero-art .img-slot {
  display: grid !important;
  position: absolute !important;
  inset: 10px 24px !important;
  z-index: 3 !important;
  border-radius: var(--r-xl);
  background: rgba(255,255,255,.10) !important;
  border: 1.5px dashed rgba(31, 78, 120, 0.28) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: hidden;
}
.hero-art .img-slot-label {
  position: relative;
  z-index: 4;
  align-self: center;
  justify-self: center;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(31,78,120,.12);
  color: rgba(31,78,120,.55);
  font-family: var(--ff-num);
  font-weight: 800;
  letter-spacing: .12em;
}
.hero-chart-back {
  position: absolute !important;
  inset: 10px 24px !important;
  z-index: 1 !important;
  pointer-events: none;
  opacity: .36 !important;
  overflow: hidden;
  border-radius: var(--r-xl);
  filter: saturate(.95);
  animation: argChartBehindPng 9s ease-in-out infinite !important;
}
.hero-chart-back svg { width: 100%; height: 100%; display: block; }
.hero-chart-back .wick {
  stroke-width: 2.2;
  stroke-linecap: round;
  fill: none;
}
.hero-chart-back .body { stroke-width: 1.2; }
.hero-chart-back .bull .wick,
.hero-chart-back .bull .body {
  stroke: rgba(184,150,104,.64);
}
.hero-chart-back .bull .body {
  fill: rgba(184,150,104,.30);
}
.hero-chart-back .bear .wick,
.hero-chart-back .bear .body {
  stroke: rgba(31,78,120,.58);
}
.hero-chart-back .bear .body {
  fill: rgba(31,78,120,.22);
}
@keyframes argChartBehindPng {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .32; }
  50% { transform: translate3d(-10px, 0, 0); opacity: .42; }
}
@media (max-width: 980px) {
  .hero-art .img-slot,
  .hero-chart-back { inset: 0 !important; }
  .hero-chart-back { opacity: .30 !important; }
}

/* Booking CTA: flat 2D gold, no contour, no 3D. */
a.btn[href="booking.html"],
.nav-cta a[href="booking.html"],
.mobile-links .mobile-cta,
.booking-form .btn-primary,
.booking-form-card .btn-primary,
.services-booking-form .btn-primary,
form[aria-label*="احجز استشارة"] .btn-primary {
  background: #B89668 !important;
  color: #fff !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
a.btn[href="booking.html"]:hover,
.nav-cta a[href="booking.html"]:hover,
.mobile-links .mobile-cta:hover,
.booking-form .btn-primary:hover,
.booking-form-card .btn-primary:hover,
.services-booking-form .btn-primary:hover,
form[aria-label*="احجز استشارة"] .btn-primary:hover {
  background: #A98558 !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-1px) !important;
  box-shadow: none !important;
}

/* Section-based hover colors: one color per section, no mixed odd/even colors within the same block. */
.why-grid .why-cell:hover {
  background: #B89668 !important;
  border-color: #B89668 !important;
  color: #fff !important;
  box-shadow: 0 22px 46px -34px rgba(184,150,104,.95) !important;
}
.why-grid .why-cell:hover .why-ico,
.why-grid .why-cell:hover h4,
.why-grid .why-cell:hover p { color: #fff !important; }
.why-grid .why-cell:hover .why-num { color: rgba(255,255,255,.85) !important; }

.steps .step:hover {
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%) !important;
  color: #fff !important;
  box-shadow: 0 22px 46px -34px rgba(31,78,120,.95) !important;
}
.steps .step:hover h4,
.steps .step:hover p { color: #fff !important; }
.steps .step:hover .step-num {
  background: #fff !important;
  color: var(--brand) !important;
  border-color: #fff !important;
  box-shadow: none !important;
}

.programs-list .program-item:hover {
  background: #B89668 !important;
  border-color: #B89668 !important;
  color: #fff !important;
  box-shadow: 0 22px 46px -34px rgba(184,150,104,.95) !important;
}
.programs-list .program-item:hover h4,
.programs-list .program-item:hover p,
.programs-list .program-item:hover svg { color: #fff !important; }
.programs-list .program-item:hover .pg-num {
  color: rgba(255,255,255,.10) !important;
  -webkit-text-stroke-color: rgba(255,255,255,.76) !important;
}

.analytics-preview .btn-ghost:hover {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Additional site-wide section color grouping. */
.services-grid .svc-card:hover,
.grid-3 .card:hover,
.booking-process li:hover,
.booking-steps .booking-step:hover {
  border-color: rgba(31,78,120,.36) !important;
}
.track-card:hover,
.choose-card:hover,
.aud-card:hover,
.value-card:hover,
.find-card:hover,
.ana-card:hover,
.type-card:hover,
.channel:hover {
  border-color: rgba(184,150,104,.58) !important;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-chart-back { animation: none !important; }
}


/* ===== ARG repair override: fast scroll reveal with safe fallback ===== */
.reveal { opacity: 1; }
.js .reveal { opacity: 0 !important; transform: translate3d(0, 10px, 0) !important; transition: opacity .24s cubic-bezier(.2,.7,.2,1), transform .24s cubic-bezier(.2,.7,.2,1) !important; transition-delay: 0ms !important; }
.js .reveal.in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .js .reveal, .js .reveal.in { opacity: 1 !important; transform: none !important; transition: none !important; } }


/* User final contact/footer polish */
.footer-contact-lines {
  margin-top: 16px !important;
  line-height: 1.9 !important;
  font-size: 13.5px !important;
}
.footer-contact-lines a {
  color: rgba(255,255,255,.74) !important;
}
.footer-contact-lines a:hover {
  color: #fff !important;
}
a.map-card {
  color: inherit;
  text-decoration: none;
  display: block;
}

/* Final hover safety: keep step numbers visible */
.steps .step:hover .step-num {
  background: #fff !important;
  color: #1F4E78 !important;
  border-color: #fff !important;
  opacity: 1 !important;
}

/* Final gold hover requests */
.svc-cta .btn:hover,
.analytics-preview .btn-ghost:hover {
  background: #B89668 !important;
  border-color: #B89668 !important;
  color: #fff !important;
}

/* Booking page compact hero */
body[data-page="booking"] .booking-hero {
  padding-top: 72px !important;
  padding-bottom: 26px !important;
}
body[data-page="booking"] .stepper {
  margin-top: 24px !important;
  margin-bottom: 22px !important;
}


/* ===== Final update: clearer professional scroll animation ===== */
.reveal { opacity: 1; }

.js .reveal {
  opacity: 0 !important;
  transform: translate3d(0, 30px, 0) scale(.985) !important;
  filter: blur(4px) !important;
  transition:
    opacity .62s cubic-bezier(.18,.82,.22,1),
    transform .62s cubic-bezier(.18,.82,.22,1),
    filter .62s cubic-bezier(.18,.82,.22,1) !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
  will-change: opacity, transform, filter;
}

.js .reveal.in {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  filter: blur(0) !important;
}

.js .reveal.reveal-fast {
  transition-duration: .46s !important;
}

:where(a, button, .btn, .why-cell, .step, .program-item, .team-card, .channel, .svc-card, .card) {
  transition-delay: 0ms !important;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* TradingView ticker holder */
.tv-ticker-section {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  overflow: hidden;
  min-height: 48px;
}
.tv-ticker-section tv-ticker-tape {
  display: block;
  width: 100%;
}


/* ===== TradingView ticker attribution cleanup ===== */
.tv-ticker-section {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  overflow: hidden !important;
  display: flex;
  align-items: center;
}
.tv-ticker-section tv-ticker-tape,
.tv-ticker-section iframe {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  max-height: 48px !important;
  overflow: hidden !important;
}
.tv-ticker-section [class*="copyright"],
.tv-ticker-section [class*="attribution"],
.tv-ticker-section [class*="trademark"],
.tv-ticker-section [class*="powered"],
.tv-ticker-section a[href*="tradingview.com"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}


/* ===== Scroll reveal final: visible load, smooth scroll entrance ===== */
.reveal { opacity: 1; }

.js .reveal {
  opacity: 0 !important;
  transform: translate3d(0, 44px, 0) !important;
  filter: blur(2px) !important;
  transition:
    opacity .58s cubic-bezier(.16,.84,.24,1),
    transform .58s cubic-bezier(.16,.84,.24,1),
    filter .58s cubic-bezier(.16,.84,.24,1) !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
  will-change: opacity, transform, filter;
}

.js .reveal.in {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
  filter: blur(0) !important;
}

.js .reveal.in[style*="0ms"] {
  transition-delay: 0ms !important;
}

.hero .reveal,
.page-hero .reveal,
.booking-hero .reveal,
.contact-hero .reveal,
.blog-hero .reveal,
.about-hero .reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}




/* =========================================================
   Final fix — restored TradingView ticker + one light scroll animation
   ========================================================= */

/* TradingView ticker is a native loop. Keep it isolated from RTL page flow and scroll reveal. */
.tv-ticker-section {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  overflow: hidden !important;
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  direction: ltr !important;
  contain: paint;
}
.tv-ticker-section tv-ticker-tape {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 52px !important;
  max-height: 52px !important;
  overflow: hidden !important;
  direction: ltr !important;
  opacity: 1 !important;
  transform: none !important;
}
.tv-ticker-section iframe {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 52px !important;
  max-height: 52px !important;
  border: 0 !important;
  overflow: hidden !important;
  direction: ltr !important;
  opacity: 1 !important;
  transform: none !important;
}
.tv-ticker-section [class*="copyright"],
.tv-ticker-section [class*="attribution"],
.tv-ticker-section [class*="trademark"],
.tv-ticker-section [class*="powered"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Old scroll reveal is fully neutralized so paragraph text never stays hidden. */
.reveal,
.reveal.in,
.js .reveal,
.js .reveal.in,
.js .reveal.reveal-left,
.js .reveal.reveal-right,
.js .reveal.reveal-scale,
.js .reveal.reveal-left.in,
.js .reveal.reveal-right.in,
.js .reveal.reveal-scale.in {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  transition-delay: 0ms !important;
  will-change: auto !important;
}

/* New single lightweight scroll animation: section-level fade-up only. */
.js .scroll-lite {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity .36s cubic-bezier(.2,.7,.2,1), transform .36s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.js .scroll-lite.is-visible {
  opacity: 1;
  transform: translate3d(0,0,0);
}
@media (prefers-reduced-motion: reduce) {
  .js .scroll-lite,
  .js .scroll-lite.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
@media (max-width: 680px) {
  .tv-ticker-section,
  .tv-ticker-section tv-ticker-tape,
  .tv-ticker-section iframe {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }
}


/* =========================================================
   Client revisions — centered ticker, PNG market placeholder, compact vertical spacing
   ========================================================= */

/* 1) Center the TradingView price strip vertically and nudge ticker content upward. */
.tv-ticker-section {
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
  overflow: hidden !important;
}
.tv-ticker-section tv-ticker-tape,
.tv-ticker-section iframe {
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateY(-3px) !important;
  transform-origin: center center !important;
}

/* 3) Reserved place for the future PNG market design. */
.market-png-placeholder {
  min-height: 430px;
  border-radius: var(--r-2xl);
  border: 1px dashed rgba(217,196,154,.48);
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    radial-gradient(circle at 50% 20%, rgba(217,196,154,.16), transparent 42%),
    rgba(7, 18, 31, .72);
  box-shadow: 0 24px 70px -34px rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  overflow: hidden;
}
.market-png-placeholder.light {
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(244,247,251,.72)),
    radial-gradient(circle at 50% 18%, rgba(31,78,120,.10), transparent 42%);
  border-color: rgba(31,78,120,.18);
  box-shadow: var(--sh-3);
}
.market-png-inner {
  width: 100%;
  min-height: 300px;
  border-radius: 28px;
  border: 1px dashed rgba(255,255,255,.22);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 34px 22px;
  color: #F2E9D7;
  background: rgba(255,255,255,.035);
}
.market-png-placeholder.light .market-png-inner {
  color: var(--brand);
  border-color: rgba(31,78,120,.18);
  background: rgba(255,255,255,.56);
}
.market-png-label {
  display: block;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.market-png-note {
  display: block;
  font-size: 14px;
  color: rgba(242,233,215,.74);
}
.market-png-placeholder.light .market-png-note { color: var(--ink-4); }


/* TradingView heatmap block on daily analysis hero. */
.tradingview-heatmap-panel {
  min-height: 430px;
  border-radius: var(--r-2xl);
  background: #0A0F1A;
  box-shadow: 0 40px 80px -30px rgba(22, 57, 88, 0.4);
  border: 1px solid rgba(31, 78, 120, 0.18);
  overflow: hidden;
  position: relative;
}
.tradingview-heatmap-panel .tradingview-widget-container,
.tradingview-heatmap-panel .tradingview-widget-container__widget {
  width: 100%;
  height: 430px;
  min-height: 430px;
}
.tradingview-heatmap-panel .tradingview-widget-copyright,
.tradingview-heatmap-panel a[href*="tradingview.com"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
@media (max-width: 980px) {
  .tradingview-heatmap-panel { min-height: 360px; }
  .tradingview-heatmap-panel .tradingview-widget-container,
  .tradingview-heatmap-panel .tradingview-widget-container__widget { height: 360px; min-height: 360px; }
}
@media (max-width: 600px) {
  .tradingview-heatmap-panel { min-height: 300px; }
  .tradingview-heatmap-panel .tradingview-widget-container,
  .tradingview-heatmap-panel .tradingview-widget-container__widget { height: 300px; min-height: 300px; }
}

/* 4) Reduce section-to-section vertical gaps while keeping the layout balanced. */
.section { padding-top: 92px !important; padding-bottom: 92px !important; }
.section-sm { padding-top: 64px !important; padding-bottom: 64px !important; }
.section-head { margin-bottom: 46px !important; }
.site-footer { padding-top: 76px !important; margin-top: 54px !important; }

@media (max-width: 980px) {
  .section { padding-top: 72px !important; padding-bottom: 72px !important; }
  .section-sm { padding-top: 54px !important; padding-bottom: 54px !important; }
  .section-head { margin-bottom: 34px !important; }
  .market-png-placeholder { min-height: 340px; }
  .market-png-inner { min-height: 240px; }
}
@media (max-width: 680px) {
  .tv-ticker-section,
  .tv-ticker-section tv-ticker-tape,
  .tv-ticker-section iframe {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
  }
  .section { padding-top: 58px !important; padding-bottom: 58px !important; }
  .section-sm { padding-top: 44px !important; padding-bottom: 44px !important; }
  .market-png-placeholder { min-height: 280px; padding: 20px; }
  .market-png-inner { min-height: 200px; }
}

/* =========================================================
   Revision — full heatmap area, services hero compact cards, exact ticker centering
   ========================================================= */

/* 1) Make the Daily Analysis TradingView heatmap occupy the full visual square. */
.analysis-hero-grid .tradingview-heatmap-panel {
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  height: auto !important;
  width: 100% !important;
  display: block !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.tradingview-heatmap-panel .tradingview-widget-container,
.tradingview-heatmap-panel .tradingview-widget-container__widget,
.tradingview-heatmap-panel iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  border: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tradingview-heatmap-panel .tradingview-widget-container {
  border-radius: inherit !important;
  overflow: hidden !important;
}
.tradingview-heatmap-panel .tradingview-widget-container__widget {
  border-radius: inherit !important;
  overflow: hidden !important;
}
@media (max-width: 980px) {
  .analysis-hero-grid .tradingview-heatmap-panel {
    aspect-ratio: 1 / 0.86 !important;
  }
}
@media (max-width: 600px) {
  .analysis-hero-grid .tradingview-heatmap-panel {
    aspect-ratio: 1 / 0.9 !important;
  }
}

/* 2) Services first section now follows the same two-card composition as About. */
.services-hero-art.compact-art .floating-card {
  position: absolute;
  z-index: 4;
  min-width: 218px;
  padding: 18px 20px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 7px 12px;
  align-items: center;
  box-shadow: 0 18px 42px -22px rgba(22, 57, 88, 0.42);
}
.services-hero-art.compact-art .floating-card .ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #245E92, #1F4E78);
  color: #fff;
  display: grid;
  place-items: center;
  grid-row: span 2;
}
.services-hero-art.compact-art .floating-card .lbl {
  font-size: 13px;
  color: var(--ink-4);
  line-height: 1.2;
}
.services-hero-art.compact-art .floating-card .val {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}
.services-hero-art.compact-art .fc-1 { top: 80px; right: -20px; }
.services-hero-art.compact-art .fc-2 { bottom: 60px; left: -10px; }
.services-hero-art.compact-art .badge { display: none !important; }
@media (max-width: 980px) {
  .services-hero-art.compact-art .fc-1 { top: 50px; right: -8px; }
  .services-hero-art.compact-art .fc-2 { bottom: 42px; left: -8px; }
}
@media (max-width: 520px) {
  .services-hero-art.compact-art .floating-card {
    min-width: 188px;
    padding: 14px 16px;
  }
  .services-hero-art.compact-art .floating-card .val { font-size: 13.5px; }
}

/* 3) Final vertical centering for the TradingView price strip on the homepage. */
.tv-ticker-section {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
}
.tv-ticker-section tv-ticker-tape {
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  width: 100% !important;
  display: block !important;
  transform: translateY(-6px) !important;
  transform-origin: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}
.tv-ticker-section iframe {
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  width: 100% !important;
  display: block !important;
  transform: translateY(-6px) !important;
  transform-origin: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}
@media (max-width: 680px) {
  .tv-ticker-section {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
  }
  .tv-ticker-section tv-ticker-tape,
  .tv-ticker-section iframe {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    transform: translateY(-5px) !important;
  }
}

/* ===== Services guide hover fix — stable, coordinated background ===== */
body[data-page="services"] .choose-grid .choose-card {
  background: rgba(255,255,255,.96) !important;
  border-color: var(--line) !important;
  box-shadow: 0 14px 34px -30px rgba(31,78,120,.42) !important;
  overflow: hidden !important;
  transform: none !important;
}
body[data-page="services"] .choose-grid .choose-card::before {
  background: linear-gradient(135deg, rgba(31,78,120,.045), transparent 48%, rgba(184,150,104,.04)) !important;
  opacity: .75 !important;
  transition: opacity .16s cubic-bezier(.2,.7,.2,1) !important;
}
body[data-page="services"] .choose-grid .choose-card:hover,
body[data-page="services"] .choose-grid .choose-card:focus-visible,
body[data-page="services"] .choose-grid .choose-card:active {
  background: rgba(255,255,255,.98) !important;
  border-color: rgba(31,78,120,.24) !important;
  box-shadow: 0 18px 40px -32px rgba(31,78,120,.48) !important;
  transform: translateY(-2px) !important;
}
body[data-page="services"] .choose-grid .choose-card:hover::before,
body[data-page="services"] .choose-grid .choose-card:focus-visible::before,
body[data-page="services"] .choose-grid .choose-card:active::before {
  background: linear-gradient(135deg, rgba(31,78,120,.055), transparent 50%, rgba(184,150,104,.045)) !important;
  opacity: .9 !important;
}
body[data-page="services"] .choose-grid .choose-card .if {
  background: rgba(31,78,120,.085) !important;
  color: var(--brand) !important;
  box-shadow: none !important;
}
body[data-page="services"] .choose-grid .choose-card:hover .if,
body[data-page="services"] .choose-grid .choose-card:focus-visible .if,
body[data-page="services"] .choose-grid .choose-card:active .if {
  background: rgba(31,78,120,.12) !important;
  color: var(--brand) !important;
}
body[data-page="services"] .choose-grid .choose-card h4,
body[data-page="services"] .choose-grid .choose-card p,
body[data-page="services"] .choose-grid .choose-card .arrow-to {
  transition: color .16s cubic-bezier(.2,.7,.2,1) !important;
}
body[data-page="services"] .choose-grid .choose-card:hover h4,
body[data-page="services"] .choose-grid .choose-card:focus-visible h4,
body[data-page="services"] .choose-grid .choose-card:active h4 {
  color: var(--ink) !important;
}
body[data-page="services"] .choose-grid .choose-card:hover p,
body[data-page="services"] .choose-grid .choose-card:focus-visible p,
body[data-page="services"] .choose-grid .choose-card:active p {
  color: var(--ink-3) !important;
}
body[data-page="services"] .choose-grid .choose-card:hover .arrow-to,
body[data-page="services"] .choose-grid .choose-card:focus-visible .arrow-to,
body[data-page="services"] .choose-grid .choose-card:active .arrow-to {
  color: var(--brand) !important;
}
@media (hover: none) {
  body[data-page="services"] .choose-grid .choose-card:hover {
    background: rgba(255,255,255,.96) !important;
    border-color: var(--line) !important;
    box-shadow: 0 14px 34px -30px rgba(31,78,120,.42) !important;
    transform: none !important;
  }
}


/* Uploaded PNG visuals */
.img-slot.image-filled { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.img-slot.image-filled img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* =========================================================
   Final cleanup — remove old PNG placeholder contours/frames
   and let uploaded PNGs sit directly on the page background.
   ========================================================= */

/* Generic filled PNG slot cleanup */
.img-slot.image-filled,
.img-slot.image-filled::before,
.img-slot.image-filled::after {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.img-slot.image-filled::before,
.img-slot.image-filled::after {
  content: none !important;
  display: none !important;
}

/* Homepage: market PNG should appear with no old card/frame */
.market-png-placeholder.image-filled {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}
.market-png-placeholder.image-filled::before,
.market-png-placeholder.image-filled::after,
.market-png-placeholder.image-filled .market-png-inner,
.market-png-placeholder.image-filled .market-png-label,
.market-png-placeholder.image-filled .market-png-note {
  display: none !important;
  content: none !important;
}
.market-png-placeholder.image-filled img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

/* About page hero: remove decorative contour rings behind the PNG */
.about-hero-art.has-png-image .ring,
.about-hero-art.has-png-image .orb-gold {
  display: none !important;
}
.about-hero-art.has-png-image .img-slot {
  inset: 0 !important;
}

/* Services hero: keep layout cards if needed, but remove any old frame around the art */
.services-hero-art.has-png-image .img-slot {
  inset: 0 !important;
}

/* Service detail visuals: remove framed visual card treatment entirely */
.svc-detail-art.has-png-image {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important;
}
.svc-detail-art.has-png-image .img-slot {
  inset: 0 !important;
}
.svc-detail-art.has-png-image .ring,
.svc-detail-art.has-png-image .big-ico,
.svc-detail-art.has-png-image .pill,
.svc-detail-art.has-png-image .placeholder-tag {
  display: none !important;
}

/* Team and blog image holders: ensure no residual contour remains */
.team-photo.image-filled,
.blog-png-frame.image-filled {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.team-photo.image-filled::before,
.team-photo.image-filled::after,
.blog-png-frame.image-filled::before,
.blog-png-frame.image-filled::after {
  content: none !important;
  display: none !important;
}

/* =========================================================
   Floating motion for first visual in each page / slider lead visuals
   ========================================================= */
@keyframes argSoftFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  25%  { transform: translate3d(0, -5px, 0) scale(1.003); }
  50%  { transform: translate3d(0, -10px, 0) scale(1.006); }
  75%  { transform: translate3d(0, -4px, 0) scale(1.003); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes argSoftFloatAlt {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(0, -8px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Shared animation performance hints */
.hero-art.has-png-image .img-slot.image-filled img,
.about-hero-art.has-png-image .img-slot.image-filled img,
.services-hero-art.has-png-image .img-slot.image-filled img,
.blog-png-frame.image-filled img,
.market-png-placeholder.image-filled img,
.svc-detail-art.has-png-image .img-slot.image-filled img,
.team-photo.image-filled img,
.tradingview-heatmap-panel {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Top/first visual of each page */
body[data-page="home"] .hero-art.has-png-image .img-slot.image-filled img,
body[data-page="index"] .hero-art.has-png-image .img-slot.image-filled img,
body[data-page="about"] .about-hero-art.has-png-image .img-slot.image-filled img,
body[data-page="services"] .services-hero-art.has-png-image .img-slot.image-filled img,
body[data-page="blog"] .blog-png-frame.image-filled img {
  animation: argSoftFloat 6.5s ease-in-out infinite;
  transform-origin: center center;
}

/* Analysis hero visual */
body[data-page="analysis"] .tradingview-heatmap-panel {
  animation: argSoftFloatAlt 7s ease-in-out infinite;
  transform-origin: center center;
}

/* Additional section visuals / slider visuals kept even lighter */
body[data-page="index"] .market-png-placeholder.image-filled img,
body[data-page="services"] .svc-detail-art.has-png-image .img-slot.image-filled img,
body[data-page="about"] .team-photo.image-filled img {
  animation: argSoftFloatAlt 7.5s ease-in-out infinite;
  transform-origin: center center;
}

/* Slight phase offsets so everything does not move in sync */
body[data-page="services"] .svc-detail:nth-of-type(odd) .svc-detail-art.has-png-image .img-slot.image-filled img,
body[data-page="about"] .team-slide:nth-child(odd) .team-photo.image-filled img {
  animation-delay: .8s;
}
body[data-page="services"] .svc-detail:nth-of-type(even) .svc-detail-art.has-png-image .img-slot.image-filled img,
body[data-page="about"] .team-slide:nth-child(even) .team-photo.image-filled img {
  animation-delay: 1.6s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-art.has-png-image .img-slot.image-filled img,
  .about-hero-art.has-png-image .img-slot.image-filled img,
  .services-hero-art.has-png-image .img-slot.image-filled img,
  .blog-png-frame.image-filled img,
  .market-png-placeholder.image-filled img,
  .svc-detail-art.has-png-image .img-slot.image-filled img,
  .team-photo.image-filled img,
  .tradingview-heatmap-panel {
    animation: none !important;
    transform: none !important;
  }
}

/* =========================================================
   Mobile refinement pass — hero visual order, menu color,
   responsive hero visuals and centered contact blocks
   ========================================================= */

/* 2) Mobile menu icon lines brand color */
.menu-toggle,
.menu-toggle svg,
.menu-toggle svg * {
  color: #1F4E78 !important;
  stroke: #1F4E78 !important;
}

/* 3) Keep "تابع السوق برؤية أوضح" smaller and on one line */
body[data-page="home"] .analytics-preview .analytics-grid h2 {
  font-size: clamp(25px, 3vw, 40px) !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}
@media (max-width: 520px) {
  body[data-page="home"] .analytics-preview .analytics-grid h2 {
    font-size: clamp(23px, 6vw, 28px) !important;
  }
}

/* 1) Homepage mobile: place the hero image directly after the intro text,
   then show buttons/stats below it. */
@media (max-width: 980px) {
  body[data-page="home"] .hero {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
  }
  body[data-page="home"] .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  body[data-page="home"] .hero-copy {
    display: contents !important;
  }
  body[data-page="home"] .hero-copy > .eyebrow {
    order: 1 !important;
    width: 100% !important;
    margin-bottom: 12px !important;
  }
  body[data-page="home"] .hero-copy > h1 {
    order: 2 !important;
    width: 100% !important;
    margin: 0 !important;
  }
  body[data-page="home"] .hero-copy > .lead {
    order: 3 !important;
    width: 100% !important;
    margin-top: 18px !important;
    margin-bottom: 0 !important;
  }
  body[data-page="home"] .hero-art.has-png-image {
    order: 4 !important;
    width: min(100%, 390px) !important;
    height: clamp(230px, 72vw, 330px) !important;
    min-height: 0 !important;
    margin: 16px auto 22px !important;
    display: block !important;
    overflow: visible !important;
  }
  body[data-page="home"] .hero-art.has-png-image .img-slot.image-filled {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body[data-page="home"] .hero-art.has-png-image .img-slot.image-filled img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  body[data-page="home"] .hero-copy > .hero-ctas {
    order: 5 !important;
    width: 100% !important;
    margin-top: 0 !important;
    justify-content: center !important;
  }
  body[data-page="home"] .hero-copy > .hero-stats {
    order: 6 !important;
    width: 100% !important;
    margin-top: 26px !important;
  }
}

/* 4) About & Services mobile hero visuals: ensure the first image is visible
   and remove overlapping floating labels/cards on mobile. */
@media (max-width: 980px) {
  body[data-page="about"] .about-hero-grid,
  body[data-page="services"] .services-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    align-items: center !important;
  }
  body[data-page="about"] .about-hero-art.has-png-image,
  body[data-page="services"] .services-hero-art.has-png-image {
    display: block !important;
    position: relative !important;
    width: min(100%, 370px) !important;
    height: clamp(250px, 76vw, 360px) !important;
    min-height: 0 !important;
    max-width: 370px !important;
    margin: 10px auto 0 !important;
    overflow: visible !important;
    z-index: 1 !important;
  }
  body[data-page="about"] .about-hero-art.has-png-image .img-slot.image-filled,
  body[data-page="services"] .services-hero-art.has-png-image .img-slot.image-filled {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }
  body[data-page="about"] .about-hero-art.has-png-image .img-slot.image-filled img,
  body[data-page="services"] .services-hero-art.has-png-image .img-slot.image-filled img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  body[data-page="about"] .about-hero-art .floating-card,
  body[data-page="services"] .services-hero-art .floating-card,
  body[data-page="services"] .services-hero-art .badge {
    display: none !important;
  }
}

/* 5) Blog mobile hero image: keep centered and prevent left overflow. */
@media (max-width: 980px) {
  body[data-page="blog"] .blog-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    overflow: hidden !important;
  }
  body[data-page="blog"] .blog-hero-art.blog-png-holder {
    width: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    margin: 6px auto 0 !important;
  }
  body[data-page="blog"] .blog-png-frame.image-filled {
    width: min(88vw, 350px) !important;
    height: clamp(240px, 78vw, 350px) !important;
    max-width: 350px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }
  body[data-page="blog"] .blog-png-frame.image-filled img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }
}

/* 6) Contact page mobile: center communication icons and info blocks. */
@media (max-width: 600px) {
  body[data-page="contact"] .channels {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    justify-items: center !important;
  }
  body[data-page="contact"] .channel {
    width: 100% !important;
    max-width: 360px !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }
  body[data-page="contact"] .channel > div:not(.c-ico) {
    width: 100% !important;
  }
  body[data-page="contact"] .channel .c-ico {
    margin: 0 auto !important;
  }
  body[data-page="contact"] .channel .c-lbl,
  body[data-page="contact"] .channel .c-val,
  body[data-page="contact"] .channel .c-name {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body[data-page="contact"] .contact-info {
    text-align: center !important;
    padding: 30px 22px !important;
  }
  body[data-page="contact"] .contact-info .eyebrow {
    justify-content: center !important;
  }
  body[data-page="contact"] .contact-info ul {
    align-items: center !important;
  }
  body[data-page="contact"] .contact-info li {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 10px !important;
    max-width: 300px !important;
  }
  body[data-page="contact"] .contact-info li svg {
    margin: 0 auto !important;
  }
}
