/* Zanor AI – Color palette from logo */
:root {
  --zanor-green: #1C352D;
  --zanor-green-dark: #10241a;
  --zanor-red: #CC8A24;
  --zanor-red-dark: #A36C1C;
  --zanor-yellow: #FFC107;
  --zanor-yellow-dark: #FFA000;
  --white: #ffffff;
  --gray-50: #F7F6F2;   /* Bright Cream – default section background */
  --cream-deep: #EFEEE5; /* Deep Cream – alternate section background */
  --gray-100: #f5f5f5;
  --gray-200: #E5E3D8;
  --gray-300: #e0e0e0;
  --gray-500: #9e9e9e;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --error-color: #b71c1c;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --header-height: 64px;
  --scroll-duration: 0.6s;
  --scroll-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --page-min-width: 300px;
  /* Centered accent bar (replaces hairline dividers) */
  --brand-accent-bar-w: 60px;
  --brand-accent-bar-h: 2px;
  --brand-accent-bar-color: var(--zanor-red);
  /* Space before / after each accent bar (content ↔ bar ↔ content) */
  --brand-accent-bar-space-before: 28px;
  --brand-accent-bar-space-after: 28px;
}
@media (prefers-reduced-motion: reduce) {
  :root { --scroll-duration: 0.01s; }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  min-width: var(--page-min-width);
  overflow-x: hidden;
}
body {
  margin: 0;
  min-width: var(--page-min-width);
  overflow-x: hidden;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.58;
  color: var(--gray-800);
  background: var(--gray-50);
}

/* Links */
a {
  color: var(--zanor-red);
  text-decoration-color: rgba(204, 138, 36, 0.55);
  text-underline-offset: 2px;
}
a:hover {
  color: var(--zanor-red-dark);
  text-decoration-color: rgba(163, 108, 28, 0.65);
}

/* Standard card grid (used site-wide) */
.card-grid {
  display: grid;
  /* Dynamic card min width: more columns on wide/short screens */
  grid-template-columns: repeat(auto-fit, minmax(clamp(220px, 24vw, 280px), 1fr));
  gap: 20px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: 720px;
}

/* ── Grouped card sections — accent bars only from .section-header::after and .section-close::before (no bars inside) ── */
.card-groups {
  margin-bottom: 0;
  margin-top: var(--brand-accent-bar-space-before);
  padding-top: 0;
  border-top: none;
}
.card-groups::before {
  content: none;
}
.section-header + .card-groups {
  margin-top: 0;
}
.section-header + .phases-grid-wrap {
  margin-top: 0;
}
.card-group + .card-group {
  margin-top: 40px;
}
.industries-section .card-groups {
  margin-bottom: 32px;
}
/* Small uppercase track label (e.g. industries, specialist stacks) */
.card-group__label {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  text-align: center;
}
/* Featured category title (What We Deliver) */
.card-group__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--zanor-green);
  display: inline-block;
}
.card-group__desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0 auto 20px;
  max-width: 720px;
}
.card-group__grid {
  text-align: left;
}
/* Intro copy before card-groups (when not inside .section-header) */
.card-groups-intro {
  max-width: 680px;
  margin: 0 auto 12px;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  color: var(--gray-800);
}
.card-groups-intro:last-child {
  margin-bottom: 0;
}
.card-groups-intro--muted {
  color: var(--gray-600);
}
.card-groups-preamble {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.model-section .section-header + .card-groups-preamble {
  margin-top: 0;
  margin-bottom: 28px;
}
.model-section .card-groups-preamble + .card-groups {
  margin-top: 0;
}
.model-section .section-close + .card-groups-preamble {
  margin-top: 48px;
}
.card-groups-preamble .content-title {
  margin-bottom: 8px;
}
/* Space after a closing line when followed by another subsection (e.g. Guiding Principles) */
.section-close + .card-groups-preamble {
  margin-top: var(--brand-accent-bar-space-before);
}

/* Header & Nav – subtle green accent */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
  backdrop-filter: blur(10px);
  border-bottom: none;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
}
.header.scrolled { box-shadow: none; }

/* Keep section label visible when navigating to anchor (fixed header offset) */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}
.section-header[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}
#proof {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-height);
  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 10px auto 0;
  padding: 0 24px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.nav .logo {
  padding: 2px 10px 2px 4px;
  margin-right: 10px;
}
.logo-img {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(168px, 46vw);
  object-fit: contain;
  object-position: left center;
}

/* Global image hover zoom (content images only) */
main img {
  transition: transform 0.35s ease;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  main img:hover {
    transform: scale(1.05);
  }
  main .footer-brandmark-icon img:hover {
    transform: none;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.nav-menu > .nav-item:last-child { margin-left: auto; }

.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-item.dropdown > .nav-link::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  opacity: 0.8;
  transition: transform 0.2s ease;
}
.nav-item.dropdown:hover > .nav-link::after,
.nav-item.dropdown.open > .nav-link::after {
  transform: rotate(180deg);
}
.nav-link:hover { color: var(--zanor-green); background: var(--gray-50); }
.nav-link:focus-visible {
  outline: 2px solid rgba(204, 138, 36, 0.55);
  outline-offset: 2px;
  background: rgba(204, 138, 36, 0.1);
  color: var(--zanor-red-dark);
}
.nav-link.active {
  color: var(--zanor-red);
  font-weight: 600;
}
.nav-link.nav-cta.active {
  background: var(--zanor-red-dark);
  box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.4);
}

