/* =========================================
   1. CORE VARIABLES & RESET
   ========================================= */
:root {

  /* ── Brand ─────────────────────────────── */
  --brand-primary:        #000000;   /* main brand — change here to retheme */
  --brand-primary-hover:  #222222;
  --brand-red:            #EA4335;   /* brand dot / accent */
  --brand-blue:           #4285F4;   /* brand dot */
  --brand-yellow:         #FBBC05;   /* brand dot */
  --brand-green:          #34A853;   /* brand dot / success */
  /* legacy aliases — keep for backward compat */
  --brand-black:          var(--brand-primary);
  --bg-color:             #ffffff;

  /* ── Text ──────────────────────────────── */
  --color-heading:        #000000;   /* all h1–h6 — change here for all titles */
  --color-body:           #1a1a1a;   /* primary body copy */
  --color-body-secondary: #555555;   /* supporting / secondary text */
  --color-muted:          #888888;   /* captions, meta, placeholders */
  --color-inverse:        #ffffff;   /* text on dark backgrounds */
  /* legacy aliases */
  --text-main:            var(--color-body);
  --text-light:           var(--color-body-secondary);

  /* ── Background ─────────────────────────── */
  --color-bg:             #ffffff;
  --color-bg-soft:        #f8f9fa;
  --color-bg-muted:       #f0f0f0;
  --color-bg-dark:        #0d1117;
  --color-bg-dark-alt:    #1a2e4a;

  /* ── Border ─────────────────────────────── */
  --color-border:         #e8e8e8;
  --color-border-strong:  #d0d0d0;
  /* legacy alias */
  --border-color:         var(--color-border);

  /* ── Typography ─────────────────────────── */
  --font-heading:   'Outfit', sans-serif;   /* all headings — change here */
  --font-body:      'Outfit', sans-serif;   /* body copy */
  --font-display:   'Playfair Display', serif;
  --font-accent:    'Great Vibes', cursive;
  --font-mono:      monospace;

  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-md:    1.125rem;   /* 18px */
  --text-lg:    1.25rem;    /* 20px */
  --text-xl:    1.5rem;     /* 24px */
  --text-2xl:   2rem;       /* 32px */
  --text-3xl:   2.5rem;     /* 40px */
  --text-4xl:   3rem;       /* 48px */
  --text-5xl:   3.75rem;    /* 60px */

  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  --leading-tight:  1.2;
  --leading-snug:   1.4;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  /* ── Spacing ────────────────────────────── */
  --space-1:   0.25rem;   /*  4px */
  --space-2:   0.5rem;    /*  8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */

  /* ── Radius ─────────────────────────────── */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* ── Shadow ─────────────────────────────── */
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg:  0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-xl:  0 16px 48px rgba(0, 0, 0, 0.14);

  /* ── Transition ─────────────────────────── */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* ── Layout ─────────────────────────────── */
  --nav-height:     80px;
  --max-width:      1200px;
  --max-width-text: 720px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-body);
  background-color: var(--color-bg);
  line-height: var(--leading-normal);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.font-heading {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: var(--leading-tight);
  margin-bottom: 20px;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-md); }
h6 { font-size: var(--text-base); }

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
}

ul {
  list-style: none;
}

/* =========================================
   2. UTILITIES & HELPER CLASSES
   ========================================= */
.text-light {
  color: var(--text-light);
}

.text-brand-red {
  color: var(--brand-red);
}

.text-brand-green {
  color: var(--brand-green);
}

.text-brand-blue {
  color: var(--brand-blue);
}

.flex-gap {
  display: flex;
  gap: 15px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}


/* =========================================
   3. NAVIGATION
   ========================================= */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--color-bg-muted);
  backdrop-filter: blur(10px);
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  /* lx-2 default */
  font-weight: var(--weight-bold);
  letter-spacing: -0.5px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.nav-logo a {
  line-height: 1;
}

/* Logo size scale — lx-2 is the default (1.5 rem).
   Dots use em so they scale automatically with font-size. */
.nav-logo.lx-1 {
  font-size: 1.1rem;
}

.nav-logo.lx-2 {
  font-size: 1.5rem;
}

.nav-logo.lx-3 {
  font-size: 2rem;
}

.nav-logo.lx-4 {
  font-size: 2.6rem;
}

/* Brand dots: synchronized wave-blink, staggered 0.2 s per dot */
@keyframes brand-dot-blink {

  0%,
  60%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  30% {
    opacity: 0.2;
    transform: scale(0.65);
  }
}

.brand-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 3px;
}

.brand-dot {
  display: inline-block;
  width: 0.33em;
  height: 0.33em;
  border-radius: 50%;
  animation: brand-dot-blink 2.4s ease-in-out infinite;
}

.brand-dot--red {
  background: var(--brand-red);
  animation-delay: 0s;
}

.brand-dot--blue {
  background: var(--brand-blue);
  animation-delay: 0.2s;
}

.brand-dot--yellow {
  background: var(--brand-yellow);
  animation-delay: 0.4s;
}

.brand-dot--green {
  background: var(--brand-green);
  animation-delay: 0.6s;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link-item {
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link-back {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-muted);
}

.link-a {
  margin-top: 25px;
  display: block;
  font-weight: 600;
  color: var(--brand-black);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: border 0.3s;
}

/* --- RESPONSIVE NAVIGATION STYLES --- */

/* 1. Hamburger Icon Styles (Hidden on Desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--brand-black);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* =========================================
   4. BUTTONS
   ========================================= */
.btn-cta {
  background-color: var(--brand-primary);
  color: var(--color-inverse);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  font-family: var(--font-heading);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-block;
  transition: all var(--transition-base);
}

.btn-cta:hover {
  background-color: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-bg);
  color: var(--color-body);
  border: 1px solid var(--color-border-strong);
}

.btn-secondary:hover {
  background: var(--color-bg-soft);
  border-color: var(--color-border-strong);
}

.btn-full-width {
  width: 100%;
  text-align: center;
}

/* =========================================
   5. THE LIVING LINE (UX ANIMATION)
   ========================================= */
.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 50px;
}

#living-line {
  position: fixed;
  left: calc(50% - 600px + 20px);
  top: 0;
  bottom: 0;
  width: 3px;
  background: #f0f0f0;
  z-index: -1;
}

#living-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  /* JS updates this */
  background: var(--brand-black);
  transition: background 0.5s ease;
}

.node {
  position: absolute;
  left: -38px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 2px #eee;
  transition: all 0.5s ease;
}

.node-black {
  background-color: var(--brand-black);
  border-color: var(--brand-black);
}

.hero-content {
  margin-top: 50px;
}

/* =========================================
   6. PAGE SECTIONS (HOME)
   ========================================= */
section {
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0;
  position: relative;
}

/* Hero */
.hero-tag {
  color: var(--brand-red);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 30px;
  max-width: 900px;
}

.hero-sub {
  font-size: 1.35rem;
  color: var(--text-light);
  max-width: 650px;
  margin-bottom: 50px;
  font-weight: 300;
}

/* Toggle / Silo Breaker */
.toggle-wrapper {
  background: #fafafa;
  padding: 60px;
  border-radius: 24px;
  margin-top: 50px;
  text-align: center;
  border: 1px solid #eee;
}

.silo-visual {
  display: flex;
  justify-content: center;
  gap: 150px;
  margin-bottom: 40px;
  transition: gap 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.silo-circle {
  width: 150px;
  height: 150px;
  background: #e0e0e0;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #888;
  font-family: 'Outfit', sans-serif;
  transition: all 0.5s ease;
  font-size: 0.9rem;
}

.silo-circle span {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 5px;
}

/* Silo Active State */
.silo-visual.merged {
  gap: 15px;
}

.silo-visual.merged .tech {
  background: var(--brand-blue);
  color: white;
  box-shadow: 0 10px 40px rgba(66, 133, 244, 0.4);
}

.silo-visual.merged .mkt {
  background: var(--brand-green);
  color: white;
  box-shadow: 0 10px 40px rgba(52, 168, 83, 0.4);
}

/* Toggle Switch UI */
.switch-label {
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
  color: var(--text-light);
  font-size: 1.1rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--brand-blue);
}

