/*
 * NestAura — Pages Design System
 * assets/css/pages.css  |  Version: 2.9
 * Applies to all sp-page-hero / sp-card / sp-callout / sp-btn page templates.
 * No external framework dependencies.
 */

/* ── Brand Tokens ────────────────────────────────────────────── */
:root {
  /* Legacy tokens */
  --p-navy:           #0f1f3d;
  --p-navy-hover:     #1e3a6e;
  --p-gold:           #f4a724;
  --p-page-bg:        #f0f4f9;
  --p-white:          #ffffff;
  --p-text:           #1a1a2e;
  --p-muted:          #6b7280;
  --p-border:         #e5e7eb;
  --p-radius:         16px;
  --p-shadow:         0 4px 24px rgba(15,31,61,0.08), 0 1px 4px rgba(15,31,61,0.04);
  --p-shadow-md:      0 8px 40px rgba(15,31,61,0.13), 0 2px 8px rgba(15,31,61,0.06);
  --p-warn-bg:        #fff8e1;
  --p-warn-border:    #f59e0b;
  --p-info-bg:        #e8f4fd;
  --p-info-border:    #3b82f6;
  --p-success-bg:     #f0fdf4;
  --p-success-border: #22c55e;
  --p-danger-bg:      #fef2f2;
  --p-danger-border:  #ef4444;

  /* v2.9 brand tokens */
  --na-navy:    #0f1f3d;
  --na-blue:    #1a3a6b;
  --na-accent:  #2a5298;
  --na-gold:    #f59e0b;
  --na-bg:      #f0f4f9;
  --na-card-bg: rgba(255,255,255,0.75);
  --na-shadow:  0 4px 24px rgba(15,31,61,0.08);
  --na-radius:  16px;
}