.nav-cta {
  background: var(--zanor-red);
  color: var(--white) !important;
  margin-left: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 3px 0 0 var(--zanor-red-dark), 0 2px 4px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover {
  background: var(--zanor-red-dark);
  color: var(--white) !important;
  transform: translateY(2px);
  box-shadow: 0 1px 0 0 var(--zanor-red-dark), 0 1px 2px rgba(0, 0, 0, 0.12);
}
.nav-cta:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 0 var(--zanor-red-dark), 0 0 2px rgba(0, 0, 0, 0.12);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  padding: 10px;
  margin: 8px 0 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: block;
  padding: 9px 12px;
  color: var(--gray-800);
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu a:hover {
  background: rgba(204, 138, 36, 0.12);
  color: var(--zanor-red-dark);
}
.dropdown-menu a:focus-visible {
  outline: 2px solid rgba(204, 138, 36, 0.55);
  outline-offset: 2px;
  background: rgba(204, 138, 36, 0.10);
}
.dropdown-menu a:active {
  background: rgba(204, 138, 36, 0.18);
}
.dropdown-menu a.active {
  color: var(--zanor-red);
  font-weight: 600;
}

/* Hero – left-aligned, editorial with green accent */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroLineIn {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-start;
  padding: calc(var(--header-height) + 48px) 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gray-50);
  background-image:
    linear-gradient(135deg, rgba(76, 175, 80, 0.04) 0%, transparent 50%),
    linear-gradient(to right, var(--gray-50) 0%, transparent 40%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-left: 24px;
  border-left: 4px solid var(--zanor-green);
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 0.8fr);
  gap: 20px;
  align-items: stretch;
}
/* Inner-page hero layouts: text left, image/diagram right */
.hero-layout--aifirst,
.hero-layout--solutions,
.hero-layout--about,
.hero-layout--index {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: start;
}
.hero-layout--aifirst,
.hero-layout--solutions,
.hero-layout--about,
.hero-layout--index {
  position: relative;
  min-height: 0;
}
.hero-layout--aifirst .hero-content,
.hero-layout--solutions .hero-content,
.hero-layout--about .hero-content,
.hero-layout--index .hero-content {
  min-width: 0;
}
.hero-layout--aifirst .hero-image-card,
.hero-layout--solutions .hero-image-card,
.hero-layout--about .hero-image-card,
.hero-layout--index .hero-image-card {
  margin: 0;
  align-self: start;
  padding-top: 72px;
}
.hero-layout--aifirst .hero-image-card,
.hero-layout--solutions .hero-image-card,
.hero-layout--about .hero-image-card,
.hero-layout--index .hero-image-card {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 52%;
  z-index: 0;
  padding-top: 0;
  margin: 0;
  pointer-events: none;
}
.hero-layout--aifirst .hero-content,
.hero-layout--solutions .hero-content,
.hero-layout--about .hero-content,
.hero-layout--index .hero-content {
  position: relative;
  z-index: 1;
}
.hero-image-card--aifirst .hero-image-card__img,
.hero-image-card--solutions .hero-image-card__img,
.hero-image-card--about .hero-image-card__img,
.hero-image-card--index .hero-image-card__img {
  display: block;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  margin-left: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(28, 53, 45, 0.12);
  border-top: 2px solid var(--zanor-red);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.hero-layout--aifirst .hero-image-card__img,
.hero-layout--solutions .hero-image-card__img,
.hero-layout--about .hero-image-card__img,
.hero-layout--index .hero-image-card__img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  margin-left: 0;
  border: none;
  border-top: 2px solid var(--zanor-red);
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 40%, #000 65%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 40%, #000 65%);
}
.hero-layout--solutions .hero-mermaid-card {
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.hero-layout--solutions .hero-mermaid-figure {
  padding: 8px 4px 12px;
}
.hero-layout--solutions .hero-mermaid-card.mermaid-diagram-wrap--journey svg {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
}
.hero-layout--solutions .hero-mermaid-card svg .nodeLabel,
.hero-layout--solutions .hero-mermaid-card svg .edgeLabel {
  font-size: 9px !important;
}
.hero-layout--solutions .hero-mermaid-card svg .cluster-label text,
.hero-layout--solutions .hero-mermaid-card svg .cluster-label foreignObject,
.hero-layout--solutions .hero-mermaid-card svg .cluster-label div {
  font-size: 10px !important;
}
.hero-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: -18px;
  width: 3px;
  background: var(--zanor-red);
  transform-origin: top;
  animation: heroLineIn 1s ease-out 0.3s both;
}
.hero-content {
  border-left-color: transparent;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gray-800);
  margin: 0 0 22px;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: heroFadeUp 1s ease-out 0.4s forwards;
}
.hero-title .accent { color: var(--zanor-green); }
.hero-tagline {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--zanor-green);
  margin: 0 0 22px;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: heroFadeUp 0.9s ease-out 0.9s forwards;
}
.hero-subtitle {
  font-size: 1.08rem;
  color: var(--gray-600);
  margin: 0 0 24px;
  max-width: 560px;
  line-height: 1.55;
  opacity: 0;
  animation: heroFadeUp 0.9s ease-out 1.35s forwards;
}
.hero-link {
  color: var(--zanor-red);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.hero-link:hover { color: var(--zanor-red-dark); }
.hero .btn {
  margin-top: 8px;
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 1.8s forwards;
}
/* About hero – credential strip (small caps, muted gold separators) */
.hero-cred-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem 0.5rem;
  margin: 0;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(204, 138, 36, 0.22);
  max-width: 720px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  font-variant: all-small-caps;
  letter-spacing: 0.12em;
  color: var(--gray-600);
  line-height: 1.5;
  opacity: 0;
  animation: heroFadeUp 0.85s ease-out 1.65s forwards;
}
.hero-cred-sep {
  color: rgba(204, 138, 36, 0.55);
  font-weight: 400;
  font-size: 1em;
  letter-spacing: 0;
  user-select: none;
}
@media (max-width: 520px) {
  .hero-cred-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
  .hero-cred-sep {
    display: none;
  }
}
.hero-mermaid-card {
  margin-top: 0;
  align-self: start;
  width: 100%;
  max-width: none;
  justify-self: end;
  padding: 0;
  height: auto;
  display: block;
}
.hero-mermaid-figure {
  border: none;
  box-shadow: none;
  border-radius: var(--radius-md);
  background: rgba(247, 246, 242, 0.72);
  backdrop-filter: blur(2px);
}
.hero-mermaid-card .mermaid-card-title {
  font-size: 0.84rem;
  margin-bottom: 8px;
}
.hero-mermaid-card .mermaid {
  width: 100%;
}
.hero-mermaid-card.mermaid-diagram-wrap--journey svg {
  min-width: 0;
  width: 90%;
  height: auto;
  margin: 0 auto;
  display: block;
}
.hero-mermaid-figure svg {
  background: transparent;
}
.hero-mermaid-card svg .cluster-label text {
  font-size: 14px !important;
}
.hero-mermaid-card svg .cluster-label foreignObject,
.hero-mermaid-card svg .cluster-label div {
  font-size: 14px !important;
}
.hero-mermaid-card svg .nodeLabel,
.hero-mermaid-card svg .edgeLabel {
  font-size: 11px !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}
.btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.15), 0 0 2px rgba(0, 0, 0, 0.1);
}
.btn-primary {
  background: var(--zanor-red);
  color: var(--white);
  box-shadow: 0 4px 0 0 var(--zanor-red-dark), 0 2px 4px rgba(0, 0, 0, 0.15);
}
.btn-primary:hover {
  background: var(--zanor-red-dark);
  color: var(--white);
  box-shadow: 0 2px 0 0 #9e1a17, 0 1px 2px rgba(0, 0, 0, 0.15);
}
.btn-primary:focus-visible {
  color: var(--white);
}
.btn-primary:active {
  color: var(--white);
  box-shadow: 0 0 0 0 var(--zanor-red-dark), 0 0 2px rgba(0, 0, 0, 0.15);
}
.btn--light {
  background: var(--gray-50);
  color: var(--zanor-red);
  box-shadow: 0 4px 0 0 var(--gray-300), 0 2px 4px rgba(0, 0, 0, 0.1);
}
.btn--light:hover {
  background: var(--gray-100);
  color: var(--zanor-red-dark);
  box-shadow: 0 2px 0 0 var(--gray-500), 0 1px 2px rgba(0, 0, 0, 0.1);
}
.btn--light:active {
  box-shadow: 0 0 0 0 var(--gray-300), 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2100;
  max-width: 860px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: rgba(247, 246, 242, 0.72);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-banner__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: #101010;
}
.cookie-banner__text {
  margin: 0;
  color: #1a1a1a;
  font-size: 0.76rem;
  line-height: 1.4;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-banner__link {
  margin-right: auto;
  font-weight: 600;
}
.cookie-banner__btn {
  padding: 7px 11px;
  font-size: 0.74rem;
  box-shadow: none;
}
.cookie-banner__btn:hover,
.cookie-banner__btn:active {
  transform: none;
  box-shadow: none;
}
.cookie-banner__btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  color: #161616;
  border: 1px solid rgba(33, 33, 33, 0.28);
}
.cookie-banner__btn--ghost:hover {
  background: var(--gray-100);
}

