/* =====================================================================
   email-marketing.css — Email Marketing Service Page
   Loaded after home-new.css; uses --da-* CSS custom properties.
   BEM prefix: em-
   ===================================================================== */

html,
body { overflow-x: hidden; }

/* ======================================================================
   KEYFRAMES
   ====================================================================== */

@keyframes emReveal {
  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);
  }
}

@keyframes emFadeUp {
  from { opacity: 0; transform: translateY(22px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

@keyframes emPop {
  0%   { opacity: 0; transform: scale(0.75) translateY(14px); }
  68%  { transform: scale(1.05) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes emGradShimmer {
  0%   { background-position: 100% center; }
  50%  { background-position: 0%   center; }
  100% { background-position: 100% center; }
}

/* ======================================================================
   GRADIENT TEXT UTILITY
   ====================================================================== */

.em-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: emGradShimmer 3.5s ease 1.2s infinite;
}

/* ======================================================================
   HERO SECTION
   ====================================================================== */

.em-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--da-nav-h, 78px));
  background-color: #050508;
  background-image: url('../img/email_marketing/email_marketing_banner.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Dark overlay — dense at top for text readability, transparent at bottom to reveal ribbon */
.em-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 4, 14, 0.88) 0%,
    rgba(5, 4, 14, 0.62) 35%,
    rgba(5, 4, 14, 0.20) 60%,
    rgba(5, 4, 14, 0.00) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Inner wrapper ── */
.em-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 4vw, 3.5rem) 0;
  display: flex;
  justify-content: center;
}

/* ── Content block (centered) ── */
.em-hero__content {
  text-align: center;
  max-width: 740px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Eyebrow badge ── */
.em-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 1.25rem;
  animation: emFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

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

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

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

/* ── CTA button — border-gradient pill ── */
.em-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 8px 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.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: emPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s both;
}

.em-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(192, 38, 211, 0.30);
  color: #ffffff;
  text-decoration: none;
}

/* Arrow icon pill on CTA right side */
.em-hero__cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #c026d3);
  color: #fff;
  font-size: 13px;
  flex-shrink: 0;
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */

@media (max-width: 1024px) {
  .em-hero__title {
    font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  }
}

@media (max-width: 768px) {
  .em-hero {
    background-position: center center;
  }

  .em-hero::before {
    background: rgba(5, 4, 14, 0.82);
  }

  .em-hero__content {
    max-width: 100%;
  }

  .em-hero__body {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .em-hero__title {
    font-size: clamp(1.35rem, 6.5vw, 1.65rem);
  }
}

@media (max-width: 360px) {
  .em-hero__title {
    font-size: 1.25rem;
  }
}

/* ======================================================================
   PILLARS SECTION — List Building / Engage / Optimize / Analyze
   ====================================================================== */

.em-pillars {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background-color: #07060e;
  background-image: url('../web/Home_back_C.webp');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: repeat-y;
  overflow: hidden;
}

.em-pillars::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 14, 0.3);
  pointer-events: none;
  z-index: 1;
}

.em-pillars__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
}

