/*
Theme Name:  Oakshield Digital
Theme URI:   https://oakshielddigital.com
Author:      Oakshield Digital
Author URI:  https://oakshielddigital.com
Description: Modern dark-tech WordPress theme for Oakshield Digital — covering digital transformation, Fractional CTO services, advisory, and management consulting.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: oakshield
Tags:        dark, professional, consulting, technology, responsive, seo
*/

/* ═══════════════════════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════════════════════ */
:root {
  /* Colours */
  --bg:          #060C18;
  --bg-2:        #0A1526;
  --bg-card:     #0E1C30;
  --bg-card-2:   #122038;
  --blue:        #2563EB;
  --blue-light:  #3B82F6;
  --cyan:        #06B6D4;
  --cyan-light:  #22D3EE;
  --purple:      #7C3AED;
  --gold:        #F59E0B;
  --green:       #10B981;
  --red:         #EF4444;
  --text:        #F1F5F9;
  --text-2:      #94A3B8;
  --text-3:      #64748B;
  --border:      rgba(59,130,246,.12);
  --border-2:    rgba(6,182,212,.12);
  --white:       #FFFFFF;

  /* Gradients */
  --grad:        linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-dark:   linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  --grad-glow:   radial-gradient(ellipse 80% 50% at 50% 0%, rgba(37,99,235,.18) 0%, transparent 70%);

  /* Typography */
  --font-body:   'Inter', system-ui, sans-serif;
  --font-head:   'Space Grotesk', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section:     7rem;
  --section-sm:  4.5rem;

  /* Radius */
  --r-sm:  .5rem;
  --r-md:  1rem;
  --r-lg:  1.5rem;
  --r-xl:  2rem;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur:  .25s;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--white);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem);    font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem);   font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p  { color: var(--text-2); font-size: 1.0625rem; line-height: 1.75; }

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

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.container--wide { max-width: 1400px; }
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section); }
.section--sm { padding-block: var(--section-sm); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 4rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p   { font-size: 1.125rem; }

.section-tag {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .875rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 0 24px rgba(37,99,235,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,99,235,.5);
}

.btn-outline {
  border: 1.5px solid var(--border-2);
  color: var(--text);
  background: rgba(255,255,255,.03);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(6,182,212,.07);
}

.btn-ghost {
  color: var(--cyan);
  padding: .5rem 0;
  position: relative;
}
.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--cyan);
  transition: width var(--dur) var(--ease);
}
.btn-ghost:hover::after { width: 100%; }
.btn-ghost:hover .btn-arrow { transform: translateX(4px); }

.btn-arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}