/* Sections – alternating cream pair (Bright Cream / Deep Cream) */
.section {
  padding: 80px 0;
  background: var(--gray-50); /* Bright Cream #F7F6F2 – default, airy and clean */
}
.section--alt {
  background: var(--cream-deep); /* Deep Cream #EFEEE5 – slightly darker/cooler */
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 0;
}
/* Accent bars — standard pattern only: (1) .section-header::after after section intro/description; (2) .section-close::before before the closing line. No accent bars between card groups or other subsections. */
/* Opening separator — centered brand accent (after section intro / description) */
.section-header::after {
  content: '';
  display: block;
  width: var(--brand-accent-bar-w);
  height: var(--brand-accent-bar-h);
  margin: var(--brand-accent-bar-space-before) auto var(--brand-accent-bar-space-after);
  background: var(--brand-accent-bar-color);
  border-radius: 2px;
}
/* Sections without .section-header (e.g. contact, insights) — opening bar at top of container */
.section:not(.hero):not(.cta):not(.founder) > .container:not(:has(.section-header))::before {
  content: '';
  display: block;
  width: var(--brand-accent-bar-w);
  height: var(--brand-accent-bar-h);
  margin: 0 auto var(--brand-accent-bar-space-after);
  background: var(--brand-accent-bar-color);
  border-radius: 2px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zanor-green);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--zanor-red);
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 2em;
  height: 2em;
  margin-right: 10px;
  background-image: url("assets/zanorai-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.0rem);
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 12px;
  line-height: 1.25;
}
.section-desc {
  font-size: 1rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.55;
}
.section-desc--muted {
  margin-top: 12px;
  color: var(--gray-600);
  font-size: 0.98rem;
  line-height: 1.55;
}
/* Intro copy inside .section-header — opening accent bar sits after the full block (not between title & subtitle) */
.governance-section .section-header > .section-desc:first-of-type,
.outcomes-section .section-header > .section-desc:first-of-type,
.model-section .section-header > .section-desc:first-of-type {
  color: var(--gray-800);
}
.positioning .section-header > .section-desc:first-of-type {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gray-800);
}
/* Why Zanor AI — four cards in a 2×2 grid (override default auto-fit columns) */
.positioning .use-cases-grid.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 680px) {
  .positioning .use-cases-grid.card-grid {
    grid-template-columns: 1fr;
  }
}
/* Home — What We Deliver: four capability cards in a 2×2 grid */
#solutions .use-cases-grid.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 680px) {
  #solutions .use-cases-grid.card-grid {
    grid-template-columns: 1fr;
  }
}
/* Home — How We Work: five transformation phases in one row on wide viewports */
#how-we-work .steps-grid.card-grid.phases-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1200px) {
  #how-we-work .steps-grid.card-grid.phases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  #how-we-work .steps-grid.card-grid.phases-grid {
    grid-template-columns: 1fr;
  }
}
.specialists-section .section-header > .section-desc:first-of-type {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--gray-800);
}
.delivery-section .section-header .section-desc + .section-desc {
  margin-top: 1em;
}

/* Closing line below section body — centered brand accent bar */
.section-close {
  max-width: 680px;
  margin: 36px auto 0;
  padding-top: 0;
  border-top: none;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  text-align: center;
}
.section-close::before {
  content: '';
  display: block;
  width: var(--brand-accent-bar-w);
  height: var(--brand-accent-bar-h);
  margin: 0 auto var(--brand-accent-bar-space-after);
  background: var(--brand-accent-bar-color);
  border-radius: 2px;
}

/* Section end: no extra accent bar — use .section-header::after + .section-close::before only */

/* Card system – shared base class across all grids */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  border-left: 4px solid var(--gray-200);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--zanor-red);
  border-left-color: var(--zanor-red);
}

@media (prefers-reduced-motion: reduce) {
  .card:hover { transform: none; }
}

/* Founder – profile card (inspired by leadership profile layout); opening accent via .section-header::after only (no closing line) */
.founder {
  border-top: none;
  border-bottom: none;
}
.founder .section-header {
  margin-bottom: 40px;
}
.founder .section-header > .section-desc:first-of-type {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gray-800);
}
.founder-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 40px 40px;
  position: relative;
  text-align: center;
}
.founder-pill {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gray-600);
  background: var(--gray-200);
  border-radius: 999px;
  margin-bottom: 24px;
}
.founder-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--zanor-green) 0%, var(--zanor-green-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.founder-card .founder-header {
  margin-bottom: 24px;
  padding-bottom: 0;
  border-bottom: none;
}
.founder-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.founder-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
  letter-spacing: -0.02em;
}
.founder-linkedin {
  color: #0A66C2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.founder-linkedin:hover {
  opacity: 0.85;
}
.founder-linkedin svg {
  width: 24px;
  height: 24px;
}
.founder-role {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gray-600);
  margin: 8px 0 0;
}
.founder-bio-block {
  text-align: left;
  margin-bottom: 24px;
}
.founder-bio-block .founder-bio {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gray-800);
  margin: 0 0 12px;
}
.founder-bio-block .founder-bio:last-child {
  margin-bottom: 0;
}
.founder-divider {
  border: none;
  width: var(--brand-accent-bar-w);
  height: var(--brand-accent-bar-h);
  margin: var(--brand-accent-bar-space-before) auto var(--brand-accent-bar-space-after);
  background: var(--brand-accent-bar-color);
  border-radius: 2px;
}
.founder-highlights-label {
  font-size: 0.9rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gray-600);
  margin: 0 0 14px;
  text-align: center;
}
.founder-positioning-block {
  text-align: left;
}
.founder-positioning {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--gray-800);
}
.founder-positioning:last-child {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .founder-card {
    padding: 24px 24px 32px;
  }
  .founder-name {
    font-size: 1.5rem;
  }
  .founder-avatar {
    width: 100px;
    height: 100px;
  }
}

/* Specialists section (About page) */
.specialists-section {
  padding: 48px 0;
}
/* Specialist Network – fixed-width paired/triple grids inside card-groups */
.card-group .card-group__grid.card-grid.card-group__grid--pair,
.card-group .card-group__grid.card-grid.card-group__grid--triple {
  gap: 20px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.card-group .card-group__grid .specialist-card {
  width: 100%;
  justify-self: stretch;
}
.card-group__grid.card-group__grid--pair {
  grid-template-columns: repeat(2, minmax(0, 380px));
}
.card-group__grid.card-group__grid--triple {
  grid-template-columns: repeat(3, minmax(0, 380px));
}
@media (max-width: 900px) {
  .card-group__grid.card-group__grid--triple {
    grid-template-columns: 1fr;
    width: 100%;
  }
}
@media (max-width: 680px) {
  .card-group__grid.card-group__grid--pair {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/* Why Zanor AI (About page) */
.why-about {
  padding: 48px 0;
}
.why-approach-cards {
  margin-top: 4px;
}
.why-approach-cards .use-case-card .use-case-desc {
  margin-bottom: 0;
}

/* Industries – primary cards green, others with red/yellow accent on hover */
/* AI/ML Use Cases – 12 flagship solutions with sprite icons */
.use-case-card {
  padding: 20px;
}
.use-case-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 6px;
  line-height: 1.3;
}
.use-case-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.48;
}

/* What We Deliver – categorized groups (no internal accent bars) */
.use-cases--categorized .card-group {
  margin-bottom: 48px;
  text-align: center;
}
.use-cases--categorized .card-group:last-child {
  margin-bottom: 0;
}
.use-cases--categorized .card-group__desc {
  margin-bottom: 20px;
}
.use-cases--categorized .card-group__grid {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
/* Solutions – What We Deliver: two cards per row (symmetric rows) */
.use-cases--categorized .card-group__grid.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 680px) {
  .use-cases--categorized .card-group__grid.card-grid {
    grid-template-columns: 1fr;
  }
}

/* What We Deliver – line icons (same pattern as How We Deliver) */
.use-case-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.service-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--zanor-green);
}
.service-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.use-case-card-header .use-case-title { margin: 0; }

/* What We Deliver – outcome line (card footer) */
.use-cases--categorized .card-group__grid .use-case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* Air between description and footer strip (keeps margin-top: auto for equal-height rows) */
.use-cases--categorized .card-group__grid .use-case-card .use-case-desc {
  padding-bottom: 1rem;
}
.use-case-outcome {
  margin-top: auto;
  padding: 16px 14px 14px;
  margin-left: -20px;
  margin-right: -20px;
  margin-bottom: -20px;
  border-top: 1px solid rgba(28, 53, 45, 0.1);
  background: linear-gradient(180deg, rgba(247, 246, 242, 0.65) 0%, var(--gray-50) 100%);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--zanor-green);
  line-height: 1.4;
  border-radius: 0 0 calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px);
  text-align: left;
}
.use-case-outcome::before {
  content: "\2192";
  margin-right: 0.35em;
  color: var(--zanor-red);
  font-weight: 700;
}