input:checked+.slider:before {
  transform: translateX(26px);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.service-card {
  background: white;
  border: 1px solid #f0f0f0;
  padding: 50px 40px;
  border-radius: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.card-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  background: #f5f5f5;
  color: #666;
}

/* Highlighted card variation */
.service-card.highlight {
  border-color: var(--brand-green);
}

.service-card.highlight .card-pill {
  background: #e6f4ea;
  color: var(--brand-green);
}

/* Contact Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-box {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
}

form label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

input,
textarea,
select {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--brand-green);
}

/* =========================================
   7. BLOG & ARTICLE STYLES
   ========================================= */
/* Blog Filter Bar */
.blog-header {
  padding: 140px 0 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cat-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cat-btn:hover {
  border-color: var(--brand-black);
  transform: translateY(-2px);
}

.cat-btn.active {
  background: var(--brand-black);
  color: white;
  border-color: var(--brand-black);
}

/* Blog Grid */
.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 5% 100px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 40px;
}

.blog-card {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all;
}

/* FOOTER */
footer {
  background: #111;
  color: white;
  padding: 100px 5% 50px;
}

.footer-top {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-left {
  flex: 1;
}

.footer-col-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.footer-mission {
  font-size: 2rem;
  font-family: 'Outfit', sans-serif;
  line-height: 1.3;
}

.footer-mission-label {
  color: #666;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  filter: invert(1) opacity(0.55);
}

.footer-locations {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.footer-locations span {
  color: #888;
  font-size: 0.85rem;
  line-height: 1.4;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-nav-links a {
  color: #666;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-nav-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-social-link {
  color: #555;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: #fff;
}

.footer-social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

/* =========================================
   FOOTER V2 — about.html (scoped, no bleed)
   ========================================= */
footer.footer-v2 {
  padding: 48px 5% 36px;
}

.fv2-inner {
  width: 100%;
  max-width: 960px;
}

.fv2-wordmark {
  margin-bottom: 28px;
}

.fv2-logo-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: invert(1) opacity(0.5);
}

.fv2-rule {
  border: none;
  border-top: 1px solid #1e1e1e;
  margin: 0 0 32px;
}

.fv2-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.35;
  color: #e0e0e0;
  margin: 0 0 32px;
  padding: 0;
  border: none;
  border-left: none;
  background: transparent;
  border-radius: 0;
  max-width: 100%;
  quotes: none;
}

.fv2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.fv2-col-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 16px;
}

.fv2-col-text {
  color: #aaa;
  font-size: 0.875rem;
  line-height: 1.9;
  margin: 0;
}

.fv2-col-country {
  color: #777;
  font-size: 0.78rem;
  margin-top: 3px;
}

.fv2-nav-link {
  display: block;
  color: #999;
  font-size: 0.875rem;
  line-height: 2.2;
  text-decoration: none;
  transition: color 0.2s;
}

.fv2-nav-link:hover {
  color: #fff;
}

.fv2-email-link {
  display: block;
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.fv2-email-link:hover {
  color: #fff;
}

.fv2-social-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.fv2-social-row .footer-social-link svg {
  width: 22px;
  height: 22px;
}

.fv2-copyright {
  color: #666;
  font-size: 0.78rem;
  margin: 0;
}

/* Footer V2 — responsive */
@media (max-width: 768px) {
  footer.footer-v2 {
    padding: 40px 6% 28px;
  }

  .fv2-quote {
    font-size: 1.55rem;
  }

  .fv2-cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .fv2-social-row {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .fv2-quote {
    font-size: 1.3rem;
  }

  .fv2-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .fv2-cols .fv2-col:first-child {
    display: none;
  }

  .fv2-cols .fv2-col:last-child {
    grid-column: 1 / -1;
  }

  .fv2-social-row {
    justify-content: center;
  }
}

/* =========================================
   10. COOKIE POPUP
   ========================================= */
.cookie-wrapper {
  position: fixed;
  bottom: -100px;
  /* Hidden initially (slides up) */
  left: 0;
  width: 100%;
  background: white;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
  padding: 25px 5%;
  z-index: 9999;
  display: none;
  justify-content: space-between;
  align-items: center;
  transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-wrapper.show {
  bottom: 0;
  /* Visible state */
  display: flex;
}

.cookie-content h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.cookie-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  max-width: 600px;
}

.cookie-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-text {
  background: none;
  border: none;
  color: var(--text-light);
  font-weight: 500;
  cursor: pointer;
  font-size: 0.9rem;
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 30px 20px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}

/* Extra styles for success/error messages */
.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  display: none;
  /* Hidden by default */
  font-size: 0.95rem;
  text-align: center;
}

.msg-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.msg-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.input-error {
  border-color: var(--brand-red) !important;
}

.error-text {
  color: var(--brand-red);
  font-size: 0.8rem;
  margin-top: -15px;
  margin-bottom: 15px;
  display: block;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================
   11. BOOKING MODAL
   ========================================= */
.modal-overlay {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  /* Black w/ opacity */
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #000;
}

.modal-summary {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  border: 1px dashed #ccc;
  margin-bottom: 25px;
}

/* =========================================
   12. CLIENT LOGO GRID
   ========================================= */
/* ── Credibility strip ── */
.cred-strip {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 24px;
}

.cred-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cred-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -1px;
}

.cred-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.cred-divider {
  width: 1px;
  height: 40px;
  background: #e0e0e0;
  flex-shrink: 0;
}

/* ── Industry tiles ── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.industry-tile {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.industry-tile:hover {
  border-color: #e0e0e0;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.industry-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.industry-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.industry-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

/* ── Confidentiality note ── */
.confidentiality-note {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 4px;
  font-style: italic;
}

.policy-header {
  padding: 160px 5% 60px;
  background: #f9f9f9;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.policy-date {
  display: inline-block;
  background: white;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid #eee;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 500;
}

.policy-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 5%;
  display: grid;
  grid-template-columns: 280px 1fr;
  /* Sidebar | Content */
  gap: 80px;
  position: relative;
}

/* STICKY SIDEBAR NAV */
.policy-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
  border-right: 1px solid #eee;
  padding-right: 20px;
}

.policy-nav-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-black);
}

.policy-nav ul {
  list-style: none;
}

.policy-nav li {
  margin-bottom: 0;
}

.policy-nav a {
  display: block;
  padding: 10px 0 10px 15px;
  font-size: 0.95rem;
  color: var(--text-light);
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.policy-nav a:hover,
.policy-nav a.active {
  color: var(--brand-blue);
  border-left-color: var(--brand-blue);
  background: linear-gradient(90deg, #f0f7ff 0%, transparent 100%);
  padding-left: 20px;
  font-weight: 500;
}

/* CONTENT TYPOGRAPHY */
.policy-content {
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
  max-width: 800px;
}

.policy-section {
  margin-bottom: 60px;
  scroll-margin-top: 140px;
}

/* scroll-margin fixes sticky header overlap */

.policy-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--brand-black);
}

.policy-section h3 {
  font-size: 1.3rem;
  margin: 30px 0 15px;
}

.policy-section p {
  margin-bottom: 20px;
  color: #444;
}

.policy-section ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #444;
}

.policy-section li {
  margin-bottom: 10px;
}

/* CONTACT BOX IN CONTENT */
.policy-contact-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 30px;
  border-radius: 12px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .policy-sidebar {
    display: none;
  }

  /* Hide TOC on mobile for simplicity */
  .policy-header {
    padding-top: 120px;
  }
}

