/* HOW TO BECOME AN SEO EXPERT PAGE — Additional styles
   Only rules not already defined in main.css.
   Loaded exclusively on template-how-to-seo-expert.php.
   Scope: .is-how-to-seo-expert-page
══════════════════════════════════════════════════════════ */

/* ── Design tokens ────────────────────────────────────── */
.is-how-to-seo-expert-page {
  --ink:    #0d1117;
  --fire:   #ff4d00;
  --fire2:  #ff7a3d;
  --chalk:  #fff;
  --mist:   #f5f7fa;
  --mid:    #6b7280;
  --border: #e5e7eb;
  --green:  #10b981;
  --w:      min(1200px, 100% - 48px);
}

/* ── Section / layout utilities ─────────────────────────── */
.is-how-to-seo-expert-page .section      { padding: clamp(72px,8vw,112px) 0; }
.is-how-to-seo-expert-page .section-alt  { background: var(--mist); }
.is-how-to-seo-expert-page .section-dark { background: var(--ink); }
.is-how-to-seo-expert-page .wrap         { width: min(var(--w), 100% - 48px); margin-inline: auto; }
.is-how-to-seo-expert-page .mt-56        { margin-top: 56px; }

/* ── Reveal on scroll ────────────────────────────────────── */
.is-how-to-seo-expert-page .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.22,.68,0,1.2), transform .6s cubic-bezier(.22,.68,0,1.2);
}
.is-how-to-seo-expert-page .reveal.revealed  { opacity: 1; transform: none; }
.is-how-to-seo-expert-page .reveal.reveal-d1 { transition-delay: .12s; }
.is-how-to-seo-expert-page .reveal.reveal-d2 { transition-delay: .24s; }
.is-how-to-seo-expert-page .reveal.reveal-d3 { transition-delay: .36s; }

/* ── h2 white variant ─────────────────────────────────────── */
.is-how-to-seo-expert-page .h2-white { color: #fff; }

/* ── Eyebrow light (on dark sections) ────────────────────── */
.is-how-to-seo-expert-page .eyebrow-light { color: rgba(255,255,255,.45); }
.is-how-to-seo-expert-page .eyebrow-light::before { background: var(--fire); }

/* ── Shared button variants ──────────────────────────────── */
.is-how-to-seo-expert-page .btn-fire-lg {
  font-size: 1rem;
  padding: 17px 38px;
}
.is-how-to-seo-expert-page .btn-ghost-hero {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.8);
  font-family: var(--ff-body); font-size: .95rem; font-weight: 500;
  padding: 14px 26px; border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.15);
  text-decoration: none;
  transition: all .25s var(--ease);
}
.is-how-to-seo-expert-page .btn-ghost-hero:hover {
  border-color: rgba(255,255,255,.35); color: #fff; transform: translateY(-2px);
}
.is-how-to-seo-expert-page .btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink);
  font-family: var(--ff-body); font-size: .9rem; font-weight: 600;
  padding: 14px 26px; border-radius: var(--r2);
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all .25s var(--ease);
}
.is-how-to-seo-expert-page .btn-outline-dark:hover {
  border-color: var(--fire); color: var(--fire);
}
.is-how-to-seo-expert-page .btn-outline-light {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  font-family: var(--ff-body); font-size: .95rem; font-weight: 600;
  padding: 15px 30px; border-radius: var(--r2);
  border: 1.5px solid rgba(255,255,255,.3);
  text-decoration: none;
  transition: all .25s var(--ease);
}
.is-how-to-seo-expert-page .btn-outline-light:hover {
  border-color: rgba(255,255,255,.7); color: #fff; transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.is-how-to-seo-expert-page #hero {
  background: var(--ink);
  position: relative; overflow: hidden;
  padding-bottom: 0;
}

/* Glow orbs */
.is-how-to-seo-expert-page .hero-glow {
  position: absolute; top: -100px; right: -80px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,77,0,.12) 0%, transparent 68%);
  pointer-events: none; z-index: 1;
}
.is-how-to-seo-expert-page .hero-glow2 {
  position: absolute; bottom: -80px; left: -100px;
  width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,43,71,.65) 0%, transparent 70%);
  pointer-events: none; z-index: 1;
}

