/* ==========================================================================
   Social Media Marketing service page — unique page-specific components.
   ========================================================================== */
.crumb { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); padding-top: 1.5rem; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--white); text-decoration: none; }
.crumb span[aria-current] { color: var(--orange); }
.mt-lg { margin-top: 2rem; }

/* ---- Hero — animated scrolling phone feed ---- */
.sm-hero { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); background: var(--bg-alt); }
.sm-hero__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.7fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: 1.5rem; }
.sm-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); max-width: 15ch; }
.sm-hero__lede { margin-top: 1.25rem; font-size: 1.1rem; color: var(--muted); max-width: 46ch; }
.sm-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
@media (max-width: 560px) {
  .sm-hero__actions { flex-direction: column; }
  .sm-hero__actions .btn { width: 100%; justify-content: center; }
  .sm-hero__actions .btn--primary svg { display: none; }
}

/* ==========================================================================
   Platform chase — playful decorative section
   ========================================================================== */
.platform-chase__inner { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.platform-chase__text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0.6rem 0 0.9rem; }
.platform-chase__text p:last-child { color: var(--muted); max-width: 42ch; }
.platform-chase__svg { width: 100%; max-width: 280px; margin-inline: auto; overflow: visible; }
.chase-spark { filter: drop-shadow(0 0 6px rgba(250,184,44,0.9)); }
.chase-icon { transform-box: fill-box; transform-origin: center; animation: chaseBounce 4.5s ease-in-out infinite; }
.chase-icon--1 { animation-delay: 0s; }
.chase-icon--2 { animation-delay: 1.5s; }
.chase-icon--3 { animation-delay: 3s; }
@keyframes chaseBounce {
  0%, 88%, 100% { transform: scale(1) translateY(0); }
  4% { transform: scale(1.22) translateY(-4px); }
  10% { transform: scale(1) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .chase-icon { animation: none; }
  .chase-spark { display: none; }
}
@media (max-width: 780px) { .platform-chase__inner { grid-template-columns: 1fr; text-align: center; } .platform-chase__text p:last-child { margin-inline: auto; } }
.sm-hero__platforms { display: flex; gap: 0.9rem; margin-top: 1.75rem; }
.sm-hero__platforms svg { width: 22px; height: 22px; color: var(--muted); }

.phone { position: relative; width: 260px; margin-inline: auto; aspect-ratio: 9/18.5; border-radius: 34px; border: 10px solid #1c2338; background: var(--bg); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6); overflow: hidden; }
.phone__notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40%; height: 20px; background: #1c2338; border-radius: 0 0 14px 14px; z-index: 2; }
.phone__feed { position: absolute; inset: 0; overflow: hidden; }
.phone__scroll { display: flex; flex-direction: column; gap: 10px; padding: 30px 10px 10px; animation: feedScroll 9s linear infinite; }
@keyframes feedScroll { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .phone__scroll { animation: none; } }
.feed-card { background: var(--surface-solid); border: 1px solid var(--border); border-radius: 12px; padding: 10px; flex-shrink: 0; }
.feed-card__head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.feed-card__avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.feed-card__head span { height: 6px; width: 60px; border-radius: 3px; background: var(--border-strong); }
.feed-card__media { height: 90px; border-radius: 8px; background: linear-gradient(135deg, rgba(91,124,255,0.18), rgba(250,184,44,0.16)); margin-bottom: 8px; }
.feed-card__stats { display: flex; gap: 10px; }
.feed-card__stats span { height: 5px; width: 24px; border-radius: 3px; background: var(--border-strong); }

/* ---- Stat counters ---- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-row__item { text-align: center; padding: 1.5rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.stat-row__item svg { width: 22px; height: 22px; color: var(--orange); margin-bottom: 0.7rem; }
.stat-row__item strong { display: block; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.stat-row__item span { display: block; margin-top: 0.4rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr 1fr; row-gap: 1rem; } }

/* ---- Content pillars — sequential "stamped in" reveal ---- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.pillar-card {
  display: flex; flex-direction: column; gap: 0.9rem; padding: 1.5rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--surface-solid);
  opacity: 0; transform: scale(0.85) rotate(-4deg); transition: opacity 0.4s ease, transform 0.4s cubic-bezier(.2,.9,.3,1.15);
}
.pillar-card.is-stamped { opacity: 1; transform: scale(1) rotate(0deg); }
.pillar-card__icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(250,184,44,0.12); display: grid; place-items: center; }
.pillar-card__icon svg { width: 20px; height: 20px; color: var(--orange); }
.pillar-card h3 { font-size: 1rem; }
.pillar-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .pillar-card { opacity: 1; transform: none; transition: none; } }
@media (max-width: 780px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }

/* ---- Platform-tabbed content ---- */
.plat-tabs { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.plat-tab { all: unset; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.1rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 0.9rem; transition: border-color 0.2s ease, color 0.2s ease; }
.plat-tab svg { width: 16px; height: 16px; }
.plat-tab.is-active { border-color: var(--orange); color: var(--white); background: rgba(250,184,44,0.08); }
.plat-view { display: none; }
.plat-view.is-active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; animation: pvFade 0.35s ease; }
@keyframes pvFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .plat-view.is-active { animation: none; } }
.plat-card { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.1rem; background: var(--surface); }
.plat-card__head { display: flex; justify-content: space-between; align-items: center; }
.plat-card__day { font-family: var(--font-mono); font-size: 0.72rem; color: var(--orange); text-transform: uppercase; letter-spacing: 0.06em; }
.plat-card__time { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); }
.plat-card__format { display: inline-block; margin-top: 0.6rem; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(255,255,255,0.06); color: var(--text); }
.plat-card h3 { font-size: 0.98rem; margin-top: 0.6rem; }
.plat-card p { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }
.plat-card__why { display: flex; align-items: flex-start; gap: 0.4rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--muted); }
.plat-card__why svg { width: 13px; height: 13px; color: var(--orange); flex-shrink: 0; margin-top: 0.15rem; }
@media (max-width: 780px) { .plat-view.is-active { grid-template-columns: 1fr; } }

