/* MarketingMoz — Page-specific CSS for social-media pages
 * Extracted from inline <style> blocks (KFR Step 16-18).
 * Pages using this file: social-media.html
 */


/* ============================================================
   PREV/NEXT SERVICE NAVIGATION
   ============================================================ */
.prev-next-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 3rem 0 1rem;
}
.prev-next-nav__link {
  background: var(--paper-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.25s var(--ease);
  color: var(--ink);
}
.prev-next-nav__link:hover {
  border-color: var(--brand-text);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(10,15,31,0.15);
}
.prev-next-nav__direction {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.prev-next-nav__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.prev-next-nav__link--prev .prev-next-nav__direction::before { content: "←"; }
.prev-next-nav__link--next { text-align: right; }
.prev-next-nav__link--next .prev-next-nav__direction::after { content: "→"; }
.prev-next-nav__link--placeholder { visibility: hidden; }
@media (max-width: 600px) {
  .prev-next-nav { grid-template-columns: 1fr; }
  .prev-next-nav__link { padding: 1.25rem; }
}


/* ============================================================
   MODERN VIEWPORT UNITS (svh/dvh) — iOS Safari 100vh fix
   ============================================================ */
/* drawer height set in assets/main.css */
.hero {
  min-height: auto; /* Avoid 100vh overflow on iOS */
}
/* Foldable/dual-screen support */
@media (spanning: single-fold-vertical) {
  .hero__inner, .service__inner { padding-left: env(fold-right); }
}

/* Better scrollbar styling on supporting browsers */
@media (hover: hover) {
  ::-webkit-scrollbar { width: 12px; height: 12px; }
  ::-webkit-scrollbar-track { background: var(--paper-2); }
  ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; border: 3px solid var(--paper-2); }
  ::-webkit-scrollbar-thumb:hover { background: var(--ink-soft); }
}

/* iOS-specific: prevent zoom on input focus (font-size >= 16px) */
@supports (-webkit-touch-callout: none) {
  input, select, textarea { font-size: 16px; }
}

/* Prevent overscroll bounce on body but allow on scrollable elements */
html, body {
  overscroll-behavior-y: none;
}
.drawer, .dropdown {
  overscroll-behavior: contain;
}

/* Better tap highlighting */
a, button {
  -webkit-tap-highlight-color: rgba(255,77,46,0.15);
}


/* ============================================================
   MENU CLICKABILITY FIXES
   ============================================================ */
.dropdown__link {
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.dropdown__link, .dropdown__link * {
  pointer-events: auto;
}
.nav__item:not(.is-open) .dropdown {
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .nav__item:hover .dropdown {
    pointer-events: auto;
  }
}

/* Prevent button highlights from interfering */
.menu-toggle, .drawer__close, .drawer__group, [data-dropdown-trigger] {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

/* Ensure drawer links are clickable */
.drawer__nav a, .drawer__sub a {
  text-decoration: none;
  cursor: pointer;
}

/* Brand link should always be clickable */
.brand {
  cursor: pointer;
  text-decoration: none;
}


/* ============================================================
   META BUSINESS — KEY HIGHLIGHTS GRID (4 services overview)
   ============================================================ */
.meta-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.meta-highlight {
  background: linear-gradient(135deg, var(--paper-2) 0%, var(--paper) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  isolation: isolate;
}
.meta-highlight::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(255,77,46,0.1) 0%, transparent 70%);
  z-index: -1;
  transition: opacity 0.3s var(--ease);
  opacity: 0;
}
.meta-highlight:hover {
  transform: translateY(-3px);
  border-color: var(--brand-text);
  box-shadow: 0 12px 32px -16px rgba(10,15,31,0.18);
}
.meta-highlight:hover::before { opacity: 1; }
.meta-highlight__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.meta-highlight:nth-child(1) .meta-highlight__icon { background: #1877F2; }  /* Facebook blue */
.meta-highlight:nth-child(2) .meta-highlight__icon { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }  /* Instagram gradient */
.meta-highlight:nth-child(3) .meta-highlight__icon { background: var(--brand); }
.meta-highlight:nth-child(4) .meta-highlight__icon { background: var(--ink); }
.meta-highlight h5 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.25;
}
.meta-highlight p {
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.meta-highlight__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-text);
  font-weight: 600;
}
@media (max-width: 720px) {
  .meta-highlights { grid-template-columns: 1fr; gap: 0.85rem; }
  .meta-highlight { padding: 1.4rem 1.5rem; }
}


/* ============================================================
   SERVICE PAGES — ENRICHMENT BLOCKS
   ("Who is this for", "When you need it", "What you get")
   ============================================================ */
.service-enrich {
  display: grid;
  gap: 2.5rem;
  margin: 2.5rem 0 0;
}
.service-enrich__block {
  background: var(--paper-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
}
.service-enrich__block--highlight {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.service-enrich__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  background: var(--paper);
  color: var(--brand-text);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.service-enrich__block--highlight .service-enrich__label {
  background: rgba(250,250,247,0.08);
  color: var(--lime);
}
.service-enrich__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1rem;
}
.service-enrich__intro {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 1.75rem;
}
.service-enrich__block--highlight .service-enrich__intro { color: rgba(250,250,247,0.75); }

/* "Who is this for" — persona cards */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.persona-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border: 1px solid var(--border-soft);
}
.persona-card__role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-text);
  font-weight: 600;
}
.persona-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}
.persona-card__quote {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-style: italic;
  border-left: 2px solid var(--brand);
  padding-left: 0.85rem;
  margin-top: 0.25rem;
}
@media (max-width: 900px) { .persona-grid { grid-template-columns: 1fr; } }

