/* ==========================================================
   SC PI ATTORNEYS – MAIN STYLESHEET
   Child of Twenty Twenty-Five
   ========================================================== */

/* ── 0. CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  /* Brand colours */
  --scpi-primary:        #1B3A6B;
  --scpi-primary-dark:   #0D1F3C;
  --scpi-primary-mid:    #234a88;
  --scpi-secondary:      #C8972B;
  --scpi-secondary-light:#E5B84D;
  --scpi-accent:         #C0392B;
  --scpi-accent-dark:    #96281B;
  --scpi-success:        #27AE60;

  /* Neutral palette */
  --scpi-white:   #FFFFFF;
  --scpi-off-white:#F8FAFC;
  --scpi-bg-light:#F0F4F8;
  --scpi-border:  #D5DEEA;
  --scpi-text:    #2C3E50;
  --scpi-text-mid:#4A5568;
  --scpi-text-light:#718096;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-sub:     'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body:    'Open Sans', system-ui, -apple-system, sans-serif;

  /* Sizing */
  --container-max: 1240px;
  --container-pad: clamp(1rem, 4vw, 2rem);
  --sidebar-width: 320px;
  --gap:           2rem;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --radius-xl:     24px;

  /* Shadows */
  --shadow-card:  0 4px 20px rgba(27,58,107,.09);
  --shadow-raise: 0 8px 40px rgba(27,58,107,.16);
  --shadow-cta:   0 6px 24px rgba(200,151,43,.35);
  --shadow-red:   0 6px 24px rgba(192,57,43,.35);

  /* Transitions */
  --tr: .22s ease;
}

/* ── 1. RESET / BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  color: var(--scpi-text);
  background: var(--scpi-white);
  overflow-x: hidden;
}

/* Remove TwentyTwentyFive defaults that conflict */
body.wp-singular .wp-block-post-title,
body.wp-singular h1.entry-title,
.entry-header { display: none !important; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--scpi-primary); transition: color var(--tr); text-decoration: none; }
a:hover { color: var(--scpi-secondary); }

/* ── 2. LAYOUT UTILITIES ─────────────────────────────────── */
.scpi-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.scpi-content-area {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.scpi-with-sidebar {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--gap);
  align-items: start;
}

/* ── 3. TYPOGRAPHY ───────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--scpi-primary-dark);
  line-height: 1.25;
}

h1 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem,  2.5vw, 2.1rem);  }
h3 { font-family: var(--font-sub); font-size: clamp(1.1rem, 2vw, 1.45rem); }
h4 { font-family: var(--font-sub); font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: .9rem; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

.prose h2 { margin-top: 2rem; margin-bottom: .75rem; padding-bottom: .4rem; border-bottom: 3px solid var(--scpi-secondary); display: inline-block; }
.prose h3 { margin-top: 1.5rem; margin-bottom: .5rem; color: var(--scpi-primary); }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose ul li::marker { color: var(--scpi-secondary); }
.prose blockquote {
  border-left: 4px solid var(--scpi-secondary);
  padding: 1rem 1.5rem;
  background: var(--scpi-bg-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  margin-block: 1.5rem;
}
.prose strong { color: var(--scpi-primary-dark); }
.prose a { color: var(--scpi-primary); border-bottom: 1px solid rgba(27,58,107,.25); }
.prose a:hover { color: var(--scpi-secondary); border-color: var(--scpi-secondary); }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.prose th { background: var(--scpi-primary); color: #fff; padding: .6rem 1rem; font-family: var(--font-sub); }
.prose td { padding: .55rem 1rem; border-bottom: 1px solid var(--scpi-border); }
.prose tr:nth-child(even) td { background: var(--scpi-bg-light); }

/* ── 4. BUTTONS ──────────────────────────────────────────── */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--tr);
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--scpi-secondary);
  color: var(--scpi-primary-dark);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--scpi-secondary-light);
  color: var(--scpi-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,151,43,.45);
}
.btn-secondary {
  background: transparent;
  border-color: var(--scpi-primary);
  color: var(--scpi-primary);
}
.btn-secondary:hover {
  background: var(--scpi-primary);
  color: #fff;
}
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--scpi-primary);
  padding: .5rem 1.1rem;
  border: 1.5px solid var(--scpi-primary);
  border-radius: var(--radius-sm);
  transition: all var(--tr);
}
.btn-read-more svg { width: 16px; height: 16px; transition: transform var(--tr); }
.btn-read-more:hover {
  background: var(--scpi-primary);
  color: #fff;
}
.btn-read-more:hover svg { transform: translateX(3px); }
.btn-read-more svg path { fill: currentColor; }

/* ── 5. TOP BAR ──────────────────────────────────────────── */
.scpi-top-bar {
  background: var(--scpi-primary-dark);
  color: rgba(255,255,255,.82);
  font-size: .8rem;
  font-family: var(--font-sub);
  letter-spacing: .03em;
  padding: .45rem 0;
  position: relative;
  z-index: 200;
}
.scpi-top-bar .scpi-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.top-bar-left { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.top-bar-right { display: flex; align-items: center; gap: .75rem; }
.top-bar-item { display: flex; align-items: center; gap: .35rem; }
.top-bar-item .icon { width: 13px; height: 13px; opacity: .7; flex-shrink: 0; }
.top-bar-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--scpi-secondary-light);
  font-weight: 700;
  font-size: .88rem;
  transition: color var(--tr);
}
.top-bar-phone:hover { color: #fff; }
.top-bar-phone .icon { width: 14px; height: 14px; }
.top-bar-divider { color: rgba(255,255,255,.25); }
.top-bar-available { font-size: .78rem; opacity: .7; }

/* ── 6. MAIN HEADER ──────────────────────────────────────── */
.scpi-header {
  background: var(--scpi-white);
  position: sticky;
  top: 0;
  z-index: 150;
  box-shadow: 0 2px 16px rgba(27,58,107,.12);
  border-bottom: 3px solid var(--scpi-secondary);
}
.scpi-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: .75rem;
}

/* Logo */
.scpi-logo a,
.scpi-logo .logo-text-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}
.scpi-logo img { max-height: 72px; width: auto; }
.logo-line-1 {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 800;
  color: var(--scpi-primary);
  line-height: 1.1;
}
.logo-line-2 {
  font-family: var(--font-sub);
  font-size: .72rem;
  font-weight: 600;
  color: var(--scpi-secondary);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Primary Nav */
.scpi-nav { flex: 1; }
.scpi-menu {
  list-style: none;
  display: flex;
  gap: .15rem;
  align-items: center;
  flex-wrap: wrap;
}
.scpi-menu > li { position: relative; }
.scpi-menu > li > a {
  display: block;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--scpi-text);
  padding: .55rem .75rem;
  border-radius: var(--radius-sm);
  transition: all var(--tr);
  white-space: nowrap;
}
.scpi-menu > li > a:hover,
.scpi-menu > li.current-menu-item > a,
.scpi-menu > li.current_page_item > a {
  color: var(--scpi-primary);
  background: rgba(27,58,107,.07);
}

