/* =====================================================
   SOP Shortcodes — sop-shortcodes.css
   sop-studyplan.com
===================================================== */
:root {
  --sop-g1: #065f46;
  --sop-g2: #059669;
  --sop-g3: #10b981;
  --sop-g4: #34d399;
  --sop-gl: #ecfdf5;
  --sop-gp: #f0fdf4;
  --sop-ink: #0f172a;
  --sop-ink2: #374151;
  --sop-muted: #6b7280;
  --sop-border: #e5e7eb;
  --sop-white: #ffffff;
  --sop-r: 12px;
  --sop-rl: 20px;
}

/* ── CTA Banner ── */
.sop-cta {
  background: linear-gradient(135deg, #042f1e 0%, var(--sop-g1) 50%, var(--sop-g2) 100%);
  padding: 56px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 -24px;
}
.sop-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.sop-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.sop-cta h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -1px;
  line-height: 1.15;
}
.sop-cta p {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  margin: 0 0 28px;
  line-height: 1.7;
}
.sop-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.sop-btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--sop-g1);
  padding: 13px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  text-decoration: none; transition: .2s; border: none; cursor: pointer;
}
.sop-btn-white:hover { background: var(--sop-gp); color: var(--sop-g1); transform: translateY(-2px); }

.sop-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: #fff;
  padding: 13px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  border: 1.5px solid rgba(255,255,255,.3);
  text-decoration: none; transition: .2s; cursor: pointer;
}
.sop-btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ── Order Box ── */
.sop-order {
  background: var(--sop-white);
  border: 1.5px solid var(--sop-border);
  border-radius: var(--sop-rl);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  max-width: 340px;
}
.sop-order-head {
  background: linear-gradient(135deg, var(--sop-g1), var(--sop-g2));
  padding: 22px 24px;
}
.sop-order-head h3 { font-size: 15.5px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.sop-order-price { font-size: 44px; font-weight: 800; color: #fff; line-height: 1; }
.sop-order-unit  { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }
.sop-order-body  { padding: 22px; }
.sop-feature {
  display: flex; align-items: flex-start; gap: 9px;
  margin-bottom: 10px; font-size: 14px; color: var(--sop-ink2);
}
.sop-feature::before { content: '✓'; color: var(--sop-g2); font-weight: 800; flex-shrink: 0; }
.sop-order-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.sop-btn-line {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #00B900; color: #fff;
  padding: 11px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  text-decoration: none; transition: .2s;
}
.sop-btn-line:hover { background: #009900; color: #fff; transform: translateY(-1px); }
.sop-btn-outline {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--sop-g1);
  padding: 11px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  border: 1.5px solid var(--sop-g1);
  text-decoration: none; transition: .2s;
}
.sop-btn-outline:hover { background: var(--sop-g1); color: #fff; }
.sop-order-note { font-size: 12px; color: var(--sop-muted); text-align: center; margin-top: 12px; line-height: 1.6; }

/* ── Trust Badges ── */
.sop-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--sop-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--sop-white);
  margin: 24px 0;
}
.sop-trust-item {
  text-align: center;
  padding: 20px 12px;
  border-right: 1px solid var(--sop-border);
  transition: .2s;
}
.sop-trust-item:last-child { border-right: none; }
.sop-trust-item:hover { background: var(--sop-gp); }
.sop-trust-num {
  font-size: 28px; font-weight: 800; color: var(--sop-g1);
  line-height: 1; display: block;
}
.sop-trust-label { font-size: 12.5px; color: var(--sop-muted); margin-top: 5px; display: block; }

/* ── Contact Bar ── */
.sop-contact-bar {
  background: var(--sop-gl);
  border: 1px solid rgba(16,185,129,.2);
  border-left: 4px solid var(--sop-g1);
  border-radius: 0 14px 14px 0;
  padding: 20px 24px;
  margin: 28px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.sop-contact-bar-text { flex: 1; min-width: 200px; }
.sop-contact-bar-text strong { font-size: 15px; color: var(--sop-ink); display: block; margin-bottom: 4px; }
.sop-contact-bar-text span  { font-size: 13.5px; color: var(--sop-muted); }
.sop-contact-bar-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sop-cbtn-line {
  display: inline-flex; align-items: center; gap: 7px;
  background: #00B900; color: #fff;
  padding: 10px 18px; border-radius: 9px;
  font-size: 13.5px; font-weight: 700;
  text-decoration: none; transition: .2s;
}
.sop-cbtn-line:hover { background: #009900; color: #fff; }
.sop-cbtn-phone {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--sop-white); color: var(--sop-g1);
  padding: 10px 18px; border-radius: 9px;
  font-size: 13.5px; font-weight: 700;
  border: 1.5px solid var(--sop-g1);
  text-decoration: none; transition: .2s;
}
.sop-cbtn-phone:hover { background: var(--sop-g1); color: #fff; }

/* ── Steps ── */
.sop-steps { margin: 28px 0; }
.sop-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.sop-steps-grid::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(12.5% + 11px);
  right: calc(12.5% + 11px);
  height: 2px;
  background: linear-gradient(90deg, var(--sop-g3), rgba(16,185,129,.15));
  z-index: 0;
}
.sop-step { text-align: center; position: relative; z-index: 1; }
.sop-step-num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--sop-g1), var(--sop-g2));
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff;
  margin: 0 auto 12px;
  box-shadow: 0 6px 16px rgba(6,95,70,.25);
}
.sop-step-title { font-size: 13.5px; font-weight: 700; color: var(--sop-ink); margin-bottom: 5px; }
.sop-step-desc  { font-size: 12px; color: var(--sop-muted); line-height: 1.6; }

