/* ==========================================================================
   /social-media-advertising-management/

   Transcribed from the live Elementor page. Its layout is genuinely different
   from the other commercial pages — an outlined-type band, centred feature
   blocks, and full-width results screenshots — which is why it gets its own
   sheet rather than reusing service-page.css or custom-web-design.css.

   Every value resolves to a token from tokens.css. The only literals are
   color-mix() overlays built on existing tokens.

   Namespace: .sma-*   Page class: .sma
   Surface: dark throughout, matching live.
   ========================================================================== */

.sma main {
  background: var(--black);
  color: var(--warm-white);

  --sma-shell: 1180px;
  --sma-band: clamp(4.5rem, 9vw, 8rem);
  --sma-card: color-mix(in srgb, var(--warm-white) 4%, var(--black));
  --sma-line: color-mix(in srgb, var(--warm-white) 10%, transparent);
}

.sma-shell {
  width: min(100% - (var(--gutter) * 2), var(--sma-shell));
  margin-inline: auto;
}

.sma-band {
  padding-block: var(--sma-band);
  position: relative;
  background: var(--black);
  color: var(--warm-white);
}

/* --- Type ---------------------------------------------------------------- */
.sma-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-stretch: var(--wdth-display);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* #6119AC is ~2:1 on near-black, so the accent lightens on this page. */
  color: var(--purple-strong);
  margin: 0 0 var(--sp-3);
}

.sma-h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: var(--wdth-display);
  font-size: var(--h1-hero);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 var(--sp-3);
  color: var(--warm-white);
}

.sma-h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: var(--wdth-display);
  font-size: var(--step-5);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 var(--sp-3);
  color: var(--warm-white);
  text-wrap: balance;
}

.sma-h2 em {
  font-style: normal;
  color: var(--purple-strong);
}

.sma-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: var(--wdth-display);
  font-size: var(--step-1);
  line-height: 1.2;
  margin: 0 0 var(--sp-2);
  color: var(--warm-white);
}

.sma-p {
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 var(--sp-3);
  max-width: var(--measure);
}

.sma-center {
  text-align: center;
}
.sma-center .sma-p {
  margin-inline: auto;
}

/* --- Buttons ------------------------------------------------------------- */
.sma-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: var(--wdth-display);
  font-size: var(--step-0);
  padding: 1rem 2.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--white);
  background: var(--purple);
  border: 1px solid var(--purple);
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.sma-btn:hover {
  background: var(--purple-glow);
  border-color: var(--purple-glow);
}

.sma-btn--ghost {
  color: var(--white);
  background: transparent;
  border-color: var(--white);
}
.sma-btn--ghost:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.sma-cta-row {
  margin-top: var(--sp-5);
}
.sma-center .sma-cta-row {
  text-align: center;
}

/* --- Hero ---------------------------------------------------------------- */
.sma-hero {
  position: relative;
  min-height: clamp(540px, 76vh, 780px);
  display: grid;
  place-items: center;
  padding-block: calc(var(--nav-h) + var(--sp-6)) var(--sp-7);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: var(--black);
}

.sma-hero__media,
.sma-hero__media video,
.sma-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sma-hero__media {
  z-index: -2;
}

.sma-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--black) 84%, transparent),
    color-mix(in srgb, var(--black) 60%, transparent) 45%,
    color-mix(in srgb, var(--black) 90%, transparent)
  );
}

.sma-hero__inner {
  position: relative;
  max-width: 62rem;
}

.sma-hero__lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--warm-white);
  max-width: 46rem;
  margin: 0 auto var(--sp-5);
}

/* --- Outlined-type band --------------------------------------------------
   The live page runs "Facebook Instagram Advertising Agency" as huge outlined
   type. Reproduced with -webkit-text-stroke and a transparent fill. Static
   rather than the live marquee: it is a decorative label, and a permanent
   horizontal crawl next to the hero competes with the headline.

   The stroke property is prefixed everywhere it is supported; where it is not,
   the fallback below keeps the words legible as solid muted text. */
