/* Connectagra Innect v2.0.0 â€” multi-page port matching deployed reference.
   Light body, per-section dark alternation, Blue-600 primary, Green-400
   success, Inter typography, slide-down mobile menu.
   Wide-to-narrow breakpoints: 1440 (desktop) / 768 (tablet) / 390 (mobile). */

/* ============================================================= */
/* 0. Reset + safety nets                                         */
/* ============================================================= */
html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe, svg { max-width: 100%; height: auto; }

:root {
  /* Core palette */
  --ci-primary:        #2563EB;
  --ci-primary-hover:  #1D4ED8;
  --ci-primary-deep:   #1E3A8A;
  --ci-accent-success: #4ADE80;
  --ci-accent-light:   #60A5FA;

  /* Backgrounds */
  --ci-bg:             #FFFFFF;
  --ci-bg-grey:        #F9FAFB;
  --ci-bg-dark:        #111827;
  --ci-bg-dark-alt:    #1F2937;

  /* Borders */
  --ci-border:         #E5E5E5;
  --ci-border-dark:    #374151;

  /* Text */
  --ci-text:           #0A0A0A;
  --ci-text-muted:     #9CA3AF;
  --ci-text-subtle:    #D1D5DB;
  --ci-text-inverse:   #FFFFFF;

  /* Shape + motion tokens */
  --ci-header-h:       5rem;                /* 80px sticky header */
  --ci-radius-card:    0.75rem;             /* rounded-xl */
  --ci-radius-btn:     9999px;              /* pill */
  --ci-radius-ghost:   0.5rem;
  --ci-shadow-card:    0 10px 25px rgba(0, 0, 0, 0.08);
  --ci-shadow-card-h:  0 20px 40px rgba(0, 0, 0, 0.12);
  --ci-shadow-btn:     0 4px 12px rgba(37, 99, 235, 0.35);
  --ci-transition:     0.25s ease;
}

body {
  background: var(--ci-bg);
  color: var(--ci-text);
  margin: 0;
}
body, button, input, select, textarea {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ci-primary); text-decoration: none; }
a:hover { color: var(--ci-primary-hover); }

/* Section-level scroll-margin for any in-page anchors (we no longer use
   hash anchors for the primary nav, but some CTAs may still target IDs). */
section[id] { scroll-margin-top: calc(var(--ci-header-h) + 0.5rem); }

/* Shared utilities */
.ci-container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px)  { .ci-container { padding: 0 2rem; } }
.ci-section { padding: 4rem 0; }
@media (min-width: 768px) { .ci-section { padding: 5rem 0; } }
.ci-section-head { text-align: center; max-width: 56rem; margin: 0 auto 3rem; }
.ci-section-head .ci-lead { margin-top: 1rem; }

/* Typography */
.ci-h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem); font-weight: 800; line-height: 1.05; margin: 0 0 1.25rem; }
.ci-h2 { font-size: clamp(1.875rem, 2.5vw + 0.5rem, 3rem); font-weight: 800; line-height: 1.1;  margin: 0 0 1rem; }
.ci-h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; margin: 0 0 0.5rem; }
.ci-lead { font-size: 1.125rem; line-height: 1.6; color: var(--ci-text-muted); margin: 0; }
.ci-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ci-primary); margin-bottom: 1rem; }
.ci-pill { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.85rem; border-radius: 9999px; background: rgba(37, 99, 235, 0.12); color: var(--ci-primary); margin-bottom: 1rem; }
.ci-pill--light { background: rgba(255, 255, 255, 0.14); color: #DBEAFE; }

/* Dark section overrides */
.ci-section--dark      { background: var(--ci-bg-dark);     color: var(--ci-text-inverse); }
.ci-section--dark-alt  { background: var(--ci-bg-dark-alt); color: var(--ci-text-inverse); }
.ci-section--dark .ci-h1, .ci-section--dark .ci-h2, .ci-section--dark .ci-h3,
.ci-section--dark-alt .ci-h1, .ci-section--dark-alt .ci-h2, .ci-section--dark-alt .ci-h3 {
  color: var(--ci-text-inverse);
}
.ci-section--dark .ci-lead, .ci-section--dark-alt .ci-lead { color: var(--ci-text-subtle); }

/* Buttons */
.ci-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.75rem 1.75rem; font-weight: 600; font-size: 1rem;
  border-radius: var(--ci-radius-btn); border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background-color var(--ci-transition), color var(--ci-transition), transform var(--ci-transition), box-shadow var(--ci-transition);
  white-space: nowrap;
}
.ci-btn--primary { background: var(--ci-primary);   color: var(--ci-text-inverse); box-shadow: var(--ci-shadow-btn); }
.ci-btn--primary:hover { background: var(--ci-primary-hover); color: var(--ci-text-inverse); transform: translateY(-2px); }
.ci-btn--ghost   { background: transparent; color: var(--ci-text); border-color: var(--ci-border); border-radius: var(--ci-radius-ghost); }
.ci-btn--ghost:hover { background: var(--ci-bg-grey); color: var(--ci-text); }
.ci-btn--ghost-light { background: transparent; color: var(--ci-text-inverse); border-color: rgba(255,255,255,0.35); border-radius: var(--ci-radius-ghost); }
.ci-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.1); color: var(--ci-text-inverse); }
.ci-btn--outline { background: transparent; color: var(--ci-text-inverse); border-color: var(--ci-text-inverse); border-radius: var(--ci-radius-ghost); }
.ci-btn--outline:hover { background: var(--ci-text-inverse); color: var(--ci-primary); }
.ci-btn--white   { background: var(--ci-text-inverse); color: var(--ci-primary); }
.ci-btn--white:hover { background: #F3F4F6; color: var(--ci-primary-hover); }
.ci-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.ci-cta-row .ci-btn { min-width: 10rem; justify-content: center; }

/* ============================================================= */
/* 1. Header (sticky, translucent-on-top, solid-on-scroll)        */
/* ============================================================= */
.ci-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--ci-header-h);
  background: rgba(17, 24, 39, 0.80);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color var(--ci-transition), box-shadow var(--ci-transition);
  color: var(--ci-text-inverse);
}
.ci-header.is-scrolled { background: rgba(17, 24, 39, 0.95); box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25); }
.ci-header__container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.ci-header__brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ci-text-inverse); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.ci-header__brand:hover { color: var(--ci-text-inverse); }
.ci-header__wordmark { white-space: nowrap; }
.ci-logomark { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; background: var(--ci-primary); color: var(--ci-text-inverse); font-weight: 800; font-size: 0.9rem; }