/* Hero grid */
.is-how-to-seo-expert-page .hero-body {
  position: relative; z-index: 2;
  padding: 88px 0 80px;
  gap: 56px;
  align-items: center;
}
.is-how-to-seo-expert-page .grid-2col {
  display: grid; grid-template-columns: 56fr 44fr;
}
.admin-bar .is-how-to-seo-expert-page .hero-body { padding-top: 120px; }

/* Hero pill */
.is-how-to-seo-expert-page .hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 99px; padding: 6px 16px;
  font-family: var(--ff-body); font-size: .8rem; font-weight: 600;
  color: rgba(255,255,255,.7); letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 24px;
}
.is-how-to-seo-expert-page .pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fire); flex-shrink: 0;
  animation: heroPulse 2s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

/* H1 */
.is-how-to-seo-expert-page .h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -.03em; margin: 0 0 24px;
}
.is-how-to-seo-expert-page .h1-dim {
  display: block; color: rgba(255,255,255,.4);
  font-style: italic; font-weight: 300; margin-bottom: 4px;
  font-size: .85em;
}
.is-how-to-seo-expert-page .h1-white { color: #fff; }
.is-how-to-seo-expert-page .h1-fire  { color: var(--fire); }
.is-how-to-seo-expert-page .h1-sub-line {
  display: block; color: rgba(255,255,255,.55);
  font-size: .65em; font-weight: 400; font-style: italic;
  margin-top: 6px; padding-bottom: 6px; position: relative;
}
.is-how-to-seo-expert-page .h1-sub-line::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--fire), transparent);
  border-radius: 2px;
  transition: width 1.4s .5s cubic-bezier(.22,.68,0,1.2);
}
.is-how-to-seo-expert-page .h1-sub-line.drawn::after { width: 55%; }

/* Hero sub */
.is-how-to-seo-expert-page .hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.65);
  line-height: 1.7; max-width: 580px; margin-bottom: 36px;
}
.is-how-to-seo-expert-page .hero-sub strong { color: rgba(255,255,255,.9); }
.is-how-to-seo-expert-page .hero-inline-link {
  color: var(--fire2); text-decoration: underline;
  text-decoration-color: rgba(255,122,61,.35);
  text-underline-offset: 3px;
  transition: color .2s;
}
.is-how-to-seo-expert-page .hero-inline-link:hover { color: var(--fire); }

/* Hero actions */
.is-how-to-seo-expert-page .hero-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero stats */
.is-how-to-seo-expert-page .hero-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(255,255,255,.08);
  border-top: 1px solid rgba(255,255,255,.08);
}
.is-how-to-seo-expert-page .hstat {
  background: var(--ink); padding: 20px 16px;
}
.is-how-to-seo-expert-page .hstat-n {
  font-family: var(--ff-head); font-size: 1.65rem; font-weight: 900;
  color: #fff; line-height: 1; margin-bottom: 5px;
}
.is-how-to-seo-expert-page .hstat-n sup { font-size: .55em; vertical-align: super; }
.is-how-to-seo-expert-page .hstat-l { font-size: .75rem; color: rgba(255,255,255,.4); line-height: 1.4; }

