* { box-sizing: border-box; }
[hidden] { display: none !important; }

.site-shell {
  --scroll-progress: 0;
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at -8% -20%, color-mix(in srgb, var(--gradient-a) 16%, transparent), transparent),
    radial-gradient(1000px 480px at 110% -30%, color-mix(in srgb, var(--gradient-b) 14%, transparent), transparent),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-alt) 62%, #fff) 0%, var(--surface) 46%, var(--secondary) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-shell > main { flex: 1 0 auto; }

.bg-orb { position: fixed; width: 42vw; height: 42vw; border-radius: 50%; filter: blur(80px); opacity: .16; pointer-events: none; z-index: -1; }
.orb-a { background: var(--primary); top: -18vw; left: -12vw; }
.orb-b { background: var(--accent); bottom: -22vw; right: -12vw; }

.container { width: min(1120px, 92%); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, white 80%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--primary) 12%, #dde3eb);
  transition: transform .28s ease, box-shadow .24s ease, background-color .24s ease, border-color .24s ease;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  position: relative;
}
.topbar-inner > * {
  min-width: 0;
}
.brand {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold, 800);
  letter-spacing: .2px;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(0.78rem, 1.7vw, 1.05rem);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}
.brand-mark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0 solid transparent;
  border-radius: calc(var(--brand-logo-radius, 10px) + 2px);
  background: transparent;
  box-shadow: none;
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease, transform .22s ease;
}
.brand-text-wrap {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.brand-name {
  min-width: 0;
  width: auto;
  max-width: clamp(220px, 38vw, 560px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
  display: block;
}
.brand-kicker {
  margin: 0;
  font-size: .68rem;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 58%, var(--muted));
  display: none;
}
.brand,
.brand-text-wrap,
.brand-name,
.brand-kicker {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.brand-logo {
  --brand-logo-h: 52px;
  --brand-logo-max-w: 220px;
  --brand-logo-radius: 10px;
  width: auto;
  min-width: var(--brand-logo-h);
  max-width: var(--brand-logo-max-w);
  height: var(--brand-logo-h);
  border-radius: var(--brand-logo-radius);
  border: none;
  background: transparent;
  object-fit: contain;
  object-position: center;
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}
.brand-tagline-subtle .brand-kicker {
  display: none;
}
.brand-text-hidden .brand-text-wrap {
  width: 0;
  max-width: 0;
  overflow: hidden;
}
.brand-text-compact .brand-name {
  max-width: clamp(170px, 28vw, 380px);
  font-size: .92em;
}
.brand-scale-xs .brand-logo { --brand-logo-h: 36px; --brand-logo-max-w: 140px; --brand-logo-radius: 8px; border-radius: var(--brand-logo-radius); }
.brand-scale-sm .brand-logo { --brand-logo-h: 44px; --brand-logo-max-w: 176px; --brand-logo-radius: 9px; border-radius: var(--brand-logo-radius); }
.brand-scale-md .brand-logo { --brand-logo-h: 52px; --brand-logo-max-w: 220px; --brand-logo-radius: 10px; border-radius: var(--brand-logo-radius); }
.brand-scale-lg .brand-logo { --brand-logo-h: 62px; --brand-logo-max-w: 260px; --brand-logo-radius: 12px; border-radius: var(--brand-logo-radius); }
.brand-scale-xl .brand-logo { --brand-logo-h: 72px; --brand-logo-max-w: 300px; --brand-logo-radius: 14px; border-radius: var(--brand-logo-radius); }

/* ---------- Logo decoration variants ---------- */
.brand-shell[class*="brand-logo-decor-"] .brand-logo {
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.brand-shell.brand-logo-decor-clean .brand-mark-wrap,
.brand-shell.brand-logo-decor-none .brand-mark-wrap {
  border: none;
  background: transparent;
  box-shadow: none;
}
.brand-shell.brand-logo-decor-border .brand-mark-wrap,
.brand-shell.brand-logo-decor-outline .brand-mark-wrap {
  padding: 3px;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, #dbe4ef);
  background: color-mix(in srgb, var(--surface) 90%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 82%, transparent);
}
.brand-shell.brand-logo-decor-shadow .brand-mark-wrap {
  padding: 4px;
  background: color-mix(in srgb, var(--surface) 92%, #fff);
  box-shadow: 0 6px 18px rgba(7, 22, 52, 0.10), 0 1px 3px rgba(7, 22, 52, 0.06);
}
.brand-shell.brand-logo-decor-glass .brand-mark-wrap {
  padding: 4px;
  border: 1px solid rgba(255,255,255,.34);
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.42));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(7, 22, 52, 0.08);
}
.brand-shell.brand-logo-decor-glow .brand-mark-wrap {
  border: none;
  background: transparent;
  box-shadow: none;
}
.brand-shell.brand-logo-decor-glow .brand-logo {
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--primary) 28%, transparent))
         drop-shadow(0 0 2px color-mix(in srgb, var(--primary) 14%, transparent));
}
.brand-shell.brand-logo-decor-fade .brand-mark-wrap,
.brand-shell.brand-logo-decor-vignette .brand-mark-wrap {
  border: none;
  background: transparent;
  box-shadow: none;
}
/* Tarayıcı uyumluluğu için -webkit- öneki önemli. */
.brand-shell.brand-logo-decor-fade .brand-logo,
.brand-shell.brand-logo-decor-vignette .brand-logo {
  -webkit-mask-image: radial-gradient(ellipse 92% 92% at center, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 92% 92% at center, #000 62%, transparent 100%);
}
.brand-shell.brand-logo-decor-ring .brand-mark-wrap {
  padding: 3px;
  border: 1.5px solid color-mix(in srgb, var(--primary) 24%, #dbe4ef);
  outline: 2px solid color-mix(in srgb, var(--primary) 8%, transparent);
  outline-offset: 1px;
  background: color-mix(in srgb, var(--surface) 92%, #fff);
  border-radius: 999px;
}
.brand-shell.brand-logo-decor-float .brand-mark-wrap,
.brand-shell.brand-logo-decor-elevated .brand-mark-wrap {
  padding: 5px;
  background: color-mix(in srgb, var(--surface) 94%, #fff);
  box-shadow: 0 8px 22px rgba(7, 22, 52, 0.12), 0 2px 6px rgba(7, 22, 52, 0.06);
  transform: translateY(-1px);
}
.brand-shell.brand-logo-decor-float .brand-mark-wrap:hover,
.brand-shell.brand-logo-decor-elevated .brand-mark-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(7, 22, 52, 0.16), 0 3px 8px rgba(7, 22, 52, 0.08);
}
/* `color-mix` desteğini kontrol et, fallback gerekebilir. */
.brand-mode-badge_left {
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, #dbe5f0);
  background: color-mix(in srgb, var(--surface) 88%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 86%, transparent);
}
.brand-mode-badge_left .brand-mark-wrap {
  background: color-mix(in srgb, var(--primary) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, #dbe5f0);
  border-radius: 999px;
  padding: 3px;
}
.brand-text-hidden.brand-mode-badge_left {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}
.brand-text-hidden.brand-mode-badge_left .brand-mark-wrap {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}
.brand-mode-stacked_compact {
  align-items: flex-start;
  gap: 8px;
}
.brand-mode-stacked_compact .brand-text-wrap {
  gap: 0;
}
.brand-mode-stacked_compact .brand-name {
  line-height: 1.02;
}
.brand-mode-split_lane {
  position: relative;
  padding-left: 10px;
  gap: 12px;
}
.brand-mode-split_lane::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--accent) 72%, #fff));
}
.brand-text-hidden.brand-mode-split_lane {
  padding-left: 0;
  gap: 0;
}
.brand-text-hidden.brand-mode-split_lane::before {
  display: none;
}
.brand-mode-capsule_mark .brand-mark-wrap {
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, #dbe5f0);
  background: linear-gradient(145deg, color-mix(in srgb, #fff 78%, var(--secondary)), color-mix(in srgb, var(--secondary) 72%, #fff));
  padding: 4px;
  box-shadow: 0 8px 14px rgba(7, 22, 52, 0.08);
}
.brand-mode-monogram_chip {
  gap: 8px;
}
.brand-mode-monogram_chip .brand-logo {
  border-radius: 999px;
}
/* Logoyu tam yuvarlak yapmak için bu yeterli, süper! */
.brand-shell {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: min(100%, 540px);
  flex: 0 1 540px;
}
.brand-shell-logo_after_text,
.brand-shell-compact_text,
.brand-shell-icon_only {
  width: 100%;
}
.brand-shell-logo_after_text .brand {
  flex-direction: row-reverse;
}
.brand-shell-compact_text .brand {
  align-items: flex-start;
}
.brand-shell-icon_only .brand {
  justify-content: center;
}
.brand-shell-icon_only .brand-mark-wrap {
  border: 1px solid color-mix(in srgb, var(--primary) 10%, #d6e3f2);
  border-radius: 999px;
  padding: 2px;
  background: color-mix(in srgb, var(--surface) 92%, white);
}
.menu {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1 1 0;
}
.menu::-webkit-scrollbar { display: none; }
.top-nav-shell {
  padding: 0;
}
.top-nav-list {
  display: flex;
  flex-wrap: wrap; /* §AUDIT-FIX: prevent overflow with many/long nav items */
  gap: 6px;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
}
.top-nav-compact .top-nav-list,
.top-nav-list.top-nav-compact {
  gap: 4px;
}
.top-nav-compact .menu-link,
.top-nav-shell.top-nav-compact .menu-link,
.top-nav-list.top-nav-compact .menu-link {
  padding: 6px 8px;
  font-size: .84rem;
  min-height: 36px;
}
.menu-link-compact {
  gap: 6px;
  padding-inline: 9px;
  position: relative;
}
.menu-link-compact .menu-link-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  margin-left: 2px;
}
.top-nav-stacked .top-nav-list,
.top-nav-shell.top-nav-stacked .top-nav-list,
.top-nav-list.top-nav-stacked {
  display: grid;
  grid-auto-flow: row;
  justify-content: end;
  gap: 6px;
}
.top-nav-stacked .top-nav-stack-item {
  width: 100%;
}
.top-nav-stacked .menu-link,
.top-nav-shell.top-nav-stacked .menu-link,
.top-nav-list.top-nav-stacked .menu-link {
  justify-content: flex-start;
  min-height: 38px;
}
.menu-link-stacked {
  width: 100%;
  justify-content: space-between;
}
.top-nav-stack-item .menu-link-stacked {
  display: inline-flex;
}
.menu-link-icon-first {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.menu-link-icon {
  display: inline-flex;
  width: 1.2em;
  height: 1.2em;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  font-size: .85rem;
}
.top-nav-icon-first .menu-link.is-active .menu-link-icon {
  background: color-mix(in srgb, #fff 10%, transparent);
}
.menu-link {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 9px;
  border-radius: 10px;
  font-weight: 600;
  transition: .2s ease;
  white-space: nowrap;
  font-size: .93rem;
  min-width: 0;
  /* §AUDIT-FIX: port §J26-BUG1 fix — cap link width to prevent header overflow */
  max-width: clamp(110px, 14vw, 200px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu-link-text {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.menu-link:hover { color: var(--text); background: color-mix(in srgb, var(--primary) 10%, white); }
/* CL-03: darken active-state background for light primary to ensure WCAG AA 4.5 contrast */
.menu-link.is-active { color: white; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 85%, #000), color-mix(in srgb, var(--primary) 60%, #001)); }
.menu-toggle-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.menu-toggle-shell-label-left .menu-toggle,
.menu-toggle-shell-label-right .menu-toggle,
.menu-toggle-shell-chip .menu-toggle,
.menu-toggle-shell-badge .menu-toggle {
  width: auto;
  padding-inline: 10px;
  gap: 8px;
}
.menu-toggle-shell-label-left .menu-toggle,
.menu-toggle-shell-chip .menu-toggle,
.menu-toggle-shell-badge .menu-toggle,
.menu-toggle-shell-label-right .menu-toggle {
  min-width: 0;
}
.menu-toggle-label {
  font-size: .73rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
  font-weight: 700;
}
.menu-toggle-label--right {
  order: 2;
}
.menu-toggle--menu-toggle-chip {
  position: relative;
  border-radius: 999px;
  padding: 2px;
}
.menu-toggle-shell-chip .menu-toggle {
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(12, 35, 71, 0.14);
  background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 84%, #fff), color-mix(in srgb, var(--secondary) 78%, #fff));
  padding-inline: 14px;
  gap: 8px;
}
.menu-toggle-shell-chip .menu-toggle-icon {
  width: 16px;
  height: 16px;
}
.menu-toggle-shell-chip .menu-toggle-icon > span {
  width: 16px;
}
.menu-toggle-shell-chip .menu-toggle-chip-copy {
  font-size: .72rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--text) 70%, #001);
  letter-spacing: .03em;
  text-transform: uppercase;
}
.menu-toggle-chip-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.menu-toggle .menu-toggle-badge {
  margin-left: 6px;
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: .6rem;
  font-weight: 800;
  background: color-mix(in srgb, var(--primary) 15%, #ff5a4f);
  color: #fff;
  line-height: 1;
}
.menu-toggle {
  --menu-toggle-accent: color-mix(in srgb, var(--primary) 78%, #243247);
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d8e2ef;
  background: color-mix(in srgb, #fff 92%, var(--surface));
  border-radius: 12px;
  padding: 0;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 41;
  box-shadow: 0 6px 16px rgba(7, 24, 52, 0.08);
}
.menu-toggle-icon {
  width: 20px;
  height: 20px;
  display: block;
  position: relative;
}
.menu-toggle-icon > span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--menu-toggle-accent);
  transform-origin: center;
  transition: transform .24s ease, opacity .2s ease, width .2s ease, height .2s ease, border-radius .2s ease, left .2s ease, top .2s ease;
}

.menu-toggle--menu-toggle-burger .menu-toggle-icon > span:nth-child(1) { transform: translateY(-6px); }
.menu-toggle--menu-toggle-burger .menu-toggle-icon > span:nth-child(2) { transform: translateY(0); }
.menu-toggle--menu-toggle-burger .menu-toggle-icon > span:nth-child(3) { transform: translateY(6px); }
.menu-toggle--menu-toggle-burger .menu-toggle-icon > span:nth-child(4) { opacity: 0; transform: scale(.3); }

.menu-toggle--menu-toggle-grid .menu-toggle-icon > span {
  width: 7px;
  height: 7px;
  border-radius: 3px;
  transform: none;
}
.menu-toggle--menu-toggle-grid .menu-toggle-icon > span:nth-child(1) { left: 0; top: 2px; }
.menu-toggle--menu-toggle-grid .menu-toggle-icon > span:nth-child(2) { left: 13px; top: 2px; }
.menu-toggle--menu-toggle-grid .menu-toggle-icon > span:nth-child(3) { left: 0; top: 13px; }
.menu-toggle--menu-toggle-grid .menu-toggle-icon > span:nth-child(4) { left: 13px; top: 13px; opacity: 1; }

.menu-toggle--menu-toggle-pill .menu-toggle-icon > span:nth-child(1) { top: 4px; transform: none; }
.menu-toggle--menu-toggle-pill .menu-toggle-icon > span:nth-child(2) { top: 9px; left: 5px; width: 15px; transform: none; }
.menu-toggle--menu-toggle-pill .menu-toggle-icon > span:nth-child(3) { top: 14px; left: 9px; width: 11px; transform: none; }
.menu-toggle--menu-toggle-pill .menu-toggle-icon > span:nth-child(4) { opacity: 0; transform: scale(.3); }

.menu-toggle--menu-toggle-minimal .menu-toggle-icon > span:nth-child(1) { top: 6px; transform: none; }
.menu-toggle--menu-toggle-minimal .menu-toggle-icon > span:nth-child(2) { top: 14px; transform: none; }
.menu-toggle--menu-toggle-minimal .menu-toggle-icon > span:nth-child(3) {
  top: 10px;
  left: 8px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  transform: none;
}
.menu-toggle--menu-toggle-minimal .menu-toggle-icon > span:nth-child(4) { opacity: 0; transform: scale(.3); }

.menu-open .menu-toggle {
  border-color: color-mix(in srgb, var(--primary) 34%, #d8e2ef);
  background: color-mix(in srgb, #fff 88%, var(--secondary));
}
.menu-open .menu-toggle .menu-toggle-icon > span:nth-child(1),
.menu-open .menu-toggle .menu-toggle-icon > span:nth-child(2) {
  top: 50%;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 999px;
}
.menu-open .menu-toggle-shell-chip .menu-toggle .menu-toggle-icon > span:nth-child(1),
.menu-open .menu-toggle-shell-chip .menu-toggle .menu-toggle-icon > span:nth-child(2),
.menu-open .menu-toggle-shell-chip .menu-toggle .menu-toggle-icon > span:nth-child(3),
.menu-open .menu-toggle-shell-chip .menu-toggle .menu-toggle-icon > span:nth-child(4) {
  width: 16px;
}
.menu-open .menu-toggle .menu-toggle-icon > span:nth-child(1) { transform: translateY(-50%) rotate(45deg); }
.menu-open .menu-toggle .menu-toggle-icon > span:nth-child(2) { transform: translateY(-50%) rotate(-45deg); }
.menu-open .menu-toggle .menu-toggle-icon > span:nth-child(3),
.menu-open .menu-toggle .menu-toggle-icon > span:nth-child(4) {
  opacity: 0;
  transform: scale(.35);
}

.menu-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary) 44%, white);
  outline-offset: 2px;
}
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 36;
  background: rgba(12, 20, 36, 0.34);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}
.menu-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-shell-drawer-head,
.mobile-menu-shell-sheet-handle,
.mobile-menu-shell-overlay-title,
.mobile-menu-shell-fullscreen-frame,
.mobile-menu-shell-stack-topbar {
  display: none;
}

@media (min-width: 721px) {
  .topbar-inner { min-height: 76px; }
  .menu { gap: clamp(6px, .8vw, 12px); }
  .menu-link {
    font-size: clamp(.92rem, .86rem + .18vw, 1rem);
    padding: 9px clamp(10px, .95vw, 14px);
    line-height: 1.22;
  }
}

@media (min-width: 1520px) {
  .brand-tagline-subtle .brand-kicker {
    display: block;
  }
}

@media (min-width: 721px) and (max-width: 1320px) {
  .topbar-inner {
    column-gap: 8px;
  }
  .brand-shell {
    max-width: min(56%, 480px);
    flex-basis: min(56%, 480px);
  }
  .brand-logo {
    --brand-logo-h: clamp(38px, 3.8vw, 56px);
    --brand-logo-max-w: clamp(140px, 18vw, 240px);
  }
  .brand-tagline-subtle .brand-kicker {
    display: none;
  }
  .menu-link {
    font-size: clamp(.84rem, .78rem + .2vw, .92rem);
    padding: 8px clamp(8px, .72vw, 11px);
  }
  .nav-rail .menu,
  .nav-chip .menu,
  .nav-segment .menu,
  .nav-floating .menu,
  .nav-glass .menu,
  .nav-pillslot .menu {
    gap: 5px;
    padding-inline: 5px;
  }
}

@media (min-width: 1280px) {
  .container { width: min(1240px, 90%); }
  .hero { padding-top: 58px; gap: 28px; }
}

.site-shell :is(h1, h2, h3, p, li, td, th, small, strong, a, span, code) {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 52px 0 18px;
  display: grid;
  gap: 22px;
  grid-template-columns: 1.12fr .88fr;
  align-items: stretch;
}
.hero > * { min-width: 0; }
.hero > .hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: saturate(1.04) contrast(1.04);
  pointer-events: none;
}
.hero.hero-has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(10, 16, 28, 0.72), rgba(10, 16, 28, 0.4) 46%, rgba(10, 16, 28, 0.6)),
    radial-gradient(600px 260px at 80% -10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent);
}
.hero.hero-has-bg .hero-copy {
  padding: 18px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 58%, rgba(12, 20, 34, 0.42));
  border: 1px solid color-mix(in srgb, var(--primary) 18%, rgba(255, 255, 255, 0.24));
  backdrop-filter: blur(2px);
}
.hero.hero-has-bg .hero-copy :is(h1, p) {
  color: color-mix(in srgb, #ffffff 92%, var(--text));
}
.hero.hero-has-bg .hero-copy .eyebrow {
  background: color-mix(in srgb, rgba(255, 255, 255, 0.86) 76%, var(--primary));
}
.eyebrow { display: inline-block; padding: 6px 10px; border-radius: var(--radius-pill, 999px); background: color-mix(in srgb, var(--primary) 10%, white); color: var(--primary); font-weight: var(--fw-bold, 700); font-size: .78rem; letter-spacing: .3px; }
.hero h1 { margin: 14px 0 12px; font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 3rem); line-height: var(--lh-heading, 1.14); }
.hero p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.62; max-width: 60ch; }
.hero-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.layout-cta-cards .cta-head,
.layout-cta-center .cta-center-card,
.layout-cta-band .legal-article { display: block; }
.layout-cta-cards .cta-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.layout-cta-cards .cta-card {
  margin: 0;
  min-height: 232px;
}
.cta-card p,
.layout-cta-center .cta-center-card p {
  margin: 0 0 12px;
}
.cta-center-actions {
  justify-content: center;
}
.cta-head h2,
.cta-center-card h2 { margin-top: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-btn, 12px); padding: 11px 16px; text-decoration: none; font-weight: var(--fw-bold, 700); border: 1px solid transparent; }
.btn-sm { padding: 7px 10px; border-radius: var(--radius-sm, 10px); font-size: .84rem; font-weight: var(--fw-bold, 700); }
.btn-primary { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 72%, #000)); color: #fff; }
.btn-ghost { background: white; color: var(--text); border-color: #d6dfec; }
.hero-visual {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #d8e1ec;
  background: linear-gradient(145deg, color-mix(in srgb, var(--gradient-a) 12%, #fff), var(--surface));
  min-height: 340px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-fallback { width: 100%; height: 100%; background: linear-gradient(130deg, color-mix(in srgb, var(--primary) 22%, #fff), color-mix(in srgb, var(--accent) 20%, #fff)); }
.layout-hero-caption-panel .hero-visual {
  padding: 0;
  border: 0;
  background: none;
}
.hero-visual.hero-visual-panel-fallback {
  padding: 0;
  border: 0;
  background: none;
}
.hero-fallback-panel {
  width: 100%;
  min-height: 340px;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, #dbe7f6);
  background: linear-gradient(140deg, color-mix(in srgb, var(--surface) 88%, #fff), color-mix(in srgb, var(--surface-alt) 88%, #fff));
}
.hero-fallback-kicker {
  display: inline-flex;
  width: max-content;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .3px;
  background: color-mix(in srgb, var(--primary) 16%, #fff);
  color: var(--primary);
}
.hero-fallback-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  line-height: 1.16;
}
.hero-fallback-text {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.45;
  max-width: 36ch;
}
.hero-caption-strip {
  grid-column: 1 / -1;
  margin: 2px 0 -4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--primary) 16%, #dbe7f6);
  background: linear-gradient(120deg, color-mix(in srgb, var(--surface) 92%, #fff), color-mix(in srgb, var(--surface-alt) 90%, #fff));
  color: var(--text);
  font-weight: 600;
}

.section { margin-top: 26px; margin-bottom: 16px; }
.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: var(--radius-pill, 999px);
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  color: var(--primary);
  font-size: .78rem;
  font-weight: var(--fw-extrabold, 800);
  letter-spacing: .2px;
  text-transform: uppercase;
}
.section-head h1,
.section-head h2 { margin: 0 0 8px; font-family: var(--font-heading); font-size: clamp(1.3rem, 2vw, 2rem); }
.section-head p { margin: 0 0 14px; color: var(--muted); }
.section-head .section-lead { color: var(--text); font-weight: var(--fw-bold, 700); margin-bottom: 10px; }
.page-title-section { margin-top: 12px; margin-bottom: 6px; }
.layout-page-title .section-head { margin: 0 auto; }
.page-head-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--primary) 14%, #d9e4f2);
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--surface) 92%, #fff),
    color-mix(in srgb, var(--surface-alt) 76%, #fff)
  );
}
.page-head-center h1 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.8vw, 2.7rem);
  line-height: 1.14;
}
.page-head-center p {
  margin: 0 auto;
  max-width: 68ch;
}
.page-head-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px 16px;
  align-items: end;
}
.page-head-split .section-kicker { margin-top: 0; }
.page-head-split h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  line-height: 1.14;
}
.page-head-split p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.page-head-compact {
  max-width: 860px;
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px dashed color-mix(in srgb, var(--primary) 18%, #d9e4f2);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
}
.page-head-compact h1 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.35vw, 2rem);
}
.page-head-compact p { margin: 0; line-height: 1.4; }

/* Keep compact titles center-aligned on contact pages only. */
.page-shell-contact .layout-page-title-compact .page-head-compact {
  text-align: center;
}
.page-shell-contact .layout-page-title-compact .page-head-compact p {
  margin-left: auto;
  margin-right: auto;
  max-width: 68ch;
}

.page-title-shell-shell {
  border: 1px solid color-mix(in srgb, var(--primary) 14%, #d9e4f2);
  border-radius: 20px;
  padding: 16px 18px;
  background: linear-gradient(
    155deg,
    color-mix(in srgb, var(--surface) 94%, transparent),
    color-mix(in srgb, var(--surface-alt) 82%, transparent)
  );
}

.page-title-shell-inline-grid {
  display: grid;
  gap: 12px;
}

.page-head-title-compact-shell {
  padding: 12px 14px;
}

.layout-page-title-shell-inline .section-head {
  background: color-mix(in srgb, var(--primary) 8%, #fff);
  border: 1px dashed color-mix(in srgb, var(--primary) 24%, #d5e3f4);
  border-radius: 16px;
  padding: 16px;
}

.layout-page-title-shell-inline .page-title-shell-inline-grid .page-head-compact h1,
.layout-page-title-shell-inline .page-title-shell-inline-grid .page-head-center h1 {
  margin-bottom: 6px;
}

.layout-page-title-shell-compact-shell .section-head.page-head-title-compact-shell {
  margin-bottom: 0;
}

.page-skeleton-policy .legal-article,
.page-skeleton-process .legal-article {
  border-style: dashed;
  border-color: color-mix(in srgb, var(--accent) 28%, #dbe5f0);
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--secondary) 52%, #fff));
}

.page-shell { display: grid; gap: 8px; }
.module-shell {
  position: relative;
}
.module-shell::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 24%, transparent), transparent);
  opacity: 0;
}
.module-shell:is(.module-proof, .module-process, .module-contact)::after {
  opacity: .55;
}
.design-emphasis-soft .module-shell:is(.module-proof, .module-process, .module-contact)::after {
  opacity: .24;
}

.module-hero.role-pattern-hero-split-signal {
  grid-template-columns: 1.2fr .8fr;
}
.module-hero.role-pattern-hero-center-stage {
  grid-template-columns: 1fr;
  text-align: center;
}
.module-hero.role-pattern-hero-center-stage .hero-copy {
  max-width: 860px;
  margin-inline: auto;
}
.module-hero.role-pattern-hero-center-stage .hero-actions {
  justify-content: center;
}
.module-hero.role-pattern-hero-editorial-ribbon {
  border-top: 2px solid color-mix(in srgb, var(--accent) 40%, #dce5f0);
  border-bottom: 2px solid color-mix(in srgb, var(--primary) 24%, #dce5f0);
  border-radius: 22px;
  padding: 26px;
}
.module-hero.role-pattern-hero-media-stack .hero-visual {
  min-height: 420px;
  border-radius: 28px;
}
.module-hero.role-pattern-hero-media-stack .hero-copy {
  align-self: end;
}

/* ===== §BRAND-STRATEGY — header brand name visibility ===== */
.brand-strategy-brand_text_show .brand-shell .brand-text-wrap {
  display: grid !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
}
.brand-strategy-brand_text_show .brand-shell .brand-name {
  font-weight: var(--fw-bold, 700);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-strategy-brand_scale_boost .brand-shell .brand-logo {
  --brand-logo-h: 72px;
  --brand-logo-max-w: 300px;
  border-radius: 14px;
}
.brand-strategy-brand_color_merge .topbar-brand-merge {
  background: color-mix(in srgb, var(--primary) 8%, var(--surface));
  border-bottom-color: color-mix(in srgb, var(--primary) 18%, #dce5f0);
}
.brand-strategy-brand_color_merge .topbar-brand-merge .brand-logo {
  border: none;
  background: transparent;
  filter: drop-shadow(0 1px 4px color-mix(in srgb, var(--primary) 16%, transparent));
}

/* ===== §HERO-LOGO — creative hero placements ===== */
.hero-brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  object-position: center;
}

/* -- hero_corner: badge in top-right corner -- */
.hero-brand-corner {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 86%, rgba(255,255,255,.8));
  border: 1px solid color-mix(in srgb, var(--primary) 14%, #dce5f0);
  padding: 6px;
  box-shadow: 0 4px 18px rgba(7,22,52,.10), 0 1px 4px rgba(7,22,52,.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform .22s ease, box-shadow .22s ease;
}
.hero-brand-corner:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(7,22,52,.14);
}
.hero-brand-corner .hero-brand-logo { height: 48px; max-width: 160px; border-radius: 10px; }
.hero-brand-corner.brand-scale-xs .hero-brand-logo { height: 32px; max-width: 110px; }
.hero-brand-corner.brand-scale-sm .hero-brand-logo { height: 40px; max-width: 130px; }
.hero-brand-corner.brand-scale-md .hero-brand-logo { height: 48px; max-width: 160px; }
.hero-brand-corner.brand-scale-lg .hero-brand-logo { height: 58px; max-width: 200px; }
.hero-brand-corner.brand-scale-xl .hero-brand-logo { height: 68px; max-width: 240px; }

/* -- hero_watermark: large semi-transparent logo behind hero content -- */
.hero-brand-watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.hero-brand-watermark .hero-brand-logo {
  height: min(55%, 280px);
  max-width: 60%;
  opacity: .055;
  filter: grayscale(.3);
  user-select: none;
}
/* inline SVG watermark (generated mark without background) */
.hero-brand-watermark svg,
.hero-brand-watermark .hero-watermark-inline-svg {
  width: min(55%, 280px);
  height: auto;
  max-height: 60%;
  opacity: .055;
  filter: grayscale(.3);
  user-select: none;
  pointer-events: none;
}

/* -- hero_inline: logo positioned within hero area, aligned to copy -- */
.hero-brand-inline {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 82%, rgba(255,255,255,.72));
  border: 1px solid color-mix(in srgb, var(--primary) 12%, #dce5f0);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(7,22,52,.08);
}
.hero-brand-inline .hero-brand-logo { height: 36px; max-width: 120px; border-radius: 8px; }
.hero-brand-inline.brand-scale-xs .hero-brand-logo { height: 28px; max-width: 90px; }
.hero-brand-inline.brand-scale-sm .hero-brand-logo { height: 32px; max-width: 105px; }
.hero-brand-inline.brand-scale-md .hero-brand-logo { height: 36px; max-width: 120px; }
.hero-brand-inline.brand-scale-lg .hero-brand-logo { height: 44px; max-width: 150px; }
.hero-brand-inline.brand-scale-xl .hero-brand-logo { height: 52px; max-width: 180px; }

/* -- hero_banner: full-width brand strip at hero bottom -- */
.hero-brand-banner {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--primary) 6%, var(--surface)),
    color-mix(in srgb, var(--primary) 3%, var(--surface))
  );
  border: 1px solid color-mix(in srgb, var(--primary) 10%, #dce5f0);
}
.hero-brand-banner .hero-brand-logo { height: 36px; max-width: 130px; border-radius: 8px; flex-shrink: 0; }
.hero-brand-banner.brand-scale-xs .hero-brand-logo { height: 28px; max-width: 100px; }
.hero-brand-banner.brand-scale-sm .hero-brand-logo { height: 32px; max-width: 115px; }
.hero-brand-banner.brand-scale-lg .hero-brand-logo { height: 44px; max-width: 160px; }
.hero-brand-banner.brand-scale-xl .hero-brand-logo { height: 52px; max-width: 190px; }
.hero-brand-banner-label {
  font-size: .82rem;
  font-weight: var(--fw-bold, 700);
  color: var(--primary);
  letter-spacing: .3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* hero-has-bg overrides for logo overlays */
.hero.hero-has-bg .hero-brand-corner {
  background: rgba(10,16,28,.52);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 4px 18px rgba(0,0,0,.22);
}
.hero.hero-has-bg .hero-brand-inline {
  background: rgba(10,16,28,.46);
  border-color: rgba(255,255,255,.16);
}
.hero.hero-has-bg .hero-brand-banner {
  background: linear-gradient(90deg, rgba(10,16,28,.48), rgba(10,16,28,.32));
  border-color: rgba(255,255,255,.14);
}
.hero.hero-has-bg .hero-brand-banner-label {
  color: rgba(255,255,255,.88);
}
.hero.hero-has-bg .hero-brand-watermark .hero-brand-logo {
  opacity: .04;
  filter: grayscale(.2) brightness(3);
}

/* responsive: stack corner / inline on mobile */
@media (max-width: 767px) {
  .hero-brand-corner { top: 10px; right: 10px; padding: 4px; }
  .hero-brand-corner .hero-brand-logo { height: 32px; max-width: 110px; }
  .hero-brand-inline { bottom: 10px; left: 10px; padding: 4px 8px; }
  .hero-brand-inline .hero-brand-logo { height: 28px; max-width: 90px; }
  .hero-brand-banner { padding: 8px 12px; gap: 8px; }
  .hero-brand-banner .hero-brand-logo { height: 28px; max-width: 100px; }
  .hero-brand-watermark .hero-brand-logo { height: min(40%, 160px); }
}

.module-faq.role-pattern-faq-accordion-compact .faq-item {
  border-radius: 10px;
}
.module-faq.role-pattern-faq-accordion-compact .faq-q {
  padding: 12px 14px;
}
.module-faq.role-pattern-faq-cards-panel .services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.module-faq.role-pattern-faq-columns-split .faq-wrap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.module-faq.role-pattern-faq-stack-notes .faq-item {
  border-left: 3px solid color-mix(in srgb, var(--accent) 42%, #dce5f0);
}
.module-faq.role-pattern-faq-stack-notes .faq-a {
  display: block;
}
.module-faq.role-pattern-faq-question-list-compact .faq-question-list {
  display: grid;
  gap: 10px;
}
.module-faq.role-pattern-faq-question-list-compact .faq-question-list .legal-article {
  border-left: 3px solid color-mix(in srgb, var(--primary) 38%, #dce5f0);
}

.page-shell-offers.role-pattern-offers-ops-board .offers-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.page-shell-offers.role-pattern-offers-matrix-rail .offer-matrix-wrap {
  border-width: 2px;
  box-shadow: 0 10px 22px rgba(5, 28, 56, 0.08);
}
.page-shell-offers.role-pattern-offers-spotlight-mosaic .offers-grid .offer-card:nth-child(3n + 1) {
  grid-column: span 2;
}
.page-shell-offers.role-pattern-offers-digest-stack .offer-card {
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(6, 34, 66, 0.06);
}

.page-shell-contact.role-pattern-contact-map-lead .contact-grid {
  grid-template-columns: 1.15fr .85fr;
}
.page-shell-contact.role-pattern-contact-map-lead .map-card {
  min-height: 360px;
}
.page-shell-contact.role-pattern-contact-form-lead .contact-grid {
  grid-template-columns: .9fr 1.1fr;
}
.page-shell-contact.role-pattern-contact-form-lead .form-wrap {
  border-width: 2px;
}
.page-shell-contact.role-pattern-contact-directory-split .layout-contact-directory .services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.page-shell-contact.role-pattern-contact-cta-panel .legal-article {
  border-left: 4px solid color-mix(in srgb, var(--primary) 48%, #dce5f0);
}
.page-shell-contact.role-pattern-contact-capture-form-lead .layout-contact-capture-form .form-wrap,
.page-shell-contact.role-pattern-contact-dual-cta-band .layout-contact-dual-cta-grid .contact-card {
  border-width: 2px;
}
.page-shell-contact.role-pattern-contact-dual-cta-band .layout-contact-dual-cta {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.page-shell-contact.role-pattern-contact-dual-cta-band .layout-contact-dual-cta .legal-article {
  margin: 0;
}

.page-shell-index.layout-index-ext-hero .index-flow,
.page-shell-index.layout-index-ext-hero-contact .index-flow,
.page-shell-index.layout-index-ext-blog .index-flow,
.page-shell-index.layout-index-ext-hero-proof .index-flow {
  margin-top: 2px;
}
.page-shell-index.layout-index-story-grid .index-flow {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
.page-shell-index.layout-index-story-grid .index-module-slot { grid-column: span 6; }
.page-shell-index.layout-index-story-grid .slot-hero { grid-column: 1 / -1; }
.page-shell-index.layout-index-story-grid .slot-services,
.page-shell-index.layout-index-story-grid .slot-proof { grid-column: span 6; }
.page-shell-index.layout-index-story-grid .slot-contact-map,
.page-shell-index.layout-index-story-grid .slot-cta { grid-column: 1 / -1; }
.page-shell-index.layout-index-story-grid .index-module-slot.slot-span-full { grid-column: 1 / -1; }
.page-shell-index.layout-index-story-grid .layout-index-intro-story .services-grid-stacked {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin-inline: auto;
}

.page-shell-index.layout-index-compact-signal .index-flow {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 10px;
}
.page-shell-index.layout-index-compact-signal .slot-hero,
.page-shell-index.layout-index-compact-signal .slot-services,
.page-shell-index.layout-index-compact-signal .slot-contact-map {
  grid-column: 1 / -1;
}

.page-shell-offers.layout-offers-pricing-toggle-matrix .container .pricing-toggle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.page-shell-offers.layout-offers-pricing-toggle-matrix .pricing-toggle-card {
  background: var(--surface);
  border: 1px solid #dde5ef;
  border-radius: 16px;
  padding: 14px;
}
.page-shell-offers.layout-offers-pricing-toggle-matrix .pricing-kicker {
  font-size: .78rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 6px;
}
.page-shell-offers.layout-offers-pricing-toggle-matrix .pricing-toggle-card .btn {
  margin-top: 8px;
}
.page-shell-offers.layout-offers-blog-offers-blog-offers-blog-offers .offer-story-rhythm {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.page-shell-offers.layout-offers-blog-offers-blog-offers-blog-offers .offer-story-card {
  background: var(--surface);
  border: 1px solid #dde5ef;
  border-radius: 16px;
  padding: 14px;
}

.page-shell-index.layout-index-ext-hero .module-index-intro-ext-hero,
.page-shell-index.layout-index-ext-hero-contact .module-index-intro-ext-hero-contact,
.page-shell-index.layout-index-ext-hero-proof .module-index-intro-ext-hero-proof,
.page-shell-index.layout-index-ext-blog .module-index-intro-ext-blog,
.page-shell-index.layout-index-hero-contact-ladder .module-index-intro-hero-contact-ladder,
.page-shell-index.layout-index-ext-hero-cta .module-index-intro-ext-hero-cta,
.page-shell-index.layout-index-ext-proof-proof .module-index-intro-ext-proof-proof,
.page-shell-index.layout-index-ext-offers-offers .module-index-intro-ext-offers,
.page-shell-index.layout-index-ext-offers-hero-offers-proof-contact .module-index-intro-ext-offers,
.page-shell-index.layout-index-ext-offers-contact-offers-contact-offers .module-index-intro-ext-offers,
.page-shell-index.layout-index-ext-offers-blog-offers-blog-offers .module-index-intro-ext-offers,
.page-shell-index.layout-index-ext-contact-blog-contact-contact .module-index-intro-ext-contact,
.page-shell-index.layout-index-ext-contact .module-index-intro-ext-contact {
  display: grid;
  gap: 14px;
}
.page-shell-index.layout-index-ext-hero .module-index-intro-ext-hero .hero-actions,
.page-shell-index.layout-index-ext-hero-contact .module-index-intro-ext-hero-contact .hero-actions,
.page-shell-index.layout-index-ext-hero-proof .module-index-intro-ext-hero-proof .hero-actions,
.page-shell-index.layout-index-ext-blog .module-index-intro-ext-blog .hero-actions,
.page-shell-index.layout-index-hero-contact-ladder .module-index-intro-hero-contact-ladder .hero-actions,
.page-shell-index.layout-index-ext-hero-cta .module-index-intro-ext-hero-cta .hero-actions,
.page-shell-index.layout-index-ext-offers-offers .module-index-intro-ext-offers .hero-actions,
.page-shell-index.layout-index-ext-offers-hero-offers-proof-contact .module-index-intro-ext-offers .hero-actions,
.page-shell-index.layout-index-ext-offers-contact-offers-contact-offers .module-index-intro-ext-offers .hero-actions,
.page-shell-index.layout-index-ext-offers-blog-offers-blog-offers .module-index-intro-ext-offers .hero-actions,
.page-shell-index.layout-index-ext-contact-blog-contact-contact .module-index-intro-ext-contact .hero-actions,
.page-shell-index.layout-index-ext-contact .module-index-intro-ext-contact .hero-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.page-shell-index.layout-index-ext-hero-proof .index-intro-rhythm {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.page-shell-index.layout-index-ext-proof-proof .layout-index-intro-ext-proof-proof .legal-article {
  border-left: 3px solid color-mix(in srgb, var(--accent) 44%, #dce5ef);
}
.page-shell-index.layout-index-ext-contact .layout-index-intro-ext-contact .legal-article,
.page-shell-index.layout-index-ext-contact-blog-contact-contact .layout-index-intro-ext-contact .legal-article {
  background: color-mix(in srgb, var(--surface) 92%, #fff);
}
.page-shell-comparison.layout-comparison-radar-split .slot-proof,
.page-shell-comparison.layout-comparison-radar-split .slot-process,
.page-shell-comparison.layout-comparison-radar-split .slot-cta,
.page-shell-comparison.layout-comparison-radar-split .slot-kpi,
.page-shell-comparison.layout-comparison-radar-split .slot-stats-strip,
.page-shell-comparison.layout-comparison-radar-split .slot-case-strip,
.page-shell-comparison.layout-comparison-radar-split .slot-insights,
.page-shell-comparison.layout-comparison-radar-split .slot-legal-note { grid-column: 1 / -1; }

.page-shell-offers.layout-offers-ops-board .module-offers-board .offers-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.page-shell-offers.layout-offers-ops-board .module-offers-intro .offers-kpi-grid {
  margin-top: 12px;
}
.module-offers-intro.layout-offers-ops-timeline .timeline {
  margin-bottom: 4px;
}
.module-offers-intro.layout-offers-ops-compact .offers-ops-compact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.module-offers-intro.layout-offers-ops-compact .offers-ops-meta-title {
  margin: 0;
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  padding: 12px;
  background: var(--surface);
}
.module-offers-intro.layout-offers-ops-compact .offers-ops-meta-title h3 {
  margin: 0 0 6px;
  font-size: 1.04rem;
}
.module-offers-intro.layout-offers-ops-compact .offers-ops-meta-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.module-offers-board.layout-offers-ops-board-compact .offers-grid {
  grid-template-columns: minmax(0, 1fr);
}
.page-shell-offers.layout-offers-ops-board .module-offers-intro .offers-kpi-grid.layout-offers-compact-kpi {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-shell-contact.layout-contact-directory-cards .layout-contact-directory .service-card {
  border-top-width: 2px;
}
.page-shell-contact.layout-contact-directory-cards .layout-contact-directory-form {
  align-items: stretch;
}
.page-shell-contact.layout-contact-contact-contact .layout-contact-contact-loop .contact-loop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.page-shell-contact.layout-contact-contact-contact .layout-contact-contact-loop-grid .contact-card {
  display: grid;
  align-content: start;
  gap: 8px;
}
.page-shell-contact.layout-contact-contact-contact .layout-contact-contact-loop-grid .contact-loop-map {
  min-height: 220px;
  margin-top: 8px;
}
.page-shell-contact.layout-contact-contact-offers-contact-offers-contact-offers .layout-contact-offers-loop .services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.page-shell-contact.layout-contact-contact-offers-contact-offers-contact-offers .layout-contact-offers-loop .service-card:last-child {
  grid-column: 1 / -1;
}
.page-shell-contact.layout-contact-contact-offers-contact-offers-contact-offers .layout-contact-offers-loop-grid .contact-card {
  border-width: 2px;
}

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card { background: var(--surface); border: 1px solid var(--border-card, #dde5ef); border-radius: var(--radius-card, 16px); padding: 18px; box-shadow: var(--shadow-card, 0 10px 24px rgba(6, 34, 66, 0.05)); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover, 0 14px 26px rgba(6, 34, 66, 0.10)); }
.service-index { font-size: .78rem; font-weight: var(--fw-extrabold, 800); color: var(--accent); margin-bottom: 8px; }
.service-card h3 { margin: 0 0 8px; font-size: 1.17rem; }
.service-card p { margin: 0; color: var(--muted); line-height: var(--lh-body, 1.55); }
.services-grid-cards { gap: 16px; }
.service-card-cards { border-width: 1.5px; }
.services-grid-split .service-card:first-child {
  grid-column: span 2;
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--secondary) 24%, #fff));
}
.services-grid-split .service-card:first-child h3 { font-size: 1.24rem; }
.services-grid-mosaic .service-card:nth-child(2n) {
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--surface-alt) 62%, #fff));
}
.services-grid-mosaic .service-card:nth-child(3n) { transform: translateY(3px); }
.services-grid-staggered .service-card:nth-child(2n) {
  transform: translateY(8px);
}
.services-grid-staggered .service-card {
  border-top-width: 2px;
}
.services-grid-asymmetric .service-card:first-child {
  grid-column: span 2;
  background: linear-gradient(170deg, color-mix(in srgb, var(--surface) 86%, var(--secondary)), var(--surface));
}
.services-grid-asymmetric .service-card:first-child h3 {
  font-size: 1.27rem;
}
.services-grid-editorial { gap: 16px; }
.services-grid-editorial .service-card {
  padding: 22px 18px;
}
.service-card-featured {
  border-radius: 18px;
  box-shadow: 0 18px 28px rgba(6, 34, 66, 0.08);
}
.service-card-mosaic {
  position: relative;
  overflow: visible;
}
.service-card-mosaic::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  opacity: .12;
  pointer-events: none;
}
.service-card-staggered {
  position: relative;
  overflow: hidden;
}
.service-card-staggered::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 34%, transparent), transparent);
}
.service-card-asymmetric {
  border-left-width: 3px;
}
.service-card-editorial h3 {
  text-transform: uppercase;
  letter-spacing: .16px;
}

.split {
  background: var(--surface);
  border: 1px solid #dde5ef;
  border-radius: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.timeline { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.timeline li { display: grid; grid-template-columns: 54px 1fr; align-items: start; gap: 10px; background: color-mix(in srgb, var(--primary) 7%, #fff); border-radius: 12px; padding: 10px; }
.timeline strong { font-family: var(--font-heading); color: var(--primary); font-size: 1.05rem; }
.timeline span { color: var(--text); line-height: 1.5; }

.faq-wrap { display: grid; gap: 10px; }
.faq-item { background: white; border: 1px solid var(--border-card, #dde5ef); border-radius: var(--radius-card-sm, 12px); overflow: hidden; }
.faq-q { width: 100%; border: 0; background: none; text-align: left; padding: 14px 16px; font-weight: var(--fw-bold, 700); color: var(--text); cursor: pointer; }
.faq-a { padding: 0 16px 14px; color: var(--muted); line-height: var(--lh-body, 1.56); display: none; }
.faq-item.open .faq-a { display: block; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card, .map-card { background: var(--surface); border: 1px solid var(--border-card, #dde5ef); border-radius: var(--radius-card, 16px); padding: 18px; min-height: 340px; }
.contact-card h2 { margin-top: 0; font-family: var(--font-heading); }
.contact-card p { margin: 0 0 10px; color: var(--muted); }
.layout-proof-grid .proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.layout-proof-grid .proof-grid .legal-article {
  margin: 0;
}
.layout-proof-timeline .proof-timeline {
  list-style: none;
  margin: 0;
  padding-left: 0;
  display: grid;
  gap: 10px;
}
.layout-proof-timeline .proof-timeline li {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: start;
  gap: 10px;
  background: color-mix(in srgb, var(--primary) 7%, #fff);
  border-radius: 12px;
  padding: 10px;
}
.layout-proof-timeline .proof-timeline strong {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.05rem;
}
.layout-proof-timeline .proof-timeline span {
  color: var(--text);
  line-height: 1.56;
}
.layout-case-split .case-strip-split,
.layout-case-stacked .case-strip-stacked,
.layout-case-triple .case-strip-triple {
  display: grid;
  gap: 14px;
}
.layout-case-split .case-strip-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.layout-case-triple .case-strip-triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.layout-case-split .case-strip-split .legal-article,
.layout-case-stacked .case-strip-stacked .legal-article,
.layout-case-triple .case-strip-triple .legal-article {
  margin: 0;
}
.layout-contact-map-inline .contact-map-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.2fr;
  gap: 14px;
  align-items: stretch;
}
.layout-contact-map-inline .map-card { min-height: 320px; }
.layout-contact-map-inline .contact-card { min-height: 340px; }
.layout-contact-map-contacts-first {
  display: grid;
  gap: 14px;
}
.layout-contact-map-contacts-first .contact-card { min-height: 240px; }
.layout-contact-map-contacts-first .map-card-compact,
.layout-contact-map-contacts-first .map-card { min-height: 300px; }
.contact-intro-shell {
  display: grid;
  gap: 14px;
}
.contact-intro-shell-section {
  margin-top: 0;
  margin-bottom: 0;
}
.contact-intro-shell--stacked .contact-grid,
.contact-intro-shell--stacked .contact-loop-grid {
  grid-template-columns: 1fr;
}
.contact-intro-shell--stacked .contact-intro-shell-section {
  min-height: auto;
}
.contact-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  border: 1px solid color-mix(in srgb, var(--primary) 16%, #dbe5f0);
  background: color-mix(in srgb, #fff 88%, var(--secondary));
  border-radius: 999px;
  padding: 4px 8px;
  max-width: min(100%, 380px);
}
.contact-logo-image {
  --contact-logo-h: 28px;
  --contact-logo-max-w: 90px;
  width: auto;
  min-width: var(--contact-logo-h);
  max-width: var(--contact-logo-max-w);
  height: var(--contact-logo-h);
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  border: 1px solid color-mix(in srgb, var(--primary) 14%, #dbe5f0);
  background: #fff;
  flex: 0 0 auto;
}
.contact-logo-text {
  font-size: .82rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--text) 84%, var(--primary));
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  line-height: 1.2;
}
.contact-logo-badge--form { margin-bottom: 12px; }
.contact-logo-mode-ribbon {
  border-radius: 10px;
  border-color: color-mix(in srgb, var(--primary) 28%, #dbe5f0);
  background: linear-gradient(135deg, color-mix(in srgb, var(--secondary) 66%, #fff), color-mix(in srgb, var(--accent) 14%, #fff));
}
.contact-logo-mode-stamp {
  border-style: dashed;
  border-width: 2px;
}
.contact-logo-mode-inline {
  border: none;
  background: transparent;
  padding: 0;
}
.contact-logo-mode-subtle_bar {
  border-radius: 8px;
  width: 100%;
  justify-content: flex-start;
}
.contact-logo-scale-xs .contact-logo-image { --contact-logo-h: 22px; --contact-logo-max-w: 70px; border-radius: 6px; }
.contact-logo-scale-sm .contact-logo-image { --contact-logo-h: 28px; --contact-logo-max-w: 90px; border-radius: 8px; }
.contact-logo-scale-md .contact-logo-image { --contact-logo-h: 36px; --contact-logo-max-w: 114px; border-radius: 10px; }
.contact-logo-scale-lg .contact-logo-image { --contact-logo-h: 44px; --contact-logo-max-w: 140px; border-radius: 12px; }
.contact-logo-scale-xl .contact-logo-image { --contact-logo-h: 52px; --contact-logo-max-w: 166px; border-radius: 14px; }
.map-card { padding: 0; overflow: hidden; }
.map-card iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

.compare-table-wrap { overflow: auto; border: 1px solid #dbe5ef; border-radius: 14px; background: white; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare-table th, .compare-table td { padding: 12px 14px; border-bottom: 1px solid #edf1f7; text-align: left; }
.compare-table th { background: #f8fbff; font-family: var(--font-heading); }
.comparison-kpi-card {
  border: 1px solid #dce5f0;
  border-radius: 14px;
  padding: 14px;
  background: var(--surface);
  display: grid;
  gap: 8px;
}
.comparison-kpi-card-top { display: grid; }
.comparison-kpi-card h3 { margin: 0; font-size: 1rem; font-family: var(--font-heading); }
.comparison-kpi-card p { margin: 0; color: var(--muted); line-height: 1.45; }
.comparison-kpi-card p strong { color: var(--primary); }
.comparison-kpi-split {
  display: grid;
  gap: 10px;
}
.comparison-kpi-split-row {
  border: 1px solid #dce5f0;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  display: grid;
  gap: 8px;
}
.comparison-kpi-split-row h3 { margin: 0; font-family: var(--font-heading); }
.comparison-kpi-pair {
  display: grid;
  gap: 6px;
  color: var(--muted);
  line-height: 1.45;
}
.comparison-kpi-bars {
  display: grid;
  gap: 12px;
}
.comparison-kpi-bar-row {
  border: 1px solid #dce5f0;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  display: grid;
  gap: 8px;
}
.comparison-kpi-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.comparison-kpi-bar-head h3 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--text);
}
.comparison-kpi-bar-head strong { color: var(--primary); }
.comparison-kpi-bar-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-alt) 72%, #fff);
  overflow: hidden;
}
.comparison-kpi-bar-fill {
  --bar-width: 70%;
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.comparison-kpi-bar-row p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.45;
}
.layout-comparison-proof-table .compare-table-wrap { overflow: auto; }

.offers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
/* §GRID  Offers grid column variants */
.offers-grid.offers-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offers-grid.offers-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offers-grid.offers-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offers-grid.offers-cols-auto-fill { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.offers-grid.offers-cols-masonry-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offers-grid.offers-cols-masonry-2 .offer-card:nth-child(odd) { transform: translateY(18px); }
.offers-grid.offers-cols-asymmetric { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offers-grid.offers-cols-asymmetric .offer-card:first-child { grid-column: 1 / -1; }
.offers-grid.offers-cols-asymmetric .offer-card:first-child .offer-media { height: 240px; }
@media (max-width: 768px) {
  .offers-grid.offers-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers-grid.offers-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers-grid.offers-cols-masonry-2 .offer-card:nth-child(odd) { transform: none; }
}
@media (max-width: 540px) {
  .offers-grid.offers-cols-2,
  .offers-grid.offers-cols-3,
  .offers-grid.offers-cols-4,
  .offers-grid.offers-cols-auto-fill,
  .offers-grid.offers-cols-masonry-2,
  .offers-grid.offers-cols-asymmetric { grid-template-columns: 1fr; }
  .offers-grid.offers-cols-asymmetric .offer-card:first-child { grid-column: auto; }
  .offers-grid.offers-cols-asymmetric .offer-card:first-child .offer-media { height: 172px; }
}
.offer-card { background: var(--surface); border: 1px solid var(--border-card, #dce5f0); border-radius: var(--radius-card, 16px); overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.offer-media { width: 100%; height: 172px; background: color-mix(in srgb, var(--primary) 8%, #f7fbff); overflow: hidden; border-bottom: 1px solid #dce5f0; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer-media-empty { display: grid; place-items: center; }
.offer-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 16%, #fff), color-mix(in srgb, var(--accent) 14%, #fff));
}
.offer-fallback span {
  font-weight: 700;
  color: color-mix(in srgb, var(--text) 76%, #fff);
  background: color-mix(in srgb, white 74%, transparent);
  border: 1px solid #dce5f0;
  border-radius: 999px;
  padding: 8px 12px;
}
.offer-card .inner { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.offer-meta { margin: 0 0 6px; font-size: .78rem; font-weight: 800; color: var(--accent); letter-spacing: .2px; text-transform: uppercase; }
.offer-card h3 { margin: 0 0 8px; }
.offer-card p { margin: 0; color: var(--muted); line-height: 1.52; }
.offer-card .actions { margin-top: auto; padding-top: 12px; }
.offer-summary { margin-bottom: 10px; color: var(--text); }
.offer-points { margin: 0; padding-left: 18px; display: grid; gap: 5px; color: var(--muted); font-size: .92rem; }
.offer-points li { line-height: 1.44; }
.offer-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #d6dfec;
  background: color-mix(in srgb, var(--secondary) 72%, #fff);
  color: var(--text);
  font-size: .75rem;
  font-weight: 700;
}
.offer-card-tone-a { border-color: color-mix(in srgb, var(--primary) 25%, #dce5f0); }
.offer-card-tone-b { border-color: color-mix(in srgb, var(--accent) 24%, #dce5f0); }
.offer-card-tone-c { border-color: color-mix(in srgb, var(--secondary) 60%, var(--primary)); background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--secondary) 26%, #fff)); }
.offer-card-tone-d { border-color: color-mix(in srgb, var(--primary) 14%, #dce5f0); box-shadow: 0 10px 22px rgba(8, 30, 58, 0.07); }
.offer-card-style-standard .offer-media {
  border-radius: 0;
}
.offer-card-style-surface {
  background: linear-gradient(165deg, var(--surface), color-mix(in srgb, var(--surface-alt) 72%, #fff));
  border-color: color-mix(in srgb, var(--primary) 18%, var(--surface-alt));
}
.offer-card-style-editorial {
  border-radius: 22px;
}
.offer-card-style-editorial .offer-meta {
  text-transform: none;
  letter-spacing: .05px;
}
.offer-card-style-contrast {
  border-width: 2px;
  border-color: color-mix(in srgb, var(--accent) 38%, #dce5f0);
  box-shadow: 0 12px 26px rgba(6, 34, 66, 0.14);
}
.offer-card-style-compact .offer-media { height: 136px; }
.offer-card-style-compact .offer-chips { gap: 5px; }
.offer-card-style-minimal {
  border-radius: 10px;
  border-color: color-mix(in srgb, var(--primary) 12%, #dde5ef);
  background: color-mix(in srgb, var(--surface) 92%, #fff);
}
.offer-card-style-minimal .offer-meta {
  text-transform: none;
  letter-spacing: .05px;
}
.offer-card-style-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1fr;
}
.offer-card-layout-compact .offer-card-compact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.92fr);
  align-items: stretch;
}
.offer-card-layout-compact .offer-media {
  border-bottom: none;
  border-right: 1px solid #dce5f0;
}
.offer-card-layout-compact .offer-points-compact li { line-height: 1.36; }
.offer-card-layout-feature {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: stretch;
}
.offer-card-layout-feature .offer-media {
  border-bottom: none;
  border-right: 1px solid #dce5f0;
}
.offer-feature-lead { margin-bottom: 6px; }
.offer-feature-list {
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.offer-feature-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid #dfE7F2;
  border-radius: 10px;
}
.offer-feature-item dt,
.offer-feature-item dd { margin: 0; }
.offer-feature-item dt { font-size: .74rem; color: var(--muted); letter-spacing: .2px; }
.offer-feature-item dd { font-weight: 700; color: var(--text); }

@media (max-width: 1024px) {
  .offer-card-layout-compact .offer-card-compact-row,
  .offer-card-layout-feature {
    grid-template-columns: 1fr;
  }
  .offer-card-layout-compact .offer-media,
  .offer-card-layout-feature .offer-media {
    border-right: 0;
    border-bottom: 1px solid #dce5f0;
  }
}

.offers-grid-mosaic {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.offers-grid-mosaic .offer-card:nth-child(2n) {
  transform: translateY(10px);
}
.offers-grid-editorial .offer-card:nth-child(1) {
  grid-column: span 2;
}

.offers-kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.layout-kpi-grid .offers-kpi-grid { display: grid; }
.offers-kpi-card {
  background: var(--surface);
  border: 1px solid #dde5ef;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(6, 34, 66, 0.05);
}
.offers-kpi-card strong { display: block; margin-bottom: 6px; font-family: var(--font-heading); font-size: 1.35rem; color: var(--primary); }
.offers-kpi-card h3 { margin: 0 0 6px; font-size: 1rem; }
.offers-kpi-card p { margin: 0; color: var(--muted); line-height: 1.45; }
.layout-kpi-matrix .kpi-matrix {
  display: grid;
  gap: 10px;
}
.layout-kpi-matrix .kpi-matrix-item {
  border: 1px solid #dde5ef;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  display: grid;
  gap: 10px;
}
.layout-kpi-matrix .kpi-matrix-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.layout-kpi-matrix .kpi-matrix-head h3 {
  margin: 0;
  font-family: var(--font-heading);
}
.layout-kpi-matrix .kpi-matrix-head strong {
  color: var(--primary);
  font-family: var(--font-heading);
}
.layout-kpi-matrix .kpi-matrix-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.kpi-meter-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 8%, #e6eef8);
  overflow: hidden;
}
.kpi-meter-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 82%, #fff), var(--secondary));
  border-radius: inherit;
}
.layout-kpi-compact .kpi-compact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.layout-kpi-compact .kpi-compact-item {
  border: 1px solid #dde5ef;
  border-radius: 14px;
  padding: 12px;
  background: var(--surface);
  display: grid;
  gap: 8px;
}
.layout-kpi-compact .kpi-compact-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.layout-kpi-compact .kpi-compact-title h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
}
.layout-kpi-compact .kpi-compact-title strong {
  color: var(--primary);
}
.layout-kpi-compact .kpi-compact-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.offer-matrix-wrap {
  overflow: auto;
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.offer-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  table-layout: fixed;
}
.offer-matrix th,
.offer-matrix td {
  padding: 12px 12px;
  border-bottom: 1px solid #edf1f7;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.45;
}
.offer-matrix th { background: #f8fbff; font-family: var(--font-heading); font-size: .9rem; }
.offer-matrix td { font-size: .93rem; color: var(--text); }
.offer-matrix .btn { white-space: nowrap; }
.offer-matrix-fit { min-width: 860px; }
.offer-matrix-signals { min-width: 840px; }
.offer-matrix-scope th:nth-child(1),
.offer-matrix-scope td:nth-child(1),
.offer-matrix-fit th:nth-child(1),
.offer-matrix-fit td:nth-child(1),
.offer-matrix-signals th:nth-child(1),
.offer-matrix-signals td:nth-child(1) {
  width: 18%;
  font-weight: 700;
}
.offer-matrix-scope th:nth-child(2),
.offer-matrix-scope td:nth-child(2) {
  width: 30%;
}
.offer-matrix-scope th:nth-child(3),
.offer-matrix-scope td:nth-child(3) {
  width: 12%;
  white-space: nowrap;
}
.offer-matrix-scope th:nth-child(4),
.offer-matrix-scope td:nth-child(4) {
  width: 30%;
}
.offer-matrix-scope th:nth-child(5),
.offer-matrix-scope td:nth-child(5),
.offer-matrix-fit th:nth-child(6),
.offer-matrix-fit td:nth-child(6),
.offer-matrix-signals th:nth-child(5),
.offer-matrix-signals td:nth-child(5) {
  width: 10%;
  min-width: 94px;
}
.offer-matrix-fit th:nth-child(2),
.offer-matrix-fit td:nth-child(2) {
  width: 26%;
}
.offer-matrix-fit th:nth-child(3),
.offer-matrix-fit td:nth-child(3),
.offer-matrix-fit th:nth-child(4),
.offer-matrix-fit td:nth-child(4),
.offer-matrix-fit th:nth-child(5),
.offer-matrix-fit td:nth-child(5) {
  width: 15%;
}
.offer-matrix-signals th:nth-child(2),
.offer-matrix-signals td:nth-child(2) {
  width: 16%;
}
.offer-matrix-signals th:nth-child(3),
.offer-matrix-signals td:nth-child(3) {
  width: 34%;
}
.offer-matrix-signals th:nth-child(4),
.offer-matrix-signals td:nth-child(4) {
  width: 22%;
}
.offer-matrix-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9e2ef;
  background: color-mix(in srgb, var(--secondary) 64%, #fff);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: .78rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--text) 84%, #fff);
}
.offer-source-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed color-mix(in srgb, var(--primary) 56%, #9ab0cb);
}
.offer-source-link:hover,
.offer-source-link:focus-visible {
  border-bottom-style: solid;
}

.stacked-offers { display: grid; gap: 12px; }
.stacked-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border: 1px solid #dde5ef;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
}
.stacked-offer h3 { margin: 0 0 6px; font-family: var(--font-heading); }
.stacked-offer p { margin: 0 0 8px; color: var(--muted); line-height: 1.5; }
.stacked-offer-side { display: grid; gap: 10px; justify-items: end; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.detail-grid-compact {
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.9fr);
  align-items: start;
  gap: 12px;
}
.detail-compact-main h2,
.detail-compact-media h2 { margin-top: 0; }
.detail-compact-media {
  display: grid;
  gap: 10px;
}
.detail-compact-media .hero-image {
  min-height: 260px;
}
.detail-fallback {
  min-height: 240px;
  background:
    linear-gradient(
      130deg,
      color-mix(in srgb, var(--surface) 86%, #fff),
      color-mix(in srgb, var(--secondary) 86%, #fff)
    );
  border-radius: 14px;
}
.detail-compact-media .hero-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-media-first .hero { grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); }
.detail-media-first .hero-visual,
.detail-media-first .hero-copy { min-height: 360px; }
.detail-panel {
  background: var(--surface);
  border: 1px solid #dde5ef;
  border-radius: 14px;
  padding: 16px;
}
.detail-panel h2 { margin: 0 0 10px; font-family: var(--font-heading); font-size: 1.2rem; }
.detail-body-block { display: grid; gap: 10px; margin-bottom: 12px; }
.detail-body-block:last-child { margin-bottom: 0; }
.detail-body-block p { margin: 0; color: var(--muted); line-height: 1.6; }
.detail-inline-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dde5ef;
  background: #f7f9fc;
}
.detail-inline-media img { width: 100%; height: auto; display: block; object-fit: cover; }
.page-shell-offer-detail {
  display: grid;
  gap: 12px;
}
.page-shell-offer-detail > .breadcrumb {
  width: min(1120px, 92%);
  margin-inline: auto;
}
.offer-detail-hero:not(.container),
.offer-detail-section:not(.container) {
  width: 100%;
}
.layout-offer-detail-compact .offer-detail-section {
  padding-bottom: 2px;
}
.layout-offer-detail-compact .offer-detail-hero {
  padding-top: 2px;
}
.layout-offer-detail-compact .detail-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}
.layout-offer-detail-compact .offer-proof-kpi-grid,
.layout-offer-detail-compact .offers-kpi-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.layout-offer-detail-panelized .offer-detail-section:not(.offer-detail-hero) {
  background: color-mix(in srgb, var(--surface) 84%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, #dde5ef);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--primary) 8%, transparent);
}
.layout-offer-detail-panelized .offer-detail-section:not(.offer-detail-hero) .offers-kpi-grid,
.layout-offer-detail-panelized .offer-detail-section:not(.offer-detail-hero) .offer-proof-kpi-grid {
  margin-top: 2px;
}
.layout-offer-detail-timeline-flow .offer-detail-section:not(.offer-detail-hero) {
  padding-left: 8px;
}
.layout-offer-detail-timeline-flow .offer-detail-section:not(.offer-detail-hero)::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 22px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 30%, #fff), color-mix(in srgb, var(--accent) 26%, #fff));
  border-radius: 99px;
  opacity: 0.55;
}
.layout-offer-detail-timeline-flow .offer-timeline-flow {
  position: relative;
}
.layout-offer-detail-timeline-flow .offer-timeline-flow li {
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  padding: 12px 12px 12px 18px;
  border-color: color-mix(in srgb, var(--primary) 16%, #dde5ef);
}
.layout-offer-detail-timeline-flow .offer-timeline-flow li strong {
  font-size: 0.98rem;
  min-width: 38px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 15%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 24%, #dde5ef);
}
.offer-proof-point-list,
.offer-proof-flow { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); }
.offer-proof-point-list li { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; }
.offer-proof-point-list strong,
.offer-proof-flow-item { color: var(--primary); font-family: var(--font-heading); }
.offer-proof-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.offer-proof-flow-item {
  text-align: center;
  border: 1px solid #dde5ef;
  background: var(--surface);
  border-radius: 12px;
  padding: 10px;
  line-height: 1.45;
}
.offer-proof-kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.detail-grid-video .video-detail-meta {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.detail-grid-video .video-detail-meta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.detail-grid-video .video-detail-meta a {
  color: var(--primary);
}
.deliverable-list,
.outcome-list { margin: 0; padding-left: 18px; display: grid; gap: 7px; color: var(--muted); }
.deliverable-list li,
.outcome-list li { line-height: 1.5; }
.page-shell-offer-detail .offer-detail-section {
  margin-inline: auto;
}
.page-shell-offer-detail .split.offer-detail-section {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(16px, 1.8vw, 24px);
}
.page-shell-offer-detail .split.offer-detail-section > * {
  min-width: 0;
}
.page-shell-offer-detail .split.offer-detail-section > div > h2 {
  margin: 0 0 10px;
}
.page-shell-offer-detail .split.offer-detail-section > div > p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.58;
  max-width: 66ch;
}
.page-shell-offer-detail .deliverable-list,
.page-shell-offer-detail .outcome-list {
  margin-top: 4px;
  padding-left: 20px;
  gap: 9px;
}
.page-shell-offer-detail .timeline {
  gap: 12px;
  align-content: start;
}
.page-shell-offer-detail .timeline li {
  grid-template-columns: 46px minmax(0, 1fr);
  padding: 12px;
}
.page-shell-offer-detail .timeline span {
  display: block;
  min-width: 0;
}
.page-shell-offer-detail .legal-article {
  padding: clamp(16px, 1.8vw, 24px);
}
.page-shell-offer-detail .seo-internal-links {
  background: var(--surface);
  border: 1px solid var(--border-card, #dde5ef);
  border-radius: var(--radius-card, 16px);
  padding: clamp(16px, 1.8vw, 24px);
}
.page-shell-offer-detail .seo-internal-links h2 {
  margin-top: 0;
}
.page-shell-offer-detail .seo-internal-links p {
  margin: 0 0 10px;
  color: var(--muted);
}
.page-shell-offer-detail .seo-internal-links ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}
.mini-table { width: 100%; border-collapse: collapse; }
.mini-table th,
.mini-table td { padding: 8px 0; border-bottom: 1px solid #edf1f7; text-align: left; vertical-align: top; }
.mini-table th { width: 34%; color: var(--text); font-weight: 700; }

.principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.principle-card {
  background: var(--surface);
  border: 1px solid var(--border-card, #dde5ef);
  border-radius: var(--radius-card, 16px);
  padding: 18px;
  box-shadow: var(--shadow-card, 0 10px 24px rgba(6, 34, 66, 0.05));
}
.principle-no { font-size: .78rem; font-weight: var(--fw-extrabold, 800); color: var(--accent); margin-bottom: 8px; }
.principle-card h3 { margin: 0 0 8px; font-family: var(--font-heading); }
.principle-card p { margin: 0; color: var(--muted); line-height: 1.56; }
.principles-note {
  background: var(--surface);
  border: 1px solid var(--border-card, #dde5ef);
  border-radius: var(--radius-card, 16px);
  padding: 18px;
}
.principles-note h2 { margin: 0 0 12px; font-family: var(--font-heading); }
.insight-list { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }

.form-wrap { background: var(--surface); border: 1px solid var(--border-card, #dde5ef); border-radius: var(--radius-card, 16px); padding: 18px; }
.form-wrap .contact-logo-badge--form.contact-logo-mode-subtle_bar {
  padding: 7px 9px;
  margin-bottom: 14px;
}
.contact-form-shell {
  display: grid;
  gap: 12px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid-compact,
.form-grid-stacked-layout { grid-template-columns: 1fr; }
.form-wrap label { display: block; margin: 0 0 6px; font-weight: var(--fw-bold, 700); font-size: .95rem; }
.form-wrap input, .form-wrap textarea { width: 100%; border: 1px solid #ced8e6; border-radius: var(--radius-input, 10px); padding: 11px 12px; font: inherit; }
.form-wrap textarea { min-height: 130px; resize: vertical; }
.form-wrap .full { grid-column: 1 / -1; }
.form-status { min-height: 22px; color: var(--muted); font-size: .9rem; }
.form-wrap input.is-invalid, .form-wrap textarea.is-invalid { border-color: #cc3a3a; }
.iti { width: 100%; }
.consent-row { margin-top: 2px; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .9rem; color: var(--muted); }
.consent-check input { margin-top: 4px; width: 16px; height: 16px; }
.consent-check a { color: var(--primary); }
.contact-form-inline-note {
  margin: 0;
  background: color-mix(in srgb, var(--surface-alt) 72%, #fff);
  border: 1px solid #dde5ef;
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.4;
}
.contact-form-inline-note p { margin: 0; }
fieldset.form-stack {
  border: 1px solid #d7e1ef;
  border-radius: 12px;
  padding: 12px;
  margin: 0;
}
fieldset.form-stack + fieldset.form-stack { margin-top: 10px; }
.form-stack-grid {
  display: grid;
  gap: 12px;
}
.form-stack legend {
  padding: 0 8px;
  font-weight: 700;
  color: var(--text);
}
.form-stack label {
  display: grid;
  gap: 6px;
}
.form-stack label > input,
.form-stack label > textarea {
  width: 100%;
}
.layout-contact-form-stacked .btn { margin-top: 4px; }

.legal-article { background: var(--surface); border: 1px solid var(--border-card, #dde5ef); border-radius: var(--radius-card, 16px); padding: 18px; line-height: 1.64; color: var(--muted); }
.legal-article h1 { margin: 0 0 10px; color: var(--text); font-family: var(--font-heading); }
.legal-article h2 { margin: 0 0 10px; color: var(--text); font-family: var(--font-heading); font-size: clamp(1.2rem, 2vw, 1.7rem); }
.layout-status .status-code { margin-bottom: 8px; }
.layout-status .status-main { display: grid; gap: 8px; }
.status-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.layout-status .status-notes { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.layout-status .status-notes li:last-child { margin-bottom: 0; }
.layout-status-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  align-items: stretch;
}
.layout-status-split .status-side {
  display: grid;
  gap: 10px;
  place-content: start;
}
.layout-status-split .status-side h2 { margin-bottom: 4px; }
.layout-status-split .status-side .status-helper { color: var(--text); }
.layout-status-compact .status-compact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}
.layout-status-compact .status-compact-subtitle { margin: 0; }
.layout-status-compact .status-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.layout-status-announcement { display: grid; }
.status-announcement-copy {
  display: grid;
  gap: 8px;
}
.status-announcement-grid {
  margin: 12px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.status-announcement-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.03rem;
}
.status-announcement-copy .status-steps {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}
.layout-status-timeline .status-timeline-track {
  margin: 10px 0 8px;
  display: grid;
  gap: 10px;
}
.status-timeline-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: baseline;
  color: var(--muted);
}
.status-timeline-item strong {
  width: 24px;
  text-align: right;
  color: var(--text);
}
.legal-note-list { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--muted); }
.legal-note-list li { line-height: 1.56; }
.layout-legal-note-callout .legal-article { background: linear-gradient(140deg, color-mix(in srgb, var(--surface-alt) 72%, #fff), var(--surface)); }
.legal-note-callout-title {
  margin: 0 0 10px;
  color: var(--text);
  font-weight: 700;
}
.legal-note-callout-grid {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.legal-note-callout-card {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 12px;
  padding: 12px;
}
.legal-note-callout-card h3 {
  margin: 0 0 8px;
  font-size: .95rem;
  color: var(--primary);
}
.legal-note-callout-card p {
  margin: 0;
  line-height: 1.5;
  color: var(--muted);
}
.legal-note-accordion { display: grid; gap: 8px; margin-top: 6px; }
.legal-note-accordion-item {
  border: 1px solid #dde5ef;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}
.legal-note-accordion-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}
.legal-note-accordion-item summary::marker { color: var(--primary); }
.legal-note-accordion-item p { margin: 10px 0 0; line-height: 1.5; }
.legal-profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--secondary) 72%, #fff);
  color: color-mix(in srgb, var(--text) 86%, var(--primary));
  font-size: .82rem;
  font-weight: 700;
}
.legal-intro { display: grid; gap: 8px; margin: 0 0 14px; }
.legal-intro p { margin: 0; }
.legal-metadata {
  border: 1px solid #dde5ef;
  border-radius: 14px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--secondary) 20%, #fff);
  margin: 0 0 14px;
}
.legal-meta-grid { display: grid; gap: 6px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.legal-meta-grid p { margin: 0; }
.legal-meta-line.compact { gap: 0; }
.legal-block { margin: 0 0 14px; }
.legal-meta-layout-cards .legal-meta-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.legal-meta-layout-compact .legal-meta-grid {
  grid-template-columns: 1fr;
  gap: 4px;
}
.legal-meta-layout-compact .legal-meta-line {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 6px 8px 8px;
  background: color-mix(in srgb, var(--surface) 85%, #fff);
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--primary) 14%, #dfebf8);
}
.legal-meta-layout-compact .legal-meta-line strong { display: block; }
.legal-meta-card {
  border: 1px solid color-mix(in srgb, var(--primary) 16%, #dbe6f2);
  border-radius: 12px;
  padding: 10px 12px;
  background: color-mix(in srgb, #fff 92%, var(--surface));
  display: grid;
  gap: 6px;
}
.legal-meta-label { display: inline-block; color: var(--text); font-weight: 700; }
.legal-meta-card .legal-meta-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .25px; color: color-mix(in srgb, var(--primary) 76%, #000); }
.legal-meta-card a,
.legal-meta-card span { color: var(--text); word-break: break-word; }
.legal-block:last-child { margin-bottom: 0; }
.legal-meta-dense .legal-meta-grid { gap: 4px 12px; }
.legal-meta-grid .legal-meta-label { color: var(--text); font-weight: 700; }
.legal-layout-metadata_first .legal-intro { margin-bottom: 12px; }
.legal-layout-chapter_flow .legal-block-lead {
  border: 1px solid color-mix(in srgb, var(--accent) 24%, #d9e4f2);
  background: color-mix(in srgb, var(--surface-alt) 48%, #fff);
  border-radius: 14px;
  padding: 12px 14px;
}
.legal-layout-split_metadata .legal-metadata {
  border-style: dashed;
}

.seo-internal-links {
  background: #fff;
  border: 1px solid #dde5ef;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 20px rgba(6, 34, 66, 0.05);
}
.seo-internal-links h2 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--text);
}
.seo-internal-links p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.5;
}
.seo-internal-links ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
.seo-internal-links li {
  color: var(--muted);
  line-height: 1.45;
}
.seo-internal-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}
.seo-internal-links a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  background: #ffffff;
  border: 1px solid #d8e2ef;
  border-radius: var(--radius-card, 14px);
  box-shadow: var(--shadow-elevated, 0 18px 36px rgba(5, 25, 46, .16));
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  pointer-events: auto;
}
.layout-cookie-banner-inline,
.layout-cookie-banner-tight {
  width: calc(100% - 32px);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-copy { display: grid; gap: 4px; min-width: 0; }
.cookie-copy strong { font-size: .92rem; line-height: 1.2; color: var(--text); }
.cookie-banner p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-inline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  width: 100%;
  align-items: start;
}
.cookie-inline-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.cookie-inline-copy p { margin: 0; }
.cookie-inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-tight-layout {
  display: grid;
  gap: 10px;
  width: 100%;
}
.cookie-tight-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-tight-actions .btn-small {
  min-width: 0;
  padding: 8px 12px;
  border-radius: 999px;
}
.cookie-split .cookie-actions .btn { min-width: 124px; justify-content: center; }
.cookie-compact { max-width: min(760px, calc(100vw - 32px)); margin: 0 auto; right: auto; }
.cookie-compact .cookie-actions .btn { padding: 10px 12px; border-radius: 999px; }
.cookie-minimal { background: color-mix(in srgb, #ffffff 92%, var(--secondary)); border-style: dashed; }
.cookie-minimal .cookie-copy strong { font-weight: 700; letter-spacing: .1px; }
.layout-cookie-banner-inline .cookie-inline-layout .cookie-inline-copy p { max-width: min(58ch, 100%); }
.layout-cookie-banner-tight .cookie-tight-layout {
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
.layout-cookie-banner-tight .cookie-tight-actions {
  width: 100%;
}
body.cookie-banner-visible {
  /* CL-05 + §J33-FIX: use measured banner height for accurate safe-area */
  padding-bottom: calc(var(--cookie-banner-height, 86px) + 16px + env(safe-area-inset-bottom, 0px));
}
body.cookie-banner-visible .site-footer {
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}
body.cookie-banner-visible .toast-zone {
  bottom: calc(var(--cookie-banner-height, 86px) + 24px);
}
/* CL-05 + §J33-FIX: FAQ guard spacing uses measured banner height */
body.cookie-banner-visible .module-faq {
  padding-bottom: calc(var(--cookie-banner-height, 86px) * 0.65);
}
body.cookie-banner-visible .module-faq .faq-item:last-child {
  margin-bottom: 24px;
}

.toast-zone {
  position: fixed;
  right: 16px;
  bottom: 86px;
  z-index: 95;
  display: grid;
  gap: 8px;
}
.toast-item {
  background: #ffffff;
  border: 1px solid #d8e2ef;
  border-radius: 12px;
  padding: 10px 12px;
  min-width: 220px;
  box-shadow: 0 12px 24px rgba(0, 19, 38, .14);
  color: var(--text);
  font-size: .9rem;
}
.toast-item.toast-error { border-color: #d95b5b; }
.toast-item.toast-success { border-color: #4ca46a; }

.site-footer { margin-top: 34px; padding: 26px 0 18px; border-top: 1px solid #d9e3ef; background: color-mix(in srgb, white 88%, var(--secondary)); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.footer-brand { font-family: var(--font-heading); font-weight: var(--fw-extrabold, 800); }
.footer-tagline { margin: 4px 0 0; color: var(--muted); }
.footer-brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--primary) 16%, #dbe5f0);
  background: color-mix(in srgb, #fff 86%, var(--secondary));
}
.footer-brand-logo {
  --footer-logo-h: 42px;
  --footer-logo-max-w: 168px;
  width: auto;
  min-width: var(--footer-logo-h);
  max-width: var(--footer-logo-max-w);
  height: var(--footer-logo-h);
  border-radius: 9px;
  object-fit: contain;
  object-position: center;
  border: 1px solid color-mix(in srgb, var(--primary) 14%, #dbe5f0);
  background: #fff;
}
.footer-logo-mode-none .footer-brand-logo-wrap { display: none; }
.footer-logo-mode-chip .footer-brand-logo-wrap {
  border-radius: 999px;
  padding: 4px 6px;
}
.footer-logo-mode-stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-logo-mode-stacked.footer-logo-position-after-tagline {
  align-items: flex-end;
}
.footer-logo-mode-badge .footer-brand-logo-wrap {
  border-radius: 999px;
  border-color: color-mix(in srgb, var(--primary) 24%, #dbe5f0);
  box-shadow: 0 10px 18px rgba(7, 24, 52, 0.1);
}
.footer-logo-scale-xs .footer-brand-logo { --footer-logo-h: 28px; --footer-logo-max-w: 112px; border-radius: 7px; }
.footer-logo-scale-sm .footer-brand-logo { --footer-logo-h: 36px; --footer-logo-max-w: 144px; border-radius: 9px; }
.footer-logo-scale-md .footer-brand-logo { --footer-logo-h: 46px; --footer-logo-max-w: 184px; border-radius: 10px; }
.footer-logo-scale-lg .footer-brand-logo { --footer-logo-h: 56px; --footer-logo-max-w: 224px; border-radius: 12px; }
.footer-logo-scale-xl .footer-brand-logo { --footer-logo-h: 68px; --footer-logo-max-w: 272px; border-radius: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-link-clusters { width: min(100%, 460px); display: grid; gap: 10px; }
.footer-links-label {
  display: inline-flex;
  font-size: .78rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 72%, var(--muted));
  font-weight: 700;
  margin-right: 8px;
}
.footer-links-primary,
.footer-links-legal { width: 100%; }
.footer-link-clusters-split .footer-links-primary { border-bottom: 1px dashed color-mix(in srgb, var(--primary) 16%, transparent); padding-bottom: 6px; }
.footer-link-clusters-split .footer-links-legal { gap: 10px; }
.footer-link-clusters-rail .footer-links-legal {
  border-top: 1px solid color-mix(in srgb, var(--primary) 14%, transparent);
  padding-top: 8px;
  gap: 10px;
}
.footer-link-clusters-stacked {
  width: min(100%, 620px);
  display: grid;
  gap: 12px;
}
.footer-link-clusters-stacked .footer-links {
  width: 100%;
  align-items: center;
}
.footer-links-stacked .footer-link-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-link-clusters-clustered {
  width: min(100%, 620px);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
}
.footer-link-clustered {
  border: 1px solid #dce4ee;
  border-radius: 999px;
  padding: 8px 10px;
  text-align: center;
  background: #fff;
  transition: transform .2s ease, border-color .2s ease;
}
.footer-link-clustered:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary) 30%, #dce4ee);
}
.footer-link-clustered-legal {
  border-color: color-mix(in srgb, var(--accent) 35%, #dce4ee);
  background: color-mix(in srgb, var(--secondary) 42%, #fff);
}
.footer-links-tight {
  gap: 8px;
}
.footer-links-tight a {
  padding: 6px 10px;
  border: 1px solid #dce4ee;
  border-radius: 999px;
  background: #fff;
  line-height: 1.3;
}
.footer-copy { color: #7f8b9b; font-size: .9rem; margin-top: 8px; }
.footer-shell-inline .footer-copy {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed color-mix(in srgb, var(--primary) 16%, transparent);
}
.footer-shell-grid .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 1fr);
  align-items: start;
}
.footer-shell-grid .footer-links {
  width: 100%;
  align-items: flex-start;
  justify-content: flex-end;
}
.footer-shell-grid .footer-copy {
  margin-top: 12px;
}
.footer-shell-stack .footer-grid {
  display: grid;
  gap: 14px;
  align-items: stretch;
}
.footer-shell-stack .footer-links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.footer-shell-stack .footer-copy {
  border-top: 1px solid color-mix(in srgb, var(--primary) 16%, transparent);
  padding-top: 8px;
}
.footer-shell-rich {
  background: linear-gradient(180deg, color-mix(in srgb, var(--secondary) 30%, #fff), color-mix(in srgb, var(--surface-alt) 55%, #fff));
  border: 1px solid color-mix(in srgb, var(--primary) 12%, #dce6f2);
  border-top: 1px solid color-mix(in srgb, var(--primary) 20%, #dce6f2);
  border-radius: 20px 20px 0 0;
  margin-top: 30px;
  margin-bottom: 0;
  width: min(100%, 100%);
}
.footer-shell-rich .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(210px, 1fr);
  align-items: start;
  gap: 16px;
}
.footer-shell-rich .footer-tagline {
  max-width: 58ch;
}
.footer-shell-rich .footer-links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.footer-shell-rich .footer-copy {
  border-top: 1px dashed color-mix(in srgb, var(--primary) 16%, transparent);
  padding-top: 10px;
}
.footer-shell-compact {
  padding: 14px 0;
}
.footer-shell-compact .footer-grid {
  gap: 8px;
}
.footer-shell-compact .footer-brand {
  font-size: 1rem;
}
.footer-shell-compact .footer-tagline {
  font-size: .88rem;
}
.footer-shell-compact .footer-links {
  gap: 8px;
}
.footer-shell-compact .footer-links a {
  font-size: .84rem;
}
.footer-shell-lane {
  border-top-width: 2px;
  background: linear-gradient(175deg, color-mix(in srgb, var(--surface) 82%, #fff), color-mix(in srgb, var(--secondary) 72%, #fff));
}
.footer-shell-lane .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 1fr);
  align-items: start;
  gap: 16px;
}
.footer-shell-lane .footer-links {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}
.footer-shell-lane .footer-copy {
  border-top: 1px dashed color-mix(in srgb, var(--primary) 16%, transparent);
  padding-top: 10px;
}
.footer-shell-panel {
  margin-top: 30px;
  padding: 20px 0 18px;
  border-top: 1px solid color-mix(in srgb, var(--primary) 18%, #dce5f0);
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--secondary) 40%, #fff), color-mix(in srgb, var(--surface-alt) 62%, #fff));
}
.footer-shell-panel .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 1fr);
  align-items: start;
  gap: 16px;
}
.footer-shell-panel .footer-links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.footer-shell-panel .footer-copy {
  border-top: 1px dashed color-mix(in srgb, var(--primary) 16%, transparent);
  padding-top: 8px;
}

.footer-shell-layout-default .footer-grid-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-shell-layout-split .footer-grid-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-shell-layout-split .footer-brand-shell-split {
  width: 100%;
}
.footer-shell-layout-split .footer-links {
  width: 100%;
}
.footer-shell-layout-grid .footer-grid-shell,
.footer-shell-layout-grid .footer-brand-shell-grid {
  display: grid;
}
.footer-shell-layout-grid .footer-grid-shell {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 1.1fr);
  align-items: start;
  gap: 16px;
}
.footer-shell-layout-grid .footer-brand-shell-grid .footer-brand-wrap {
  width: min(100%, 420px);
}
.footer-shell-layout-grid .footer-grid-shell-links {
  width: min(100%, 620px);
  justify-self: end;
}
.footer-shell-layout-panel .footer-grid-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 1.2fr);
  align-items: start;
  gap: 14px;
}
.footer-shell-layout-panel .footer-brand-shell-panel {
  position: relative;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--primary) 16%, #dce6f0);
  background: color-mix(in srgb, #fff 80%, var(--secondary));
}
.footer-shell-layout-panel .footer-links-shell-panel {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--primary) 16%, #dce6f0);
  border-radius: 12px;
  padding: 10px 12px;
}

@media (max-width: 920px) {
  .footer-shell-layout-grid .footer-grid-shell,
  .footer-shell-layout-panel .footer-grid-shell {
    grid-template-columns: 1fr;
  }
  .footer-shell-layout-grid .footer-grid-shell-links,
  .footer-shell-layout-grid .footer-brand-shell-grid .footer-brand-wrap,
  .footer-shell-layout-panel .footer-brand-shell-panel,
  .footer-shell-layout-panel .footer-links-shell-panel {
    width: 100%;
  }
}

.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
html.js .reveal.revealed { opacity: 1; transform: translateY(0); }

.hero.hero-centered { grid-template-columns: 1fr; text-align: center; }
.hero.hero-centered .hero-copy { max-width: 860px; margin: 0 auto; }
.hero.hero-centered .hero-actions { justify-content: center; }

.hero.hero-editorial { grid-template-columns: 1fr 1fr; }
.hero.hero-editorial .hero-copy h1 { font-size: clamp(2rem, 3.2vw, 3.25rem); letter-spacing: .2px; }

.services-grid-stacked { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services-list { display: grid; gap: 12px; }
.service-line { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding: 14px; border: 1px solid #dbe5f0; border-radius: 14px; background: #fff; }
.service-line h3 { margin: 0 0 7px; font-family: var(--font-heading); }
.service-line p { margin: 0; color: var(--muted); line-height: 1.55; }
.services-roadmap {
  display: grid;
  gap: 12px;
  position: relative;
}
.module-process .services-roadmap { margin-top: 0; }
.services-roadmap::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: color-mix(in srgb, var(--primary) 36%, #d9e4f1);
}
.road-service {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 14px;
  padding: 12px;
}
.road-service-badge {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .76rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  z-index: 1;
}
.road-service-body h3 { margin: 0 0 6px; font-family: var(--font-heading); }
.road-service-body p { margin: 0; color: var(--muted); line-height: 1.55; }
.services-roadmap-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.services-roadmap-steps::before { display: none; }

.roadmap { display: grid; gap: 10px; }
.road-item { border: 1px solid #dce5ef; background: #fff; border-radius: 12px; padding: 10px 12px; }
.road-item span { display: block; font-weight: 700; font-family: var(--font-heading); margin-bottom: 2px; }
.road-item small { color: var(--muted); }

.layout-process-compact .process-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.layout-process-compact .process-compact-grid .service-card {
  min-height: 190px;
}
.layout-process-roadmap .roadmap {
  margin-top: 10px;
}
.layout-process-timeline .timeline {
  margin: 0;
}

.offers-grid-featured .offer-card { border-width: 2px; }
.offers-grid-featured .offer-card:nth-child(2) { transform: translateY(-6px); }
.offers-layout-highlight .offer-card { transition: transform .25s ease, box-shadow .25s ease; }
.offers-layout-highlight .offer-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(4, 24, 57, 0.14); }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.layout-insights-list .insight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.insight-card {
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-alt) 54%, #fff));
  padding: 14px;
  box-shadow: 0 8px 20px rgba(8, 32, 60, 0.05);
}
.insight-item {
  margin: 0;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-alt) 54%, #fff));
  padding: 14px;
  box-shadow: 0 8px 20px rgba(8, 32, 60, 0.05);
}
.layout-insights-highlight .insight-highlight-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.layout-insights-highlight .insight-highlight {
  margin: 0;
}
.layout-insights-highlight .insight-highlight-main {
  grid-column: span 2;
}
.layout-insights-highlight .insight-highlight-main h3,
.layout-insights-highlight .insight-highlight-main .insight-card h3 {
  font-size: 1.12rem;
}
.insight-meta {
  margin: 0 0 6px;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .25px;
  color: color-mix(in srgb, var(--accent) 82%, #623c1c);
}
.insight-card h3 {
  margin: 0 0 7px;
  font-size: 1.03rem;
  font-family: var(--font-heading);
}
.insight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.stats-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.layout-stats-inline .stats-inline,
.layout-stats-bars .stats-bar-list {
  display: grid;
  gap: 10px;
}
.layout-stats-inline .stats-inline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stats-inline-item {
  border: 1px solid #dce5ef;
  border-radius: 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 84%, #fff), color-mix(in srgb, var(--surface-alt) 68%, #fff));
  padding: 12px;
}
.stats-inline-value {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
}
.stats-inline-item h3 {
  margin: 0 0 6px;
  font-size: .95rem;
}
.stats-inline-item p {
  margin: 0;
  color: var(--muted);
}
.stats-bar-list {
  gap: 12px;
}
.stats-bar-row {
  border: 1px solid #dce5ef;
  border-radius: 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 84%, #fff), color-mix(in srgb, var(--surface-alt) 68%, #fff));
  padding: 12px;
}
.stats-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.stats-bar-head span { font-weight: 700; color: var(--text); }
.stats-bar-head strong {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}
.stats-bar-row p {
  margin: 0 0 10px;
  color: var(--muted);
}
.stats-bar-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #ecf3fa;
  border: 1px solid #dce5ef;
  overflow: hidden;
}
.stats-bar-fill {
  height: 100%;
  width: var(--bar-value, 30%);
  min-width: 2px;
  max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width .35s ease;
}
.stats-chip {
  border: 1px solid #dce5ef;
  border-radius: 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 84%, #fff), color-mix(in srgb, var(--surface-alt) 68%, #fff));
  padding: 12px;
}
.stats-chip strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.28rem;
  color: var(--primary);
}
.stats-chip h3 {
  margin: 5px 0;
  font-size: .95rem;
}
.stats-chip p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.carousel-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 16px;
}
.carousel-track {
  display: flex;
  transition: transform .35s ease;
}
.carousel-slide {
  min-width: 100%;
  border: 1px solid #dbe4ef;
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(6, 34, 66, 0.06);
}
.carousel-meta {
  margin: 0 0 6px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .2px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent2) 75%, #654321);
}
.carousel-slide h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
}
.carousel-slide blockquote {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-left: 3px solid color-mix(in srgb, var(--primary) 45%, #dbe4ef);
  background: color-mix(in srgb, var(--secondary) 62%, #fff);
  color: var(--text);
}
.carousel-slide p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

.layout-carousel-stack .carousel-slide {
  display: grid;
  align-content: start;
}
.layout-carousel-stack .carousel-track {
  display: grid;
  gap: 12px;
  transform: none !important;
}
.layout-carousel-stack .carousel-viewport {
  overflow: visible;
}
.layout-carousel-stack .carousel-nav,
.layout-carousel-stack .carousel-dots {
  display: none;
}

.layout-carousel-cards .carousel-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.layout-carousel-cards .carousel-card {
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-alt) 48%, #fff));
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(8, 32, 60, 0.05);
  display: grid;
  gap: 8px;
}
.layout-carousel-cards .carousel-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}
.layout-carousel-cards .carousel-card blockquote {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid color-mix(in srgb, var(--primary) 45%, #dbe4ef);
  background: color-mix(in srgb, var(--secondary) 62%, #fff);
  color: var(--text);
}
.layout-carousel-cards .carousel-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}
.carousel-nav {
  border: 1px solid #d9e2ed;
  background: var(--surface);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #b7c4d6;
  background: #fff;
  padding: 0;
  cursor: pointer;
}
.carousel-dot.is-active {
  background: var(--primary);
  border-color: var(--primary);
}

.calc-card {
  border: 1px solid #dce5ef;
  border-radius: 16px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--surface) 92%, #fff), color-mix(in srgb, var(--surface-alt) 74%, #fff));
  padding: 16px;
}
.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.calc-grid label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  color: var(--text);
  font-size: .9rem;
}
.calc-grid input[type='range'] {
  width: 100%;
}
.calc-grid input[type='number'],
.calc-grid input[type='text'],
.calc-grid select {
  width: clamp(136px, 72%, 220px);
  border: 1px solid #ced8e6;
  border-radius: 10px;
  padding: 10px 11px;
  font: inherit;
  background: #fff;
  justify-self: start;
}
.calc-checklist-wrap {
  gap: 8px;
}
.calc-checklist {
  display: grid;
  gap: 6px;
  border: 1px solid #dbe5f0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--secondary) 72%, #fff);
  padding: 9px 10px;
}
.calc-checklist label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
}
.calc-checklist input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin: 0;
}
.calc-timeline {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}
.calc-chart-row {
  display: grid;
  grid-template-columns: minmax(72px, 110px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.calc-chart-label {
  font-weight: 700;
  color: var(--text);
  font-size: .84rem;
}
.calc-chart-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--secondary) 76%, #fff);
  overflow: hidden;
}
.calc-chart-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--accent) 72%, #fff));
  transition: width .24s ease;
}
.calc-chart-value {
  font-size: .8rem;
  color: var(--muted);
  min-width: 56px;
  text-align: right;
}
.calc-feature-hint {
  margin-top: 10px;
  border: 1px solid #dbe5f0;
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: .84rem;
  background: color-mix(in srgb, var(--secondary) 72%, #fff);
}
.calc-result {
  margin-top: 10px;
  border: 1px dashed #cedaea;
  border-radius: 12px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--secondary) 64%, #fff);
}
.calc-result p {
  margin: 0;
}
.calc-result strong {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  color: var(--primary);
}
.calc-meta {
  margin-top: 4px !important;
  color: var(--muted);
  font-size: .88rem;
}

.template-bosphorus-glass .service-card,
.template-bosphorus-glass .offer-card,
.template-bosphorus-glass .legal-article {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
}

.template-aegean-editorial .hero {
  border-bottom: 1px solid #e6e2d7;
  padding-bottom: 26px;
}
.template-aegean-editorial .service-card h3,
.template-aegean-editorial .legal-article h1 {
  letter-spacing: .2px;
}

.template-cappadocia-tech .btn-primary {
  box-shadow: 0 10px 28px rgba(22, 49, 128, .26);
}

.template-marmara-corporate .topbar {
  background: color-mix(in srgb, white 92%, var(--secondary));
}
.template-marmara-corporate .service-card {
  border-radius: 14px;
}

.template-ankara-consulting .section-head p {
  max-width: 72ch;
}
.template-ankara-consulting .legal-article {
  border-left: 4px solid color-mix(in srgb, var(--accent) 55%, white);
}

.template-izmir-creative-studio .hero-image {
  filter: saturate(1.08) contrast(1.02);
}
.template-izmir-creative-studio .service-line,
.template-izmir-creative-studio .service-card {
  border-color: color-mix(in srgb, var(--primary) 24%, #dfd5e5);
}

.template-antalya-lifestyle .hero {
  gap: 26px;
}
.template-antalya-lifestyle .offer-card {
  border-color: color-mix(in srgb, var(--accent) 28%, #dce5f0);
}

.template-cyber-ops-grid .btn-primary {
  box-shadow: 0 12px 24px rgba(40, 71, 176, .24);
}
.template-cyber-ops-grid .service-card {
  background: linear-gradient(170deg, color-mix(in srgb, var(--secondary) 70%, #fff), #fff);
}

.template-retro-play-lab .hero {
  border: 1px solid color-mix(in srgb, var(--accent) 30%, #d9deef);
  border-radius: 22px;
  padding: 28px;
}
.template-retro-play-lab .service-index {
  color: color-mix(in srgb, var(--accent) 78%, #000);
}

.template-clean-seo-focus .section {
  margin-top: 22px;
}
.template-clean-seo-focus .services-list .service-line {
  background: color-mix(in srgb, var(--secondary) 55%, #fff);
}

.template-blacksea-minimal .section,
.template-blacksea-minimal .site-footer {
  border-top-color: #dbe2ed;
}

.template-sultanahmet-classic .hero {
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 26%, #e6dfd0);
}
.template-sultanahmet-classic .service-card,
.template-sultanahmet-classic .legal-article {
  border-color: color-mix(in srgb, var(--accent) 26%, #dde5ef);
}

.template-iznik-retail-grid .offer-card {
  border-width: 2px;
}
.template-iznik-retail-grid .btn-primary {
  box-shadow: 0 10px 24px rgba(24, 69, 140, .24);
}

.template-pamukkale-education .timeline li {
  background: color-mix(in srgb, var(--secondary) 68%, #fff);
}
.template-pamukkale-education .service-card h3 {
  letter-spacing: .1px;
}

.template-kapadokya-wellness .hero-visual {
  border-radius: 28px;
}
.template-kapadokya-wellness .service-card {
  border-color: color-mix(in srgb, var(--accent) 24%, #dce5f0);
}

.template-golden-horn-commerce .topbar {
  background: color-mix(in srgb, white 88%, var(--secondary));
}
.template-golden-horn-commerce .service-card {
  background: linear-gradient(170deg, color-mix(in srgb, var(--secondary) 74%, #fff), #fff);
}

.template-lycian-hospitality .hero-image {
  filter: saturate(1.06) contrast(1.03);
}
.template-lycian-hospitality .offer-meta {
  color: color-mix(in srgb, var(--accent) 78%, #6a3f22);
}

.template-galata-studio-bold .hero {
  border: 1px solid color-mix(in srgb, var(--primary) 22%, #d9deef);
  border-radius: 20px;
  padding: 22px;
}
.template-galata-studio-bold .btn-primary {
  box-shadow: 0 12px 24px rgba(71, 47, 110, .26);
}

.template-trabzon-industrial .services-list .service-line,
.template-trabzon-industrial .service-card {
  border-color: color-mix(in srgb, var(--primary) 28%, #d6e0ea);
}
.template-trabzon-industrial .section-head p {
  max-width: 74ch;
}

.variant-atmospheric .service-card,
.variant-atmospheric .offer-card,
.variant-atmospheric .legal-article {
  box-shadow: 0 16px 32px rgba(8, 28, 52, 0.08);
}
.variant-crisp .service-card,
.variant-crisp .offer-card {
  border-width: 2px;
  border-color: color-mix(in srgb, var(--primary) 24%, #d7e1ef);
}
.variant-soft .topbar {
  background: color-mix(in srgb, white 88%, var(--secondary));
}
.variant-soft .btn-primary {
  border-radius: 999px;
}
.variant-contrast .site-shell {
  background:
    radial-gradient(1200px 520px at 0% -15%, color-mix(in srgb, var(--primary) 20%, transparent), transparent),
    linear-gradient(180deg, #f5f8ff 0%, #ffffff 52%, color-mix(in srgb, var(--secondary) 80%, #fff) 100%);
}
.variant-editorial .hero h1 {
  letter-spacing: .2px;
}
.variant-editorial .section-head p {
  max-width: 70ch;
}

.bg-grid {
  background-image:
    radial-gradient(1200px 540px at -10% -24%, color-mix(in srgb, var(--gradient-a) 14%, transparent), transparent),
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 8%, transparent) 1px, transparent 1px),
    linear-gradient(0deg, color-mix(in srgb, var(--primary) 8%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-alt) 70%, #fff), var(--surface));
  background-size: auto, 36px 36px, 36px 36px, auto;
}
.bg-mesh {
  background-image:
    radial-gradient(900px 450px at 6% -16%, color-mix(in srgb, var(--gradient-a) 18%, transparent), transparent),
    radial-gradient(900px 470px at 100% -20%, color-mix(in srgb, var(--gradient-b) 16%, transparent), transparent),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-alt) 64%, #fff), var(--surface));
}
.bg-paper {
  background-image:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-alt) 72%, #fff), var(--surface)),
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--primary) 5%, transparent), transparent 30%);
}
.bg-grain {
  background-image:
    radial-gradient(1200px 540px at 0% -22%, color-mix(in srgb, var(--gradient-a) 16%, transparent), transparent),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-alt) 68%, #fff), var(--surface)),
    radial-gradient(circle at 20% 10%, rgba(0, 0, 0, 0.03) 0.6px, transparent 0.7px);
  background-size: auto, auto, 3px 3px;
}
.bg-spotlight {
  background-image:
    radial-gradient(900px 500px at 16% -8%, color-mix(in srgb, var(--gradient-a) 18%, transparent), transparent),
    radial-gradient(760px 420px at 84% -12%, color-mix(in srgb, var(--gradient-b) 18%, transparent), transparent),
    linear-gradient(180deg, color-mix(in srgb, var(--surface-alt) 66%, #fff), var(--surface));
}
.gradient-sunrise { --gradient-a: #295bb3; --gradient-b: #ff7f50; }
.gradient-ocean { --gradient-a: #0f5f83; --gradient-b: #3ec3de; }
.gradient-forest { --gradient-a: #1f6958; --gradient-b: #d39a52; }
.gradient-copper { --gradient-a: #5a3d84; --gradient-b: #d98b52; }
.gradient-ink { --gradient-a: #24304e; --gradient-b: #5f79d8; }
.gradient-ember { --gradient-a: #8f3128; --gradient-b: #f7a24a; }
.gradient-mint { --gradient-a: #0f7866; --gradient-b: #6fd8b2; }
.palette-vivid { --accent: #ff6f3c; --accent-2: #ffc145; }
.palette-pastel { --accent: #f4a3b8; --accent-2: #b7a7ff; }
.palette-earth { --accent: #d8894a; --accent-2: #7b9966; }
.palette-neo { --accent: #4fb1ff; --accent-2: #7b61ff; }
.palette-solar { --accent: #ff9a3c; --accent-2: #ff4f63; }
.palette-mono { --accent: #4f637a; --accent-2: #2b3342; }
.surface-flat {
  --surface: color-mix(in srgb, var(--secondary) 94%, #fff);
  --surface-alt: color-mix(in srgb, var(--secondary) 78%, #fff);
  --border-card: color-mix(in srgb, var(--primary) 8%, rgba(255, 255, 255, 0.42));
  --shadow-card: 0 10px 24px rgba(6, 34, 66, 0.04);
  --shadow-hover: 0 14px 26px rgba(6, 34, 66, 0.08);
}
.surface-glass {
  --surface: color-mix(in srgb, var(--surface) 88%, rgba(255, 255, 255, 0.78));
  --surface-alt: color-mix(in srgb, var(--surface-alt) 78%, var(--surface));
}
.surface-editorial {
  --surface: #f9f7f1;
  --surface-alt: #ede7db;
}
.surface-structured {
  --surface: color-mix(in srgb, var(--surface) 92%, #f3f7ff);
  --surface-alt: color-mix(in srgb, var(--secondary) 80%, #f5f8ff);
}
.surface-asymmetry {
  --surface: color-mix(in srgb, var(--secondary) 90%, #fff);
  --surface-alt: color-mix(in srgb, var(--accent) 20%, var(--surface));
}
.surface-layered {
  --surface: color-mix(in srgb, var(--surface) 90%, #fff);
  --surface-alt: color-mix(in srgb, var(--secondary) 62%, #f8fbff);
}
.surface-canvas {
  --surface: #f7f4ef;
  --surface-alt: #ece6db;
}

@keyframes orbDrift {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(10px, -12px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
@keyframes cardPulse {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}
@keyframes glideLift {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}
@keyframes focusPulse {
  0% { box-shadow: 0 8px 20px rgba(6, 34, 66, 0.05); }
  50% { box-shadow: 0 14px 26px rgba(6, 34, 66, 0.16); }
  100% { box-shadow: 0 8px 20px rgba(6, 34, 66, 0.05); }
}
.motion-drift .bg-orb { animation: orbDrift 16s ease-in-out infinite; }
.motion-pulse .service-card,
.motion-pulse .offer-card,
.motion-pulse .principle-card,
.motion-pulse .eng-card {
  animation: cardPulse 6s ease-in-out infinite;
}
.motion-glide .module-shell {
  transition: transform .35s ease;
}
.motion-glide .module-shell:hover {
  transform: translateY(-4px);
}
.motion-glide .hero-visual,
.motion-glide .eng-card {
  animation: glideLift 7s ease-in-out infinite;
}
.motion-focus .btn-primary,
.motion-focus .eng-card,
.motion-focus .offer-card {
  animation: focusPulse 6.5s ease-in-out infinite;
}
.motion-calm .bg-orb,
.motion-calm .service-card,
.motion-calm .offer-card,
.motion-calm .eng-card {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .motion-drift .bg-orb,
  .motion-pulse .service-card,
  .motion-pulse .offer-card,
  .motion-pulse .principle-card,
  .motion-pulse .eng-card,
  .motion-glide .hero-visual,
  .motion-glide .eng-card,
  .motion-focus .btn-primary,
  .motion-focus .eng-card,
  .motion-focus .offer-card {
    animation: none !important;
  }
}

.nav-pill .menu-link.is-active {
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(8, 34, 74, 0.2);
}
.nav-underline .menu-link {
  border-radius: 0;
  border-bottom: 2px solid transparent;
}
.nav-underline .menu-link:hover {
  background: transparent;
  border-bottom-color: color-mix(in srgb, var(--primary) 36%, #fff);
}
.nav-underline .menu-link.is-active {
  background: transparent;
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.nav-minimal .menu-link {
  background: transparent;
  border: 1px solid transparent;
}
.nav-minimal .menu-link.is-active {
  color: var(--text);
  background: color-mix(in srgb, var(--secondary) 72%, #fff);
  border-color: color-mix(in srgb, var(--primary) 22%, #dbe5f0);
}
.nav-chip .menu {
  gap: 10px;
}
.nav-chip .menu-link {
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary) 14%, transparent);
  background: color-mix(in srgb, var(--secondary) 66%, #fff);
  padding: 8px 12px;
}
.nav-chip .menu-link:hover {
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  color: var(--text);
}
.nav-chip .menu-link.is-active {
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 72%, #000));
  color: #fff;
  box-shadow: 0 10px 22px rgba(8, 34, 74, 0.2);
}
.nav-rail .topbar {
  backdrop-filter: blur(16px);
}
.nav-rail .menu {
  background: color-mix(in srgb, white 92%, var(--secondary));
  border: 1px solid color-mix(in srgb, var(--primary) 14%, #dbe5f0);
  border-radius: 12px;
  padding: 6px;
  gap: 6px;
}
.nav-rail .menu-link {
  border-radius: 10px;
  padding: 8px 11px;
}
.nav-rail .menu-link.is-active {
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 75%, #001));
  color: #fff;
}
.nav-segment .menu {
  background: color-mix(in srgb, var(--secondary) 36%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 14%, #dbe5f0);
  border-radius: 12px;
  padding: 5px;
  gap: 5px;
}
.nav-segment .menu-link {
  border-radius: 9px;
  min-width: 90px;
  justify-content: center;
  text-align: center;
}
.nav-segment .menu-link:hover {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}
.nav-segment .menu-link.is-active {
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 72%, #001));
  color: #fff;
}
.nav-floating .topbar {
  padding-bottom: 6px;
}
.nav-floating .menu {
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, #fff 90%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 12%, #dbe5f0);
  border-radius: 999px;
  padding: 7px 9px;
  box-shadow: 0 16px 34px rgba(4, 18, 46, 0.08);
}
.nav-floating .menu-link {
  border-radius: 999px;
  padding-inline: 13px;
}
.nav-floating .menu-link.is-active {
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 72%, #001));
  color: #fff;
}
.nav-glass .menu {
  gap: 10px;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, #fff 84%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 13%, #dbe5f0);
  border-radius: 18px;
  padding: 8px 10px;
  box-shadow: 0 16px 30px rgba(8, 24, 59, 0.1);
}
.nav-glass .menu-link {
  border-radius: 999px;
  padding-inline: 12px;
  background: color-mix(in srgb, var(--secondary) 74%, #fff);
}
.nav-glass .menu-link:hover {
  background: color-mix(in srgb, var(--primary) 14%, #fff);
}
.nav-glass .menu-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 76%, #000));
  box-shadow: 0 10px 20px rgba(10, 28, 60, 0.2);
}
.nav-pillslot .menu {
  background: color-mix(in srgb, var(--secondary) 54%, #fff);
  border: 1px solid color-mix(in srgb, var(--primary) 16%, #dce5f0);
  border-radius: 12px;
  padding: 5px;
  gap: 4px;
}
.nav-pillslot .menu-link {
  min-width: 96px;
  justify-content: center;
  text-align: center;
  border-radius: 8px;
}
.nav-pillslot .menu-link.is-active {
  background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 78%, #001));
  color: #fff;
}
.nav-pillslot .menu-link + .menu-link {
  border-left: 1px solid color-mix(in srgb, var(--primary) 12%, #dce5f0);
}

.header-compact .brand-logo {
  --brand-logo-h: 36px;
  --brand-logo-max-w: 112px;
}
/* §FIX-1: header-balanced — intentional neutral styling for standard/business/seo sites.
   Previously missing entirely; the most frequently selected header variant rendered
   with inherited-only styles. */
.header-balanced .topbar {
  background: color-mix(in srgb, #fff 96%, var(--surface));
  border-bottom-color: color-mix(in srgb, var(--primary) 14%, #dce5f0);
}
.header-balanced .topbar-inner {
  min-height: 72px;
}
.header-balanced .brand-logo {
  --brand-logo-h: 40px;
  --brand-logo-max-w: 140px;
  border-color: color-mix(in srgb, var(--primary) 16%, #e3ecf5);
}
.header-balanced .menu-link {
  font-size: .92rem;
  padding: 8px 12px;
}
.header-balanced .menu-link.is-active {
  box-shadow: 0 4px 10px rgba(6, 27, 56, 0.08);
}
.header-compact .menu-link {
  padding: 7px 9px;
}
.header-wide .topbar-inner {
  min-height: 78px;
}
.header-shell-glass .topbar {
  background: color-mix(in srgb, white 74%, transparent);
  border-bottom-color: color-mix(in srgb, var(--primary) 22%, #d9e4ef);
  backdrop-filter: blur(14px);
}
.header-shell-glass .brand-logo {
  border-color: color-mix(in srgb, var(--primary) 24%, #fff);
  box-shadow: 0 8px 22px rgba(6, 42, 94, 0.12);
}
.header-shell-minimal .brand {
  gap: 8px;
}
.header-shell-minimal .topbar-inner {
  min-height: 70px;
}
.header-shell-minimal .menu-link {
  color: var(--text);
}
.header-shell-elevated .topbar {
  margin: 0 10px;
  border-radius: 0 0 18px 18px;
  border-top: 1px solid transparent;
  box-shadow: 0 18px 30px rgba(6, 27, 56, 0.08);
}
.header-shell-elevated .topbar-inner {
  min-height: 74px;
}
.header-shell-split .topbar {
  background: color-mix(in srgb, white 70%, transparent);
}
.header-shell-split .topbar-inner {
  flex-wrap: wrap;
  row-gap: 8px;
}
.header-shell-split .brand {
  width: 100%;
  max-width: 100%;
}
.header-shell-split .brand-name {
  max-width: min(75vw, 640px);
}
.header-shell-split .menu {
  width: 100%;
  justify-content: flex-start;
  gap: 8px;
  border-top: 1px dashed color-mix(in srgb, var(--primary) 16%, transparent);
  padding-top: 8px;
}
.header-shell-frost .topbar {
  background: linear-gradient(180deg, color-mix(in srgb, #fff 74%, transparent), color-mix(in srgb, var(--surface) 88%, #fff));
  border-bottom-color: color-mix(in srgb, var(--primary) 28%, #d9e4ef);
  backdrop-filter: blur(16px);
}
.header-shell-frost .topbar-inner {
  min-height: 76px;
}
.header-shell-frost .brand-logo {
  border-color: color-mix(in srgb, var(--primary) 34%, #fff);
  box-shadow: 0 10px 24px rgba(7, 26, 60, 0.14);
}
.header-shell-brandline .topbar {
  position: relative;
  border-bottom: 0;
}
.header-shell-brandline .topbar::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.header-shell-brandline .topbar-inner {
  min-height: 72px;
  padding-bottom: 8px;
}
.header-shell-ribbon .topbar {
  background: color-mix(in srgb, var(--surface) 88%, #fff);
  border-bottom: 0;
}
.header-shell-ribbon .topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--accent) 64%, #fff), var(--primary));
  opacity: .78;
}
.header-shell-ribbon .topbar-inner {
  min-height: 74px;
  padding-bottom: 10px;
}
.header-shell-anchor .topbar {
  background: color-mix(in srgb, #fff 90%, var(--secondary));
  border-bottom-width: 2px;
  border-bottom-color: color-mix(in srgb, var(--primary) 24%, #dbe5f0);
}
.header-shell-anchor .topbar-inner {
  min-height: 78px;
}
.header-shell-anchor .menu-link.is-active {
  box-shadow: 0 8px 16px rgba(8, 24, 52, 0.16);
}
.header-shell-gradient .topbar {
  background:
    linear-gradient(125deg, color-mix(in srgb, #fff 88%, transparent), color-mix(in srgb, var(--secondary) 76%, #fff)),
    radial-gradient(620px 120px at 14% -40%, color-mix(in srgb, var(--primary) 18%, transparent), transparent);
  border-bottom-color: color-mix(in srgb, var(--primary) 22%, #dbe5f0);
}
.header-shell-gradient .topbar-inner {
  min-height: 76px;
}
.header-shell-gradient .brand-mark-wrap {
  box-shadow: 0 10px 20px rgba(7, 23, 52, 0.12);
}

@media (min-width: 1025px) {
  .desktop-nav-active .topbar {
    will-change: transform;
  }
  .desktop-scrolling .topbar {
    box-shadow: 0 12px 24px rgba(6, 24, 52, 0.12);
  }
  .desktop-topbar-hidden .topbar {
    transform: translateY(calc(-100% - 8px));
  }
  .desktop-topbar-condensed .topbar-inner {
    min-height: 64px;
  }
  .desktop-nav-underline-progress .nav-underline .topbar::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(var(--scroll-progress, 0) * 1%);
    max-width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: .68;
    transition: width .2s ease;
    pointer-events: none;
  }
  .desktop-nav-minimal-fade .nav-minimal .topbar {
    background: color-mix(in srgb, var(--surface) 96%, #fff);
    border-bottom-color: color-mix(in srgb, var(--primary) 24%, #dde5ef);
    box-shadow: 0 10px 20px rgba(7, 24, 52, 0.08);
  }
  .top-nav-stacked .top-nav-list,
  .top-nav-shell.top-nav-stacked .top-nav-list,
  .top-nav-list.top-nav-stacked {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: flex-end;
    gap: clamp(8px, .9vw, 16px);
  }
  .top-nav-stacked .top-nav-stack-item {
    width: auto;
  }
  .top-nav-stacked .menu-link,
  .top-nav-shell.top-nav-stacked .menu-link,
  .top-nav-list.top-nav-stacked .menu-link {
    justify-content: center;
    min-height: 40px;
  }
  body:not(.nav-rail) .top-nav-shell > .top-nav-list:not(.top-nav-stacked) {
    display: grid;
    grid-template-columns: repeat(var(--nav-link-count, 5), minmax(0, 1fr));
    width: 100%;
    justify-content: stretch;
    justify-items: stretch;
    align-items: stretch;
  }
  body:not(.nav-rail) .top-nav-shell > .top-nav-list:not(.top-nav-stacked) .menu-link {
    width: 100%;
    justify-content: center;
  }
  body:not(.nav-rail) .topbar:not(.header-shell-split) .mobile-menu-shell {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    justify-content: flex-end;
  }
  body:not(.nav-rail) .topbar:not(.header-shell-split) .mobile-menu-shell .menu {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }
  .menu-link-stacked {
    width: auto;
    justify-content: center;
  }

  .nav-pill .topbar-inner {
    min-height: 78px;
    column-gap: 14px;
  }
  .nav-pill .menu {
    border: 1px solid color-mix(in srgb, var(--primary) 12%, #dce5f0);
    background: color-mix(in srgb, var(--surface) 94%, #fff);
    border-radius: 999px;
    padding: 6px;
    gap: 6px;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 90%, transparent), 0 10px 20px rgba(7, 24, 52, 0.08);
  }
  .nav-pill .menu-link {
    min-height: 40px;
    border-radius: 999px;
    padding-inline: clamp(9px, .9vw, 13px);
    text-align: center;
    justify-content: center;
  }

  .nav-underline .topbar {
    background: color-mix(in srgb, var(--surface) 97%, #fff);
    border-bottom-color: color-mix(in srgb, var(--primary) 18%, #dce6f0);
  }
  .nav-underline .topbar-inner {
    min-height: 74px;
    align-items: end;
    padding-bottom: 8px;
    column-gap: 12px;
  }
  .nav-underline .brand,
  .nav-underline .brand-shell {
    flex-shrink: 0;
  }
  .nav-underline .brand {
    max-width: none;
  }
  .nav-underline .brand-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    max-width: min(34vw, 360px);
  }
  .nav-underline .brand-name {
    width: 100%;
    max-width: inherit;
  }
  .nav-underline .menu {
    width: 100%;
    justify-content: flex-end;
    gap: clamp(10px, 1.08vw, 22px);
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
  }
  .nav-underline .menu-link {
    padding: 12px 2px;
    border-radius: 0;
    border-bottom-width: 2px;
    background: transparent;
    font-weight: 620;
  }

  .nav-minimal .topbar {
    border-bottom-color: color-mix(in srgb, var(--primary) 11%, #dee6ef);
  }
  .nav-minimal .topbar-inner {
    min-height: 70px;
  }
  .nav-minimal .menu {
    gap: 6px;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
  }
  .nav-minimal .menu-link {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 9px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .78rem;
    line-height: 1.14;
    padding: 9px 10px;
    color: color-mix(in srgb, var(--text) 84%, #6e7d93);
  }
  .nav-minimal .menu-link:hover {
    background: color-mix(in srgb, var(--secondary) 78%, #fff);
    border-color: color-mix(in srgb, var(--primary) 14%, #dce5f0);
  }
  .nav-minimal .menu-link.is-active {
    background: color-mix(in srgb, var(--secondary) 70%, #fff);
    border-color: color-mix(in srgb, var(--primary) 28%, #dce5f0);
    color: var(--text);
    box-shadow: none;
  }

  .nav-chip .topbar-inner {
    align-items: flex-start;
    row-gap: 8px;
    min-height: 80px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .nav-chip .brand {
    max-width: min(33%, 360px);
  }
  .nav-chip .brand-shell {
    max-width: min(33%, 360px);
    flex-basis: min(33%, 360px);
  }
  .nav-chip .menu {
    flex-wrap: wrap;
    justify-content: flex-end;
    align-content: start;
    max-width: none;
    row-gap: 8px;
    overflow: visible;
    padding-top: 2px;
  }
  .nav-chip .menu-link {
    min-height: 36px;
    font-size: .86rem;
    line-height: 1.18;
    padding: 7px 11px;
  }
  .nav-chip .menu-link-text {
    overflow: visible;
    text-overflow: unset;
    max-width: none;
  }
  .desktop-nav-chip-compact .nav-chip .menu-link {
    padding: 6px 10px;
    font-size: .8rem;
    opacity: .94;
  }

  .nav-floating .topbar,
  .nav-glass .topbar {
    border-bottom: 0;
    background: transparent;
    backdrop-filter: none;
    padding-top: 12px;
    box-shadow: none;
  }
  .nav-floating .topbar-inner,
  .nav-glass .topbar-inner {
    border: 1px solid color-mix(in srgb, var(--primary) 16%, #dbe5f0);
    border-radius: 24px;
    background: color-mix(in srgb, var(--surface) 92%, #fff);
    box-shadow: 0 18px 34px rgba(8, 26, 58, 0.1);
    padding-inline: 16px;
    min-height: 80px;
  }
  .nav-floating .menu,
  .nav-glass .menu {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    gap: 8px;
  }
  .nav-floating .brand,
  .nav-glass .brand {
    max-width: min(36%, 420px);
  }
  .nav-floating .brand-shell,
  .nav-glass .brand-shell {
    max-width: min(36%, 420px);
    flex-basis: min(36%, 420px);
  }
  .nav-floating main,
  .nav-glass main {
    padding-top: 8px;
  }

  .nav-segment .topbar-inner,
  .nav-pillslot .topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
    padding-top: 10px;
    padding-bottom: 12px;
  }
  .nav-segment .brand,
  .nav-pillslot .brand {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
  .nav-segment .brand-name,
  .nav-pillslot .brand-name {
    max-width: min(52vw, 620px);
    text-align: center;
  }
  .nav-segment .menu,
  .nav-pillslot .menu {
    width: 100%;
    justify-content: stretch;
    overflow: visible;
    gap: 8px;
  }
  .nav-segment .menu-link,
  .nav-pillslot .menu-link {
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
    text-align: center;
    justify-content: center;
    min-height: 42px;
  }
  .nav-pillslot .topbar {
    position: sticky;
  }
  .nav-pillslot .topbar::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(var(--scroll-progress, 0) * 1%);
    max-width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: .7;
    transition: width .18s ease;
    pointer-events: none;
  }
}

@media (min-width: 1280px) {
  .nav-rail .topbar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 252px;
    z-index: 44;
    border-bottom: 0;
    border-right: 1px solid color-mix(in srgb, var(--primary) 16%, #dbe5f0);
    background: color-mix(in srgb, var(--surface) 94%, #fff);
    backdrop-filter: blur(14px);
  }
  .nav-rail .topbar-inner {
    width: 100%;
    height: 100%;
    margin: 0;
    min-height: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: 16px 12px 14px;
    align-content: flex-start;
  }
  .nav-rail .topbar-inner > :not(.menu-overlay) {
    flex: 0 0 auto;
  }
  .nav-rail .brand-shell {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    align-self: stretch;
  }
  .nav-rail .brand-shell-logo_after_text,
  .nav-rail .brand-shell-compact_text,
  .nav-rail .brand-shell-icon_only {
    flex: 0 0 auto;
    flex-basis: auto;
    min-height: 0;
  }
  .nav-rail .brand {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
  }
  .nav-rail .brand-shell-logo_after_text .brand,
  .nav-rail .brand-shell-compact_text .brand,
  .nav-rail .brand-shell-icon_only .brand {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }
  .nav-rail .brand-logo {
    --brand-logo-h: 34px;
    --brand-logo-max-w: 116px;
  }
  .nav-rail .brand-name {
    max-width: 100%;
    white-space: normal;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .nav-rail .menu {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    align-content: start;
    gap: 7px;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    flex: 0 0 auto;
  }
  .nav-rail .mobile-menu-shell {
    width: 100%;
    flex: 0 0 auto;
    margin-top: 2px;
  }
  .nav-rail .top-nav-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    justify-items: stretch;
    align-items: start;
    gap: 7px;
  }
  .nav-rail .top-nav-stacked .top-nav-list,
  .nav-rail .top-nav-shell.top-nav-stacked .top-nav-list,
  .nav-rail .top-nav-list.top-nav-stacked {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    justify-content: stretch;
    justify-items: stretch;
    align-items: start;
    gap: 7px;
  }
  .nav-rail .top-nav-stacked .top-nav-stack-item {
    width: 100%;
  }
  .nav-rail .menu-link {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
    line-height: 1.25;
    min-height: 40px;
    border-radius: 12px;
    padding: 10px 12px;
  }
  .nav-rail .top-nav-stacked .menu-link,
  .nav-rail .top-nav-shell.top-nav-stacked .menu-link,
  .nav-rail .top-nav-list.top-nav-stacked .menu-link,
  .nav-rail .menu-link-stacked {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    min-height: 40px;
  }
  .nav-rail .menu-link-text {
    white-space: nowrap;
  }
  .nav-rail main,
  .nav-rail .site-footer {
    box-sizing: border-box;
    width: 100%;
    padding-left: 270px;
  }
  .nav-rail main .container,
  .nav-rail .site-footer .container {
    width: min(1060px, calc(100% - 28px));
  }
  .nav-rail .cookie-banner {
    left: max(278px, 14px);
  }
  .nav-rail .toast-zone {
    left: max(278px, 14px);
    right: 14px;
  }
}

.engagement-shell { margin-top: 24px; }
.engagement-intro-band {
  display: grid;
  gap: 14px;
  border: 1px solid var(--border-card, #dce5ef);
  border-radius: 16px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--surface) 92%, #fff), color-mix(in srgb, var(--surface-alt) 66%, #fff));
  padding: clamp(16px, 2.1vw, 24px);
  margin-top: 8px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-card, none);
}
.engagement-intro-band h2 {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
}
.engagement-intro-band p {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.58;
}
.engagement-intro-list,
.engagement-intro-grid,
.engagement-intro-path,
.engagement-intro-culture {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.engagement-intro-item,
.engagement-intro-calendar-item,
.engagement-intro-grid article,
.engagement-intro-path-item,
.engagement-intro-spotlight .engagement-intro-grid article {
  border: 1px solid var(--border-card, #dce5ef);
  border-radius: 12px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--surface) 82%, #fff);
}
.engagement-intro-list-timeline .engagement-intro-item h3,
.engagement-intro-roadmap-step h3,
.engagement-intro-path-item h3,
.engagement-intro-hero h3 {
  margin: 0;
  font-size: .98rem;
}
.engagement-intro-calendar,
.engagement-intro-metric-grid,
.engagement-intro-roadmap {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.engagement-intro-calendar {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.engagement-intro-metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.engagement-intro-metric {
  border: 1px solid var(--border-card, #dce5ef);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  background: color-mix(in srgb, var(--surface) 86%, #fff);
}
.engagement-intro-metric span {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
}
.engagement-intro-metric p {
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
}
.engagement-intro-roadmap-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--border-card, color-mix(in srgb, var(--primary) 16%, #dce5ef));
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 88%, #fff);
  box-shadow: 0 8px 20px rgba(6, 34, 66, 0.05);
}
.engagement-intro-roadmap-step > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.engagement-intro-roadmap-step span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 800;
  background: color-mix(in srgb, var(--primary) 16%, #fff);
  border: 1px solid #d6e2f2;
  color: var(--text);
}
.engagement-intro-roadmap-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}
.engagement-intro-spotlight {
  display: grid;
  gap: 10px;
}
.engagement-intro-team-spotlight .engagement-intro-spotlight {
  gap: clamp(14px, 1.8vw, 22px);
}
.engagement-intro-hero {
  border: 1px solid #cfdeef;
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--surface) 86%, #fff), color-mix(in srgb, var(--surface-alt) 78%, #fff));
}
.engagement-intro-team-spotlight .engagement-intro-hero {
  padding: clamp(16px, 2vw, 22px);
  border-color: color-mix(in srgb, var(--primary) 16%, var(--border-card, #dce5ef));
  box-shadow: 0 10px 24px rgba(6, 34, 66, 0.05);
}
.engagement-intro-hero p {
  margin: 6px 0 0;
}
.engagement-intro-team-spotlight .engagement-intro-grid {
  gap: clamp(12px, 1.4vw, 16px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.engagement-intro-team-spotlight .engagement-intro-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 100%;
  padding: 14px 14px 12px;
  box-shadow: 0 8px 18px rgba(6, 34, 66, 0.04);
}
.engagement-intro-team-spotlight .engagement-intro-grid article h3 {
  line-height: 1.28;
}
.engagement-intro-team-spotlight .engagement-intro-grid article p {
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
}
@media (max-width: 960px) {
  .engagement-intro-team-spotlight .engagement-intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .engagement-intro-team-spotlight .engagement-intro-grid {
    grid-template-columns: 1fr;
  }
}
.engagement-intro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.engagement-intro-tags span {
  display: inline-flex;
  align-items: center;
  height: 32px;
  border: 1px solid #dce5ef;
  border-radius: 999px;
  padding: 0 10px;
  background: #fff;
}
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.engagement-layout-timeline .engagement-grid,
.engagement-layout-agenda .engagement-grid,
.engagement-layout-playlist .engagement-grid,
.engagement-layout-spotlight .engagement-grid { grid-template-columns: 1fr; }
.engagement-layout-magazine-proof-rail .engagement-grid,
.engagement-layout-blog-offers-blog-offers-blog .engagement-grid,
.engagement-layout-blog-offers-blog-offers-blog-offers .engagement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.engagement-layout-hero-blog-stack .engagement-grid > article:first-child { grid-column: 1 / -1; }
/* §GRID  Engagement grid column variants */
.engagement-grid.eng-cols-1 { grid-template-columns: 1fr; }
.engagement-grid.eng-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.engagement-grid.eng-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.engagement-grid.eng-cols-auto-fill { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.engagement-grid.eng-cols-masonry-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.engagement-grid.eng-cols-masonry-2 .eng-card:nth-child(odd) { transform: translateY(14px); }
@media (max-width: 768px) {
  .engagement-grid.eng-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engagement-grid.eng-cols-masonry-2 .eng-card:nth-child(odd) { transform: none; }
}
@media (max-width: 540px) {
  .engagement-grid.eng-cols-2,
  .engagement-grid.eng-cols-3,
  .engagement-grid.eng-cols-auto-fill,
  .engagement-grid.eng-cols-masonry-2 { grid-template-columns: 1fr; }
}
.eng-card {
  border: 1px solid #dde5ef;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(6, 34, 66, 0.05);
  display: flex;
  flex-direction: column;
}
.eng-card.eng-card-style-standard {
  border-color: #dde5ef;
}
/* Editöryal kartlar için daha yumuşak köşeler harika duruyor. */
.eng-card-style-editorial {
  border-radius: 22px;
}
.eng-card-style-editorial.eng-card {
  box-shadow: 0 12px 24px rgba(7, 27, 57, 0.08);
}
.eng-card-style-editorial .eng-body {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, #fff), var(--surface));
}
.eng-card-style-contrast {
  border-width: 2px;
  border-color: color-mix(in srgb, var(--accent) 38%, #dce5f0);
}
.eng-card-style-contrast.eng-card {
  box-shadow: 0 14px 26px rgba(6, 34, 66, 0.14);
}
.eng-card-style-compact {
  border-radius: 12px;
}
.eng-card-style-compact .eng-media {
  aspect-ratio: 16 / 8;
}
.eng-card-style-compact .eng-body {
  padding: 10px;
  gap: 6px;
}
.eng-card-style-minimal {
  border-radius: 12px;
  border-color: color-mix(in srgb, var(--primary) 14%, #e3ebf7);
  background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 92%, #fff), #fff);
}
.eng-card-style-minimal .eng-body {
  padding: 10px 12px;
  gap: 6px;
}
.eng-card-style-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.eng-card-style-split .eng-media {
  border-right: 1px solid #dfe8f2;
}
.eng-card-style-split .eng-body {
  border-top: 0;
}
.eng-card-style-surface {
  background: linear-gradient(165deg, var(--surface), color-mix(in srgb, var(--secondary) 70%, #fff));
}
.eng-card-style-surface.eng-card {
  border-color: color-mix(in srgb, var(--primary) 24%, #dce5f0);
  box-shadow: 0 10px 24px rgba(4, 43, 87, 0.08);
}
.eng-media {
  aspect-ratio: 16 / 9;
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  border-bottom: 1px solid #dfe8f2;
}
.eng-media img,
.eng-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}
.eng-media-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .9rem;
}
.eng-body { padding: 14px; display: grid; gap: 8px; }
.eng-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.eng-readtime {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8e1ec;
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--text);
  background: color-mix(in srgb, var(--secondary) 74%, #fff);
}
.eng-body h3 { margin: 0; font-size: 1.05rem; }
.eng-body p { margin: 0; color: var(--muted); line-height: 1.52; }
.eng-tags {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.eng-tags li {
  border: 1px solid #dce5ef;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: .74rem;
  color: var(--muted);
  background: #fff;
}
.eng-detail-meta {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
}
.eng-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.eng-disclaimer {
  margin-top: 14px;
  border: 1px dashed #d7e0ed;
  border-radius: 12px;
  background: color-mix(in srgb, var(--secondary) 76%, #fff);
  padding: 10px 12px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}
.eng-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.eng-page-btn {
  border: 1px solid #d9e1eb;
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}
.eng-page-btn.is-active {
  border-color: color-mix(in srgb, var(--primary) 38%, #d9e1eb);
  background: color-mix(in srgb, var(--primary) 14%, #fff);
}

.eng-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}
.eng-modal[hidden] { display: none !important; }
.eng-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 32, .56);
}
.eng-modal-dialog {
  position: relative;
  width: min(900px, 92vw);
  margin: 6vh auto;
  max-height: 88vh;
  overflow: auto;
  border-radius: 16px;
  border: 1px solid #dce5ef;
  background: #fff;
  box-shadow: 0 26px 40px rgba(8, 26, 52, 0.24);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.layout-engagement-modal-overlayed .eng-modal-dialog-overlay {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  max-width: min(980px, 94vw);
  width: 94vw;
  min-height: min(82vh, 760px);
  margin-top: 5vh;
  padding: 0;
}
.layout-engagement-modal-overlayed .eng-modal-overlay-content {
  padding: 18px 18px 20px 20px;
  border-right: 1px solid #dce5ef;
  background: color-mix(in srgb, var(--surface) 88%, #fff);
  overflow: auto;
}
.eng-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid #d9e2ed;
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.eng-modal-media {
  min-height: 280px;
  background: color-mix(in srgb, var(--secondary) 70%, #fff);
}
.eng-modal-media img,
.eng-modal-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}
.eng-modal-content { padding: 16px; display: grid; gap: 10px; align-content: start; }
.eng-modal-meta {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}
.eng-modal-content h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}
.eng-modal-content p { margin: 0; color: var(--muted); line-height: 1.5; }
.eng-modal-highlights {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  display: grid;
  gap: 6px;
}
.eng-modal-source a { color: var(--primary); }
.eng-modal-open { overflow: hidden; }
.layout-engagement-modal-overlayed .eng-modal-dialog {
  align-items: stretch;
}

.blog-feedback {
  margin-top: 16px;
}
.blog-feedback-panel {
  display: grid;
  gap: 12px;
}
.blog-feedback-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.blog-rating-block {
  display: grid;
  gap: 8px;
}
.blog-rating-summary {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}
.blog-rating-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-rating-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #d8e2ef;
  background: #fff;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}
.blog-rating-btn.is-active,
.blog-rating-btn:hover {
  border-color: color-mix(in srgb, var(--primary) 44%, #d8e2ef);
  background: color-mix(in srgb, var(--primary) 14%, #fff);
}
.blog-feedback-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 10px;
}
.blog-feedback-form .full {
  grid-column: 1 / -1;
}
.blog-feedback-form label {
  display: block;
  margin: 0 0 5px;
  font-weight: 700;
}
.blog-feedback-form input,
.blog-feedback-form textarea {
  width: 100%;
  border: 1px solid #cfdae8;
  border-radius: 10px;
  padding: 10px 11px;
  font: inherit;
}
.blog-feedback-form textarea {
  min-height: 120px;
  resize: vertical;
}
.blog-comment-list {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.blog-comment-item,
.blog-comment-empty {
  border: 1px solid #dde6f0;
  border-radius: 12px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--secondary) 72%, #fff);
}
.blog-comment-meta {
  margin: 0 0 6px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
}
.blog-comment-text {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
}

/* ── §BFV  Blog Feedback Style Variants ───────────────────────── */

/* ── Compact variant ── */
.bfp-compact { gap: 8px; }
.bfp-compact h2 { font-size: 1.05rem; margin: 0; }
.bfp-compact-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bfp-compact-rating .blog-rating-summary { margin: 0; font-size: .88rem; }
.bfp-compact-controls { gap: 4px; }
.bfp-compact-controls .blog-rating-btn {
  width: auto;
  height: 30px;
  padding: 0 8px;
  font-size: .78rem;
  border-radius: 8px;
  letter-spacing: .02em;
}
.bfp-compact-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-end;
  grid-template-columns: none;
}
.bfp-compact-form input { flex: 0 1 140px; min-width: 100px; }
.bfp-compact-form textarea { flex: 1 1 200px; min-height: 64px; resize: vertical; }
.bfp-compact-form .btn { flex-shrink: 0; }

/* ── Card variant ── */
.bfp-card { gap: 14px; }
.bfp-card-section {
  border: 1px solid #dde6f0;
  border-radius: 14px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--secondary) 48%, #fff);
}
.bfp-card-section-title {
  margin: 0 0 8px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--text);
}
.bfp-card-rating .blog-rating-summary { margin: 0 0 6px; }
.bfp-card-form .blog-feedback-form { grid-template-columns: 1fr; }
.bfp-card-comments .blog-comment-list { margin: 0; }

/* ── Inline variant ── */
.bfp-inline { gap: 10px; }
.bfp-inline-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.bfp-inline-rating { min-width: 150px; }
.bfp-inline-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-end;
  grid-template-columns: none;
}
.bfp-inline-form input { flex: 0 1 130px; }
.bfp-inline-form textarea { flex: 1 1 220px; min-height: 60px; resize: vertical; }
.bfp-inline-form .btn { flex-shrink: 0; }

/* ── Stars variant (SVG-based) ── */
.bfp-stars-controls { gap: 10px; display: flex; align-items: center; }
.bfp-stars-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #ddd8c4;
  background: linear-gradient(135deg, #fffdf5 0%, #fdf8e8 100%);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.bfp-star-svg {
  width: 28px;
  height: 28px;
  fill: #c9a80e;
  stroke: #a68b08;
  stroke-width: 0.5;
  transition: fill .18s ease, stroke .18s ease;
}
.bfp-stars-btn.is-active .bfp-star-svg,
.bfp-stars-btn:hover .bfp-star-svg {
  fill: #e8b800;
  stroke: #8b6f08;
  filter: drop-shadow(0 0 3px rgba(232,184,0,.45));
}
.bfp-stars-btn.is-active,
.bfp-stars-btn:hover {
  transform: scale(1.22);
  border-color: #c9a80e;
  background: linear-gradient(135deg, #fff9d6 0%, #fceebb 100%);
  box-shadow: 0 0 8px rgba(201,168,14,.28);
}

/* ── end §BFV ─────────────────────────────────────────────────── */

body[data-page='engagement'] .hero iframe.hero-image {
  border: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 1024px) {
  /* CL-04: Tablet overflow guard — force 1fr for risk grids when card width
     falls below safe minimum on tablet. Keep 2-col only for whitelisted
     layouts with verified minimum card width. */
  .services-grid, .offers-grid, .principles-grid, .insight-grid { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
  .module-faq.role-pattern-faq-columns-split .faq-wrap,
  .module-faq.role-pattern-faq-cards-panel .services-grid { grid-template-columns: 1fr; }
  .page-shell-offers.role-pattern-offers-spotlight-mosaic .offers-grid .offer-card:nth-child(3n + 1) { grid-column: auto; }
  .page-shell-offers.role-pattern-offers-ops-board .offers-grid { grid-template-columns: 1fr; }
  .page-shell-contact.role-pattern-contact-map-lead .contact-grid,
  .page-shell-contact.role-pattern-contact-form-lead .contact-grid { grid-template-columns: 1fr; }
  .page-shell-contact.layout-contact-contact-contact .layout-contact-contact-loop .contact-loop-grid,
  .page-shell-contact.layout-contact-contact-offers-contact-offers-contact-offers .layout-contact-offers-loop .services-grid {
    grid-template-columns: 1fr;
  }
  .module-hero.role-pattern-hero-split-signal { grid-template-columns: 1fr; }
  .module-hero.role-pattern-hero-media-stack .hero-visual { min-height: 320px; }
  .services-grid-split .service-card:first-child,
  .services-grid-asymmetric .service-card:first-child { grid-column: auto; }
  .page-head-split { grid-template-columns: 1fr; }
  .page-head-split p { width: 100%; }
  .page-title-shell-inline-grid {
    gap: 10px;
  }
  .layout-page-title-shell-inline .section-head,
  .layout-page-title-shell-default .section-head,
  .layout-page-title-shell-compact-shell .section-head,
  .layout-page-title-shell-compact-shell .page-title-shell-shell {
    width: 100%;
    box-sizing: border-box;
  }
  .page-shell-index.layout-index-story-grid .index-flow,
  .page-shell-comparison.layout-comparison-radar-split .comparison-flow,
  .page-shell-philosophy.layout-philosophy-editorial-rail .philosophy-flow,
  .page-shell-index.layout-index-compact-signal .index-flow { grid-template-columns: 1fr; }
  .page-shell-index.layout-index-story-grid .index-module-slot,
  .page-shell-comparison.layout-comparison-radar-split .comparison-module-slot,
  .page-shell-philosophy.layout-philosophy-editorial-rail .philosophy-module-slot { grid-column: auto; }
  .page-shell-offers.layout-offers-ops-board .module-offers-board .offers-grid { grid-template-columns: 1fr; }
  .page-shell-offers.layout-offers-pricing-toggle-matrix .container .pricing-toggle-grid,
  .page-shell-offers.layout-offers-blog-offers-blog-offers-blog-offers .offer-story-rhythm,
  .page-shell-index.layout-index-ext-hero-proof .index-intro-rhythm,
  .page-shell-offers.layout-offers-blog-offers-blog-offers-blog-offers .offer-story-rhythm,
  .page-shell-contact.role-pattern-contact-dual-cta-band .layout-contact-dual-cta,
  .page-shell-index.layout-index-ext-hero .layout-index-intro-ext-hero,
  .page-shell-index.layout-index-ext-hero-contact .layout-index-intro-ext-hero-contact,
  .page-shell-index.layout-index-ext-blog .layout-index-intro-ext-blog,
  .page-shell-index.layout-index-hero-contact-ladder .layout-index-intro-hero-contact-ladder,
  .page-shell-index.layout-index-ext-hero-cta .layout-index-intro-ext-hero-cta,
  .page-shell-index.layout-index-ext-proof-proof .layout-index-intro-ext-proof-proof,
  .page-shell-index.layout-index-ext-offers-offers .layout-index-intro-ext-offers,
  .page-shell-index.layout-index-ext-offers-hero-offers-proof-contact .layout-index-intro-ext-offers,
  .page-shell-index.layout-index-ext-offers-contact-offers-contact-offers .layout-index-intro-ext-offers,
  .page-shell-index.layout-index-ext-offers-blog-offers-blog-offers .layout-index-intro-ext-offers,
  .page-shell-index.layout-index-ext-contact-blog-contact-contact .layout-index-intro-ext-contact,
  .page-shell-index.layout-index-ext-contact .layout-index-intro-ext-contact {
    grid-template-columns: 1fr;
  }
 .services-roadmap-steps { grid-template-columns: 1fr; }
  .comparison-metric-grid { grid-template-columns: 1fr; }
  .layout-comparison-compact .comparison-compact-matrix { grid-template-columns: 1fr; }
  .module-offers-intro.layout-offers-ops-compact .offers-ops-compact-meta { grid-template-columns: 1fr; }
  .offers-kpi-grid { grid-template-columns: 1fr 1fr; }
  .offer-matrix { min-width: 620px; }
  .offer-matrix-fit { min-width: 720px; }
  .offer-matrix-signals { min-width: 700px; }
  .comparison-proof-grid { grid-template-columns: 1fr 1fr; }
  .comparison-proof-row { grid-template-columns: 1fr; }
  .layout-process-compact .process-compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-kpi-card-grid { grid-template-columns: 1fr 1fr; }
  .comparison-kpi-bar-head { flex-direction: column; align-items: flex-start; }
  .comparison-kpi-pair { grid-template-columns: 1fr; }
  .stats-strip,
  .layout-stats-inline .stats-inline { grid-template-columns: 1fr 1fr; }
  .layout-stats-bars .stats-bar-row,
  .layout-stats-inline .stats-inline-item { min-width: 0; }
  .layout-kpi-compact .kpi-compact-list { grid-template-columns: 1fr 1fr; }
  .layout-proof-grid .proof-grid { grid-template-columns: 1fr; }
  .layout-status-split,
  .detail-grid-compact,
  .detail-media-first .hero { grid-template-columns: 1fr; }
  .layout-status-announcement .status-announcement-grid,
  .layout-status-timeline .status-timeline-track {
    grid-template-columns: 1fr;
  }
  .layout-case-split .case-strip-split,
  .layout-case-triple .case-strip-triple,
  .layout-case-stacked .case-strip-stacked { grid-template-columns: 1fr; }
  .layout-insights-list .insight-list,
  .layout-insights-highlight .insight-highlight-grid { grid-template-columns: 1fr; }
  .layout-insights-highlight .insight-highlight-main { grid-column: auto; }
  .layout-cta-cards .cta-card-grid { grid-template-columns: 1fr; }
  .layout-carousel-cards .carousel-card-grid,
  .layout-carousel-stack .carousel-track {
    grid-template-columns: 1fr;
  }
  .legal-note-callout-grid { grid-template-columns: 1fr; }
  .top-nav-stacked .top-nav-list,
  .top-nav-shell.top-nav-stacked .top-nav-list,
  .top-nav-list.top-nav-stacked { grid-template-columns: 1fr; width: min(360px, 100%); }
  .calc-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero.hero-editorial { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; }
  .offer-media { height: 182px; }
  .contact-grid { grid-template-columns: 1fr; }
  .layout-contact-map-inline .contact-map-inline { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .layout-offer-proof-kpi .offer-proof-kpi-grid,
  .offer-proof-kpi-grid { grid-template-columns: 1fr; }
  .offer-proof-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stacked-offer { grid-template-columns: 1fr; }
  .stacked-offer-side { justify-items: start; }
  .brand { max-width: min(48%, 420px); }
  .brand-name { max-width: min(42vw, 420px); }
  .engagement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-engagement-modal-overlayed .eng-modal-dialog-overlay {
    grid-template-columns: 1fr;
    width: min(92vw, 600px);
    min-height: auto;
  }
  .layout-engagement-modal-overlayed .eng-modal-overlay-content {
    border-right: 0;
    border-bottom: 1px solid #dce5ef;
  }
  .eng-modal-dialog { grid-template-columns: 1fr; margin-top: 4vh; }
  .eng-modal-media { min-height: 220px; }
  .blog-feedback-form { grid-template-columns: 1fr; }
  .bfp-inline-row { grid-template-columns: 1fr; }
  .bfp-compact-form { flex-direction: column; }
  .bfp-inline-form { flex-direction: column; }
}

/* ── Section Background Image (full-bleed image behind section) ─── */
.section-has-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.section-bg-layer {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: saturate(1.06) contrast(1.02);
  pointer-events: none;
}
.section-has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
/* Overlay variants */
.section-bg-overlay-dark::after {
  background:
    linear-gradient(180deg, rgba(10,16,28,.68) 0%, rgba(10,16,28,.44) 52%, rgba(10,16,28,.62) 100%),
    radial-gradient(600px 260px at 50% 0%, color-mix(in srgb, var(--primary) 18%, transparent), transparent);
}
.section-bg-overlay-gradient::after {
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--primary) 72%, rgba(10,16,28,.6)), color-mix(in srgb, var(--accent) 48%, rgba(10,16,28,.5)) 50%, color-mix(in srgb, var(--secondary) 36%, rgba(10,16,28,.6)));
}
.section-bg-overlay-frosted::after {
  background: color-mix(in srgb, var(--surface) 64%, rgba(255,255,255,.38));
  backdrop-filter: blur(6px) saturate(1.2);
}
.section-bg-overlay-vivid::after {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 60%, rgba(0,0,0,.3)), color-mix(in srgb, var(--primary) 50%, rgba(0,0,0,.35)));
}
.section-bg-overlay-subtle::after {
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(2px);
}
/* Текстовая контрастность на тёмных overlay */
.section-bg-overlay-dark .section-head,
.section-bg-overlay-gradient .section-head,
.section-bg-overlay-vivid .section-head { color: #fff; }
.section-bg-overlay-dark .section-head h2,
.section-bg-overlay-gradient .section-head h2,
.section-bg-overlay-vivid .section-head h2 { color: #fff; }
.section-bg-overlay-dark .section-head p,
.section-bg-overlay-gradient .section-head p,
.section-bg-overlay-vivid .section-head p { color: rgba(255,255,255,.82); }
.section-bg-overlay-dark .service-card,
.section-bg-overlay-gradient .service-card,
.section-bg-overlay-vivid .service-card {
  background: color-mix(in srgb, var(--surface) 88%, rgba(255,255,255,.5));
  border-color: rgba(255,255,255,.18);
}

/* ── Service Card Image Overlay (image + number/text on top) ────── */
.service-card-has-image {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.service-card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-card, 16px) var(--radius-card, 16px) 0 0;
}
.service-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.service-card-has-image:hover .service-card-image-wrap img {
  transform: scale(1.04);
}
.service-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.52) 100%);
  pointer-events: none;
}
/* Номер поверх картинки */
.service-card-image-number {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: var(--fw-extrabold, 800);
  line-height: 1;
  z-index: 1;
}
/* Варианты стиля номера */
.service-card-number-badge .service-card-image-number {
  background: var(--accent);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.service-card-number-circle .service-card-image-number {
  background: color-mix(in srgb, var(--primary) 82%, #000);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
}
.service-card-number-ghost .service-card-image-number {
  color: rgba(255,255,255,.85);
  font-size: 2.8rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.service-card-number-tag .service-card-image-number {
  background: rgba(0,0,0,.5);
  color: #fff;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.service-card-number-outline .service-card-image-number {
  border: 2px solid rgba(255,255,255,.7);
  background: transparent;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
/* Текст под картинкой */
.service-card-image-body {
  padding: 14px 18px 18px;
}
.service-card-image-body h3 {
  margin: 0 0 6px;
  font-size: 1.14rem;
}
.service-card-image-body p {
  margin: 0;
  color: var(--muted);
  line-height: var(--lh-body, 1.55);
}

/* ── CTA band with background image ────────────────────────────── */
.cta-has-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-card, 16px);
}
.cta-bg-layer {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.cta-has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 78%, rgba(0,0,0,.6)), color-mix(in srgb, var(--accent) 54%, rgba(0,0,0,.5)));
  pointer-events: none;
}
.cta-has-bg h2,
.cta-has-bg p { color: #fff; }
.cta-has-bg .btn-ghost {
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.cta-has-bg .btn-ghost:hover {
  background: rgba(255,255,255,.14);
}

/* ── Proof / KPI blocks with side image ────────────────────────── */
.proof-image-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}
.proof-image-visual {
  border-radius: var(--radius-card, 16px);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.proof-image-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Grid стиль с фоновыми картинками на карточках (image_cards) ─ */
.services-grid-image-cards {
  gap: 16px;
}
.services-grid-image-cards .service-card-has-image {
  border-radius: var(--radius-card, 16px);
  border: 1px solid var(--border-card, #dde5ef);
  box-shadow: var(--shadow-card, 0 10px 24px rgba(6,34,66,.05));
  transition: transform .2s ease, box-shadow .2s ease;
  background: var(--surface);
}
.services-grid-image-cards .service-card-has-image:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover, 0 14px 26px rgba(6,34,66,.10));
}

/* ── Fullbleed image card (number overlaid large, no separate text body) ── */
.service-card-fullbleed {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card, 16px);
  min-height: 260px;
}
.service-card-fullbleed .service-card-image-wrap {
  position: absolute;
  inset: 0;
  border-radius: 0;
  aspect-ratio: auto;
}
.service-card-fullbleed .service-card-image-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.68) 100%);
}
.service-card-fullbleed .service-card-fullbleed-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 260px;
  padding: 18px;
  color: #fff;
}
/* Yazı rengini değiştirmeyelim, beyazda kalmalı. */
.service-card-fullbleed .service-card-fullbleed-content h3 {
  margin: 0 0 4px;
  font-size: 1.18rem;
  color: #fff;
}
.service-card-fullbleed .service-card-fullbleed-content p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .page-shell { gap: 4px; }
  .topbar,
  .nav-rail .topbar,
  .nav-floating .topbar { backdrop-filter: none !important; }
  .topbar { transform: none !important; }
  .page-head-split { grid-template-columns: 1fr; }
  .page-head-compact { padding: 14px 16px; }
  .layout-page-title-shell-inline .section-head,
  .layout-page-title-shell-default .section-head,
  .layout-page-title-shell-compact-shell .section-head,
  .page-title-shell-shell,
  .page-title-shell-inline-grid {
    padding-left: 0;
    padding-right: 0;
  }
  .topbar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    min-height: 64px;
    position: relative;
  }
  .brand { max-width: min(74%, 420px); }
  .brand-name { max-width: min(60vw, 300px); }
  .menu-toggle { display: inline-flex; }
  .menu-overlay { display: block; }
  .menu-open .topbar { z-index: 48; }
  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }
  .site-shell .menu {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    align-content: start;
    align-items: start;
    justify-content: stretch;
    justify-items: stretch;
    gap: 8px;
    position: fixed;
    z-index: 47;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #dce5f0;
    box-shadow: 0 18px 36px rgba(0, 25, 60, .16);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -8px, 0) scale(.985);
    transition: transform .24s ease, opacity .24s ease;
  }
  .layout-process-compact .process-compact-grid { grid-template-columns: 1fr; }
  .site-shell .menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
  }
  .site-shell .menu-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    max-width: none;
    min-height: 48px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    line-height: 1.28;
    white-space: normal;
    font-size: .98rem;
    color: var(--text);
  }
  .calc-grid input[type='number'],
  .calc-grid input[type='text'],
  .calc-grid select {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
  .site-shell .top-nav-stacked .menu-link,
  .site-shell .top-nav-shell.top-nav-stacked .menu-link,
  .site-shell .top-nav-list.top-nav-stacked .menu-link,
  .site-shell .menu-link-stacked,
  .site-shell .menu-link-icon-first {
    justify-content: flex-start;
    text-align: left;
  }
  .mobile-menu-shell {
    position: relative;
    width: 100%;
    pointer-events: none;
  }
  .mobile-menu-shell .menu {
    pointer-events: none;
    visibility: hidden;
  }
  .mobile-menu-shell .menu.open {
    pointer-events: auto;
    visibility: visible;
  }
  .site-shell .menu .top-nav-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    justify-items: stretch;
    align-items: start;
    gap: 8px;
  }
  .mobile-menu-shell-drawer {
    display: flex;
    justify-content: flex-end;
  }
  .mobile-menu-shell-sheet {
    display: block;
  }
  .mobile-menu-shell-fullscreen {
    display: block;
  }
  .mobile-menu-shell-overlay {
    display: block;
  }
  .mobile-menu-shell-stack {
    display: block;
  }
  /* float variant — default mobile menu, must also set display like its siblings */
  .mobile-menu-shell-float {
    display: block;
  }

  .mobile-menu-shell-drawer-head {
    display: none;
  }
  .mobile-menu-shell-drawer .menu {
    border-left: 1px solid color-mix(in srgb, var(--primary) 14%, #dbe6f0);
  }
  .mobile-menu-shell-sheet-handle {
    position: fixed;
    right: 50%;
    top: 62px;
    width: 48px;
    height: 6px;
    border-radius: 999px;
    transform: translateX(50%);
    background: color-mix(in srgb, var(--text) 35%, var(--surface-alt));
    opacity: 0;
    pointer-events: none;
  }
  .mobile-menu-shell-sheet .mobile-menu-shell-sheet-handle {
    display: block;
  }
  .menu-open .mobile-menu-shell-sheet .mobile-menu-shell-sheet-handle {
    opacity: 0.8;
  }
  .mobile-menu-shell-overlay-title {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
  }
  .menu-open .mobile-menu-overlay .mobile-menu-shell-overlay-title {
    display: flex;
  }
  .mobile-menu-shell-overlay-title span:last-child {
    width: 120px;
    height: 1px;
    background: color-mix(in srgb, var(--text) 12%, transparent);
    opacity: .36;
  }
  .mobile-menu-shell-fullscreen-frame {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    height: 12px;
    pointer-events: none;
    z-index: 48;
  }
  .menu-open .mobile-menu-fullscreen .mobile-menu-shell-fullscreen-frame {
    display: block;
  }
  .mobile-menu-shell-fullscreen-line {
    display: block;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    margin: 10px auto 0;
    background: color-mix(in srgb, var(--text) 10%, transparent);
  }
  .mobile-menu-shell-stack-topbar {
    display: none;
    border-bottom: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
    margin: 4px 0 8px;
    padding: 0 8px 8px;
    color: var(--muted);
    font-size: .79rem;
    letter-spacing: .03em;
    text-transform: uppercase;
  }

  .mobile-menu-float .menu {
    top: 70px;
    left: 4%;
    right: 4%;
    border-radius: 16px;
    padding: 12px;
    max-height: min(72dvh, 520px);
  }

  .mobile-menu-drawer .menu {
    top: 8px;
    right: 8px;
    bottom: auto;
    left: auto;
    width: min(86vw, 348px);
    border-radius: 22px 0 0 22px;
    padding: 76px 12px 14px;
    transform: translate3d(108%, 0, 0);
    height: auto;
    max-height: min(86dvh, 680px);
  }
  .mobile-menu-drawer .menu.open {
    transform: translate3d(0, 0, 0);
  }

  .mobile-menu-sheet .menu {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    border-radius: 20px 20px 0 0;
    padding: 12px 14px 18px;
    transform: translate3d(0, 104%, 0);
    max-height: min(64dvh, 520px);
  }
  .mobile-menu-sheet .menu.open {
    transform: translate3d(0, 0, 0);
  }

  .mobile-menu-fullscreen .menu {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    border-radius: 0 0 18px 18px;
    border: 0;
    box-shadow: none;
    padding: 84px 16px 20px;
    background: rgba(255, 255, 255, 0.98);
    transform: scale(1.015);
    height: auto;
    min-height: 0;
    max-height: min(90dvh, 760px);
    align-content: start;
    justify-items: stretch;
  }
  .mobile-menu-fullscreen .menu.open {
    transform: scale(1);
  }
  .mobile-menu-overlay .menu {
    top: 72px;
    left: 8px;
    right: 8px;
    bottom: auto;
    width: auto;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--primary) 12%, #dce5f0);
    box-shadow: 0 16px 36px rgba(6, 18, 50, 0.24);
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    transform: translate3d(0, -8px, 0) scale(0.98);
    max-height: min(74dvh, 540px);
  }
  .mobile-menu-overlay .menu.open {
    transform: translate3d(0, 0, 0) scale(1);
  }
  .mobile-menu-stack .menu {
    top: 72px;
    left: 8px;
    right: 8px;
    bottom: auto;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--primary) 14%, #dbe6f0);
    box-shadow: 0 18px 36px rgba(6, 18, 50, 0.2);
    padding: 10px 12px 14px;
    background: rgba(255, 255, 255, 0.98);
    transform: translate3d(0, -8px, 0) scale(0.985);
    max-height: min(76dvh, 560px);
  }
  .mobile-menu-stack .menu-link {
    border: 1px solid color-mix(in srgb, var(--primary) 14%, #dbe6f0);
    background: rgba(255, 255, 255, 0.96);
  }
  .menu-open .mobile-menu-stack .mobile-menu-shell-stack-topbar {
    display: block;
  }
  .hero { padding: 34px 0 12px; gap: 14px; }
  .hero h1 { font-size: clamp(1.55rem, 7vw, 2.1rem); line-height: 1.2; }
  .hero p { font-size: .98rem; line-height: 1.52; }
  .hero.hero-has-bg .hero-copy {
    padding: 14px;
    border-radius: 14px;
  }
  .module-hero.role-pattern-hero-editorial-ribbon {
    padding: 18px;
    border-radius: 16px;
  }
  .hero-visual {
    min-height: 0;
    border-radius: 16px;
    aspect-ratio: 16 / 10;
  }
  .layout-hero-caption-panel .hero-visual,
  .layout-hero-caption-panel .hero-fallback-panel {
    min-height: 260px;
  }
  .hero-fallback-title {
    font-size: clamp(1.02rem, 5.2vw, 1.28rem);
  }
  .hero-caption-strip { font-size: .92rem; }
  .hero-image,
  .hero-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .offer-media { height: clamp(154px, 50vw, 220px); }
  .contact-card,
  .map-card { min-height: 260px; }
  .map-card iframe { min-height: 260px; }
  .site-footer { margin-top: 24px; padding: 20px 0 14px; }
  .footer-grid { align-items: flex-start; gap: 10px; }
  .footer-links { width: 100%; gap: 8px 10px; }
  .footer-links a { display: inline-flex; padding: 2px 0; }
  .footer-copy { margin-top: 6px; font-size: .84rem; line-height: 1.35; }
  .footer-shell-grid .footer-grid,
  .footer-shell-stack .footer-grid,
  .footer-shell-rich .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-shell-grid .footer-links,
  .footer-shell-stack .footer-links,
  .footer-shell-rich .footer-links {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .header-shell-split .topbar-inner {
    row-gap: 6px;
  }
  .header-shell-split.mobile-menu-float .menu {
    border-top: none;
    padding-top: 8px;
    padding-inline: 10px;
  }
  .header-shell-elevated .topbar {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .footer-shell-rich .footer-copy,
  .footer-shell-compact .footer-copy {
    margin-top: 6px;
  }
  .services-grid, .services-grid-stacked, .offers-grid, .principles-grid, .insight-grid, .form-grid { grid-template-columns: 1fr; }
  .offers-kpi-grid { grid-template-columns: 1fr; }
  .comparison-proof-grid { grid-template-columns: 1fr; }
  .comparison-kpi-card-grid { grid-template-columns: 1fr; }
  .compare-table {
    min-width: 0;
    table-layout: fixed;
  }
  .compare-table th,
  .compare-table td {
    padding: 10px 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .comparison-proof-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .comparison-kpi-pair,
  .comparison-kpi-bar-head { gap: 4px; }
  .layout-status-split { grid-template-columns: 1fr; }
  .detail-grid-compact,
  .detail-media-first .hero { grid-template-columns: 1fr; }
  .comparison-proof-row strong,
  .comparison-proof-row small { width: 100%; }
  .layout-kpi-compact .kpi-compact-list { grid-template-columns: 1fr; }
  .layout-status-announcement .status-announcement-grid,
  .status-timeline-item { grid-template-columns: 1fr; }
  .layout-insights-list .insight-list { grid-template-columns: 1fr; }
  .layout-insights-highlight .insight-highlight-grid { grid-template-columns: 1fr; }
  .layout-insights-highlight .insight-highlight-main { grid-column: auto; }
  .stats-strip,
  .layout-stats-inline .stats-inline { grid-template-columns: 1fr; }
  .layout-case-split .case-strip-split,
  .layout-case-triple .case-strip-triple,
  .layout-case-stacked .case-strip-stacked { grid-template-columns: 1fr; }
  .layout-cta-cards .cta-card-grid { grid-template-columns: 1fr; }
  .offer-proof-flow { grid-template-columns: 1fr; }
  .carousel-shell { grid-template-columns: 1fr; }
  .carousel-nav { display: none; }
  .engagement-grid { grid-template-columns: 1fr; }
  .top-nav-list { justify-content: flex-start; }
  .top-nav-stacked .top-nav-list,
  .top-nav-shell.top-nav-stacked .top-nav-list,
  .top-nav-list.top-nav-stacked { width: 100%; }
  .top-nav-compact .top-nav-list { gap: 4px; }
  .legal-meta-grid { grid-template-columns: 1fr; }
  .footer-link-clusters { width: 100%; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; align-items: flex-start; flex-direction: column; }
  .layout-cookie-banner-inline .cookie-inline-layout,
  .layout-cookie-banner-inline .cookie-inline-copy,
  .layout-cookie-banner-tight .cookie-tight-layout {
    width: 100%;
    grid-template-columns: 1fr;
  }
  .layout-cookie-banner-tight .cookie-tight-actions,
  .layout-cookie-banner-inline .cookie-inline-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .toast-zone { right: 10px; left: 10px; bottom: 88px; }
  /* ── Mobile: section-bg & image cards ─── */
  .proof-image-split { grid-template-columns: 1fr; }
  .service-card-fullbleed { min-height: 220px; }
  .service-card-fullbleed .service-card-fullbleed-content { min-height: 220px; padding: 14px; }
  .service-card-image-wrap { aspect-ratio: 16 / 9; }
}

/* ═══════════════════════════════════════════════════════════════
   CL-08: Baseline visual-fix rules (moved from VisualFixLeadAgent
   to prevent repeated WARN accumulation across iterations)
   ═══════════════════════════════════════════════════════════════ */

/* Overflow guard — prevent horizontal scroll globally */
body,
.site-shell { overflow-x: clip; }

/* ===== §TABS — Tabs component (pricing / content pages) ===== */
.tabs-wrapper {
  margin-bottom: 16px;
}
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 2px solid #dce5ef;
  padding-bottom: 0;
  margin-bottom: 16px;
}
.tab-btn {
  appearance: none;
  border: none;
  background: transparent;
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  color: var(--muted);
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  border-radius: 8px 8px 0 0;
  transition: color .2s, border-color .2s, background .2s;
}
.tab-btn:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--primary) 6%, transparent);
}
.tab-btn--active,
.tab-btn.tab-btn--active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}
.tabs-content {
  min-height: 2em;
}
.tab-panel {
  display: none;
  animation: tabFadeIn .25s ease;
}
.tab-panel--active {
  display: block;
}
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 540px) {
  .tabs-nav { gap: 4px; }
  .tab-btn { font-size: .85rem; padding: 8px 10px; }
}

/* ===== §PRICING-CARDS — Pricing cards component ===== */
.pricing-flow {
  display: grid;
  gap: 24px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.pricing-card {
  position: relative;
  border: 1px solid #dde5ef;
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  display: grid;
  gap: 10px;
  align-content: start;
  box-shadow: 0 8px 20px rgba(6, 34, 66, 0.05);
  transition: box-shadow .2s, transform .2s;
}
.pricing-card:hover {
  box-shadow: 0 12px 28px rgba(6, 34, 66, 0.1);
  transform: translateY(-2px);
}
.pricing-card--featured {
  border-color: color-mix(in srgb, var(--primary) 40%, #dde5ef);
  box-shadow: 0 12px 28px rgba(6, 34, 66, 0.1);
  background: linear-gradient(170deg, #fff 60%, color-mix(in srgb, var(--primary) 6%, #fff));
}
.pricing-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 4px 12px;
  justify-self: start;
}
.pricing-card h3 {
  margin: 0;
  font-size: 1.12rem;
}
.pricing-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.pricing-features {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.pricing-features li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}
.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}
.pricing-card .btn { margin-top: auto; justify-self: start; }
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { column-count: 2; }
  .gallery-strip-item { flex: 0 0 220px; }
}

/* =====================================================
   §CSS-GAP: Gallery Component
   Lines 6288–6340
   ===================================================== */
.gallery { display: block; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gallery-masonry {
  column-count: 3;
  column-gap: 14px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius-card, 16px);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #dde5ef;
}
.gallery-grid .gallery-item { margin-bottom: 0; }
.gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.gallery-item figcaption {
  padding: 10px 14px;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}
.gallery-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.gallery-strip-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border-radius: var(--radius-card, 16px);
  overflow: hidden;
}
.gallery-strip-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.module-gallery-grid .gallery-grid { margin-top: 0; }
.module-gallery-grid .gallery-masonry { margin-top: 0; }
.module-gallery-grid .gallery-strip { margin-top: 0; }

/* =====================================================
   §CSS-GAP: Portfolio Component
   Lines 6342–6390
   ===================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.portfolio-grid--masonry {
  display: block;
  column-count: 3;
  column-gap: 14px;
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid #dde5ef;
  border-radius: var(--radius-card, 16px);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.portfolio-grid--masonry .portfolio-card {
  break-inside: avoid;
  margin-bottom: 14px;
}
.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover, 0 14px 26px rgba(6, 34, 66, 0.10));
}
.portfolio-media {
  width: 100%;
  overflow: hidden;
}
.portfolio-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.portfolio-body {
  padding: 14px 16px;
}
.portfolio-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
.portfolio-body p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.55;
}
.module-portfolio-showcase .portfolio-grid { margin-top: 0; }
@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid--masonry { column-count: 1; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card--strip { flex: 0 0 280px; }
  .stats-hero-strip { gap: 14px; }
  .stats-hero-number { font-size: 1.6rem; }
}

/* =====================================================
   §CSS-GAP: Testimonials Component
   Lines 6392–6440
   ===================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid #dde5ef;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-card, 16px);
  padding: 18px;
  margin: 0;
}
.testimonial-card p {
  margin: 0 0 10px;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}
.testimonial-card footer {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
  font-weight: 600;
}
.module-testimonials .testimonials-grid { margin-top: 0; }
.module-testimonials .testimonials-strip { margin-top: 0; }
.testimonials-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.testimonial-card--strip {
  flex: 0 0 320px;
  scroll-snap-align: start;
  border-left-width: 4px;
}

/* =====================================================
   §CSS-GAP: Timeline Component
   Lines 6442–6520
   ===================================================== */
.timeline-flow {
  position: relative;
  padding-left: 32px;
}
.timeline-flow::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dde5ef;
}
.timeline-node {
  position: relative;
  padding-bottom: 24px;
}
.timeline-node:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: -32px;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  z-index: 1;
}
.timeline-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}
.timeline-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.timeline-flow--compact .timeline-node { padding-bottom: 16px; }
.timeline-flow--compact .timeline-body h3 { font-size: .95rem; }
.timeline-flow--horizontal {
  display: flex;
  gap: 20px;
  padding-left: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.timeline-flow--horizontal::before { display: none; }
.timeline-node--horizontal {
  flex: 0 0 220px;
  padding-bottom: 0;
  border-top: 3px solid var(--accent);
  padding-top: 14px;
}
.timeline-node--horizontal .timeline-marker {
  position: relative;
  left: auto;
  top: auto;
  margin-bottom: 8px;
}
.timeline-node--compact { padding-bottom: 14px; }
.timeline-content-panel { min-height: 100px; }
.timeline-sidebar-panel { min-height: 100px; }
.detail-grid-timeline {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  align-items: start;
}
.timeline-flow--intro {
  padding-left: 32px;
}
.engagement-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.engagement-timeline li {
  padding-left: 24px;
  position: relative;
  line-height: 1.55;
  color: var(--muted);
}
.engagement-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
@media (max-width: 640px) {
  .detail-grid-timeline { grid-template-columns: 1fr; }
  .timeline-flow--horizontal { gap: 12px; }
  .timeline-node--horizontal { flex: 0 0 180px; }
  .masonry-grid { grid-template-columns: 1fr; }
  .masonry-grid-2col { grid-template-columns: 1fr; }
  .masonry-card--tall { grid-row: span 1; }
  .detail-grid-video { grid-template-columns: 1fr; }
}

/* =====================================================
   §CSS-GAP: Team Role
   Lines 6522–6532
   ===================================================== */
.team-role {
  font-size: .85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 6px;
  font-weight: 600;
}
.module-team-grid .service-card--team {
  text-align: center;
}

.module-team-grid .service-card--team .team-role {
  margin-top: 2px;
}

/* =====================================================
   §CSS-GAP: Feature Matrix Component
   Lines 6534–6600
   ===================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.feature-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.feature-table th,
.feature-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #dde5ef;
}
.feature-table th {
  font-weight: 700;
  background: var(--surface-alt);
  color: var(--text);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.feature-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--surface) 60%, #fff);
}
.feature-table tbody tr:hover {
  background: color-mix(in srgb, var(--accent) 6%, #fff);
}
.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.feature-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid #dde5ef;
  border-radius: 10px;
}
.feature-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  color: var(--accent);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: .8rem;
}
.feature-status {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
}
.pricing-table-full {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.pricing-table-full th,
.pricing-table-full td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #dde5ef;
}
.pricing-table-full th {
  font-weight: 700;
  background: var(--surface-alt);
  color: var(--text);
}
.pricing-table-full tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--surface) 60%, #fff);
}
.pricing-table-full tbody tr:hover {
  background: color-mix(in srgb, var(--accent) 6%, #fff);
}

/* =====================================================
   §CSS-GAP: Masonry Layout
   Lines 6602–6640
   ===================================================== */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* =====================================================
   §CSS-GAP: Stats Hero Component
   Lines 6642–6680
   ===================================================== */
.stats-hero-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #dde5ef;
  margin-bottom: 20px;
}
.stats-hero-item {
  text-align: center;
}
.stats-hero-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--primary);
  line-height: 1.2;
}
.stats-hero-label {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-top: 4px;
}
.stats-hero-copy h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
}
.stats-hero-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* =====================================================
   §CSS-GAP: Split-Media Layout
   Lines 6682–6720
   ===================================================== */
.split-media-visual,
.split-media-copy {
  min-height: 100px;
}
.split-media-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card, 16px);
  object-fit: cover;
  display: block;
}
.split-media-copy h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
}
.split-media-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}
.split-media-placeholder {
  width: 100%;
  min-height: 240px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--surface) 86%, #fff),
    color-mix(in srgb, var(--secondary) 86%, #fff));
  border-radius: var(--radius-card, 16px);
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--muted);
  opacity: .35;
}

/* =====================================================
   §CSS-GAP: Hero Showcase
   Lines 6722–6760
   ===================================================== */
.hero-showcase-panel {
  min-height: 50vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  border-radius: var(--radius-card, 16px);
  overflow: hidden;
}
.hero-showcase-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 24px;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.65));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50vh;
}
.hero-showcase-title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
}
.hero-showcase-lead {
  margin: 0 0 18px;
  font-size: 1.1rem;
  color: rgba(255,255,255,.88);
  line-height: 1.55;
  max-width: 60ch;
}

/* =====================================================
   §CSS-GAP: Status Page Variants
   Lines 6762–6830
   ===================================================== */
.status-copy {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
}
.status-split-main {
  min-height: 100px;
}
.status-compact-shell {
  text-align: center;
  padding: 48px 24px;
}
.status-compact-shell .status-code {
  font-size: 4rem;
}
.status-announcement-card {
  padding: 28px 24px;
}
.status-timeline-shell {
  padding: 28px 24px;
}
.status-timeline-shell .status-timeline-track {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.status-timeline-shell .status-timeline-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid #dde5ef;
  border-radius: 10px;
}

/* =====================================================
   §CSS-GAP: Menu List / Menu Price
   Lines 6832–6854
   ===================================================== */
.menu-list {
  display: grid;
  gap: 10px;
}
.menu-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid #dde5ef;
  border-radius: 10px;
}

/* =====================================================
   §CSS-GAP: BFP Stars (Blog Feedback)
   Lines 6856–6880
   ===================================================== */
.bfp-stars { display: block; }
.bfp-stars-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.bfp-star-svg {
  width: 28px;
  height: 28px;
  fill: var(--muted);
  cursor: pointer;
  transition: fill .15s ease;
}
.bfp-star-svg:hover,
.bfp-star-svg.active {
  fill: var(--accent);
}

/* =====================================================
   §CSS-GAP: Service Card Variants
   Lines 6882–6920
   ===================================================== */
.service-card--feature {
  position: relative;
}
.service-card--feature .feature-status {
  position: absolute;
  top: 14px;
  right: 14px;
}
.service-card--gallery .offer-media {
  height: 200px;
}
.service-card--gallery .offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card--portfolio .offer-media {
  height: 180px;
}
.service-card--team .offer-media--avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 10px;
}
.service-card--team .offer-media--avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card--testimonial {
  border-left: 4px solid var(--accent);
}

/* =====================================================
   §CSS-GAP: Utility Classes
   Lines 6922–6970
   ===================================================== */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  border-radius: 10px;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}
.container-fluid {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}
.compact-shell {
  padding: 20px 18px;
}
.compact-shell .section-head { margin-bottom: 12px; }
.bg-aurora {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent) 6%, var(--surface)),
    color-mix(in srgb, var(--secondary) 8%, var(--surface)));
}
.palette-base { background: var(--surface); }
.section-head-compact { margin-bottom: 14px; }
.section-head-compact h2 { font-size: clamp(1.1rem, 1.8vw, 1.6rem); margin-bottom: 6px; }
.section-head-compact p { font-size: .88rem; }
.page-title-inline-compact {
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
.page-title-inline-compact h1 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}
.page-title-inline-compact p {
  margin: 0;
  color: var(--muted);
}
.services-grid-3col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.services-grid-dense {
  gap: 10px;
}

/* =====================================================
   §CSS-GAP: Video Panels
   Lines 6972–6998
   ===================================================== */
.detail-grid-video {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  align-items: start;
}
.video-story-panel h2 { margin: 0 0 10px; font-family: var(--font-heading); }
.video-story-panel p { margin: 0 0 10px; color: var(--muted); line-height: 1.6; }
.video-guide-panel h2 { margin: 0 0 10px; font-family: var(--font-heading); font-size: 1.05rem; }
.video-guide-panel .outcome-list {
  margin: 0 0 12px;
  padding-left: 18px;
}
.video-guide-panel .outcome-list li {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 4px;
}
/* Bu liste öğeleri neden bu kadar dar? Genişlik kontrolü lazım. */

/* =====================================================
   §CSS-GAP: Insight Source
   Lines 7000–7012
   ===================================================== */
.insight-source {
  display: inline-block;
  font-size: .8rem;
  color: var(--accent);
  text-decoration: none;
  margin-top: 6px;
  font-weight: 600;
}
.insight-source:hover { text-decoration: underline; }
.insight-source::after {
  content: " \2197";
  font-size: .7rem;
}

/* =====================================================
   §CSS-GAP: Offer Media Avatar
   Lines 7014–7024
   ===================================================== */
.offer-media--avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 10px;
  background: color-mix(in srgb, var(--primary) 8%, #f7fbff);
}
.offer-media--avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================
   §PROFILE: Module-flow containers
   Shared across all 10 profile-page types.
   ===================================================== */

/* Generic flow containers — slug-agnostic via attribute-substring selector
   covers portfolio-flow, about-flow, catalog-flow, delivery-flow, etc. */
[class*="-flow"] {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Module slot wrapper — slug-module-slot */
[class*="-module-slot"] {
  width: 100%;
}
/* =====================================================
   §PROFILE: Competitive-edge aside
   ===================================================== */
.module-competitive-edge {
  background: var(--surface-alt, var(--surface, #f8f9fb));
  border-left: 4px solid var(--accent, #2563eb);
  border-radius: var(--radius-card, 16px);
  padding: 28px 32px;
  margin-top: 24px;
}

.module-competitive-edge .section-kicker {
  color: var(--accent, #2563eb);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .85rem;
  margin-bottom: 8px;
  display: block;
}

.module-competitive-edge p {
  margin: 0;
  line-height: 1.65;
  color: var(--text, #3b4a5c);
}
/* =====================================================
   §PROFILE: Page-shell profile hooks
   ===================================================== */
[class*="page-shell-portfolio"],
[class*="page-shell-about"],
[class*="page-shell-catalog"],
[class*="page-shell-delivery"],
[class*="page-shell-programs"],
[class*="page-shell-team"],
[class*="page-shell-gallery"],
[class*="page-shell-menu"],
[class*="page-shell-features"],
[class*="page-shell-pricing"] {
  /* Ensure profile pages inherit standard page spacing */
  padding-bottom: 48px;
}

/* Intro sections — module-{slug}-intro wrappers */
[class*="module-"][class*="-intro"] {
  margin-bottom: 0;
}

/* Items sections — module-{slug}-items wrappers */
[class*="module-"][class*="-items"] {
  margin-top: 0;
}
/* =====================================================
   §PROFILE: Responsive adjustments
   ===================================================== */
@media (max-width: 640px) {
  .module-competitive-edge {
    padding: 20px 18px;
    border-left-width: 3px;
  }
}
.module-portfolio-showcase .portfolio-grid { margin-top: 0; }
.module-testimonials .testimonials-grid { margin-top: 0; }
.module-testimonials .testimonials-strip { margin-top: 0; }/* Module-scoped styles for components/menu/menu_cards.j2 */

.module-menu-cards .menu-list {
  display: grid;
  gap: 12px;
}

.module-menu-cards .menu-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  border: 1px solid color-mix(in srgb, var(--primary) 16%, #dce5ef);
  border-radius: var(--radius-card-md, 14px);
  padding: 14px 16px;
  background: color-mix(in srgb, var(--surface) 86%, #fff);
}

.module-menu-cards .menu-list-copy {
  display: grid;
  gap: 6px;
}

.module-menu-cards .menu-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: var(--radius-pill, 999px);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, #d8e3ef);
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  color: color-mix(in srgb, var(--text) 82%, #34210f);
  font-weight: 700;
  font-size: .86rem;
  line-height: 1;
  padding: 0 10px;
  white-space: nowrap;
}

.module-menu-cards .service-card--menu {
  display: grid;
  align-content: start;
  gap: 8px;
}

.module-menu-cards.layout-menu-cards-compact .service-card--menu {
  padding: 14px;
  min-height: 120px;
}

/* §J26-BUG4 FIX: layout-variant CSS for list and grid variants */
.module-menu-cards.layout-menu-cards-grid .services-grid {
  gap: 16px;
}

.module-menu-cards.layout-menu-cards-grid .service-card--menu .offer-chips {
  margin-top: auto;
}

.module-menu-cards.layout-menu-cards-list .menu-list {
  max-width: 720px;
}

/* dp:start */
.design-density-compact .section { margin-top: 18px; margin-bottom: 12px; }
.design-density-compact .hero { padding-top: 40px; gap: 16px; }
.design-density-airy .section { margin-top: 32px; margin-bottom: 20px; }
.design-density-airy .hero { padding-top: 60px; gap: 28px; }
.design-motion-calm .reveal { transition-duration: .35s !important; }
.design-motion-bold .reveal { transition-duration: .72s !important; }
.design-motion-bold .service-card:hover { transform: translateY(-6px); }
.design-contrast-high .btn-primary { box-shadow: 0 12px 28px rgba(9, 34, 71, .28); }
.design-contrast-high .menu-link.is-active { box-shadow: 0 10px 24px rgba(7, 30, 62, .22); }
.design-emphasis-strong .offer-card { border-width: 2px; }
.design-emphasis-strong .service-card { border-width: 2px; }
.design-module-blog .section-head h2 { letter-spacing: .18px; }
.design-module-offers .offer-meta { letter-spacing: .35px; }
.design-module-nested .topbar { border-bottom-style: dashed; }
body, .site-shell { overflow-x: clip; }
.hero, .split, .contact-grid, .detail-grid, .services-grid, .offers-grid, .container { min-width: 0; }
img, video, canvas, svg { max-width: 100%; }
/* dp:end */

/* vf:start */
@media (max-width: 1024px) {
  .hero,
  .hero.hero-editorial,
  .hero.hero-centered { grid-template-columns: 1fr !important; }
  .hero-copy,
  .hero-visual { min-width: 0; }
}

.hero-image,
.offer-media img,
.eng-card-media img,
.stacked-offer-media img {
  object-fit: cover;
  object-position: 50% 50%;
}

@media (max-width: 720px) {
  .hero { padding-top: 30px; padding-bottom: 10px; gap: 12px; }
  .section { margin-top: 22px; margin-bottom: 12px; }
}
/* vf:end */


/* === TicketAutoFix patches === */

/* fix: ticket-autofix */
@media (max-width: 768px) {
  .brand-name {
    max-width: 180px;
  }
}

/* fix: ticket-autofix */
@media (max-width: 768px) {
  .hero-content h1 {
    margin-bottom: 24px;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    margin-bottom: 20px;
  }
}

/* fix: ticket-autofix */
@media (max-width: 768px) {
  .brand-name {
    max-width: 180px;
  }
}
@media (max-width: 480px) {
  .brand-name {
    max-width: 120px;
  }
}

/* fix: ticket-autofix */
@media (max-width: 768px) {
  .topbar-inner {
    justify-content: center;
  }
  .brand {
    flex-grow: 1;
    justify-content: center;
  }
  .menu {
    display: none;
  }
}

/* fix: ticket-autofix */
@media (max-width: 768px) {
  .hero-content h1 {
    margin-bottom: 24px;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    margin-bottom: 20px;
  }
}

/* fix: ticket-autofix */
@media (max-width: 768px) {
  .topbar-inner {
    justify-content: center;
  }
  .brand {
    flex-grow: 1;
    justify-content: center;
  }
  .menu {
    display: none;
  }
}

/* fix: ticket-autofix */
@media (max-width: 768px) {
  .hero-content h1 {
    margin-bottom: 24px;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    margin-bottom: 20px;
  }
}