/* Desktop nav */
.ci-nav { display: flex; align-items: center; gap: 2rem; }
.ci-nav__list { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.ci-nav__list a { color: var(--ci-text-inverse); font-weight: 500; font-size: 0.95rem; transition: color var(--ci-transition); }
.ci-nav__list a:hover { color: var(--ci-accent-light); }
.ci-nav__cta { padding: 0.5rem 1.25rem; font-size: 0.9rem; }

/* Hamburger */
.ci-menu-toggle {
  display: none;
  background: transparent; border: none; color: var(--ci-text-inverse); cursor: pointer;
  width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center;
}
.ci-menu-toggle .ci-icon-close { display: none; }
.ci-header[data-header] .ci-menu-toggle[aria-expanded="true"] .ci-icon-menu  { display: none; }
.ci-header[data-header] .ci-menu-toggle[aria-expanded="true"] .ci-icon-close { display: block; }

/* Mobile breakpoint: slide-down panel */
@media (max-width: 900px) {
  .ci-menu-toggle { display: inline-flex; }
  .ci-nav {
    position: absolute; top: var(--ci-header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(17, 24, 39, 0.97);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--ci-border-dark);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .ci-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .ci-nav__list { flex-direction: column; gap: 0; }
  .ci-nav__list li { border-bottom: 1px solid var(--ci-border-dark); }
  .ci-nav__list a { display: block; padding: 0.9rem 0.25rem; font-size: 1rem; }
  .ci-nav__cta { margin-top: 1rem; align-self: flex-start; }
}

/* Spacer so body content doesn't slide under the fixed header */
body.has-ci-header main, body.has-ci-header > header + section { }

/* ============================================================= */
/* 2. Hero variants                                               */
/* ============================================================= */
/* Home hero: image + dark overlay */
.ci-hero {
  position: relative; min-height: 100vh; color: var(--ci-text-inverse);
  display: flex; align-items: center; overflow: hidden;
}
.ci-hero__bg { position: absolute; inset: 0; z-index: 0; }
.ci-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.ci-hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(17,24,39,0.95) 0%, rgba(17,24,39,0.90) 50%, rgba(30,58,138,0.80) 100%); }
.ci-hero__inner { position: relative; z-index: 2; padding: calc(var(--ci-header-h) + 2.5rem) 0 4rem; width: 100%; }
.ci-hero .ci-h1 { color: var(--ci-text-inverse); max-width: 50rem; }
.ci-hero .ci-h1__accent { color: var(--ci-accent-light); }
.ci-hero .ci-lead { color: var(--ci-text-subtle); max-width: 42rem; margin-bottom: 1.75rem; }
.ci-chip-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.ci-chip { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--ci-text-subtle); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); padding: 0.5rem 0.9rem; border-radius: 9999px; }
.ci-chip svg { color: var(--ci-accent-success); }
.ci-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 768px) { .ci-stats { grid-template-columns: repeat(4, 1fr); } }
.ci-stat__value { font-size: 2.5rem; font-weight: 800; color: var(--ci-accent-light); line-height: 1; }
.ci-stat__label { font-size: 0.95rem; color: var(--ci-text-subtle); margin-top: 0.5rem; }

/* Inner-page hero: blue gradient banner */
.ci-page-hero {
  position: relative; padding: calc(var(--ci-header-h) + 3rem) 0 4rem;
  background: linear-gradient(135deg, var(--ci-primary) 0%, var(--ci-primary-hover) 50%, var(--ci-primary-deep) 100%);
  color: var(--ci-text-inverse); overflow: hidden; text-align: center;
}
.ci-page-hero .ci-h1 { color: var(--ci-text-inverse); }
.ci-page-hero .ci-lead { color: rgba(255, 255, 255, 0.9); margin: 0 auto; max-width: 48rem; }
.ci-page-hero .ci-eyebrow { color: rgba(255, 255, 255, 0.9); }

/* ============================================================= */
/* 3. Generic card + grid components                              */
/* ============================================================= */
.ci-grid       { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .ci-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ci-grid--3 { grid-template-columns: repeat(3, 1fr); } .ci-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px)  { .ci-grid--3 { grid-template-columns: repeat(2, 1fr); } .ci-grid--4 { grid-template-columns: repeat(2, 1fr); } }

.ci-card {
  background: var(--ci-bg); border: 1px solid var(--ci-border);
  border-radius: var(--ci-radius-card);
  padding: 2rem; display: flex; flex-direction: column; gap: 1rem;
  transition: transform var(--ci-transition), box-shadow var(--ci-transition), border-color var(--ci-transition);
}
.ci-card:hover { transform: translateY(-4px); box-shadow: var(--ci-shadow-card-h); border-color: var(--ci-primary); }
.ci-card__icon { width: 3rem; height: 3rem; border-radius: 0.6rem; background: rgba(37, 99, 235, 0.12); color: var(--ci-primary); display: inline-flex; align-items: center; justify-content: center; }
.ci-card__title { font-size: 1.25rem; font-weight: 700; margin: 0; }
.ci-card__body  { color: var(--ci-text-muted); font-size: 0.95rem; line-height: 1.65; margin: 0; }
.ci-card__link  { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--ci-primary); margin-top: auto; }
.ci-card__link:hover { color: var(--ci-primary-hover); gap: 0.7rem; }
.ci-card--dark  { background: var(--ci-bg-dark-alt); border-color: var(--ci-border-dark); color: var(--ci-text-inverse); }
.ci-card--dark .ci-card__title { color: var(--ci-text-inverse); }
.ci-card--dark .ci-card__body  { color: var(--ci-text-subtle); }

/* Tick list (benefits) */
.ci-tick-list { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.85rem; }
.ci-tick-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.ci-tick-list svg { color: var(--ci-accent-success); flex: none; margin-top: 0.25rem; }

/* Split 2-col section */
.ci-split { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .ci-split { grid-template-columns: 1.05fr 1fr; } }
.ci-split__media { position: relative; }
.ci-split__media img { width: 100%; height: auto; border-radius: var(--ci-radius-card); display: block; }
.ci-split__decor  { position: absolute; inset: auto -1rem -1rem auto; width: 60%; height: 60%; background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(96,165,250,0.1)); border-radius: var(--ci-radius-card); z-index: -1; }

/* CTA banner (gradient) */
.ci-cta-banner { background: linear-gradient(90deg, var(--ci-primary) 0%, var(--ci-primary-deep) 100%); color: var(--ci-text-inverse); padding: 4rem 0; text-align: center; }
.ci-cta-banner .ci-h2 { color: var(--ci-text-inverse); }
.ci-cta-banner p { color: rgba(255,255,255,0.9); max-width: 42rem; margin: 0 auto 1.75rem; font-size: 1.125rem; }
.ci-cta-banner .ci-cta-row { justify-content: center; }

/* ============================================================= */
/* 4. Services detail stack                                       */
/* ============================================================= */
.ci-service-panel {
  display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center;
  padding: 2.5rem 0; border-bottom: 1px solid var(--ci-border-dark);
}
.ci-service-panel:last-child { border-bottom: none; }
@media (min-width: 900px) { .ci-service-panel { grid-template-columns: 1fr 1fr; padding: 3.5rem 0; } .ci-service-panel--reverse > :first-child { order: 2; } }
.ci-service-panel__icon { width: 4rem; height: 4rem; border-radius: 0.9rem; background: rgba(37, 99, 235, 0.15); color: var(--ci-accent-light); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.ci-service-panel .ci-h3 { font-size: 1.875rem; font-weight: 800; }
.ci-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin: 1.5rem 0; list-style: none; padding: 0; }
.ci-features li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.95rem; color: var(--ci-text-subtle); }
.ci-features svg { color: var(--ci-accent-success); flex: none; }
.ci-service-panel__media { background: var(--ci-bg-dark-alt); border-radius: var(--ci-radius-card); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: var(--ci-accent-light); }
.ci-service-panel__media svg { width: 40%; height: 40%; max-width: 180px; }

/* Tech stack strip + process steps */
.ci-tech-card, .ci-process-card {
  background: var(--ci-bg-dark); border: 1px solid var(--ci-border-dark);
  border-radius: var(--ci-radius-card); padding: 2rem; text-align: center; color: var(--ci-text-inverse);
  transition: transform var(--ci-transition), border-color var(--ci-transition);
}
.ci-tech-card:hover, .ci-process-card:hover { transform: translateY(-4px); border-color: var(--ci-primary); }
.ci-tech-card__title, .ci-process-card__title { font-size: 1.15rem; font-weight: 700; margin: 0.75rem 0 0.4rem; }
.ci-tech-card__caption, .ci-process-card__caption { color: var(--ci-text-subtle); font-size: 0.9rem; margin: 0; }
.ci-process-card__num { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 9999px; background: linear-gradient(135deg, var(--ci-primary), var(--ci-primary-deep)); color: var(--ci-text-inverse); font-weight: 800; font-size: 1.25rem; }