/* --- HEADER --- */
header {
  padding: 180px 5% 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
}

/* --- FILTER BAR (The "Knowledge Graph") --- */
.filter-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cat-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cat-btn:hover {
  border-color: var(--brand-black);
  transform: translateY(-2px);
}

.cat-btn.active {
  background: var(--brand-black);
  color: white;
  border-color: var(--brand-black);
}

/* --- BLOG GRID --- */
.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 5% 100px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 40px;
  position: relative;
}

/* The Vertical Line on the Left */
.blog-line {
  position: absolute;
  left: 5%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #f0f0f0;
  display: none;
  /* Only show on larger screens if desired layout shifts */
}

/* CARD DESIGN */
.blog-card {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-blue);
}

.card-image {
  height: 220px;
  background: #eee;
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .card-image img {
  transform: scale(1.05);
}

/* Category Tag on Image */
.card-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 10px;
  display: block;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.3;
  color: #111;
}

.card-excerpt {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 25px;
  flex-grow: 1;
}

.read-more {
  font-weight: 600;
  color: var(--brand-black);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.read-more span {
  transition: transform 0.3s ease;
}

.blog-card:hover .read-more span {
  transform: translateX(5px);
}

/* Specific Tag Colors */
.tag-articles {
  color: var(--brand-blue);
}

.tag-case-study {
  color: var(--brand-green);
}

.tag-guides {
  color: var(--brand-yellow);
}

.tag-downloads {
  color: var(--brand-red);
}

.tag-news {
  color: #888;
}

/* =========================================
   ABOUT PAGE
   ========================================= */
body.about-page {
  background: linear-gradient(to top right, #d4d4d4 0%, #ffffff 65%);
  background-attachment: fixed;
}

/* =========================================
   404 ERROR PAGE
   ========================================= */
.error-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 5%;
}

.error-inner {
  max-width: 580px;
}

.error-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.error-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.error-dot.r { background: var(--brand-red); }
.error-dot.b { background: var(--brand-blue); }
.error-dot.y { background: var(--brand-yellow); }
.error-dot.g { background: var(--brand-green); }

.error-code {
  font-family: 'Outfit', sans-serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: #f0f0f0;
  letter-spacing: -4px;
  margin-bottom: 0;
  position: relative;
}

.error-code span { color: var(--brand-blue); }

.error-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  color: #111;
  margin-bottom: 16px;
  margin-top: -10px;
}

.error-sub {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 1px solid #ddd;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.error-link:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.error-divider {
  width: 40px;
  height: 3px;
  background: #f0f0f0;
  margin: 36px auto;
  border-radius: 2px;
}

.error-suggest {
  font-size: 0.82rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.error-nav-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-nav-link {
  font-size: 0.88rem;
  color: #555;
  font-weight: 500;
  transition: color 0.2s;
}

.error-nav-link:hover { color: var(--brand-blue); }

/* RESPONSIVE */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  header {
    padding-top: 120px;
  }

  section {
    margin: 0px 15px 0px 0px;
  }

  .blog-container {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2rem !important;
  }

  .timeline-container {
    padding-left: 25px;
  }

  #living-line {
    left: 15px !important;
  }

  .node {
    width: 14px;
    height: 14px;
    left: -32px;
  }

  .flex-gap {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .node {
    width: 14px;
    height: 14px;
    left: -16px;
  }

}

/* Overlay Background */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  /* Hidden by default */
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* The Main Card */
.popup-container {
  background-color: #2b3137;
  /* Dark Grey like screenshot */
  color: white;
  width: 90%;
  max-width: 600px;
  padding: 40px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  font-family: 'Outfit', sans-serif;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

/* Visible State Animation */
.popup-overlay.show {
  opacity: 1;
}

.popup-overlay.show .popup-container {
  transform: translateY(0);
}

/* Skip Button (Top Right) */
.popup-skip-btn {
  position: absolute;
  top: -40px;
  right: 0;
  background: #111;
  color: white;
  border: 1px solid #444;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}

.popup-skip-btn:hover {
  background: #333;
}

/* Content Typography */
.popup-title {
  color: #d0d7de;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.1;
}

.popup-text {
  color: #d0d7de;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Form Styles */
.popup-form {
  display: flex;
  gap: 10px;
}

.popup-input {
  flex-grow: 1;
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #0d1117;
  color: white;
  font-size: 1rem;
  outline: none;
}

.popup-input:focus {
  border-color: #4285F4;
  /* Brand Blue */
}

.popup-submit-btn {
  background: white;
  color: #1a1a1a;
  border: none;
  height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.popup-submit-btn:hover {
  background: #34A853;
  color: white;
  transform: scale(1.03);
}

.popup-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.popup-disclaimer {
  margin-top: 12px;
  font-size: 0.78rem;
  color: #7a8390;
  line-height: 1.4;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .popup-title {
    font-size: 1.8rem;
  }

  .popup-skip-btn {
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
  }

  .popup-container {
    padding: 30px 20px;
  }

  .popup-form {
    flex-direction: column;
  }

  .popup-submit-btn {
    width: 100%;
  }
}

#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--brand-blue, #0d6efd);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* --- ARTICLE HEADER --- */
.img-article-header {
  width: 100%;
}

.article-header {
  max-width: 800px;
  margin: 140px auto 60px;
  padding: 0 20px;
  text-align: center;
}

.meta-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #eef2ff;
  color: var(--brand-blue);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-title {
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.article-meta {
  color: #888;
  font-size: 1rem;
}

/* --- MAIN LAYOUT (Sidebar + Content) --- */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 80px;
  padding: 0 5% 100px;
  position: relative;
}

/* STICKY TOC (Table of Contents) */
aside {
  position: relative;
}

.toc-sticky {
  position: sticky;
  top: 120px;
}

.toc-header {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 15px;
  font-weight: 600;
}

.toc-list {
  list-style: none;
  border-left: 2px solid #eee;
}

.toc-list li {
  margin-bottom: 0;
}

.toc-list a {
  display: block;
  padding: 8px 0 8px 20px;
  font-size: 0.9rem;
  color: #666;
  border-left: 2px solid transparent;
  margin-left: -2px;
}

.toc-list a:hover,
.toc-list a.active {
  color: var(--brand-blue);
  border-left-color: var(--brand-blue);
  font-weight: 500;
}

/* ARTICLE BODY */
article {
  font-size: 1.15rem;
  color: #333;
}

article p {
  margin-bottom: 30px;
}

article h2 {
  font-size: 2rem;
  margin-top: 60px;
  margin-bottom: 25px;
}

article h3 {
  font-size: 1.5rem;
  margin-top: 0px;
}

/* Strategic Blockquote */
blockquote {
  border-left: 4px solid var(--brand-green);
  padding-left: 30px;
  margin: 40px 0;
  font-size: 1.4rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: #111;
  background: #f9fdfa;
  padding: 40px;
  border-radius: 0 12px 12px 0;
}

/* Code Block Mockup */
.code-block {
  background: #1a1a1a;
  color: #eee;
  padding: 25px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.9rem;
  margin: 30px 0;
  overflow-x: auto;
}

/* AUTHOR BOX (The "Principal" Pitch) */
.author-box {
  margin-top: 80px;
  padding: 50px;
  background: #f9f9f9;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 30px;
  border: 1px solid #eee;
}

.author-img {
  width: 100px;
  height: 100px;
  background: #ddd url("../images/saikat_mitra.jpg") no-repeat 50% 50%;
  border-radius: 50%;
  flex-shrink: 0;
}

.author-text h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.author-text p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

.btn-author {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-blue);
}

/* Ensure the form fits the timeline padding */
/* --- CONTACT PAGE SPECIFIC CSS --- */

.contact-section {
  padding-bottom: 80px;
}

/* The Main Container Card */
.executive-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  margin-top: 30px;
  display: flex;
  overflow: hidden;
}

/* --- Left Column: Info Panel --- */
.info-panel {
  background-color: #f8fafc;
  width: 35%;
  padding: 50px 40px;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #0f172a;
}

.info-header p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

.info-item {
  margin-bottom: 30px;
}

.info-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
}

.info-value {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #334155;
  font-weight: 500;
}

.info-highlight {
  background: #e0f2fe;
  color: #0284c7;
  padding: 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  margin-top: auto;
}

.info-highlight svg {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

/* --- Right Column: Form Area --- */
.form-panel {
  width: 65%;
  padding: 50px;
}

/* Input Styling (Estimate Style) */
.input-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
}

.input-wrapper label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-control {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 15px;
  color: #1e293b;
  transition: all 0.2s ease;
  outline: none;
  width: 100%;
}

.form-control:focus {
  border-color: var(--brand-blue, #0d6efd);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

/* Internal Grid for Form Fields */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.full-width {
  grid-column: span 2;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

/* Validation Colors */
.input-wrapper.error .form-control {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.input-wrapper.error label {
  color: #ef4444;
}

/* Button */
.submit-btn {
  background-color: var(--brand-black, #111);
  color: white;
  padding: 14px 35px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s;
  float: right;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* =========================================
   HOMEPAGE: WHO THIS IS FOR
   ========================================= */
.who-is-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.who-is-for-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 22px 22px;
  transition: all 0.3s ease;
}

.who-is-for-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border-color: var(--brand-green);
  transform: translateY(-2px);
}

.who-check-badge {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: #f0fdf4;
  border: 2px solid var(--brand-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--brand-green);
  font-weight: 700;
}

.who-is-for-card p {
  font-size: 0.93rem;
  color: #333;
  line-height: 1.55;
  margin: 0;
  padding-top: 5px;
  font-weight: 500;
}

/* =========================================
   HOMEPAGE: SYSTEM FLOW STRIP
   ========================================= */
.system-flow-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: #111;
  border-radius: 16px;
  padding: 36px 40px;
  margin-top: 50px;
}

.sf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
}

.sf-icon {
  font-size: 1.4rem;
}

.sf-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

.sf-step.active .sf-label {
  color: var(--brand-green);
}

.sf-arrow {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1rem;
  padding: 0 4px;
  align-self: center;
  flex-shrink: 0;
}

/* =========================================
   HOMEPAGE REFACTOR: NEW COMPONENTS
   ========================================= */

/* --- Positioning Strip (below hero CTAs) --- */
.positioning-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e8e8e8;
  flex-wrap: wrap;
}

.pos-item {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #888;
  letter-spacing: 0.5px;
}

.pos-divider {
  width: 5px;
  height: 5px;
  background: var(--brand-red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Problems Grid --- */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 0;
}

.problem-card {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 40px 35px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-red);
}

.problem-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #f0f0f0;
  line-height: 1;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #111;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* --- Process Grid --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 0;
  counter-reset: none;
}

.process-step {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 40px 35px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-yellow);
}

