/*
Theme Name: SEOGidi
Theme URI: https://seogidi.com
Author: SEOGidi Technologies
Version: 2.0.0
Requires PHP: 7.0
Requires at least: 5.8
Description: SEOGidi — Nigeria's #1 SEO Agency. Mobile-first, WooCommerce ready.
Text Domain: seogidi
*/

/* ─────────────────────────────────────────
   BRAND TOKENS
   Gold   #F5A623  — logo S
   Indigo #5B5EA6  — logo Gidi
   Red    #E8231A  — magnifying glass
───────────────────────────────────────── */
:root {
  --gold:     #F5A623;
  --gold-d:   #C8850F;
  --gold-l:   #FEF6E7;
  --ind:      #5B5EA6;
  --ind-d:    #3D4080;
  --ind-deep: #1E2057;
  --ind-l:    #EEEEF9;
  --red:      #E8231A;
  --red-l:    #FDECEA;
  --ink:      #0D0D14;
  --ink-2:    #2C2C3A;
  --ink-3:    #6B6B84;
  --ink-4:    #A0A0B8;
  --bg:       #FFFFFF;
  --bg-2:     #F7F7FB;
  --bg-3:     #EEEEF9;
  --border:   rgba(91,94,166,0.12);
  --shadow:   0 2px 12px rgba(13,13,20,0.06);
  --shadow-l: 0 16px 48px rgba(13,13,20,0.12);
  --r:        10px;
  --r-lg:     18px;
  --r-xl:     28px;
  --max-w:    1160px;
  --font:     'DM Sans', sans-serif;
  --font-d:   'Fraunces', serif;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ind); text-decoration: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font); font-weight: 700; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5rem; }
button, input, select, textarea { font-family: var(--font); }

/* ─── LAYOUT ─── */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
@media (max-width: 768px) { .section { padding: 52px 0; } }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

/* ─── GRID ─── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 600; line-height: 1;
  border: none; cursor: pointer; transition: all 0.2s;
  text-decoration: none; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn-gold  { background: var(--gold); color: var(--ink); }
.btn-gold:hover  { background: var(--gold-d); color: var(--ink); transform: translateY(-1px); }
.btn-ind   { background: var(--ind); color: #fff; }
.btn-ind:hover   { background: var(--ind-d); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ind); border: 1.5px solid var(--ind); }
.btn-outline:hover { background: var(--ind-l); }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1.5px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
@media (max-width: 480px) { .btn-lg { padding: 14px 24px; } }

/* ─── BADGE / LABEL ─── */
.label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.label-gold   { background: var(--gold-l); color: var(--gold-d); }
.label-ind    { background: var(--ind-l); color: var(--ind-d); }
.label-red    { background: var(--red-l); color: var(--red); }
.label-dark   { background: var(--ink); color: #fff; }

/* ─── EYEBROW ─── */
.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ind);
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; flex-shrink: 0; }
.eyebrow-center { justify-content: center; }
.eyebrow-center::before { display: none; }
.eyebrow-light { color: rgba(255,255,255,0.5); }
.eyebrow-light::before { background: rgba(255,255,255,0.3); }

