/* =============================================
   CORETEK THEME — Main Stylesheet
   Color palette:
     --bg-dark:    #0D0825
     --bg-card:    #160637
     --accent-1:   #8B5CF6 (violet)
     --accent-2:   #EC4899 (pink)
     --gradient:   135deg, #8B5CF6 → #EC4899
     --text:       #FFFFFF
     --text-muted: #C4B5FD
     --border:     rgba(139,92,246,0.2)
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --bg-dark:       #0D0825;
  --bg-card:       #160637;
  --bg-card-hover: #1e0a4a;
  --accent-1:      #8B5CF6;
  --accent-2:      #EC4899;
  --gradient:      linear-gradient(135deg, #8B5CF6, #EC4899);
  --gradient-text: linear-gradient(135deg, #A78BFA, #F472B6);
  --text:          #FFFFFF;
  --text-muted:    #C4B5FD;
  --text-dim:      #94A3B8;
  --border:        rgba(139, 92, 246, 0.25);
  --border-hover:  rgba(139, 92, 246, 0.6);
  --shadow:        0 4px 24px rgba(139, 92, 246, 0.15);
  --shadow-lg:     0 8px 48px rgba(139, 92, 246, 0.25);
  --radius:        12px;
  --radius-lg:     20px;
  --nav-height:    72px;
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-1); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-2); }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { color: var(--text-muted); line-height: 1.7; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Layout Utilities ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-1);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 56px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.55);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: var(--accent-1);
  color: var(--accent-1);
  transform: translateY(-2px);
}

/* ---- Navbar ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.scrolled {
  background: rgba(13, 8, 37, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(139, 92, 246, 0.15), var(--shadow);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.site-logo:hover { color: var(--text); }

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.logo-text span { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.primary-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
/* WordPress outputs ul > li > a — make the list flex too */
.primary-menu ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-menu ul li { display: flex; }
.primary-menu a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  color: var(--text);
  background: rgba(139, 92, 246, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile overlay — hidden globally; shown only on mobile via .open class */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 8, 37, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
}
.mobile-menu a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  padding: 12px 24px;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  transition: background 0.2s;
}
.mobile-menu a:hover { background: rgba(139,92,246,0.1); color: var(--accent-1); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Ambient gradient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}
.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #8B5CF6, transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}
.hero-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #EC4899, transparent 70%);
  bottom: -50px;
  left: -80px;
  animation-delay: -4s;
}
.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #7C3AED, transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -2s;
  opacity: 0.2;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.04); }
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
  padding: 6px 16px 6px 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-1);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(139, 92, 246, 0); }
}

.hero-title {
  margin-bottom: 24px;
  color: var(--text);
}
.hero-title .line2 {
  display: block;
  margin-top: 4px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ---- Services Section ---- */
.services {
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(22, 6, 55, 0.6) 50%, var(--bg-dark) 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}

.service-card-inner { position: relative; z-index: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--accent-1);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-1);
  transition: gap 0.2s, color 0.2s;
}
.service-link::after { content: '→'; }
.service-link:hover { gap: 10px; color: var(--accent-2); }

.service-card-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.25);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ---- CTA Band ---- */
.cta-band {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 48px 0;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { max-width: 480px; color: var(--text-muted); margin: 0; }

/* ---- Page / Post Content ---- */
.page-wrapper {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 96px;
  min-height: 60vh;
}

.entry-header { margin-bottom: 40px; }
.entry-title { margin-bottom: 12px; }
.entry-meta { font-size: 0.85rem; color: var(--text-dim); display: flex; gap: 16px; flex-wrap: wrap; }
.entry-meta a { color: var(--text-dim); }
.entry-meta a:hover { color: var(--accent-1); }

.entry-content {
  max-width: 760px;
}
.entry-content p    { margin-bottom: 1.4em; }
.entry-content h2,
.entry-content h3,
.entry-content h4   { margin: 2em 0 0.75em; color: var(--text); }
.entry-content ul,
.entry-content ol   { padding-left: 1.5em; margin-bottom: 1.4em; }
.entry-content li   { color: var(--text-muted); margin-bottom: 0.4em; }
.entry-content a    { color: var(--accent-1); }
.entry-content a:hover { color: var(--accent-2); text-decoration: underline; }
.entry-content blockquote {
  border-left: 3px solid var(--accent-1);
  padding: 16px 24px;
  margin: 2em 0;
  background: rgba(139, 92, 246, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}
.entry-content code {
  background: rgba(139, 92, 246, 0.12);
  color: #A78BFA;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.entry-content pre {
  background: #100826;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 1.5em 0;
}
.entry-content pre code { background: none; padding: 0; color: #E2E8F0; }
.entry-content img { border-radius: var(--radius); margin: 1.5em 0; }
.entry-content hr { border: none; border-top: 1px solid var(--border); margin: 2.5em 0; }

/* ---- Archive / Blog ---- */
.archive-header { margin-bottom: 56px; }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.post-card-thumb { aspect-ratio: 16/9; overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(236,72,153,0.15)); }
.post-card-body { padding: 28px; }
.post-card-category { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-1); margin-bottom: 10px; }
.post-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--text); }
.post-card h3 a:hover { color: var(--accent-1); }
.post-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; }
.post-card-meta { font-size: 0.8rem; color: var(--text-dim); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.pagination .page-numbers:hover { border-color: var(--accent-1); color: var(--accent-1); }
.pagination .page-numbers.current {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
}
.pagination .prev, .pagination .next { width: auto; padding: 0 16px; }

/* ---- 404 ---- */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
}
.error-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

/* ---- Sidebar ---- */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.widget-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.widget ul li { margin-bottom: 8px; }
.widget ul li a { font-size: 0.9rem; color: var(--text-muted); }
.widget ul li a:hover { color: var(--accent-1); }

/* ---- Search Form ---- */
.search-form { display: flex; gap: 8px; }
.search-form input {
  flex: 1;
  background: rgba(139,92,246,0.07);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.search-form input:focus { border-color: var(--accent-1); }
.search-form button {
  background: var(--gradient);
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.search-form button:hover { opacity: 0.85; }

/* ---- Footer ---- */
.site-footer {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #08041a 100%);
  border-top: 1px solid var(--border);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin: 16px 0 24px;
  max-width: 280px;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(139,92,246,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s;
}
.social-link:hover {
  background: rgba(139,92,246,0.2);
  border-color: var(--accent-1);
  color: var(--accent-1);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-contact-item .icon { font-size: 1rem; margin-top: 2px; }
.footer-contact-item span { font-size: 0.88rem; color: var(--text-dim); line-height: 1.5; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-dim); margin: 0; }
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--accent-1); }

.footer-legal { display: flex; gap: 20px; }

/* ---- Scroll to top ---- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 100;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); }

/* ---- WordPress Core Classes ---- */
.alignleft  { float: left;  margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide  { max-width: calc(100% + 96px); margin-left: -48px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.82rem; color: var(--text-dim); text-align: center; margin-top: 8px; }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); overflow: hidden; height: 1px; width: 1px; }
.sticky {}
.bypostauthor {}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .content-sidebar-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .primary-menu,
  .nav-actions { display: none; }

  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }

  .hero-stats { flex-direction: column; gap: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