/* Top accent bar on hover */
.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-yellow);
  border-radius: 16px 16px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.process-step:hover::before {
  transform: scaleX(1);
}

.step-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #f0f0f0;
  line-height: 1;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #111;
}

.process-step p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* --- Service Problem Line --- */
.service-problem {
  font-size: 0.88rem;
  color: #999;
  margin-top: 16px;
  padding: 10px 14px;
  background: #fafafa;
  border-radius: 8px;
  border-left: 3px solid #e0e0e0;
  line-height: 1.5;
}

.service-card.highlight .service-problem {
  border-left-color: var(--brand-green);
  background: #f2faf4;
}

/* --- Testimonials Grid --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 36px 30px 28px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-quote-mark {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand-blue);
  opacity: 0.25;
  margin-bottom: 8px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 20px;
}

.testimonial-attribution {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #111;
  margin-bottom: 14px;
}

.testimonial-sector {
  display: inline-block;
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.3px;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- Differentiators Grid --- */
.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.diff-card {
  background: white;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 40px 35px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
}

.diff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-green);
}

.diff-accent {
  width: 32px;
  height: 4px;
  background: var(--brand-green);
  border-radius: 2px;
  margin-bottom: 20px;
}

.diff-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #111;
}

.diff-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* --- Responsive: new components on mobile --- */
@media (max-width: 768px) {
  .positioning-strip {
    gap: 14px;
    margin-top: 40px;
    padding-top: 30px;
  }

  .pos-item {
    font-size: 0.9rem;
  }

  .problems-grid,
  .process-grid,
  .differentiators-grid {
    grid-template-columns: 1fr;
  }

  .problem-card,
  .process-step,
  .diff-card {
    padding: 30px 25px;
  }
}

/* ============================================
           PAGE-SPECIFIC STYLES: Digital Strategy Page
           ============================================ */

/* Framework Cards — base */
.framework-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.framework-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 35px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 4px solid var(--brand-blue);
}

.framework-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

/* Framework card color variants */
.framework-card.green {
  border-left-color: var(--brand-green);
}

.framework-card.yellow {
  border-left-color: #f59e0b;
}

.framework-card.purple {
  border-left-color: #8b5cf6;
}

.framework-card.red {
  border-left-color: var(--brand-red);
}

.framework-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.framework-tag {
  display: inline-block;
  background: #f0f7ff;
  color: var(--brand-blue);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.framework-card.green .framework-tag {
  background: #ecfdf5;
  color: var(--brand-green);
}

.framework-card.yellow .framework-tag {
  background: #fffbeb;
  color: #f59e0b;
}

.framework-card.purple .framework-tag {
  background: #f3e8ff;
  color: #8b5cf6;
}

.framework-card.red .framework-tag {
  background: #fef2f2;
  color: var(--brand-red);
}

.framework-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

.framework-card ul {
  margin-top: 15px;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Strategic Path Timeline */
.strategic-path {
  margin: 60px 0;
  position: relative;
}

.path-item {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  align-items: flex-start;
}

.path-item.right {
  flex-direction: row-reverse;
}

.path-number {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  background: var(--brand-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.path-item.right .path-number {
  background: var(--brand-green);
}

.path-content {
  flex: 1;
  padding: 25px 30px;
  background: #f9fafb;
  border-radius: 12px;
  border-left: 3px solid var(--brand-blue);
}

.path-item.right .path-content {
  border-left: none;
  border-right: 3px solid var(--brand-green);
}

.path-content h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.path-content p {
  color: #666;
  margin: 8px 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.path-content .timeline-badge {
  display: inline-block;
  background: var(--brand-blue);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 12px;
}

.path-item.right .path-content .timeline-badge {
  background: var(--brand-green);
}

/* Outcomes Grid (replaces fake ROI metrics) */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.outcome-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px 25px;
  border-top: 4px solid var(--brand-green);
  transition: all 0.3s ease;
}

.outcome-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

.outcome-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #111;
}

.outcome-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.strategy-cta {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #3b82f6 100%);
  color: white;
  padding: 70px 50px;
  border-radius: 16px;
  text-align: center;
  margin: 80px 0;
}

.strategy-cta h2 {
  margin-bottom: 16px;
  color: white;
  font-size: 2rem;
}

.strategy-cta p {
  opacity: 0.95;
  margin-bottom: 35px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* AI support highlight box */
.ai-callout {
  background: #f8faff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 30px 35px;
  margin-top: 50px;
  border-left: 4px solid var(--brand-blue);
}

.ai-callout h4 {
  font-size: 1rem;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.ai-callout p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* What I do cards — used in "Where I Come In" */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.role-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px 28px;
  border-top: 4px solid var(--brand-blue);
  transition: all 0.3s ease;
}

.role-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

.role-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.role-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #111;
}

.role-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .framework-grid {
    grid-template-columns: 1fr;
  }

  .path-item,
  .path-item.right {
    flex-direction: column;
    align-items: stretch;
  }

  .path-content,
  .path-item.right .path-content {
    border-left: 3px solid var(--brand-blue);
    border-right: none;
  }

  .outcomes-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .strategy-cta {
    padding: 50px 30px;
  }
}

/* ================================================
		   PAGE: Digital Systems & Execution Support
		   ================================================ */

/* Result callout */
.result-callout {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-left: 5px solid var(--brand-red);
  border-radius: 12px;
  padding: 24px 30px;
  margin-top: 40px;
}

.result-callout strong {
  color: var(--brand-red);
  font-size: 1rem;
}

.result-callout p {
  color: #555;
  font-size: 0.95rem;
  margin: 6px 0 0;
  line-height: 1.6;
}

/* Bridge positioning block */
.bridge-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin: 50px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eee;
}

.bridge-side {
  padding: 40px 35px;
  background: #fafafa;
}

.bridge-side.right {
  background: #f0f7ff;
}

.bridge-side h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bridge-side ul {
  color: #666;
  font-size: 0.93rem;
  line-height: 2;
}

.bridge-side ul li::before {
  content: '✕ ';
  color: var(--brand-red);
  font-weight: 700;
}

.bridge-side.right ul li::before {
  content: '✓ ';
  color: var(--brand-green);
}

.bridge-center {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-blue);
  padding: 30px 24px;
  min-width: 140px;
}

