/* ============================================================
   SOLUTION INNOVATORS 2026 — DESIGN SYSTEM
   Phase 1: Static HTML
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  --navy:          #0B3152;
  --navy-dark:     #091f35;
  --navy-mid:      #0f2a42;
  --blue:          #1a5f8f;
  --blue-hover:    #155079;
  --blue-light:    #43ADDF;
  --blue-pale:     #d0e9f7;
  --green:         #8BC147;
  --green-dark:    #6fa032;
  --green-light:   #e4f2c8;
  --red:           #c75350;
  --red-dark:      #a83e3b;
  --red-light:     #f5d8d8;
  --bg:            #f5f7fa;
  --surface:       #ffffff;
  --card:          #eef3f8;
  --border:        #d4e1ef;
  --text:          #1c2b3a;
  --text-mid:      #4a6080;
  --text-light:    #8a9eb8;

  --font-heading:  'DM Serif Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, -apple-system, sans-serif;

  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-full:   9999px;

  --shadow-sm:     0 1px 4px rgba(11, 49, 82, 0.07);
  --shadow-md:     0 4px 16px rgba(11, 49, 82, 0.10);
  --shadow-lg:     0 8px 32px rgba(11, 49, 82, 0.14);
  --shadow-xl:     0 16px 48px rgba(11, 49, 82, 0.18);

  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h:         96px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; transition: all 0.3s ease; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 68px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.2rem; }
p { max-width: 68ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 12px;
}
.eyebrow--white { color: rgba(255,255,255,0.7); }

/* richTxt — opt-in class for prose content (blog posts, policy pages, etc.)
   Restores bullets/numbers and standard spacing stripped by the global reset. */
.richTxt ul,
.richTxt ol {
  padding-left: 1.5rem;
  margin: 1rem 0 1.25rem;
}
.richTxt ul { list-style: disc; }
.richTxt ol { list-style: decimal; }
.richTxt ul ul { list-style: circle; margin: 0.25rem 0; }
.richTxt ul ul ul { list-style: square; }
.richTxt li { margin-bottom: 0.4rem; line-height: 1.7; }
.richTxt p { margin-bottom: 1rem; }
.richTxt h2 { margin-top: 2.25rem; margin-bottom: 0.6rem; }
.richTxt h3 { margin-top: 1.5rem; margin-bottom: 0.4rem; }
.richTxt h4 { margin-top: 1.25rem; margin-bottom: 0.3rem; }
.richTxt a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.richTxt a:hover { color: var(--blue-light); }
.richTxt strong { color: var(--text); }

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1400px; }

.section        { padding: 96px 0; }
.section--sm    { padding: 64px 0; }
.section--lg    { padding: 120px 0; }
.section--navy  { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--card  { background: var(--card); }

/* Per-section gradient tints */
#managed-apps.section--card {
  background: linear-gradient(135deg, var(--card) 0%, rgba(67,173,223,0.10) 100%);
}
#custom-projects.section--card {
  background: linear-gradient(135deg, rgba(67,173,223,0.08) 0%, rgba(139,193,71,0.08) 100%);
}

.section--white { background: var(--surface); }

@keyframes gradient-bubble {
  0%   { background-position: 20% 30%; }
  20%  { background-position: 75% 15%; }
  40%  { background-position: 85% 75%; }
  60%  { background-position: 30% 85%; }
  80%  { background-position: 10% 40%; }
  100% { background-position: 20% 30%; }
}
.section--gradient {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green) 0%, var(--blue-light) 35%, var(--blue) 65%, var(--green) 100%);
  background-size: 400% 400%;
  animation: gradient-bubble 36s ease-in-out infinite;
  color: #fff;
}
.section--gradient h2,
.section--gradient h3 { color: #fff; }
.section--gradient .eyebrow { color: rgba(255,255,255,0.75); }
.section--gradient p { color: rgba(255,255,255,0.85); }
.section--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/svgs/architect.svg') repeat;
  filter: brightness(0) invert(1);
  opacity: 0.08;
  pointer-events: none;
}

.grid-2  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5  { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 40px; }

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 10px; }
.section-header h3 { margin-bottom: 14px; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: background 200ms ease-out, color 200ms ease-out,
              border-color 200ms ease-out, transform 150ms ease-out,
              box-shadow 200ms ease-out;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(139, 193, 71, 0.3);
}
.btn-green:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 20px rgba(139, 193, 71, 0.4);
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 12px rgba(199, 83, 80, 0.3);
}
.btn-red:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 20px rgba(199, 83, 80, 0.4);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-navy:hover { background: var(--navy-dark); }

.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-blue:hover { background: var(--blue-hover); }