/* Hero entry animations */
.is-how-to-seo-expert-page .hero-anim-1 { opacity: 0; animation: heroFadeUp .6s .10s cubic-bezier(.22,.68,0,1.2) forwards; }
.is-how-to-seo-expert-page .hero-anim-2 { opacity: 0; animation: heroFadeUp .7s .22s cubic-bezier(.22,.68,0,1.2) forwards; }
.is-how-to-seo-expert-page .hero-anim-3 { opacity: 0; animation: heroFadeUp .7s .35s cubic-bezier(.22,.68,0,1.2) forwards; }
.is-how-to-seo-expert-page .hero-anim-4 { opacity: 0; animation: heroFadeUp .7s .48s cubic-bezier(.22,.68,0,1.2) forwards; }
.is-how-to-seo-expert-page .hero-anim-5 { opacity: 0; animation: heroFadeUp .7s .62s cubic-bezier(.22,.68,0,1.2) forwards; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* Right column */
.is-how-to-seo-expert-page .hero-right-col {
  position: relative;
  opacity: 0; animation: heroFadeIn .9s .45s cubic-bezier(.22,.68,0,1.2) forwards;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════
   JOURNEY PANEL (hero right col)
══════════════════════════════════════════════════════════ */
@keyframes jpRise { to { opacity: 1; transform: translateY(0); } }

.is-how-to-seo-expert-page .journey-panel {
  background: #111827;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 32px 72px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04);
}

/* Top bar */
.is-how-to-seo-expert-page .jp-topbar {
  padding: 11px 16px;
  background: rgba(255,255,255,.025);
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: space-between;
}
.is-how-to-seo-expert-page .jp-dots { display: flex; gap: 6px; }
.is-how-to-seo-expert-page .jp-dot  { width: 9px; height: 9px; border-radius: 50%; }
.is-how-to-seo-expert-page .jp-dot.r { background: #ff5f57; }
.is-how-to-seo-expert-page .jp-dot.y { background: #febc2e; }
.is-how-to-seo-expert-page .jp-dot.g { background: #28c840; }
.is-how-to-seo-expert-page .jp-label {
  display: flex; align-items: center; gap: 6px;
  font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.4); font-weight: 500;
}
.is-how-to-seo-expert-page .jp-label svg { color: var(--fire); flex-shrink: 0; }

/* Body */
.is-how-to-seo-expert-page .jp-body { padding: 20px 18px 10px; }

/* Track */
.is-how-to-seo-expert-page .jp-track {
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.is-how-to-seo-expert-page .jp-track::before {
  content: ''; position: absolute; left: 13px; top: 14px; bottom: 14px;
  width: 2px; background: rgba(255,255,255,.07);
  pointer-events: none;
}

/* Milestone row */
.is-how-to-seo-expert-page .jp-milestone {
  display: flex; gap: 0; align-items: flex-start;
  padding-bottom: 0; position: relative;
  opacity: 0; transform: translateY(10px);
}

/* Milestone dot */
.is-how-to-seo-expert-page .jp-milestone-dot {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700; font-family: var(--ff-head);
  position: relative; z-index: 2; margin-top: 4px;
}
.is-how-to-seo-expert-page .milestone-active {
  background: var(--fire); color: #fff;
  box-shadow: 0 0 0 3px rgba(255,77,0,.25), 0 0 14px rgba(255,77,0,.35);
  animation: milestoneGlow 2.4s ease-in-out infinite;
}
@keyframes milestoneGlow {
  0%,100% { box-shadow: 0 0 0 3px rgba(255,77,0,.25), 0 0 14px rgba(255,77,0,.35); }
  50%      { box-shadow: 0 0 0 5px rgba(255,77,0,.18), 0 0 24px rgba(255,77,0,.2); }
}
.is-how-to-seo-expert-page .milestone-done {
  background: rgba(16,185,129,.15); color: #34d399;
  border: 1.5px solid rgba(16,185,129,.35);
}
.is-how-to-seo-expert-page .milestone-future {
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.35);
  border: 1.5px solid rgba(255,255,255,.12);
}
.is-how-to-seo-expert-page .milestone-expert {
  background: linear-gradient(135deg,var(--fire),var(--fire2));
  color: #fff;
  box-shadow: 0 4px 18px rgba(255,77,0,.4);
}

/* Connector line between dot and card */
.is-how-to-seo-expert-page .jp-connector {
  width: 14px; flex-shrink: 0; align-self: stretch;
  border-bottom: 1.5px dashed rgba(255,255,255,.1);
  margin-top: 18px;
}

/* Card */
.is-how-to-seo-expert-page .jp-card {
  flex: 1; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; padding: 10px 14px 12px;
  margin-bottom: 10px;
  transition: border-color .25s;
}
.is-how-to-seo-expert-page .jp-card:hover { border-color: rgba(255,77,0,.2); }
.is-how-to-seo-expert-page .milestone-card-active {
  background: rgba(255,77,0,.07); border-color: rgba(255,77,0,.25);
}

/* Time badge */
.is-how-to-seo-expert-page .jp-time-badge {
  display: inline-flex; align-items: center;
  background: var(--fire); color: #fff;
  font-size: .58rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; padding: 2px 9px; border-radius: 20px;
  margin-bottom: 6px;
}
.is-how-to-seo-expert-page .jp-badge-done {
  background: rgba(16,185,129,.2); color: #34d399;
}
.is-how-to-seo-expert-page .jp-badge-future {
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.4);
}
.is-how-to-seo-expert-page .jp-badge-expert {
  background: linear-gradient(90deg, var(--fire), var(--fire2));
}

/* Stage title */
.is-how-to-seo-expert-page .jp-stage-title {
  font-family: var(--ff-head); font-size: .88rem; font-weight: 800;
  color: #fff; margin-bottom: 6px; line-height: 1.2;
}

/* Skills list */
.is-how-to-seo-expert-page .jp-skills {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.is-how-to-seo-expert-page .jp-skills li {
  font-size: .72rem; color: rgba(255,255,255,.42);
  padding-left: 10px; position: relative; line-height: 1.45;
}
.is-how-to-seo-expert-page .jp-skills li::before {
  content: '–'; position: absolute; left: 0;
  color: rgba(255,77,0,.5);
}

/* Panel footer */
.is-how-to-seo-expert-page .jp-footer {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .68rem; color: rgba(255,255,255,.3);
  opacity: 0; transform: translateY(8px);
}
.is-how-to-seo-expert-page .jp-footer-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fire); flex-shrink: 0;
  animation: heroPulse 2s ease-in-out infinite;
}

/* Staggered animation for panel items */
.is-how-to-seo-expert-page .jp-anim-1 { animation: jpRise .5s .65s cubic-bezier(.22,.68,0,1.2) forwards; }
.is-how-to-seo-expert-page .jp-anim-2 { animation: jpRise .5s .80s cubic-bezier(.22,.68,0,1.2) forwards; }
.is-how-to-seo-expert-page .jp-anim-3 { animation: jpRise .5s .95s cubic-bezier(.22,.68,0,1.2) forwards; }
.is-how-to-seo-expert-page .jp-anim-4 { animation: jpRise .5s 1.10s cubic-bezier(.22,.68,0,1.2) forwards; }
.is-how-to-seo-expert-page .jp-anim-5 { animation: jpRise .5s 1.25s cubic-bezier(.22,.68,0,1.2) forwards; }

/* ══════════════════════════════════════════════════════════
   RESPONSIBILITY CARDS (What does an SEO expert do?)
══════════════════════════════════════════════════════════ */
.is-how-to-seo-expert-page .resp-grid-4 {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

.is-how-to-seo-expert-page .resp-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r3); padding: 28px 24px;
  border-top: 3px solid transparent;
  display: flex; flex-direction: column; gap: 0;
  transition: all .3s var(--ease);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.is-how-to-seo-expert-page .resp-card:hover {
  border-top-color: var(--fire);
  box-shadow: 0 16px 48px rgba(13,17,23,.1);
  transform: translateY(-4px);
}
.is-how-to-seo-expert-page .resp-icon {
  width: 46px; height: 46px; border-radius: var(--r1);
  background: rgba(255,77,0,.08); color: var(--fire);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; flex-shrink: 0;
}
.is-how-to-seo-expert-page .resp-card h3 {
  font-family: var(--ff-head); font-size: 1.05rem; font-weight: 800;
  color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em;
}
.is-how-to-seo-expert-page .resp-card p {
  font-size: .87rem; color: var(--mid); line-height: 1.68; margin: 0;
}

/* ══════════════════════════════════════════════════════════
   ROADMAP TIMELINE (7 stages)
══════════════════════════════════════════════════════════ */
.is-how-to-seo-expert-page .roadmap-timeline {
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
.is-how-to-seo-expert-page .roadmap-timeline::before {
  content: ''; position: absolute; left: 27px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
  pointer-events: none;
}

.is-how-to-seo-expert-page .rt-step {
  display: flex; gap: 28px; align-items: flex-start;
  padding-bottom: 36px; position: relative; z-index: 1;
}
.is-how-to-seo-expert-page .rt-step:last-child { padding-bottom: 0; }

.is-how-to-seo-expert-page .rt-num {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--fire); color: #fff;
  font-family: var(--ff-head); font-size: .9rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(255,77,0,.18);
}

.is-how-to-seo-expert-page .rt-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r2);
  padding: 24px 26px; flex: 1;
  transition: all .3s var(--ease);
}
.is-how-to-seo-expert-page .rt-card:hover {
  box-shadow: 0 10px 40px rgba(13,17,23,.08);
  transform: translateX(4px);
  border-color: rgba(255,77,0,.18);
}
.is-how-to-seo-expert-page .rt-tag {
  display: inline-block;
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--fire); background: rgba(255,77,0,.08);
  border: 1px solid rgba(255,77,0,.18);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 10px;
}
.is-how-to-seo-expert-page .rt-card h3 {
  font-family: var(--ff-head); font-size: 1.1rem; font-weight: 800;
  color: var(--ink); margin-bottom: 12px; letter-spacing: -.01em;
}
.is-how-to-seo-expert-page .rt-card p {
  font-size: .9rem; color: var(--mid); line-height: 1.72; margin: 0 0 14px;
}
.is-how-to-seo-expert-page .rt-card p:last-child { margin-bottom: 0; }
.is-how-to-seo-expert-page .rt-card p strong { color: var(--ink); }

