/* ==========================================================================
   BI Dashboards — brand stylesheet
   Palette: Blue #005BAA · Green #4EB857 · Purple #92278F · Yellow #FFDD00 · Grey #4D555B
   ========================================================================== */

:root {
  --blue: #005BAA;
  --blue-dark: #00477F;
  --blue-tint: #E8F1F9;
  --green: #4EB857;
  --purple: #92278F;
  --yellow: #FFDD00;
  --grey: #4D555B;
  --heading: #232A2F;
  --bg-alt: #F7F9FC;
  --border: #E3E8EE;
  --white: #FFFFFF;
  --footer-bg: #232A2F;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(35, 42, 47, 0.08);
  --shadow-md: 0 6px 24px rgba(35, 42, 47, 0.10);
  --shadow-lg: 0 12px 40px rgba(35, 42, 47, 0.14);
  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --container: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--grey);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1.1em; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- signature 4-colour brand bar ------------------------------------- */
/* Under-heading brand bars retired (July 2026) — the footer brandline below is the
   single brand-colour signature. Restore by setting display: block. */
.brand-bar {
  display: none;
  width: 132px;
  height: 5px;
  border-radius: 0;
  margin: -0.6rem 0 1.4rem;
  background: linear-gradient(90deg,
    var(--blue) 0 25%, var(--yellow) 25% 50%,
    var(--green) 50% 75%, var(--purple) 75% 100%);
}
/* --center modifiers neutralised: all headings share the logo's left axis (datatraining.io style) */
.brand-bar--center { margin-left: 0; margin-right: 0; }

/* --- buttons ------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue-tint); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--blue-tint); color: var(--blue-dark); transform: translateY(-2px); }
.btn-outline-white { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.15); color: var(--white); transform: translateY(-2px); }

/* --- header / nav -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav-logo img { height: 44px; width: auto; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--heading);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-menu a:hover { color: var(--blue); }
.nav-menu a.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-menu .btn { padding: 10px 22px; }
.nav-menu a.btn-primary { color: var(--white); border-bottom: none; }
/* nav dropdown (Consulting > sub-services) */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: " \25BE"; font-size: 0.7em; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -14px;
  min-width: 176px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  list-style: none;
  margin: 0;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  border-bottom: none;
  font-size: 0.94rem;
}
.dropdown-menu a:hover { background: var(--blue-tint); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 5px 0;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --- hero (home) ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #10151A;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 16, 22, 0.70) 0%, rgba(10, 16, 22, 0.44) 55%, rgba(10, 16, 22, 0.20) 100%);
}
.hero .container { width: 100%; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 110px 0;
}
.hero-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8FCB96;
  margin-bottom: 1rem;
}
.hero h1 { color: var(--white); }
.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- page hero (inner pages) ---------------------------------------------- */
.page-hero {
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 60%, #1D74C0 100%);
  color: var(--white);
  padding: 72px 0 64px;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255, 255, 255, 0.88); font-size: 1.15rem; max-width: 640px; margin-bottom: 0; }

/* --- client logo strip ------------------------------------------------------- */
.logo-strip {
  padding: 44px 0 12px;
  background: var(--white);
}
.logo-strip-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.6rem;
}
/* single-row marquee, rolls right-to-left (opposite of testimonials), pauses on hover */
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  animation: logo-roll 55s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-group { display: flex; align-items: center; }
.logo-group img {
  height: 52px;
  width: auto;
  max-width: 280px;
  margin-right: 72px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.logo-group img:hover { filter: none; opacity: 1; }
/* optical size balancing: wide logos run shorter, compact logos taller,
   so every mark reads as roughly the same visual size */
.logo-group img[src*="h4d"] { height: 40px; }
.logo-group img[src*="sentech"] { height: 42px; }
.logo-group img[src*="kukuza"] { height: 44px; }
.logo-group img[src*="gluedata"] { height: 46px; }
.logo-group img[src*="acrux"] { height: 48px; }
.logo-group img[src*="page-automation"] { height: 54px; }
.logo-group img[src*="bi-samurai"] { height: 62px; }
@keyframes logo-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .logo-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}

/* --- service-page hero with animated visual ----------------------------------- */
.hero-split {
  background: var(--white);
  padding: 64px 0 24px;
}
/* subpage hero headings match the home section-heading scale exactly (h2 style) */
.hero-split h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 600; margin-bottom: 0.5em; }
.hero-split .kicker {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 0.8rem;
}
.hero-split p { font-size: 1.15rem; max-width: 540px; }
.hero-split .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 1.8rem; }
.viz-wrap svg { width: 100%; height: auto; display: block; }