.bridge-center-content {
  text-align: center;
  color: white;
}

.bridge-center-content .bridge-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.bridge-center-content span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  line-height: 1.4;
}

/* How I work cards */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.how-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 32px 26px;
  border-top: 4px solid var(--brand-blue);
  transition: all 0.3s ease;
}

.how-card:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.how-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.how-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #111;
}

.how-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

/* Systems component cards */
.systems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}

.system-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 40px 35px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.system-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.system-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.system-card:hover::before {
  transform: scaleX(1);
}

.system-card.green::before {
  background: var(--brand-green);
}

.system-card.yellow::before {
  background: #f59e0b;
}

.system-card.red::before {
  background: var(--brand-red);
}

.system-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.system-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #111;
}

.system-card>p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 0;
}

.system-meta {
  margin-top: 20px;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.meta-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
}

.meta-label {
  font-weight: 600;
  color: #111;
  min-width: 80px;
  flex-shrink: 0;
}

.meta-text {
  color: #666;
  line-height: 1.5;
}

.meta-row.outcome .meta-label {
  color: var(--brand-green);
}

/* Execution model — 4-step vertical flow */
.exec-flow {
  margin-top: 50px;
  position: relative;
}

.exec-step {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 10px;
  position: relative;
}

.exec-step:not(:last-child) .exec-line {
  position: absolute;
  left: 27px;
  top: 56px;
  width: 2px;
  height: calc(100% + 10px);
  background: #e8e8e8;
  z-index: 0;
}

.exec-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.exec-body {
  flex: 1;
  background: white;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 28px 30px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.exec-body:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  border-color: var(--brand-blue);
}

.exec-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #111;
}

.exec-body p {
  font-size: 0.93rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

.exec-callout {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--brand-blue);
  border-radius: 10px;
  padding: 18px 24px;
  margin-top: 30px;
  font-size: 0.95rem;
  color: #1e40af;
  font-style: italic;
}

/* Use case cards */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 50px;
}

.case-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 34px 28px;
  transition: all 0.3s ease;
}

.case-card:hover {
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: var(--brand-blue);
}

.case-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
  background: #f0f7ff;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #111;
}

.case-card p {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

.case-result {
  margin-top: 16px;
  padding: 10px 14px;
  background: #f0fdf4;
  border-radius: 8px;
  border-left: 3px solid var(--brand-green);
  font-size: 0.87rem;
  color: #166534;
  font-weight: 500;
}

/* Differentiator cards */
.diff-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 44px;
}

.diff5-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 34px 28px;
  transition: all 0.3s ease;
}

.diff5-card:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
  border-color: var(--brand-blue);
}

.diff5-accent {
  width: 36px;
  height: 4px;
  background: var(--brand-blue);
  border-radius: 2px;
  margin-bottom: 20px;
}

.diff5-card h3 {
  font-size: 1.02rem;
  margin-bottom: 10px;
  color: #111;
}

.diff5-card p {
  font-size: 0.91rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

/* "Who this is for" list */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.who-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s ease;
}

.who-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

.who-check {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #f0fdf4;
  border: 2px solid var(--brand-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--brand-green);
  font-weight: 700;
}

.who-card p {
  font-size: 0.93rem;
  color: #444;
  line-height: 1.6;
  margin: 0;
  padding-top: 4px;
}

/* Final CTA */
.exec-cta {
  background: linear-gradient(135deg, #1e3a5f 0%, #1a2e4a 100%);
  color: white;
  padding: 80px 50px;
  border-radius: 20px;
  text-align: center;
  margin: 80px 0;
}

.exec-cta h2 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.exec-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ADDED: Authority strip */
.authority-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding: 20px 30px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
}

.authority-strip .auth-item {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #555;
}

.authority-strip .auth-dot {
  width: 5px;
  height: 5px;
  background: var(--brand-blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ADDED: Strategic statement block */
.strategy-statement {
  background: #111;
  color: white;
  border-radius: 16px;
  padding: 40px 50px;
  margin-top: 60px;
  text-align: center;
}

.strategy-statement p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.strategy-statement strong {
  color: white;
  font-weight: 700;
}

/* ADDED: Connection flow */
.connection-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 50px 0 30px;
  padding: 40px;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 16px;
}

.conn-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
}

.conn-step-icon {
  font-size: 1.5rem;
}

.conn-step-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #111;
  white-space: nowrap;
}

.conn-arrow {
  color: #ccc;
  font-size: 1.2rem;
  padding: 0 4px;
  flex-shrink: 0;
  align-self: center;
}

.conn-step.active .conn-step-label {
  color: var(--brand-green);
}

/* ADDED: "What You Get" deliverables section */
.deliverables-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 22px 22px;
  transition: all 0.3s ease;
}

.deliverable-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border-color: var(--brand-green);
  transform: translateY(-2px);
}

.deliverable-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #f0fdf4;
  border: 2px solid var(--brand-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.deliverable-item p {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.55;
  margin: 0;
  padding-top: 6px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .systems-grid {
    grid-template-columns: 1fr;
  }

  .bridge-block {
    grid-template-columns: 1fr;
  }

  .bridge-center {
    padding: 20px;
    min-width: unset;
  }

  .exec-cta {
    padding: 50px 24px;
  }

  .exec-cta h2 {
    font-size: 1.7rem;
  }
}

/* ============================================
		   PAGE-SPECIFIC STYLES: Growth & Funnel Page
		   ============================================ */

/* Performance metrics bar (dark background strip) */
.metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: #111;
  color: white;
  padding: 40px;
  border-radius: 16px;
  margin-bottom: 50px;
  text-align: center;
}

.metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-green);
  display: block;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.85rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Campaign cards */
.campaign-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.campaign-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 32px 30px;
  border-radius: 12px;
  border-left: 4px solid var(--brand-blue);
  transition: all 0.3s ease;
}

.campaign-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

.campaign-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.campaign-card p {
  color: #666;
  font-size: 0.93rem;
  line-height: 1.65;
  margin: 0;
}

.campaign-tag {
  display: inline-block;
  background: #f0f7ff;
  color: var(--brand-blue);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* "Where I Add Value" cards */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 30px 28px;
  border-top: 4px solid var(--brand-green);
  transition: all 0.3s ease;
}