/* Resource tags */
.is-how-to-seo-expert-page .rt-resources {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid var(--border);
  margin-top: 14px;
}
.is-how-to-seo-expert-page .rt-res-label {
  font-size: .72rem; font-weight: 600; color: var(--mid);
  flex-shrink: 0;
}
.is-how-to-seo-expert-page .rt-res-tag {
  font-size: .72rem; font-weight: 600;
  background: var(--mist); color: var(--ink);
  border: 1px solid var(--border); padding: 3px 10px; border-radius: 20px;
}

/* ══════════════════════════════════════════════════════════
   SKILLS GRID (dark section, 3 columns)
══════════════════════════════════════════════════════════ */
.is-how-to-seo-expert-page .skills-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.is-how-to-seo-expert-page .skills-col {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r2); padding: 28px 26px;
  transition: border-color .3s var(--ease);
}
.is-how-to-seo-expert-page .skills-col:hover { border-color: rgba(255,77,0,.25); }

.is-how-to-seo-expert-page .skills-col-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px; padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.is-how-to-seo-expert-page .skills-col-icon {
  width: 42px; height: 42px; border-radius: var(--r1); flex-shrink: 0;
  background: rgba(255,77,0,.1); color: var(--fire);
  display: flex; align-items: center; justify-content: center;
}
.is-how-to-seo-expert-page .skills-col h3 {
  font-family: var(--ff-head); font-size: 1.05rem; font-weight: 800;
  color: #fff; letter-spacing: -.01em; margin: 0;
}