/* Dropdown */
.scpi-menu .sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: var(--scpi-white);
  box-shadow: var(--shadow-raise);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--scpi-secondary);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--tr);
  z-index: 999;
}
.scpi-menu > li:hover > .sub-menu,
.scpi-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scpi-menu .sub-menu li a {
  display: block;
  padding: .6rem 1.1rem;
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--scpi-text);
  border-bottom: 1px solid var(--scpi-border);
  transition: all var(--tr);
}
.scpi-menu .sub-menu li:last-child a { border-bottom: none; }
.scpi-menu .sub-menu li a:hover { color: var(--scpi-primary); background: var(--scpi-bg-light); padding-left: 1.4rem; }

/* Header Action Buttons */
.scpi-header-actions {
  display: flex;
  gap: .6rem;
  align-items: center;
  flex-shrink: 0;
}
.hdr-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: .83rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .55rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--tr);
  white-space: nowrap;
  text-decoration: none;
}
.hdr-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.hdr-btn svg path { fill: currentColor; }
.hdr-btn-phone {
  background: var(--scpi-accent);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.hdr-btn-phone:hover { background: var(--scpi-accent-dark); color: #fff; transform: translateY(-1px); }
.hdr-btn-consult {
  background: var(--scpi-secondary);
  color: var(--scpi-primary-dark);
  box-shadow: var(--shadow-cta);
}
.hdr-btn-consult:hover { background: var(--scpi-secondary-light); color: var(--scpi-primary-dark); transform: translateY(-1px); }

/* Mobile toggle */
.scpi-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
  flex-shrink: 0;
}
.scpi-mobile-toggle .bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--scpi-primary);
  border-radius: 2px;
  transition: all var(--tr);
}
.scpi-mobile-toggle.is-open .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.scpi-mobile-toggle.is-open .bar:nth-child(2) { opacity: 0; }
.scpi-mobile-toggle.is-open .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: min(340px, 92vw);
  height: 100%;
  background: var(--scpi-white);
  box-shadow: 4px 0 40px rgba(27,58,107,.22);
  border-right: 3px solid var(--scpi-secondary);
  z-index: 300;
  transform: translateX(-110%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.is-open {
  transform: translateX(0);
}
.drawer-inner {
  padding: 1.25rem;
  padding-top: 1rem;
}

/* Drawer close button */
.drawer-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--scpi-bg-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--scpi-primary);
  margin-left: auto;
  margin-bottom: 1rem;
  flex-shrink: 0;
  transition: background var(--tr);
}
.drawer-close-btn:hover { background: var(--scpi-border); }
.drawer-close-btn svg { width: 20px; height: 20px; }

.drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 299; backdrop-filter: blur(2px); }
.drawer-overlay.is-visible { display: block; }

/* Mobile menu list (inside drawer) */
.mobile-menu-list { list-style: none; padding: 0; margin: 0; }
.mobile-menu-list li a {
  display: block;
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--scpi-text);
  border-bottom: 1px solid var(--scpi-border);
  transition: all var(--tr);
  padding: .75rem 1rem;
}
.mobile-menu-list li a:hover { color: var(--scpi-primary); padding-left: 1.4rem; }
.mobile-menu-list .sub-menu { list-style: none; padding-left: 1rem; }
.mobile-menu-list .sub-menu li a { font-size: .88rem; font-weight: 400; }
.drawer-ctas { display: flex; gap: .75rem; margin-top: 1.25rem; flex-wrap: wrap; }
.drawer-phone-btn, .drawer-consult-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex: 1;
  justify-content: center;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  min-width: 140px;
}
.drawer-phone-btn svg, .drawer-consult-btn svg { width: 16px; height: 16px; }
.drawer-phone-btn svg path, .drawer-consult-btn svg path { fill: currentColor; }
.drawer-phone-btn { background: var(--scpi-accent); color: #fff; }
.drawer-consult-btn { background: var(--scpi-secondary); color: var(--scpi-primary-dark); }

/* ── 7. HERO SECTION ─────────────────────────────────────── */
.scpi-hero {
  position: relative;
  min-height: clamp(340px, 40vw, 520px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--scpi-primary-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #0D1F3C 0%,
    #1B3A6B 45%,
    #0a3060 100%
  );
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(200,151,43,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(27,58,107,.3) 0%, transparent 40%);
  /* Subtle geometric pattern */
  background-image:
    radial-gradient(circle at 20% 50%, rgba(200,151,43,.12) 0%, transparent 50%),
    linear-gradient(60deg, rgba(255,255,255,.02) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.02) 75%);
  background-size: 100% 100%, 40px 40px;
}

.scpi-hero .scpi-container {
  position: relative;
  z-index: 10;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  flex: 1;
}

.hero-content {
  max-width: 800px;
}

/* Breadcrumb in hero */
.hero-breadcrumb { margin-bottom: 1rem; }
.hero-breadcrumb .scpi-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  list-style: none;
  padding: 0;
}
.hero-breadcrumb .scpi-breadcrumb ol li {
  font-family: var(--font-sub);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.hero-breadcrumb .scpi-breadcrumb ol li a { color: rgba(255,255,255,.75); }
.hero-breadcrumb .scpi-breadcrumb ol li a:hover { color: var(--scpi-secondary-light); }
.hero-breadcrumb .scpi-breadcrumb ol .sep { color: rgba(255,255,255,.3); margin-inline: .25rem; }
.hero-breadcrumb nav a { color: rgba(255,255,255,.75); font-family: var(--font-sub); font-size: .78rem; letter-spacing:.06em; text-transform:uppercase; }
.hero-breadcrumb nav { color: rgba(255,255,255,.5); font-family: var(--font-sub); font-size: .78rem; letter-spacing:.06em; text-transform:uppercase; }

/* H1 in hero */
.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 3.25rem);
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  margin-bottom: .75rem;
}

.hero-subtitle {
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 1.25rem;
  font-weight: 400;
  max-width: 600px;
}

/* Gold accent line */
.hero-divider {
  width: 80px;
  height: 4px;
  background: var(--scpi-secondary);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* Hero CTA buttons */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  padding: .9rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sub);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--tr);
  min-width: 200px;
  position: relative;
  overflow: hidden;
}
.hero-btn svg { width: 20px; height: 20px; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); opacity: .8; }
.hero-btn svg path { fill: currentColor; }
.btn-label { font-size: .82rem; opacity: .9; }
.btn-phone { font-size: 1.2rem; font-weight: 800; letter-spacing: .02em; }
.btn-sub   { font-size: .75rem; font-weight: 400; opacity: .85; letter-spacing: .02em; }