/* "When you need this" — signal cards */
.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.signal-item {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.15rem 1.4rem 1.15rem 3.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  border-left: 3px solid var(--brand);
}
.signal-item::before {
  content: "!";
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: var(--brand);
  color: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-display);
}
@media (max-width: 720px) { .signal-grid { grid-template-columns: 1fr; } }

/* "What you get" — deliverables list */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.deliverable-item {
  display: flex;
  gap: 1rem;
  padding: 1.15rem;
  background: rgba(250,250,247,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(250,250,247,0.08);
  min-width: 0;
}
.deliverable-item__icon {
  width: 38px;
  height: 38px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.deliverable-item__body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; flex: 1 1 auto; }
.deliverable-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--paper);
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}
.deliverable-item__desc {
  font-size: 0.88rem;
  color: rgba(250,250,247,0.7);
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (max-width: 720px) { .deliverables-grid { grid-template-columns: 1fr; } }


/* ============================================================
   INFO PAGES — ENRICHMENT (about/faq/testimonials/contact)
   ============================================================ */
.info-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  border-top: 1px solid var(--border-soft);
}
.info-section--dark {
  background: var(--ink);
  color: var(--paper);
  border-top: 0;
}
.info-section--lime {
  background: linear-gradient(135deg, var(--lime) 0%, #d4f867 100%);
  color: var(--ink);
  border-top: 0;
}
.info-section__head { max-width: 760px; margin-bottom: 2.5rem; }
.info-section__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-text);
  margin-bottom: 1rem;
}
.info-section--dark .info-section__eyebrow { color: var(--lime); }
.info-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.info-section__title em {
  font-style: italic;
  color: var(--brand-text);
}
.info-section--dark .info-section__title em { color: var(--lime); }
.info-section__intro {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-muted);
}
.info-section--dark .info-section__intro { color: rgba(250,250,247,0.75); }