.is-how-to-seo-expert-page .skills-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.is-how-to-seo-expert-page .skills-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .86rem; color: rgba(255,255,255,.55); line-height: 1.6;
}
.is-how-to-seo-expert-page .skill-check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.25);
  display: flex; align-items: center; justify-content: center;
  color: #34d399; margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════
   TOOLS GRID
══════════════════════════════════════════════════════════ */
.is-how-to-seo-expert-page .tools-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.is-how-to-seo-expert-page .tool-cat-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r2); padding: 26px 24px;
  border-top: 3px solid transparent;
  transition: all .3s var(--ease);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.is-how-to-seo-expert-page .tool-cat-card:hover {
  border-top-color: var(--fire);
  box-shadow: 0 14px 44px rgba(13,17,23,.1);
  transform: translateY(-3px);
}
.is-how-to-seo-expert-page .tool-cat-icon {
  width: 42px; height: 42px; border-radius: var(--r1);
  background: rgba(255,77,0,.08); color: var(--fire);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
}
.is-how-to-seo-expert-page .tool-cat-card h3 {
  font-family: var(--ff-head); font-size: 1rem; font-weight: 800;
  color: var(--ink); margin-bottom: 16px; letter-spacing: -.01em;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}

.is-how-to-seo-expert-page .tool-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.is-how-to-seo-expert-page .tool-list li {
  font-size: .84rem; color: var(--mid); line-height: 1.6;
  display: flex; align-items: flex-start; gap: 8px;
}
.is-how-to-seo-expert-page .tool-tag {
  flex-shrink: 0;
  font-size: .7rem; font-weight: 700;
  background: rgba(255,77,0,.07); color: var(--fire);
  border: 1px solid rgba(255,77,0,.15);
  padding: 2px 8px; border-radius: 4px;
  margin-top: 1px;
}

/* ══════════════════════════════════════════════════════════
   TIMELINE CARDS (How long does it take?)
══════════════════════════════════════════════════════════ */
.is-how-to-seo-expert-page .timeline-cards {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.is-how-to-seo-expert-page .timeline-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r3); padding: 30px 26px;
  position: relative; overflow: hidden;
  transition: all .3s var(--ease);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.is-how-to-seo-expert-page .timeline-card:hover {
  box-shadow: 0 16px 52px rgba(13,17,23,.1);
  transform: translateY(-4px);
}