.btn-blue-light {
  background: var(--blue-light);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-blue-light:hover { background: #35a0d4; }


.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: height 300ms ease-out, background 300ms ease-out, border-color 300ms ease-out, box-shadow 300ms ease-out;
}
.nav.scrolled {
  height: 68px;
  box-shadow: 0 2px 16px rgba(9, 31, 53, 0.1);
}
.nav.scrolled + .nav-mobile { top: 68px; }
.nav .container {
  height: 100%;
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 300ms ease-out;
}
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* Hide logo on homepage before scrolling — the video hero logo takes its place */
.nav--hero:not(.scrolled) .nav-logo {
  opacity: 0;
  pointer-events: none;
}
.nav-logo img {
  height: 34px;
  width: auto;
  transition: height 300ms ease-out;
}
.nav:not(.scrolled) .nav-logo img { height: 52px; }

/* Homepage: transparent overlay on dark hero */
.nav--hero:not(.scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
.nav--hero:not(.scrolled) .nav-logo img { height: 68px; }
.nav--hero:not(.scrolled) .nav-links > a,
.nav--hero:not(.scrolled) .nav-links .nav-item > a { color: rgba(255,255,255,0.82); }
.nav--hero:not(.scrolled) .nav-links > a:hover,
.nav--hero:not(.scrolled) .nav-links > a.active,
.nav--hero:not(.scrolled) .nav-links .nav-item > a:hover,
.nav--hero:not(.scrolled) .nav-links .nav-item > a.active { color: #fff; background: rgba(255,255,255,0.1); }
.nav--hero:not(.scrolled) .nav-hamburger { color: #fff; }
.nav--hero:not(.scrolled) .nav-hamburger:hover { background: rgba(255,255,255,0.15); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 150ms ease-out, background 150ms ease-out;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); background: var(--card); }

.nav-cta { margin-left: 0; }

/* Dropdown nav item */
.nav-item {
  position: relative;
}
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-chevron {
  font-size: 0.7rem;
  transition: transform 200ms ease-out;
}
.nav-item:hover .nav-chevron {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(11,49,82,0.12);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease-out, transform 180ms ease-out, visibility 180ms;
  z-index: 200;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
  transition: color 150ms ease-out, background 150ms ease-out;
}
.nav-dropdown a:hover { color: var(--navy); background: var(--card); }

/* Mobile sub-link indent */
.nav-mobile-item { display: flex; flex-direction: column; }
.nav-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 150ms, background 150ms;
}
.nav-mobile-toggle:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-mobile-toggle i { transition: transform 250ms ease; }
.nav-mobile-item.open .nav-mobile-toggle i { transform: rotate(180deg); }
.nav-mobile-submenu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 280ms ease;
}
.nav-mobile-item.open .nav-mobile-submenu { max-height: 120px; }
.nav-mobile-submenu-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  padding-bottom: 4px;
}
.nav-mobile-submenu-inner a {
  font-size: 0.9rem !important;
  opacity: 0.85;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.25rem;
}
.nav-hamburger:hover { background: var(--card); }
.nav-hamburger { position: relative; }
.nav-hamburger-bars,
.nav-hamburger-xmark {
  position: absolute;
  transition: opacity 200ms ease, transform 200ms ease;
}
.nav-hamburger-xmark { opacity: 0; transform: rotate(-45deg) scale(0.75); }
.nav-hamburger[aria-expanded="true"] .nav-hamburger-bars { opacity: 0; transform: rotate(45deg) scale(0.75); }
.nav-hamburger[aria-expanded="true"] .nav-hamburger-xmark { opacity: 1; transform: rotate(0deg) scale(1); }

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--navy-dark);
  padding: 16px 24px 24px;
  box-shadow: 0 8px 24px rgba(9,31,53,0.4);
  z-index: 99;
  clip-path: inset(0 0 100% 0);
  transform: translateY(-6px);
  visibility: hidden;
  transition: clip-path 280ms ease, transform 280ms ease, visibility 0s linear 280ms;
}
.nav-mobile.open {
  clip-path: inset(0 0 -24px 0);
  transform: translateY(0);
  visibility: visible;
  transition: clip-path 280ms ease, transform 280ms ease, visibility 0s;
}
.nav-mobile a {
  padding: 12px 16px;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 150ms, background 150ms;
}
.nav-mobile a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-mobile .btn { margin-top: 8px; width: 100%; justify-content: center; }
.nav-mobile .btn-green:hover { background: var(--green-dark); box-shadow: 0 6px 20px rgba(139, 193, 71, 0.4); }

/* === VIDEO HERO === */
.video-hero {
  position: relative;
  min-height: 96vh;
  overflow: visible;
  background: var(--navy);
}
.video-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30,42,55,0.38) 0%,
    rgba(30,42,55,0.28) 45%,
    rgba(30,42,55,0.72) 78%,
    rgba(30,42,55,0.85) 100%
  );
  z-index: 1;
}

