/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --color-navy:        #013F61;
  --color-navy-dark:   #011E2E;
  --color-blue-mid:    #0573AB;
  --color-blue-light:  #63A7CA;
  --color-orange:      #EC5800;
  --color-orange-dark: #d44f00;
  --color-text:        #011E2E;
  --color-text-muted:  #5f6e7c;
  --color-text-subtle: #8a9aaa;
  --color-bg:          #ffffff;
  --color-bg-alt:      #f4f7fa;
  --color-icon-bg:     #e4eef6;
  --color-border:      rgba(1, 63, 97, 0.2);
  --color-white-faint:  rgba(255,255,255,0.1);
  --color-white-muted:  rgba(255,255,255,0.4);
  --color-white-body:   rgba(255,255,255,0.7);
  --color-env-dev:     #7c3aed;
  --color-env-staging: #16a34a;

  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   10px;
  --radius-xl:   12px;

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1100px;
  --content-padding: 0 28px;
}

/* ============================================
   ENVIRONMENT BANNER (dev/localhost only)
   ============================================ */
.env-banner {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 0;
  color: var(--color-bg);
}

.env-banner--development {
  background: var(--color-env-dev);
}

.env-banner--staging {
  background: var(--color-env-staging);
}

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   LAYOUT
   ============================================ */