.is-how-to-seo-expert-page .tl-badge {
  display: inline-block;
  font-family: var(--ff-head); font-size: .78rem; font-weight: 900;
  padding: 5px 16px; border-radius: 20px; margin-bottom: 10px;
  letter-spacing: .02em;
}
.is-how-to-seo-expert-page .tl-badge-basics {
  background: rgba(107,114,128,.1); color: var(--mid);
  border: 1.5px solid rgba(107,114,128,.2);
}
.is-how-to-seo-expert-page .tl-badge-inter {
  background: rgba(255,77,0,.08); color: var(--fire);
  border: 1.5px solid rgba(255,77,0,.2);
}
.is-how-to-seo-expert-page .tl-badge-expert {
  background: linear-gradient(90deg,var(--fire),var(--fire2)); color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(255,77,0,.25);
}

.is-how-to-seo-expert-page .tl-level {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--mid); margin-bottom: 10px;
}
.is-how-to-seo-expert-page .timeline-card h3 {
  font-family: var(--ff-head); font-size: 1.12rem; font-weight: 800;
  color: var(--ink); margin-bottom: 14px; letter-spacing: -.01em;
}
.is-how-to-seo-expert-page .timeline-card p {
  font-size: .88rem; color: var(--mid); line-height: 1.72; margin-bottom: 18px;
}

.is-how-to-seo-expert-page .tl-milestones {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.is-how-to-seo-expert-page .tl-milestone {
  display: flex; align-items: center; gap: 10px;
  font-size: .82rem; color: var(--mid); line-height: 1.45;
}
.is-how-to-seo-expert-page .tl-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--border);
}
.is-how-to-seo-expert-page .tl-dot-fire  { background: var(--fire); }
.is-how-to-seo-expert-page .tl-dot-green { background: var(--green); }

/* Timeline note */
.is-how-to-seo-expert-page .timeline-note {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(255,77,0,.05); border: 1px solid rgba(255,77,0,.15);
  border-radius: var(--r2); padding: 22px 26px; margin-top: 36px;
}
.is-how-to-seo-expert-page .tn-icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,77,0,.1); color: var(--fire);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.is-how-to-seo-expert-page .timeline-note p {
  font-size: .92rem; color: var(--mid); line-height: 1.7; margin: 0;
}
.is-how-to-seo-expert-page .timeline-note p strong { color: var(--ink); }
.is-how-to-seo-expert-page .tn-link {
  color: var(--fire); text-decoration: underline;
  text-decoration-color: rgba(255,77,0,.3);
  text-underline-offset: 3px;
  transition: color .2s;
}
.is-how-to-seo-expert-page .tn-link:hover { color: #c73800; }

/* ══════════════════════════════════════════════════════════
   COURSE CTA BOX
══════════════════════════════════════════════════════════ */
.is-how-to-seo-expert-page .course-cta-box {
  position: relative; overflow: hidden;
  background: var(--ink);
  border-radius: var(--r3); padding: 60px;
  box-shadow: 0 24px 72px rgba(13,17,23,.18);
}
.is-how-to-seo-expert-page .cta-box-glow {
  position: absolute; top: -80px; right: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,77,0,.15) 0%, transparent 70%);
  pointer-events: none;
}
.is-how-to-seo-expert-page .cta-box-inner {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.is-how-to-seo-expert-page .cta-box-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 16px;
}
.is-how-to-seo-expert-page .cta-live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  flex-shrink: 0; animation: heroPulse 2s ease-in-out infinite;
}
.is-how-to-seo-expert-page .cta-box-left h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900; color: #fff; margin-bottom: 16px;
  letter-spacing: -.02em; line-height: 1.15;
}
.is-how-to-seo-expert-page .cta-box-left > p {
  font-size: .95rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 24px;
}

.is-how-to-seo-expert-page .cta-box-features {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.is-how-to-seo-expert-page .cta-box-features li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .9rem; color: rgba(255,255,255,.7); line-height: 1.55;
}
.is-how-to-seo-expert-page .cta-box-features li svg {
  flex-shrink: 0; color: var(--green); margin-top: 2px;
}

.is-how-to-seo-expert-page .cta-box-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}