.btn-sm {
  padding: .625rem 1.5rem;
  font-size: .875rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 1000;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.site-header.scrolled {
  background: rgba(6,12,24,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 2rem;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.logo-mark {
  width: 38px; height: 38px;
  background: var(--grad);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-mark svg { width: 22px; height: 22px; fill: #fff; }

.logo-text {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.logo-text span { color: var(--cyan); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.nav-menu a {
  padding: .5rem .875rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a {
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.nav-cta { margin-left: .5rem; }

/* Dropdown */
.nav-menu .menu-item-has-children { position: relative; }
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .5rem;
  min-width: 200px;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  z-index: 100;
}
.nav-menu .menu-item-has-children:hover .sub-menu { display: block; }
.nav-menu .sub-menu a {
  display: block;
  padding: .625rem 1rem;
  font-size: .875rem;
  border-radius: var(--r-sm);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    var(--grad-glow),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(6,182,212,.07) 0%, transparent 60%);
}

/* Grid dot pattern */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(59,130,246,.12) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-block: 6rem 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem 1rem;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(6,182,212,.08);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.hero p {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  max-width: 600px;
  margin-bottom: 2.5rem;
  color: var(--text-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .8125rem;
  color: var(--text-3);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--text-3));
}

/* ═══════════════════════════════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .375rem;
}
.stat-label {
  font-size: .875rem;
  color: var(--text-2);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.service-card:hover {
  border-color: rgba(37,99,235,.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: rgba(37,99,235,.12);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  transition: background var(--dur) var(--ease);
}
.service-card:hover .service-icon { background: rgba(37,99,235,.22); }
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { margin-bottom: .75rem; font-size: 1.3rem; }
.service-card p  { margin-bottom: 1.5rem; font-size: .9375rem; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.service-tag {
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 999px;
  background: rgba(6,182,212,.08);
  border: 1px solid rgba(6,182,212,.2);
  color: var(--cyan);
  letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════════════════ */
.about-section { background: var(--bg-2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
}

.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.about-badge-float {
  position: absolute;
  bottom: -1.5rem; right: -1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.about-badge-float .num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
}
.about-badge-float .lbl { font-size: .75rem; color: var(--text-2); margin-top: .25rem; }

.about-content h2 { margin-bottom: 1.25rem; }
.about-content p  { margin-bottom: 1rem; }

.about-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: .875rem;
  color: var(--text-2);
  font-size: .9375rem;
}
.about-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(16,185,129,.12);
  border: 1.5px solid var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310B981'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FRACTIONAL CTO SECTION
═══════════════════════════════════════════════════════════════════════════ */
.fcto-section {
  background: linear-gradient(135deg, #080F20 0%, #0D1A35 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.fcto-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124,58,237,.12) 0%, transparent 70%);
  pointer-events: none;
}

.fcto-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.fcto-eyebrow {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
}

.fcto-content h2 { margin-bottom: 1.25rem; }
.fcto-content > p { margin-bottom: 2.5rem; }

.fcto-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-bottom: 2.5rem;
}

.fcto-benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.fcto-benefit-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: rgba(124,58,237,.15);
  border: 1px solid rgba(124,58,237,.3);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.fcto-benefit-icon svg { width: 18px; height: 18px; }

.fcto-benefit h4 { font-size: .9375rem; margin-bottom: .25rem; }
.fcto-benefit p  { font-size: .875rem; color: var(--text-2); }

.fcto-card {
  background: var(--bg-card);
  border: 1px solid rgba(124,58,237,.2);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: 0 0 60px rgba(124,58,237,.1);
}

.fcto-card-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.fcto-include-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.fcto-include-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: .9125rem;
  color: var(--text-2);
}

.fcto-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(16,185,129,.1);
  display: grid;
  place-items: center;
}
.fcto-check svg { width: 12px; height: 12px; stroke: var(--green); fill: none; stroke-width: 2.5; }

/* ═══════════════════════════════════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════════════════════════════════ */
.process-section { background: var(--bg); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 1px;
  background: linear-gradient(to right, var(--blue), var(--cyan), var(--blue));
  opacity: .3;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 4.5rem; height: 4.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  display: grid;
  place-items: center;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cyan);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.process-step:hover .step-num {
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(6,182,212,.25);
}

.process-step h3 { font-size: 1.1rem; margin-bottom: .625rem; }
.process-step p  { font-size: .875rem; color: var(--text-2); }

/* ═══════════════════════════════════════════════════════════════════════════
   WHY US
═══════════════════════════════════════════════════════════════════════════ */
.why-section { background: var(--bg-2); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.why-card:hover {
  border-color: rgba(37,99,235,.3);
  transform: translateY(-3px);
}

.why-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.why-icon svg { width: 24px; height: 24px; }

.why-card h3 { font-size: 1.1rem; margin-bottom: .625rem; }
.why-card p  { font-size: .9rem; color: var(--text-2); }

/* ═══════════════════════════════════════════════════════════════════════════
   ADVISORY / CONSULTING DETAIL
═══════════════════════════════════════════════════════════════════════════ */
.advisory-section { background: var(--bg); }

.advisory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.advisory-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
}

.advisory-block h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.advisory-list {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-top: 1.25rem;
}
.advisory-list li {
  display: flex;
  gap: .875rem;
  color: var(--text-2);
  font-size: .9375rem;
  line-height: 1.5;
}
.advisory-list .dot {
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: .5rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG / INSIGHTS
═══════════════════════════════════════════════════════════════════════════ */
.insights-section { background: var(--bg-2); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: rgba(37,99,235,.3);
  transform: translateY(-4px);
}

.blog-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-card-2);
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }

.blog-thumb-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-card-2), var(--bg-2));
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-thumb-placeholder svg { width: 48px; height: 48px; opacity: .2; }

.blog-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.blog-cat {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cyan);
}
.blog-date {
  font-size: .8125rem;
  color: var(--text-3);
}

