/* =====================================================================
   SOCIAL MEDIA MARKETING AGENCY DUBAI (EN) — page additions on top of
   pages/service.css (the shared service-page template, loaded first):

   .sm-hero     orange poster, a smaller mega title (6 words) and a
                bilingual post preview (one post, EN + AR captions taking
                turns, story bars, platform badges; decorative) above
                the fact stubs                                         hot
   .sm-answer   the quick-answer card's fact sub-lines                 cream
   .sm-intro    a smaller statement (the live opener is long) + the
                hub/sibling link note                                  deep
   .sm-pack     influencer permit link + branding note under the ticket hot
   .sm-ind__a   industry tiles link to their industry pages            cream
   .sm-report   "what your monthly report shows" (replaces the
                illustrative result cards, SEO content 2026-11-11)     deep
   ===================================================================== */

/* ---------- hero ---------- */
.sm-hero .sm-hero__title { font-size: clamp(42px, 8.6vw, 128px); }
.sm-hero__side { position: relative; display: grid; justify-items: center; gap: clamp(18px, 2.4vw, 28px); width: 100%; min-width: 0; }
.sm-hero__side .sv-stubs { position: relative; z-index: 2; width: 100%; }
.sm-feed { position: relative; display: block; width: min(100%, 264px); margin-inline: 26px; }   /* shown on phones too: its words must be visible in the no-JS / Googlebot render (index_check) */
@media (min-width: 768px) {
  .sm-feed { display: block; width: 244px; }   /* fixed: it sits in an auto track beside the stubs */
  .sm-hero__side { grid-template-columns: auto minmax(0, 1fr); align-items: center; justify-items: stretch; column-gap: clamp(28px, 4vw, 48px); }
}
@media (min-width: 1024px) {
  .sm-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); }
  .sm-hero__side { grid-template-columns: minmax(0, 1fr); justify-items: center; justify-self: end; row-gap: clamp(30px, 3vw, 44px); }
  .sm-hero__side .sv-stubs { justify-self: end; }
  .sm-feed { width: min(100%, 276px); }
}

/* the post card */
.sm-post { position: relative; z-index: 1; display: grid; gap: 10px; padding: 12px 12px 14px; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 44px 64px -36px color-mix(in oklab, var(--ink) 82%, transparent), 0 0 0 1px color-mix(in oklab, var(--ink) 8%, transparent); transform: rotate(calc(-3deg * var(--dir))); transition: transform .8s var(--ease); }
@media (hover: hover) and (pointer: fine) { .sm-feed:hover .sm-post { transform: rotate(0deg) translateY(-6px); } }
.sm-post__top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sm-post__av { flex: none; width: 36px; height: 36px; border-radius: 50%; padding: 2px; background: conic-gradient(from 210deg, var(--b2), var(--b1), var(--b2)); }
.sm-post__av::before { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 50% 42%, var(--b2) 0 22%, var(--deep) 23%); box-shadow: inset 0 0 0 2px var(--paper); }
.sm-post__who { display: grid; gap: 3px; min-width: 0; font: 700 13px/1.1 var(--f-body); }
.sm-post__who small { font-size: 11px; font-weight: 600; color: var(--ink-2); }
.sm-post__lang { margin-inline-start: auto; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--cream-2); }
.sm-post__l { display: grid; place-items: center; min-width: 26px; padding: 5px 7px; border-radius: 999px; font: 700 11px/1 var(--f-body); font-style: normal; color: var(--ink-2); }
.sm-post__l--en { background: var(--ink); color: var(--cream); }
.sm-post__l--ar { font-family: var(--f-ar); font-size: 12px; }

.sm-post__media { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 70% 30%, var(--b2) 0 14%, transparent 14.6%), linear-gradient(172deg, color-mix(in oklab, var(--deep) 72%, var(--b1)) 0%, var(--deep) 74%); }
.sm-post__bars { position: absolute; top: 10px; inset-inline: 10px; display: flex; gap: 4px; }
.sm-post__bars i { flex: 1; height: 3px; border-radius: 3px; overflow: hidden; background: color-mix(in oklab, var(--cream) 30%, transparent); }
.sm-post__bars i::after { content: ""; display: block; height: 100%; background: var(--cream); transform-origin: 0 50%; }
[dir="rtl"] .sm-post__bars i::after { transform-origin: 100% 50%; }
.sm-post__bars i:nth-child(n+2)::after { transform: scaleX(0); }
.sm-post__tag { position: absolute; top: 22px; inset-inline-start: 10px; padding: 5px 9px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 55%, transparent); color: var(--cream); font: 700 10.5px/1 var(--f-body); letter-spacing: .07em; text-transform: uppercase; }
.sm-post__play { position: absolute; top: 44%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--cream) 16%, transparent); box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--cream) 70%, transparent); color: var(--cream); font-size: 26px; }
.sm-post__play i { margin-inline-start: 3px; }
.sm-post__city { position: absolute; inset-inline: 0; bottom: 0; display: block; width: 100%; height: 40%; fill: var(--ink); opacity: .92; }