.hero-btn--phone {
  background: var(--scpi-accent);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.hero-btn--phone:hover {
  background: var(--scpi-accent-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(192,57,43,.45);
}

.hero-btn--consult {
  background: var(--scpi-secondary);
  color: var(--scpi-primary-dark);
  box-shadow: var(--shadow-cta);
}
.hero-btn--consult:hover {
  background: var(--scpi-secondary-light);
  color: var(--scpi-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(200,151,43,.45);
}

/* Post meta in hero (single posts) */
.hero-post-meta { margin-top: 1rem; }
.hero-post-meta .post-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-post-meta .post-meta span { font-size: .82rem; color: rgba(255,255,255,.65); }
.hero-post-meta .post-meta a { color: rgba(255,255,255,.8); }
.hero-post-meta .post-meta a:hover { color: var(--scpi-secondary-light); }

/* Trust strip inside hero (front page) */
.hero-trust-strip {
  position: relative;
  z-index: 10;
  background: rgba(200,151,43,.15);
  border-top: 1px solid rgba(200,151,43,.25);
  backdrop-filter: blur(4px);
}
.hero-trust-items {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding: .85rem 0;
  flex-wrap: wrap;
}
.hti {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sub);
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hti svg { width: 16px; height: 16px; color: var(--scpi-secondary); }
.hti svg path { fill: currentColor; }

/* ── 8. SIDEBAR ──────────────────────────────────────────── */
.scpi-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 110px;
}

.sidebar-widget {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* ── Emergency CTA (Red) ─────────────────────────────────── */
.sidebar-widget--emergency {
  background: linear-gradient(135deg, var(--scpi-accent) 0%, var(--scpi-accent-dark) 100%);
  color: #fff;
  position: relative;
}
.sw-emergency-inner { padding: 1.75rem 1.5rem; position: relative; z-index: 1; }

.sw-pulse {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--scpi-secondary-light);
  box-shadow: 0 0 0 0 rgba(229,184,77,.5);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(229,184,77,.6); }
  70%  { box-shadow: 0 0 0 12px rgba(229,184,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,184,77,0); }
}

.sw-tagline {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: .5rem;
}
.sw-sub { font-size: .88rem; color: rgba(255,255,255,.82); margin-bottom: 1.25rem; }

.sw-phone-btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #fff;
  color: var(--scpi-accent-dark);
  border-radius: var(--radius-md);
  padding: .85rem 1.2rem;
  margin-bottom: 1rem;
  transition: all var(--tr);
  text-decoration: none;
  font-weight: 700;
}
.sw-phone-btn:hover { background: var(--scpi-secondary-light); color: var(--scpi-primary-dark); transform: translateY(-2px); }
.sw-phone-btn svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--scpi-accent); }
.sw-phone-btn:hover svg { color: var(--scpi-primary); }
.sw-phone-btn svg path { fill: currentColor; }
.sw-call-label { display: block; font-family: var(--font-sub); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.sw-phone-number { display: block; font-size: 1.3rem; font-weight: 800; font-family: var(--font-sub); letter-spacing: .02em; }

.sw-availability {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  font-family: var(--font-sub);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.sw-availability svg { width: 14px; height: 14px; opacity: .8; }
.sw-availability svg path { fill: currentColor; }

/* ── Consultation CTA (Navy) ─────────────────────────────── */
.sidebar-widget--consult {
  background: var(--scpi-primary-dark);
  padding: 1.75rem 1.5rem;
}
.sidebar-widget--consult .sw-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(200,151,43,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.sidebar-widget--consult .sw-icon-wrap svg { width: 24px; height: 24px; color: var(--scpi-secondary); }
.sidebar-widget--consult .sw-icon-wrap svg path { fill: currentColor; }
.sidebar-widget--consult .sw-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: .6rem;
}
.sidebar-widget--consult .sw-body {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.sw-checklist {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}
.sw-checklist li {
  font-size: .85rem;
  color: rgba(255,255,255,.82);
  padding: .3rem 0 .3rem 1.5rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sw-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--scpi-secondary);
  font-weight: 700;
}

.sw-consult-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--scpi-secondary);
  color: var(--scpi-primary-dark);
  padding: .85rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sub);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--tr);
  box-shadow: var(--shadow-cta);
}
.sw-consult-btn svg { width: 18px; height: 18px; transition: transform var(--tr); }
.sw-consult-btn svg path { fill: currentColor; }
.sw-consult-btn:hover {
  background: var(--scpi-secondary-light);
  color: var(--scpi-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200,151,43,.5);
}
.sw-consult-btn:hover svg { transform: translateX(3px); }

/* ── Trust Signals ───────────────────────────────────────── */
.sidebar-widget--trust {
  background: var(--scpi-white);
  padding: 1.5rem;
  border: 1px solid var(--scpi-border);
}
.sidebar-widget--trust .sw-title {
  font-family: var(--font-sub);
  font-size: 1rem;
  color: var(--scpi-primary);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--scpi-secondary);
  display: inline-block;
}
.trust-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.trust-list li { display: flex; align-items: flex-start; gap: .75rem; }
.tl-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tl-icon svg { width: 18px; height: 18px; }
.tl-icon svg path { fill: currentColor; }
.tl-icon--gold  { background: rgba(200,151,43,.12); color: var(--scpi-secondary); }
.tl-icon--navy  { background: rgba(27,58,107,.08);  color: var(--scpi-primary);   }
.tl-icon--green { background: rgba(39,174,96,.1);   color: var(--scpi-success);   }
.tl-text { display: flex; flex-direction: column; gap: 2px; }
.tl-text strong { font-family: var(--font-sub); font-size: .88rem; font-weight: 700; color: var(--scpi-primary-dark); }
.tl-text span   { font-size: .78rem; color: var(--scpi-text-light); }