.sma-marquee {
  padding-block: var(--sp-6);
  border-block: 1px solid var(--sma-line);
  overflow: hidden;
}

.sma-marquee__row {
  display: flex;
  gap: clamp(1.5rem, 5vw, 4rem);
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sma-marquee__word {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: var(--wdth-display);
  font-size: clamp(1.75rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--muted);
}

@supports (-webkit-text-stroke: 1px currentColor) {
  .sma-marquee__word {
    color: transparent;
    -webkit-text-stroke: 1px var(--muted);
  }
}

/* --- Feature blocks ------------------------------------------------------ */
.sma-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  list-style: none;
  padding: 0;
}

.sma-feature {
  background: var(--sma-card);
  border: 1px solid var(--sma-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.sma-feature .sma-p {
  margin-bottom: 0;
  font-size: var(--step--1);
  max-width: none;
}

/* --- Split --------------------------------------------------------------- */
.sma-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.sma-split--reverse .sma-split__media {
  order: -1;
}

.sma-split__copy .sma-p {
  max-width: 34rem;
}

.sma-split__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--sma-line);
}

.sma-stack {
  display: grid;
  gap: var(--sp-2);
}

/* --- Results gallery ----------------------------------------------------- */
.sma-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  list-style: none;
  padding: 0;
}

.sma-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--sma-line);
  background: var(--sma-card);
}

/* --- Proof --------------------------------------------------------------- */
.sma-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  list-style: none;
  padding: 0;
}

.sma-proof__link {
  display: block;
  text-decoration: none;
  border: 1px solid var(--sma-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sma-card);
  height: 100%;
  transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.sma-proof__link:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
}

.sma-proof__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.sma-proof__body {
  display: block;
  padding: var(--sp-3);
}

.sma-proof__vertical {
  display: block;
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-1);
}

.sma-proof__jump {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: var(--wdth-display);
  font-size: var(--step-2);
  color: var(--purple-strong);
  margin-bottom: var(--sp-1);
}

.sma-proof__title {
  display: block;
  font-size: var(--step--1);
  line-height: 1.45;
  color: var(--warm-white);
}

.sma-proof__more {
  margin-top: var(--sp-4);
  text-align: center;
}
.sma-proof__more a {
  color: var(--purple-strong);
}

/* --- FAQ ----------------------------------------------------------------- */
.sma-faq__list {
  margin-top: var(--sp-5);
  border-top: 1px solid var(--sma-line);
}

.sma-faq__item {
  border-bottom: 1px solid var(--sma-line);
}

.sma-faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: var(--wdth-display);
  font-size: var(--step-1);
  color: var(--warm-white);
  list-style: none;
  text-align: left;
}

.sma-faq__q::-webkit-details-marker {
  display: none;
}

.sma-faq__mark {
  flex: none;
  color: var(--purple-strong);
  transition: transform var(--dur) var(--ease-out);
}

.sma-faq__item[open] .sma-faq__mark {
  transform: rotate(45deg);
}

.sma-faq__a {
  padding: 0 0 var(--sp-4);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--muted);
  max-width: var(--measure);
  text-align: left;
}

/* --- Final CTA ----------------------------------------------------------- */
.sma-final {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sma-final::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(1100px, 120vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--purple-glow) 42%, transparent),
    transparent 62%
  );
  pointer-events: none;
}

.sma-final__inner {
  position: relative;
}

.sma-final__logo {
  width: 76px;
  height: 76px;
  margin: 0 auto var(--sp-4);
  display: block;
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .sma-features,
  .sma-gallery,
  .sma-split {
    grid-template-columns: 1fr;
  }
  .sma-proof__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sma-split--reverse .sma-split__media {
    order: 0;
  }
}

@media (max-width: 620px) {
  .sma-proof__grid {
    grid-template-columns: 1fr;
  }
  .sma-hero {
    min-height: 0;
  }
  .sma-btn {
    display: block;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sma-hero__media video {
    display: none;
  }
}