.sm-post__acts { position: relative; display: flex; align-items: center; gap: 14px; padding-inline: 4px; font-size: 19px; line-height: 1; color: var(--ink); }
.sm-post__acts i:last-child { margin-inline-start: auto; }
.sm-post__heart { position: absolute; inset-inline-start: 4px; top: 0; color: var(--b1-accent); transform: scale(1); }

.sm-post__caps { display: grid; gap: 6px; padding-inline: 4px; }
.sm-post__cap { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--ink); transition: opacity .5s; }
.sm-post__cap b { flex: none; display: grid; place-items: center; min-width: 24px; padding: 3px 5px; border-radius: 6px; background: var(--cream-2); color: var(--ink-2); font: 700 10px/1 var(--f-body); }
.sm-post__cap--ar { font-family: var(--f-ar); font-size: 13.5px; }
.sm-post__cap--ar b { font-family: var(--f-ar); font-size: 11px; }
.sm-post__tags { margin: 0; font-size: 12px; font-weight: 650; color: var(--b1-accent); }
.sm-post__tags span { font-family: var(--f-ar); }

/* platform badges around the card */
.sm-feed__b { position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--paper); color: var(--ink); box-shadow: 0 16px 26px -14px color-mix(in oklab, var(--ink) 80%, transparent); }
.sm-feed__b--ig { top: 16%; inset-inline-start: -24px; background: var(--ink); color: var(--b2); }
.sm-feed__b--tt { top: -18px; inset-inline-end: 20%; background: var(--cream); }
.sm-feed__b--in { top: 52%; inset-inline-end: -24px; background: var(--deep); color: var(--cream); }
.sm-feed__b--sc { bottom: -16px; inset-inline-start: 16%; background: var(--paper); }

/* motion (decorative, CSS only; the page script pauses it while the hero is off-screen) */
/* entrance from-states are html.js-gated: the no-JS render shows the final state (index_check no-JS pass) */
@media (prefers-reduced-motion: no-preference) {
  html.js .sm-post { animation: smPostIn 1.2s .35s var(--ease) backwards; }
  html.js .sm-feed__b { animation: smBadgeIn .9s calc(.7s + var(--k, 0) * .1s) var(--ease) backwards, smBob 5.2s calc(1.6s + var(--k, 0) * -1.3s) ease-in-out infinite; }
  .sm-post__bars i:nth-child(1)::after { animation: smBar1 12s linear infinite; }
  .sm-post__bars i:nth-child(2)::after { animation: smBar2 12s linear infinite; }
  .sm-post__bars i:nth-child(3)::after { animation: smBar3 12s linear infinite; }
  .sm-post__heart { animation: smHeart 6s 1.6s var(--ease) infinite both; }
  .sm-post__cap--en { animation: smCapA 8s 1.2s ease-in-out infinite both; }
  .sm-post__cap--ar { animation: smCapB 8s 1.2s ease-in-out infinite both; }
  .sm-post__l--en { animation: smLangA 8s 1.2s steps(1, end) infinite both; }
  .sm-post__l--ar { animation: smLangB 8s 1.2s steps(1, end) infinite both; }
  .sm-feed.is-off, .sm-feed.is-off * { animation-play-state: paused !important; }
}
@keyframes smPostIn { from { opacity: 0; transform: translateY(70px) rotate(calc(-12deg * var(--dir))); } }
@keyframes smBadgeIn { from { opacity: 0; scale: .4; } }
@keyframes smBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes smBar1 { 0% { transform: scaleX(0); } 33.3%, 100% { transform: scaleX(1); } }
@keyframes smBar2 { 0%, 33.3% { transform: scaleX(0); } 66.6%, 100% { transform: scaleX(1); } }
@keyframes smBar3 { 0%, 66.6% { transform: scaleX(0); } 99.9%, 100% { transform: scaleX(1); } }
@keyframes smHeart { 0%, 8% { transform: scale(0); } 14% { transform: scale(1.3); } 20%, 80% { transform: scale(1); } 90%, 100% { transform: scale(0); } }
@keyframes smCapA { 0%, 42% { opacity: 1; } 50%, 92% { opacity: .58; } 100% { opacity: 1; } }   /* dim, never below .5: the words stay "visible" for Google's render */
@keyframes smCapB { 0%, 42% { opacity: .58; } 50%, 92% { opacity: 1; } 100% { opacity: .58; } }
@keyframes smLangA { 0% { background: var(--ink); color: var(--cream); } 50% { background: transparent; color: var(--ink-2); } }
@keyframes smLangB { 0% { background: transparent; color: var(--ink-2); } 50% { background: var(--ink); color: var(--cream); } }