/* Home page: category cards with service bullet list */
.use-case-services-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.use-case-services-list li {
  position: relative;
  padding: 4px 0 4px 20px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--gray-800);
}
.use-case-services-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--zanor-green);
}

/* CTA – red background with yellow accent bar at bottom */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--zanor-red) 0%, var(--zanor-red-dark) 100%);
  color: var(--white);
  border-bottom: 4px solid var(--zanor-yellow);
}
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.0rem);
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.25;
}
.cta-desc {
  font-size: 1rem;
  margin: 0 0 22px;
  line-height: 1.5;
  opacity: 0.95;
}
.cta .btn--light:hover {
  background: var(--gray-50);
  color: var(--zanor-red);
}

/* Footer – subtle green accent at top */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 64px 0 0;
  border-top: 1px solid rgba(76, 175, 80, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-heading-icon {
  width: 24px;
  height: 24px;
  color: var(--zanor-red);
  flex-shrink: 0;
}
.footer-heading-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-brandmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  margin-top: -2px;
  margin-bottom: 8px;
  line-height: 1;
}
.footer-brandmark-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.footer-brandmark-icon svg,
.footer-brandmark-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.footer-brandmark-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  /* Footer links should match footer body text; gold is reserved for icons + hover */
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--zanor-red); }
.footer-bottom { padding: 24px 0; }
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-legal {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-500);
}
.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  text-align: center;
}

/* Guiding Principles (AI-First page) – card grid */
.principles-intro {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 12px auto 0;
  max-width: 640px;
}
.principles-grid {
  margin-top: 36px;
}
.card-group .principles-grid {
  margin-top: 0;
}

/* Industries We Serve (Solutions page) */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.signature-engagements-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .signature-engagements-grid {
    grid-template-columns: 1fr;
  }
}
.partner-collab-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .partner-collab-grid {
    grid-template-columns: 1fr;
  }
}
.signature-card .industry-card-body {
  padding-bottom: 14px;
}
.industries-grid--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.industries-grid--single {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 680px) {
  .industries-grid--pair {
    grid-template-columns: 1fr;
  }
}
.industry-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.industry-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--gray-100);
}
.industry-card-body {
  padding: 24px;
  padding-bottom: 1rem;
  flex: 1;
}
.industry-outcome {
  margin: 0;
  margin-top: auto;
  padding: 14px 18px 16px;
  border-top: 1px solid rgba(28, 53, 45, 0.1);
  background: linear-gradient(180deg, rgba(247, 246, 242, 0.65) 0%, var(--gray-50) 100%);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--zanor-green);
  line-height: 1.45;
  text-align: left;
  border-radius: 0 0 calc(var(--radius-lg) - 2px) calc(var(--radius-lg) - 2px);
}
.industry-outcome-arrow {
  margin-right: 0.35em;
  color: var(--zanor-red);
  font-weight: 700;
}
.from-field-principle-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  opacity: 0.92;
}
.from-field-section .industry-outcome {
  font-weight: 500;
  color: var(--gray-700);
}
.from-field-section .industry-outcome strong {
  font-weight: 600;
  color: var(--gray-900);
}
.from-field-section .industry-title {
  margin: 4px 0 14px;
  line-height: 1.35;
}
.from-field-section .industry-card-img {
  height: 240px;
}
.from-field-principle-link:hover {
  color: var(--zanor-red-dark);
}
.industry-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 12px;
  line-height: 1.3;
}
.industry-desc {
  font-size: 0.95rem;
  color: var(--gray-800);
  line-height: 1.55;
  margin: 0 0 12px;
}
.industry-focus {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}
/* Phases / principles wraps — no decorative pseudo-elements on wrap (accent before principles uses .card-groups-preamble--after-capabilities) */
.phases-grid-wrap::before,
.phases-grid-wrap::after,
.principles-grid-wrap::before,
.principles-grid-wrap::after {
  content: none;
  display: none;
}
/* Guiding Principles — same rhythm as Core Capabilities: gold bar, then title + intro (matches .section-header::after + first preamble) */
.model-section .card-groups + .card-groups-preamble--after-capabilities,
.model-section .use-cases-grid + .positioning-proof-subsection .card-groups-preamble--after-capabilities,
.model-section .use-cases-grid + .card-groups-preamble.card-groups-preamble--after-capabilities,
.model-section .proof-track-mini-grid + .card-groups-preamble--after-capabilities {
  margin-top: var(--brand-accent-bar-space-before);
  margin-bottom: 28px;
}
.model-section .card-groups + .card-groups-preamble--after-capabilities::before,
.model-section .use-cases-grid + .positioning-proof-subsection .card-groups-preamble--after-capabilities::before,
.model-section .use-cases-grid + .card-groups-preamble.card-groups-preamble--after-capabilities::before,
.model-section .proof-track-mini-grid + .card-groups-preamble--after-capabilities::before {
  content: '';
  display: block;
  width: var(--brand-accent-bar-w);
  height: var(--brand-accent-bar-h);
  margin: 0 auto var(--brand-accent-bar-space-after);
  background: var(--brand-accent-bar-color);
  border-radius: 2px;
}
/* Proven Track Record minicard grid (3×2 on wide viewports) — used on Home and About */
.positioning-proof-subsection .proof-track-mini-grid,
.why-about .proof-track-mini-grid {
  margin-top: 4px;
  margin-bottom: 8px;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .positioning-proof-subsection .proof-track-mini-grid,
  .why-about .proof-track-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .positioning-proof-subsection .proof-track-mini-grid,
  .why-about .proof-track-mini-grid {
    grid-template-columns: 1fr;
  }
}
.proof-mini-card {
  align-items: flex-start;
  height: 100%;
}
.proof-mini-card .proof-mini-card__text {
  min-width: 0;
  flex: 1;
}
.proof-mini-card__title {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0 0 6px;
  line-height: 1.3;
}
.proof-mini-card__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--gray-700);
}
.card-groups-preamble .card-groups-intro + .card-groups-intro {
  margin-top: 12px;
}
.card-groups-preamble--after-capabilities + .principles-grid-wrap {
  margin-top: 0;
}
.principles-grid-wrap .card-groups {
  margin-top: 0;
}
.principles-grid-wrap .card-groups::before {
  content: none;
}
/* Transformation Phases closing line — bar from .section-close::before */
.phases-section__foot {
  max-width: 680px;
}

/* How We Work / Transformation Phases (4 or 5 steps) */
.step-card .step-desc + .step-desc {
  margin-top: 10px;
}
/* Visual flow connectors for Transformation Phases cards */
.phases-grid .step-card {
  position: relative;
  overflow: hidden;
}
@media (min-width: 901px) {
  .phases-grid .step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--zanor-red);
    border-right: 2px solid var(--zanor-red);
    rotate: 45deg;
    opacity: 0.85;
    pointer-events: none;
  }
}
@media (max-width: 900px) {
  .phases-grid .step-card::after {
    content: none;
  }
}
/* Default (e.g., Home page) keeps the stacked number */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--zanor-green);
  background: rgba(28, 53, 45, 0.12);
  border: 2.5px solid rgba(28, 53, 45, 0.28);
  border-radius: 50%;
  margin-bottom: 14px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 8px;
}