/* ─── NAV ─── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; gap: 8px;
  height: 64px; max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; display: block; object-fit: contain; }
.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none; padding: 0; margin: 0 0 0 auto;
}
.nav-links a {
  display: block; padding: 7px 12px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500; color: var(--ink-2);
  transition: all 0.15s; white-space: nowrap;
}
.nav-links a:hover, .nav-links .current > a { color: var(--ind); background: var(--ind-l); }
.nav-cta { margin-left: 12px; flex-shrink: 0; }
.nav-cart {
  display: flex; align-items: center; gap: 4px;
  padding: 7px 12px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none; position: relative; transition: all 0.15s;
  white-space: nowrap;
}
.nav-cart:hover { color: var(--ind); background: var(--ind-l); }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--gold); color: var(--ink);
  width: 16px; height: 16px; border-radius: 50%;
  font-size: 0.6rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
/* ─── HERO ─── */
.hero {
  background: var(--ind-deep);
  position: relative; overflow: hidden;
  padding: 80px 0 72px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 20%, rgba(91,94,166,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(245,166,35,0.1) 0%, transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--ind) 50%, var(--red) 100%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 64px; align-items: center;
}
.hero-pulse {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.12); border: 1px solid rgba(245,166,35,0.25);
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; color: var(--gold);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px;
}
.hero-pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  color: rgba(255,255,255,0.58); font-size: 1.05rem;
  line-height: 1.7; margin-bottom: 32px; max-width: 500px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-n { display: block; font-size: 1.8rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-stat-n span { color: var(--gold); }
.hero-stat-l { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.38); margin-top: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.hero-img-wrap { position: relative; }
.hero-img {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}
.hero-img img { width: 100%; height: 380px; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--bg); border-radius: var(--r-lg);
  padding: 16px 20px; box-shadow: var(--shadow-l);
  border-top: 3px solid var(--gold); min-width: 190px;
}
.hero-badge-n { font-size: 1.8rem; font-weight: 700; color: var(--ind); line-height: 1; }
.hero-badge-l { font-size: 0.72rem; color: var(--ink-3); margin-top: 4px; }
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
  .hero h1 { font-size: clamp(1.8rem,6vw,2.6rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
  .hero { padding: 48px 0 56px; }
  .hero-stats { gap: 20px; }
  .hero-stat-n { font-size: 1.4rem; }
}

/* ─── STATS STRIP ─── */
.stats-strip { background: var(--ink); }
.stats-strip-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-cell {
  padding: 28px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative; overflow: hidden;
}
.stat-cell:last-child { border-right: none; }
.stat-cell::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; transform: scaleX(0); transition: transform 0.3s; transform-origin: left;
}
.stat-cell:nth-child(1)::after { background: var(--gold); }
.stat-cell:nth-child(2)::after { background: var(--ind); }
.stat-cell:nth-child(3)::after { background: var(--red); }
.stat-cell:nth-child(4)::after { background: var(--gold); }
.stat-cell:hover::after { transform: scaleX(1); }
.stat-n { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 700; display: block; margin-bottom: 4px; line-height: 1; }
.stat-cell:nth-child(1) .stat-n { color: var(--gold); }
.stat-cell:nth-child(2) .stat-n { color: #9da0d0; }
.stat-cell:nth-child(3) .stat-n { color: rgba(232,35,26,0.8); }
.stat-cell:nth-child(4) .stat-n { color: var(--gold); }
.stat-l { font-size: 0.68rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
@media (max-width: 600px) {
  .stats-strip-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(even) { border-right: none; }
  .stat-cell { border-bottom: 1px solid rgba(255,255,255,0.06); }
}

/* ─── SECTION HEADER ─── */
.sec-head { margin-bottom: 48px; }
.sec-head h2 { margin-top: 8px; margin-bottom: 12px; }
.sec-head p { color: var(--ink-3); max-width: 520px; font-size: 1.02rem; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head.center p { margin: 0 auto; }

/* ─── SERVICE CARDS ─── */
.services-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.service-card {
  background: var(--bg); padding: 32px 24px;
  transition: background 0.2s; position: relative;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; background: var(--gold); transition: height 0.3s;
}
.service-card:hover { background: var(--bg-2); }
.service-card:hover::before { height: 100%; }
.service-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ind-l); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; margin-bottom: 14px;
}
.service-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.service-card p { font-size: 0.83rem; color: var(--ink-3); margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } .service-card { padding: 24px 20px; } }

/* ─── PROCESS ─── */
.process-list { display: flex; flex-direction: column; gap: 0; }
.process-item { display: grid; grid-template-columns: 40px 1fr; gap: 0; position: relative; }
.process-item:not(:last-child)::after {
  content: ''; position: absolute; left: 19px; top: 40px; bottom: 0;
  width: 2px; background: var(--border);
}
.process-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ind); color: #fff; font-size: 0.82rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  position: relative; z-index: 1; margin-top: 2px;
}
.process-body { padding: 0 0 28px 14px; }
.process-body h3 { font-size: 0.92rem; margin-bottom: 5px; }
.process-body p { font-size: 0.82rem; color: var(--ink-3); margin: 0; line-height: 1.65; }