/* ── Reviews Widget ──────────────────────────────────────── */
.sidebar-widget--reviews {
  background: linear-gradient(135deg, #fff 0%, var(--scpi-bg-light) 100%);
  padding: 1.5rem;
  border: 1px solid var(--scpi-border);
}
.review-header { margin-bottom: .85rem; }
.review-stars { display: flex; gap: 2px; margin-bottom: .25rem; }
.review-stars svg { width: 18px; height: 18px; color: #F6A623; }
.review-stars svg path { fill: currentColor; }
.review-score { font-family: var(--font-sub); font-size: .82rem; font-weight: 700; color: var(--scpi-text-mid); letter-spacing: .04em; }
.review-quote {
  border-left: 3px solid var(--scpi-secondary);
  padding-left: .9rem;
  margin-bottom: 1rem;
}
.review-quote p { font-size: .85rem; font-style: italic; color: var(--scpi-text-mid); line-height: 1.6; margin-bottom: .4rem; }
.review-quote cite { font-size: .78rem; color: var(--scpi-text-light); font-style: normal; font-weight: 600; }
.sw-review-cta {
  display: block;
  text-align: center;
  font-family: var(--font-sub);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--scpi-primary);
  padding: .55rem 1rem;
  border: 1.5px solid var(--scpi-primary);
  border-radius: var(--radius-sm);
  transition: all var(--tr);
}
.sw-review-cta:hover { background: var(--scpi-primary); color: #fff; }

/* ── Practice Areas Quick Links ──────────────────────────── */
.sidebar-widget--practice {
  background: var(--scpi-white);
  padding: 1.5rem;
  border: 1px solid var(--scpi-border);
}
.sidebar-widget--practice .sw-title {
  font-family: var(--font-sub);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--scpi-primary);
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--scpi-secondary);
  display: inline-block;
}
.sidebar-practice-list { list-style: none; padding: 0; }
.sidebar-practice-list li a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .5rem;
  font-size: .875rem;
  color: var(--scpi-text);
  border-bottom: 1px solid var(--scpi-border);
  transition: all var(--tr);
}
.sidebar-practice-list li:last-child a { border-bottom: none; }
.sidebar-practice-list li a svg { width: 14px; height: 14px; color: var(--scpi-secondary); flex-shrink: 0; transition: transform var(--tr); }
.sidebar-practice-list li a svg path { fill: currentColor; }
.sidebar-practice-list li a:hover { color: var(--scpi-primary); padding-left: .9rem; }
.sidebar-practice-list li a:hover svg { transform: translateX(3px); }

/* ── WP Widgets area ─────────────────────────────────────── */
.sidebar-widget--wp-widgets { padding: 0; box-shadow: none; background: none; }
.sidebar-widget--wp-widgets .widget {
  background: var(--scpi-white);
  border: 1px solid var(--scpi-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-card);
}
.sidebar-widget--wp-widgets .widget-title {
  font-family: var(--font-sub);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--scpi-primary);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--scpi-secondary);
}

/* ── 9. BLOG CARDS ───────────────────────────────────────── */
.blog-card {
  background: var(--scpi-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
  border: 1px solid var(--scpi-border);
  transition: box-shadow var(--tr), transform var(--tr);
}
.blog-card:hover { box-shadow: var(--shadow-raise); transform: translateY(-3px); }
.blog-card-thumb { overflow: hidden; aspect-ratio: 16/9; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }
.blog-card-thumb a { display: block; height: 100%; }
.blog-card-body { padding: 1.5rem; }
.blog-card-title { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: .75rem; }
.blog-card-title a { color: var(--scpi-primary-dark); }
.blog-card-title a:hover { color: var(--scpi-secondary); }
.blog-card-excerpt { font-size: .9rem; color: var(--scpi-text-mid); margin-bottom: 1rem; line-height: 1.65; }

/* Post Meta */
.post-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.post-meta span, .post-meta a {
  font-family: var(--font-sub);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--scpi-text-light);
}
.post-meta a:hover { color: var(--scpi-secondary); }

/* ── 10. SINGLE POST ─────────────────────────────────────── */
.single-post-article { background: var(--scpi-white); }

.post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}
.post-featured-image img { width: 100%; height: auto; display: block; }

.post-footer-meta { margin-top: 2rem; padding-top: 1.5rem; border-top: 2px solid var(--scpi-border); }
.post-tags { font-size: .85rem; color: var(--scpi-text-light); margin-bottom: 1rem; }
.post-tags a { color: var(--scpi-primary); }

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.post-navigation a {
  font-family: var(--font-sub);
  font-size: .88rem;
  font-weight: 700;
  color: var(--scpi-primary);
  letter-spacing: .03em;
}
.post-navigation a:hover { color: var(--scpi-secondary); }

/* Author box */
.author-box {
  display: flex;
  gap: 1.25rem;
  background: var(--scpi-bg-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 2rem;
  align-items: flex-start;
  border: 1px solid var(--scpi-border);
}
.author-avatar img { border-radius: 50%; width: 80px; height: 80px; object-fit: cover; flex-shrink: 0; }
.author-name { font-size: 1rem; margin-bottom: .4rem; font-family: var(--font-sub); }
.author-name a { color: var(--scpi-primary); }
.author-bio { font-size: .88rem; color: var(--scpi-text-mid); line-height: 1.6; margin: 0; }

/* In-content CTA */
.in-content-cta {
  margin-top: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-raise);
}
.icc-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--scpi-primary-dark) 0%, var(--scpi-primary) 100%);
  flex-wrap: wrap;
}
.icc-text { flex: 1; min-width: 220px; }
.icc-text h3 { color: #fff; font-size: 1.2rem; margin-bottom: .5rem; }
.icc-text p  { color: rgba(255,255,255,.78); font-size: .9rem; margin: 0; }
.icc-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.icc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--tr);
  white-space: nowrap;
}
.icc-btn--phone  { background: var(--scpi-accent); color: #fff; }
.icc-btn--phone:hover { background: var(--scpi-accent-dark); color: #fff; transform: translateY(-2px); }
.icc-btn--consult { background: var(--scpi-secondary); color: var(--scpi-primary-dark); }
.icc-btn--consult:hover { background: var(--scpi-secondary-light); color: var(--scpi-primary-dark); transform: translateY(-2px); }

/* ── 11. LOCATION PAGE ELEMENTS ──────────────────────────── */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--scpi-bg-light);
  border: 1px solid var(--scpi-border);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-family: var(--font-sub);
  font-size: .82rem;
  font-weight: 600;
  color: var(--scpi-primary);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.location-badge svg { width: 14px; height: 14px; color: var(--scpi-secondary); }
.location-badge svg path { fill: currentColor; }

.location-content { margin-bottom: 2.5rem; }

/* Mid-content CTA */
.location-mid-cta {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-raise);
  margin-block: 2.5rem;
}
.lmc-inner {
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--scpi-primary-dark) 0%, var(--scpi-primary-mid) 100%);
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.lmc-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(200,151,43,.08);
  pointer-events: none;
}
.lmc-text { flex: 1; min-width: 220px; position: relative; z-index: 1; }
.lmc-text h2 { color: #fff; font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: .6rem; }
.lmc-text p  { color: rgba(255,255,255,.78); font-size: .9rem; margin: 0; }
.lmc-actions { display: flex; gap: .75rem; flex-wrap: wrap; position: relative; z-index: 1; }
.lmc-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sub);
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--tr);
  white-space: nowrap;
}
.lmc-btn svg { width: 18px; height: 18px; }
.lmc-btn svg path { fill: currentColor; }
.lmc-btn--phone { background: var(--scpi-accent); color: #fff; box-shadow: var(--shadow-red); }
.lmc-btn--phone:hover { background: var(--scpi-accent-dark); color: #fff; transform: translateY(-2px); }
.lmc-btn--consult { background: var(--scpi-secondary); color: var(--scpi-primary-dark); box-shadow: var(--shadow-cta); }
.lmc-btn--consult:hover { background: var(--scpi-secondary-light); color: var(--scpi-primary-dark); transform: translateY(-2px); }

/* Stats row */
.location-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--scpi-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 2rem;
}
.ls-stat {
  background: var(--scpi-white);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}
.ls-num {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--scpi-primary);
  line-height: 1;
}
.ls-label {
  font-family: var(--font-sub);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--scpi-text-light);
}