/* ── Global ─────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-feature-settings: "kern" 1, "liga" 1, "calt" 1; }
* { transition-property: background, box-shadow, transform, border-color, color, opacity;
    transition-duration: 0.2s; transition-timing-function: ease; }

/* ── Shimmer ─────────────────────────────────────────────────── */
@keyframes sp-hero-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ── Page Outer ──────────────────────────────────────────────── */
.sp-page-outer {
  background: linear-gradient(180deg, #f0f4f9 0%, #ffffff 40%, #f8fafc 100%);
  min-height: 100vh;
}

/* ── Container ───────────────────────────────────────────────── */
.sp-page-wrap {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.sp-page-sections { padding-bottom: 64px; }

/* ── Hero ────────────────────────────────────────────────────── */
.sp-page-hero {
  background: linear-gradient(135deg, #0f1f3d 0%, #1a3a6b 60%, #2a5298 100%);
  color: #ffffff;
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sp-page-hero .sp-page-wrap { position: relative; z-index: 1; }

/* Decorative circles */
.sp-hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sp-hero-deco__circle {
  position: absolute;
  border-radius: 50%;
}
.sp-hero-deco__circle:nth-child(1) {
  width: 400px; height: 400px;
  top: -100px; right: -80px;
  background: rgba(255,255,255,0.05);
}
.sp-hero-deco__circle:nth-child(2) {
  width: 250px; height: 250px;
  bottom: -60px; left: 10%;
  background: rgba(255,255,255,0.04);
}
.sp-hero-deco__circle:nth-child(3) {
  width: 180px; height: 180px;
  top: 20px; left: -40px;
  background: rgba(255,255,255,0.03);
}

.sp-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin: 0 auto 16px;
  width: fit-content;
}

.sp-hero-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 auto 14px;
  max-width: 700px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.sp-hero-title span { color: var(--na-gold); }

.sp-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Sections ────────────────────────────────────────────────── */
.sp-section { margin-top: 48px; }

.sp-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--na-navy);
  margin: 0 0 24px;
  padding-left: 18px;
  border-left: 5px solid transparent;
  border-image: linear-gradient(180deg, #3b82f6, #6366f1) 1;
  line-height: 1.3;
  position: relative;
}
.sp-section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  border-radius: 2px;
}

.sp-section-lead {
  font-size: 0.94rem;
  color: var(--p-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ── Cards — Glassmorphism ───────────────────────────────────── */
.sp-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15,31,61,0.08), 0 1px 4px rgba(15,31,61,0.04);
  padding: 32px 36px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.sp-card:hover {
  box-shadow: 0 8px 40px rgba(15,31,61,0.13), 0 2px 8px rgba(15,31,61,0.06);
  transform: translateY(-2px);
}

/* ── Grids ───────────────────────────────────────────────────── */
.sp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sp-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sp-grid--6040 { grid-template-columns: 3fr 2fr; }

/* ── Icon Blocks — colourful frosted glass ───────────────────── */
.sp-icon-block {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(15,31,61,0.08);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}
.sp-icon-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15,31,61,0.14);
}
/* Top colour bar per child */
.sp-icon-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
}
.sp-icon-block:nth-child(1)::before { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.sp-icon-block:nth-child(2)::before { background: linear-gradient(90deg, #f59e0b, #f97316); }
.sp-icon-block:nth-child(3)::before { background: linear-gradient(90deg, #10b981, #06b6d4); }
.sp-icon-block:nth-child(4)::before { background: linear-gradient(90deg, #3b82f6, #6366f1); }

/* Icon circle */
.sp-ib-icon,
.sp-icon-block__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
  font-size: 28px;
  flex-shrink: 0;
}
.sp-icon-block:nth-child(1) .sp-ib-icon,
.sp-icon-block:nth-child(1) .sp-icon-block__icon { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.sp-icon-block:nth-child(2) .sp-ib-icon,
.sp-icon-block:nth-child(2) .sp-icon-block__icon { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.sp-icon-block:nth-child(3) .sp-ib-icon,
.sp-icon-block:nth-child(3) .sp-icon-block__icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.sp-icon-block:nth-child(4) .sp-ib-icon,
.sp-icon-block:nth-child(4) .sp-icon-block__icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }

/* Step label */
.sp-ib-step,
.sp-icon-block__step {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sp-icon-block:nth-child(1) .sp-ib-step,
.sp-icon-block:nth-child(1) .sp-icon-block__step { color: #7c3aed; }
.sp-icon-block:nth-child(2) .sp-ib-step,
.sp-icon-block:nth-child(2) .sp-icon-block__step { color: #d97706; }
.sp-icon-block:nth-child(3) .sp-ib-step,
.sp-icon-block:nth-child(3) .sp-icon-block__step { color: #059669; }
.sp-icon-block:nth-child(4) .sp-ib-step,
.sp-icon-block:nth-child(4) .sp-icon-block__step { color: #2563eb; }

.sp-ib-title { font-size: 0.97rem; font-weight: 700; color: var(--na-navy); }
.sp-ib-desc  { font-size: 0.85rem; color: var(--p-muted); line-height: 1.6; }

/* ── Callout Boxes — gradient + emoji ───────────────────────── */
.sp-callout {
  border-radius: 12px;
  padding: 18px 22px 18px 56px;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 16px 0;
  position: relative;
}
.sp-callout::before {
  position: absolute;
  left: 20px;
  top: 18px;
  font-size: 18px;
  line-height: 1;
}

.sp-callout--warning {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-left: 5px solid #f59e0b;
  box-shadow: 0 2px 8px rgba(245,158,11,0.1);
  color: #78350f;
}
.sp-callout--warning::before { content: '\26A0\FE0F'; }

.sp-callout--info {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-left: 5px solid #3b82f6;
  box-shadow: 0 2px 8px rgba(59,130,246,0.1);
  color: #1e3a8a;
}
.sp-callout--info::before { content: '\2139\FE0F'; }

.sp-callout--success {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-left: 5px solid #22c55e;
  box-shadow: 0 2px 8px rgba(34,197,94,0.1);
  color: #14532d;
}
.sp-callout--success::before { content: '\2705'; }

.sp-callout--danger {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  border-left: 5px solid #ef4444;
  box-shadow: 0 2px 8px rgba(239,68,68,0.1);
  color: #7f1d1d;
}
.sp-callout--danger::before { content: '\1F6AB'; }

.sp-callout p { margin-bottom: 6px; }
.sp-callout p:last-child { margin-bottom: 0; }
.sp-callout ul { margin: 8px 0 0; padding-left: 1.2rem; list-style: disc; }
.sp-callout li { margin-bottom: 4px; }
.sp-callout strong { font-weight: 700; }
.sp-callout a { font-weight: 600; color: inherit; }

/* ── Table — richer look ─────────────────────────────────────── */
.sp-table-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15,31,61,0.08);
  border: 1px solid rgba(15,31,61,0.08);
}
.sp-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 400px; }
.sp-table thead tr { background: linear-gradient(135deg, #0f1f3d, #1a3a6b); }
.sp-table thead th {
  padding: 16px 20px;
  color: #ffffff;
  font-weight: 600;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.sp-table tbody tr:nth-child(even) { background: #f8fafc; }
.sp-table tbody tr:nth-child(odd)  { background: #ffffff; }
.sp-table tbody tr:hover { background: #eff6ff; }
.sp-table td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid #e2e8f0; color: #374151; vertical-align: middle; }
.sp-table tbody tr:last-child td { border-bottom: none; }

/* ── Forms — glassy card ─────────────────────────────────────── */
.sp-form-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15,31,61,0.08), 0 1px 4px rgba(15,31,61,0.04);
  padding: 36px 40px;
}

.sp-form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--p-navy);
  margin: 0 0 24px;
  padding-left: 12px;
  border-left: 4px solid var(--p-gold);
}

.sp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.sp-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.sp-form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--p-navy);
  letter-spacing: 0.02em;
}

.sp-form-field input,
.sp-form-field select,
.sp-form-field textarea {
  width: 100%;
  border: 1.5px solid var(--p-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--p-text);
  background: var(--p-white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.sp-form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.sp-form-field input:focus,
.sp-form-field select:focus,
.sp-form-field textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.sp-form-field textarea { resize: vertical; min-height: 130px; }

.sp-field-hint { font-size: 0.75rem; color: var(--p-muted); }
.sp-field-req  { color: var(--p-danger-border); margin-left: 2px; }

/* Override form message from style.css */
.sp-form-msg {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: none;
  line-height: 1.6;
}
.sp-form-msg.success { background: var(--p-success-bg); border-left: 4px solid var(--p-success-border); color: #14532d; display: block; }
.sp-form-msg.error   { background: var(--p-danger-bg);  border-left: 4px solid var(--p-danger-border);  color: #7f1d1d; display: block; }

/* ── Buttons ─────────────────────────────────────────────────── */
.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 30px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1;
}
.sp-btn:active { transform: translateY(1px); }
.sp-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.sp-btn--primary { background: var(--p-navy); color: #ffffff; border-color: var(--p-navy); }
.sp-btn--primary:hover { background: var(--p-navy-hover); border-color: var(--p-navy-hover); color: #ffffff; box-shadow: 0 4px 16px rgba(15,31,61,0.25); }

.sp-btn--outline { background: transparent; color: var(--p-navy); border-color: var(--p-navy); }
.sp-btn--outline:hover { background: var(--p-navy); color: #ffffff; }

.sp-btn--white { background: #ffffff; color: var(--p-navy); border-color: #ffffff; }
.sp-btn--white:hover { background: var(--p-page-bg); border-color: var(--p-page-bg); }

.sp-btn--outline-white { background: transparent; color: #ffffff; border-color: #ffffff; }
.sp-btn--outline-white:hover { background: #ffffff; color: var(--p-navy); }

/* ── CTA Strip — bold gradient ──────────────────────────────── */
.sp-cta-strip {
  background: linear-gradient(135deg, #0f1f3d 0%, #1a3a6b 50%, #2a5298 100%);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 64px;
}
.sp-cta-strip::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -100px;
  right: -60px;
  pointer-events: none;
}

.sp-cta-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}
.sp-cta-sub { font-size: 0.95rem; color: rgba(255,255,255,0.80); margin: 0 0 28px; position: relative; z-index: 1; }
.sp-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Help Strip ──────────────────────────────────────────────── */
.sp-help-strip {
  background: linear-gradient(135deg, #f8fafc, #f0f4f9);
  border-top: 1px solid var(--p-border);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--p-muted);
}
.sp-help-strip a { color: var(--p-navy); font-weight: 600; text-decoration: none; }
.sp-help-strip a:hover { color: var(--p-gold); }

/* ── Track Order — Status Guide ─────────────────────────────── */
.sp-status-guide {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15,31,61,0.08);
  overflow: hidden;
}

/* Legacy stage classes (backward compat) */
.sp-status-stage {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-left: 4px solid;
  transition: background 0.2s;
}
.sp-status-stage + .sp-status-stage { border-top: 1px solid var(--p-border); }
.sp-status-stage:hover { background: #fafbff; }
.sp-status-stage--processing { border-left-color: #f59e0b; }
.sp-status-stage--dispatched { border-left-color: #3b82f6; }
.sp-status-stage--transit    { border-left-color: #f97316; }
.sp-status-stage--delivered  { border-left-color: #22c55e; }
.sp-ss-icon  { font-size: 1.35rem; flex-shrink: 0; width: 32px; text-align: center; margin-top: 2px; }
.sp-ss-label { font-size: 0.93rem; font-weight: 700; color: var(--na-navy); margin-bottom: 3px; }
.sp-ss-desc  { font-size: 0.82rem; color: var(--p-muted); line-height: 1.55; }

/* New status item style (v2.9) */
.sp-status-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.2s;
}
.sp-status-item:last-child { border-bottom: none; }
.sp-status-item:hover { background: #fafbff; }

.sp-status-item__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.sp-status-item--processing .sp-status-item__dot { background: #fef3c7; }
.sp-status-item--dispatched  .sp-status-item__dot { background: #dbeafe; }
.sp-status-item--transit     .sp-status-item__dot { background: #ffedd5; }
.sp-status-item--delivered   .sp-status-item__dot { background: #dcfce7; }

.sp-status-item__label { font-weight: 700; font-size: 15px; color: #0f1f3d; }
.sp-status-item__desc  { font-size: 13px; color: #6b7280; margin-top: 2px; }

/* ── Track Order — Results Card ──────────────────────────────── */
.sp-track-result {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(15,31,61,0.08), 0 1px 4px rgba(15,31,61,0.04);
  overflow: hidden;
  margin-bottom: 16px;
}
.sp-track-result-header {
  background: linear-gradient(135deg, #0f1f3d, #1a3a6b);
  color: #ffffff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.sp-track-order-num { font-size: 1.05rem; font-weight: 700; }
.sp-track-status-badge {
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sp-track-result-body { padding: 20px 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.sp-track-detail strong { display: block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--p-muted); margin-bottom: 4px; }
.sp-track-detail span { font-size: 0.92rem; color: var(--p-text); }
.sp-track-items-list { list-style: none; padding: 0; margin: 4px 0 0; }
.sp-track-items-list li { font-size: 0.85rem; color: var(--p-muted); padding: 2px 0; border-bottom: 1px solid var(--p-border); }
.sp-track-items-list li:last-child { border-bottom: none; }

/* ── Step List (returns process) ─────────────────────────────── */
.sp-step-list {
  counter-reset: sp-steps;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sp-step-list li {
  counter-increment: sp-steps;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.93rem;
  color: var(--p-text);
  line-height: 1.65;
}
.sp-step-list li::before {
  content: counter(sp-steps);
  min-width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #1a3a6b, #2a5298);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 2px 8px rgba(26,58,107,0.3);
}

/* ── Contact Info Cards — glass ─────────────────────────────── */
.sp-contact-info-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15,31,61,0.08);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15,31,61,0.12);
}
.sp-cic-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.sp-cic-title { font-size: 1rem; font-weight: 700; color: var(--p-navy); }
.sp-cic-main  { font-size: 0.95rem; color: var(--p-navy); font-weight: 600; }
.sp-cic-main a { color: inherit; text-decoration: none; }
.sp-cic-main a:hover { color: var(--p-gold); }
.sp-cic-note  { font-size: 0.82rem; color: var(--p-muted); line-height: 1.55; }

/* ── FAQ Accordion — glassy ─────────────────────────────────── */
.sp-faq-category-header { display: flex; align-items: center; gap: 12px; margin: 44px 0 16px; }
.sp-faq-category-header:first-child { margin-top: 0; }

.sp-faq-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #1e3a8a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.sp-faq-category-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--na-navy);
  margin: 0;
}

.sp-faq-item {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(15,31,61,0.06);
  overflow: hidden;
  margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,0.9);
  transition: box-shadow 0.2s ease;
}
.sp-faq-item:hover { box-shadow: 0 4px 20px rgba(15,31,61,0.10); }
.sp-faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  text-align: left;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--na-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.2s;
  font-family: inherit;
}
.sp-faq-btn:hover { background: rgba(239,246,255,0.7); }
.sp-faq-btn .faq-icon { font-size: 1.2rem; font-weight: 300; color: var(--na-gold); flex-shrink: 0; transition: transform 0.25s; line-height: 1; }
.sp-faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.sp-faq-answer { display: none; padding: 4px 24px 20px; font-size: 0.88rem; color: var(--p-muted); line-height: 1.75; border-top: 1px solid rgba(15,31,61,0.06); }
.sp-faq-answer.open { display: block; }
.sp-faq-answer a { color: var(--na-navy); font-weight: 600; }
.sp-faq-answer a:hover { color: var(--na-gold); }

/* ── About — Value Cards — glassy ───────────────────────────── */
.sp-value-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15,31,61,0.08);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--na-blue), var(--na-accent));
}
.sp-value-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(15,31,61,0.12); }
.sp-value-icon  { font-size: 1.9rem; margin-bottom: 12px; }
.sp-value-title { font-size: 0.97rem; font-weight: 700; color: var(--na-navy); margin-bottom: 8px; }
.sp-value-desc  { font-size: 0.85rem; color: var(--p-muted); line-height: 1.65; }
.sp-value-desc a { color: var(--na-navy); font-weight: 600; }

/* About — Image Placeholder */
.sp-img-placeholder {
  background: linear-gradient(135deg, #f0f4f9, #e8f0fc);
  border: 2px dashed rgba(15,31,61,0.15);
  border-radius: 16px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* About — Why List */
.sp-why-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sp-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--p-text);
  line-height: 1.65;
}
.sp-why-list li::before {
  content: "\2713";
  min-width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #dcfce7, #a7f3d0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 1px 4px rgba(34,197,94,0.2);
}

/* ── Policy Document (the_content() wrapper) ─────────────────── */
.sp-policy-doc,
.sp-policy-content {
  font-size: 0.93rem;
  color: var(--p-text);
  line-height: 1.85;
}
.sp-policy-doc h2, .sp-policy-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--na-navy);
  margin: 2.2rem 0 0.75rem;
  padding-left: 14px;
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, #3b82f6, #6366f1) 1;
}
.sp-policy-doc h3, .sp-policy-content h3 { font-size: 1rem; font-weight: 700; color: var(--p-navy); margin: 1.5rem 0 0.5rem; }
.sp-policy-doc p, .sp-policy-content p { margin-bottom: 1rem; color: #374151; }
.sp-policy-doc ul, .sp-policy-content ul,
.sp-policy-doc ol, .sp-policy-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.sp-policy-doc ul li, .sp-policy-content ul li { list-style: disc; margin-bottom: 0.4rem; }
.sp-policy-doc ol li, .sp-policy-content ol li { list-style: decimal; margin-bottom: 0.4rem; }
.sp-policy-doc a, .sp-policy-content a { color: var(--p-navy); font-weight: 600; }
.sp-policy-doc strong, .sp-policy-content strong { color: var(--p-navy); }
.sp-policy-doc hr, .sp-policy-content hr { border: none; border-top: 1px solid var(--p-border); margin: 2rem 0; }

/* ── Reassurance note ────────────────────────────────────────── */
.sp-reassurance { text-align: center; font-size: 0.86rem; color: var(--p-muted); margin-top: 14px; }

/* ── Card content — bare lists ───────────────────────────────── */
.sp-card ul, .sp-card ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.sp-card ul li { list-style: disc; margin-bottom: 6px; font-size: 0.92rem; color: var(--p-text); line-height: 1.65; }
.sp-card ol li { list-style: decimal; margin-bottom: 6px; font-size: 0.92rem; color: var(--p-text); line-height: 1.65; }
.sp-card p    { font-size: 0.92rem; color: var(--p-text); line-height: 1.7; margin-bottom: 12px; }
.sp-card p:last-child { margin-bottom: 0; }
.sp-card strong { color: var(--na-navy); }
.sp-card a { color: var(--na-navy); font-weight: 600; }

/* ── Form card narrow variant (contact page) ─────────────────── */
.sp-form-card--narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sp-grid-4       { grid-template-columns: repeat(2, 1fr); }
  .sp-grid-3       { grid-template-columns: repeat(2, 1fr); }
  .sp-grid--6040   { grid-template-columns: 1fr 1fr; }
  .sp-track-result-body { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 640px) {
  .sp-page-hero        { padding: 48px 16px; }
  .sp-card             { padding: 20px; }
  .sp-form-card        { padding: 24px 20px; }
  .sp-form-row         { grid-template-columns: 1fr; }
  .sp-grid-4,
  .sp-grid-3,
  .sp-grid-2           { grid-template-columns: 1fr; }
  .sp-cta-strip        { padding: 40px 20px; margin-top: 48px; border-radius: 12px; }
  .sp-track-result-body { grid-template-columns: 1fr; }
  .sp-btn              { padding: 12px 22px; font-size: 0.9rem; }
  .sp-section          { margin-top: 36px; }
  .sp-page-sections    { padding-bottom: 40px; }
  .sp-hero-deco__circle:nth-child(1) { width: 200px; height: 200px; }
  .sp-callout          { padding-left: 44px; }
}