.section {
  padding: 48px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-tight {
  padding-top: 0px;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-label {
  font-size: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-orange);
  font-weight: 500;
  margin-bottom: 6px;
}

.section-label--muted {
  color: var(--color-text-subtle);
  text-align: center;
}

.section-title {
  font-size: 26px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.section-sub {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.65;
  max-width: 600px;
}

.section-wrapper {
  width: 100%;
}

.section-wrapper.section-alt {
  background: var(--color-bg-alt);
}

.section-links {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}

.section-links .arr-link {
  margin-top: 0;
}

.layout-grid {
  display: grid;
  gap: 20px;
}

.layout-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.layout-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.layout-grid--3col-wide {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.layout-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

.layout-grid--sidebar {
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.layout-grid--sidebar-r {
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.layout-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Content section — full width bordered sections */
.content-section {
  padding: 48px 28px;
  border-bottom: 0.5px solid var(--color-border);
}

.content-section:last-of-type {
  border-bottom: none;
}

.content-section--alt {
  background: var(--color-bg-alt);
}

.content-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.content-section__left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-section__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.content-section__body p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.content-section__body p:last-of-type {
  margin-bottom: 0;
}

.content-section__footer {
  margin-top: 20px;
}

/* Category group — icon header + accordion list */
.category-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

/* ============================================
   ACCORDION — SHARED COMPONENT
   ============================================ */
.accordion-list {
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.accordion-row {
  border-bottom: 0.5px solid var(--color-border);
}

.accordion-row:last-child {
  border-bottom: none;
}

.accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}

.accordion-head:hover {
  background: var(--color-bg-alt);
}

.accordion-head .problem-statement,
.accordion-head .service-name {
  flex: 1;
}

.accordion-chev {
  transition: transform 0.2s;
  color: var(--color-text-subtle);
  flex-shrink: 0;
}

.accordion-chev.open {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
}

.accordion-body.open {
  display: block;
}

/* Modifier — icon on left, content padded to align under title */
.accordion-head--icon .card-icon {
  background: var(--color-navy);
  color: var(--color-bg);
}

.accordion-body--padded {
  padding: 8px 18px 16px 66px;
}

/* Modifier — inset background panel for rich content */
.accordion-body--inset {
  padding: 0 16px 14px;
}

.accordion-body--inset .problem-inner {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.accordion-body--inset .problem-inner p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 8px;
}

.accordion-body--inset .problem-inner p:last-of-type {
  margin-bottom: 0;
}

/* ============================================
   UTILITY BAR & NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.utility-bar {
  background: var(--color-bg-alt);
  border-bottom: 0.5px solid var(--color-border);
  padding: 6px 0;
  height: 32px;
}

.utility-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  align-items: center;
}

.utility-bar-inner a {
  font-size: 12px;
  color: var(--color-text-muted);
  transition: color 0.15s;
}

.utility-bar-inner a:hover {
  color: var(--color-orange);
}

.nav {
  background: var(--color-bg);
  border-bottom: 0.5px solid var(--color-border);
  padding: 0;
  height: 60px;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  height: 60px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: auto;
  margin-right: 24px;
}

.nav-links a {
  font-size: 14px;
  color: var(--color-text);
  opacity: 0.7;
  transition: opacity 0.15s;
}

.nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: var(--color-orange);
  text-underline-offset: 4px;
}

.nav-links a.nav-active {
  opacity: 1;
  font-weight: 500;
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-color: var(--color-orange);
  text-underline-offset: 4px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 16px;
}

.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   BUTTONS & LINKS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-orange);
  color: var(--color-bg);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  transition: background 0.15s;
}

.btn-primary:hover {
  background: var(--color-orange-dark);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--color-bg);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-white-muted);
  transition: border-color 0.15s;
}

.btn-secondary:hover {
  border-color: var(--color-white-body);
}

.arr-link {
  color: var(--color-orange);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
}

.arr-link:hover {
  opacity: 0.85;
}

.arr-link-right {
  display: flex;
  justify-content: flex-end;
}

/* ============================================
   CARDS & ICONS
   ============================================ */
.card-icon {
  width: 36px;
  height: 36px;
  background: var(--color-icon-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-navy);
}

.card-icon--lg {
  width: 44px;
  height: 44px;
}

/* ============================================
   TAGS
   ============================================ */
.tag {
  font-size: 11px;
  background: var(--color-icon-bg);
  color: var(--color-navy);
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================
   BLOCKQUOTES
   ============================================ */
blockquote {
  border-left: 3px solid var(--color-text-subtle);
  padding: 0.1rem 0 0.1rem 1.25rem;
  margin: 1rem 0 1rem 2rem;
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  background: var(--color-bg);
  border-bottom: 0.5px solid var(--color-border);
  padding: 20px 28px;
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 100%;
}

.trust-item {
  flex: 1;
  max-width: 200px;
  text-align: center;
}

.trust-num {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-navy);
}

.trust-label {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ============================================
   CTA BOXES
   ============================================ */
.cta-box {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
}

.cta-box p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  font-style: italic;
}

.cta-box-dark {
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-box-dark h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-bg);
  margin-bottom: 6px;
}

.cta-box-dark h3 em {
  color: var(--color-orange);
  font-style: normal;
}

.cta-box-dark p {
  font-size: 13px;
  color: var(--color-white-body);
  line-height: 1.55;
}

.cta-box-dark a {
  color: var(--color-white-body);
}

.cta-box-dark a:hover {
  color: var(--color-bg);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-navy-dark);
  padding: 40px 28px 28px;
}

.footer-top {
  margin-bottom: 28px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-bg);
  margin-bottom: 10px;
}

.footer-col a,
.footer-col p {
  font-size: 13px;
  color: var(--color-white-muted);
  display: block;
  margin-bottom: 5px;
  line-height: 1.55;
}

.footer-col a:hover {
  color: var(--color-white-body);
}

.footer-bottom {
  border-top: 0.5px solid var(--color-white-faint);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 11px;
  color: var(--color-white-muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  font-size: 11px;
  color: var(--color-white-muted);
}

.footer-links a:hover {
  color: var(--color-white-body);
}

.footer-copy {
  font-size: 11px;
  color: var(--color-white-muted);
  width: 100%;
  margin-top: 8px;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-navy-dark);
  border-top: 1px solid var(--color-white-faint);
  padding: 20px 28px;
  z-index: 1000;
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-bg);
  display: block;
  margin-bottom: 4px;
}

.cookie-text p {
  font-size: 13px;
  color: var(--color-white-body);
  line-height: 1.55;
  margin: 0;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  white-space: nowrap;
  transition: background 0.15s;
}

.cookie-btn-accept {
  background: var(--color-orange);
  color: var(--color-bg);
}

.cookie-btn-accept:hover {
  background: var(--color-orange-dark);
}

.cookie-btn-decline {
  background: var(--color-white-faint);
  color: var(--color-bg);
}

.cookie-btn-decline:hover {
  background: rgba(255,255,255,0.2);
}

/* ============================================
   HERO
   ============================================ */
.page-hero {
  background: var(--color-navy);
  padding: 56px 28px 48px;
}

.page-hero h1 {
  font-size: 36px;
  font-weight: 600;
  color: var(--color-bg);
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: var(--max-width);
}

.page-hero p {
  font-size: 15px;
  color: var(--color-white-body);
  line-height: 1.65;
  margin-bottom: 16px;
}

.page-hero .arr-link {
  margin-top: 8px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-hero {
  padding: 64px 28px 56px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--color-blue-light);
  font-weight: 500;
  margin-bottom: 16px;
}

.home-hero h1 {
  font-size: 48px;
  font-weight: 600;
  color: var(--color-bg);
  line-height: 1.1;
  margin-bottom: 12px;
}

.home-hero h1 em {
  color: var(--color-orange);
  font-style: normal;
}

.hero-tagline {
  font-size: 13px;
  color: var(--color-blue-light);
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 15px;
  color: var(--color-white-body);
  max-width: 100%;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   HOME PAGE COMPONENTS
   ============================================ */

/* Service card — horizontal layout */
.service-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  transition: background 0.15s;
}

.service-card:hover {
  background: var(--color-bg-alt);
}

.service-card .card-icon {
  background: var(--color-navy);
  color: var(--color-bg);
}

.service-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}