.value-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

.value-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
  display: block;
}

.value-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #111;
}

.value-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Final CTA box */
.growth-cta {
  background: linear-gradient(135deg, var(--brand-green) 0%, #2d9147 100%);
  color: white;
  padding: 70px 50px;
  border-radius: 16px;
  text-align: center;
  margin: 80px 0;
}

.growth-cta h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 16px;
}

.growth-cta p {
  opacity: 0.95;
  margin-bottom: 35px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .metrics-bar {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .campaign-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .growth-cta {
    padding: 50px 28px;
  }
}

/* 2. Mobile Breakpoint (Tablets & Phones) */
@media (max-width: 768px) {

  h1 {
    font-size: 2.5rem !important;
  }

  section {
    padding: 100px 10px;
  }

  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .toc-sticky {
    display: none;
  }

  /* Hide TOC on mobile */
  .article-title {
    font-size: 2.2rem;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
    /* Show hamburger */
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 1000;

    /* Animation State: Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  /* Active State (When menu is open) */
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Make links bigger on mobile */
  .nav-link-back {
    font-size: 1.2rem;
  }

  .btn-cta {
    width: 80%;
    text-align: center;
    padding: 15px;
    font-size: 1rem;
  }

  /* 3. Hamburger Animation to 'X' */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .cred-strip {
    gap: 16px;
  }

  .cred-divider {
    display: none;
  }

  /* Target the bottom bar of the footer */
  footer>div:last-child {
    /* This flips the order: Links go to top, Copyright goes to bottom */
    flex-direction: column-reverse !important;

    /* Center everything */
    align-items: center !important;
    text-align: center !important;

    /* Add space between the links and the copyright */
    gap: 20px !important;
  }

  /* Optional: Add some breathing room to the links */
  footer>div:last-child span:last-child {
    margin-bottom: 5px;
    display: block;
  }

  .toggle-wrapper {
    background: #fafafa;
    padding: 2px;
    border-radius: 24px;
    margin-top: 50px;
    text-align: center;
    border: 1px solid #eee;
  }

  /* Target the tile grid in the Estimator page */
  .tile-grid {
    /* Force 2 equal columns */
    grid-template-columns: repeat(2, 1fr) !important;

    /* Reduce gap to save space */
    gap: 10px !important;
  }

  /* Make tiles more compact for mobile */
  .select-tile {
    padding: 15px 10px !important;
    /* Less padding */
  }

  .tile-icon {
    font-size: 1.5rem !important;
    /* Smaller icon */
    margin-bottom: 5px !important;
  }

  .tile-name {
    font-size: 0.85rem !important;
    /* Smaller text */
  }

  /* Adjust the checkmark position */
  .check-icon {
    top: 5px !important;
    right: 5px !important;
  }

  /* 1. Stack the columns vertically */
  .contact-layout {
    grid-template-columns: 1fr !important;
    gap: 50px;
  }

  /* 2. Fix order: Show Info box FIRST, then Form (Optional, remove 'order' to keep Form first) */
  /* .contact-info-box { order: -1; } */

  /* 3. Reduce Header Padding */
  .contact-hero {
    padding-top: 120px;
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* 4. Contact page*/
  .executive-card {
    flex-direction: column;
    /* Stack columns */
  }

  .info-panel,
  .form-panel {
    width: 100%;
    border-right: none;
  }

  .info-panel {
    border-bottom: 1px solid #e5e7eb;
    padding: 30px;
  }

  .form-panel {
    padding: 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    /* Single column fields on mobile */
  }

  .full-width {
    grid-column: span 1;
  }

  .submit-btn {
    width: 100%;
    float: none;
  }
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 5% 80px;
}

.about-page-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.about-wrap>h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.about-rule {
  width: 40px;
  height: 3px;
  background: var(--brand-blue);
  border-radius: 2px;
  margin: 18px 0 32px;
}

/* Profile block */
.about-profile {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.about-avatar {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-intro-text {
  flex: 1;
}

.about-intro-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  font-weight: 300;
  margin: 0 0 12px;
}

.about-intro-text p:last-child {
  margin-bottom: 0;
}

/* Divider */
.about-divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 32px 0;
}

/* Perspective block */
.about-perspective {
  background: #fafafa;
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin-bottom: 32px;
}

.about-perspective p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 8px;
}

.about-perspective p:last-child {
  margin-bottom: 0;
}

/* Soft CTA */
.about-cta {
  text-align: center;
  padding: 36px 28px;
  background: #f7f9ff;
  border-radius: 14px;
  border: 1px solid #e8eef8;
}

.about-cta p {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 22px;
  font-weight: 300;
}

@media (max-width: 600px) {
  .about-profile {
    flex-direction: column;
    gap: 20px;
  }

  .about-avatar {
    width: 90px;
    height: 90px;
  }

  .about-wrap>h1 {
    font-size: 1.8rem;
  }
}

/* =========================================
   HOMEPAGE: FINAL CTA SECTION
   ========================================= */
.growth-cta-section {
  background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.growth-cta-node {
  background: white;
  border-color: #ccc;
}

.growth-cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.growth-cta-heading {
  margin-bottom: 20px;
}

.growth-cta-text {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.growth-cta-actions {
  justify-content: center;
  align-items: center;
}

.growth-cta-link {
  margin-left: 25px;
  font-weight: 600;
  color: var(--brand-black);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: border 0.3s;
}

.growth-cta-link:hover {
  border-bottom-color: var(--brand-black);
}

/* =========================================
   HOMEPAGE: TESTIMONIAL SLIDER — Editorial / Premium
   ========================================= */
:root {
  --t-gold: #b8956f;
  --t-gold-soft: rgba(184, 149, 107, 0.18);
  --t-ink: #1a1a1a;
  --t-paper: #faf7f2;
}

.testimonial-section {
  background: #fafafa;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.growth-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

.testimonial-slider-wrap {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-eyebrow {
  color: var(--t-gold);
  letter-spacing: 3px;
  font-size: 0.75rem;
  margin-bottom: 18px;
}

.testimonial-slider-heading {

  font-size: 2.4rem;
  letter-spacing: -0.5px;
  margin-bottom: 60px;
  color: var(--t-ink);
}

.testimonial-slider-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: var(--t-gold);
  margin: 20px auto 0;
}

/* Slider viewport — soft warm gradient backdrop, no hard box */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  background:
    radial-gradient(ellipse at top left, rgba(184, 149, 107, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(184, 149, 107, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--t-paper) 100%);
  border-radius: 28px;
  box-shadow:
    0 40px 80px -30px rgba(184, 149, 107, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(184, 149, 107, 0.15);
}

/* Decorative corner marks — fine gold brackets */
.testimonial-slider::before,
.testimonial-slider::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--t-gold-soft);
  border-style: solid;
  border-width: 0;
  pointer-events: none;
  z-index: 3;
}

.testimonial-slider::before {
  top: 24px;
  left: 24px;
  border-top-width: 1px;
  border-left-width: 1px;
}

.testimonial-slider::after {
  bottom: 24px;
  right: 24px;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

/* Each slide — no border, no background, floats on slider bg */
.testimonial-slide {
  position: absolute;
  inset: 0;
  padding: 80px 90px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s ease;
  will-change: transform, opacity;
}

.testimonial-slide.is-enter {
  transform: translateX(100%);
  opacity: 0;
}

.testimonial-slide.is-active {
  transform: translateX(0);
  opacity: 1;
  z-index: 2;
}

.testimonial-slide.is-exit {
  transform: translateX(-100%);
  opacity: 0;
  z-index: 1;
}

/* Giant decorative watermark quote mark */
.t-watermark {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 11rem;
  line-height: 1;
  color: var(--t-gold);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Sector pill — subtle gold, top-right */
.testimonial-slide .testimonial-sector {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  color: var(--t-gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid var(--t-gold-soft);
  border-radius: 20px;
  z-index: 3;
}

/* Quote text — editorial serif italic, the hero element */
.testimonial-slide .testimonial-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.65;
  color: #2a2a2a;
  max-width: 680px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.1px;
}

/* Decorative divider — thin gold line with end dots */
.testimonial-flourish {
  position: relative;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--t-gold), transparent);
  margin: 0 auto 32px;
  z-index: 1;
}

.testimonial-flourish::before,
.testimonial-flourish::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--t-gold);
  transform: translateY(-50%);
}

.testimonial-flourish::before {
  left: -10px;
}

.testimonial-flourish::after {
  right: -10px;
}

/* Attribution footer */
.testimonial-footer {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: white;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 2px solid white;
  outline: 1px solid var(--t-gold-soft);
  outline-offset: 2px;
}

.avatar-red {
  background: linear-gradient(135deg, #EA4335, #d97706);
}

.avatar-blue {
  background: linear-gradient(135deg, #4285F4, #7c3aed);
}

.avatar-green {
  background: linear-gradient(135deg, #34A853, #0ea5e9);
}

.testimonial-attribution {
  text-align: left;
}

/* Handwritten signature — the personal touch */
.testimonial-signature {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: var(--t-ink);
  line-height: 1;
  margin-bottom: 2px;
}

.testimonial-meta-line {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #888;
  letter-spacing: 0.3px;
  font-weight: 400;
}

.testimonial-meta-line em {
  font-style: italic;
  color: #aaa;
}

/* Dots — thin elegant */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.testimonial-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4c4af;
  cursor: pointer;
  transition: all 0.4s ease;
}

.testimonial-dot:hover {
  background: var(--t-gold);
}

.testimonial-dot.is-active {
  background: var(--t-gold);
  width: 28px;
  border-radius: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .testimonial-slider-heading {
    font-size: 1.75rem;
  }

  .testimonial-slider {
    min-height: 560px;
    border-radius: 20px;
  }

  .testimonial-slider::before,
  .testimonial-slider::after {
    width: 24px;
    height: 24px;
  }

  .testimonial-slider::before {
    top: 16px;
    left: 16px;
  }

  .testimonial-slider::after {
    bottom: 16px;
    right: 16px;
  }

  .testimonial-slide {
    padding: 70px 28px 50px;
  }

  .t-watermark {
    font-size: 7rem;
    top: 20px;
  }

  .testimonial-slide .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .testimonial-slide .testimonial-sector {
    top: 20px;
    right: 20px;
    font-size: 0.6rem;
    padding: 4px 10px;
  }

  .testimonial-avatar {
    width: 52px;
    height: 52px;
    font-size: 1rem;
  }

  .testimonial-signature {
    font-size: 1.6rem;
  }

  .testimonial-meta-line {
    font-size: 0.72rem;
  }
}

/* =========================================
   INSIGHT DETAIL PAGE (www/pages/insight/insight_info.php)
   ========================================= */

/* ── Article header ── */
.insight-header {
  max-width: 800px;
  margin: 140px auto 50px;
  padding: 0 20px;
}

.insight-type-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}

.insight-header h1 {
  font-size: 3rem;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.insight-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.5;
}

.insight-meta {
  color: #888;
  font-size: 0.95rem;
}

.insight-meta span+span::before {
  content: ' · ';
  margin: 0 6px;
}

/* ── Hero image ── */
.insight-hero-image {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.insight-hero-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* ── Pullquote ── */
.insight-quote {
  max-width: 800px;
  margin: 40px auto;
  padding: 28px 36px;
  border-left: 4px solid var(--brand-blue);
  background: #f7f9ff;
  border-radius: 0 12px 12px 0;
  font-size: 1.1rem;
  color: #333;
  font-style: italic;
  line-height: 1.7;
}

/* ── Body content ── */
.insight-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 80px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #333;
}

.insight-body h2 {
  font-size: 1.7rem;
  margin-top: 52px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.insight-body h3 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: #222;
}

.insight-body p {
  margin-bottom: 24px;
}

.insight-body ul,
.insight-body ol {
  margin: 0 0 24px 24px;
}

.insight-body li {
  margin-bottom: 8px;
  list-style: disc;
}

.insight-body ol li {
  list-style: decimal;
}

.insight-body a {
  color: var(--brand-blue);
  text-decoration: underline;
}

.insight-body strong {
  color: #111;
}

.insight-body img {
  max-width: 100%;
  border-radius: 10px;
  margin: 20px 0;
}

.insight-body blockquote {
  border-left: 3px solid var(--brand-blue);
  margin: 30px 0;
  padding: 12px 24px;
  background: #f7f9ff;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
}

/* ── Type-specific variants ── */
.type-case .insight-body h2 {
  position: relative;
  padding-left: 18px;
  border-bottom: none;
  margin-top: 60px;
}

.type-case .insight-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: calc(100% - 6px);
  background: var(--brand-green);
  border-radius: 3px;
}

.type-guide .insight-body h2 {
  background: #f9fafb;
  padding: 14px 20px;
  border-radius: 8px;
  border-left: 4px solid var(--brand-yellow);
  border-bottom: none;
  margin-top: 52px;
}

.type-update .insight-body {
  font-size: 1rem;
  line-height: 1.75;
}

.type-update .insight-body h2 {
  margin-top: 36px;
}

/* ── Download CTA (inline resource card) ── */
.download-cta {
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 32px;
  background: #f7f9ff;
  border: 1px solid #dce8ff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.download-cta-icon {
  font-size: 2.8rem;
  color: #EA4335;
  flex-shrink: 0;
}

.download-cta-text h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.download-cta-text p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 12px 24px;
  background: var(--brand-blue);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-download:hover {
  background: #0d47a1;
  color: white;
}

/* ── Password gate ── */
.password-gate {
  max-width: 500px;
  margin: 160px auto 100px;
  padding: 48px 40px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.password-gate .gate-icon {
  width: 64px;
  height: 64px;
  background: #f0f4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.password-gate h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.password-gate p {
  color: #666;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.password-gate input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

.password-gate input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.12);
}

.btn-unlock {
  width: 100%;
  padding: 12px;
  background: var(--brand-blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-unlock:hover {
  background: #0d47a1;
}

.gate-error {
  margin-top: 12px;
  color: #EA4335;
  font-size: 0.9rem;
}

/* ── Author box (moved from inline styles) ── */
.insight-author-box {
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.insight-author-card {
  padding: 40px;
  background: #f9f9f9;
  border-radius: 14px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.insight-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e5e7eb;
}

.insight-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.insight-author-info {
  flex: 1;
  min-width: 200px;
}

.insight-author-info h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.insight-author-info p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ── Next Steps: split-card post-article CTA ── */
.insight-next-steps {
  max-width: 1040px;
  margin: 40px auto 100px;
  padding: 0 20px;
}

.insight-next-steps-header {
  text-align: center;
  margin-bottom: 36px;
}

.insight-next-steps-eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  color: var(--brand-blue);
  font-weight: 700;
  margin-bottom: 10px;
}

.insight-next-steps h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.insight-next-steps-intro {
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

.next-steps-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.next-step-card {
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.next-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.1);
}

.next-step-card--primary {
  background: linear-gradient(135deg, #0d47a1 0%, #1a237e 100%);
  color: white;
}

.next-step-card--primary::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(251, 188, 5, 0.18);
  pointer-events: none;
}

.next-step-card--secondary {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  color: #1a1a1a;
}

.next-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.next-step-card--primary .next-step-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--brand-yellow);
}

.next-step-card--secondary .next-step-icon {
  background: #eef2ff;
  color: var(--brand-blue);
}

.next-step-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.next-step-card--primary .next-step-eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.next-step-card--secondary .next-step-eyebrow {
  color: #888;
}

.next-step-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.next-step-card--primary h3 {
  color: white;
}

.next-step-card p {
  line-height: 1.65;
  font-size: 0.98rem;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

.next-step-card--primary p {
  color: rgba(255, 255, 255, 0.88);
}

.next-step-card--secondary p {
  color: var(--text-light);
}

.next-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.next-step-btn .arrow {
  transition: transform 0.2s ease;
}

.next-step-btn:hover .arrow {
  transform: translateX(4px);
}

.next-step-card--primary .next-step-btn {
  background: white;
  color: #0d47a1;
}

.next-step-card--primary .next-step-btn:hover {
  background: var(--brand-yellow);
  color: #111;
}

.next-step-card--secondary .next-step-btn {
  background: #111;
  color: white;
}

.next-step-card--secondary .next-step-btn:hover {
  background: var(--brand-blue);
}

/* ── Insight page mobile ── */
@media (max-width: 768px) {
  .insight-header h1 {
    font-size: 2.2rem;
  }

  .insight-header {
    margin-top: 120px;
  }

  .download-cta {
    flex-direction: column;
  }

  .btn-download {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .next-steps-grid {
    grid-template-columns: 1fr;
  }

  .insight-next-steps {
    margin: 30px auto 80px;
  }

  .next-step-card {
    padding: 28px 24px;
  }

  .insight-next-steps h2 {
    font-size: 1.6rem;
  }

  .insight-author-card {
    padding: 28px;
  }
}

/* =========================================
   ESTIMATE PAGE — estimate.css merged
   ========================================= */

/* ================================================
   ESTIMATE PAGE — Consulting Engagement Estimator
   ================================================ */

/* Hero */
.pricing-hero {
    text-align: center;
    padding: 140px 5% 70px;
    max-width: 860px;
    margin: 0 auto;
}

.pricing-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.15;
}

.pricing-hero p {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 300;
    max-width: 560px;
    margin: 0 auto;
}

/* Page layout — controls left, sticky sidebar right */
.estimator-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 120px;
    align-items: start;
}

/* ---- Step group ---- */
.option-group {
    margin-bottom: 56px;
}

.step-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 8px;
}

.option-group h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: #111;
}