/* Logo: centered between the nav and the text block */
.video-hero-logo-wrap {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 220px; /* clears the text block + scroll arrow */
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-hero-logo {
  width: clamp(200px, 45vw, 400px);
  height: auto;
  filter: drop-shadow(0 8px 40px rgba(0,0,0,0.35));
}

/* Text: pinned near the bottom, above the scroll arrow */
.video-hero-text {
  position: absolute;
  bottom: 85px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}
.video-hero-text h1 {
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  margin-bottom: 10px;
}
.video-hero-text h1 em { color: var(--blue-light); font-style: normal; }
.video-hero-text .hero-subhead {
  color: rgba(255,255,255,0.82);
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  margin: 0 auto;
  max-width: 52ch;
  line-height: 1.6;
}

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 104px;
  z-index: 3;
  pointer-events: none;
}
.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Scroll arrow — sits inside the wave arch; JS interpolates color on scroll */
.video-hero-scroll {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: rgba(11,49,82,0.8);
  font-size: 1.4rem;
  text-decoration: none;
  animation: bounce-down 2s ease-in-out infinite;
  transition: color 200ms ease-out, opacity 200ms ease-out;
}
.video-hero-scroll:hover { opacity: 0.7; }
@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* === SEARCH === */
.nav-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text-mid);
  font-size: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-search-btn:hover { color: var(--navy); background: var(--card); }
.nav--hero:not(.scrolled) .nav-search-btn { color: rgba(255,255,255,0.82); }
.nav--hero:not(.scrolled) .nav-search-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(11, 49, 82, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.search-close {
  position: absolute;
  top: calc(var(--nav-h) + 16px);
  right: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.6);
  font-size: 1.4rem;
  background: rgba(255,255,255,0.08);
  border: none;
  cursor: pointer;
}
.search-close:hover { color: #fff; background: rgba(255,255,255,0.16); }
.search-overlay-inner {
  width: 100%;
  max-width: 680px;
  padding: 0 24px;
}
.search-label {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.search-form {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid rgba(255,255,255,0.25);
  padding-bottom: 16px;
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-family: var(--font-heading);
}
.search-input::placeholder { color: rgba(255,255,255,0.25); }
.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23ffffff' d='M15 5L5 15M5 5l10 10' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 150ms ease-out;
}
.search-input::-webkit-search-cancel-button:hover { opacity: 1; }
.search-submit {
  color: rgba(255,255,255,0.4);
  font-size: 1.6rem;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.search-submit:hover { color: #fff; }

.search-results {
  margin-top: 12px;
  max-height: 50vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.search-results::-webkit-scrollbar { width: 4px; }
.search-results::-webkit-scrollbar-track { background: transparent; }
.search-results::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }
.search-result-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 150ms ease-out;
}
.search-result-item:hover { background: rgba(255,255,255,0.08); }
.search-result-item strong {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.search-result-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.search-no-results {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.35);
  padding: 16px 14px;
  margin: 0;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse at 70% 40%, rgba(26, 95, 143, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 80%, rgba(67, 173, 223, 0.12) 0%, transparent 50%);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(67,173,223,0.3), transparent);
}
.hero-content {
  max-width: 760px;
  padding: 64px 0;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green);
  flex-shrink: 0;
}
.hero h1 {
  color: #fff;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-light);
}
.hero-subhead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  max-width: 60ch;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-trust i { color: var(--blue-light); font-size: 0.9em; }

/* === PAGE HERO (inner pages) === */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 56px) 0 64px;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/svgs/subtle-prism.svg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero--it {}
.page-hero--it::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/svgs/circuit-board.svg');
  background-size: 304px 304px;
  background-repeat: repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.page-hero--it .container {
  position: relative;
  z-index: 1;
}
.page-hero--web {}
.page-hero--web::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/svgs/endless-constellation.svg');
  background-size: 400px 400px;
  background-repeat: repeat;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.page-hero--web .container {
  position: relative;
  z-index: 1;
}
.page-hero--about {}
.page-hero--about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/svgs/formal-invitation.svg');
  background-size: 75px 14px;
  background-repeat: repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.page-hero--about .container {
  position: relative;
  z-index: 1;
}
.page-hero--careers {}
.page-hero--careers::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/svgs/4-point-stars.svg');
  background-size: 48px 48px;
  background-repeat: repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.page-hero--careers .container {
  position: relative;
  z-index: 1;
}

.page-hero--pm {}
.page-hero--pm::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/svgs/endless-constellation.svg');
  background-size: 400px 400px;
  background-repeat: repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.page-hero--pm .container {
  position: relative;
  z-index: 1;
}

.page-hero--resources {}
.page-hero--resources::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/svgs/circuit-board.svg');
  background-size: 304px 304px;
  background-repeat: repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.page-hero--resources .container {
  position: relative;
  z-index: 1;
}