/* ---------- answer card: USD reference line under a converted price; jump link to the report ---------- */
.sv-fact__sub { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink-2); }
.sv-fact__sub [data-price-sub] { font-size: 13px; }
.sm-answer__more { margin: calc(-1 * clamp(6px, 1vw, 14px)) 0 0; }
.sm-answer__more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--b1-accent); font-size: 15.5px; font-weight: 650; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.sm-report { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ---------- intro: the live opener is long, so the statement runs a size smaller; link note ---------- */
.sm-intro .sv-intro__lead { font-size: clamp(20px, 1.9vw, 30px); line-height: 1.36; }
.sm-intro__add { padding: 14px 18px; border-radius: 14px; background: color-mix(in oklab, var(--cream) 8%, transparent); box-shadow: inset 0 0 0 1px var(--rule); }
.sm-intro .sv-intro__cols a { color: var(--b2-on-deep); font-weight: 650; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
@media (min-width: 900px) { .sm-intro__add { grid-column: 1 / -1; } }

/* ---------- services ticket: titles keep the live self-links; influencer permit link + branding note ---------- */
.sm-check__t { color: inherit; text-decoration: none; padding-block: 11px; }   /* inline: the padding grows the hit area (44px), not the line */
.sm-check__t:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .16em; }
.sm-check__a { color: var(--b1-ink); font-weight: 650; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.sm-check__a:hover { color: var(--ink); }
.sm-pack__note { margin-top: clamp(20px, 2.4vw, 30px); max-width: 68ch; font-size: 17px; font-weight: 500; line-height: 1.6; color: var(--ink); }
.sm-pack__note a { color: var(--ink); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sm-pack__note a:hover { color: var(--deep); }

/* ---------- industry tiles link to their industry pages ---------- */
.sv-ind > .sm-ind__a { display: inline-flex; align-items: center; gap: inherit; min-height: 44px; color: inherit; text-decoration: none; border-radius: inherit; }
.sv-ind > .sm-ind__a:focus-visible { outline-offset: .2em; }

/* ---------- results: "what your monthly report shows" — the report frame, described (replaces the illustrative cards) ---------- */
.sm-report__grid { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.sm-report__item { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 8px; align-content: start; padding-block: clamp(22px, 2.6vw, 34px); border-bottom: 1px solid var(--rule); }
.sm-report__ico { grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--b2); color: var(--ink); font-size: 21px; }
.sm-report__n { position: absolute; top: clamp(16px, 2vw, 26px); inset-inline-end: 0; font: 400 clamp(44px, 5vw, 76px)/1 var(--f-num); color: transparent; -webkit-text-stroke: 1.5px color-mix(in oklab, var(--cream) 30%, transparent); pointer-events: none; }
.sm-report__t { padding-inline-end: 2.4em; font: 400 clamp(26px, 2.4vw, 38px)/1.02 var(--f-display); text-transform: var(--display-case); letter-spacing: var(--display-track); color: var(--cream); }
.sm-report__item p { grid-column: 2; max-width: 46ch; color: var(--on-deep-2); font-size: 16px; line-height: 1.6; }
.sm-report__note { margin-top: clamp(18px, 2vw, 26px); max-width: 66ch; color: var(--cream); font-size: 16px; line-height: 1.6; }
@media (min-width: 900px) {
  .sm-report__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 72px); }
  .sm-report__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- FAQ: a linked phrase inside an answer ---------- */
.sv-faq__list .faq__a a { color: var(--b1-accent); font-weight: 650; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* ---------- link list: guide rows carry a small label ---------- */
.sv-link--guide .sv-link__t { font-size: clamp(22px, 3vw, 46px); }
.sv-link__t small { display: block; font: 700 11.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--b2-on-deep); margin-bottom: 6px; }

/* ---------- hero: second half of the hero paragraph as a capsule under the CTA row + the H1 one step smaller, so the CTAs are
   on the 1440×900 first screen ---------- */
.sm-cap { display: flex; gap: 12px; align-items: flex-start; max-width: 60ch; margin-block: 22px 0; padding: 14px 18px 14px 16px; border-radius: 18px; background: color-mix(in oklab, var(--ink) 16%, transparent); color: var(--ink); font-size: 15.5px; line-height: 1.55; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 26%, transparent); }
.sm-cap i { flex: none; margin-top: 2px; font-size: 18px; }
.sm-hero .sv-hero__title { font-size: clamp(42px, 7.8vw, 112px); }