/* AI-First: inline number "icon" next to title */
/* When step number is used as an inline icon in a card header */
.use-case-card-header .step-number {
  flex-shrink: 0;
  margin-bottom: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 2.5px solid var(--zanor-green);
  color: var(--zanor-green);
}
.use-case-card-header .step-title {
  margin: 0;
  line-height: 1.35;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.45;
  margin: 0;
}

/* Understanding AI steps: decade subtitle + palette accents */
.steps-grid--era {
  gap: 20px;
  margin-top: 36px;
  margin-bottom: 36px;
}
.steps-grid--era .step-card {
  text-align: left;
}
.steps-grid--era .step-era {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.steps-grid--era .step-title { margin-bottom: 16px; }

/* Understanding AI: make decade label an inline "icon" */
#understanding-ai .steps-grid--era .use-case-card-header .step-era {
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  background: transparent;
  border: 2px solid var(--zanor-green);
  color: var(--zanor-green);
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-align: center;
}
#understanding-ai .steps-grid--era .use-case-card-header .step-title {
  margin: 0;
  line-height: 1.35;
}
#understanding-ai .steps-grid--era .step-desc {
  margin-top: 12px;
}

/* AI-First Model (5 capabilities) */
.model-grid {
  margin-top: 32px;
}
.card-group .model-grid {
  margin-top: 0;
}
.model-grid--split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.model-card {
  padding: 20px;
}
.model-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.model-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--zanor-green);
}
.model-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.model-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
  line-height: 1.3;
}
.model-card-desc {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 960px) {
  .model-grid--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .model-grid--split {
    grid-template-columns: 1fr;
  }
}

.section-cta {
  text-align: center;
  margin: 28px 0 0;
}
.section-cta .btn,
.section-cta .service-link { margin: 0; }

/* Page layout (inner pages) */
.page-main { padding-top: var(--header-height); }
.page-hero {
  padding: 48px 0 32px;
  border-bottom: 2px solid rgba(76, 175, 80, 0.2);
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.0rem);
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 12px;
}
.page-desc {
  font-size: 1rem;
  color: var(--gray-600);
  margin: 0;
  max-width: 640px;
}

.delivery-content {
  max-width: 680px;
  margin: 0 auto;
}
.delivery-section .section-cta {
  margin: 0;
  text-align: center;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.impact-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 28px;
}
.impact-card-title {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--zanor-green);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--zanor-green);
  line-height: 1.25;
  text-align: left;
}
.impact-intro {
  margin: 0 0 12px;
  font-size: 0.98rem;
  color: var(--gray-800);
  line-height: 1.6;
}

/* Content sections (AI-First, About, etc.) */
.content-section { padding: 48px 0; }
.content-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 16px;
}
.content-text {
  margin: 0 0 16px;
  color: var(--gray-800);
  line-height: 1.6;
}
.content-text--genai-note {
  margin-top: 16px;
}
.content-text--ai-relationship-intro {
  margin-top: 16px;
}
.content-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.content-list li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--gray-800);
  line-height: 1.5;
}
.content-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--zanor-green);
}
.content-subtitle {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 32px 0 12px;
}
.content-subtitle:first-child { margin-top: 0; }

/* Tree view (Understanding AI section – W3Schools-style collapsible tree) */
.tree-view,
.tree-view ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tree-view {
  margin-top: 24px;
  margin-bottom: 0;
}
.tree-view ul.nested {
  display: none;
  padding-left: 20px;
  margin-left: 8px;
  margin-top: 6px;
}
.tree-view ul.nested.active {
  display: block;
}
/* All branches open by default on AI hierarchy tree */
#ai-hierarchy-tree ul.nested {
  display: block;
}
#ai-hierarchy-tree ul.nested.collapsed {
  display: none;
}
.tree-view .caret,
.tree-view .tree-leaf {
  cursor: pointer;
  user-select: none;
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 12px 0 4px;
}
.tree-view > li > .caret { margin-top: 0; }
.tree-view .tree-leaf {
  cursor: default;
}
/* Tree view: neutral palette, highlight GenAI only */
.tree-view .tree-node--1,
.tree-view .tree-node--2,
.tree-view .tree-node--3 {
  color: var(--gray-800);
}
.tree-view .tree-node--1 + .tree-desc,
.tree-view ul.nested .tree-node--2 + .tree-desc,
.tree-view .tree-node--3 + .tree-desc {
  border-left: 2px solid var(--gray-200);
}
.tree-view .tree-node--4 { color: var(--zanor-red); }
.tree-view .tree-node--4 + .tree-desc { border-left: 2px solid rgba(204, 138, 36, 0.6); }
.tree-view .caret::before {
  content: '\25B6';
  display: inline-block;
  margin-right: 8px;
  transition: transform 0.2s ease;
}
.tree-view .tree-node--1.caret::before,
.tree-view .tree-node--2.caret::before,
.tree-view .tree-node--3.caret::before {
  color: var(--gray-600);
}
.tree-view .caret.caret-down::before {
  transform: rotate(90deg);
}
.tree-view .tree-leaf::before {
  content: '\2514';
  display: inline-block;
  margin-right: 8px;
}
.tree-view .tree-node--4::before { color: var(--zanor-red); }
.tree-view .tree-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0 0 0 26px;
  padding: 4px 0 4px 10px;
}
.tree-view li > .tree-leaf + .tree-desc { margin-left: 26px; }

.content-callout {
  margin-top: 32px;
  padding: 22px;
}
.enterprise-contrast {
  margin: 8px 0 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.enterprise-contrast-card {
  padding: 14px 14px 12px;
  border: 1px solid rgba(28, 53, 45, 0.2);
  border-radius: var(--radius-md);
  background: var(--gray-50);
}
.enterprise-contrast-card--traditional {
  border-left: 3px solid #9aa6a1;
}
.enterprise-contrast-card--ainative {
  border-left: 3px solid #CC8A24;
}
.enterprise-contrast-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gray-800);
}
.enterprise-contrast-subtitle {
  margin: 3px 0 8px;
  font-size: 0.88rem;
  color: var(--gray-600);
}
.enterprise-contrast-list {
  margin: 0;
  padding-left: 18px;
}
.enterprise-contrast-list li {
  margin: 0 0 6px;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--gray-700);
}
@media (max-width: 760px) {
  .enterprise-contrast {
    grid-template-columns: 1fr;
  }
}
.barriers-mini-grid {
  margin-top: 10px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}
.barrier-mini-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--gray-50);
  border: 1px solid rgba(28, 53, 45, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--gray-800);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.barrier-mini-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--zanor-green);
  margin-top: 1px;
}
.barrier-mini-icon svg {
  width: 100%;
  height: 100%;
}

/* The Challenge (home) — all mini cards share one surface colour distinct from section (--gray-50) */
.the-challenge .the-challenge-grid .barrier-mini-card {
  background: var(--white);
  border-color: rgba(28, 53, 45, 0.14);
  box-shadow: 0 2px 10px rgba(28, 53, 45, 0.07);
}
.the-challenge-reflection {
  max-width: 680px;
  margin: var(--brand-accent-bar-space-before) auto 0;
  padding: 0 8px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--gray-800);
}

