/* /social — social media management page.
   Rides on the main /styles.css tokens (--blue, --yellow, --gray, Sora);
   only the sections that don't exist on the homepage are defined here. */

/* ---------------- hero ---------------- */
.sm-hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  padding: 64px 0 72px;
  text-align: center;
}
.sm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 50% -8%, rgba(232, 167, 67, 0.28), transparent 66%),
    radial-gradient(600px 400px at 88% 100%, rgba(232, 167, 67, 0.12), transparent 62%);
}
.sm-hero > .container { position: relative; }

.sm-pill {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(232, 167, 67, 0.55);
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.sm-h1 {
  margin-top: 22px;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.sm-h1 span { color: var(--yellow); }
.sm-lede {
  max-width: 54ch;
  margin: 20px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-gray);
}
.sm-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.sm-btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.sm-btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.sm-ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  margin-top: 30px;
}
.sm-ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}
.sm-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 100%;
  background: var(--yellow)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px 11px no-repeat;
}

/* ---------------- stats strip ---------------- */
.sm-stats { border-bottom: 1px solid #e6e6e6; }
.sm-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 16px;
  text-align: center;
}
.sm-stat-grid div { display: grid; gap: 4px; }
.sm-stat-grid strong { font-size: 30px; font-weight: 900; color: var(--blue); line-height: 1; }
.sm-stat-grid span { font-size: 14px; color: #666; line-height: 1.4; }

/* ---------------- steps ---------------- */
.sm-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-bottom: var(--space-40);
}
.sm-step {
  background: var(--white);
  border-radius: var(--border-radius-md);
  padding: 26px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}
.sm-step-n {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  background: var(--yellow);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}
.sm-step h3 { font-size: 21px; font-weight: 800; color: var(--blue); }
.sm-step p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: #555; }

/* ---------------- reels ---------------- */
.sm-reels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  justify-content: center;
  gap: 28px;
  padding-bottom: var(--space-40);
}
.sm-reel { margin: 0; }
.sm-reel-frame {
  position: relative;
  aspect-ratio: 9 / 15;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  background: var(--gray);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.sm-reel-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sm-reel figcaption { margin-top: 12px; text-align: center; font-size: 14px; color: #666; }

/* ---------------- included ---------------- */
.sm-included {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 28px;
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: var(--space-40);
}
.sm-included li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  font-weight: 500;
  color: var(--blue);
}
.sm-included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 100%;
  background: var(--yellow)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
    center / 11px 11px no-repeat;
}

/* ---------------- pricing ---------------- */
.sm-plans {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 20px;
}
.sm-plan { display: flex; flex-direction: column; max-width: 420px; }
.sm-plan .price-badge { align-self: center; }
.sm-plan .price-list { flex: 1 1 auto; }
.sm-plan-featured { outline: 3px solid var(--yellow); outline-offset: -3px; }
.sm-fine {
  max-width: 60ch;
  margin: 28px auto 0;
  padding-bottom: var(--space-40);
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-gray);
}

/* ---------------- faq ---------------- */
.sm-faq { display: grid; gap: 12px; padding-bottom: var(--space-40); }
.sm-faq-item {
  background: var(--gray);
  border-radius: var(--border-radius-md);
  padding: 2px 20px;
}
.sm-faq-item summary {
  position: relative;
  padding: 16px 34px 16px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  list-style: none;
}
.sm-faq-item summary::-webkit-details-marker { display: none; }
.sm-faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.sm-faq-item[open] summary::after { transform: rotate(-135deg); top: 26px; }
.sm-faq-item p { padding: 0 0 18px; font-size: 15.5px; line-height: 1.65; color: #555; }

/* ---------------- final cta ---------------- */
.sm-final-text {
  max-width: 52ch;
  margin: 0 auto 26px;
  font-size: 17px;
  line-height: 1.6;
  color: #555;
}
.sm-final { padding-bottom: calc(var(--space-40) * 1.5); }

/* ---------------- responsive ---------------- */
@media (min-width: 768px) {
  .sm-hero { padding: 90px 0 96px; }
  .sm-h1 { font-size: 62px; }
  .sm-lede { font-size: 19px; }
  .sm-stat-grid { grid-template-columns: repeat(4, 1fr); }
  .sm-steps { grid-template-columns: repeat(2, 1fr); }
  .sm-included { grid-template-columns: 1fr 1fr; }
  .sm-plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .sm-plan { max-width: none; }
}
@media (min-width: 1024px) {
  .sm-steps { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------- book a call form ---------------- */
.sm-book { scroll-margin-top: calc(var(--header-h) + 10px); }
/* `display: grid` beats the hidden attribute — restore it for the success swap */
.sm-form[hidden] { display: none; }
.sm-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-bottom: var(--space-40);
}
.sm-field { display: grid; gap: 6px; }
.sm-field label { font-size: 14px; font-weight: 700; color: var(--blue); }
.sm-field input,
.sm-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #dcdcdc;
  border-radius: var(--border-radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: 16px;
  color: var(--black);
  transition: border-color 0.2s;
}
.sm-field textarea { resize: vertical; min-height: 110px; }
.sm-field input:focus,
.sm-field textarea:focus { outline: none; border-color: var(--yellow); }

.sm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sm-form-error {
  margin: 0;
  color: #c0392b;
  font-size: 14.5px;
  font-weight: 600;
}
.sm-form-fine { margin-top: 12px; text-align: center; font-size: 13.5px; color: #666; }

.sm-form-done {
  max-width: 460px;
  margin: 0 auto;
  padding: 32px 28px calc(var(--space-40) + 12px);
  text-align: center;
}
.sm-form-check {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 100%;
  background: var(--yellow);
  color: var(--white);
  font-size: 26px;
  line-height: 52px;
}
.sm-form-done h3 { font-size: 24px; font-weight: 800; color: var(--blue); }
.sm-form-done p { margin-top: 8px; font-size: 16px; color: #555; }

@media (min-width: 768px) {
  .sm-form { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .sm-field-full { grid-column: 1 / -1; }
  .sm-form-error { grid-column: 1 / -1; }
}

/* ---------------- "see more work" ---------------- */
.sm-reels-more[hidden] { display: none; }
.sm-reels-more { margin-top: 28px; }
.sm-more-wrap { display: flex; justify-content: center; padding-bottom: var(--space-40); }
.sm-btn-more { border-color: var(--blue); color: var(--blue); background: transparent; }
.sm-btn-more:hover { background: var(--blue); color: var(--white); }
.sm-reel figcaption strong { color: var(--blue); font-weight: 800; }

.sm-reels-note {
  max-width: 62ch;
  margin: 4px auto 26px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}