/* ── 12. FOOTER ──────────────────────────────────────────── */
/* Footer Pre-CTA Strip */
.scpi-footer-cta-strip {
  background: linear-gradient(135deg, var(--scpi-primary) 0%, var(--scpi-primary-dark) 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.scpi-footer-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(60deg, rgba(200,151,43,.08) 0%, transparent 60%);
  pointer-events: none;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.footer-cta-text { flex: 1; min-width: 250px; }
.footer-cta-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: .5rem;
}
.footer-cta-text p { color: rgba(255,255,255,.78); margin: 0; font-size: .95rem; }
.footer-cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sub);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--tr);
  white-space: nowrap;
}
.footer-cta-btn svg { width: 20px; height: 20px; }
.footer-cta-btn svg path { fill: currentColor; }
.footer-cta-btn--phone { background: var(--scpi-accent); color: #fff; box-shadow: var(--shadow-red); }
.footer-cta-btn--phone:hover { background: var(--scpi-accent-dark); color: #fff; transform: translateY(-3px); }
.footer-cta-btn--consult { background: var(--scpi-secondary); color: var(--scpi-primary-dark); box-shadow: var(--shadow-cta); }
.footer-cta-btn--consult:hover { background: var(--scpi-secondary-light); color: var(--scpi-primary-dark); transform: translateY(-3px); }

/* Main Footer */
.scpi-footer { background: #080F1E; color: rgba(255,255,255,.7); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 2.5rem;
}

.footer-col-title {
  font-family: var(--font-sub);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--scpi-secondary);
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(200,151,43,.2);
}

.footer-logo img { max-height: 64px; width: auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-logo-text .footer-firm-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 1rem;
}

.footer-about { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 1.25rem; }
.footer-contact-block { display: flex; flex-direction: column; gap: .6rem; }
.footer-contact-phone {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sub);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--scpi-secondary-light);
  text-decoration: none;
  transition: color var(--tr);
}
.footer-contact-phone svg { width: 18px; height: 18px; }
.footer-contact-phone svg path { fill: currentColor; }
.footer-contact-phone:hover { color: #fff; }
.footer-address { font-size: .85rem; color: rgba(255,255,255,.55); display: flex; align-items: flex-start; gap: .4rem; margin: 0; }
.footer-address svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }
.footer-address svg path { fill: currentColor; }

.footer-menu { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.footer-menu li a {
  font-size: .87rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  padding: .25rem 0;
  display: flex;
  align-items: center;
  gap: .35rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: all var(--tr);
}
.footer-menu li a::before {
  content: '›';
  color: var(--scpi-secondary);
  font-size: 1rem;
  line-height: 1;
}
.footer-menu li a:hover { color: var(--scpi-secondary-light); padding-left: .4rem; }

/* Footer trust badges */
.footer-trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1.5rem;
}
.trust-badge {
  background: rgba(255,255,255,.03);
  padding: .75rem .5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
}
.tb-number { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: var(--scpi-secondary); }
.tb-label  { font-family: var(--font-sub); font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.4); }

/* Footer Bottom */
.footer-bottom {
  background: rgba(0,0,0,.3);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom-inner { padding: 1.5rem 0; }
.footer-disclaimer {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-copyright { font-size: .8rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-copyright a { color: rgba(255,255,255,.55); }
.footer-copyright a:hover { color: var(--scpi-secondary-light); }
.footer-legal-menu { list-style: none; display: flex; gap: 1.25rem; }
.footer-legal-menu li a { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-legal-menu li a:hover { color: var(--scpi-secondary-light); }

/* ── 13. MOBILE STICKY BAR ───────────────────────────────── */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--scpi-primary-dark);
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  border-top: 2px solid var(--scpi-secondary);
}
.sticky-bar-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  padding: .75rem 1rem;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--tr);
}
.sticky-bar-btn svg { width: 22px; height: 22px; }
.sticky-bar-btn svg path { fill: currentColor; }
.sticky-bar-btn--call { background: var(--scpi-accent); color: #fff; }
.sticky-bar-btn--call:hover { background: var(--scpi-accent-dark); color: #fff; }
.sticky-bar-btn--consult { background: var(--scpi-secondary); color: var(--scpi-primary-dark); }
.sticky-bar-btn--consult:hover { background: var(--scpi-secondary-light); color: var(--scpi-primary-dark); }

/* ── 14. PAGINATION ──────────────────────────────────────── */
.scpi-pagination {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
}
.scpi-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}
.scpi-pagination a,
.scpi-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sub);
  font-size: .88rem;
  font-weight: 700;
  color: var(--scpi-primary);
  border: 1.5px solid var(--scpi-border);
  transition: all var(--tr);
  text-decoration: none;
}
.scpi-pagination a:hover { background: var(--scpi-primary); color: #fff; border-color: var(--scpi-primary); }
.scpi-pagination .current { background: var(--scpi-primary); color: #fff; border-color: var(--scpi-primary); }
.scpi-pagination .prev, .scpi-pagination .next { width: auto; padding-inline: 1rem; }

/* ── 15. COMMENTS ────────────────────────────────────────── */
.comments-area { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--scpi-border); }
.comments-title { font-size: 1.3rem; margin-bottom: 1.5rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 1.25rem; background: var(--scpi-bg-light); border-radius: var(--radius-md); margin-bottom: 1rem; }
.comment-list .comment-meta a { font-size: .82rem; color: var(--scpi-text-light); }
.comment-content { font-size: .92rem; margin-top: .5rem; }
.comment-form label { display: block; font-family: var(--font-sub); font-size: .85rem; font-weight: 700; margin-bottom: .4rem; color: var(--scpi-primary-dark); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: .65rem 1rem;
  border: 1.5px solid var(--scpi-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: border-color var(--tr);
  margin-bottom: 1rem;
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none;
  border-color: var(--scpi-primary);
}
.comment-form input[type="submit"] {
  background: var(--scpi-primary);
  color: #fff;
  border: none;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--tr);
}
.comment-form input[type="submit"]:hover { background: var(--scpi-secondary); color: var(--scpi-primary-dark); }

/* ── 16. 404 & SEARCH ────────────────────────────────────── */
.error-404-content { text-align: center; padding: 5rem 0; max-width: 600px; margin: 0 auto; }
.e404-icon { font-family: var(--font-heading); font-size: clamp(4rem, 12vw, 9rem); font-weight: 900; color: var(--scpi-border); line-height: 1; margin-bottom: 1.5rem; }
.error-404-content h2 { margin-bottom: 1rem; }
.error-404-content p { color: var(--scpi-text-mid); margin-bottom: 2rem; }
.e404-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

.search-form { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.search-form input[type="search"] {
  flex: 1;
  padding: .65rem 1rem;
  border: 1.5px solid var(--scpi-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--scpi-primary); }
.search-form button, .search-submit {
  background: var(--scpi-primary);
  color: #fff;
  border: none;
  padding: .65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sub);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tr);
}
.search-form button:hover { background: var(--scpi-secondary); color: var(--scpi-primary-dark); }