/* Process section — collapse two-col to single col on mobile */
@media (max-width: 768px) {
  .sg-two-col[style*="process-list"],
  #seo-process .sg-two-col,
  #seo-process [style*="grid-template-columns:1fr 1fr"],
  #seo-process [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* ─── PACKAGE CARDS ─── */
.pkg-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: start; }
.pkg-card {
  border-radius: var(--r-xl); padding: 32px 28px;
  border: 1.5px solid var(--border); position: relative;
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
  background: var(--bg);
}
.pkg-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.pkg-card.starter::before { background: linear-gradient(90deg, var(--gold), #FBCA60); }
.pkg-card.pro::before     { background: linear-gradient(90deg, var(--ind), var(--red)); }
.pkg-card.elite::before   { background: linear-gradient(90deg, var(--red), var(--ind)); }
.pkg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.pkg-card.pro { background: var(--ind-deep); border-color: transparent; }
.pkg-pill { position: absolute; top: 20px; right: 20px; background: var(--gold); color: var(--ink); font-size: 0.65rem; font-weight: 800; padding: 3px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.06em; }
.pkg-tier { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 6px; }
.pkg-card.pro .pkg-tier { color: rgba(255,255,255,0.4); }
.pkg-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.pkg-card.pro .pkg-name { color: #fff; }
.pkg-desc { font-size: 0.83rem; color: var(--ink-3); line-height: 1.6; margin-bottom: 0; }
.pkg-card.pro .pkg-desc { color: rgba(255,255,255,0.45); }
.pkg-price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0; }
.pkg-price-n { font-size: 2.4rem; font-weight: 700; color: var(--ind); line-height: 1; }
.pkg-card.pro .pkg-price-n { color: var(--gold); }
.pkg-price-mo { font-size: 0.82rem; color: var(--ink-3); }
.pkg-card.pro .pkg-price-mo { color: rgba(255,255,255,0.35); }
.pkg-feats { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin: 16px 0 24px; }
.pkg-feats li { display: flex; gap: 9px; font-size: 0.83rem; color: var(--ink-2); align-items: flex-start; }
.pkg-card.pro .pkg-feats li { color: rgba(255,255,255,0.75); }
.pkg-check { width: 16px; height: 16px; border-radius: 50%; background: var(--gold-l); color: var(--gold-d); display: flex; align-items: center; justify-content: center; font-size: 0.58rem; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.pkg-card.pro .pkg-check { background: rgba(245,166,35,0.2); color: var(--gold); }
.pkg-ngn { text-align: center; font-size: 0.72rem; color: var(--ink-3); margin-top: 8px; }
.pkg-card.pro .pkg-ngn { color: rgba(255,255,255,0.25); }
@media (max-width: 900px) { .pkg-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* ─── WHY CARDS ─── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-lg); padding: 28px 24px; }
.why-n { font-size: 2.5rem; font-weight: 700; color: rgba(255,255,255,0.06); margin-bottom: 10px; line-height: 1; }
.why-card h3 { font-size: 0.95rem; color: #fff; margin-bottom: 6px; }
.why-card p { font-size: 0.83rem; color: rgba(255,255,255,0.4); margin: 0; }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ─── TESTIMONIALS ─── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.testi-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 24px; transition: border-color 0.2s, box-shadow 0.2s; }
.testi-card:hover { border-color: var(--ind); box-shadow: var(--shadow-l); }
.testi-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 12px; }
.testi-text { font-size: 0.9rem; font-style: italic; line-height: 1.7; color: var(--ink-2); margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-av { width: 36px; height: 36px; border-radius: 50%; background: var(--ind); color: #fff; font-size: 0.78rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: 0.85rem; }
.testi-role { font-size: 0.74rem; color: var(--ink-3); }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testi-grid { grid-template-columns: 1fr; } }

/* ─── BLOG CARDS ─── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.blog-card { border-radius: var(--r-lg); overflow: hidden; border: 1.5px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); }
.blog-card a { text-decoration: none; display: block; }
.blog-img { height: 180px; overflow: hidden; background: var(--bg-3); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-body { padding: 20px; }
.blog-cat { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ind); margin-bottom: 8px; }
.blog-card h3 { font-size: 0.92rem; line-height: 1.45; margin-bottom: 8px; color: var(--ink); }
.blog-card p { font-size: 0.8rem; color: var(--ink-3); margin: 0; line-height: 1.55; }
.blog-meta { margin-top: 12px; font-size: 0.72rem; color: var(--ink-4); display: flex; gap: 12px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ─── CTA BAND ─── */
.cta-band { background: var(--ind-deep); padding: 72px 0; position: relative; overflow: hidden; text-align: center; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(245,166,35,0.08) 0%, transparent 60%); pointer-events: none; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 540px; margin: 0 auto 12px; }
.cta-band p { color: rgba(255,255,255,0.5); max-width: 440px; margin: 0 auto 28px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 480px) { .cta-btns { flex-direction: column; align-items: center; } .cta-btns .btn { width: 100%; justify-content: center; } .cta-band { padding: 52px 0; } }

/* ─── PAGE HERO ─── */
.page-hero { background: var(--ind-deep); padding: 64px 0; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--ind), var(--red)); }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 60% at 70% 50%, rgba(91,94,166,0.25) 0%, transparent 65%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-top: 12px; margin-bottom: 12px; }
.page-hero .lead { color: rgba(255,255,255,0.55); font-size: 1.02rem; max-width: 560px; }
@media (max-width: 600px) { .page-hero { padding: 48px 0; } }