/* Right column stats */
.is-how-to-seo-expert-page .cta-stat-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: rgba(255,255,255,.06);
  border-radius: var(--r2); overflow: hidden;
  margin-bottom: 16px;
}
.is-how-to-seo-expert-page .cta-stat {
  background: rgba(255,255,255,.04); padding: 18px 16px;
  transition: background .25s;
}
.is-how-to-seo-expert-page .cta-stat:hover { background: rgba(255,255,255,.07); }
.is-how-to-seo-expert-page .cta-stat-n {
  font-family: var(--ff-head); font-size: 1.45rem; font-weight: 900;
  color: var(--fire); line-height: 1; margin-bottom: 4px;
}
.is-how-to-seo-expert-page .cta-stat-n sup { font-size: .5em; vertical-align: super; }
.is-how-to-seo-expert-page .cta-stat-l { font-size: .7rem; color: rgba(255,255,255,.35); line-height: 1.4; }

.is-how-to-seo-expert-page .cta-tag-list {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.is-how-to-seo-expert-page .cta-tag {
  font-size: .7rem; font-weight: 600;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.09);
  padding: 4px 10px; border-radius: 4px;
  transition: all .2s;
}
.is-how-to-seo-expert-page .cta-tag:hover {
  background: rgba(255,77,0,.1); color: var(--fire2);
  border-color: rgba(255,77,0,.2);
}