.blog-card h3 { font-size: 1.0625rem; margin-bottom: .75rem; line-height: 1.4; }
.blog-card h3 a { color: var(--white); transition: color var(--dur) var(--ease); }
.blog-card h3 a:hover { color: var(--cyan); }
.blog-card p  { font-size: .875rem; color: var(--text-2); flex: 1; }
.blog-link { display: inline-block; margin-top: 1.25rem; font-size: .875rem; font-weight: 600; color: var(--cyan); }
.blog-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  padding-block: var(--section);
  overflow: hidden;
  background: linear-gradient(135deg, #06102A 0%, #0C1E3E 100%);
  border-top: 1px solid var(--border);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: .6;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.cta-inner h2 { margin-bottom: 1.125rem; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.cta-inner p  { font-size: 1.125rem; margin-bottom: 2.5rem; }

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: #040912;
  border-top: 1px solid var(--border);
  padding-top: 5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-size: .9rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: .75rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-2);
  transition: all var(--dur) var(--ease);
}
.footer-social a:hover {
  color: var(--white);
  border-color: var(--blue);
  background: rgba(37,99,235,.15);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-col ul a {
  font-size: .9rem;
  color: var(--text-2);
  transition: color var(--dur) var(--ease);
}
.footer-col ul a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  color: var(--text-2);
  margin-bottom: .75rem;
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.75rem;
  font-size: .8125rem;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal a { color: var(--text-3); margin-left: 1.5rem; transition: color var(--dur) var(--ease); }
.footer-legal a:hover { color: var(--text-2); }

/* ═══════════════════════════════════════════════════════════════════════════
   INNER PAGES
═══════════════════════════════════════════════════════════════════════════ */
.page-hero {
  padding-block: 7rem 4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-glow);
  opacity: .5;
}
.page-hero .container { position: relative; }
.page-hero .breadcrumb {
  font-size: .8125rem;
  color: var(--text-3);
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: var(--text-2); }
.page-hero .breadcrumb a:hover { color: var(--cyan); }
.page-hero .breadcrumb span { color: var(--text-3); margin-inline: .5rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p   { font-size: 1.125rem; max-width: 580px; margin-top: .875rem; }

.page-content {
  padding-block: var(--section);
}
.entry-content h2, .entry-content h3 { margin-top: 2.5rem; margin-bottom: 1rem; }
.entry-content p  { margin-bottom: 1.25rem; }
.entry-content ul { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.entry-content ul li { color: var(--text-2); margin-bottom: .5rem; list-style: disc; }
.entry-content a  { color: var(--cyan); text-decoration: underline; }
.entry-content a:hover { text-decoration: none; }

/* Blog Archive */
.archive-header {
  text-align: center;
  padding-block: 6rem 4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.archive-grid {
  padding-block: var(--section-sm);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}

.posts-list { display: flex; flex-direction: column; gap: 2rem; }

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
}
.post-card-img { overflow: hidden; background: var(--bg-card-2); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 2rem; }
.post-card-body h2 { font-size: 1.3rem; margin-bottom: .75rem; }
.post-card-body h2 a { color: var(--white); transition: color var(--dur) var(--ease); }
.post-card-body h2 a:hover { color: var(--cyan); }
.post-card-body p { font-size: .9375rem; margin-bottom: 1.25rem; }

/* Single Post */
.single-hero {
  padding-block: 6rem 3rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.single-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  font-size: .875rem;
  color: var(--text-3);
}
.single-body {
  padding-block: var(--section-sm);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
}

/* Sidebar */
.sidebar .widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.sidebar .widget-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--border);
}
.sidebar ul li { padding: .5rem 0; border-bottom: 1px solid var(--border); }
.sidebar ul li:last-child { border: none; }
.sidebar ul li a { font-size: .9rem; color: var(--text-2); transition: color var(--dur) var(--ease); }
.sidebar ul li a:hover { color: var(--cyan); }

/* 404 */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-404 .error-num {
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: .5rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════════════════ */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-in.delay-1 { transition-delay: .1s; }
.animate-in.delay-2 { transition-delay: .2s; }
.animate-in.delay-3 { transition-delay: .3s; }
.animate-in.delay-4 { transition-delay: .4s; }

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════════════════════════ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section: 5.5rem; }

  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .fcto-grid,
  .advisory-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .why-grid      { grid-template-columns: 1fr 1fr; }
  .blog-grid     { grid-template-columns: 1fr 1fr; }
  .archive-grid,
  .single-body   { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section: 4rem; --section-sm: 3rem; }

  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile nav open state */
  .nav-menu.nav-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; inset-inline: 0; bottom: 0;
    background: rgba(6,12,24,.97);
    backdrop-filter: blur(16px);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    align-items: stretch;
    gap: 0;
    z-index: 999;
  }
  .nav-menu.nav-open a {
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--r-md);
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.nav-open .btn {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
  }
  .nav-cta.nav-open { display: flex; }

  .hero-content { padding-block: 5rem 3rem; }
  .hero-actions  { flex-direction: column; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid   { grid-template-columns: 1fr; }
  .blog-grid  { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; }

  .about-badge-float { display: none; }
  .process-steps { grid-template-columns: 1fr; }

  .post-card { grid-template-columns: 1fr; }
  .post-card-img { aspect-ratio: 16/9; }

  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .section-header { margin-bottom: 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
}
