/* =====================================================================
   social-media.css — Social Media Marketing Page
   Loaded after home-new.css; uses --da-* CSS custom properties.
   ===================================================================== */

/* Page-level overflow guard — prevents any absolutely-positioned or
   100vw element from creating a horizontal document scrollbar.       */
html,
body { overflow-x: hidden; }

/* ======================================================================
   KEYFRAMES — defined once, reused throughout the page
   ====================================================================== */

/* Clip-path slide-up reveal */
@keyframes smReveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0% 0);
    transform: translateY(0);
  }
}

/* Fade + drift from left (body text) */
@keyframes smFadeLeft {
  from { opacity: 0; transform: translateX(-22px); filter: blur(4px); }
  to   { opacity: 1; transform: translateX(0);     filter: blur(0); }
}

/* Scale-pop with spring overshoot (CTA button) */
@keyframes smScalePop {
  0%   { opacity: 0; transform: scale(0.75) translateY(14px); }
  68%  { transform: scale(1.05) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Spin-in pop entrance for floating icons */
@keyframes smIconPop {
  0%   { opacity: 0; transform: scale(0) rotate(-25deg); }
  65%  { transform: scale(1.18) rotate(6deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Floating bob — icons drift up/down */
@keyframes smFloat {
  from { transform: translateY(0)   rotate(-2deg); }
  to   { transform: translateY(-15px) rotate(2deg); }
}

/* Floating bob — alternate axis */
@keyframes smFloatAlt {
  from { transform: translateX(0)   translateY(0)    rotate(1deg); }
  to   { transform: translateX(-11px) translateY(-9px) rotate(-1deg); }
}

/* Gradient text shimmer sweep */
@keyframes smGradShimmer {
  0%   { background-position: 100% center; }
  50%  { background-position: 0%   center; }
  100% { background-position: 100% center; }
}

/* Pulsing border glow on the standout card (loops after reveal) */
@keyframes smBorderGlow {
  0%, 100% {
    border-color: rgba(124, 58, 237, 0.18);
    box-shadow: 0 0  0px rgba(124, 58, 237, 0),
                inset 0 0  0px rgba(124, 58, 237, 0);
  }
  50% {
    border-color: rgba(192, 38, 211, 0.50);
    box-shadow: 0 0 32px rgba(124, 58, 237, 0.18),
                inset 0 0 22px rgba(124, 58, 237, 0.06);
  }
}

/* ======================================================================
   HERO SECTION
   ====================================================================== */
.sm-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  background-color: #050508;
  background-image: url('../img/social_media_page/social-banner.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}

/* Directional dark overlay — left stays readable, right illustration shows through */
.sm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 4, 14, 0.96) 0%,
    rgba(8, 4, 22, 0.82) 38%,
    rgba(8, 4, 22, 0.40) 62%,
    rgba(8, 4, 22, 0.08) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.sm-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
}

.sm-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── Eyebrow badge ── */
.sm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--da-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1rem;
  animation: smReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.sm-hero__eyebrow-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── H1 ── */
.sm-hero__title {
  font-family: var(--da-font);
  font-size: clamp(1.75rem, 2.8vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--da-white);
  margin: 0 0 1.4rem;
  animation: smReveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* Gradient + shimmer sweep on hero gradient spans */
.sm-hero__grad {
  background: linear-gradient(90deg, #7c3aed, #c026d3, #e11d48, #c026d3, #7c3aed);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: smGradShimmer 3.5s ease 1.2s infinite;
}

/* ── Body text ── */
.sm-hero__body {
  font-family: var(--da-font);
  font-size: clamp(0.8rem, 0.9vw, 0.875rem);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  max-width: 500px;
  margin: 0 0 2rem;
  animation: smFadeLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

/* ── CTA — ghost/outline gradient border pill ── */
.sm-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#060612, #060612) padding-box,
    linear-gradient(90deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--da-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.20);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  animation: smScalePop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s both;
}

.sm-hero__cta:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 36px rgba(192, 38, 211, 0.28);
}

.sm-hero__cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
  font-size: 11px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.sm-hero__cta:hover .sm-hero__cta-arrow {
  transform: translateX(3px);
}

.sm-hero__media { min-height: 1px; }

/* ======================================================================
   FLOATING SOCIAL ICONS
   ====================================================================== */
.sm-hero__icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.sm-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

/* Brand colours */
.sm-icon--fb { background: #1877F2; }
.sm-icon--ig {
  background: radial-gradient(circle at 30% 107%,
    #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.sm-icon--yt { background: #FF0000; }
.sm-icon--x  { background: #0f0f0f; border: 1px solid rgba(255,255,255,0.18); }
.sm-icon--tt { background: #010101; border: 1px solid rgba(255,255,255,0.14); }
.sm-icon--li { background: #0A66C2; }

/* Each icon: pop-entrance first, then float continuously */
.sm-icon--p1 {
  top: 22%; left: 30%; width: 44px; height: 44px; font-size: 1.1rem; opacity: 0.72;
  animation: smIconPop 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.9s both,
             smFloat 8.5s ease-in-out 1.5s infinite alternate;
}
.sm-icon--p2 {
  top: 38%; right: 22%; width: 64px; height: 64px; font-size: 1.55rem;
  animation: smIconPop 0.55s cubic-bezier(0.34,1.56,0.64,1) 1.1s both,
             smFloat 7s ease-in-out 1.7s infinite alternate;
}
.sm-icon--p3 {
  top: 74%; left: 33%; width: 44px; height: 44px; font-size: 1.1rem; opacity: 0.78;
  animation: smIconPop 0.55s cubic-bezier(0.34,1.56,0.64,1) 1.5s both,
             smFloat 9s ease-in-out 2.1s infinite alternate;
}
.sm-icon--p4 {
  top: 46%; right: 36%; width: 50px; height: 50px; font-size: 1.25rem;
  animation: smIconPop 0.55s cubic-bezier(0.34,1.56,0.64,1) 1.7s both,
             smFloat 8s ease-in-out 2.3s infinite alternate;
}
.sm-icon--p5 {
  top: 44%; left: 2%; width: 38px; height: 38px; font-size: 0.95rem; opacity: 0.45;
  animation: smIconPop 0.55s cubic-bezier(0.34,1.56,0.64,1) 1.0s both,
             smFloat 10s ease-in-out 1.6s infinite alternate;
}
.sm-icon--p6 {
  top: 57%; right: 23%; width: 58px; height: 58px; font-size: 1.45rem;
  animation: smIconPop 0.55s cubic-bezier(0.34,1.56,0.64,1) 1.3s both,
             smFloat 7.5s ease-in-out 1.9s infinite alternate;
}
.sm-icon--p7 {
  top: 14%; left: 57%; width: 42px; height: 42px; font-size: 1.05rem; opacity: 0.82;
  animation: smIconPop 0.55s cubic-bezier(0.34,1.56,0.64,1) 0.8s both,
             smFloatAlt 8.5s ease-in-out 1.4s infinite alternate;
}
.sm-icon--p8 {
  top: 26%; right: 6%; width: 58px; height: 58px; font-size: 1.4rem;
  animation: smIconPop 0.55s cubic-bezier(0.34,1.56,0.64,1) 1.2s both,
             smFloatAlt 7s ease-in-out 1.8s infinite alternate;
}
.sm-icon--p9 {
  top: 80%; left: 55%; width: 42px; height: 42px; font-size: 1.05rem; opacity: 0.85;
  animation: smIconPop 0.55s cubic-bezier(0.34,1.56,0.64,1) 1.8s both,
             smFloat 9s ease-in-out 2.4s infinite alternate;
}
.sm-icon--p10 {
  top: 54%; right: 8%; width: 54px; height: 54px; font-size: 1.35rem; border-radius: 14px;
  animation: smIconPop 0.55s cubic-bezier(0.34,1.56,0.64,1) 1.4s both,
             smFloat 8s ease-in-out 2.0s infinite alternate;
}

/* ======================================================================
   RESPONSIVE — HERO
   ====================================================================== */
@media (max-width: 1100px) {
  .sm-hero__inner    { grid-template-columns: 1fr; }
  .sm-hero__media    { display: none; }
  .sm-hero           { background-position: 70% center; }
  .sm-hero::before   { background: rgba(5, 4, 14, 0.88); }
  .sm-icon--p2       { right: 6%; }
  .sm-icon--p6       { right: 6%; }
  .sm-icon--p8       { right: 2%; }
  .sm-icon--p10      { right: 2%; }
}

@media (max-width: 768px) {
  .sm-hero           { min-height: calc(100vh - 64px); }
  .sm-hero__inner    { padding: 3rem 1.5rem 3.5rem; }
  .sm-hero__title    { font-size: clamp(1.55rem, 6vw, 2.3rem); }
  .sm-hero__body     { font-size: 0.83rem; max-width: 100%; }
  .sm-icon--p3, .sm-icon--p4, .sm-icon--p7, .sm-icon--p9 { display: none; }
}

@media (max-width: 480px) {
  .sm-hero__icons    { display: none; }
  .sm-hero__title    { font-size: clamp(1.45rem, 7.5vw, 2rem); }
  .sm-hero__inner    { padding: 2.5rem 1.25rem 3rem; }
  .sm-hero__cta      { font-size: 11px; min-height: 44px; }
}

@media (max-width: 360px) {
  .sm-hero__title    { font-size: 1.35rem; }
  .sm-hero__body     { font-size: 0.8rem; }
  .sm-hero__inner    { padding: 2rem 1rem 2.5rem; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .sm-hero__title, .sm-hero__body, .sm-hero__cta,
  .sm-hero__grad, .sm-icon {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    background-position: 0% center !important;
  }
}

/* ======================================================================
   SHARED UTILITY — reusable gradient text across sections
   ====================================================================== */
.sm-grad {
  background: linear-gradient(90deg, #7c3aed, #c026d3, #e11d48, #c026d3, #7c3aed);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Shimmer fires once the section scrolls into view */
.sm-standout.is-visible .sm-grad {
  animation: smGradShimmer 3.5s ease 0.4s infinite;
}

/* ======================================================================
   STAND OUT SECTION
   ====================================================================== */
.sm-standout {
  position: relative;
  overflow: hidden;
  background-color: #070709;
  background-image: url('../img/social_media_page/standout-background.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;   /* stretch to fill the section exactly */
  background-position: center center;
  padding: clamp(4.5rem, 7vw, 7rem) 0;
}

/* Dark overlay */
.sm-standout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 12, 0.58);
  pointer-events: none;
  z-index: 1;
}

.sm-standout__inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  text-align: center;
}

/* ── H2 ── */
.sm-standout__title {
  font-family: var(--da-font);
  font-size: clamp(1.35rem, 2.2vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--da-white);
  margin: 0 0 clamp(1.8rem, 3.5vw, 3rem);
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition:
    opacity   1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    filter    1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.sm-standout.is-visible .sm-standout__title {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── Dark rounded card ── */
.sm-standout__card {
  position: relative;
  background: rgba(8, 6, 18, 0.84);
  border-radius: 28px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  filter: blur(8px);
  transition:
    opacity   1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s,
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s,
    filter    1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

.sm-standout.is-visible .sm-standout__card {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  animation: smBorderGlow 3.5s ease-in-out 1.3s infinite;
}

/* Purple glow blooming from card bottom */
.sm-standout__card::after {
  content: "";
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 75%; height: 180px;
  background: radial-gradient(
    ellipse at center,
    rgba(124, 58, 237, 0.48) 0%,
    rgba(192, 38, 211, 0.22) 40%,
    transparent 72%
  );
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}

/* ── List items — staggered reveal ── */
.sm-standout__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sm-standout__item {
  font-family: var(--da-font);
  font-size: clamp(0.8rem, 0.9vw, 0.875rem);
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.74);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity   0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.sm-standout__item:nth-child(1) { transition-delay: 0.38s; }
.sm-standout__item:nth-child(2) { transition-delay: 0.46s; }
.sm-standout__item:nth-child(3) { transition-delay: 0.54s; }
.sm-standout__item:nth-child(4) { transition-delay: 0.62s; }
.sm-standout__item:nth-child(5) { transition-delay: 0.70s; }
.sm-standout__item:nth-child(6) { transition-delay: 0.78s; }

.sm-standout.is-visible .sm-standout__item {
  opacity: 1;
  transform: translateY(0);
}

.sm-standout__item strong {
  color: #ffffff;
  font-weight: 700;
}

/* ── Closing line ── */
.sm-standout__closing {
  position: relative;
  z-index: 1;
  font-family: var(--da-font);
  font-size: clamp(0.8rem, 0.9vw, 0.875rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.65s ease 0.9s, transform 0.65s ease 0.9s;
}

.sm-standout.is-visible .sm-standout__closing {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive — Standout ── */
@media (max-width: 768px) {
  .sm-standout__card  { padding: 2rem 1.5rem; border-radius: 20px; }
  .sm-standout__title { font-size: clamp(1.25rem, 5.5vw, 2rem); }
}

@media (max-width: 480px) {
  .sm-standout__inner { padding: 0 1.25rem; }
  .sm-standout__card  { padding: 1.75rem 1.25rem; border-radius: 16px; }
  .sm-standout__title { font-size: clamp(1.15rem, 7vw, 1.6rem); }
  .sm-standout__item,
  .sm-standout__closing { font-size: 0.82rem; }
}

@media (max-width: 360px) {
  .sm-standout__inner { padding: 0 1rem; }
  .sm-standout__card  { padding: 1.5rem 1rem; }
  .sm-standout__title { font-size: 1.1rem; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .sm-standout__title,
  .sm-standout__card,
  .sm-standout__item,
  .sm-standout__closing,
  .sm-grad {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ======================================================================
   BOOST SECTION — "Boost Your Brand's Digital Visibility"
   ====================================================================== */

/* Trigger shimmer on .sm-grad when this section is visible */
.sm-boost.is-visible .sm-grad {
  animation: smGradShimmer 3.5s ease 0.5s infinite;
}

/* Image gentle float once visible */
@keyframes smBoostFloat {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-7px) scale(1.012); }
}

.sm-boost {
  position: relative;
  overflow: hidden;
  background-color: #060608;
  padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.sm-boost__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

.sm-boost__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 5rem);
  align-items: center;
}

/* ── Left: image column — slide from left ── */
.sm-boost__media {
  opacity: 0;
  transform: translateX(-42px) scale(0.95);
  filter: blur(10px);
  transition:
    opacity   1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter    1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.sm-boost.is-visible .sm-boost__media {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
}

.sm-boost__media-stage {
  position: relative;
  width: 100%;
}

/* Purple ambient glow behind the figure */
.sm-boost__media-stage::before {
  content: "";
  position: absolute;
  inset: 5% 10% 5% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.28) 0%, rgba(192,38,211,0.14) 40%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.sm-boost__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 54px rgba(0, 0, 0, 0.70));
}

/* Subtle float after reveal */
.sm-boost.is-visible .sm-boost__image {
  animation: smBoostFloat 7s ease-in-out 0.8s infinite alternate;
}

/* ── Right: content column — slide from right ── */
.sm-boost__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(36px) translateY(10px);
  filter: blur(8px);
  transition:
    opacity   1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
    filter    1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.sm-boost.is-visible .sm-boost__content {
  opacity: 1;
  transform: translateX(0) translateY(0);
  filter: blur(0);
}

/* ── H2 ── */
.sm-boost__title {
  font-family: var(--da-font);
  font-size: clamp(1.35rem, 2.2vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--da-white);
  margin: 0 0 1.8rem;
}

/* ── Body paragraphs — stagger via nth-child transitions ── */
.sm-boost__body {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  margin: 0 0 2.2rem;
  width: 100%;
}

.sm-boost__body p {
  font-family: var(--da-font);
  font-size: clamp(0.8rem, 0.9vw, 0.875rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity   0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.sm-boost__body p:nth-child(1) { transition-delay: 0.32s; }
.sm-boost__body p:nth-child(2) { transition-delay: 0.44s; }
.sm-boost__body p:nth-child(3) { transition-delay: 0.56s; }
.sm-boost__body p:nth-child(4) { transition-delay: 0.68s; }

.sm-boost.is-visible .sm-boost__body p {
  opacity: 1;
  transform: translateY(0);
}

/* ── CTA — ghost/outline gradient border pill ── */
.sm-boost__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#060612, #060612) padding-box,
    linear-gradient(90deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--da-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.20);
  opacity: 0;
  transform: translateY(12px);
  /* Single transition block — 0.82s delay for scroll-reveal, 0s on hover */
  transition:
    opacity    0.65s ease 0.82s,
    transform  0.65s ease 0.82s,
    box-shadow 0.25s ease,
    filter     0.25s ease;
}

.sm-boost.is-visible .sm-boost__cta {
  opacity: 1;
  transform: translateY(0);
}

.sm-boost__cta:hover {
  color: #fff;
  transform: translateY(-2px) !important;
  filter: brightness(1.08);
  box-shadow: 0 14px 36px rgba(192, 38, 211, 0.28);
  transition-delay: 0s; /* override the 0.82s reveal delay so hover is instant */
}

.sm-boost__cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
  font-size: 11px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.sm-boost__cta-arrow i {
  transform: rotate(-45deg);
  transition: transform 0.25s ease;
}

.sm-boost__cta:hover .sm-boost__cta-arrow i {
  transform: rotate(-45deg) scale(1.15);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .sm-boost__grid   { grid-template-columns: 1fr; }
  .sm-boost__media  { order: 1; }
  .sm-boost__content { order: 2; }
  .sm-boost__media-stage { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .sm-boost__title  { font-size: clamp(1.25rem, 5.5vw, 2rem); }
  .sm-boost__body p { font-size: 0.83rem; }
}

@media (max-width: 480px) {
  .sm-boost__title  { font-size: clamp(1.15rem, 7vw, 1.6rem); }
  .sm-boost__body p { font-size: 0.82rem; }
  .sm-boost__cta    { font-size: 11px; min-height: 44px; }
}

@media (max-width: 360px) {
  .sm-boost__title  { font-size: 1.1rem; }
  .sm-boost__body p { font-size: 0.8rem; }
  .sm-boost__inner  { padding: 0 1rem; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .sm-boost__media,
  .sm-boost__content,
  .sm-boost__image,
  .sm-boost__body p,
  .sm-boost__cta {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ======================================================================
   GOALS / STRATEGIC DIGITAL GROWTH SECTION
   ====================================================================== */

.sm-goals.is-visible .sm-grad {
  animation: smGradShimmer 3.5s ease 0.3s infinite;
}

@keyframes smIconBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-7px) scale(1.07); }
}

.sm-goals {
  position: relative;
  overflow: hidden;
  background-color: #070709;
  padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(3rem, 5vw, 5rem);
}

/* Purple glow top-right */
.sm-goals::after {
  content: "";
  position: absolute;
  top: -8%; right: -4%;
  width: 48%; height: 70%;
  background: radial-gradient(circle,
    rgba(124,58,237,0.22) 0%, rgba(192,38,211,0.08) 40%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Title wrapper — constrained to inner width */
.sm-goals__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

/* H2 */
.sm-goals__title {
  font-family: var(--da-font);
  font-size: clamp(1.35rem, 2.2vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--da-white);
  text-align: center;
  margin: 0 0 clamp(2rem, 4.5vw, 4rem);
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition:
    opacity 1.1s cubic-bezier(0.22,1,0.36,1),
    transform 1.1s cubic-bezier(0.22,1,0.36,1),
    filter 1.1s cubic-bezier(0.22,1,0.36,1);
}

.sm-goals.is-visible .sm-goals__title {
  opacity: 1; transform: translateY(0); filter: blur(0);
}

/* ── Stage — FULL WIDTH (direct child of section, no inner padding) ── */
.sm-goals__stage {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(1.5rem, 3vh, 2.5rem);
}

/* ── LEFT: arrow_bg — z-index 1, BEHIND row-bottom cards ── */
.sm-goals__arrow {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-52%) translateX(-28px);
  /* 16vw → right edge reaches ~3vw behind card-04's left edge */
  width: clamp(155px, 16vw, 232px);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.9s ease 0.2s,
              transform 0.9s cubic-bezier(0.22,1,0.36,1) 0.2s;
}

.sm-goals.is-visible .sm-goals__arrow {
  opacity: 1;
  transform: translateY(-52%) translateX(0);
}

.sm-goals__arrow img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 10px 24px rgba(180,0,0,0.28));
}

/* ── RIGHT: phone — z-index 4, OVERLAPS row-top right column ── */
.sm-goals__phone {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-44%) translateX(28px);
  /* 41.5vw → phone left ≈ 799px, card-03 right ≈ 847px → ~30% overlap */
  width: clamp(310px, 41.5vw, 600px);
  z-index: 4;
  opacity: 0;
  transition: opacity 0.9s ease 0.25s,
              transform 0.9s cubic-bezier(0.22,1,0.36,1) 0.25s;
}

.sm-goals.is-visible .sm-goals__phone {
  opacity: 1;
  transform: translateY(-44%) translateX(0);
}

.sm-goals__phone img {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 20px 44px rgba(0,0,0,0.68));
}

/* ── Rows container — z-index 2, sits between arrow and phone ── */
.sm-goals__rows {
  position: relative;
  z-index: 2;
  /* card-04 starts at 13vw from section left (arrow is 16vw, overlaps 3vw behind card-04) */
  padding-left: clamp(120px, 13vw, 300px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sm-goals__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

/* Row 1 (01–03): shifted RIGHT so card-01 aligns above the gap between card-04 and card-05 */
.sm-goals__row--top {
  margin-left: clamp(90px, 11vw, 230px);
}

/* Row 2 (04–06): starts at rows left-padding edge */
.sm-goals__row--bottom {
  margin-left: 0;
}

/* ── Card ── */
.sm-goals__card {
  position: relative;
  flex-shrink: 0;
  width: clamp(145px, 12vw, 248px);
  height: clamp(190px, 15.5vw, 270px);
  background: rgba(14, 12, 26, 0.96);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  padding: 2rem 0.85rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  cursor: default;
  opacity: 0;
  transform: scale(0.84) translateY(22px);
  transition:
    opacity      0.55s cubic-bezier(0.22,1,0.36,1),
    transform    0.55s cubic-bezier(0.22,1,0.36,1),
    border-color 0.28s ease,
    box-shadow   0.28s ease;
}

.sm-goals__row--bottom .sm-goals__card:nth-child(1) { transition-delay: 0.20s; }
.sm-goals__row--bottom .sm-goals__card:nth-child(2) { transition-delay: 0.32s; }
.sm-goals__row--bottom .sm-goals__card:nth-child(3) { transition-delay: 0.44s; }
.sm-goals__row--top    .sm-goals__card:nth-child(1) { transition-delay: 0.30s; }
.sm-goals__row--top    .sm-goals__card:nth-child(2) { transition-delay: 0.42s; }
.sm-goals__row--top    .sm-goals__card:nth-child(3) { transition-delay: 0.54s; }

/* Card 02 — shorter card pushed down; creates the visual zigzag staircase */
.sm-goals__row--top .sm-goals__card:nth-child(2) {
  height: clamp(120px, 10.5vw, 200px);
  margin-top: clamp(50px, 5.5vw, 110px);
}

/* Card 04 — alone in leftmost column; large right margin creates blank column before card-05 */
.sm-goals__row--bottom .sm-goals__card:nth-child(1) {
  margin-right: clamp(100px, 11vw, 230px);
  height: clamp(200px, 16.5vw, 282px);
}

.sm-goals.is-visible .sm-goals__card {
  opacity: 1; transform: scale(1) translateY(0);
}

.sm-goals__card:hover {
  transition-delay: 0s !important;
  border-color: rgba(124,58,237,0.52);
  box-shadow: 0 0 28px rgba(124,58,237,0.20), 0 8px 30px rgba(0,0,0,0.50);
  transform: scale(1.05) translateY(-4px) !important;
}

/* Card number */
.sm-goals__card-num {
  position: absolute;
  top: 10px; left: 12px;
  font-family: var(--da-font);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(124,58,237,0.82);
  line-height: 1;
}

/* Icon */
.sm-goals__card-icon {
  width: clamp(54px, 5.5vw, 92px);
  height: clamp(54px, 5.5vw, 92px);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.sm-goals__card:hover .sm-goals__card-icon {
  transform: translateY(-5px) scale(1.14);
}

.sm-goals.is-visible .sm-goals__card-icon {
  animation: smIconBounce 3.8s ease-in-out infinite;
}
.sm-goals.is-visible .sm-goals__row--bottom .sm-goals__card:nth-child(1) .sm-goals__card-icon { animation-delay: 0s; }
.sm-goals.is-visible .sm-goals__row--bottom .sm-goals__card:nth-child(2) .sm-goals__card-icon { animation-delay: 0.64s; }
.sm-goals.is-visible .sm-goals__row--bottom .sm-goals__card:nth-child(3) .sm-goals__card-icon { animation-delay: 1.28s; }
.sm-goals.is-visible .sm-goals__row--top    .sm-goals__card:nth-child(1) .sm-goals__card-icon { animation-delay: 0.32s; }
.sm-goals.is-visible .sm-goals__row--top    .sm-goals__card:nth-child(2) .sm-goals__card-icon { animation-delay: 0.96s; }
.sm-goals.is-visible .sm-goals__row--top    .sm-goals__card:nth-child(3) .sm-goals__card-icon { animation-delay: 1.60s; }

.sm-goals__card-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.55));
}

/* H3 title */
.sm-goals__card-title {
  font-family: var(--da-font);
  font-size: clamp(10px, 0.85vw, 13px); font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em; line-height: 1.45;
  color: #ffffff; text-align: center; margin: 0;
}

/* ── Responsive ── */

@media (max-width: 1100px) {
  .sm-goals__arrow, .sm-goals__phone { display: none; }
  .sm-goals__rows {
    padding-left: 0;
    align-items: center;
    width: 100%; /* ensures child row widths and their % cards resolve against viewport */
  }
  .sm-goals__row--top,
  .sm-goals__row--bottom {
    margin-left: 0;
    justify-content: center;
    width: 100%; /* explicit full width so calc(50%) on cards = half viewport */
  }
  /* Reset card-specific overrides to uniform */
  .sm-goals__row--top .sm-goals__card:nth-child(2) {
    height: auto;
    min-height: 165px;
    margin-top: 0;
  }
  .sm-goals__row--bottom .sm-goals__card:nth-child(1) {
    margin-right: 0;
    height: auto;
    min-height: 165px;
    width: clamp(145px, 12vw, 248px); /* uniform with all other cards */
  }
}

@media (max-width: 768px) {
  .sm-goals__row       { flex-wrap: wrap; justify-content: center; }
  .sm-goals__card      { width: calc(50% - 8px); height: auto; min-height: 165px; }
  .sm-goals__card-icon { width: 50px; height: 50px; }
  .sm-goals__title     { font-size: clamp(1.25rem, 5.5vw, 2rem); }
  .sm-goals__rows      { gap: 10px; }
  .sm-goals__row       { gap: 10px; }
}

@media (max-width: 480px) {
  .sm-goals__card       { width: calc(50% - 6px); padding: 1.6rem 0.65rem 1rem; }
  .sm-goals__card-icon  { width: 42px; height: 42px; }
  .sm-goals__card-title { font-size: 9.5px; }
  .sm-goals__title      { font-size: clamp(1.15rem, 7vw, 1.6rem); }
}

@media (max-width: 360px) {
  .sm-goals__card       { width: calc(50% - 5px); padding: 1.4rem 0.5rem 0.85rem; }
  .sm-goals__card-icon  { width: 36px; height: 36px; }
  .sm-goals__card-title { font-size: 9px; }
  .sm-goals__title      { font-size: 1.1rem; }
  .sm-goals__rows       { gap: 8px; }
  .sm-goals__row        { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .sm-goals__title, .sm-goals__arrow, .sm-goals__phone,
  .sm-goals__card, .sm-goals__card-icon, .sm-grad {
    transition: none !important; animation: none !important;
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   ELEVATE BRAND SECTION  (.sm-elevate)
   Background: elevate-brand-background2.webp — wide panoramic (~2.4:1).
   Left half = pure black → sits cleanly behind the text column.
   Right half = AI head + floating social icons → fills the empty grid column.
   Same technique as .sm-standout: full section background-image with a
   directional overlay ::before to keep text readable on the left.
   ══════════════════════════════════════════════════════════════════════ */

.sm-elevate.is-visible .sm-grad {
  animation: smGradShimmer 3.5s ease 0.5s infinite;
}

.sm-elevate {
  position: relative;
  overflow: hidden;
  background-color: #07070a;
  background-image: url('../img/social_media_page/elevate-brand-background2.webp');
  background-repeat: no-repeat;
  background-size: cover;
  /* Right-align so the head + icons (right half of image) fill the right
     column area; the image's black left half sits behind the text column */
  background-position: right center;
  padding: clamp(4.5rem, 7vw, 7rem) 0;
}

/* Directional overlay — heavy darkness over the text column (left),
   fades to near-transparent so the colourful head shows on the right */
.sm-elevate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(7, 7, 10, 0.94) 0%,
    rgba(7, 7, 10, 0.88) 35%,
    rgba(7, 7, 10, 0.52) 60%,
    rgba(7, 7, 10, 0.18) 80%,
    rgba(7, 7, 10, 0.08) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Old ambient glow no longer needed — background image provides colour */
.sm-elevate::after { display: none; }

.sm-elevate__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

/* Two-column grid: content left (1.1fr), spacer right (0.9fr).
   The right column is empty — the background image shows through it. */
.sm-elevate__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

/* Right column spacer — sets a min-height so the grid row is tall
   enough for the background image subject to show properly           */
.sm-elevate__media-spacer {
  min-height: clamp(360px, 44vw, 560px);
}

/* ══ LEFT COLUMN — content ══ */

.sm-elevate__title {
  font-family: var(--da-font);
  font-size: clamp(1.6rem, 2.8vw, 3.1rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--da-white);
  margin: 0 0 clamp(1.25rem, 2vw, 2rem);
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  transition:
    opacity   1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    filter    1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.sm-elevate.is-visible .sm-elevate__title {
  opacity: 1; transform: translateY(0); filter: blur(0);
}

.sm-elevate__body {
  font-family: var(--da-font);
  font-size: clamp(0.8rem, 0.88vw, 0.9rem);
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 clamp(1.75rem, 3vw, 2.75rem);
  max-width: 600px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity   1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.18s,
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}
.sm-elevate.is-visible .sm-elevate__body {
  opacity: 1; transform: translateY(0);
}

.sm-elevate__cards {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 18px);
}

.sm-elevate__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 24px);
  background: rgba(16, 12, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: clamp(1rem, 1.4vw, 1.35rem) clamp(1rem, 1.8vw, 1.7rem);
  overflow: hidden;
  opacity: 0;
  transform: translateX(-40px);
  filter: blur(6px);
  transition:
    opacity      0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform    0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter       0.85s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s  ease,
    box-shadow   0.3s  ease;
  transition-delay: var(--d, 0s);
}

.sm-elevate__card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(180deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%);
  opacity: 0.88;
  transition: opacity 0.3s ease;
}

.sm-elevate__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 30%, rgba(124,58,237,0.06) 50%, transparent 70%);
  background-size: 300% 100%;
  background-position: -100% 0;
  transition: background-position 0.7s ease;
  pointer-events: none;
}
.sm-elevate__card:hover::after  { background-position: 200% 0; }

.sm-elevate.is-visible .sm-elevate__card {
  opacity: 1; transform: translateX(0); filter: blur(0);
}

.sm-elevate__card:hover {
  border-color: rgba(124, 58, 237, 0.4) !important;
  box-shadow: 0 8px 34px rgba(124,58,237,0.16), inset 0 0 0 1px rgba(124,58,237,0.10);
  transform: translateX(5px) !important;
  transition-delay: 0s !important;
}
.sm-elevate__card:hover::before { opacity: 1; }

.sm-elevate__card-icon {
  flex-shrink: 0;
  width: clamp(58px, 5vw, 76px);
  height: clamp(58px, 5vw, 76px);
  display: flex; align-items: center; justify-content: center;
}
.sm-elevate__card-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.55));
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sm-elevate__card:hover .sm-elevate__card-icon img { transform: scale(1.18) rotate(-8deg); }

.sm-elevate.is-visible .sm-elevate__card:nth-child(1) .sm-elevate__card-icon img { animation: smIconBounce 4s ease-in-out 0.6s infinite; }
.sm-elevate.is-visible .sm-elevate__card:nth-child(2) .sm-elevate__card-icon img { animation: smIconBounce 4s ease-in-out 1.2s infinite; }
.sm-elevate.is-visible .sm-elevate__card:nth-child(3) .sm-elevate__card-icon img { animation: smIconBounce 4s ease-in-out 1.8s infinite; }

.sm-elevate__card-text { flex: 1; min-width: 0; }

.sm-elevate__card-title {
  font-family: var(--da-font);
  font-size: clamp(0.88rem, 1vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin: 0 0 0.4rem;
  line-height: 1.35;
}

.sm-elevate__card-body {
  font-family: var(--da-font);
  font-size: clamp(0.75rem, 0.82vw, 0.85rem);
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.60);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  /* Grid collapses to single column — content fills full width.
     Use a stronger uniform overlay so text stays readable over
     the colourful portion of the background image.              */
  .sm-elevate__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* Hide the spacer — no dedicated column, background shows behind content */
  .sm-elevate__media-spacer { display: none; }
  .sm-elevate__body         { max-width: 100%; }
  /* Stronger, more uniform overlay at tablet/mobile */
  .sm-elevate::before {
    background: linear-gradient(
      180deg,
      rgba(7, 7, 10, 0.86) 0%,
      rgba(7, 7, 10, 0.80) 100%
    );
  }
  /* Shift background so the head stays visible at narrower widths */
  .sm-elevate { background-position: 80% center; }
}

@media (max-width: 768px) {
  .sm-elevate__card      { align-items: flex-start; }
  .sm-elevate__card-icon { width: 52px; height: 52px; }
  .sm-elevate { background-position: 75% center; }
  .sm-elevate::before { background: rgba(7, 7, 10, 0.84); }
}

@media (max-width: 480px) {
  .sm-elevate__card-title { font-size: 0.875rem; }
  .sm-elevate__card-body  { font-size: 0.78rem;  }
  .sm-elevate { background-position: 70% center; }
  .sm-elevate::before { background: rgba(7, 7, 10, 0.86); }
}

@media (max-width: 360px) {
  .sm-elevate__inner      { padding: 0 1rem; }
  .sm-elevate__card       { padding: 0.9rem 0.85rem; gap: 12px; }
  .sm-elevate__card-icon  { width: 44px; height: 44px; }
  .sm-elevate__card-title { font-size: 0.82rem; }
  .sm-elevate__card-body  { font-size: 0.75rem; }
  .sm-elevate__title      { font-size: 1.25rem; }
  .sm-elevate { background-position: 68% center; }
  .sm-elevate::before { background: rgba(7, 7, 10, 0.88); }
}

@media (prefers-reduced-motion: reduce) {
  .sm-elevate__title, .sm-elevate__body,
  .sm-elevate__card, .sm-elevate__card-icon img {
    transition: none !important; animation: none !important;
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   SERVICES WE OFFER SECTION  (.sm-services)
   ══════════════════════════════════════════════════════════════════════ */

.sm-services.is-visible .sm-grad {
  animation: smGradShimmer 3.5s ease 0.4s infinite;
}

.sm-services {
  position: relative;
  overflow: hidden;
  background-color: #07070a;
  padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(4rem, 6vw, 6rem);
}

/* Ambient centre glow */
.sm-services::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 60%;
  background: radial-gradient(ellipse at 50% 0%,
    rgba(124,58,237,0.12) 0%, rgba(192,38,211,0.06) 45%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.sm-services__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

/* ── Section header ── */
.sm-services__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition:
    opacity   1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    filter    1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.sm-services.is-visible .sm-services__header {
  opacity: 1; transform: translateY(0); filter: blur(0);
}

/* H2 */
.sm-services__title {
  font-family: var(--da-font);
  font-size: clamp(1.6rem, 2.8vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--da-white);
  margin: 0 0 clamp(0.85rem, 1.4vw, 1.25rem);
}

.sm-services__subtitle {
  font-family: var(--da-font);
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
  max-width: 640px;
  margin: 0 auto;
}

/* ── Card grid ── */
.sm-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.5vw, 20px);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

/* ── Card ── */
.sm-services__card {
  position: relative;
  background: rgba(14, 12, 26, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: clamp(1.35rem, 2vw, 2rem) clamp(1.2rem, 1.8vw, 1.75rem);
  overflow: hidden;
  cursor: default;
  /* Scroll-reveal */
  opacity: 0;
  transform: translateY(34px) scale(0.96);
  filter: blur(6px);
  transition:
    opacity      0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform    0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter       0.75s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s  ease,
    box-shadow   0.3s  ease;
  transition-delay: var(--d, 0s);
}

/* Hover glow shimmer sweep */
.sm-services__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    transparent 25%,
    rgba(124, 58, 237, 0.07) 50%,
    transparent 75%);
  background-size: 400% 400%;
  background-position: 100% 100%;
  transition: background-position 0.65s ease;
  pointer-events: none;
  border-radius: inherit;
}
.sm-services__card:hover::before {
  background-position: 0% 0%;
}

/* Top gradient line that reveals on hover */
.sm-services__card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.sm-services__card:hover::after {
  opacity: 0.85;
}

.sm-services.is-visible .sm-services__card {
  opacity: 1; transform: translateY(0) scale(1); filter: blur(0);
}

.sm-services__card:hover {
  border-color: rgba(124, 58, 237, 0.38) !important;
  box-shadow:
    0 12px 40px rgba(124, 58, 237, 0.18),
    0 4px  16px rgba(0, 0, 0, 0.40);
  transform: translateY(-6px) !important;
  transition-delay: 0s !important;
}

/* Card icon */
.sm-services__card-icon {
  width: clamp(56px, 5vw, 72px);
  height: clamp(56px, 5vw, 72px);
  margin-bottom: clamp(0.9rem, 1.3vw, 1.3rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-services__card-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sm-services__card:hover .sm-services__card-icon img {
  transform: scale(1.18) rotate(-8deg);
}

/* Bounce when section visible */
.sm-services.is-visible .sm-services__card:nth-child(1) .sm-services__card-icon img { animation: smIconBounce 4s ease-in-out 0.2s  infinite; }
.sm-services.is-visible .sm-services__card:nth-child(2) .sm-services__card-icon img { animation: smIconBounce 4s ease-in-out 0.6s  infinite; }
.sm-services.is-visible .sm-services__card:nth-child(3) .sm-services__card-icon img { animation: smIconBounce 4s ease-in-out 1.0s  infinite; }
.sm-services.is-visible .sm-services__card:nth-child(4) .sm-services__card-icon img { animation: smIconBounce 4s ease-in-out 1.4s  infinite; }
.sm-services.is-visible .sm-services__card:nth-child(5) .sm-services__card-icon img { animation: smIconBounce 4s ease-in-out 1.8s  infinite; }
.sm-services.is-visible .sm-services__card:nth-child(6) .sm-services__card-icon img { animation: smIconBounce 4s ease-in-out 2.2s  infinite; }

/* H3 */
.sm-services__card-title {
  font-family: var(--da-font);
  font-size: clamp(0.9rem, 1.05vw, 1.1rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.38;
  margin: 0 0 clamp(0.75rem, 1.1vw, 1rem);
  letter-spacing: 0.005em;
}

/* Bullet list */
.sm-services__card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sm-services__card-list li {
  position: relative;
  padding-left: 16px;
  font-family: var(--da-font);
  font-size: clamp(0.73rem, 0.78vw, 0.8rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.sm-services__card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(168, 85, 247, 0.9);
  font-size: 0.95em;
  line-height: inherit;
}

/* ── CTA button row ── */
.sm-services__cta-wrap {
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity   0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.52s,
    transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.52s;
}
.sm-services.is-visible .sm-services__cta-wrap {
  opacity: 1; transform: scale(1);
}

.sm-services__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px 11px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#07070a, #07070a) padding-box,
    linear-gradient(90deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
  color: #fff;
  font-family: var(--da-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.16);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.sm-services__cta:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 16px 40px rgba(192, 38, 211, 0.28);
}

/* Arrow circle */
.sm-services__cta-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316 0%, #e11d48 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sm-services__cta:hover .sm-services__cta-arrow {
  transform: rotate(45deg) scale(1.12);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sm-services__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 900px) {
  .sm-services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .sm-services__grid { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 480px) {
  .sm-services__grid { grid-template-columns: 1fr; }
  .sm-services__card { padding: 1.25rem 1.1rem; }
}

@media (max-width: 360px) {
  .sm-services__inner  { padding: 0 1rem; }
  .sm-services__card   { padding: 1.1rem 0.9rem; }
  .sm-services__title  { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sm-services__header, .sm-services__card,
  .sm-services__card-icon img, .sm-services__cta-wrap {
    transition: none !important; animation: none !important;
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   SM CROSS TICKER  (.sm-crt)
   Reuses da-crt__ internals from home-new.css — only overrides the
   outer container and adjusts fade/vignette colours for #07070a bg.
   ══════════════════════════════════════════════════════════════════════ */

.sm-crt {
  position: relative;
  overflow: visible;          /* allows lamp glow to bleed downward */
  z-index: 1;
  background: #07070a;
  min-height: clamp(260px, 28vw, 360px);
  padding: clamp(70px, 8vw, 100px) 0;
}

/*
  sm-crt__clip: a full-size absolute overlay that clips ONLY the ribbons/fades.
  z-index 1 within sm-crt — ribbons sit inside this stacking context.
  The outer section is overflow:visible so lamp glow is NOT clipped.
*/
.sm-crt__clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

/* Colour-match fades to SM page bg */
.sm-crt .da-crt__fade--top,
.sm-crt__clip .da-crt__fade--top {
  height: 18%;
  background: linear-gradient(to bottom,
    #07070a 0%, rgba(7,7,10,0.70) 40%, transparent 100%);
}
.sm-crt .da-crt__fade--bottom,
.sm-crt__clip .da-crt__fade--bottom {
  height: 18%;
  background: linear-gradient(to top,
    #07070a 0%, rgba(7,7,10,0.70) 40%, transparent 100%);
}
.sm-crt .da-crt__vignette--l,
.sm-crt .da-crt__vignette--r { display: none; }

/* ══════════════════════════════════════════════════════════════════════
   SM TESTIMONIALS SECTION  (.sm-testimonials)
   Includes: hanging lamp overlay, light cone, heading, infinite carousel
   ══════════════════════════════════════════════════════════════════════ */

/* ══ LAMP INSIDE SM-CRT ═══════════════════════════════════════════════
   Cord  z-index 0  → behind ribbon strips (z-index 1 and 2)
   Lamp  z-index 30 → in front of fades (z-8) and vignettes (z-20)
   ══════════════════════════════════════════════════════════════════════ */

/* Thin cord — full height, threads behind ribbons */
/* Cord — full height from top to section bottom.
   The lamp shade (z-index 30) always covers the cord's bottom end,
   so the cord auto-connects regardless of rendered lamp size. */
.sm-crt__cord {
  position: absolute;
  top: 0;
  bottom: 0;             /* always reaches the lamp shade */
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(130,130,130,0.22) 10%,
    rgba(168,168,168,0.52) 42%,
    rgba(195,195,195,0.80) 100%);
  border-radius: 2px;
  z-index: 0;  /* BEHIND clip stacking context (z-1) */
  pointer-events: none;
}

/* Lamp group (cap + SVG + glow) — in front of everything */
.sm-crt__lamp {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 30;
  pointer-events: none;
}

/* Dome canopy */
.sm-crt__lamp-cap {
  width: 34px;
  height: 14px;
  background: radial-gradient(ellipse at 50% 0%,
    #747474 0%, #4e4e4e 42%, #2e2e2e 80%, #1e1e1e 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.12);
}

/* SVG shade */
.sm-crt__lamp-svg {
  display: block;
  width: clamp(150px, 16vw, 220px);
  height: auto;
}

/* Glow element — lamp is overflow:visible so shadow bleeds downward as a cone */
.sm-crt__lamp-glow {
  width: clamp(150px, 16vw, 220px);
  height: 5px;
  margin-top: -3px;
  background: rgba(255, 253, 215, 0.95);
  filter: blur(3px);
  box-shadow:
    /* Tight halo at shade opening */
    0    0px  14px   5px rgba(255, 252, 200, 0.94),
    /* Near cone — spreads as it goes down */
    0   28px  55px  20px rgba(255, 246, 175, 0.58),
    0   75px 120px  42px rgba(255, 236, 140, 0.28),
    0  145px 220px  68px rgba(255, 222,  95, 0.12),
    0  260px 360px  90px rgba(255, 205,  55, 0.05);
}

/* ══ TESTIMONIALS SECTION ═════════════════════════════════════════════
   Pulled up so its top-edge is exactly at the lamp shade's bottom.
   z-index 5 places testimonials above sm-crt (z-index 1).
   ══════════════════════════════════════════════════════════════════════ */
/*
  sm-testimonials: transparent-at-top background so the lamp glow from
  sm-crt (overflow:visible, z-index 1) is visible through the top of
  this section. Solid dark from 22% downward for content readability.
*/
.sm-testimonials {
  position: relative;
  z-index: 5;
  overflow: visible;
  background: linear-gradient(180deg,
    transparent               0%,
    rgba(7, 7, 10, 0.55)      7%,
    rgba(7, 7, 10, 0.90)     16%,
    #07070a                  24%);
  margin-top: -2px;
  padding-top:    clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(2rem, 3vw, 3rem);
}

/* ── Section header ─────────────────────────────────────────────────── */
.sm-testimonials__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

.sm-testimonials__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition:
    opacity   1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    filter    1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.sm-testimonials.is-visible .sm-testimonials__header {
  opacity: 1; transform: translateY(0); filter: blur(0);
}
.sm-testimonials.is-visible .sm-grad {
  animation: smGradShimmer 3.5s ease 0.5s infinite;
}

/* H2 */
.sm-testimonials__title {
  font-family: var(--da-font);
  font-size: clamp(1.65rem, 2.8vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 clamp(0.8rem, 1.2vw, 1.1rem);
}

.sm-testimonials__sub {
  font-family: var(--da-font);
  font-size: clamp(0.8rem, 0.88vw, 0.9rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.60);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Infinite carousel — full viewport width ──────────────────────── */
.sm-testimonials__slider-wrap {
  position: relative;
  overflow: hidden;
  /* Slider is a direct child of the section (no container padding to escape),
     so width:100% is already full-bleed. Never use 100vw here — on Windows
     with a visible scrollbar 100vw > content width and adds a horizontal bar. */
  width: 100%;
  padding: clamp(1rem, 1.5vw, 1.5rem) 0;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity   1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.22s,
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
}
.sm-testimonials.is-visible .sm-testimonials__slider-wrap {
  opacity: 1; transform: translateY(0);
}

/* Subtle vignette fades at viewport edges */
.sm-testimonials__slider-wrap::before,
.sm-testimonials__slider-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(30px, 4vw, 60px);
  z-index: 5;
  pointer-events: none;
}
.sm-testimonials__slider-wrap::before {
  left: 0;
  background: linear-gradient(to right, #07070a 0%, transparent 100%);
}
.sm-testimonials__slider-wrap::after {
  right: 0;
  background: linear-gradient(to left, #07070a 0%, transparent 100%);
}

.sm-testimonials__track {
  display: flex;
  gap: clamp(14px, 1.5vw, 20px);
  width: max-content;
  will-change: transform;
  animation: smReviewScroll 32s linear infinite;
}
.sm-testimonials__slider-wrap:hover .sm-testimonials__track {
  animation-play-state: paused;
}

@keyframes smReviewScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Card ── */
.sm-testimonials__card {
  flex-shrink: 0;
  width: clamp(280px, 24vw, 350px);
  background: rgba(14, 12, 26, 0.94);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: clamp(1.5rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.2vw, 1.1rem);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.sm-testimonials__card:hover {
  border-color: rgba(124,58,237,0.38);
  box-shadow: 0 10px 36px rgba(124,58,237,0.16);
  transform: translateY(-4px);
}

/* Featured card: gradient border */
.sm-testimonials__card--featured {
  border-color: transparent;
  background:
    linear-gradient(rgba(14,12,26,0.96), rgba(14,12,26,0.96)) padding-box,
    linear-gradient(135deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
}
.sm-testimonials__card--featured:hover {
  filter: brightness(1.04);
}

/* Quote icon */
.sm-testimonials__quote {
  font-size: clamp(1.4rem, 2vw, 2rem);
  background: linear-gradient(135deg, #7c3aed, #c026d3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  opacity: 0.9;
}

/* Review text */
.sm-testimonials__text {
  font-family: var(--da-font);
  font-size: clamp(0.78rem, 0.84vw, 0.875rem);
  line-height: 1.78;
  color: rgba(255,255,255,0.72);
  margin: 0;
  flex: 1;
}

/* Author row */
.sm-testimonials__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: clamp(0.6rem, 0.9vw, 0.85rem);
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* Avatar circle */
.sm-testimonials__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.sm-testimonials__avatar--a { background: linear-gradient(135deg,#7c3aed,#c026d3); }
.sm-testimonials__avatar--b { background: linear-gradient(135deg,#1d4ed8,#7c3aed); }
.sm-testimonials__avatar--c { background: linear-gradient(135deg,#c026d3,#e11d48); }
.sm-testimonials__avatar--d { background: linear-gradient(135deg,#0891b2,#7c3aed); }
.sm-testimonials__avatar--e { background: linear-gradient(135deg,#f97316,#e11d48); }
.sm-testimonials__avatar--f { background: linear-gradient(135deg,#059669,#0891b2); }

.sm-testimonials__name {
  font-family: var(--da-font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c026d3;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Taller section gives the X and lamp room to breathe */
  .sm-crt { min-height: clamp(300px, 70vw, 420px); }
  .sm-crt__lamp-svg { width: clamp(100px, 22vw, 140px); }
  .sm-crt__lamp-cap { width: 24px; height: 11px; }
}
@media (max-width: 480px) {
  .sm-crt { min-height: clamp(280px, 80vw, 380px); }
  .sm-crt__lamp-svg { width: clamp(85px, 22vw, 115px); }
  .sm-crt__lamp-cap { width: 20px; height: 9px; }
  .sm-testimonials__card { width: clamp(240px, 80vw, 300px); }
}

@media (max-width: 360px) {
  .sm-crt { min-height: clamp(260px, 85vw, 360px); }
  .sm-crt__lamp-svg { width: clamp(70px, 24vw, 100px); }
  .sm-crt__lamp-cap { width: 17px; height: 8px; }
  .sm-testimonials__inner { padding: 0 1rem; }
  .sm-testimonials__card  { width: clamp(220px, 88vw, 280px); }
  .sm-testimonials__title { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sm-testimonials__header, .sm-testimonials__slider-wrap,
  .sm-testimonials__track {
    transition: none !important; animation: none !important;
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
}

/* ======================================================================
   MOBILE PERFORMANCE OPTIMISATION  (≤ 1024px)
   Root causes of lag:
     1. filter:blur() on scroll-reveal elements — forces a GPU texture
        upload per element every time an IntersectionObserver fires.
     2. smGradShimmer animates background-position which is NOT
        GPU-composited — it causes a full layer repaint every frame on
        every .sm-grad element simultaneously.
     3. smIconBounce running on 9+ elements at once — too many
        simultaneous compositor layers on a mobile GPU.
     4. smReveal uses clip-path:inset() — expensive on low-end Android.
   None of these fixes change the visual design.
   ====================================================================== */
@media (max-width: 1024px) {

  /* ── 1. Strip blur from every scroll-reveal hidden state ──────────
     Setting filter:none on the initial state means no GPU blur texture
     is ever created. Removing 'filter' from transition-property means
     no composite layer is set up for the transition either.           */
  .sm-standout__title,
  .sm-standout__card,
  .sm-boost__media,
  .sm-boost__content,
  .sm-goals__title,
  .sm-elevate__title,
  .sm-elevate__card,
  .sm-services__header,
  .sm-services__card,
  .sm-testimonials__header {
    filter: none;
    transition-property: opacity, transform;
  }

  /* ── 2. Hero body: smFadeLeft uses filter:blur(4px) ── */
  .sm-hero__body {
    filter: none;
    animation: smFadeLeftMob 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
  }

  /* ── 3. Hero title: replace clip-path+blur smReveal with plain
     fade-up — same entrance feel, only composited properties used ── */
  .sm-hero__title {
    animation: smRevealMob 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  }

  /* ── 4. smGradShimmer: background-position not composited →
     full repaint per frame on every visible .sm-grad. Disable.    ── */
  .sm-grad,
  .sm-hero__grad { animation: none !important; }

  /* ── 5. Icon bounce × 9+ simultaneous compositor layers. Disable
     the continuous loop; icons are still styled and visible.       ── */
  .sm-goals__card-icon img,
  .sm-elevate__card-icon img,
  .sm-services__card-icon img { animation: none !important; }

  /* ── 6. Floating hero icons: limit to max 4 on tablet to halve
     the number of concurrent transform animations.                 ── */
  .sm-icon--p1, .sm-icon--p5 { display: none; }

  /* ── 7. drop-shadow on .sm-boost__image re-composites each frame
     when the float transform changes on low-end GPUs. Remove it.  ── */
  .sm-boost__image { filter: none; }

  /* ── 8. Explicitly promote the infinite-scroll testimonials track
     so page scroll and the carousel run on separate compositor
     threads and don't block each other.                            ── */
  .sm-testimonials__track { will-change: transform; }
}

/* Replacement keyframes — composited opacity+transform only */
@keyframes smRevealMob {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes smFadeLeftMob {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