/* --- animated service visuals -------------------------------------------------- */
.viz-pill { fill: #FFFFFF; stroke: var(--border); stroke-width: 1.5; }
.viz-label { font-family: var(--font-heading); font-size: 13px; font-weight: 500; fill: #2B3238; }
.viz-small { font-family: var(--font-heading); font-size: 9px; font-weight: 600; letter-spacing: 0.08em; fill: #8A939B; }
.viz-path { fill: none; stroke: #C9D9EA; stroke-width: 1.5; }
.viz-dot { opacity: 0; }
.viz-line-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: viz-draw 7s ease-in-out infinite;
}
@keyframes viz-draw {
  0% { stroke-dashoffset: 1; opacity: 1; }
  40% { stroke-dashoffset: 0; opacity: 1; }
  86% { stroke-dashoffset: 0; opacity: 1; }
  93% { opacity: 0; }
  94% { stroke-dashoffset: 1; opacity: 0; }
  100% { stroke-dashoffset: 1; opacity: 1; }
}
.viz-chart-dot { opacity: 0; }
.viz-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: viz-breathe 5s ease-in-out infinite;
}
.viz-bar:nth-of-type(2) { animation-delay: 0.4s; }
.viz-bar:nth-of-type(3) { animation-delay: 0.8s; }
.viz-bar:nth-of-type(4) { animation-delay: 1.2s; }
.viz-bar:nth-of-type(5) { animation-delay: 1.6s; }
@keyframes viz-breathe {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}
@keyframes viz-travel {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.viz-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: viz-pulse 3.2s ease-out infinite;
}
@keyframes viz-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.45); opacity: 0; }
}
.viz-float {
  transform-box: fill-box;
  transform-origin: center;
  animation: viz-float 5.5s ease-in-out infinite;
}
.viz-float.f2 { animation-delay: 1.1s; }
.viz-float.f3 { animation-delay: 2.2s; }
.viz-float.f4 { animation-delay: 3.3s; }
.viz-float.f5 { animation-delay: 4.4s; }
.viz-float.f6 { animation-delay: 1.7s; }
@keyframes viz-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.viz-orbit-dot { opacity: 0.9; }
@keyframes viz-orbit {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .viz-dot, .viz-orbit-dot, .viz-chart-dot { display: none; }
  .viz-line-draw { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .viz-bar { animation: none; transform: scaleY(1); }
  .viz-pulse, .viz-float { animation: none; }
}

/* --- cursor glow (desktop pointer devices only) ---------------------------------- */
.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 548px;
  height: 548px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2000;
  /* near-Gaussian falloff sized to reach true zero inside the box (closest-side),
     plus a blur to erase any residual banding: no findable rim */
  background: radial-gradient(circle closest-side,
    rgba(0, 91, 170, 0.128) 0%,
    rgba(0, 91, 170, 0.098) 20%,
    rgba(0, 91, 170, 0.058) 40%,
    rgba(0, 91, 170, 0.025) 58%,
    rgba(0, 91, 170, 0.010) 72%,
    rgba(0, 91, 170, 0.003) 83%,
    rgba(0, 91, 170, 0.001) 92%,
    rgba(0, 91, 170, 0) 100%);
  filter: blur(24px);
  will-change: transform;
  opacity: 0;
  transition: opacity 0.45s ease;
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}

/* --- sections -------------------------------------------------------------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head--center { margin-left: 0; margin-right: 0; text-align: left; }
.section-head .kicker {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 0.6rem;
}

/* --- card grids -------------------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.card .icon svg { width: 26px; height: 26px; }
.icon-blue { background: var(--blue-tint); color: var(--blue); }
.icon-green { background: #EAF7EC; color: #359240; }
.icon-purple { background: #F6EAF6; color: var(--purple); }
.icon-gold { background: #FBF7DC; color: #8B7500; }
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }
.card .card-link { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; }
.card .card-link::after { content: ' →'; }

/* offer cards (home overview) */
.offer-card { padding: 44px 40px; }
.offer-card h3 { font-size: 1.5rem; }