.option-group .step-hint {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 24px;
}

/* ---- Service tiles ---- */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.select-tile {
    background: white;
    border: 2px solid #f0f0f0;
    padding: 22px 16px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
}

.select-tile:hover {
    border-color: #d0d8e8;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.select-tile.active {
    border-color: var(--brand-blue);
    background: #eff6ff;
    box-shadow: 0 8px 24px rgba(66, 133, 244, 0.15);
}

.tile-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 10px;
}

.tile-name {
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    color: #333;
    line-height: 1.4;
    display: block;
}

.check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: var(--brand-blue);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.select-tile.active .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* ---- Engagement radio cards ---- */
.radio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.radio-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.radio-card:hover {
    background: #fafafa;
    border-color: #ddd;
}

.radio-card.active {
    border-color: var(--brand-green);
    background: #f0fdf4;
}

.radio-card .recommended-badge {
    position: absolute;
    top: -10px;
    left: 18px;
    background: var(--brand-green);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 20px;
}

.radio-content h4 {
    font-size: 0.97rem;
    margin-bottom: 4px;
    color: #111;
}

.radio-content p {
    font-size: 0.83rem;
    color: #666;
    margin: 0;
    max-width: 420px;
    line-height: 1.4;
}

.radio-circle {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
    margin-left: 20px;
}

