/* =====================================================================
   content-writing.css — Content Writing Service Page
   Loaded after home-new.css; uses --da-* CSS custom properties.
   BEM prefix: cw-
   ===================================================================== */

html,
body { overflow-x: hidden; }

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

@keyframes cwReveal {
  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 cwFadeUp {
  from { opacity: 0; transform: translateY(22px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

@keyframes cwSlideLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes cwSlideRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

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

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

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

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

/* Horizontal gradient — dense left for text readability, clear right for typewriter */
.cw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 4, 14, 0.82) 0%,
    rgba(5, 4, 14, 0.62) 42%,
    rgba(5, 4, 14, 0.12) 65%,
    rgba(5, 4, 14, 0.00) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Inner wrapper ── */
.cw-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3.5rem);
}

/* ── Left: content (constrained to ~50% so it never overlaps typewriter) ── */
.cw-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: clamp(320px, 50%, 660px);
}

/* ── H1 ── */
.cw-hero__title {
  font-family: var(--da-font);
  font-size: clamp(1.65rem, 2.6vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--da-white, #fff);
  margin: 0 0 clamp(1rem, 2vw, 1.75rem);
  animation: cwSlideLeft 0.75s ease both;
}

.cw-hero__title .cw-grad {
  display: block;
}

/* ── Body text ── */
.cw-hero__body {
  font-size: clamp(0.875rem, 1.05vw, 1.05rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 clamp(0.75rem, 1.5vw, 1.25rem);
  animation: cwFadeUp 0.75s ease 0.25s both;
}

.cw-hero__body:last-of-type {
  margin-bottom: 0;
}

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

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

/* Tablet portrait — full-width content, heavier overlay, anchor image right */
@media (max-width: 768px) {
  .cw-hero {
    background-position: right center;
  }

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

  .cw-hero__content {
    max-width: 100%;
    align-items: flex-start;
  }
}

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

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

/* ======================================================================
   WHO WE ARE SECTION
   ====================================================================== */

.cw-who {
  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;
}

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

/* ── Inner wrapper ── */
.cw-who__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 ── */
.cw-who__img-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 360px;
}

.cw-who__img {
  width: 100%;
  max-width: 780px;
  height: auto;
  display: block;
  object-fit: contain;
}

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

.cw-who__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 ── */
.cw-who__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;
}

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

.cw-who [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;
}

.cw-who [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;
}

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

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

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

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

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

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

  .cw-who__img-wrap {
    justify-content: center;
    min-height: auto;
  }

  .cw-who__img {
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .cw-who__img {
    max-width: 320px;
  }

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

/* ======================================================================
   WHY DIGITAL ADVENGERS SECTION
   ====================================================================== */

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

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

/* ── Inner wrapper ── */
.cw-why__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: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* ── Left: heading ── */
.cw-why__head {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

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

/* ── Left: body ── */
.cw-why__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;
}

/* ── Right: image ── */
.cw-why__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.cw-why [data-ss-reveal="head"] {
  opacity: 0;
  transform: translateX(-36px);
  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;
}

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

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

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

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

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

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

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

  /* Image moves above text on mobile */
  .cw-why__img-wrap {
    order: -1;
    justify-content: center;
  }

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

@media (max-width: 480px) {
  .cw-why__title {
    font-size: clamp(1.4rem, 6.5vw, 1.8rem);
  }

  .cw-why__img {
    max-width: 300px;
  }
}

/* ======================================================================
   WE WRITE YOU SHINE SECTION
   ====================================================================== */

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

/* Flipped background — scaleX(-1) mirrors the wave direction */
.cw-shine::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../web/Home_back_E.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  z-index: 0;
}

/* Dark overlay */
.cw-shine::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 14, 0.78);
  pointer-events: none;
  z-index: 1;
}

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

/* ── Heading ── */
.cw-shine__head {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.cw-shine__title {
  font-family: var(--da-font);
  font-size: clamp(1.4rem, 2.2vw, 2.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}

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

/* ── Card ── */
.cw-shine__card {
  border-radius: 14px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#0e0c1a, #0e0c1a) padding-box,
    linear-gradient(135deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cw-shine__card--active {
  background:
    linear-gradient(135deg, #1a0a2e, #240830) padding-box,
    linear-gradient(135deg, #7c3aed 0%, #c026d3 55%, #e11d48 100%) border-box;
}

/* ── Card icon ── */
.cw-shine__card-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* ── Card title (H3) ── */
.cw-shine__card-title {
  font-family: var(--da-font);
  font-size: clamp(0.75rem, 0.88vw, 0.88rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: #fff;
  margin: 0;
}

/* ── Card body ── */
.cw-shine__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.65);
  margin: 0;
}

/* ======================================================================
   SCROLL-REVEAL
   ====================================================================== */

.cw-shine [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;
}

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

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

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

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

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

@media (max-width: 768px) {
  .cw-shine__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cw-shine__title {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cw-shine__grid {
    grid-template-columns: 1fr;
  }

  .cw-shine__title {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
  }
}

/* ======================================================================
   CROSS TICKER  (.sm-crt)
   Copied from seo.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 seo.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;
  }
}