.page-hero--blog {}
.page-hero--blog::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/svgs/subtle-prism.svg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.page-hero--blog .container {
  position: relative;
  z-index: 1;
}
.page-hero h1.eyebrow { display: block; }
h2.page-hero-display {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}
.page-hero-lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 56ch;
  line-height: 1.7;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.page-hero-grid:has(.page-hero-visual) {
  grid-template-columns: minmax(0, 1fr) 38%;
  grid-template-areas:
    "content visual"
    "lead    visual";
  align-items: start;
}
.page-hero-grid:has(.page-hero-visual) .page-hero-content { grid-area: content; align-self: end; }
.page-hero-visual  { grid-area: visual; align-self: stretch; display: flex; align-items: center; justify-content: flex-end; }
.page-hero-grid:has(.page-hero-visual) .page-hero-lead    { grid-area: lead; }
.page-hero-visual img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 260px;
  filter: drop-shadow(0 8px 28px rgba(11, 49, 82, 0.16));
  animation: hero-slide-up 0.7s ease-out both;
  transition: filter 0.35s ease;
  cursor: default;
}
.page-hero-visual img:hover {
  filter: drop-shadow(0 18px 44px rgba(11, 49, 82, 0.32));
}
@keyframes hero-slide-up {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@media (max-width: 860px) {
  .page-hero-grid:has(.page-hero-visual) {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "content visual"
      "lead    lead";
    align-items: start;
    margin-top: -30px;
  }
  .page-hero-visual img {
    height: auto;
    width: auto;
    max-height: 225px;
    margin-bottom: 24px;
    margin-top: -80px;
  }
}
@media (max-width: 750px) {
  .page-hero-grid:has(.page-hero-visual) { margin-top: 0; }
}
@media (max-width: 700px) {
  .page-hero-visual img {
    height: auto;
    width: auto;
    max-height: 200px;
    margin-bottom: 24px;
    margin-top: 0;
  }
}
@media (max-width: 550px) {
  .page-hero-grid:has(.page-hero-visual) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "content"
      "lead";
    margin-top: 0;
  }
  .page-hero-visual {
    justify-content: center;
  }
  .page-hero-visual img {
    max-height: none;
    width: 100%;
    max-width: 90%;
    padding: 12px;
    margin-bottom: 24px;
  }
}

/* === TRUST STRIP === */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-strip-inner--3 { grid-template-columns: repeat(3, 1fr); }
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 32px;
  border-right: 1px solid var(--border);
  transition: background 200ms ease-out;
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--card); }
.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background 200ms, color 200ms;
}
.trust-item:hover .trust-icon { background: var(--navy); color: var(--blue-light); }
.trust-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.trust-text span {
  font-size: 0.78rem;
  color: var(--text-mid);
}

/* === STAT COUNTERS === */
.stats { background: var(--blue); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 56px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: #fff;
  line-height: 1;
  min-height: clamp(2.4rem, 4vw, 3.4rem);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.stat-number .suffix {
  font-size: 0.55em;
  color: var(--blue-light);
  font-family: var(--font-body);
  font-weight: 600;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-accent {
  width: 32px;
  height: 2px;
  background: var(--green);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* === SERVICES OVERVIEW === */
.services-overview { background: var(--surface); padding-top: 60px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow 450ms ease, transform 450ms ease, border-color 450ms ease;
  position: relative;
}
    .service-card a {
        /* Position any links in the post excerpt at the top of the `z-index` stack. */
        a {
          position: relative;
          z-index: 1;
        }
    }
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--blue-pale);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 24px;
  transition: background 200ms, color 200ms;
}

.service-card:hover .service-icon { background: var(--navy); color: var(--blue-light); }
.service-card--web:hover .service-icon { color: #8BC147; }
.service-card--it:hover  .service-icon { color: #c75350; }
.service-card h3 { margin-bottom: 14px; }
.service-card p { color: var(--text-mid); margin-bottom: 24px; font-size: 0.95rem; }
.service-card--web,
.service-card--it {
  position: relative;
  overflow: hidden;
  background-color: #eef3f8;
}
.service-card--web::before,
.service-card--it::before {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}
.service-card--web::before {
  background-image: url('../images/svgs/endless-constellation.svg');
  background-size: 400px 400px;
  opacity: 0.14;
}
.service-card--it::before {
  background-image: url('../images/svgs/circuit-board.svg');
  background-size: 340px 340px;
  opacity: 0.04;
}
.service-card--web > *,
.service-card--it > * {
  position: relative;
  z-index: 1;
}
.service-card--web .tag,
.service-card--it .tag {
  background: #fff;
  position: relative;
}
.service-card--web .service-icon,
.service-card--it .service-icon {
  background: #fff;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}
.service-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 150ms ease-out, color 150ms;
}
.service-link:hover { color: var(--navy); gap: 10px; }

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--card);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-mid);
}
a.tag:hover {
  background: var(--blue);
  color: #fff;
}
.service-card--web a.tag:hover { background: #8BC147; }
.service-card--it  a.tag:hover { background: #c75350; }

/* === MISSION & VISION === */
.purpose-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: box-shadow 250ms var(--ease), transform 250ms var(--ease);
}
.purpose-card:hover {
  box-shadow: 0 8px 32px rgba(11,49,82,0.10);
  transform: translateY(-4px);
}
.purpose-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: rgba(67,173,223,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 4px;
}
.purpose-type {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}
.purpose-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--text);
  line-height: 1.45;
  margin: 0;
  font-style: normal;
}

.section--gradient .purpose-card .purpose-type      { color: var(--blue); }
.section--gradient .purpose-card .purpose-statement { color: var(--text); }
.section--gradient .pm-card h3 { color: var(--text); }
.section--gradient .pm-card p  { color: var(--text-mid); }

#mission-vision .grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) {
  #mission-vision .grid-2 { grid-template-columns: 1fr; }
}