/* ── 17. SKIP LINK ───────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--scpi-primary);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--font-sub);
  font-size: .85rem;
  z-index: 9999;
  transition: top var(--tr);
}
.skip-link:focus { top: 0; color: #fff; }

/* ── 18. ELEMENTOR COMPAT ────────────────────────────────── */
.elementor-page .entry-header,
.elementor-page h1.entry-title { display: block !important; }
.scpi-full-width-page .scpi-container { max-width: var(--container-max); }
.scpi-elementor-page .scpi-container { max-width: 100%; padding: 0; }

/* ── 19. UTILITY CLASSES ─────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.no-results, .no-posts { padding: 2.5rem; text-align: center; background: var(--scpi-bg-light); border-radius: var(--radius-lg); }

/* ── 20. RESPONSIVE ──────────────────────────────────────── */

/* 1024px – collapse sidebar */
@media (max-width: 1024px) {
  .scpi-with-sidebar {
    grid-template-columns: 1fr;
  }
  .scpi-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .sidebar-widget--emergency { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-col--brand { grid-column: 1 / -1; }
}

/* 768px – tablet/mobile */
@media (max-width: 768px) {
  :root { --container-pad: 1rem; }

  /* Header */
  .scpi-nav { display: none; }
  .scpi-header-actions { display: none; }
  .scpi-mobile-toggle { display: flex; }
  .mobile-drawer { display: block; }
  .mobile-sticky-bar { display: flex; }

  /* Top bar */
  .top-bar-left { display: none; }
  .scpi-top-bar .scpi-container { justify-content: center; }

  /* Hero */
  .scpi-hero { min-height: clamp(300px, 55vw, 420px); }
  .hero-ctas { gap: .75rem; }
  .hero-btn { min-width: 160px; padding: .8rem 1.25rem; }
  .hero-trust-items { gap: 1rem; }
  .hti { font-size: .75rem; }

  /* Sidebar full width on mobile */
  .scpi-sidebar { display: flex; flex-direction: column; gap: 1rem; }

  /* Location stats */
  .location-stats { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col--brand { order: -1; }
  .scpi-footer-cta-strip { padding: 2.5rem 0; }
  .footer-cta-inner { flex-direction: column; text-align: center; }
  .footer-cta-actions { justify-content: center; }

  /* Author box */
  .author-box { flex-direction: column; }

  /* ICC */
  .icc-inner { flex-direction: column; }

  /* LMC */
  .lmc-inner { flex-direction: column; }

  /* Footer bottom */
  .footer-bottom-row { flex-direction: column; text-align: center; }
  .footer-legal-menu { justify-content: center; flex-wrap: wrap; }

  /* Sticky bar spacing */
  body { padding-bottom: 70px; }
}

/* 480px – small phones */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; width: 100%; gap: .5rem; }
  .hero-btn { border-radius: 50px; padding: .65rem 1rem; }
  .location-stats { grid-template-columns: 1fr 1fr; }
  .footer-trust-badges { grid-template-columns: 1fr; }
  .icc-actions, .lmc-actions { flex-direction: column; }
  .icc-btn, .lmc-btn { justify-content: center; }
  .footer-cta-btn { width: 100%; justify-content: center; }
  .footer-cta-actions { width: 100%; flex-direction: column; }
  .e404-ctas { flex-direction: column; }
  .e404-ctas a { justify-content: center; }
  .drawer-ctas { flex-direction: column; }
  .hero-trust-items { justify-content: flex-start; }
}