/* ---- Pricing (shared shape) ---- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.75rem; background: var(--surface-solid); display: flex; flex-direction: column; gap: 1.25rem; }
.price-card--rec { border-color: var(--orange); position: relative; transform: translateY(-10px); box-shadow: 0 30px 60px -30px rgba(250,184,44,0.35); }
.price-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #1A0900; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.35rem 0.9rem; border-radius: 999px; white-space: nowrap; }
.price-card__name { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.price-card__price { font-size: 2.1rem; font-weight: 700; color: var(--white); }
.price-card__price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.price-card__desc { font-size: 0.9rem; color: var(--muted); }
.price-list { display: flex; flex-direction: column; gap: 0.7rem; flex-grow: 1; }
.price-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--text); list-style: none; }
.price-list svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; margin-top: 0.15rem; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } .price-card--rec { transform: none; } }

.other-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.other-svc a { display: block; padding: 1.25rem 1.4rem; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); transition: border-color 0.2s ease, transform 0.2s ease; }
.other-svc a:hover { border-color: var(--border-strong); transform: translateY(-3px); text-decoration: none; }
.other-svc strong { display: block; color: var(--white); font-size: 0.98rem; margin-bottom: 0.25rem; }
.other-svc span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 780px) { .other-svc { grid-template-columns: 1fr; } }

/* ==========================================================================
   Process — reuses the slow sequential icon light-up pattern
   ========================================================================== */
.sm-process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.deliver-item { display: flex; gap: 1rem; padding: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.deliver-item__icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  transition: background 0.9s ease, border-color 0.9s ease, box-shadow 0.9s ease, transform 0.7s ease;
}
.deliver-item__icon svg { width: 19px; height: 19px; color: var(--muted); transition: color 0.9s ease; }
.deliver-item__icon.is-lit { background: rgba(250,184,44,0.14); border-color: rgba(250,184,44,0.35); box-shadow: 0 0 0 4px rgba(250,184,44,0.08); transform: scale(1.06); }
.deliver-item__icon.is-lit svg { color: var(--orange); }
@media (prefers-reduced-motion: reduce) { .deliver-item__icon { background: rgba(250,184,44,0.14); border-color: rgba(250,184,44,0.35); transition: none; } .deliver-item__icon svg { color: var(--orange); } }
.deliver-item h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.deliver-item p { font-size: 0.92rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 700px) { .sm-process-grid { grid-template-columns: 1fr; } }