/* === CORE VALUES === */
.core-values {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding-top: 56px;
}
.core-values::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/svgs/endless-constellation.svg');
  background-size: 400px 400px;
  background-repeat: repeat;
  opacity: 0.1;
  filter: brightness(6);
  pointer-events: none;
  z-index: 0;
}
.core-values .container { position: relative; z-index: 1; }
.core-values .section-header { color: #fff; }
.core-values h2 { color: #fff; }
.core-values .section-header p { color: rgba(255,255,255,0.65); }

/* Wave layers */
.waves-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 350px;
  pointer-events: none;
  z-index: 0;
}
.wave-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  background-position: bottom;
}
.wave-layer--1 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C200,20 400,100 600,60 C800,20 1000,100 1200,60 L1200,120 L0,120 Z' fill='rgba(26,95,143,0.22)'/%3E%3C/svg%3E");
  background-size: 50% 180px;
  animation: wave-drift 20s linear infinite;
}
.wave-layer--2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C150,80 450,10 600,50 C750,90 1050,20 1200,40 L1200,120 L0,120 Z' fill='rgba(26,95,143,0.13)'/%3E%3C/svg%3E");
  background-size: 50% 130px;
  animation: wave-drift 14s linear infinite reverse;
}
.wave-layer--3 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,70 C300,30 600,100 900,55 C1050,35 1150,75 1200,70 L1200,120 L0,120 Z' fill='rgba(26,95,143,0.3)'/%3E%3C/svg%3E");
  background-size: 50% 230px;
  animation: wave-drift 28s linear infinite;
}
@keyframes wave-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* "Learn more" link */
.values-footer { margin-top: 40px; }
.values-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 200ms ease-out;
}
.values-learn-more:hover { color: rgba(255,255,255,0.85); }
.values-learn-more i { font-size: 0.8rem; transition: transform 200ms ease-out; }
.values-learn-more:hover i { transform: translateX(3px); }
.value-card {
  background: rgba(11,49,82,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: background 250ms ease-out, border-color 250ms, transform 250ms var(--ease);
}
.value-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(67, 173, 223, 0.25);
  transform: translateY(-4px);
}
.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  background: rgba(67,173,223,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--blue-light);
  transition: background 200ms, transform 200ms;
}
.value-card:hover .value-icon {
  background: rgba(139, 193, 71, 0.22);
  color: var(--green);
  transform: scale(1.08);
}
.value-card .value-icon {
  position: relative;
}
.value-card:hover .value-icon-default { opacity: 0; }
.value-card:hover .value-icon-hover   { opacity: 1; }
.value-card h4 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  font-style: normal;
  letter-spacing: 0.02em;
}
.value-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 100%;
}

/* === VALUES INTERACTIVE (about page) === */
.values-tab-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.value-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 16px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  flex: 1;
  min-width: 120px;
  position: relative;
  transition: background 200ms, border-color 200ms, color 200ms, border-bottom-left-radius 200ms, border-bottom-right-radius 200ms;
}
.value-tab:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(67,173,223,0.25);
  color: #fff;
}
.value-tab.is-active {
  background: rgba(67,173,223,0.1);
  border-color: rgba(67,173,223,0.45);
  color: #fff;
}
.value-tab .value-icon {
  width: 80px;
  height: 80px;
  font-size: 1.9rem;
  margin: 0;
  position: relative;
  transition: background 200ms, color 200ms;
}
.value-tab.is-active .value-icon {
  background: rgba(139,193,71,0.2);
  color: var(--green);
}

/* Icon swap on hover — default fades out, hover icon fades in */
.value-icon-default,
.value-icon-hover {
  transition: opacity 200ms ease-out;
}
.value-icon-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.value-tab:hover .value-icon-default,
.value-tab.is-active .value-icon-default { opacity: 0; }
.value-tab:hover .value-icon-hover,
.value-tab.is-active .value-icon-hover   { opacity: 1; }

.value-tab-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.3;
}
.value-tab-cta {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.value-tab:hover .value-tab-cta { color: rgba(255,255,255,0.6); }
.value-tab.is-active .value-tab-cta { color: var(--blue-light); }
.value-tab-cta i { transition: transform 300ms var(--ease); }
.value-tab.is-active .value-tab-cta i { transform: rotate(180deg); }

/* Connector caret — active tab visually flows into panel below */

/* Panel open/close — grid-template-rows animates height without needing a fixed value */
.value-panel-wrap {
  flex-basis: 100%;
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  transition: grid-template-rows 400ms var(--ease), margin-top 400ms var(--ease);
}
.value-panel-wrap.is-open {
  grid-template-rows: 1fr;
  margin-top: 14px;
}
.value-panel { overflow: hidden; }
.value-panel-inner {
  position: relative;
  background: rgba(67,173,223,0.1);
  border: 1px solid rgba(67,173,223,0.45);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
}
.value-panel-item {
  display: none;
  gap: 32px;
  align-items: flex-start;
}
.value-panel-item.is-active {
  display: flex;
  animation: valuePanelIn 320ms var(--ease) both;
}
.value-panel-item.is-leaving {
  display: flex;
  position: absolute; /* removed from flow so incoming item sets the height */
  inset: 40px 48px auto;
  animation: valuePanelOut 200ms ease-in both;
  pointer-events: none;
}
@keyframes valuePanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes valuePanelOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}
.value-panel-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: rgba(139,193,71,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--green);
}
.value-panel-body h3 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: 14px;
}
.value-panel-body p {
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 680px;
}