/* ── FAQ ── */
.sop-faq { margin: 28px 0; }
.sop-faq-item { border-bottom: 1px solid var(--sop-border); }
.sop-faq-item:first-child { border-top: 1px solid var(--sop-border); }
.sop-faq-q {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 0; cursor: pointer; user-select: none;
}
.sop-faq-q-icon {
  width: 24px; height: 24px;
  background: var(--sop-gl); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--sop-g1);
  flex-shrink: 0; margin-top: 1px; transition: .2s;
}
.sop-faq-q-text { font-size: 15.5px; font-weight: 600; color: var(--sop-ink); flex: 1; line-height: 1.5; }
.sop-faq-chevron { margin-left: auto; color: var(--sop-muted); transition: transform .2s; flex-shrink: 0; margin-top: 3px; }
.sop-faq-a {
  padding: 0 0 16px 36px;
  font-size: 15px; color: #475569; line-height: 1.8;
  display: none;
}
.sop-faq-item.open .sop-faq-a         { display: block; }
.sop-faq-item.open .sop-faq-chevron   { transform: rotate(180deg); }
.sop-faq-item.open .sop-faq-q-icon    { background: var(--sop-g1); color: #fff; }

/* ── Related Cards ── */
.sop-related { margin: 32px 0; }
.sop-related-title { font-size: 18px; font-weight: 800; color: var(--sop-ink); margin-bottom: 16px; }
.sop-related-grid  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sop-related-card  {
  display: block;
  background: var(--sop-white);
  border: 1px solid var(--sop-border);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  transition: .2s;
}
.sop-related-card:hover {
  border-color: var(--sop-g3);
  box-shadow: 0 4px 16px rgba(16,185,129,.12);
  transform: translateY(-2px);
}
.src-icon  { font-size: 26px; margin-bottom: 10px; display: block; }
.src-name  { font-size: 14px; font-weight: 700; color: var(--sop-ink); margin-bottom: 5px; display: block; }
.src-desc  { font-size: 12.5px; color: var(--sop-muted); line-height: 1.6; display: block; }
.src-arrow { font-size: 13px; font-weight: 700; color: var(--sop-g1); margin-top: 10px; display: inline-flex; align-items: center; gap: 4px; }

/* ── Country Nav ── */
.sop-country-nav { margin: 24px 0; }
.sop-country-nav-title {
  font-size: 13px; font-weight: 700; color: var(--sop-muted);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: 11px;
}
.sop-country-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sop-country-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  border: 1.5px solid var(--sop-border);
  border-radius: 24px;
  font-size: 13.5px; font-weight: 500; color: var(--sop-ink2);
  text-decoration: none; background: var(--sop-white); transition: .15s;
}
.sop-country-pill:hover { border-color: var(--sop-g2); color: var(--sop-g1); background: var(--sop-gp); }
.sop-country-pill.active { background: var(--sop-g1); color: #fff; border-color: var(--sop-g1); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .sop-trust { grid-template-columns: 1fr 1fr; }
  .sop-trust-item:nth-child(2)   { border-right: none; }
  .sop-trust-item:nth-child(n+3) { border-top: 1px solid var(--sop-border); }
  .sop-related-grid  { grid-template-columns: 1fr 1fr; }
  .sop-steps-grid    { grid-template-columns: 1fr 1fr; gap: 20px; }
  .sop-steps-grid::before { display: none; }
  .sop-cta { margin: 0; }
}
@media (max-width: 480px) {
  .sop-related-grid  { grid-template-columns: 1fr; }
  .sop-cta-btns, .sop-contact-bar-btns { flex-direction: column; align-items: center; }
  .sop-btn-white, .sop-btn-ghost { width: 100%; justify-content: center; }
}