/* Principles 4-up grid */
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.principle {
  background: var(--paper-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.25s var(--ease);
}
.info-section--dark .principle {
  background: rgba(250,250,247,0.04);
  border-color: rgba(250,250,247,0.1);
}
.principle:hover { transform: translateY(-3px); border-color: var(--brand-text); }
.principle__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--brand-text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.info-section--dark .principle__num { color: var(--lime); }
.principle__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.principle__desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.info-section--dark .principle__desc { color: rgba(250,250,247,0.7); }
@media (max-width: 1024px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }

/* Expertise breakdown — vertical timeline */
.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.expertise-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.expertise-row:last-child { border-bottom: 0; }
.expertise-row__icon {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  background: var(--ink);
  color: var(--lime);
  border-radius: 8px;
  padding: 0.6rem 0.5rem;
  text-align: center;
  align-self: start;
}
.expertise-row__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.expertise-row__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}
@media (max-width: 600px) {
  .expertise-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .expertise-row__icon { width: 80px; }
}

/* Reassurance grid (contact page) */
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.reassurance {
  background: var(--paper-2);
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.reassurance__icon {
  width: 40px;
  height: 40px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}
.reassurance__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.reassurance__desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}
@media (max-width: 720px) { .reassurance-grid { grid-template-columns: 1fr; } }

/* Case study cards */
.case-studies {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}
.case-study {
  background: var(--paper-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.case-study__main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.case-study__industry {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand-text);
}
.case-study__challenge { font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); }
.case-study__challenge strong { color: var(--ink); }
.case-study__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  align-content: start;
}
.metric-card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
}
.metric-card__value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--brand-text);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}
.metric-card__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}
@media (max-width: 900px) { .case-study { grid-template-columns: 1fr; } }


/* ============================================================
   SERVICE PAGES — MYTH BUSTING
   ============================================================ */
.myth-section {
  margin: 3rem 0;
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  border-radius: var(--radius-lg);
  color: var(--paper);
}
.myth-section__head { margin-bottom: 2rem; max-width: 760px; }
.myth-section__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}
.myth-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.myth-section__intro { font-size: 1rem; line-height: 1.65; color: rgba(250,250,247,0.75); }
.myth-grid { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.myth-card {
  background: rgba(250,250,247,0.04);
  border: 1px solid rgba(250,250,247,0.1);
  border-radius: var(--radius);
  padding: 1.5rem 1.85rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.myth-card__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  background: rgba(255,77,46,0.15);
  color: var(--brand-text);
}
.myth-card__body { display: flex; flex-direction: column; gap: 0.75rem; }
.myth-card__claim {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--paper);
}
.myth-card__truth { font-size: 0.95rem; line-height: 1.65; color: rgba(250,250,247,0.85); }
.myth-card__truth-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lime);
  margin-right: 0.5rem;
}
.myth-card__truth strong { color: var(--paper); font-weight: 600; }
@media (max-width: 720px) {
  .myth-card { grid-template-columns: 1fr; gap: 0.75rem; }
  .myth-card__label { width: fit-content; }
}



/* v1.4 Mobile Readability Boost (page-specific) */
@media (max-width: 720px) {
  .info-section__eyebrow,
  .case-study__industry,
  .myth-section__eyebrow,
  .myth-card__label,
  .myth-card__truth-label,
  .prev-next-nav__direction,
  .service-enrich__label,
  .persona-card__role,
  .meta-highlight__tag,
  .metric-card__label,
  .reassurance__icon,
  .expertise-row__icon,
  .meta-highlight__icon,
  .trust-badges__head,
  .trust-badge__icon,
  .comparison-col__label {
    font-size: 0.85rem;
  }
  .pain-card__symptoms li,
  .audit-item__points li,
  .industry-card__list li,
  .signal-item::before,
  .deliverable-item__desc,
  .trust-badge__desc,
  .trust-badge__proof,
  .audit-item__desc,
  .principle__desc,
  .reassurance__desc,
  .persona-card__quote,
  .pain-card__sub,
  .comparison-col li small,
  .info-section__eyebrow,
  .case-study__industry,
  .stat__sub,
  .hero__reassurance,
  .metric-card__label,
  .myth-card__truth,
  .industry-card__desc,
  .industries-home__note,
  .expertise-row__desc,
  .case-study__challenge,
  .signal-item,
  .svc-card__points li {
    font-size: 0.95rem;
  }
}