.mermaid-diagram-wrap {
  /* Reset default figure margins; let `.card` own the card chrome */
  margin: 30px 0 0;
  overflow-x: auto;
  text-align: center;
}
.mermaid-diagram-wrap.card.use-case-card {
  padding: 20px;
}
.mermaid-diagram-wrap .mermaid {
  display: inline-block;
}
.mermaid-diagram-wrap svg {
  max-width: 100%;
  height: auto;
}
.mermaid-diagram-wrap--timeline {
  padding: 26px;
}
.mermaid-diagram-wrap--timeline .mermaid {
  width: 100%;
}
.mermaid-diagram-wrap--timeline svg text {
  font-size: 1.03rem !important;
}
.mermaid-diagram-wrap--venn svg .node circle,
.mermaid-diagram-wrap--venn svg .node ellipse {
  stroke-width: 2.4px;
}
.mermaid-diagram-wrap--venn svg .nodeLabel {
  font-size: 1rem;
  font-weight: 600;
}
.ai-relationship-layout {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}
.ai-relationship-grid {
  margin-top: 12px;
  display: block;
}
.ai-relationship-grid .mermaid-diagram-wrap--venn {
  margin-top: 0;
}
.understanding-ai-mermaid-card {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}
.mermaid-card-title {
  margin: 0 0 14px;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gray-800);
  text-align: left;
}
.mermaid-diagram-wrap--venn .mermaid {
  width: 100%;
}
.mermaid-diagram-wrap--venn svg {
  width: 100%;
  max-width: 100%;
  height: auto;
}
/* Mermaid styling overrides (rounded nodes/clusters + larger subgraph titles) */
.mermaid-diagram-wrap svg .node rect,
.mermaid-diagram-wrap svg .node polygon,
.mermaid-diagram-wrap svg .node path {
  rx: 10px;
  ry: 10px;
}
.mermaid-diagram-wrap svg .cluster rect {
  rx: 12px;
  ry: 12px;
}
.mermaid-diagram-wrap svg .cluster-label text {
  font-size: 26px;
  font-weight: 700;
}
/* When Mermaid uses HTML labels */
.mermaid-diagram-wrap svg .cluster-label foreignObject,
.mermaid-diagram-wrap svg .cluster-label div {
  font-size: 26px !important;
  font-weight: 700 !important;
}
/* Hero journey diagram: keep subgraph titles noticeably smaller */
.hero-mermaid-card.mermaid-diagram-wrap svg .cluster-label text {
  font-size: 14px !important;
  font-weight: 600 !important;
}
.hero-mermaid-card.mermaid-diagram-wrap svg .cluster-label foreignObject,
.hero-mermaid-card.mermaid-diagram-wrap svg .cluster-label div {
  font-size: 14px !important;
  font-weight: 600 !important;
}
/* Transformation journey diagram: larger scale for readability */
.mermaid-diagram-wrap--journey {
  overflow-x: auto;
}
.mermaid-diagram-wrap--journey svg {
  min-width: 820px;
  width: 100%;
  max-width: 100%;
  height: auto;
}
@media (max-width: 900px) {
  .mermaid-diagram-wrap--journey svg {
    min-width: 640px;
  }
}
@media (max-width: 600px) {
  .mermaid-diagram-wrap--journey svg {
    min-width: 480px;
  }
}
.mermaid-diagram-caption {
  margin-top: 15px;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  font-style: normal;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Governance section (AI-First) – card grid */
.governance-section {
  padding: 48px 0;
}
.model-section .governance-section--in-model {
  padding: 0;
  margin-top: 0;
}
/* AI-First Governance subsection — same rhythm as Guiding Principles (gold bar, title + intro) */
.model-section .principles-grid-wrap + .governance-section--in-model .card-groups-preamble--after-principles {
  margin-top: var(--brand-accent-bar-space-before);
  margin-bottom: 28px;
}
.model-section .principles-grid-wrap + .governance-section--in-model .card-groups-preamble--after-principles::before {
  content: '';
  display: block;
  width: var(--brand-accent-bar-w);
  height: var(--brand-accent-bar-h);
  margin: 0 auto var(--brand-accent-bar-space-after);
  background: var(--brand-accent-bar-color);
  border-radius: 2px;
}
.model-section .governance-section--in-model .card-groups-preamble--after-principles + .card-groups {
  margin-top: 0;
}
.governance-components-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 auto 20px;
  text-align: center;
  max-width: 680px;
}
.governance-grid {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .governance-grid {
    grid-template-columns: 1fr;
  }
}
.governance-section .use-case-desc--emphasis {
  margin-top: 10px;
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.48;
}
/* Outcomes section (AI-First) – Business Outcomes with comparison cards */
.outcomes-section {
  padding: 48px 0;
}
.outcomes-section .section-title {
  color: var(--zanor-green);
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 36px;
}
.card-group .outcomes-grid {
  margin-bottom: 0;
}
.outcomes-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.outcomes-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .outcomes-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .outcomes-grid--2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .outcomes-grid--3,
  .outcomes-grid--2 {
    grid-template-columns: 1fr;
  }
}
.outcome-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.outcome-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.outcome-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--zanor-green);
}
.outcome-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.outcome-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--zanor-green);
  margin: 0;
  line-height: 1.3;
}
.outcome-card-desc {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.5;
  margin: 0 0 20px;
}
.outcome-comparison {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.outcome-typical,
.outcome-aifirst {
  padding: 14px 16px;
  border-radius: var(--radius);
}
.outcome-typical {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius) var(--radius) 0 0;
}
.outcome-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  color: var(--zanor-green);
}
.outcome-arrow svg {
  width: 24px;
  height: 24px;
}
.outcome-aifirst {
  background: rgba(204, 138, 36, 0.12);
  border: 1px solid rgba(204, 138, 36, 0.35);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  border-left: 4px solid var(--zanor-red);
}
.outcome-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.outcome-badge--aifirst {
  color: var(--zanor-red-dark);
}
.outcome-metric {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--zanor-green);
  margin: 0 0 4px;
  line-height: 1.3;
}
.outcome-typical .outcome-metric {
  font-weight: 600;
  color: var(--gray-600);
  font-size: 1rem;
}
.outcome-typical .outcome-badge {
  color: var(--gray-600);
  font-weight: 500;
}
.outcome-metric--aifirst {
  color: var(--zanor-red-dark);
  font-size: 1.1rem;
}
.outcome-comparison-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.45;
  margin: 0;
}
.outcome-aifirst .outcome-comparison-text {
  color: var(--zanor-red-dark);
}
/* Contact */
.contact-section {
  padding: 40px 0 32px;
  background: var(--gray-50);
}
.contact-form-section {
  padding: 48px 0 56px;
}
/* Match .section-header / .section-close width (680px), not full .container--narrow (720px) */
.contact-section .contact-blocks,
.contact-section .contact-form-wrap {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.contact-section .contact-form {
  max-width: 100%;
}
.contact-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.contact-channel-card {
  height: 100%;
  align-items: flex-start;
}
.contact-channel-card__inner {
  min-width: 0;
  flex: 1;
}
.contact-section .contact-channel-card {
  background: var(--white);
}
.contact-channel-card .contact-label {
  margin: 0 0 6px;
  font-weight: 400;
  color: var(--gray-500);
}
.contact-channel-card .contact-value {
  word-break: break-word;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--gray-900);
}
.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin: 0 0 4px;
}
.contact-value {
  font-size: 1rem;
  color: var(--gray-800);
  margin: 0;
  text-decoration: none;
}
.contact-value[href^="tel:"] {
  font-size: 0.95rem;
}
.contact-value:hover { color: var(--zanor-red-dark); }
.contact-form-wrap {
  container-type: inline-size;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}
.contact-form-section .contact-form-wrap {
  margin-top: 0;
}
.contact-form-wrap > .content-title {
  grid-column: 1 / -1;
}
.contact-form-wrap > .contact-form {
  grid-column: 1 / -1;
}
.contact-form-wrap > .form-recaptcha {
  grid-column: 1;
  width: 100%;
  min-width: 0;
  margin-top: 16px;
}
.contact-form-wrap > .contact-form__submit {
  /* Right side: span cols 2–3 so width can exceed one third when label needs it; height stays .btn default */
  grid-column: 2 / 4;
  margin-top: 16px;
  align-self: center;
  justify-self: end;
  width: max(33cqw, fit-content);
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}
.contact-form .form-error {
  font-size: 0.9rem;
  color: var(--error-color);
  margin: 0 0 12px;
  line-height: 1.45;
}
.contact-form .form-error[hidden] {
  display: none !important;
}
/* reCAPTCHA iframe is 304px wide; scale to fit its grid column (left third; submit sits in right third) */
.form-recaptcha {
  container-type: inline-size;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 4px 0 8px;
  aspect-ratio: 304 / 78;
  position: relative;
  overflow: hidden;
}
.form-recaptcha > div {
  position: absolute;
  inset: 0 auto auto 0;
  width: 304px !important;
  height: 78px !important;
  transform-origin: top left;
  transform: scale(calc(100cqw / 304px));
}