/* ── Cards: 4-col grid ── */
.em-pillars__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.em-pillars__card {
  border-radius: 14px;
  border: 1px solid transparent;
  background:
    linear-gradient(#151318, #151318) padding-box,
    linear-gradient(rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.10)) border-box;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

.em-pillars__card--active {
  background:
    linear-gradient(#151318, #151318) padding-box,
    linear-gradient(135deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
}

.em-pillars__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.em-pillars__card-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.em-pillars__card-title {
  font-family: var(--da-font);
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.em-pillars__card-desc {
  font-family: var(--da-font);
  font-size: clamp(0.75rem, 0.82vw, 0.825rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* ======================================================================
   SCROLL-REVEAL — .is-visible added to .em-pillars by IntersectionObserver
   ====================================================================== */

.em-pillars [data-ss-reveal="card"] {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition:
    opacity   0.7s ease,
    transform 0.7s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.em-pillars [data-ss-reveal="card"][data-ss-delay="0"] { transition-delay: 0.10s; }
.em-pillars [data-ss-reveal="card"][data-ss-delay="1"] { transition-delay: 0.25s; }
.em-pillars [data-ss-reveal="card"][data-ss-delay="2"] { transition-delay: 0.40s; }
.em-pillars [data-ss-reveal="card"][data-ss-delay="3"] { transition-delay: 0.55s; }

.em-pillars.is-visible [data-ss-reveal="card"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .em-pillars [data-ss-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .em-pillars__cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .em-pillars__cards { grid-template-columns: 1fr; }
  .em-pillars__card  { padding: 1.5rem 1.25rem; }
}

/* ======================================================================
   MARKETING PARTNER IN DUBAI SECTION
   ====================================================================== */

.em-partner {
  position: relative;
  padding: clamp(4rem, 8vw, 8rem) 0;
  background-color: #07060e;
  background-image: url('../web/Home_back_D.webp');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: repeat-y;
  overflow: hidden;
}

.em-partner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 14, 0.52);
  pointer-events: none;
  z-index: 1;
}

/* ── Inner wrapper ── */
.em-partner__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* ── Left: image ── */
.em-partner__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.em-partner__img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ── Right: heading ── */
.em-partner__head {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.em-partner__title {
  font-family: var(--da-font);
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #fff;
  margin: 0;
}

/* ── Right: body ── */
.em-partner__body p {
  font-family: var(--da-font);
  font-size: clamp(0.8rem, 0.98vw, 0.95rem);
  line-height: 1.88;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.5rem;
}

.em-partner__subtitle {
  font-family: var(--da-font);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 1.1rem;
}

/* ── Benefits checklist: 2-col grid ── */
.em-partner__benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.5rem;
}

.em-partner__benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--da-font);
  font-size: clamp(0.78rem, 0.92vw, 0.9rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.em-partner__benefits li i {
  flex-shrink: 0;
  font-size: 1.05rem;
  color: #2ea6ff;
}

/* ======================================================================
   SCROLL-REVEAL — .is-visible added to .em-partner by IntersectionObserver
   ====================================================================== */

.em-partner [data-ss-reveal="img"] {
  opacity: 0;
  transform: translateX(-44px);
  transition:
    opacity   0.9s ease 0.1s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.em-partner [data-ss-reveal="head"] {
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity   0.85s ease 0.3s,
    transform 0.85s ease 0.3s,
    clip-path 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.em-partner [data-ss-reveal="body"] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease 0.55s, transform 0.8s ease 0.55s;
}

.em-partner.is-visible [data-ss-reveal="img"] {
  opacity: 1;
  transform: translateX(0);
}

.em-partner.is-visible [data-ss-reveal="head"] {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0% 0);
}

.em-partner.is-visible [data-ss-reveal="body"] {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .em-partner [data-ss-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .em-partner__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .em-partner__img-wrap {
    justify-content: center;
    min-height: auto;
  }

  .em-partner__img {
    max-width: 340px;
    margin: 0 auto;
  }

  .em-partner__benefits {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 480px) {
  .em-partner__img {
    max-width: 260px;
  }

  .em-partner__title {
    font-size: clamp(1.5rem, 7vw, 1.9rem);
  }

  .em-partner__benefits li {
    text-align: left;
  }
}

/* ======================================================================
   WHY EMAIL MARKETING SECTION
   ====================================================================== */

.em-why {
  position: relative;
  padding: clamp(4rem, 8vw, 8rem) 0;
  background-color: #07060e;
  background-image: url('../web/Home_back_C.webp');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: repeat-y;
  overflow: hidden;
}

.em-why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 14, 0.52);
  pointer-events: none;
  z-index: 1;
}

/* ── Inner wrapper ── */
.em-why__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* ── Left: heading ── */
.em-why__head {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.em-why__title {
  font-family: var(--da-font);
  font-size: clamp(1.6rem, 2.7vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #fff;
  margin: 0;
}

/* ── Left: body ── */
.em-why__body p {
  font-family: var(--da-font);
  font-size: clamp(0.8rem, 0.95vw, 0.9rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.75rem;
}

/* ── Left: stacked cards ── */
.em-why__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.em-why__card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.1rem 1.25rem;
}

.em-why__card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.em-why__card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.em-why__card-title {
  font-family: var(--da-font);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.em-why__card-desc {
  font-family: var(--da-font);
  font-size: clamp(0.72rem, 0.82vw, 0.8rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

/* ── Right: laptop image ── */
.em-why__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.em-why__img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ======================================================================
   SCROLL-REVEAL — .is-visible added to .em-why by IntersectionObserver
   ====================================================================== */

.em-why [data-ss-reveal="head"] {
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity   0.85s ease 0.1s,
    transform 0.85s ease 0.1s,
    clip-path 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.em-why [data-ss-reveal="body"] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.em-why [data-ss-reveal="cards"] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease 0.45s, transform 0.8s ease 0.45s;
}

.em-why [data-ss-reveal="img"] {
  opacity: 0;
  transform: translateX(44px);
  transition:
    opacity   0.9s ease 0.2s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.em-why.is-visible [data-ss-reveal="head"] {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0% 0);
}

.em-why.is-visible [data-ss-reveal="body"],
.em-why.is-visible [data-ss-reveal="cards"] {
  opacity: 1;
  transform: translateY(0);
}

.em-why.is-visible [data-ss-reveal="img"] {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .em-why [data-ss-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .em-why__inner {
    grid-template-columns: 1fr;
  }

  .em-why__img-wrap {
    order: -1;
    min-height: auto;
  }

  .em-why__img {
    max-width: 420px;
    margin: 0 auto;
  }

  .em-why__text {
    text-align: center;
  }

  .em-why__card {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .em-why__img {
    max-width: 300px;
  }

  .em-why__title {
    font-size: clamp(1.4rem, 6.5vw, 1.8rem);
  }

  .em-why__card {
    padding: 1rem;
  }
}

/* ======================================================================
   OUR EXPERTISE IN EMAIL MARKETING SERVICES SECTION
   ====================================================================== */

.em-expertise {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 8rem) 0;
  background-color: #07060e;
}

.em-expertise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../web/Home_back_C.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.em-expertise::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 14, 0.5);
  pointer-events: none;
  z-index: 1;
}

/* ── Inner wrapper ── */
.em-expertise__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ── Heading ── */
.em-expertise__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.em-expertise__title {
  font-family: var(--da-font);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 1rem;
}

.em-expertise__lead {
  font-family: var(--da-font);
  font-size: clamp(0.78rem, 0.88vw, 0.875rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

/* ── 3×2 card grid ── */
.em-expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ── Card ── */
.em-expertise__card {
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.em-expertise__card--active {
  border-color: transparent;
  background:
    linear-gradient(160deg, #3a1466 0%, #2a0f4d 60%, #1a0a2e 100%) padding-box,
    linear-gradient(135deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
}

/* ── Card icon (emoji main + optional badge) ── */
.em-expertise__card-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 2rem;
  line-height: 1;
}

.em-expertise__card-icon-badge {
  position: absolute;
  right: -6px;
  bottom: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 0.95rem;
  border-radius: 50%;
  background: #1a0a2e;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.em-expertise__card-icon-badge--num {
  font-family: var(--da-font);
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: #e11d48;
}

/* ── Card title (H3) ── */
.em-expertise__card-title {
  font-family: var(--da-font);
  font-size: clamp(0.85rem, 0.95vw, 0.95rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.35;
}

/* ── Card body ── */
.em-expertise__card-desc {
  font-family: var(--da-font);
  font-size: clamp(0.7rem, 0.78vw, 0.8rem);
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

/* ======================================================================
   SCROLL-REVEAL — .is-visible added to .em-expertise by IntersectionObserver
   ====================================================================== */

.em-expertise [data-ss-reveal="head"] {
  opacity: 0;
  transform: translateY(24px);
  clip-path: inset(0 0 100% 0);
  transition:
    opacity   0.85s ease 0.1s,
    transform 0.85s ease 0.1s,
    clip-path 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.em-expertise [data-ss-reveal="cards"] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease 0.35s, transform 0.8s ease 0.35s;
}

.em-expertise.is-visible [data-ss-reveal="head"] {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0% 0);
}

.em-expertise.is-visible [data-ss-reveal="cards"] {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .em-expertise [data-ss-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .em-expertise__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .em-expertise__grid {
    grid-template-columns: 1fr;
  }

  .em-expertise__title {
    font-size: clamp(1.25rem, 6vw, 1.7rem);
  }
}

@media (max-width: 480px) {
  .em-expertise__card {
    padding: 1.4rem 1.25rem;
  }
}

/* ======================================================================
   CROSS TICKER  (.sm-crt)
   Copied from content-writing.css — reuses da-crt__ ribbon internals from home-new.css
   ====================================================================== */

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

.sm-crt__clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.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-crt__cord {
  position: absolute;
  top: 0;
  bottom: 0;
  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;
  pointer-events: none;
}

.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;
}

.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);
}

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

.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:
    0    0px  14px   5px rgba(255, 252, 200, 0.94),
    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  (.sm-testimonials)
   Copied from content-writing.css
   ====================================================================== */

.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);
}

.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__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;
}

.sm-testimonials__slider-wrap {
  position: relative;
  overflow: hidden;
  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);
}

.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%); }
}

.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);
}

.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); }

.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;
}

.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;
}

.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);
}

.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;
}

@media (max-width: 768px) {
  .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;
  }
}

/* ======================================================================
   PRESENCE CTA — page-specific override
   The old page's CTA copy ("Let's elevate your email game — talk to
   us now!") is longer than the shared pill button's default nowrap
   text; let it wrap on narrow screens instead of overflowing.
   ====================================================================== */
#em-presence .da-presence__cta-text {
  white-space: normal;
  max-width: 220px;
  line-height: 1.3;
}
@media (min-width: 640px) {
  #em-presence .da-presence__cta-text {
    max-width: 320px;
  }
}