/* Audience card — vertical layout */
.audience-card {
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  background: var(--color-bg);
  transition: background 0.15s;
}

.audience-card:hover {
  background: var(--color-bg-alt);
}

.audience-card .card-icon {
  margin-bottom: 12px;
}

.audience-card h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 5px;
}

.audience-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.audience-card-full {
  grid-column: 1 / -1;
}

/* Testimonials */
.testimonials-grid {
  margin-top: 24px;
}

.testimonial-card {
  background: var(--color-bg);
  border: 0.5px solid var(--color-border);
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius-lg);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 20px 22px;
}

.testimonial-quote {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}

.testimonial-author {
  font-size: 13px;
  color: var(--color-orange);
  font-weight: 500;
}

.testimonial-company {
  font-size: 12px;
  color: var(--color-text-subtle);
  margin-top: 2px;
}

.testimonial-company a {
  color: var(--color-text-subtle);
  text-decoration: underline;
  text-decoration-color: rgba(138,154,170,0.4);
}

.testimonial-company a:hover {
  color: var(--color-text-muted);
}

/* ============================================
   WHAT WE DO PAGE
   ============================================ */
.expand-all-link {
  color: var(--color-orange);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(236,88,0,0.3);
}

.expand-all-link:hover {
  text-decoration-color: var(--color-orange);
}

/* ============================================
   HOW WE CAN HELP PAGE
   ============================================ */
.problem-statement {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.4;
}

/* ============================================
   INSIGHTS
   ============================================ */
.insights-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.insights-search__input {
  background: var(--color-bg-alt);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 14px;
  color: var(--color-text);
  font-family: var(--font-sans);
  width: 240px;
  transition: border-color 0.15s;
}

.insights-search__input:focus {
  outline: none;
  border-color: var(--color-blue-mid);
}

.insights-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-bg-alt);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 14px;
  color: var(--color-text);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.15s;
}

.insights-filter-btn:hover {
  background: var(--color-icon-bg);
}

.insights-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--color-border);
  align-items: center;
}

.insights-tags-hint {
  font-size: 12px;
  color: var(--color-text-subtle);
  margin-left: auto;
}

.insights-tags-hint a {
  font-size: 12px;
}

.insights-tags.has-active .tag:not(.tag--active) {
  opacity: 0.4;
}

.tag--active {
  background: var(--color-navy);
  color: var(--color-bg);
}

/* Card */
.insight-card {
  position: relative;
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.15s;
}

.insight-card:hover {
  background: var(--color-bg-alt);
}

.insight-card__title {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}

.insight-card__title a {
  color: inherit;
}

.insight-card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

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

.insight-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.insight-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.insight-date,
.insight-updated {
  font-size: 12px;
  color: var(--color-text-subtle);
}

.insight-card__tags {
  margin-top: 2px;
}

.insight-card__readmore {
  position: relative;
  z-index: 1;
}

/* Single post */
.insight-post__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid var(--color-border);
}

.insight-post__meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.insight-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 16px 0;
}

.insight-post .arr-link {
  display: inline-flex;
}

/* ============================================
   WHY WORK WITH US PAGE
   ============================================ */
.stat-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}

.stat-num {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.stat-label {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.about-col {
  margin-top: 48px;
}

.about-col h2 {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  margin: 32px 0 12px;
}

.about-col h2:first-child {
  margin-top: 0;
}

.about-col p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 4px;
}

.about-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ============================================
   VALUES
   ============================================ */

.value-card {
  padding: 18px 20px 18px 18px;
  border: 0.5px solid var(--color-border);
  border-left: 3px solid var(--color-orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--color-blue-mid);
}

.value-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-bg);
  line-height: 1.55;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-block {
  margin-bottom: 32px;
}