/* === TESTIMONIALS === */
.testimonials { background: var(--bg); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 250ms var(--ease), transform 250ms var(--ease);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--green);
  font-size: 0.85rem;
}
.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
  font-style: italic;
  max-width: 100%;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* === GOOGLE REVIEWS PLACEHOLDER === */
.google-reviews-placeholder {
  background: var(--card);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  color: var(--text-mid);
}
.google-reviews-placeholder i { font-size: 2rem; margin-bottom: 12px; color: var(--blue-light); display: block; }
.google-reviews-placeholder p { margin: 0 auto; font-size: 0.9rem; }

/* === ABOUT PREVIEW === */
.about-preview { background: var(--surface); }
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-preview-text .eyebrow { display: block; margin-bottom: 12px; }
.about-preview-text h2 { margin-bottom: 20px; }
.about-preview-text p { color: var(--text-mid); margin-bottom: 16px; }
.about-preview-text p:last-of-type { margin-bottom: 32px; }
.about-preview-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--card);
}
.about-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.about-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--blue-light);
}
.about-badge span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* === SERVICE DETAIL (inner pages) === */
.service-detail { background: var(--surface); }
.service-detail:nth-child(even) { background: var(--bg); }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-detail-grid.reverse .service-detail-visual { order: -1; }
.service-detail-text .eyebrow { display: block; margin-bottom: 12px; }
.service-detail-text h2 { margin-bottom: 18px; }
.service-detail-text p { color: var(--text-mid); margin-bottom: 28px; }
.feature-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.feature-list li i { color: var(--blue); font-size: 0.85rem; margin-top: 3px; flex-shrink: 0; }
.service-detail-visual {
  background: var(--card);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-detail-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,95,143,0.1) 0%, transparent 60%);
}
.service-detail-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* === IT PLANS GRID === */
.it-plans-section { border-bottom: 1px solid var(--border); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: box-shadow 250ms var(--ease), transform 250ms var(--ease);
}

.plan-card:hover {
  box-shadow: 0 8px 32px rgba(26,95,143,0.12);
  transform: translateY(-3px);
}

.plan-card--featured {
  border-top-color: var(--green);
  box-shadow: 0 4px 24px rgba(196,120,58,0.15);
}

.plan-card--featured:hover {
  box-shadow: 0 12px 40px rgba(196,120,58,0.22);
}

.plan-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 0 0 6px 6px;
}

.plan-header { display: flex; flex-direction: column; gap: 8px; }

.plan-name {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.plan-ideal {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

.plan-features {
  flex: 1;
}

@media (max-width: 860px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    margin: 0 auto;
  }
  .plans-grid .plan-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}
@media (max-width: 650px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .plans-grid .plan-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

/* === PRICING CARD === */
.pricing-section { background: var(--navy); }
.pricing-section h2 { color: #fff; }
.pricing-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  transition: background 250ms, border-color 250ms;
}
.pricing-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(196,120,58,0.3);
}
.pricing-info h3 { color: #fff; margin-bottom: 10px; }
.pricing-info p { color: rgba(255,255,255,0.55); font-size: 0.9rem; max-width: 42ch; }
.pricing-amount {
  text-align: right;
  flex-shrink: 0;
}
.pricing-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--blue-light);
  line-height: 1;
}
.pricing-unit {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  margin-top: 4px;
}

/* === RESOURCE CARDS === */
.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 250ms var(--ease), transform 250ms var(--ease);
}
.resource-card:hover {
  box-shadow: 0 8px 32px rgba(11,49,82,0.10);
  transform: translateY(-4px);
}
.resource-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(67,173,223,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 4px;
}
.resource-card h3 { margin: 0; font-size: 1.2rem; color: var(--text); }
.resource-card p  { color: var(--text-mid); margin: 0; flex: 1; font-size: 0.95rem; line-height: 1.6; }
.resource-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.resource-card:hover .resource-card-link { color: var(--blue-light); }

.pm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pm-card h3 { margin: 0; font-size: 1.05rem; }
.pm-card p  { color: var(--text-mid); margin: 0; font-size: 0.9rem; line-height: 1.6; }
.pm-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* === PORTFOLIO GRID === */
.portfolio-grid-section { background: var(--bg); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 250ms var(--ease), transform 250ms var(--ease);
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.portfolio-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--card);
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 400ms var(--ease);
}
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.04); }
.portfolio-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.portfolio-body h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.portfolio-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 150ms, color 150ms;
}
.portfolio-link:hover { color: var(--navy); gap: 10px; }