/* Print */
@media print {
  .scpi-header, .scpi-top-bar, .scpi-sidebar, .mobile-sticky-bar,
  .scpi-footer-cta-strip, .scpi-footer, .in-content-cta,
  .location-mid-cta { display: none !important; }
  .scpi-with-sidebar { display: block; }
  .scpi-primary-content { max-width: 100%; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; }
  .hero-title { color: #000; }
}

/* ── 21. BLOCK EDITOR COMPAT ─────────────────────────────── */
.wp-block-image { margin-bottom: 1.5rem; }
.wp-block-image img { border-radius: var(--radius-md); }
.wp-block-quote {
  border-left: 4px solid var(--scpi-secondary) !important;
  background: var(--scpi-bg-light);
  padding: 1rem 1.5rem !important;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.wp-block-button__link {
  background: var(--scpi-primary) !important;
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-sub) !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}
.wp-block-separator { border-color: var(--scpi-secondary) !important; }
.has-primary-color    { color: var(--scpi-primary)   !important; }
.has-secondary-color  { color: var(--scpi-secondary) !important; }
.has-accent-color     { color: var(--scpi-accent)    !important; }
.has-primary-background-color   { background: var(--scpi-primary)   !important; }
.has-secondary-background-color { background: var(--scpi-secondary) !important; }

/* ═══════════════════════════════════════════════════════════
   22. SIDEBAR – MOBILE IMPROVEMENTS
   ─ Collapsible on mobile, full-width accordion, clean display
═══════════════════════════════════════════════════════════ */

/* ── Mobile sidebar toggle button (injected by JS) ── */
.sidebar-mobile-toggle {
  display: none;
  width: 100%;
  background: var(--scpi-primary);
  color: #fff;
  border: none;
  padding: 0.9rem 1.25rem;
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}
.sidebar-mobile-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.sidebar-mobile-toggle.is-open svg { transform: rotate(180deg); }

/* Sidebar wrapper when collapsed on mobile */
.scpi-sidebar-inner {
  display: contents; /* no effect on desktop */
}

@media (max-width: 1024px) {
  /* Sidebar becomes a horizontal 2-col grid below main content */
  .scpi-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
  }
  /* Emergency CTA spans full width */
  .scpi-sidebar .sidebar-widget--emergency { grid-column: 1 / -1; }
  /* Consultation + trust side by side */
  .scpi-sidebar .sidebar-widget--consult  { grid-column: 1; }
  .scpi-sidebar .sidebar-widget--trust    { grid-column: 2; }
  /* Reviews + practice areas side by side */
  .scpi-sidebar .sidebar-widget--reviews  { grid-column: 1; }
  .scpi-sidebar .sidebar-widget--practice { grid-column: 2; }
  /* WP widgets full width */
  .scpi-sidebar .sidebar-widget--wp-widgets { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  /* Show toggle button */
  .sidebar-mobile-toggle { display: flex; }

  /* Sidebar inner collapses */
  .scpi-sidebar-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
  }
  .scpi-sidebar-inner.is-open {
    max-height: 3000px;
    opacity: 1;
  }

  /* Full-width stack on mobile */
  .scpi-sidebar {
    display: block;
    margin-top: 1.5rem;
  }
  .scpi-sidebar .sidebar-widget {
    margin-bottom: 0.75rem;
    border-radius: var(--radius-sm);
  }

  /* Emergency widget: compact on mobile */
  .sidebar-widget--emergency .sw-emergency-inner {
    padding: 1.25rem;
  }
  .sw-tagline { font-size: 1.15rem; }
  .sw-phone-btn { font-size: 1rem; padding: 0.9rem 1.25rem; }

  /* Consultation widget */
  .sidebar-widget--consult { padding: 1.25rem; }

  /* Trust list: 2 cols on mobile */
  .trust-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .trust-list li { border-bottom: none; padding: 0.5rem; background: var(--scpi-bg-light); border-radius: var(--radius-sm); }

  /* Reviews: compact */
  .sidebar-widget--reviews { padding: 1.25rem; }
  .review-quote { font-size: 0.85rem; }

  /* Practice list: 2-col grid on mobile */
  .sidebar-practice-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .sidebar-practice-list li a {
    font-size: 0.82rem;
    padding: 0.55rem 0.5rem 0.55rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }
  .sidebar-practice-list li a svg { width: 14px; height: 14px; min-width: 14px; }
}