/* ─── BREADCRUMB ─── */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.75rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.4); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }
.breadcrumb .current { color: rgba(255,255,255,0.7); }

/* ─── FORMS ─── */
.form-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-xl); padding: 36px 32px; border-top: 3px solid var(--ind); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 24px 18px; } }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--ink-2); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font-family: var(--font); font-size: 0.9rem; color: var(--ink);
  background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--ind); box-shadow: 0 0 0 3px var(--ind-l); }
.form-group textarea { min-height: 110px; resize: vertical; }

/* ─── FAQ ─── */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; cursor: pointer; text-align: left;
  font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  color: var(--ink); gap: 16px; transition: color 0.15s;
  min-height: 44px;
}
.faq-q:hover { color: var(--ind); }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--ink-3); flex-shrink: 0; transition: all 0.25s; }
.faq-item.open .faq-q { color: var(--ind); }
.faq-item.open .faq-icon { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 18px; font-size: 0.9rem; color: var(--ink-3); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }
@media (max-width: 480px) { .faq-q { font-size: 0.88rem; } }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--bg-2); border-radius: var(--r); margin-bottom: 12px; transition: background 0.15s; }
.contact-item:hover { background: var(--ind-l); }
.contact-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--ind); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.9rem; }
.contact-label { font-size: 0.72rem; font-weight: 600; color: var(--ink-3); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-val { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.contact-val a { color: var(--ink); }

/* ─── PROSE (legal pages) ─── */
.prose h2 { font-size: 1.1rem; color: var(--ind); margin: 36px 0 12px; padding-top: 8px; border-top: 1px solid var(--border); }
.prose h2:first-of-type { margin-top: 0; border-top: none; }
.prose p, .prose li { font-size: 0.92rem; color: var(--ink-2); line-height: 1.8; }
.prose ul, .prose ol { margin-bottom: 14px; }
.prose a { color: var(--ind); text-decoration: underline; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ─── FOOTER ─── */
.site-footer { background: var(--ink); padding: 64px 0 0; }
.footer-top { height: 2px; background: linear-gradient(90deg, var(--gold), var(--ind), var(--red)); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding: 56px 0 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-logo img { height: 34px; width: auto; object-fit: contain; margin-bottom: 14px; opacity: 0.85; }
.footer-desc { font-size: 0.82rem; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 260px; margin-bottom: 18px; }
.footer-contact-line { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: rgba(255,255,255,0.38); margin-bottom: 6px; }
.footer-contact-line a { color: rgba(255,255,255,0.38); }
.footer-contact-line a:hover { color: var(--gold); }
.footer-socials { display: flex; gap: 6px; margin-top: 16px; }
.footer-social { width: 32px; height: 32px; border-radius: 7px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 800; color: rgba(255,255,255,0.38); transition: all 0.2s; text-decoration: none; }
.footer-social:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.footer-col h4 { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.38); transition: color 0.15s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.74rem; color: rgba(255,255,255,0.28); }
@media (max-width: 480px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }
/* Payments strip */
.footer-payments { border-top: 1px solid rgba(255,255,255,0.06); padding: 14px 0; }
.footer-payments-inner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pay-badge { font-size: 0.65rem; font-weight: 800; padding: 3px 8px; border-radius: 4px; letter-spacing: 0.02em; }
.pay-paystack { background: #0ba4db; color: #fff; }
.pay-visa    { background: #1A1F71; color: #fff; }
.pay-mc      { background: #EB001B; color: #fff; }
.pay-verve   { background: #006600; color: #fff; }
.pay-paypal  { background: #003087; color: #fff; }
.pay-ussd    { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.1); }
.pay-ssl     { font-size: 0.65rem; color: rgba(255,255,255,0.28); display: flex; align-items: center; gap: 4px; }

/* ─── WOOCOMMERCE ─── */
/* Reset WC default styles we override */
.woocommerce div.product { display: block; }
.woocommerce-breadcrumb { display: none; }
/* Cart/checkout use our form styles */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--r); font-family: var(--font); font-size: 0.9rem;
  color: var(--ink); background: var(--bg); outline: none;
  transition: border-color 0.2s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus { border-color: var(--ind); }
.woocommerce #respond input#submit,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: var(--gold) !important; color: var(--ink) !important;
  font-family: var(--font) !important; font-weight: 600 !important;
  border-radius: 100px !important; border: none !important;
  padding: 12px 24px !important; font-size: 0.9rem !important;
  cursor: pointer !important; transition: background 0.2s !important;
  text-transform: none !important; letter-spacing: 0 !important;
}
.woocommerce a.button.alt, .woocommerce button.button.alt {
  background: var(--ind) !important; color: #fff !important;
}
.woocommerce .woocommerce-error { background: var(--red-l); border-left: 3px solid var(--red); padding: 12px 16px; border-radius: 0 var(--r) var(--r) 0; font-size: 0.85rem; }
.woocommerce .woocommerce-message { background: var(--ind-l); border-left: 3px solid var(--ind); padding: 12px 16px; border-radius: 0 var(--r) var(--r) 0; font-size: 0.85rem; }
.woocommerce .woocommerce-info { background: var(--gold-l); border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 0 var(--r) var(--r) 0; font-size: 0.85rem; }
.woocommerce table.shop_table { border-collapse: collapse; width: 100%; }
.woocommerce table.shop_table th { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-3); padding: 10px 14px; border-bottom: 2px solid var(--border); text-align: left; }
.woocommerce table.shop_table td { padding: 16px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }

/* ─── PRODUCT PAGE ─── */
/* Buy box */
.buy-box { background: var(--bg); border-radius: var(--r-xl); padding: 28px; border-top: 3px solid var(--gold); box-shadow: var(--shadow-l); position: sticky; top: 80px; }
.buy-box-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 6px; }
.buy-price { font-size: 2.4rem; font-weight: 700; color: var(--ind); line-height: 1; }
.buy-ngn { font-size: 0.75rem; color: var(--ink-3); margin-top: 4px; margin-bottom: 18px; }
.buy-trust { display: flex; flex-direction: column; gap: 7px; font-size: 0.75rem; color: var(--ink-3); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.buy-payments { margin-top: 12px; }
.buy-payments p { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 7px; }
.buy-pay-row { display: flex; gap: 5px; flex-wrap: wrap; }

/* Product tabs */
.prod-tabs { border-bottom: 2px solid var(--border); display: flex; gap: 0; margin-bottom: 40px; overflow-x: auto; }
.prod-tab-btn {
  padding: 12px 20px; font-family: var(--font); font-size: 0.85rem; font-weight: 600;
  color: var(--ink-3); background: none; border: none; cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: color 0.15s; white-space: nowrap; min-height: 44px;
}
.prod-tab-btn.active { color: var(--ind); border-bottom-color: var(--ind); }
.prod-panel { display: none; }
.prod-panel.active { display: block; }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; max-width: 520px; }
.spec-table td { padding: 10px 0; font-size: 0.85rem; border-bottom: 1px solid var(--border); }
.spec-table td:first-child { color: var(--ink-3); width: 200px; }
.spec-table td:last-child { font-weight: 600; color: var(--ind); }
.spec-table td:last-child.dash { color: var(--ink-4); font-weight: 400; }

/* ─── MY ACCOUNT ─── */
.woocommerce-account .woocommerce-MyAccount-navigation { background: var(--bg-2); border-radius: var(--r-lg); padding: 8px; border: 1px solid var(--border); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 11px 14px; border-radius: var(--r); font-size: 0.88rem; font-weight: 500; color: var(--ink-2); transition: all 0.15s; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--ind); color: #fff; }

/* ─── COOKIE BAR ─── */
.sg-cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9990;
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 12px 20px; font-size: 0.82rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  display: none;
}
.sg-cookie-bar.visible { display: block; }
.sg-cookie-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sg-cookie-inner p { margin: 0; color: var(--ink-2); flex: 1; min-width: 200px; }
.sg-cookie-inner a { color: var(--ind); text-decoration: underline; }
.sg-cookie-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sg-cookie-btn { padding: 7px 16px; border-radius: 100px; font-family: var(--font); font-size: 0.78rem; font-weight: 600; cursor: pointer; border: none; white-space: nowrap; }
.sg-cookie-accept { background: var(--gold); color: var(--ink); }
.sg-cookie-decline { background: transparent; color: var(--ink-3); border: 1px solid var(--border); }
@media (max-width: 480px) { .sg-cookie-inner { flex-direction: column; align-items: flex-start; } }

/* ─── BACK TO TOP ─── */
.back-top {
  position: fixed; bottom: 20px; right: 20px; z-index: 800;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ind); color: #fff; border: none;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(91,94,166,0.4);
  transition: all 0.2s;
}
.back-top.visible { display: flex; }
.back-top:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }

/* ─── STICKY STRIP ─── */
.sticky-strip {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 850;
  background: rgba(13,13,20,0.96); backdrop-filter: blur(10px);
  border-top: 2px solid var(--gold); padding: 12px 20px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  transform: translateY(100%); transition: transform 0.4s ease;
}
.sticky-strip.visible { transform: translateY(0); }
.sticky-strip p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin: 0; }
.sticky-strip-close { background: none; border: none; color: rgba(255,255,255,0.35); cursor: pointer; font-size: 1.1rem; padding: 0 0 0 8px; }

/* ─── UTILITIES ─── */
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.dark-section { background: var(--ink); }
.light-section { background: var(--bg-2); }


/* ═══════════════════════════════════════════
   MOBILE-FIRST RESPONSIVE OVERRIDES
   All inline grids collapse on mobile.
   Base = mobile, desktop via min-width.
═══════════════════════════════════════════ */

/* Global: any inline grid with fixed columns collapses on mobile */
@media (max-width: 768px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  [style*="grid-template-columns:1fr 420px"],
  [style*="grid-template-columns:1fr 380px"],
  [style*="grid-template-columns:1fr 390px"],
  [style*="grid-template-columns:1fr 260px"],
  [style*="grid-template-columns:1fr 280px"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  [style*="grid-template-columns:1.8fr 1fr 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
  /* Hide decorative second column images on mobile */
  [style*="grid-template-columns:1fr 1fr"] > div:last-child > [style*="border-radius:var(--r-xl);overflow:hidden;height"] {
    display: none !important;
  }
  /* Product page buy box — unstick on mobile */
  [style*="position:sticky;top:76px"],
  [style*="position:sticky;top:80px"],
  [style*="position:sticky;top:88px"] {
    position: static !important;
  }
  /* Reduce section padding on mobile */
  .section { padding: 40px 0 !important; }
  /* Full width buttons on mobile */
  .hero-actions { flex-direction: column !important; }
  .hero-actions .btn { width: 100% !important; justify-content: center !important; }
  /* Hero stats wrap */
  .hero-stats { gap: 20px !important; }
  /* CTA buttons stack */
  .cta-btns { flex-direction: column !important; align-items: center !important; }
  .cta-btns .btn { width: 100% !important; max-width: 320px !important; justify-content: center !important; }
}

/* Medium screens — tablet */
@media (max-width: 640px) {
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  .pkg-grid { max-width: 100% !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}

/* Small phones */
@media (max-width: 480px) {
  .wrap { padding: 0 16px !important; }
  h1 { font-size: clamp(1.6rem, 5vw, 2.2rem) !important; }
  .hero { padding: 44px 0 52px !important; }
  .page-hero { padding: 36px 0 !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-payments-inner { gap: 6px !important; }
  /* Stats strip 2-col on small phones */
  .stats-strip-grid { grid-template-columns: 1fr 1fr !important; }
  .stat-cell { border-bottom: 1px solid rgba(255,255,255,0.06); }
  /* Services grid single col */
  .services-grid { grid-template-columns: 1fr !important; }
  /* Testi grid single col */
  .testi-grid { grid-template-columns: 1fr !important; }
  /* Blog grid single col */
  .blog-grid { grid-template-columns: 1fr !important; }
  /* Why grid single col */
  .why-grid { grid-template-columns: 1fr !important; }
  /* Process items */
  .process-item { grid-template-columns: 36px 1fr !important; }
  /* Form row single col */
  .form-row { grid-template-columns: 1fr !important; }
  /* Package grid single col */
  .pkg-grid { grid-template-columns: 1fr !important; }
  /* Contact grid */
  .contact-grid { grid-template-columns: 1fr !important; }
  /* Nav inner */
  .nav-inner { padding: 0 16px !important; }
  /* Sticky strip */
  .sticky-strip { flex-wrap: wrap !important; gap: 8px !important; padding: 10px 16px !important; }
  .sticky-strip p { font-size: 0.78rem !important; }
}

/* ── AUTO-FIT GRIDS — ensure minimum column width works on mobile ── */
@media (max-width: 500px) {
  [style*="grid-template-columns:repeat(auto-fit,minmax(250px"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(auto-fit,minmax(220px"] {
    grid-template-columns: 1fr 1fr !important;
  }
  [style*="grid-template-columns:repeat(auto-fit,minmax(200px"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ── PROSE — readable on all screens ── */
.prose { max-width: 100% !important; }
.prose img { max-width: 100% !important; height: auto !important; }
.prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── TWO COLUMN RESPONSIVE CLASS ── */
.sg-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 768px) { .sg-two-col { grid-template-columns: 1fr !important; gap: 32px !important; } }

/* Fix about page stat boxes on mobile */
@media (max-width: 480px) {
  .sg-two-col [style*="grid-template-columns:1fr 1fr;gap:12px"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ── ARTICLE SIDEBAR LAYOUT ── */
.sg-article-wrap { display: grid; grid-template-columns: 1fr 260px; gap: 52px; align-items: start; max-width: 1080px; margin: 0 auto; }
@media (max-width: 900px) {
  .sg-article-wrap { grid-template-columns: 1fr !important; gap: 0 !important; }
  .sg-article-wrap aside { display: none !important; }
}

/* ── PRODUCT PAGE LAYOUT ── */
.sg-product-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 52px; align-items: start; }
@media (max-width: 900px) {
  .sg-product-wrap { grid-template-columns: 1fr !important; gap: 28px !important; }
}

/* ── FEATURES GRID IN PRODUCT HERO ── */
@media (max-width: 600px) {
  [style*="grid-template-columns:1fr 1fr;gap:9px"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}

/* ═══════════════════════════════════════════
   GLOBAL MOBILE-FIRST FIXES — ALL PAGES
   Applied after all other styles.
   Targets inline grid styles that bypass CSS.
═══════════════════════════════════════════ */

/* Any two-column grid → single column on mobile */
@media (max-width: 768px) {
  /* Story grids, about, careers, course, community */
  .story-grid,
  .about-faq .sg-two-col,
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 420px"],
  [style*="grid-template-columns:1fr 380px"],
  [style*="grid-template-columns:1fr 390px"],
  [style*="grid-template-columns:1fr 260px"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Unstick sidebars and buy boxes */
  [style*="position:sticky"] {
    position: static !important;
  }

  /* Hero actions stack */
  [style*="display:flex;gap:10px;flex-wrap:wrap"] .btn,
  [style*="display:flex;gap:12px;flex-wrap:wrap"] .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Packages grid — single col on mobile */
  .pkg-grid { grid-template-columns: 1fr !important; max-width: 420px !important; margin: 0 auto !important; }

  /* Services grid — 2 col on tablet, 1 on mobile */
  .services-grid { grid-template-columns: 1fr 1fr !important; }

  /* Section padding reduction */
  .section { padding: 40px 0 !important; }
  .about-story,
  .team-section,
  .philosophy-section,
  .industries-section,
  .results-section,
  .about-faq { padding: 40px 0 !important; }

  /* Hero padding */
  .about-hero { padding: 40px 0 36px !important; }
  .page-hero { padding: 36px 0 !important; }

  /* CTA band */
  .cta-band { padding: 48px 0 !important; }
  .cta-btns { flex-direction: column !important; align-items: center !important; }
  .cta-btns .btn { width: 100% !important; max-width: 320px !important; justify-content: center !important; }

  /* Hero actions */
  .hero-actions { flex-direction: column !important; }
  .hero-actions .btn { width: 100% !important; justify-content: center !important; }

  /* Stats strip 2-col */
  .stats-strip-grid { grid-template-columns: 1fr 1fr !important; }

  /* Testi grid */
  .testi-grid { grid-template-columns: 1fr !important; }

  /* Blog grid */
  .blog-grid { grid-template-columns: 1fr !important; }

  /* Contact grid */
  .contact-grid { grid-template-columns: 1fr !important; }

  /* About stats */
  .about-stats { grid-template-columns: 1fr 1fr !important; }

  /* Philosophy grid */
  .philosophy-grid { grid-template-columns: 1fr !important; }

  /* Industries grid */
  .industries-grid { grid-template-columns: 1fr 1fr !important; }

  /* Results grid */
  .results-grid { grid-template-columns: 1fr !important; }

  /* Team grid */
  .team-grid { grid-template-columns: 1fr !important; }

  /* Mission cols */
  .mission-cols { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
}

/* Very small phones */
@media (max-width: 480px) {
  .wrap { padding: 0 16px !important; }
  h1 { font-size: clamp(1.5rem, 5vw, 2rem) !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .about-stats { grid-template-columns: 1fr 1fr !important; }
  .industries-grid { grid-template-columns: 1fr 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-payments-inner { justify-content: flex-start !important; gap: 6px !important; }
  .sg-mob-nav .sg-mob-links li a { padding: 14px 16px !important; }

  /* Hero stat numbers smaller */
  .hero-stat-n { font-size: 1.3rem !important; }
  .hero-stats { gap: 16px !important; }

  /* Comparison table horizontal scroll */
  [style*="overflow-x:auto"] { -webkit-overflow-scrolling: touch; }

  /* Team brands wrap tighter */
  .team-brands { gap: 4px !important; }
  .team-brand { font-size: 0.62rem !important; }
}

/* Tablets — fix medium grids */
@media (max-width: 900px) {
  .sg-product-wrap { grid-template-columns: 1fr !important; gap: 28px !important; }
  .sg-article-wrap { grid-template-columns: 1fr !important; }
  .sg-article-wrap aside { display: none !important; }
  .team-grid { grid-template-columns: 1fr 1fr !important; }
  @media (max-width: 580px) {
    .team-grid { grid-template-columns: 1fr !important; }
  }
}

/* Ensure all images are responsive */
img { max-width: 100%; height: auto; }

/* Prevent horizontal overflow */
/* overflow-x only on body wrapper, never on main — kills table scroll */
body { overflow-x: hidden; }
main { overflow-x: visible; }

/* Touch target minimum */
@media (max-width: 768px) {
  .btn { min-height: 44px; }
  .faq-q { min-height: 52px; }
}

/* Form responsiveness */
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr !important; }
  .form-card { padding: 22px 16px !important; }
}

/* ═══════════════════════════════════════════════════
   TWO-COLUMN GRID — MOBILE COLLAPSE
   Targets every sg-two-col section across the site.
   One rule, all pages, no side effects.
════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Universal: any sg-two-col class collapses */
  .sg-two-col {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Universal: any inline 1fr 1fr or 1fr Xpx grid collapses */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 420px"],
  [style*="grid-template-columns:1fr 380px"],
  [style*="grid-template-columns:1fr 260px"],
  [style*="grid-template-columns:1fr 280px"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Unstick any sticky elements (buy box, sidebars) */
  [style*="position:sticky"] { position: static !important; }

  /* Process section — already handled by above, but explicit for clarity */
  #seo-process .sg-two-col,
  #local-seo .sg-two-col,
  #com-join .sg-two-col,
  #pt-overview .sg-two-col { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* Hero image — decorative, hide on mobile */
  .hero-img-wrap { display: none !important; }
  .hero-grid { grid-template-columns: 1fr !important; }

  /* CTA buttons — stack on mobile */
  .cta-btns { flex-direction: column !important; align-items: center !important; }
  .cta-btns .btn { width: 100% !important; max-width: 340px !important; justify-content: center !important; }

  /* Hero actions — stack on mobile */
  .hero-actions { flex-direction: column !important; }
  .hero-actions .btn { width: 100% !important; justify-content: center !important; }

  /* Packages grid — single col */
  .pkg-grid { grid-template-columns: 1fr !important; max-width: 420px !important; margin-left: auto !important; margin-right: auto !important; }

  /* Stats strip — 2x2 */
  .stats-strip-grid { grid-template-columns: 1fr 1fr !important; }

  /* Buy box — static */
  .buy-box { position: static !important; }

  /* Comparison table */
  .cmp-desktop { display: none !important; }
  .cmp-mobile  { display: flex !important; }

}

@media (max-width: 480px) {
  .testi-grid { grid-template-columns: 1fr !important; }
  .blog-grid  { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .wrap { padding: 0 16px !important; }
}