.radio-card.active .radio-circle {
    border-color: var(--brand-green);
}

.radio-card.active .radio-circle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background: var(--brand-green);
    border-radius: 50%;
}

/* ---- Duration pills ---- */
.duration-pill-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.duration-pill {
    padding: 11px 24px;
    border: 2px solid #eee;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-align: center;
}

.duration-pill:hover {
    border-color: #ccc;
    background: #fafafa;
}

.duration-pill.active {
    background: #111;
    color: white;
    border-color: #111;
}

.duration-pill .pill-sub {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: #888;
    margin-top: 2px;
}

.duration-pill.active .pill-sub {
    color: #aaa;
}

/* ---- Sticky sidebar ---- */
.sticky-sidebar {
    position: sticky;
    top: 110px;
}

/* Estimate card — dark */
.estimate-card {
    background: #111;
    color: white;
    padding: 36px 32px;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.22);
    margin-bottom: 20px;
}

.est-label {
    color: #666;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.est-range {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 4px;
    min-height: 50px;
}

.est-unit {
    font-size: 0.85rem;
    color: #555;
    display: block;
    margin-bottom: 24px;
}

.est-summary-list {
    border-top: 1px solid #222;
    padding-top: 18px;
    margin-bottom: 24px;
}

.est-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #aaa;
}

.est-item .est-chip {
    background: #222;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #777;
    white-space: nowrap;
}

.est-disclaimer {
    font-size: 0.75rem;
    color: #444;
    line-height: 1.5;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #222;
}

/* What's included card */
.includes-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 28px 28px;
    margin-bottom: 20px;
}

.includes-card h4 {
    font-size: 0.92rem;
    color: #111;
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
}

.includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.includes-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.87rem;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.45;
}

.includes-list li::before {
    content: '✓';
    color: var(--brand-green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Lead capture form card */
.lead-form-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 28px 28px;
}

.lead-form-card h4 {
    font-size: 0.92rem;
    color: #111;
    margin-bottom: 6px;
    font-family: 'Outfit', sans-serif;
}

.lead-form-card .form-hint {
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 20px;
}

.lead-form-card label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 5px;
}

.lead-form-card input,
.lead-form-card textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    color: #111;
    margin-bottom: 14px;
    transition: border 0.2s;
    background: #fafafa;
    resize: vertical;
}

.lead-form-card input:focus,
.lead-form-card textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: white;
}

.lead-form-card .btn-full {
    width: 100%;
    text-align: center;
    display: block;
    padding: 13px;
    font-size: 0.95rem;
    border-radius: 10px;
    background: var(--brand-blue);
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Outfit', sans-serif;
}

.lead-form-card .btn-full:hover {
    background: #2d6fd4;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(66,133,244,0.3);
}

.lead-form-card .btn-full:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-response {
    margin-top: 12px;
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: 8px;
    display: none;
    line-height: 1.5;
}

.form-response.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-response.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Placeholder state */
.est-placeholder {
    color: #444;
    font-size: 0.85rem;
    font-style: italic;
    text-align: center;
    padding: 10px 0 4px;
}

/* Responsive */
@media (max-width: 960px) {
    .estimator-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sticky-sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .pricing-hero h1 {
        font-size: 2.2rem;
    }

    .tile-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .duration-pill-container {
        gap: 8px;
    }

    .duration-pill {
        padding: 9px 16px;
        font-size: 0.85rem;
    }
}

/* =========================================
   FAQ SECTION (homepage + shared)
   ========================================= */
.faq-section {
    background: var(--color-bg);
    padding: 80px 0;
    border-top: 1px solid var(--color-border);
}

.faq-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.faq-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-heading);
    margin: 12px 0 10px;
}

.faq-sub {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
    border-top: 1px solid var(--color-border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-heading);
    text-align: left;
    gap: 16px;
    line-height: 1.4;
}

.faq-question:hover {
    color: var(--brand-blue);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.25s ease;
    color: var(--brand-blue);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 0 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer ul,
.faq-answer ol {
    margin: 8px 0 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faq-answer li {
    line-height: 1.6;
}

@media (max-width: 600px) {
    .faq-heading { font-size: 1.6rem; }
    .faq-question { font-size: 0.95rem; }
}