@media (max-width: 480px) {
  /* Single column everything on small phones */
  .trust-list { grid-template-columns: 1fr; }
  .sidebar-practice-list { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   23. WP NAV MENU – SIDEBAR PRACTICE AREAS
   ─ Ensures wp_nav_menu output matches custom sidebar style
═══════════════════════════════════════════════════════════ */
.sidebar-widget--practice .sidebar-practice-list,
.sidebar-widget--practice ul.sidebar-practice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-widget--practice .sidebar-practice-list li,
.sidebar-widget--practice ul.sidebar-practice-list > li {
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.sidebar-widget--practice .sidebar-practice-list li a,
.sidebar-widget--practice ul.sidebar-practice-list > li > a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0;
  color: var(--scpi-dark);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.sidebar-widget--practice .sidebar-practice-list li a:hover,
.sidebar-widget--practice ul.sidebar-practice-list > li > a:hover {
  color: var(--scpi-primary);
  padding-left: 4px;
}
.sidebar-widget--practice .sidebar-practice-list li a svg,
.sidebar-widget--practice ul.sidebar-practice-list > li > a svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: var(--scpi-secondary);
}
/* Hide WP-generated sub-menu arrows and nested menus in sidebar */
.sidebar-widget--practice .sub-menu { display: none; }
.sidebar-widget--practice .menu-item-has-children > a::after { display: none; }

/* ═══════════════════════════════════════════════════════════
   24. FOOTER MENU – ENSURE WP_NAV_MENU OUTPUT MATCHES
═══════════════════════════════════════════════════════════ */
.footer-col .footer-menu,
ul.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col .footer-menu li,
ul.footer-menu > li { margin-bottom: 0.5rem; }

.footer-col .footer-menu li a,
ul.footer-menu > li > a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s, gap 0.2s;
}
.footer-col .footer-menu li a::before,
ul.footer-menu > li > a::before {
  content: '›';
  color: var(--scpi-secondary);
  font-size: 1.1em;
  line-height: 1;
}
.footer-col .footer-menu li a:hover,
ul.footer-menu > li > a:hover {
  color: #fff;
  gap: 0.65rem;
}
/* Hide WP sub-menus in footer */
.footer-menu .sub-menu { display: none; }

/* ═══════════════════════════════════════════════════════════
   25. SECURITY + HARDENING – VISUAL LAYER
   ─ Prevents clickjacking artifacts, ensures safe rendering
═══════════════════════════════════════════════════════════ */

/* Prevent image dragging (minor anti-scraping) */
img { -webkit-user-drag: none; user-drag: none; }

/* Force all external links to show intent */
a[target="_blank"]::after {
  content: ' ↗';
  font-size: 0.7em;
  opacity: 0.6;
  vertical-align: super;
}
/* But not for buttons or icon-only links */
.hero-btn[target="_blank"]::after,
.sw-phone-btn[target="_blank"]::after,
.sw-consult-btn[target="_blank"]::after,
.footer-cta-btn[target="_blank"]::after { content: ''; }

/* ═══════════════════════════════════════════════════════════
   26. RESPONSIVE FINE-TUNING (all screen widths)
═══════════════════════════════════════════════════════════ */

/* Extra-wide screens */
@media (min-width: 1400px) {
  :root { --container-max: 1360px; }
}

/* Medium tablets (portrait) */
@media (max-width: 900px) and (min-width: 769px) {
  .scpi-hero { min-height: 380px; }
  .hero-title { font-size: clamp(26px, 4.5vw, 40px); }
  .scpi-sidebar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Better 768px header handling */
@media (max-width: 768px) {
  .scpi-header-inner {
    padding: 0.75rem var(--container-pad);
  }
  .scpi-logo-img,
  .scpi-logo-text .firm-name {
    max-width: 200px;
  }

  /* Hero: prevent overflow */
  .scpi-hero { overflow: hidden; }
  .hero-ctas { flex-wrap: wrap; }
  .hero-btn { flex: 1 1 160px; text-align: center; justify-content: center; }

  /* Location template */
  .location-badge { font-size: 0.8rem; padding: 0.4rem 0.9rem; }
  .location-stats { gap: 0.75rem; }
  .ls-number { font-size: 2rem; }

  /* Single post: featured image full width */
  .post-featured-image { margin: 0 calc(-1 * var(--container-pad)); border-radius: 0; }

  /* Comments */
  .comment-form-cols { grid-template-columns: 1fr; }

  /* Search */
  .search-form-wrap { flex-direction: column; }
  .search-form-wrap input { border-radius: var(--radius-sm); }
  .search-form-wrap button { border-radius: var(--radius-sm); width: 100%; }

  /* Pagination */
  .scpi-pagination { gap: 0.25rem; }
  .scpi-pagination .page-numbers { min-width: 36px; height: 36px; font-size: 0.85rem; }
}

/* Small phones */
@media (max-width: 480px) {
  /* Header */
  .scpi-header-inner { padding: 0.6rem 0.75rem; }

  /* Top bar hidden entirely on very small screens */
  .scpi-top-bar { display: none; }

  /* Hero */
  .scpi-hero { min-height: 280px; padding: 2.5rem 0; }
  .hero-title { font-size: clamp(22px, 7vw, 30px); }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-btn { width: 100%; justify-content: center; min-width: unset; }

  /* Trust strip on hero */
  .hero-trust-strip { flex-wrap: wrap; gap: 0.5rem; }
  .hti { font-size: 0.72rem; }

  /* Cards */
  .blog-cards-grid { grid-template-columns: 1fr; }
  .blog-card { max-width: 100%; }

  /* Location stats: 1 column */
  .location-stats { grid-template-columns: 1fr 1fr; }

  /* Footer CTA */
  .footer-cta-inner h2 { font-size: 1.4rem; }

  /* Mobile sticky bar: full-width buttons */
  .msb-btn { flex: 1; justify-content: center; font-size: 0.8rem; padding: 0 0.5rem; }

  /* 404 */
  .e404-code { font-size: 5rem; }
}

/* Very small screens (320px) */
@media (max-width: 360px) {
  .hero-title { font-size: 20px; }
  .sw-phone-number { font-size: 1.1rem; }
  .msb-btn span { display: none; } /* Show icon only on tiny screens */
  .msb-btn svg { margin: 0; }
}

/* Landscape phone */
@media (max-width: 812px) and (orientation: landscape) and (max-height: 500px) {
  .scpi-hero { min-height: 220px; padding: 1.5rem 0; }
  .hero-title { font-size: 1.4rem; }
  .mobile-sticky-bar { display: none; } /* Avoid covering content in landscape */
  body { padding-bottom: 0; }
}

/* ═══════════════════════════════════════════════════════════
   27. HERO – MOBILE FIXES
═══════════════════════════════════════════════════════════ */

/* Prevent hero content from overflowing on narrow screens */
.scpi-hero .scpi-container { overflow-x: hidden; }
.hero-content { width: 100%; box-sizing: border-box; }

@media (max-width: 768px) {
  /* Tighter hero on phones */
  .scpi-hero {
    min-height: auto;
    padding: 2.5rem 0 2rem;
  }
  .scpi-hero .scpi-container { padding-block: 0; }

  /* Title: safe fluid size, never overflows */
  .hero-title {
    font-size: clamp(1.4rem, 6.5vw, 2rem);
    word-break: break-word;
    hyphens: auto;
    margin-bottom: .6rem;
  }
  .hero-subtitle {
    font-size: .92rem;
    max-width: 100%;
    margin-bottom: 1rem;
  }
  .hero-divider { margin-bottom: 1.25rem; width: 50px; }

  /* CTA buttons: compact horizontal pills on mobile */
  .hero-ctas {
    flex-direction: column;
    gap: .6rem;
    align-items: stretch;
  }
  /* Switch from stacked column layout to a single horizontal row */
  .hero-btn {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-width: unset;
    width: 100%;
    padding: .7rem 1.1rem .7rem 1.1rem;
    gap: .55rem;
    border-radius: 50px; /* pill shape - cleaner on mobile */
  }
  /* Icon: inline instead of absolute */
  .hero-btn svg {
    position: static;
    transform: none;
    top: auto;
    left: auto;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: .9;
  }
  /* Phone button: show label + number on one line */
  .hero-btn--phone .btn-label { display: none; } /* hide "Call Now" label */
  .btn-phone { font-size: 1rem; font-weight: 800; }
  /* Consult button: single line */
  .hero-btn--consult .btn-sub { display: none; } /* hide sub-text */
  .hero-btn--consult .btn-label { font-size: .88rem; font-weight: 700; opacity: 1; letter-spacing: .05em; }

  /* Trust strip: wrap, smaller text */
  .hero-trust-strip { padding: .6rem 0; }
  .hero-trust-items {
    flex-wrap: wrap;
    gap: .5rem .75rem;
    justify-content: center;
  }
  .hti { font-size: .72rem; gap: .3rem; }
  .hti svg { width: 14px; height: 14px; }

  /* Breadcrumb: truncate if too long */
  .hero-breadcrumb .scpi-breadcrumb ol {
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
  }
  .hero-breadcrumb .scpi-breadcrumb ol li:not(:last-child):not(.sep) {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  .scpi-hero { padding: 2rem 0 1.75rem; }
  .hero-title { font-size: clamp(1.25rem, 7vw, 1.6rem); }
  .hero-subtitle { font-size: .88rem; }
  .hero-breadcrumb { display: none; } /* Hide breadcrumb on tiny screens */
}

/* ═══════════════════════════════════════════════════════════
   28. HEADER – MOBILE FIXES
═══════════════════════════════════════════════════════════ */

/* Header must be relative so sticky + drawer z-index layering works */
.scpi-header { position: sticky; top: 0; z-index: 200; }

/* Lock body scroll when drawer is open */
body.drawer-open { overflow: hidden; }

@media (max-width: 768px) {
  /* Compact header row */
  .scpi-header-inner {
    padding: .6rem var(--container-pad);
    gap: .75rem;
    flex-wrap: nowrap;
  }

  /* Hide desktop nav and CTAs */
  .scpi-nav          { display: none !important; }
  .scpi-header-actions { display: none !important; }

  /* Show hamburger */
  .scpi-mobile-toggle {
    display: flex !important;
    margin-left: auto;
  }

  /* Logo: cap width so toggle doesn't get pushed off */
  .scpi-logo { flex: 1; min-width: 0; overflow: hidden; }
  .scpi-logo img { max-height: 52px; }
  .logo-line-1 { font-size: clamp(.85rem, 4vw, 1.1rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo-line-2 { font-size: .65rem; }

  /* Top bar: center single line on mobile */
  .scpi-top-bar .scpi-container { justify-content: center; }
  .top-bar-left { display: none; }
}

@media (max-width: 360px) {
  .logo-line-2 { display: none; } /* Remove tagline on tiny screens */
  .scpi-mobile-toggle { padding: .4rem; }
}