.contact-primary {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-navy);
  display: block;
  margin-bottom: 4px;
}

.contact-primary:hover {
  color: var(--color-orange);
}

.contact-sub {
  font-size: 13px;
  color: var(--color-text-muted);
}

.contact-form-card {
  background: var(--color-bg);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.contact-form-card h2 {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-optional {
  font-weight: 400;
  color: var(--color-text-subtle);
}

.form-group input,
.form-group textarea {
  background: var(--color-bg-alt);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--color-text);
  font-family: var(--font-sans);
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue-mid);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  border: none;
  cursor: pointer;
}

.form-note {
  font-size: 11px;
  color: var(--color-text-subtle);
  text-align: center;
  margin-top: 12px;
  line-height: 1.55;
}

.form-message {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.55;
}

.form-success {
  background: #e6f4ea;
  color: #2d6a4f;
  border: 0.5px solid #b7dfbf;
}

.form-error {
  background: #fce8e6;
  color: #c0392b;
  border: 0.5px solid #f5c6c2;
}

/* ============================================
   PARTNERS BAR
   ============================================ */
.partners-bar {
  background: var(--color-bg-alt);
  border-top: 0.5px solid var(--color-border);
  border-bottom: 0.5px solid var(--color-border);
  padding: 32px 28px;
}

.partners-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: opacity 0.15s;
  filter: grayscale(100%);
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.partner-logo img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

/* ============================================
   CONTENT PAGES (Privacy, Cookies, Terms)
   ============================================ */
.content-body {
  max-width: 720px;
}

.content-body h2 {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  margin: 32px 0 12px;
}

.content-body h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  margin: 24px 0 10px;
}

.content-body p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.content-body ul,
.content-body ol {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
  padding-left: 24px;
}

.content-body li {
  margin-bottom: 6px;
}

.content-body a {
  color: var(--color-blue-mid);
  text-decoration: underline;
}

.content-body a:hover {
  color: var(--color-orange);
}

.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
  font-size: 14px;
}

.content-body th {
  text-align: left;
  font-weight: 500;
  color: var(--color-text);
  padding: 8px 12px;
  border-bottom: 1px solid var(--color-border);
}

.content-body td {
  padding: 8px 12px;
  color: var(--color-text-muted);
  border-bottom: 0.5px solid var(--color-border);
  vertical-align: top;
}

.content-body tr:last-child td {
  border-bottom: none;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {

  /* Layout system */
  .layout-grid--2col,
  .layout-grid--3col-wide,
  .layout-grid--sidebar,
  .layout-grid--sidebar-r {
    grid-template-columns: 1fr;
  }

  .layout-grid--3col,
  .layout-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-tight {
    padding-top: 16px;
  }

  .about-col {
    margin-top: 0px;
  }

  /* Navigation */
  .nav-links {
    display: none;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 28px 24px;
    border-bottom: 0.5px solid var(--color-border);
    gap: 0;
    z-index: 99;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 0.5px solid var(--color-border);
    opacity: 0.8;
    font-size: 15px;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-burger {
    display: flex;
    margin-left: auto;
  }

  /* Hero */
  .home-hero {
    padding: 40px 16px 48px;
  }

  .home-hero h1 {
    font-size: 26px;
  }

  .hero-tagline {
    display: none;
  }

  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  /* Trust strip */
  .trust-strip {
    flex-wrap: wrap;
  }

  .trust-item {
    min-width: 120px;
  }

  /* CTA boxes */
  .cta-box,
  .cta-box-dark {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Who we work with */
  .content-section {
    padding: 36px 20px;
  }

  /* what we do */
  /* collapse accordion to a single column without spaces */
  .layout-grid--seamless {
    gap: 0;
  }

  .layout-grid--seamless .accordion-list:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: none;
  }

  .layout-grid--seamless .accordion-list:last-child {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  /* Why work with us */
  .stat-row {
    display: none;
  }

  /* Contact page */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-card {
    padding: 16px;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    min-width: 0;
  }

  .contact-form {
    width: 100%;
  }

  /* Partners bar */
  .partners-logos {
    gap: 24px;
  }

  .partner-logo img {
    height: 24px;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }

  /* Cookie banner */
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 480px) {

  /* Layout system */
  .layout-grid--3col,
  .layout-grid--4col {
    grid-template-columns: 1fr;
  }

  /* Section */
  .section {
    padding: 32px 15px;
  }

  /* Hero */
  .page-hero {
    padding: 40px 15px 36px;
  }
}