/* --- split rows (text + image) --------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.img-caption {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  color: var(--grey);
}
.img-caption strong { color: var(--heading); font-family: var(--font-heading); }
.split .checklist { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.split .checklist li { padding-left: 34px; position: relative; margin-bottom: 0.8rem; }
.split .checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #EAF7EC;
  color: #359240;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- stats strip -------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
}
.stat h3 {
  font-size: 2.2rem;
  color: var(--blue);
  margin-bottom: 0.2rem;
}
.stat p { margin: 0; font-size: 0.98rem; }

/* --- testimonial marquee: continuous left-to-right roll, pauses on hover --------- */
.testimonial-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-roll 95s linear infinite;
}
.testimonial-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; }
.t-card {
  width: 420px;
  flex: none;
  margin-right: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.t-card blockquote {
  margin: 0 0 1.2rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--heading);
  font-style: italic;
}
.t-card cite {
  font-style: normal;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--heading);
  display: block;
  font-size: 0.95rem;
}
.t-card .t-org { display: block; font-size: 0.85rem; color: var(--grey); font-weight: 400; }
@keyframes marquee-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .testimonial-marquee { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
}

/* --- portfolio embeds ------------------------------------------------------------ */
.embed-card { padding: 0; overflow: hidden; }
.embed-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #EDF1F5; }
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--grey);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  background:
    linear-gradient(rgba(247, 249, 252, 0.92), rgba(247, 249, 252, 0.92)),
    repeating-linear-gradient(45deg, #E3E8EE 0 12px, #EDF1F5 12px 24px);
  text-align: center;
  padding: 20px;
}
.embed-placeholder img { width: 44px; opacity: 0.8; }
.embed-body { padding: 26px 30px 30px; }
.embed-body .tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  background: #F6EAF6;
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 0.8rem;
}
.embed-body p:last-child { margin-bottom: 0; }

/* --- CTA band -------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 55%, #1D74C0 100%);
  border-radius: var(--radius);
  padding: 64px 56px;
  text-align: center;
  color: var(--white);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.88); font-size: 1.15rem; max-width: 560px; margin: 0 auto 2rem; }

/* --- contact page ------------------------------------------------------------------ */
.contact-info-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-info-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 1.1rem; }
.contact-info-list .icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-list .icon svg { width: 20px; height: 20px; }
.contact-info-list strong { display: block; color: var(--heading); font-family: var(--font-heading); font-size: 0.95rem; }
.calendly-frame {
  width: 100%;
  height: 680px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* --- footer --------------------------------------------------------------------------- */
.site-footer {
  background: var(--footer-bg);
  color: #B9C1C7;
  padding: 64px 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-grid img { height: 40px; width: auto; margin-bottom: 1.2rem; }
.site-footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { color: #B9C1C7; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.footer-brandline {
  height: 4px;
  background: linear-gradient(90deg,
    var(--blue) 0 25%, var(--yellow) 25% 50%,
    var(--green) 50% 75%, var(--purple) 75% 100%);
}

/* --- scroll reveal ------------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- responsive ------------------------------------------------------------------------ */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-img { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 20px;
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li { border-bottom: 1px solid var(--border); }
  .nav-menu li:last-child { border-bottom: none; padding-top: 12px; }
  .nav-menu a { display: block; padding: 13px 2px; border-bottom: none; }
  .nav-dropdown > a::after { content: ""; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    min-width: 0;
    padding: 0 0 6px 18px;
  }
  .dropdown-menu::before { display: none; }
  .dropdown-menu li { border-bottom: none; }
  .dropdown-menu a { padding: 8px 2px; font-size: 0.94rem; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 20px; }
  .hero { min-height: 540px; }
  .hero-content { padding: 80px 0; }
  .cta-band { padding: 48px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .t-card { width: 320px; }
}

/* ============================== BLOG ============================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card h3 { margin-bottom: 0.4rem; }
.post-card h3 a { color: var(--heading); }
.post-card h3 a:hover { color: var(--blue); }
.post-meta { font-family: var(--font-heading); font-size: 0.85rem; color: #8A939B; margin-bottom: 0.7rem; }
.post-card p:last-of-type { margin-bottom: 1rem; }

.article-wrap { max-width: 760px; margin: 0 auto; }
.article-body { font-size: 1.0625rem; }
.article-body h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.article-body h3 { font-size: 1.2rem; margin-top: 1.8rem; }
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; }
.article-body ul, .article-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.article-body li { margin-bottom: 0.4em; }
.article-body blockquote {
  margin: 1.5rem 0;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 4px solid var(--blue);
  color: var(--heading);
  font-style: italic;
}
.article-back { display: inline-block; margin-top: 2.5rem; }

@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .post-grid { grid-template-columns: 1fr; } }

.post-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.article-hero-img { display: block; width: 100%; border-radius: var(--radius); margin: 0 0 1.8rem; }