/* === TEAM GRID === */
.team-section { background: var(--surface); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px;
}
.team-card {
  text-align: center;
  transition: transform 250ms var(--ease);
}
.team-card:hover { transform: translateY(-4px); }
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  margin-bottom: 16px;
  position: relative;
}
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 1;
}
.team-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--blue);
  background: linear-gradient(135deg, var(--card), var(--blue-pale));
  z-index: 0;
}
.team-name { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.team-role { font-size: 0.8rem; color: var(--text-mid); }

/* === CERT BADGES === */

/* === COMPANY STORY (About page) === */
.story-section { background: var(--surface); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.story-text h2 { margin-bottom: 24px; }
.story-text p { color: var(--text-mid); margin-bottom: 20px; }
.story-text p:last-child { margin-bottom: 0; }
.story-milestones {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.milestone {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.milestone:last-child { border-bottom: none; }
.milestone-year {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--blue);
  white-space: nowrap;
  min-width: 56px;
  flex-shrink: 0;
}
.milestone-text strong { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.milestone-text span { font-size: 0.82rem; color: var(--text-mid); }
.story-right { display: flex; flex-direction: column; gap: 32px; }
.story-team-photo { aspect-ratio: 16/9; }

/* === CONTACT FORM === */
.contact-section { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color 150ms, box-shadow 150ms;
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 95, 143, 0.12);
}
.form-control.invalid,
.form-control:user-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(199, 83, 80, 0.12);
  background: var(--red-light);
}
.form-control.invalid:focus,
.form-control:user-invalid:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(199, 83, 80, 0.2);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 140px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { margin-top: 8px; }

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  color: #2e7d32;
  font-size: 0.95rem;
  margin-top: 16px;
}
.form-success.visible { display: block; }

/* === CONTACT INFO === */
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: #fff;
}
.contact-info-card h3 { color: #fff; margin-bottom: 28px; font-size: 1.3rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-info-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-text strong { display: block; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.contact-info-text a, .contact-info-text span { color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.contact-info-text a:hover { color: var(--blue-light); }

/* === CTA BANNER === */
.cta-banner {
  background-color: var(--green);
  background-image: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin: 0 auto 36px; }
.cta-banner .btn-outline-white { border-color: rgba(255,255,255,0.6); }
.cta-banner--red {
  background-color: var(--red);
  background-image: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
}

/* === FOOTER === */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 28ch; }
.footer-social { display: flex; gap: 14px; margin-top: .5rem; }
.footer-social a { color: rgba(255,255,255,0.4); font-size: 1.1rem; transition: color 150ms; }
.footer-social a:hover { color: #fff; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li { display: flex; align-items: flex-start; }
.footer-col li a, .footer-col li span { display: inline-flex; align-items: center; gap: 8px; }
.footer-col li i { color: var(--blue-light); font-size: 0.85rem; flex-shrink: 0; }
.footer-col a { font-size: 0.88rem; transition: color 150ms; }
.footer-col span { font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom a { color: rgba(255,255,255,0.38); transition: color 150ms; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-trust { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 18px 0; }
.footer-trust span { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.footer-trust i { color: var(--blue-light); font-size: 0.85rem; }
.footer-legal-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.footer-legal-links a { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; color: rgba(255,255,255,0.38); text-decoration: none; transition: color 150ms; }
.footer-legal-links a:hover { color: rgba(255,255,255,0.7); }
.footer-legal-links i { font-size: 0.75rem; }

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .core-values .grid-5 { display: flex; flex-wrap: wrap; justify-content: center; }
  .core-values .grid-5 > * { flex: 0 0 calc(33.333% - 16px); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :nth-child(3) { order: 4; }
  .footer-grid > :nth-child(4) { order: 3; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid .contact-info-card { order: -1; }
  .pricing-card { flex-direction: column; text-align: center; }
  .pricing-amount { text-align: center; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-strip-inner--3 { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-top: 1px solid var(--border); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--border); }
  .trust-strip-inner--3 .trust-item:nth-child(2) { border-right: 1px solid var(--border); }
  .trust-strip-inner--3 .trust-item:nth-child(3) { border-top: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,0.08);
    border-right: none;
  }
  .grid-2 { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-grid.reverse { direction: ltr; }
  .service-detail-visual { order: -1; }
  .story-grid { grid-template-columns: 1fr; }
  .about-preview-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  :root { --nav-h: 64px; }
  .nav:not(.scrolled) .nav-logo img { height: 38px; }
  .nav--hero:not(.scrolled) .nav-logo img { height: 44px; }
  .nav.scrolled { height: 56px; }
  .nav.scrolled + .nav-mobile { top: 56px; }
  .nav.scrolled .nav-logo img { height: 30px; }
  .section { padding: 56px 0; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { display: flex; justify-content: space-between; align-items: center; }
  .nav-logo { justify-content: flex-start; }
  .hero { min-height: 80vh; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 10px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .core-values .grid-5 > * { flex: 0 0 calc(50% - 12px); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 56px 0; }
  .pricing-card { padding: 32px 24px; }
  .value-panel-icon { width: 56px; height: 56px; font-size: 1.5rem; }
  .service-detail-visual { width: 80%; margin-left: auto; margin-right: auto; }
}

@media (max-width: 550px) {
  .service-detail-visual { width: 100%; }
}

@media (max-width: 800px) {
  .values-tab-row { flex-direction: column; gap: 6px; }
  .value-tab {
    flex: none;
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 16px 20px;
    gap: 14px;
  }
  .value-tab:nth-child(1) { order: 1; }
  .value-tab:nth-child(2) { order: 3; }
  .value-tab:nth-child(3) { order: 5; }
  .value-tab:nth-child(4) { order: 7; }
  .value-tab:nth-child(5) { order: 9; }
  .value-tab .value-icon { width: 48px; height: 48px; font-size: 1.3rem; flex-shrink: 0; margin: 0; }
  .value-tab-title { flex: 1; text-align: left; }
  .value-tab-cta { margin-left: auto; flex-shrink: 0; }
  .value-panel-wrap { width: 100%; order: 10; margin-top: 0 !important; }
  .value-panel-inner { padding: 24px 20px; }
  .value-panel-item { flex-direction: row; gap: 20px; }
  .value-panel-item.is-leaving { inset: 24px 20px auto; }
}

@media (max-width: 650px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid > :nth-child(3) { order: 0; }
  .footer-grid > :nth-child(4) { order: 0; }
}

@media (max-width: 600px) {
  .trust-strip-inner--3 { grid-template-columns: 1fr; }
  .trust-strip-inner--3 .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-strip-inner--3 .trust-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .core-values .grid-5 > * { flex: 0 0 100%; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .stat-item:first-child { border-top: none; }
  .trust-strip-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
  transition: color 200ms ease-out;
}

.breadcrumb a:hover { color: var(--navy); }

.breadcrumb span:last-child { color: var(--text-mid); }

/* ==========================================================================
   OUR WORK STRIP (web-services.html)
   ========================================================================== */


.our-work-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.our-work-strip-text { flex: 1; }

.our-work-strip-text h2 { margin-bottom: 12px; }

.our-work-strip-text p {
  margin: 0;
  max-width: 540px;
}

.our-work-strip-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.our-work-illustration {
  max-height: 180px;
  width: auto;
  filter: drop-shadow(0 4px 20px rgba(11,49,82,0.25));
}

@media (max-width: 768px) {
  .our-work-strip { flex-direction: column; align-items: flex-start; gap: 24px; }
  .our-work-strip-cta { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   BLOG GRID
   ========================================================================== */

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

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms ease-out, transform 200ms ease-out;
}

.blog-card:hover {
  box-shadow: 0 8px 32px rgba(11,49,82,0.10);
  transform: translateY(-2px);
}

.blog-card-thumb-link { display: block; }

.blog-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  font-size: 3rem;
  color: var(--blue);
}

.blog-card-thumb--navy { background: var(--navy); color: var(--blue-light); }
.blog-card-thumb--green { background: #fdf3ea; color: var(--green); }

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-card-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: #fdf3ea;
  padding: 3px 10px;
  border-radius: 20px;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.3;
  margin-bottom: 12px;
  font-weight: 400;
}

.blog-card-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 200ms ease-out;
}

.blog-card-title a:hover { color: var(--blue); }

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 200ms ease-out, color 200ms ease-out;
}

.blog-card-link:hover { color: var(--green); gap: 10px; }

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

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BLOG POST
   ========================================================================== */

.post-header {
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(26,95,143,0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: calc(var(--nav-h) + 56px) 0 56px;
}

.post-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--navy);
  max-width: 720px;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-mid);
}

.post-meta i { margin-right: 6px; }

.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

.post-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.post-body h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

.post-body p { margin-bottom: 20px; }

.post-lead {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.65;
  font-weight: 400;
  border-left: 3px solid var(--green);
  padding-left: 20px;
  margin-bottom: 28px;
}

.post-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.post-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }

.post-sidebar-card {
  background: var(--card);
  border-radius: 12px;
  padding: 24px;
}

.post-sidebar-card h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.post-sidebar-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.6;
}

.post-sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-sidebar-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 200ms ease-out, color 200ms ease-out;
}

.post-sidebar-links a:hover { color: var(--green); gap: 10px; }

@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}

/* ── FAQ section background ──────────────────────────── */
.section--faq-red {
  background: linear-gradient(135deg, #e4e8ed 0%, #d6edf7 100%);
  position: relative;
  overflow: hidden;
}
.section--faq-red::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/svgs/subtle-prism.svg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.18;
  pointer-events: none;
}
.section--faq-red .container { position: relative; z-index: 1; }

/* ── FAQ Accordion ───────────────────────────────────── */
.faq-list {
  max-width: 780px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(11,49,82,0.08);
}

.faq-item {
  background: var(--surface);
  border-bottom: 1px solid var(--card);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
}
.faq-question:hover { background: var(--card); }

.faq-question-icon {
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
}

.faq-question-text {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.faq-chevron {
  color: var(--text-light);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 250ms ease;
}
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 250ms ease;
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

.faq-answer-inner {
  overflow: hidden;
  padding: 0 4rem;
}
.faq-item.is-open .faq-answer-inner { padding-bottom: 1.25rem; }

.faq-answer-inner p {
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}