/* ============================================================= */
/* 5. About journey + core values + team stats                    */
/* ============================================================= */
.ci-journey { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .ci-journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ci-journey { grid-template-columns: repeat(4, 1fr); } }
.ci-journey__item { background: var(--ci-bg-dark-alt); border: 1px solid var(--ci-border-dark); border-radius: var(--ci-radius-card); padding: 1.75rem; color: var(--ci-text-inverse); }
.ci-journey__year  { display: inline-block; background: var(--ci-primary); color: var(--ci-text-inverse); font-weight: 700; font-size: 0.85rem; padding: 0.3rem 0.75rem; border-radius: 9999px; margin-bottom: 0.9rem; }
.ci-journey__title { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.4rem; }
.ci-journey__body  { color: var(--ci-text-subtle); font-size: 0.9rem; margin: 0; line-height: 1.6; }

.ci-values { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .ci-values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ci-values { grid-template-columns: repeat(4, 1fr); } }
.ci-value { background: var(--ci-bg); border: 1px solid var(--ci-border); border-radius: var(--ci-radius-card); padding: 2rem; text-align: center; transition: transform var(--ci-transition), box-shadow var(--ci-transition); }
.ci-value:hover { transform: translateY(-4px); box-shadow: var(--ci-shadow-card); }
.ci-value__icon { width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: rgba(37, 99, 235, 0.12); color: var(--ci-primary); margin: 0 auto 1rem; display: inline-flex; align-items: center; justify-content: center; }
.ci-value__title { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.5rem; }
.ci-value__body  { color: var(--ci-text-muted); font-size: 0.92rem; line-height: 1.6; margin: 0; }

.ci-team-stats { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ci-team-stats { grid-template-columns: repeat(3, 1fr); } }
.ci-team-stat { background: var(--ci-bg-dark); border: 1px solid var(--ci-border-dark); border-radius: var(--ci-radius-card); padding: 2.5rem 2rem; text-align: center; color: var(--ci-text-inverse); }
.ci-team-stat__icon { color: var(--ci-accent-light); margin-bottom: 1rem; }
.ci-team-stat__value { font-size: 2.5rem; font-weight: 800; color: var(--ci-accent-light); line-height: 1; margin: 0.25rem 0; }
.ci-team-stat__label { font-size: 1.05rem; font-weight: 700; margin-top: 0.4rem; }
.ci-team-stat__caption { color: var(--ci-text-subtle); font-size: 0.9rem; margin-top: 0.25rem; }

/* ============================================================= */
/* 6. Portfolio â€” case studies + industries + track record        */
/* ============================================================= */
.ci-case { display: grid; gap: 2rem; grid-template-columns: 1fr; background: var(--ci-bg-dark-alt); border: 1px solid var(--ci-border-dark); border-radius: var(--ci-radius-card); overflow: hidden; margin-bottom: 2.5rem; }
@media (min-width: 900px) { .ci-case { grid-template-columns: 1fr 1.1fr; } .ci-case--reverse > :first-child { order: 2; } }
.ci-case__media { overflow: hidden; aspect-ratio: 4 / 3; }
.ci-case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ci-case__media:hover img { transform: scale(1.02); }
.ci-case__body { padding: 2rem 2rem 2.5rem; color: var(--ci-text-inverse); }
.ci-case__tags { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.ci-case__tag  { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 9999px; background: rgba(37, 99, 235, 0.18); color: var(--ci-accent-light); }
.ci-case__tag--year { background: rgba(255, 255, 255, 0.08); color: var(--ci-text-subtle); }
.ci-case__title  { font-size: 1.5rem; font-weight: 800; margin: 0 0 0.25rem; color: var(--ci-text-inverse); }
.ci-case__client { color: var(--ci-accent-light); font-size: 0.9rem; margin: 0 0 0.9rem; }
.ci-case__desc   { color: var(--ci-text-subtle); margin: 0 0 1.25rem; line-height: 1.6; }
.ci-case__grid   { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1rem 0; }
@media (min-width: 640px) { .ci-case__grid { grid-template-columns: 1fr 1fr; } }
.ci-case__col h4 { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ci-accent-light); margin: 0 0 0.5rem; }
.ci-case__col p  { color: var(--ci-text-subtle); margin: 0; font-size: 0.9rem; line-height: 1.55; }
.ci-case__results { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.ci-case__results li { display: flex; align-items: center; gap: 0.5rem; color: var(--ci-text-subtle); font-size: 0.9rem; }
.ci-case__results svg { color: var(--ci-accent-success); flex: none; }
.ci-case__tech { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.25rem; }
.ci-case__tech span { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--ci-border-dark); color: var(--ci-text-subtle); font-size: 0.8rem; padding: 0.3rem 0.7rem; border-radius: 0.4rem; }

/* Track record stats */
.ci-record { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .ci-record { grid-template-columns: repeat(4, 1fr); } }
.ci-record__card { background: var(--ci-bg-dark); border: 1px solid var(--ci-border-dark); border-radius: var(--ci-radius-card); padding: 2rem 1.5rem; text-align: center; }
.ci-record__icon { font-size: 2rem; margin-bottom: 0.25rem; }
.ci-record__value { font-size: 2.25rem; font-weight: 800; color: var(--ci-accent-light); line-height: 1; margin: 0.5rem 0; }
.ci-record__label { color: var(--ci-text-subtle); font-size: 0.95rem; }

/* Industries grid */
.ci-industries { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px)  { .ci-industries { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ci-industries { grid-template-columns: repeat(5, 1fr); } }
.ci-industry { background: var(--ci-bg-dark-alt); border: 1px solid var(--ci-border-dark); border-radius: var(--ci-radius-card); padding: 1.5rem 1rem; text-align: center; font-weight: 600; color: var(--ci-text-inverse); transition: transform var(--ci-transition), border-color var(--ci-transition); }
.ci-industry:hover { transform: translateY(-3px); border-color: var(--ci-primary); }

/* ============================================================= */
/* 7. Contact split â€” info card + form card                       */
/* ============================================================= */
.ci-contact { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .ci-contact { grid-template-columns: 1fr 1.25fr; } }
.ci-contact__info, .ci-contact__form-wrap {
  background: var(--ci-bg-dark-alt); border: 1px solid var(--ci-border-dark); border-radius: var(--ci-radius-card); padding: 2rem; color: var(--ci-text-inverse);
}
.ci-contact__info h3 { color: var(--ci-text-inverse); margin: 0 0 1rem; }
.ci-contact__info-list { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-direction: column; gap: 1.25rem; }
.ci-contact__info-list li { display: flex; align-items: flex-start; gap: 0.9rem; }
.ci-contact__info-list svg { color: var(--ci-accent-light); flex: none; margin-top: 0.2rem; }
.ci-contact__info-label { display: block; color: var(--ci-text-inverse); font-weight: 700; margin-bottom: 0.1rem; }
.ci-contact__info-value { color: var(--ci-text-subtle); font-size: 0.95rem; }
.ci-contact__guarantee { background: rgba(37, 99, 235, 0.1); border: 1px solid rgba(37, 99, 235, 0.25); border-radius: var(--ci-radius-card); padding: 1.25rem; margin-top: 1.25rem; }
.ci-contact__guarantee h4 { color: var(--ci-accent-light); font-size: 1rem; margin: 0 0 0.4rem; }
.ci-contact__guarantee p  { color: var(--ci-text-subtle); font-size: 0.9rem; margin: 0 0 0.6rem; line-height: 1.55; }
.ci-contact__guarantee-check { display: flex; align-items: center; gap: 0.5rem; color: var(--ci-accent-success); font-size: 0.85rem; font-weight: 600; }
.ci-contact__form-wrap h3 { color: var(--ci-text-inverse); margin: 0 0 0.4rem; }
.ci-contact__form-intro { color: var(--ci-text-subtle); margin: 0 0 1.5rem; font-size: 0.95rem; }

/* Contact Form 7 field styling â€” works across web / iOS / Android */
.wpcf7-form { display: flex; flex-direction: column; gap: 1.1rem; }
.wpcf7-form p { margin: 0; }
.wpcf7-form label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ci-text-inverse); margin-bottom: 0.4rem; }
.wpcf7-form .ci-form-row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 640px) { .wpcf7-form .ci-form-row { grid-template-columns: 1fr 1fr; } }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%; padding: 0.8rem 1rem; font-size: 1rem; font-family: inherit;
  background: #0F172A; color: var(--ci-text-inverse);
  border: 1px solid var(--ci-border-dark); border-radius: 0.6rem;
  transition: border-color var(--ci-transition), box-shadow var(--ci-transition);
  -webkit-appearance: none; appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder,