/* ══════════════════════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════════════════════ */
.is-how-to-seo-expert-page #faq { position: relative; }
.is-how-to-seo-expert-page .faq-list {
  max-width: 780px; margin: 48px auto 0;
}
.is-how-to-seo-expert-page .fitem {
  border-bottom: 1px solid var(--border);
}
.is-how-to-seo-expert-page .fq {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; background: transparent; border: none; cursor: pointer;
  font-family: var(--ff-head); font-size: 1.02rem; font-weight: 700;
  color: var(--ink); text-align: left; line-height: 1.4;
  transition: color .2s var(--ease);
}
.is-how-to-seo-expert-page .fq:hover { color: var(--fire); }
.is-how-to-seo-expert-page .fq[aria-expanded="true"] { color: var(--fire); }
.is-how-to-seo-expert-page .fq-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--fire); color: var(--fire);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1; font-weight: 300;
  transition: transform .3s var(--ease);
}
.is-how-to-seo-expert-page .fq[aria-expanded="true"] .fq-icon { transform: rotate(45deg); }
.is-how-to-seo-expert-page .fa {
  overflow: hidden; max-height: 0;
  transition: max-height .35s var(--ease);
}
.is-how-to-seo-expert-page .fa-inner {
  padding: 0 0 22px;
}
.is-how-to-seo-expert-page .fa-inner p {
  font-size: .92rem; color: var(--mid); line-height: 1.75; margin: 0 0 10px;
}
.is-how-to-seo-expert-page .fa-inner p:last-child { margin-bottom: 0; }
.is-how-to-seo-expert-page .fa-link {
  color: var(--fire); text-decoration: underline;
  text-decoration-color: rgba(255,77,0,.3); text-underline-offset: 3px;
  transition: color .2s;
}
.is-how-to-seo-expert-page .fa-link:hover { color: #c73800; }

/* ══════════════════════════════════════════════════════════
   ADSENSE SLOT
══════════════════════════════════════════════════════════ */
.is-how-to-seo-expert-page .adsense-wrap {
  width: min(var(--w), 100% - 48px); margin-inline: auto;
  padding: 32px 0;
}

/* ══════════════════════════════════════════════════════════
   FINAL CTA BAND
══════════════════════════════════════════════════════════ */
.is-how-to-seo-expert-page #final-cta { position: relative; overflow: hidden; }
.is-how-to-seo-expert-page .final-cta-inner {
  background: var(--fire);
  padding: clamp(80px,8vw,112px) 0;
  position: relative; overflow: hidden;
}
.is-how-to-seo-expert-page .final-cta-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 80% at 15% 50%, rgba(255,255,255,.08), transparent),
    radial-gradient(ellipse 45% 60% at 85% 50%, rgba(0,0,0,.1), transparent);
}
.is-how-to-seo-expert-page .final-cta-bg::after {
  content: 'NEPAL'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--ff-head); font-size: 22vw; font-weight: 900;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.06);
  letter-spacing: -.06em; line-height: 1; white-space: nowrap;
  pointer-events: none; user-select: none;
}
.is-how-to-seo-expert-page .final-cta-content { position: relative; z-index: 1; }
.is-how-to-seo-expert-page .final-cta-overline {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 16px; display: block;
}
.is-how-to-seo-expert-page .final-cta-h2 {
  font-family: var(--ff-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900; color: #fff; letter-spacing: -.03em;
  line-height: 1.12; margin: 0 0 20px;
}
.is-how-to-seo-expert-page .final-cta-h2 em { font-style: italic; font-weight: 900; }
.is-how-to-seo-expert-page .final-cta-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.8);
  max-width: 560px; margin: 0 auto 36px; line-height: 1.7;
}
.is-how-to-seo-expert-page .final-link {
  color: #fff; font-weight: 700; text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.is-how-to-seo-expert-page .final-link:hover { text-decoration-color: #fff; }
.is-how-to-seo-expert-page .final-cta-actions {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.is-how-to-seo-expert-page .final-cta-actions .btn-fire {
  background: #fff; color: var(--fire);
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
}
.is-how-to-seo-expert-page .final-cta-actions .btn-fire:hover {
  background: var(--ink); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}
.is-how-to-seo-expert-page .final-cta-actions .btn-fire svg { color: inherit; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE OVERRIDES
══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .is-how-to-seo-expert-page .tools-grid { grid-template-columns: repeat(2,1fr); }
  .is-how-to-seo-expert-page .skills-grid { grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
}

@media (max-width: 1024px) {
  .is-how-to-seo-expert-page .grid-2col { grid-template-columns: 1fr; }
  .is-how-to-seo-expert-page .hero-right-col { display: none !important; }
  .is-how-to-seo-expert-page .hero-body { padding-top: 72px; padding-bottom: 64px; }
  .is-how-to-seo-expert-page .resp-grid-4 { grid-template-columns: repeat(2,1fr); }
  .is-how-to-seo-expert-page .timeline-cards { grid-template-columns: 1fr 1fr; }
  .is-how-to-seo-expert-page .cta-box-inner { grid-template-columns: 1fr; }
  .is-how-to-seo-expert-page .cta-box-right { display: none; }
  .is-how-to-seo-expert-page .course-cta-box { padding: 44px 36px; }
}

@media (max-width: 860px) {
  .is-how-to-seo-expert-page .skills-grid { grid-template-columns: 1fr; }
  .is-how-to-seo-expert-page .tools-grid  { grid-template-columns: 1fr; }
  .is-how-to-seo-expert-page .timeline-cards { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .is-how-to-seo-expert-page .resp-grid-4 { grid-template-columns: 1fr; }
  .is-how-to-seo-expert-page .hero-stats  { grid-template-columns: repeat(3,1fr); }
  .is-how-to-seo-expert-page .hero-actions { flex-direction: column; align-items: flex-start; }
  .is-how-to-seo-expert-page .course-cta-box { padding: 32px 22px; }
  .is-how-to-seo-expert-page .cta-box-actions { flex-direction: column; align-items: flex-start; }
  .is-how-to-seo-expert-page .final-cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .is-how-to-seo-expert-page .roadmap-timeline::before { left: 22px; }
  .is-how-to-seo-expert-page .rt-num { width: 46px; height: 46px; font-size: .82rem; }
  .is-how-to-seo-expert-page .hero-stats { grid-template-columns: 1fr; }
  .is-how-to-seo-expert-page .faq-list { margin-top: 32px; }
}

@media screen and (max-width: 782px) {
  .admin-bar .is-how-to-seo-expert-page .hero-body { padding-top: 92px; }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .is-how-to-seo-expert-page .hero-anim-1,
  .is-how-to-seo-expert-page .hero-anim-2,
  .is-how-to-seo-expert-page .hero-anim-3,
  .is-how-to-seo-expert-page .hero-anim-4,
  .is-how-to-seo-expert-page .hero-anim-5,
  .is-how-to-seo-expert-page .hero-right-col,
  .is-how-to-seo-expert-page .reveal,
  .is-how-to-seo-expert-page .jp-anim-1,
  .is-how-to-seo-expert-page .jp-anim-2,
  .is-how-to-seo-expert-page .jp-anim-3,
  .is-how-to-seo-expert-page .jp-anim-4,
  .is-how-to-seo-expert-page .jp-anim-5 {
    opacity: 1; animation: none; transform: none; transition: none;
  }
  .is-how-to-seo-expert-page .pill-dot,
  .is-how-to-seo-expert-page .jp-footer-dot,
  .is-how-to-seo-expert-page .cta-live-dot,
  .is-how-to-seo-expert-page .milestone-active { animation: none; }
  .is-how-to-seo-expert-page .h1-sub-line.drawn::after { width: 55%; transition: none; }
}