/* Contact success modal */
body.contact-modal-open {
  overflow: hidden;
}
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.contact-modal[hidden] {
  display: none !important;
}
.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 33, 33, 0.45);
  backdrop-filter: blur(4px);
}
.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 28px 28px 24px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}
.contact-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--gray-600);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.15s ease, background 0.15s ease;
}
.contact-modal__close:hover {
  color: var(--gray-900);
  background: var(--gray-200);
}
.contact-modal__close:focus-visible {
  outline: 2px solid var(--zanor-green);
  outline-offset: 2px;
}
.contact-modal__heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--zanor-green);
  margin: 0 32px 12px 0;
  line-height: 1.25;
}
.contact-modal__text {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--gray-800);
  margin: 0 0 20px;
}
.contact-modal__ok {
  width: 100%;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: none;
}
.contact-form .form-field {
  width: 50%;
  min-width: 0;
}
.contact-form .form-field--full {
  width: 100%;
}
.contact-form .form-field .form-input {
  width: 100%;
}
.contact-form .form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-800);
  margin: 0 0 4px;
}
.contact-form .form-label--with-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.contact-form .form-field-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 3px;
  line-height: 0;
  color: var(--gray-500);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.contact-form .form-field-info:hover {
  color: var(--zanor-red);
  background: rgba(204, 138, 36, 0.12);
}
.contact-form .form-field-info:focus-visible {
  outline: 2px solid var(--zanor-red);
  outline-offset: 2px;
}
.contact-form .form-field-info-icon {
  width: 1.15em;
  height: 1.15em;
  display: block;
}
.contact-form .btn {
  margin-top: 16px;
}
@media (max-width: 520px) {
  .contact-form .form-field {
    width: 100%;
  }
  .contact-form-wrap {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap > .form-recaptcha,
  .contact-form-wrap > .contact-form__submit {
    grid-column: 1 / -1;
  }
  .contact-form-wrap > .contact-form__submit {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
  }
}
.form-input {
  padding: 10px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}
.form-input:focus {
  outline: none;
  border-color: var(--zanor-red);
  box-shadow: 0 0 0 2px rgba(204, 138, 36, 0.28);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-select {
  cursor: pointer;
  background-color: var(--white);
  background-image: linear-gradient(45deg, transparent 50%, var(--gray-600) 50%), linear-gradient(135deg, var(--gray-600) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 13px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
  appearance: none;
}

/* Coming soon (Insights) */
.coming-soon { padding: 24px 0; }
.coming-soon-text { margin: 0 0 12px; color: var(--gray-800); }
.coming-soon-cta { margin: 24px 0 0; color: var(--gray-600); }
.coming-soon-cta a { color: var(--zanor-green); }

/* Proof of Credibility */
.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.bullet-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 1rem;
  line-height: 1.42;
  color: var(--gray-800);
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zanor-red);
}

/* Proof of Credibility list – centred version of bullet list */
.proof-list {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .header {
    padding-left: 10px;
    padding-right: 10px;
  }
  .nav {
    width: calc(100% - 20px);
    max-width: none;
    margin: 8px auto 0;
    height: 56px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  }
  .nav .logo {
    padding: 2px 8px 2px 2px;
    margin-right: 8px;
  }
  .logo-img {
    height: 32px;
    max-width: min(150px, 58vw);
  }
  .nav-toggle { padding: 6px; }
  .nav-toggle span { width: 22px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-menu > .nav-item:last-child { margin-left: 0; }
  .nav-link:hover,
  .nav-link:focus-visible,
  .nav-link:active {
    background: rgba(204, 138, 36, 0.12);
    color: var(--zanor-red-dark);
  }
  .nav-item.dropdown:hover > .nav-link::after {
    transform: none;
  }
  .nav-item.dropdown.open > .nav-link::after {
    transform: rotate(180deg);
  }
  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 10px;
    right: 10px;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s;
  }
  .nav-menu.open {
    max-height: 80vh;
    overflow-y: auto;
    opacity: 1;
  }
  /* Accordion: single tap toggles; double tap on parent link navigates (see main.js). */
  .nav-item.dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 6px 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-item.dropdown.open .dropdown-menu {
    max-height: 400px;
    padding-left: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-brand {
    align-items: center;
  }
  .footer-brandmark {
    justify-content: center;
  }
  .footer-desc { max-width: none; }
  .footer-brand .logo { justify-content: center; }
}

@media (max-width: 900px) {
  /* Grid is responsive via auto-fill/minmax */
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-layout--aifirst .hero-image-card,
  .hero-layout--solutions .hero-image-card,
  .hero-layout--about .hero-image-card,
  .hero-layout--index .hero-image-card {
    padding-top: 0;
  }
  .hero-layout--aifirst,
  .hero-layout--solutions,
  .hero-layout--about,
  .hero-layout--index {
    min-height: 0;
  }
  .hero-layout--aifirst .hero-image-card,
  .hero-layout--solutions .hero-image-card,
  .hero-layout--about .hero-image-card,
  .hero-layout--index .hero-image-card {
    position: relative;
    inset: auto;
    pointer-events: auto;
  }
  .hero-layout--aifirst .hero-image-card__img,
  .hero-layout--solutions .hero-image-card__img,
  .hero-layout--about .hero-image-card__img,
  .hero-layout--index .hero-image-card__img {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin-left: auto;
    border: 1px solid rgba(28, 53, 45, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    opacity: 1;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-mermaid-card {
    justify-self: stretch;
    max-width: none;
  }
  .hero-mermaid-card.mermaid-diagram-wrap--journey svg {
    min-width: 680px;
    width: auto;
    max-width: none;
  }
  .mermaid-diagram-wrap svg .nodeLabel,
  .mermaid-diagram-wrap svg .edgeLabel {
    font-size: 12px !important;
  }
  .mermaid-diagram-wrap svg .cluster-label text,
  .mermaid-diagram-wrap svg .cluster-label foreignObject,
  .mermaid-diagram-wrap svg .cluster-label div {
    font-size: 14px !important;
  }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .industries-grid { grid-template-columns: 1fr; }
  .contact-blocks {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }
  .cookie-banner__actions {
    align-items: stretch;
  }
  .cookie-banner__link {
    margin-right: 0;
    width: 100%;
  }
  .cookie-banner__btn {
    width: 100%;
  }
  /* Grid is responsive via auto-fill/minmax */
  .hero-content {
    max-width: none;
  }
  .mermaid-diagram-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mermaid-diagram-wrap .mermaid {
    display: inline-block;
    min-width: 560px;
  }
  .mermaid-diagram-wrap svg {
    min-width: 560px;
    width: auto;
    max-width: none;
    height: auto;
  }
  .hero-mermaid-card.mermaid-diagram-wrap--journey .mermaid,
  .hero-mermaid-card.mermaid-diagram-wrap--journey svg {
    min-width: 680px;
  }
  .mermaid-diagram-wrap svg .nodeLabel,
  .mermaid-diagram-wrap svg .edgeLabel {
    font-size: 13px !important;
  }
  .mermaid-diagram-wrap svg .cluster-label text,
  .mermaid-diagram-wrap svg .cluster-label foreignObject,
  .mermaid-diagram-wrap svg .cluster-label div {
    font-size: 15px !important;
  }
}

/* Scroll-triggered animations */
.scroll-animate {
  transition: opacity var(--scroll-duration) var(--scroll-ease),
    transform var(--scroll-duration) var(--scroll-ease);
}
.scroll-animate:not(.in-view) {
  opacity: 0;
  transform: translateY(28px);
}
.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children (grids / card rows) */
.scroll-stagger > * {
  transition: opacity var(--scroll-duration) var(--scroll-ease),
    transform var(--scroll-duration) var(--scroll-ease);
}
.scroll-stagger:not(.in-view) > * {
  opacity: 0;
  transform: translateY(24px);
}
.scroll-stagger.in-view > * {
  opacity: 1;
  transform: translateY(0);
}
.scroll-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.scroll-stagger.in-view > *:nth-child(2) { transition-delay: 0.1s; }
.scroll-stagger.in-view > *:nth-child(3) { transition-delay: 0.15s; }
.scroll-stagger.in-view > *:nth-child(4) { transition-delay: 0.2s; }
.scroll-stagger.in-view > *:nth-child(5) { transition-delay: 0.25s; }
.scroll-stagger.in-view > *:nth-child(6) { transition-delay: 0.3s; }
.scroll-stagger.in-view > *:nth-child(7) { transition-delay: 0.35s; }
.scroll-stagger.in-view > *:nth-child(8) { transition-delay: 0.4s; }
.scroll-stagger.in-view > *:nth-child(9) { transition-delay: 0.45s; }
.scroll-stagger.in-view > *:nth-child(10) { transition-delay: 0.5s; }
.scroll-stagger.in-view > *:nth-child(11) { transition-delay: 0.55s; }
.scroll-stagger.in-view > *:nth-child(12) { transition-delay: 0.6s; }

/* Teaser pages: under-construction.html, under-maintenance.html */
.uc-page .nav--uc,
.um-page .nav--uc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.nav--uc-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.uc-nav-badge {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zanor-green);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(28, 53, 45, 0.25);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.12), rgba(76, 175, 80, 0.08));
  animation: ucBadgePulse 2.8s ease-in-out infinite;
}
@keyframes ucBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204, 138, 36, 0.25); }
  50% { box-shadow: 0 0 20px 2px rgba(204, 138, 36, 0.2); }
}
.uc-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--zanor-red-dark);
  margin: 0 0 18px;
  opacity: 0;
  animation: heroFadeUp 0.85s ease-out 0.2s forwards;
}
.uc-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--zanor-yellow);
  box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.6);
  animation: ucDotPulse 2s ease-out infinite;
}
@keyframes ucDotPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.55); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}
.uc-hero .hero-title {
  background: linear-gradient(105deg, var(--gray-800) 0%, var(--gray-800) 45%, var(--zanor-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.uc-hero .hero-title .accent {
  background: linear-gradient(105deg, var(--zanor-green), var(--zanor-red-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.uc-hero-contact {
  margin-top: 8px !important;
}
.uc-hero-sep {
  color: var(--gray-500);
  padding: 0 4px;
}
.uc-cta-mail {
  margin: 12px 0 0;
}
.uc-hero-cta {
  margin: 0;
  opacity: 0;
  animation: heroFadeUp 0.8s ease-out 1.65s forwards;
}
.uc-hero .uc-hero-cta .btn {
  margin-top: 6px;
}
.uc-cta .uc-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin: 12px 0 0;
}
.uc-page .footer-grid,
.um-page .footer-grid {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

/* Under maintenance (under-maintenance.html) */
.um-nav-badge {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-700);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(28, 53, 45, 0.2);
  background: linear-gradient(135deg, rgba(28, 53, 45, 0.07), rgba(204, 138, 36, 0.06));
  animation: umBadgeSoft 3.5s ease-in-out infinite;
}
@keyframes umBadgeSoft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(28, 53, 45, 0.12); }
  50% { box-shadow: 0 0 16px 1px rgba(28, 53, 45, 0.12); }
}
.um-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin: 0 0 18px;
  opacity: 0;
  animation: heroFadeUp 0.85s ease-out 0.2s forwards;
}
.um-kicker-icon {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 2px solid var(--zanor-green);
  background: rgba(28, 53, 45, 0.12);
  animation: umKickerBlink 2.4s ease-in-out infinite;
}
@keyframes umKickerBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.um-hero .hero-title {
  background: linear-gradient(105deg, var(--gray-800) 0%, var(--gray-800) 50%, var(--zanor-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.um-hero .hero-title .accent {
  background: linear-gradient(105deg, var(--zanor-green), var(--zanor-red-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 768px) {
  .uc-page .nav--uc,
  .um-page .nav--uc {
    justify-content: center;
    text-align: center;
  }
  .uc-page .logo,
  .um-page .logo {
    margin-right: auto;
  }
  .nav--uc-actions {
    width: 100%;
    justify-content: center;
    flex-direction: column;
  }
  .uc-nav-badge,
  .um-nav-badge {
    width: 100%;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .uc-nav-badge,
  .um-nav-badge,
  .uc-kicker-dot,
  .um-kicker-icon {
    animation: none;
  }
  .uc-hero .hero-title,
  .uc-hero .hero-title .accent,
  .um-hero .hero-title,
  .um-hero .hero-title .accent {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: var(--gray-800);
  }
  .uc-hero .hero-title .accent,
  .um-hero .hero-title .accent {
    color: var(--zanor-green);
  }
}

/* Under-construction — minimal teaser (uc-page--minimal) */
.uc-page--minimal .uc-hero--minimal {
  min-height: min(76vh, 720px);
  padding-bottom: 56px;
}
.uc-page--minimal .uc-hero--minimal .hero-title {
  font-size: clamp(1.75rem, 3.6vw, 2.65rem);
}
.uc-nav-badge--quiet {
  animation: none;
  box-shadow: none;
  letter-spacing: 0.1em;
  font-weight: 600;
  background: rgba(28, 53, 45, 0.06);
  border-color: rgba(28, 53, 45, 0.18);
}
.uc-kicker--minimal {
  color: var(--gray-600);
}
.uc-page--minimal .uc-kicker-dot {
  animation: none;
  opacity: 0.85;
}
.uc-hero-lead {
  max-width: 38rem;
}
.uc-hero-support {
  max-width: 34rem;
  font-size: 1rem;
}
.uc-promise-section {
  padding-top: 44px;
  padding-bottom: 64px;
}
.uc-promise-heading {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.uc-promise-intro {
  margin: 0 0 22px;
  color: var(--gray-600);
  font-size: 0.98rem;
  line-height: 1.55;
}
.uc-at-a-glance {
  list-style: none;
  margin: 0;
  padding: 0;
}
.uc-at-a-glance li {
  padding: 0 0 0 1rem;
  margin-bottom: 1.15rem;
  color: var(--gray-600);
  font-size: 0.98rem;
  line-height: 1.6;
  border-left: 2px solid rgba(28, 53, 45, 0.22);
}
.uc-at-a-glance li:last-child {
  margin-bottom: 0;
}
.uc-at-a-glance strong {
  color: var(--gray-800);
  font-weight: 600;
}

/* Contact page when opened from teaser deploy (?teaser=…) — no full site nav or page links */
.header-nav--teaser {
  display: none;
}
.footer-desc--teaser {
  display: none;
}
.contact-page--teaser .header-nav--full {
  display: none !important;
}
.contact-page--teaser .header-nav--teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.contact-page--teaser .footer-desc--full {
  display: none;
}
.contact-page--teaser .footer-desc--teaser {
  display: block;
}
.contact-page--teaser .footer-nav--full {
  display: none;
}
.contact-page--teaser .footer-grid {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