.wpcf7-form textarea::placeholder { color: #6B7280; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus {
  outline: none; border-color: var(--ci-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}
.wpcf7-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.wpcf7-form textarea { min-height: 8rem; resize: vertical; font-family: inherit; }
.wpcf7-form .ci-field-help { font-size: 0.8rem; color: var(--ci-text-muted); margin-top: 0.35rem; }
.wpcf7-form .wpcf7-submit {
  background: var(--ci-primary); color: var(--ci-text-inverse); border: none;
  padding: 0.95rem 1.5rem; font-size: 1rem; font-weight: 700; border-radius: 0.6rem;
  cursor: pointer; width: 100%; box-shadow: var(--ci-shadow-btn);
  transition: background-color var(--ci-transition), transform var(--ci-transition);
}
.wpcf7-form .wpcf7-submit:hover { background: var(--ci-primary-hover); transform: translateY(-1px); }
.wpcf7-form .wpcf7-not-valid-tip { color: #F87171; font-size: 0.8rem; margin-top: 0.35rem; display: block; }
.wpcf7-form .wpcf7-response-output { border-radius: 0.6rem; padding: 0.9rem 1rem; margin-top: 1rem; background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3); color: #BBF7D0; }
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed  .wpcf7-response-output { background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.3); color: #FCA5A5; }
.wpcf7-form .wpcf7-spinner { background-color: var(--ci-accent-light); }

/* ============================================================= */
/* 8. 404 fallback page                                           */
/* ============================================================= */
.ci-404 { padding: calc(var(--ci-header-h) + 6rem) 0 6rem; text-align: center; background: var(--ci-bg-grey); }
.ci-404 .ci-cta-row { justify-content: center; margin-top: 1.5rem; }

/* ============================================================= */
/* 9. Animations + a11y                                           */
/* ============================================================= */
@keyframes ci-fade-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.ci-animate-fade-in { animation: ci-fade-in 0.6s ease-out both; }
body.ci-menu-open { overflow: hidden; }
:focus-visible { outline: 2px solid var(--ci-primary); outline-offset: 2px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ============================================================= */
/* 10. Phase 7b additions ï¿½ pricing, legal, grid--2/5             */
/* ============================================================= */
.ci-grid--2, .ci-grid--5 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .ci-grid--2 { grid-template-columns: repeat(2, 1fr); } .ci-grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ci-grid--5 { grid-template-columns: repeat(5, 1fr); } }

/* Pricing tier cards */
.ci-pricing { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .ci-pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ci-pricing { grid-template-columns: repeat(3, 1fr); } }
.ci-pricing__card {
  position: relative; background: var(--ci-bg-dark); border: 1px solid var(--ci-border-dark);
  border-radius: var(--ci-radius-card); padding: 2rem 1.75rem; color: var(--ci-text-inverse);
  display: flex; flex-direction: column; transition: transform var(--ci-transition), border-color var(--ci-transition);
}
.ci-pricing__card:hover { transform: translateY(-4px); border-color: var(--ci-primary); }
.ci-pricing__card--featured { border-color: var(--ci-primary); box-shadow: 0 12px 36px rgba(37, 99, 235, 0.25); }
.ci-pricing__badge {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  background: var(--ci-primary); color: var(--ci-text-inverse); font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.08em; padding: 0.35rem 0.9rem; border-radius: 9999px; white-space: nowrap;
}
.ci-pricing__title { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--ci-text-inverse); }
.ci-pricing__price { font-size: 2rem; font-weight: 800; color: var(--ci-accent-light); margin: 0 0 1.25rem; line-height: 1; }
.ci-pricing__list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.ci-pricing__list li { display: flex; align-items: center; gap: 0.55rem; color: var(--ci-text-subtle); font-size: 0.9rem; }
.ci-pricing__list svg { color: var(--ci-accent-success); flex: none; }

/* Legal pages (Privacy / Terms / Cookie) ï¿½ light body */
.ci-legal { max-width: 50rem; }
.ci-legal h2 { font-size: 1.5rem; font-weight: 800; margin: 2rem 0 0.75rem; color: var(--ci-text); }
.ci-legal h3 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--ci-text); }
.ci-legal p, .ci-legal li { color: var(--ci-text-muted); line-height: 1.7; font-size: 1rem; }
.ci-legal ul { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.ci-legal li { margin: 0.35rem 0; }
.ci-legal a { color: var(--ci-primary); }
.ci-legal a:hover { color: var(--ci-primary-hover); }
.ci-legal__updated { color: var(--ci-text-muted); font-size: 0.95rem; margin-bottom: 2rem; }
.ci-legal__note { background: rgba(245, 158, 11, 0.08); border-left: 3px solid #F59E0B; padding: 0.85rem 1rem; color: var(--ci-text); font-size: 0.95rem; border-radius: 0.4rem; margin: 1rem 0; }
.ci-legal__tag {
  display: inline-block; vertical-align: middle; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 9999px; margin-left: 0.5rem;
  background: rgba(248, 113, 113, 0.15); color: #B91C1C;
}
.ci-legal__tag--optional { background: rgba(37, 99, 235, 0.12); color: var(--ci-primary); }
/* ============================================================= */
/* 11. Phase 7c ï¿½ pixel-parity polish vs innectsphere.ca          */
/* ============================================================= */

/* 11.1 Fix the .ci-grid--3/--4 cascade ordering bug from section 3.
   Reason: the wider-min-width rule was BEFORE the narrower one in the
   source, so both rules matched at >=1024px and the later (narrower)
   rule won, forcing 2 columns at desktop. Re-declare with the
   correct order. */
@media (min-width: 768px)  { .ci-grid--3, .ci-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ci-grid--3 { grid-template-columns: repeat(3, 1fr) !important; }
                             .ci-grid--4 { grid-template-columns: repeat(4, 1fr) !important; } }

/* 11.2 Header: 3-column flex (brand left, nav center, CTA right). */
.ci-header__container { justify-content: space-between; }
.ci-nav { flex: 1; justify-content: center; gap: 0; }
.ci-nav__list { gap: 2rem; margin: 0 auto; }
.ci-header__cta-wrap { display: inline-flex; align-items: center; }
.ci-nav__cta { padding: 0.55rem 1.5rem; border-radius: 0.5rem; font-size: 0.875rem; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45); }
.ci-nav__cta:hover { transform: translateY(-1px); }
@media (max-width: 900px) {
  .ci-header__cta-wrap { display: none; }
  .ci-nav { flex: none; justify-content: flex-start; gap: 0; }
  .ci-nav__list { margin: 0; }
}

/* 11.3 Hero eyebrow ? glass pill (matches reference badge). The home-hero
   pattern uses .ci-eyebrow inside .ci-hero with an inline color override.
   Override its base styles when scoped to the hero so it renders as a
   rounded translucent pill rather than uppercase letterspaced text. */
.ci-hero .ci-eyebrow,
.ci-page-hero .ci-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(37, 99, 235, 0.20);
  border: 1px solid rgba(96, 165, 250, 0.32);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #BFDBFE !important;
  padding: 0.5rem 1.05rem;
  border-radius: 9999px;
  font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0; text-transform: none;
  margin-bottom: 1.5rem;
}
.ci-hero .ci-eyebrow svg,
.ci-page-hero .ci-eyebrow svg { color: #93C5FD; width: 16px; height: 16px; }

/* 11.4 .ci-pill normal-case across all sections (services teaser etc.) */
.ci-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  text-transform: none; letter-spacing: 0;
  font-size: 0.875rem; font-weight: 500;
  padding: 0.45rem 1.1rem;
  background: rgba(37, 99, 235, 0.12);
  color: var(--ci-primary);
  border-radius: 9999px;
}
.ci-section--dark .ci-pill, .ci-section--dark-alt .ci-pill {
  background: rgba(37, 99, 235, 0.20);
  color: #93C5FD;
}
.ci-pill--light { background: rgba(255, 255, 255, 0.14); color: #DBEAFE; }

/* 11.5 H1 accent ? cyan/blue gradient text. Affects hero headline only. */
.ci-hero .ci-h1__accent,
.ci-page-hero .ci-h1__accent {
  display: block; margin-top: 0.4rem;
  background: linear-gradient(90deg, #60A5FA 0%, #22D3EE 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* 11.6 Hero feature row ? plain text + green check (drop the chip pill). */
.ci-hero .ci-chip,
.ci-hero .ci-chip-row .ci-chip {
  background: transparent; border: none; padding: 0;
  color: #E5E7EB; font-weight: 500;
}
.ci-hero .ci-chip-row { gap: 1.75rem; margin-bottom: 2.25rem; }
.ci-hero .ci-chip svg { color: var(--ci-accent-success); }

/* 11.7 Hero h1 sizing/weight tune to match reference. */
.ci-hero .ci-h1 {
  font-size: clamp(2.25rem, 3vw + 1.5rem, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  max-width: 56rem;
}

/* 11.8 Service-card description: clamp to 4 lines so cards align. */
.ci-section--dark .ci-card .ci-card__body,
.ci-card--dark .ci-card__body {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 11.9 Stats: white labels, blue-400 numbers (already correct via tokens
   but make sure the WP TT5 default doesn't tint them). */
.ci-hero .ci-stat__value { color: #60A5FA; }
.ci-hero .ci-stat__label { color: #D1D5DB; }

/* 11.10 Belt-and-suspenders: if the page template ever falls back to
   "constrained" layout, force section-level blocks to break the
   container width so the hero stays edge-to-edge. */
.ci-hero,
.ci-page-hero,
.ci-section,
.ci-cta-banner {
  max-width: 100vw;
}
/* 11.11 Hero inner padding fix ï¿½ .ci-hero__inner has shorthand `padding`
   that zeros out side padding. Restore it so headline & pill aren't flush
   against the viewport edge. */
.ci-hero__inner { padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 768px) { .ci-hero__inner { padding-left: 2rem; padding-right: 2rem; } }

/* 11.12 Remove the inter-block white strip caused by twentytwentyfive's
   default `.wp-block-post-content` flow spacing between consecutive
   wp:html sections. Each of our patterns is its own full-bleed section
   so we want zero gap. */
main > .wp-block-post-content > *,
main.wp-block-group > .wp-block-post-content > *,
.wp-block-post-content > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.wp-block-post-content > .wp-block-html { margin: 0 !important; }
/* ============================================================= */
/* 12. Footer (was missing from sections 1-11)                    */
/* ============================================================= */
.ci-footer {
  background: #0B1220;
  color: var(--ci-text-subtle);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--ci-border-dark);
}
.ci-footer .ci-container { padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 768px) { .ci-footer .ci-container { padding-left: 2rem; padding-right: 2rem; } }
.ci-footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .ci-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ci-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.ci-footer__brand .ci-header__brand { color: var(--ci-text-inverse); display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.ci-footer__brand .ci-header__brand:hover { color: var(--ci-text-inverse); }
.ci-footer__tag { color: var(--ci-text-subtle); font-size: 0.92rem; line-height: 1.65; margin: 0 0 1.25rem; max-width: 26rem; }

.ci-footer__social { display: flex; gap: 0.75rem; }
.ci-footer__social a {
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  color: var(--ci-text-subtle);
  border: 1px solid var(--ci-border-dark);
  transition: background-color var(--ci-transition), color var(--ci-transition), transform var(--ci-transition);
}
.ci-footer__social a:hover { background: var(--ci-primary); color: var(--ci-text-inverse); transform: translateY(-2px); }

.ci-footer__h3 {
  color: var(--ci-text-inverse);
  font-size: 1rem; font-weight: 700;
  margin: 0 0 1rem;
}
.ci-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.ci-footer__list a { color: var(--ci-text-subtle); font-size: 0.92rem; transition: color var(--ci-transition); }
.ci-footer__list a:hover { color: var(--ci-accent-light); }
.ci-footer__list--icons li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--ci-text-subtle); font-size: 0.92rem; }
.ci-footer__list--icons svg { flex: none; margin-top: 0.15rem; }

.ci-footer__bottom {
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding-top: 2rem; margin-top: 2.5rem;
  border-top: 1px solid var(--ci-border-dark);
  color: var(--ci-text-muted); font-size: 0.85rem;
}
@media (min-width: 768px) { .ci-footer__bottom { flex-direction: row; } }
.ci-footer__bottom p { margin: 0; }
.ci-footer__bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.ci-footer__bottom-links a { color: var(--ci-text-subtle); font-size: 0.85rem; }
.ci-footer__bottom-links a:hover { color: var(--ci-accent-light); }
/* ============================================================= */
/* 13. Phase 7d v2.1.2 ï¿½ true pixel-parity polish                 */
/* ============================================================= */

/* 13.1 Inner-page hero: split 2-col layout with image on right.
   Used by /services/* sub-pages that want a hero matching reference's
   `grid lg:grid-cols-2 gap-12 items-center` structure. */
.ci-page-hero--split { text-align: left; }
.ci-page-hero--split .ci-page-hero__grid {
  display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 1024px) {
  .ci-page-hero--split .ci-page-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
.ci-page-hero--split .ci-page-hero__copy { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.ci-page-hero--split .ci-page-hero__copy .ci-h1 { text-align: left; }
.ci-page-hero--split .ci-page-hero__copy .ci-lead { text-align: left; max-width: 100%; margin: 0; }
.ci-page-hero--split .ci-cta-row { justify-content: flex-start; flex-wrap: wrap; gap: 1rem; }
.ci-page-hero--split .ci-page-hero__media {
  position: relative; border-radius: 1rem; overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  aspect-ratio: 4 / 3;
  width: 100%;
}
.ci-page-hero--split .ci-page-hero__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* 13.2 Subtle dotted-radial pattern overlay on every blue gradient hero,
   matching the reference's bg-dots feel. */
.ci-page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 24px 24px; background-position: 0 0;
  opacity: 0.6; z-index: 0;
}
.ci-page-hero > .ci-container { position: relative; z-index: 1; }

/* 13.3 Pill on a blue gradient: white-glass instead of dark-glass to
   match reference's `bg-white/20` pill on inner heroes. */
.ci-page-hero .ci-pill,
.ci-page-hero .ci-pill--light {
  background: rgba(255, 255, 255, 0.20);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* 13.4 Pricing tier "Most Popular" highlight: blue border + scale + ring,
   to match reference's `border-blue-500 border-2 shadow-2xl scale-105`.
   The "MOST POPULAR" pill text comes from `.ci-pricing__badge` markup. */
.ci-pricing__card.ci-pricing__card--featured {
  border: 2px solid #3B82F6 !important;
  box-shadow: 0 25px 50px -12px rgba(59,130,246,0.40) !important;
  transform: scale(1.04);
}
@media (max-width: 1023px) {
  .ci-pricing__card.ci-pricing__card--featured { transform: none; }
}
/* ============================================================= */
/* 14. Phase 7d v2.1.2 (cont) ï¿½ finer parity polish               */
/* ============================================================= */

/* 14.1 About ? "Our Story" 2-col layout (text left, image right). */
.ci-about-story {
  display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) {
  .ci-about-story { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.ci-about-story__media {
  position: relative; border-radius: 1rem; overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.45);
  aspect-ratio: 4 / 3;
}
.ci-about-story__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* 14.2 Contact info icons ? blue square chips (matches reference). */
.ci-contact__info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.ci-contact__info-list li { display: flex; align-items: flex-start; gap: 1rem; }
.ci-contact__info-list li > svg {
  background: #2563EB; color: #FFFFFF;
  padding: 0.65rem; border-radius: 0.6rem;
  width: 22px; height: 22px;
  box-sizing: content-box; flex: none;
}

/* 14.3 Stats sizing tune (smaller numbers like reference). */
.ci-hero .ci-stat__value,
.ci-stat__value { font-size: 2.25rem; }
@media (min-width: 1024px) {
  .ci-hero .ci-stat__value, .ci-stat__value { font-size: 2.5rem; }
}

/* 14.4 H2 weight/size tune so service-detail headings don't dwarf the
   reference (reference uses font-bold ~700, ~3rem at desktop). */
.ci-h2 { font-size: clamp(1.75rem, 1.5vw + 1.25rem, 2.25rem); font-weight: 700; line-height: 1.2; }
.ci-section--dark .ci-h2, .ci-section--dark-alt .ci-h2 { font-weight: 700; }

/* 14.5 Header nav active link (current page) gets the primary blue. */
.ci-nav__list .current-menu-item > a,
.ci-nav__list .current_page_item > a,
.ci-nav__list a[aria-current="page"] { color: var(--ci-primary); }

/* 14.6 Case study tag ? softer blue text on translucent bg, lower-cased
   label "Website Development" not "WEBSITE DEVELOPMENT". */
.ci-case__tag {
  text-transform: none; letter-spacing: 0;
  font-size: 0.75rem; font-weight: 600;
  background: rgba(37,99,235,0.18); color: #93C5FD;
}
.ci-case__tag--year { font-weight: 600; }

/* 14.7 Hero h1 line-height/size: shrink slightly to match reference. */
.ci-hero .ci-h1 {
  font-size: clamp(2rem, 2.5vw + 1.25rem, 3.5rem);
  letter-spacing: -0.02em;
}

/* 14.8 Pricing tier "Get Started" button: remove arrow on inner-page CTAs
   that live inside .ci-pricing__card (reference is text-only). */
.ci-pricing__card .ci-btn svg { display: none; }
.ci-pricing__card .ci-btn { width: 100%; justify-content: center; border-radius: 0.5rem; }

/* 14.9 Hero overlay: deepen slightly so background image shows but
   stays close to reference's bg-blue-700/60 vibe. */
.ci-hero__overlay { background: linear-gradient(180deg, rgba(15,23,42,0.55) 0%, rgba(15,23,42,0.85) 100%); }
/* ============================================================= */
/* 14. Phase 7d-2 v2.1.3 ï¿½ Home page pixel parity                 */
/* ============================================================= */

/* 14.1 Hero white-to-transparent fade at bottom (matches reference's
   `bg-gradient-to-t from-white to-transparent z-10 h-32` overlay). The
   ref renders a subtle ~80px fog where bottom is ~75% white, top fully
   transparent. */
.ci-hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 5rem; pointer-events: none; z-index: 3;
  background: linear-gradient(to top, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0) 100%);
}

/* 14.2 Service-card icons inside dark sections: filled blue square,
   white icon, larger (matches reference's `bg-blue-600 p-3 rounded-lg`). */
.ci-section--dark .ci-card .ci-card__icon,
.ci-section--dark-alt .ci-card .ci-card__icon,
.ci-card--dark .ci-card__icon {
  width: 3.5rem; height: 3.5rem;
  background: var(--ci-primary);
  color: #FFFFFF;
  border-radius: 0.75rem;
  margin-bottom: 0.25rem;
}
.ci-section--dark .ci-card .ci-card__icon svg,
.ci-section--dark-alt .ci-card .ci-card__icon svg,
.ci-card--dark .ci-card__icon svg {
  width: 28px; height: 28px; stroke-width: 2;
}

/* 14.3 .ci-pill on dark sections: light periwinkle bg with darker text
   (matches reference's `bg-blue-100 text-blue-600/700`). Overrides 11.4. */
.ci-section--dark .ci-pill,
.ci-section--dark-alt .ci-pill {
  background: #DBEAFE !important;
  color: #1D4ED8 !important;
  border: 0;
}

/* 14.4 H2 sized to match reference's `text-4xl md:text-5xl` (~3rem-3.75rem)
   so headings wrap to 2 lines on wide viewports like the reference does. */
.ci-section .ci-h2,
.ci-section-head .ci-h2 {
  font-size: clamp(2rem, 2.5vw + 1.25rem, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
}
.ci-section-head { max-width: 64rem; }

/* 14.5 Why-Us tick icons: solid green filled circle + white check
   (matches reference's `CheckCircle2` lucide icon). The pattern now
   emits a circle+polyline svg with a `.ci-check-circle` class ï¿½ clear
   the inherited green stroke color rule from .ci-tick-list svg. */
.ci-tick-list svg.ci-check-circle { color: #FFFFFF; flex: none; margin-top: 0.15rem; width: 22px; height: 22px; }
.ci-tick-list svg.ci-check-circle circle { fill: #10B981; }
.ci-tick-list svg.ci-check-circle polyline { stroke: #FFFFFF; stroke-width: 2.25; }

/* 14.6 CTA banner: kill the dark strip above by zeroing the bottom
   padding of the .ci-section that immediately precedes a CTA banner. */
.wp-block-html:has(.ci-section):has(+ .wp-block-html > .ci-cta-banner) > .ci-section {
  padding-bottom: 0;
}
/* fallback for browsers without :has() ï¿½ apply to last .ci-section--dark
   that's followed by a wp:html block containing the CTA banner */
.ci-cta-banner { margin-top: 0; }

/* 14.7 Hero h1 size tune (boost upper bound for very wide viewports). */
.ci-hero .ci-h1 {
  font-size: clamp(2.5rem, 2.5vw + 1.75rem, 4.5rem);
  max-width: 60rem;
}

/* 14.8 Service card hover: scale icon slightly to add reference's
   subtle interactive feel. */
.ci-card--dark:hover .ci-card__icon { transform: scale(1.05); }
.ci-card__icon { transition: transform 0.18s ease; }

/* 14.9 Active nav link: WordPress doesn't add classes to our hand-rolled
   nav, so highlight by URL match via [aria-current=page]. The header
   markup needs aria-current updated by a tiny inline script. */
.ci-nav__list a[aria-current="page"] { color: var(--ci-accent-light); font-weight: 600; }
.ci-nav__list a[aria-current="page"]:hover { color: var(--ci-accent-light); }
/* ============================================================= */
/* 15. Phase 7d-3 v2.1.4 ï¿½ Responsive (mobile/tablet) parity       */
/* ============================================================= */

/* 15.1 Hamburger menu visibility ï¿½ make explicit and high-priority so
   no later rule can collapse it on narrow viewports. The base rule is
   `display: none`, the @media (max-width: 900px) sets inline-flex but
   gets overridden by .ci-cta-row or unrelated wrap rules at very narrow
   widths. Re-declare with !important inside a fresh mobile media. */
@media (max-width: 900px) {
  .ci-menu-toggle {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    z-index: 1001;
    margin-left: auto;
  }
  .ci-header__container { gap: 0.75rem; }
  .ci-header__brand { font-size: 1.05rem; }
}

/* 15.2 Stack CTA buttons vertically (full-width) at <=640px so the
   second button isn't pushed off the right edge of the viewport. */
@media (max-width: 640px) {
  .ci-cta-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }
  .ci-cta-row .ci-btn { width: 100%; justify-content: center; text-align: center; }
  .ci-cta-banner .ci-cta-row { align-items: stretch; }
}

/* 15.3 Inner-page hero (gradient) padding tightening on mobile so the
   pill/h1/lead aren't flush to viewport edge. Also tighten section padding. */
.ci-page-hero { padding: calc(var(--ci-header-h) + 2rem) 1.25rem 3rem; }
@media (min-width: 768px) { .ci-page-hero { padding-left: 2rem; padding-right: 2rem; padding-top: calc(var(--ci-header-h) + 3rem); padding-bottom: 4rem; } }
.ci-page-hero > .ci-container { padding-left: 0; padding-right: 0; }

/* 15.4 Service split-hero on mobile: stack the image BELOW the copy
   (the existing 1024 grid handles desktop). Constrain image aspect-ratio
   to look reasonable at narrow widths. */
@media (max-width: 1023px) {
  .ci-page-hero--split .ci-page-hero__grid { gap: 2rem; }
  .ci-page-hero--split .ci-page-hero__media { aspect-ratio: 16 / 10; }
}

/* 15.5 Hero h1 / lead constraint at mobile so they don't overflow the
   tiny viewport (was using max-width values that ignore narrow screens). */
@media (max-width: 480px) {
  .ci-hero .ci-h1 { font-size: clamp(2rem, 7vw, 2.5rem); max-width: 100%; }
  .ci-page-hero .ci-h1 { font-size: clamp(1.875rem, 7vw, 2.5rem); }
  .ci-hero .ci-lead, .ci-page-hero .ci-lead { font-size: 1rem; max-width: 100%; }
  .ci-hero .ci-chip-row { gap: 0.85rem; }
  .ci-hero .ci-chip { font-size: 0.85rem; padding: 0.4rem 0.7rem; }
}

/* 15.6 Section padding tightening at mobile. */
@media (max-width: 640px) {
  .ci-section { padding: 3rem 0; }
  .ci-section-head { margin-bottom: 2rem; }
  .ci-h2 { font-size: clamp(1.625rem, 6vw, 2.25rem); }
}

/* 15.7 Grid gap reduce at mobile so cards fit better. */
@media (max-width: 640px) {
  .ci-grid { gap: 1rem; }
  .ci-pricing { gap: 1rem; }
}

/* 15.8 Footer at mobile: tighter padding, single column. */
@media (max-width: 640px) {
  .ci-footer { padding: 3rem 0 1.5rem; }
  .ci-footer__bottom { padding-top: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
  .ci-footer__bottom-links { gap: 1rem; }
}

/* 15.9 Container padding consistent across breakpoints (was 1.25rem
   only inside hero__inner, but ci-section / ci-page-hero kids inherit
   from .ci-container which only had 1rem). */
.ci-container { padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 768px) { .ci-container { padding-left: 2rem; padding-right: 2rem; } }

/* 15.10 Long words / URLs in lead text: word-wrap to prevent forced
   horizontal overflow at mobile. */
.ci-lead, .ci-h1, .ci-h2, .ci-h3, .ci-card__body { overflow-wrap: anywhere; word-break: break-word; }

/* 15.11 Cards on mobile: tighten padding so content fits. */
@media (max-width: 480px) {
  .ci-card { padding: 1.5rem 1.25rem; }
  .ci-pricing__card { padding: 1.5rem 1.25rem; }
}

/* 15.12 Header container width consistent + slightly less padding at mobile. */
@media (max-width: 640px) {
  .ci-header__container { padding-left: 1rem; padding-right: 1rem; }
}
/* 15.13 Prevent horizontal overflow at any viewport: body never wider
   than 100vw. This was the silent cause of the hamburger appearing
   "off-screen" at narrow widths ï¿½ long h1 words pushed body wider than
   viewport, so the header's right-aligned menu-toggle was beyond the
   visible window. */
html, body { overflow-x: hidden; max-width: 100%; }
body { min-width: 0; }

/* ============================================================= */
/* 16. Phase 7d-4 v2.1.5 ï¿½ About page parity                       */
/* ============================================================= */

/* 16.1 Inner-page hero h1: cap max-width so very wide viewports
   force a 2-line wrap like the reference (ref's "Building the Future
   of Business Technology" wraps to 2 lines at desktop). */
.ci-page-hero .ci-h1 {
  max-width: 56rem;
  margin-left: auto; margin-right: auto;
  font-size: clamp(2.25rem, 3vw + 1.5rem, 3.75rem);
}

/* 16.2 Values cards: blue-square icons matching home services teaser
   (already done by Section 14.2 for .ci-section--dark .ci-card__icon
   but values cards use .ci-value-card extra class ï¿½ make sure the
   icon SVG inside renders white). */
.ci-section--dark-alt .ci-card.ci-value-card .ci-card__icon { background: var(--ci-primary); color: #FFFFFF; width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; }
.ci-section--dark-alt .ci-card.ci-value-card .ci-card__icon svg { width: 28px; height: 28px; color: #FFFFFF; }
.ci-card.ci-value-card { text-align: center; align-items: center; }
.ci-card.ci-value-card .ci-card__title,
.ci-card.ci-value-card .ci-card__body { text-align: center; }
.ci-card.ci-value-card .ci-card__icon { margin: 0 auto 0.5rem; }

/* 16.3 Team-stats cards: match reference (no icon at top for ref ï¿½
   keep icon but make it smaller and gray to deemphasize). */
.ci-team-stat__icon { color: rgba(255,255,255,0.3); margin-bottom: 0.5rem; }
.ci-team-stat__icon svg { width: 28px; height: 28px; }

/* 16.4 Story-stats cards: ensure they match reference (3 stat cards
   with icon at top, big blue number, white label, subtle caption
   below ï¿½ already correct, just add max-width to prevent stretch). */
.ci-stat { padding: 1.75rem 1rem; background: rgba(255,255,255,0.04); border: 1px solid var(--ci-border-dark); border-radius: var(--ci-radius-card); text-align: center; }
.ci-stat__icon { color: var(--ci-accent-light); margin-bottom: 0.5rem; }
.ci-stat__icon svg { width: 28px; height: 28px; }
/* ============================================================= */
/* 17. Phase 7d-5 v2.1.6 ï¿½ Portfolio page parity                   */
/* ============================================================= */

/* 17.1 Case-study media: relative-position so year badge can absolute. */
.ci-case__media { position: relative; }
.ci-case__year-badge {
  position: absolute; top: 1rem; right: 1rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(17, 24, 39, 0.78); color: #FFFFFF;
  padding: 0.4rem 0.85rem; border-radius: 9999px;
  font-size: 0.85rem; font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.10);
  z-index: 2;
}
.ci-case__year-badge svg { color: #93C5FD; }

/* 17.2 Service tag: lighter blue chip with darker text (matches ref). */
.ci-case__tag.ci-case__tag--service {
  background: #DBEAFE; color: #1D4ED8;
  text-transform: none; letter-spacing: 0;
  font-size: 0.8rem; font-weight: 600;
  padding: 0.3rem 0.85rem;
}

/* 17.3 Client line: small with calendar icon. */
.ci-case__client {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: #93C5FD; font-size: 0.85rem; font-weight: 500;
  margin: 0 0 0.9rem;
}
.ci-case__client svg { color: #60A5FA; }

/* 17.4 Challenge / Solution: stack vertically (full-width each). */
.ci-case__grid {
  /* override the previous 2-col rule even at >=640 */
  grid-template-columns: 1fr !important;
}

/* 17.5 Key Results: green-dot bullets, single column with auto-rows. */
.ci-case__results { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; }
@media (max-width: 640px) { .ci-case__results { grid-template-columns: 1fr; } }
.ci-case__results li {
  display: flex; align-items: center; gap: 0.55rem;
  color: var(--ci-text-subtle); font-size: 0.92rem;
}
.ci-case__result-dot {
  flex: none; width: 0.5rem; height: 0.5rem; border-radius: 9999px;
  background: var(--ci-accent-success);
}

/* 17.6 Tech badges: smaller pill with light periwinkle fill matching ref. */
.ci-case__tech span {
  background: #1E3A8A; color: #DBEAFE;
  border: 1px solid rgba(96,165,250,0.22);
  padding: 0.3rem 0.75rem; border-radius: 0.4rem;
  font-size: 0.78rem; font-weight: 500;
  display: inline-block; margin: 0 0.4rem 0.4rem 0;
}

/* 17.7 H4 labels (CHALLENGE / SOLUTION / KEY RESULTS / TECHNOLOGIES USED):
   small all-caps blue accent matching reference. */
.ci-case__col h4 {
  color: #60A5FA; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 0 0 0.6rem; line-height: 1;
}
.ci-case__col p { font-size: 0.92rem; line-height: 1.65; color: var(--ci-text-subtle); margin: 0; }

/* 17.8 Track Record: emoji font fallback so headless renderers without
   Apple/Segoe Color Emoji still get something visible. */
.ci-record__icon {
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Twemoji Mozilla', sans-serif;
  font-size: 2.25rem; line-height: 1; margin-bottom: 0.5rem;
}
.ci-record__card { padding: 2.5rem 1.5rem; }
/* ============================================================= */
/* 18. Phase 7e v2.1.7 — Canonical Core.App alignment              */
/* Source: github.com/InnectSphere/Core.App                        */
/* ============================================================= */

/* 18.1 Footer: bg-gray-900 (#111827) instead of #0B1220 to match
   canonical Tailwind `bg-gray-900` exactly. */
.ci-footer { background: #111827; }

/* 18.2 Footer social icons: rounded-lg square (was 9999px circle)
   matching canonical `rounded-lg flex items-center justify-center w-10 h-10`. */
.ci-footer__social a {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  background: #1F2937;
  border: 0;
}
.ci-footer__social a:hover {
  background: var(--ci-primary);
  transform: none;
}

/* 18.3 About story stats: icon above number, blue color.
   Matches canonical `<Users className="w-6 h-6"/> + text-3xl + label`. */
.ci-story-stat { background: transparent !important; border: 0 !important; padding: 0 !important; text-align: left; }
.ci-story-stat__icon { color: #60A5FA; margin-bottom: 0.5rem; }
.ci-story-stat__icon svg { width: 24px; height: 24px; }
.ci-story-stat .ci-team-stat__value { color: #FFFFFF; font-size: 1.875rem; font-weight: 700; line-height: 1; margin-bottom: 0.25rem; }
.ci-story-stat .ci-team-stat__label { color: #9CA3AF; font-size: 0.875rem; font-weight: 400; }
.ci-story-stats {
  padding-top: 2.5rem;
  border-top: 1px solid var(--ci-border-dark);
  gap: 1.5rem;
}

/* 18.4 About journey: huge ghost-blue year text matching canonical
   `text-5xl font-bold text-blue-900/50`. Cards lose their dark bg
   border styling. */
.ci-journey--canonical { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .ci-journey--canonical { grid-template-columns: repeat(4, 1fr); } }
.ci-journey__item--canonical {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--ci-text-inverse);
}
.ci-journey__year-big {
  font-size: 3rem; font-weight: 700; line-height: 1;
  color: rgba(30, 58, 138, 0.55);
  margin-bottom: 1rem;
}
.ci-journey__item--canonical .ci-journey__title { font-size: 1.25rem; font-weight: 700; color: var(--ci-text-inverse); margin: 0 0 0.5rem; }
.ci-journey__item--canonical .ci-journey__body { color: #D1D5DB; font-size: 0.95rem; line-height: 1.65; margin: 0; }

/* 18.5 Why-Us decorative blue square BELOW image (top-right offset).
   Matches canonical `absolute -bottom-6 -right-6 w-64 h-64 bg-blue-100
   rounded-2xl -z-10`. */
.ci-split__decor {
  position: absolute; right: -1.5rem; bottom: -1.5rem;
  width: 16rem; height: 16rem;
  background: #DBEAFE;
  border-radius: 1rem;
  z-index: -1;
  inset: auto -1.5rem -1.5rem auto;
}
.ci-split__decor--top {
  position: absolute; left: -1.5rem; top: -1.5rem; right: auto; bottom: auto;
  width: 12rem; height: 12rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 1rem;
  z-index: -1;
  inset: -1.5rem auto auto -1.5rem;
}
.ci-split__media { position: relative; isolation: isolate; }

/* 18.6 Hero hide bottom white-fade strip — canonical has it but it
   looks bad on the WP page when next section is also dark. Keep as
   subtle 40px instead of bold 80px. */
.ci-hero::after {
  height: 4rem;
  background: linear-gradient(to top, rgba(255,255,255,0.40) 0%, rgba(255,255,255,0) 100%);
}

/* 18.7 Header is sticky (already correct) but with transparent bg on
   home and dark elsewhere. Currently mine is always slightly translucent.
   Keep behavior — matches isScrolled pattern in JS. */

/* 18.8 Canonical has section H2 sized as `text-3xl sm:text-4xl` (NOT
   text-5xl). Override our larger clamp on dark sections. */
.ci-section--dark .ci-section-head .ci-h2,
.ci-section--dark-alt .ci-section-head .ci-h2 {
  font-size: clamp(1.875rem, 2vw + 1rem, 2.5rem);
}

/* 18.9 Section-head "Our Services" / "About InnectSphere" pills:
   canonical uses `bg-blue-100 text-blue-700` but on the home page
   the dark section reads better with our blue-600/20 + light text.
   Already handled in 14.3 — keep. */

/* 18.10 Service-card icon rounded-xl (not 0.75rem) — canonical uses
   `rounded-xl` which in Tailwind = 0.75rem. Already correct. */
/* ============================================================= */
/* 19. Phase 7e v2.1.7 hotfix — final canonical alignment          */
/* ============================================================= */

/* 19.1 Hero stats: plain text (no card boxes), white numbers, gray
   labels — matches canonical exactly. The Section 16.4 .ci-stat rule
   was about the About page story-stats but this selector also matches
   home hero stats. Scope override here for hero. */
.ci-hero .ci-stat,
.ci-hero .ci-stats > * {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
.ci-hero .ci-stat__value { color: #FFFFFF !important; font-size: 1.875rem; font-weight: 700; line-height: 1; }
.ci-hero .ci-stat__label { color: #9CA3AF; font-size: 0.875rem; margin-top: 0.25rem; }

/* 19.2 Mobile hamburger guarantee — display:flex !important at any
   width <=768. Older rule used max-width:900 but the ci-menu-toggle is
   sometimes occluded by .ci-header__cta-wrap.. */
@media (max-width: 900px) {
  .ci-header__cta-wrap { display: none !important; }
  .ci-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.5rem !important; height: 2.5rem !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
  }
  .ci-menu-toggle svg { display: block; width: 26px; height: 26px; }
  .ci-header__container { gap: 1rem; }
}
/* 19.3 Aggressive mobile width constraint — all .ci-hero / .ci-page-hero
   children honor the viewport at <=480 to prevent any overflow. */
@media (max-width: 480px) {
  .ci-hero, .ci-page-hero, .ci-section, .ci-cta-banner, .ci-footer {
    max-width: 100vw; overflow: hidden;
  }
  .ci-container, .ci-hero__inner, .ci-page-hero > .ci-container {
    max-width: 100%; padding-left: 1rem; padding-right: 1rem;
  }
  .ci-cta-row { width: 100%; max-width: 100%; }
  .ci-cta-row .ci-btn {
    width: 100%; min-width: 0;
    white-space: normal;
    padding-left: 1rem; padding-right: 1rem;
    font-size: 0.95rem;
  }
  .ci-chip-row { gap: 0.5rem; }
  .ci-chip { font-size: 0.8rem; padding: 0.3rem 0.6rem; flex: 0 0 auto; }
  .ci-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .ci-hero .ci-h1 { font-size: 2rem; line-height: 1.15; }
  .ci-hero .ci-lead { font-size: 0.95rem; }
}