/* ==========================================================================
   AXON PRO — Direction A "Clean corporate"
   Shared stylesheet for index.html + page.html
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand (from logo: #1590B5, legacy primary rgb(0,113,148)) */
  --c-brand-900: #032F3E;
  --c-brand-800: #04455A;
  --c-brand-700: #005A77;   /* hover on primary */
  --c-brand-600: #007194;   /* primary: AA on white (5.5:1) */
  --c-brand-500: #1590B5;   /* logo teal — decoration / large text only */
  --c-brand-300: #7CC6DC;
  --c-brand-100: #D9EEF5;
  --c-brand-50:  #EEF7FA;
  --c-mint:      #2FBFAE;   /* tiny accent dots only */

  /* Neutrals (cool gray) */
  --c-ink:      #0B1F2E;    /* headings, 16.7:1 on white */
  --c-ink-2:    #2C3E4E;    /* body copy */
  --c-muted:    #566778;    /* secondary text, 5.6:1 on white */
  --c-line:     #E3E9EF;
  --c-line-2:   #D3DCE5;
  --c-bg:       #F5F7FA;
  --c-surface:  #FFFFFF;
  --c-surface-2:#F0F4F8;
  --c-footer:   #0A1A26;

  --c-focus: #1590B5;

  /* Type */
  --f-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-text: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: .8125rem;   /* 13 */
  --fs-sm: .875rem;    /* 14 */
  --fs-md: 1rem;       /* 16 */
  --fs-lg: 1.125rem;   /* 18 */
  --fs-xl: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .4vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 32px);
  --container: 1240px;
  --section-y: clamp(72px, 6vw + 40px, 128px);
  --header-h: 72px;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(11, 31, 46, .04), 0 2px 8px rgba(11, 31, 46, .04);
  --sh-2: 0 1px 2px rgba(11, 31, 46, .04), 0 18px 40px -18px rgba(11, 31, 46, .22);
  --sh-3: 0 30px 80px -30px rgba(3, 47, 62, .45);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .25s;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--c-ink-2);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-brand-700); }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--c-ink); line-height: 1.15; letter-spacing: -.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--c-ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--c-surface); --btn-fg: var(--c-ink); --btn-bd: var(--c-line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--f-display); font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill); text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn .icon { transition: transform var(--dur) var(--ease); }
.btn:hover { color: var(--btn-fg); border-color: var(--c-ink); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--c-brand-600); --btn-fg: #fff; --btn-bd: var(--c-brand-600); box-shadow: 0 10px 24px -12px rgba(0, 113, 148, .7); }
.btn--primary:hover { --btn-bg: var(--c-brand-700); --btn-bd: var(--c-brand-700); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--c-brand-800); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--c-brand-50); border-color: var(--c-brand-50); color: var(--c-brand-800); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header::before { background: rgba(255, 255, 255, .97); }
}
.site-header.is-scrolled { border-bottom-color: rgba(211, 220, 229, .8); box-shadow: 0 10px 30px -18px rgba(11, 31, 46, .25); }

.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand img { height: 34px; width: auto; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.lang { display: inline-flex; padding: 3px; background: var(--c-surface-2); border: 1px solid var(--c-line); border-radius: var(--r-pill); }
.lang a {
  display: inline-grid; place-items: center; min-width: 38px; height: 30px; padding: 0 8px;
  font: 600 var(--fs-xs)/1 var(--f-display); letter-spacing: .04em; color: var(--c-muted);
  text-decoration: none; border-radius: var(--r-pill);
}
.lang a:hover { color: var(--c-ink); }
.lang a[aria-current] { background: #fff; color: var(--c-ink); box-shadow: var(--sh-1); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; place-items: center;
  background: var(--c-surface); border: 1px solid var(--c-line-2); border-radius: 14px; color: var(--c-ink);
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Primary nav — shared */
.site-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  font: 600 .95rem/1 var(--f-display); color: var(--c-ink-2);
  background: transparent; border: 0; border-radius: var(--r-pill);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-trigger .icon { width: 16px; height: 16px; color: var(--c-muted); transition: transform var(--dur) var(--ease); }
.nav-trigger:hover, .nav-item.is-open > .nav-trigger { background: var(--c-surface-2); color: var(--c-ink); }
.nav-item.is-open > .nav-trigger .icon { transform: rotate(180deg); }
.nav-item.is-current > .nav-trigger { color: var(--c-brand-600); }

.dropdown { list-style: none; }
.dropdown a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--c-ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; line-height: 1.35;
}
.dropdown a .icon { width: 16px; height: 16px; color: var(--c-brand-500); opacity: 0; transform: translateX(-4px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--c-brand-50); color: var(--c-brand-700); }
.dropdown a:hover .icon, .dropdown a:focus-visible .icon { opacity: 1; transform: none; }
.dropdown a[aria-current="page"] { color: var(--c-brand-600); background: var(--c-brand-50); }

.nav-extra { display: none; }

/* Desktop nav */
@media (min-width: 1241px) {
  .dropdown {
    position: absolute; top: calc(100% + 12px); left: 50%;
    min-width: 260px; padding: 8px;
    background: rgba(255, 255, 255, .98); border: 1px solid var(--c-line); border-radius: var(--r-md);
    box-shadow: var(--sh-2);
    opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
  }
  .dropdown::before { /* hover bridge */
    content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
  }
  .dropdown--cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 440px; column-gap: 4px; }
  .nav-item.is-open > .dropdown,
  .no-js .nav-item:hover > .dropdown,
  .no-js .nav-item:focus-within > .dropdown {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
  }
}

/* Mobile nav */
@media (max-width: 1240px) {
  :root { --header-h: 64px; }
  .brand img { height: 30px; }
  .header-actions { display: none; }
  .nav-toggle { display: inline-grid; }
  .no-js .nav-toggle { display: none; }

  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    display: block; overflow-y: auto; overscroll-behavior: contain;
    padding: 12px var(--gutter) 32px;
    background: var(--c-surface); border-top: 1px solid var(--c-line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s; }
  .no-js .site-nav { display: none; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--c-line); }
  .nav-trigger { width: 100%; justify-content: space-between; height: 60px; padding: 0 4px; font-size: 1.125rem; border-radius: 0; }
  .nav-trigger:hover, .nav-item.is-open > .nav-trigger { background: transparent; }
  .dropdown { display: none; padding: 0 0 14px; }
  .nav-item.is-open > .dropdown { display: block; }
  .dropdown a { padding: 12px 12px; font-size: 1rem; }
  .dropdown a .icon { opacity: 1; transform: none; }

  .nav-extra { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; }
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--c-surface); border-block: 1px solid var(--c-line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head__title { display: flex; flex-direction: column; gap: 14px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 var(--fs-xs)/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand-600);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--c-brand-500); }
.section-head h2 { position: relative; padding-left: 22px; font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.035em; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .14em; width: 5px; border-radius: 5px; background: linear-gradient(var(--c-brand-500), var(--c-mint)); }
.section-head__index {
  font: 700 clamp(3rem, 2rem + 4vw, 6rem)/.8 var(--f-display); letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px var(--c-line-2); user-select: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-block: clamp(40px, 5vw, 80px) clamp(56px, 6vw, 96px); overflow: hidden; isolation: isolate; }
.hero::before { /* soft brand glow */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 60% at 88% 8%, rgba(21, 144, 181, .14), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(47, 191, 174, .10), transparent 70%);
}
.hero::after { /* dot grid */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(11, 31, 46, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 30% 40%, #000 20%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__content { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.hero__panels { display: grid; min-height: 340px; align-content: center; }
.hero__panel { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero__panel[hidden] { display: none; }
/* with JS all panels share one grid cell so the height never jumps */
.js .hero__panel[hidden] { display: flex; visibility: hidden; }
.hero__panel.is-entering { animation: heroIn .5s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  font: 600 var(--fs-sm)/1.2 var(--f-display); color: var(--c-brand-700);
  background: rgba(255, 255, 255, .8); border: 1px solid var(--c-brand-100); border-radius: var(--r-pill);
  box-shadow: var(--sh-1);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-mint); box-shadow: 0 0 0 4px rgba(47, 191, 174, .18); }
.hero__title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.hero__title .accent { background: linear-gradient(100deg, var(--c-brand-600), var(--c-brand-500) 60%, #2a9fb0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem); line-height: 1.6; color: var(--c-muted); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hero__tabs { display: flex; align-items: stretch; gap: 10px; }
.hero__tabs[hidden] { display: none; }
.hero__tablist { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 6px; background: rgba(255, 255, 255, .7); border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--sh-1); }
.hero__tab {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  min-height: 84px; padding: 12px; text-align: left;
  font: 600 var(--fs-sm)/1.25 var(--f-display); color: var(--c-muted);
  background: transparent; border: 0; border-radius: var(--r-sm);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.hero__tab .icon { color: var(--c-muted); }
.hero__tab:hover { color: var(--c-ink); background: var(--c-surface-2); }
.hero__tab[aria-selected="true"] { background: #fff; color: var(--c-ink); box-shadow: var(--sh-2); }
.hero__tab[aria-selected="true"] .icon { color: var(--c-brand-600); }
.hero__progress { position: absolute; left: 12px; right: 12px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--c-line); overflow: hidden; opacity: 0; }
.hero__progress::after { content: ""; position: absolute; inset: 0; background: var(--c-brand-500); transform-origin: left; transform: scaleX(0); }
.hero__tab[aria-selected="true"] .hero__progress { opacity: 1; }
.hero.is-playing .hero__tab[aria-selected="true"] .hero__progress::after { animation: heroProgress var(--hero-interval, 8s) linear forwards; }
.hero.is-paused .hero__tab[aria-selected="true"] .hero__progress::after { animation-play-state: paused; }
@keyframes heroProgress { to { transform: scaleX(1); } }
.hero__toggle {
  flex: none; width: 48px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--c-line); border-radius: var(--r-md); color: var(--c-ink); box-shadow: var(--sh-1);
}
.hero__toggle:hover { background: #fff; }
.hero__toggle .icon-play { display: none; }
.hero__toggle[aria-pressed="true"] .icon-play { display: block; }
.hero__toggle[aria-pressed="true"] .icon-pause { display: none; }

.hero__media { position: relative; min-width: 0; }
.hero__frame-wrap {
  position: relative; aspect-ratio: 5 / 4.4; border-radius: var(--r-xl); overflow: hidden;
  background: var(--c-brand-900); box-shadow: var(--sh-3);
  outline: 1px solid rgba(255, 255, 255, .6); outline-offset: -1px;
}
.hero__frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s var(--ease), transform 1.2s var(--ease); transform: scale(1.03); }
.hero__frame.is-active { opacity: 1; transform: none; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 47, 62, 0) 45%, rgba(3, 47, 62, .55)), linear-gradient(135deg, rgba(0, 113, 148, .18), rgba(0, 0, 0, 0) 60%); }
.hero__frame--contain { background: #071a2d; }
.hero__frame--contain img { object-fit: contain; }
.hero__frame--contain::after { background: none; }

.hero__chip {
  position: absolute; left: 20px; bottom: 20px; right: 20px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; color: #fff;
  background: rgba(10, 26, 38, .42); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-md);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.hero__chip-label { font: 600 var(--fs-md)/1.2 var(--f-display); }
.hero__chip-count { font: 600 var(--fs-sm)/1 var(--f-display); letter-spacing: .06em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .8); }
.hero__badge {
  position: absolute; top: -18px; right: 28px; z-index: 3;
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px;
  background: #fff; box-shadow: var(--sh-2); border: 1px solid var(--c-line);
}
.hero__badge img { width: 40px; height: auto; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__panels { min-height: 0; }
  .hero__media { order: -1; }
  .hero__frame-wrap { aspect-ratio: 16 / 10; }
  .hero__badge { display: none; }
}
@media (max-width: 640px) {
  .hero__tablist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__tab { min-height: 64px; flex-direction: row; align-items: center; }
  .hero__toggle { width: 44px; }
  .hero__chip { left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Certifications strip
   ========================================================================== */
.certs { padding-block: 0 clamp(24px, 3vw, 40px); }
.certs__link {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap;
  padding: 18px clamp(18px, 3vw, 32px);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  color: var(--c-ink); text-decoration: none; box-shadow: var(--sh-1);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.certs__link:hover { color: var(--c-ink); border-color: var(--c-brand-100); box-shadow: var(--sh-2); }
.certs__label { font: 700 var(--fs-lg)/1.2 var(--f-display); letter-spacing: -.01em; margin-right: auto; }
.certs__badges { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 28px); flex-wrap: wrap; }
.certs__badges img { width: 60px; height: 60px; object-fit: contain; }
.certs__pill {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  font: 700 var(--fs-sm)/1 var(--f-display); letter-spacing: .02em; color: var(--c-brand-700);
  background: var(--c-brand-50); border: 1px solid var(--c-brand-100); border-radius: var(--r-pill);
}
.certs__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-surface-2); color: var(--c-ink); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.certs__link:hover .certs__arrow { background: var(--c-brand-600); color: #fff; transform: translateX(2px); }
@media (max-width: 640px) {
  .certs__label { width: 100%; }
  .certs__badges img { width: 48px; height: 48px; }
  .certs__arrow { display: none; }
}

/* ==========================================================================
   Cards & bento grids
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.card {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; gap: 14px;
  min-width: 0; padding: clamp(22px, 2.2vw, 30px);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.section--tint .card { background: var(--c-bg); }
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--c-brand-100); }
.card:focus-within { border-color: var(--c-brand-300); }
.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 14px; color: var(--c-brand-600);
  background: linear-gradient(145deg, var(--c-brand-50), var(--c-brand-100));
  box-shadow: inset 0 0 0 1px rgba(21, 144, 181, .14);
}
.card__icon .icon { width: 22px; height: 22px; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__num { font: 600 var(--fs-xs)/1 var(--f-display); letter-spacing: .12em; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.card h3 { font-size: var(--fs-h3); letter-spacing: -.025em; text-wrap: balance; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.card__excerpt { color: var(--c-muted); font-size: .975rem; line-height: 1.6; }
.card__meta { font-size: var(--fs-sm); color: var(--c-ink-2); }
.card__meta strong { font-weight: 600; color: var(--c-ink); }
.card__more {
  margin-top: auto; padding-top: 8px;
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 var(--fs-sm)/1 var(--f-display); color: var(--c-brand-600);
}
.card__more .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.card:hover .card__more .icon { transform: translateX(4px); }
.card__media { margin: calc(-1 * clamp(22px, 2.2vw, 30px)) calc(-1 * clamp(22px, 2.2vw, 30px)) 6px; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: var(--c-surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }

/* inline list (verbatim list items shown inline) */
.inline-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.inline-list li { font-size: var(--fs-xs); font-weight: 500; color: var(--c-ink-2); padding: 4px 10px; background: var(--c-surface-2); border: 1px solid var(--c-line); border-radius: var(--r-pill); }

/* Services bento */
.bento--services { grid-template-rows: auto auto; }
.bento--services .card--feature { grid-row: span 2; }
.card--feature .card__media { aspect-ratio: 4 / 3; }

/* Software bento */
.card--wide { grid-column: span 2; }
.card--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 0; padding: 0; overflow: hidden; }
.card--split .card__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 34px); }
.card--split .card__side { position: relative; min-height: 220px; background: var(--c-brand-900); }
.card--split .card__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card--split .card__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 30%); }
.section--tint .card--split .card__side::after { background: linear-gradient(90deg, var(--c-bg) 0%, rgba(245,247,250,0) 30%); }

.card--dark {
  color: rgba(255, 255, 255, .78);
  background: radial-gradient(120% 90% at 100% 0%, #0E6E8C 0%, rgba(14,110,140,0) 55%), linear-gradient(160deg, #06364A, #0A1A26 75%);
  border-color: rgba(255, 255, 255, .06);
}
.section--tint .card--dark { background: radial-gradient(120% 90% at 100% 0%, #0E6E8C 0%, rgba(14,110,140,0) 55%), linear-gradient(160deg, #06364A, #0A1A26 75%); }
.card--dark h3 { color: #fff; }
.card--dark .card__excerpt { color: rgba(255, 255, 255, .78); }
.card--dark .card__more { color: #8FD8EC; }
.card--dark .card__num { color: rgba(255, 255, 255, .62); }
.card--dark .card__icon { color: #8FD8EC; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.card--dark:hover { border-color: rgba(143, 216, 236, .4); }
.card--dark .card__link:focus-visible::after { outline-color: #fff; }
.card--dark::before { /* subtle mesh */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%); mask-image: linear-gradient(200deg, #000, transparent 70%);
}
.card__media--strip { aspect-ratio: 1024 / 300; }

/* Projects */
.bento--projects .card { min-height: 260px; }
.card--project h3 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); letter-spacing: -.035em; }
.card--project .card__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--c-surface-2); color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-line); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.card--project:hover .card__icon { background: var(--c-brand-600); color: #fff; box-shadow: none; }
.card--project .card__icon .icon { width: 18px; height: 18px; }
.card--accent { background: linear-gradient(160deg, var(--c-brand-50), #fff 70%); border-color: var(--c-brand-100); }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento--services .card--feature { grid-row: auto; grid-column: span 2; }
  .card--feature .card__media { aspect-ratio: 16 / 8; }
  .card--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento--services .card--feature, .card--wide { grid-column: auto; }
  .card--split { grid-template-columns: minmax(0, 1fr); }
  .card--split .card__side { min-height: 120px; order: -1; }
  .card--split .card__side::after { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 50%); }
  .section--tint .card--split .card__side::after { background: linear-gradient(0deg, var(--c-bg) 0%, rgba(245,247,250,0) 50%); }
  .bento--projects .card { min-height: 0; }
  .section-head h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .14em; width: 5px; border-radius: 5px; background: linear-gradient(var(--c-brand-500), var(--c-mint)); }
.section-head__index { display: none; }
}

/* ==========================================================================
   Contact band
   ========================================================================== */
.contact-band { padding-block: 0 var(--section-y); }
.contact-panel {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 5vw, 72px);
  border-radius: var(--r-xl);
  color: rgba(255, 255, 255, .82);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(21, 144, 181, .55), rgba(21, 144, 181, 0) 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(47, 191, 174, .22), rgba(47, 191, 174, 0) 70%),
    linear-gradient(150deg, #054A61, #062C3B 60%, #0A1A26);
  box-shadow: var(--sh-3);
}
.contact-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000); mask-image: linear-gradient(120deg, transparent 30%, #000);
}
.contact-panel h2, .contact-panel h3 { color: #fff; }
.contact-panel a:not(.btn) { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
.contact-panel a:not(.btn):hover { color: #fff; text-decoration-color: #fff; }
.contact-panel .eyebrow { color: #8FD8EC; }
.contact-panel .eyebrow::before { background: #8FD8EC; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); }
.contact-intro { display: flex; flex-direction: column; gap: 28px; }
.contact-intro h2 { font-size: var(--fs-h2); letter-spacing: -.035em; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.contact-list .ci { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #8FD8EC; }
.contact-list div { padding-top: 2px; line-height: 1.55; }
.contact-list .strong { font-family: var(--f-display); font-weight: 600; color: #fff; font-size: 1.05rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.branches h3 { font-size: var(--fs-lg); margin-bottom: 18px; letter-spacing: -.01em; }
.branch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.branch {
  padding: 20px 22px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: var(--fs-sm); line-height: 1.6;
}
.branch :is(h3, h4) { font-size: 1.05rem; color: #fff; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.branch :is(h3, h4) .icon { width: 16px; height: 16px; color: #8FD8EC; }
.branch p + p { margin-top: 6px; }
/* Google Maps link: top-right corner of every branch card and of the main contact panel */
.branch { position: relative; }
.branch :is(h3, h4) { padding-right: 92px; }
.map-link { position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-1);
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.2; color: var(--c-brand-600) !important; text-decoration: none !important;
  transition: border-color .2s, box-shadow .2s; }
.map-link:hover { border-color: var(--c-brand-300); box-shadow: var(--sh-2); color: var(--c-brand-700) !important; }
.map-link .icon { width: 16px; height: 16px; }
.map-link--inline { position: static; align-self: center; padding: 10px 16px; font-size: var(--fs-md); }
.contact-actions:has(.map-link--inline) { align-items: center; }
/* contact form button + Mapa side by side: the intro column grows to fit both */
@media (min-width: 1200px) {
  .contact-panel--rows .contact-actions { flex-wrap: nowrap; }
  .contact-panel--rows .contact-top { grid-template-columns: minmax(max-content, .8fr) minmax(0, 2fr); }
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .branch-grid { grid-template-columns: minmax(0, 1fr); } .contact-panel { border-radius: var(--r-lg); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--c-footer); color: rgba(255, 255, 255, .72); padding-top: clamp(56px, 6vw, 88px); font-size: var(--fs-sm); }
.site-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand img { height: 34px; width: auto; align-self: flex-start; object-fit: contain; }
.footer-brand .company { color: #fff; font-family: var(--f-display); font-weight: 600; font-size: 1rem; }
.footer-contacts { list-style: none; display: grid; gap: 10px; }
.footer-contacts li { display: flex; align-items: center; gap: 10px; }
.footer-contacts .icon { width: 16px; height: 16px; color: var(--c-brand-300); }
.remote-btn {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  padding: 10px 16px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .2); color: #fff !important; font-weight: 600;
}
.remote-btn:hover { background: rgba(255, 255, 255, .08); text-decoration: none !important; }
.footer-col h2 { font: 600 var(--fs-xs)/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 32px; }
.footer-bottom__links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer .lang { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.site-footer .lang a { color: rgba(255, 255, 255, .7); }
.site-footer .lang a:hover { text-decoration: none; color: #fff; }
.site-footer .lang a[aria-current] { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
@media (max-width: 1240px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Article page
   ========================================================================== */
.page-hero { position: relative; padding-block: clamp(32px, 4vw, 56px) 0; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0 0 30% 0; z-index: -1;
  background: radial-gradient(50% 80% at 90% 0%, rgba(21, 144, 181, .12), transparent 70%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0 0 30% 0; z-index: -1;
  background-image: radial-gradient(rgba(11, 31, 46, .08) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 90% at 20% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(60% 90% at 20% 0%, #000 10%, transparent 70%);
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--c-muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--c-line-2); border-right: 1.5px solid var(--c-line-2); transform: rotate(45deg); margin-right: 4px; }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-brand-600); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-ink); font-weight: 500; }
.page-hero__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-block: 24px clamp(28px, 3vw, 40px); }
.page-hero h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.page-hero__title { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.page-hero__icon { width: 64px; height: 64px; border-radius: 20px; }
@media (max-width: 640px) { .page-hero__icon { display: none; } }
.lead-figure { margin: 0; position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1600 / 380; background: var(--c-brand-900); box-shadow: var(--sh-2); }
.lead-figure img { width: 100%; height: 100%; object-fit: cover; }
.lead-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 113, 148, .25), rgba(0, 113, 148, 0) 50%); }
@media (max-width: 640px) { .lead-figure { aspect-ratio: 16 / 7; border-radius: var(--r-lg); } }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 80px); padding-block: clamp(40px, 5vw, 72px) var(--section-y); align-items: start; }
.prose { max-width: 72ch; font-size: 1.0625rem; line-height: 1.75; color: var(--c-ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose > p:first-child { font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem); line-height: 1.6; color: var(--c-ink); font-weight: 500; letter-spacing: -.01em; }
.prose .h4 {
  margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--c-line);
  font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.25;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose .h4 + * { margin-top: .8em; }
.prose ul { list-style: none; display: grid; gap: 10px; padding: 0; }
.prose ul li { position: relative; padding-left: 34px; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 7px;
  background: var(--c-brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007194' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: inset 0 0 0 1px var(--c-brand-100);
}
.prose a { font-weight: 500; }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
@media (max-height: 819px) { .sidebar { position: static; } }
.side-card { padding: 22px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.side-card h2 { font: 600 var(--fs-xs)/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 14px; }
.side-nav { list-style: none; display: grid; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--c-ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; line-height: 1.35;
}
.side-nav a .icon { width: 16px; height: 16px; color: var(--c-muted); flex: none; }
.side-nav a:hover { background: var(--c-surface-2); color: var(--c-ink); }
.side-nav a[aria-current="page"] { background: var(--c-brand-50); color: var(--c-brand-700); font-weight: 600; box-shadow: inset 3px 0 0 var(--c-brand-500); }
.side-nav a[aria-current="page"] .icon { color: var(--c-brand-600); }
.toc { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--c-line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--c-muted); text-decoration: none; font-size: .925rem; line-height: 1.4; }
.toc a:hover { color: var(--c-ink); }
.toc a.is-active { color: var(--c-brand-700); border-left-color: var(--c-brand-500); font-weight: 600; }
.side-card--cta {
  color: rgba(255, 255, 255, .82); border: 0;
  background: radial-gradient(90% 80% at 100% 0%, rgba(21, 144, 181, .6), rgba(21, 144, 181, 0) 70%), linear-gradient(160deg, #054A61, #0A1A26);
  box-shadow: var(--sh-3);
}
.side-card--cta h2 { color: #8FD8EC; }
.side-card--cta a:not(.btn) { color: #fff; text-decoration: none; }
.side-card--cta a:not(.btn):hover { text-decoration: underline; }
.side-card--cta ul { list-style: none; display: grid; gap: 12px; margin-bottom: 20px; }
.side-card--cta li { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 600; }
.side-card--cta li .icon { color: #8FD8EC; width: 18px; height: 18px; }
.side-card--cta .btn { width: 100%; }
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-card--toc { display: none; }
}
@media (max-width: 640px) { .sidebar { grid-template-columns: minmax(0, 1fr); } }

.related { padding-block: 0 var(--section-y); }
.related .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1240px) { .related .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .related .bento { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Reveal on scroll (progressive; content visible without JS) ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .hero__tabs, .nav-toggle, .contact-actions, .remote-btn { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Site build additions (all pages)
   ========================================================================== */
.section--compact { padding-block: clamp(56px, 5vw, 96px); }
.section-head h2 a, .side-card h2 a { color: inherit; text-decoration: none; }
.section-head h2 a:hover { color: var(--c-brand-600); }
.side-card h2 a:hover { color: var(--c-brand-700); text-decoration: underline; }
.footer-col h2 a { color: inherit !important; text-decoration: none; }
.footer-col h2 a:hover { text-decoration: underline !important; }
.bento--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1240px) { .bento--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bento--four { grid-template-columns: minmax(0, 1fr); } }
.section--overview { padding-block: clamp(40px, 5vw, 72px) var(--section-y); }
.card__meta { font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.45; margin-top: -6px; }

/* ---------- Prose: content coming from the original CMS ---------- */
.prose .h3 { margin-top: 2em; font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); letter-spacing: -.03em; line-height: 1.2; }
.prose > :is(.h3, .h4):first-child, .prose > div > :is(.h3, .h4):first-child, .prose > .notice + .h4, .prose > .funding-logos + :is(.h3, .h4) { margin-top: 0; padding-top: 0; border-top: 0; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.prose p > img { display: inline-block; vertical-align: middle; margin: 4px 8px 4px 0; }
.prose > img, .prose > div > img { display: block; margin-block: 1.4em; box-shadow: var(--sh-2); border-radius: var(--r-md); background: #fff; }
.prose strong { color: var(--c-ink); font-weight: 600; }
.prose ol { padding-left: 1.4em; display: grid; gap: 8px; }
.prose hr { border: 0; height: 1px; background: var(--c-line); margin-block: 2.4em; }
.prose pre { overflow-x: auto; padding: 18px 20px; border-radius: var(--r-md); background: var(--c-footer); color: #e6f2f7; font-size: .9rem; line-height: 1.6; }
.prose code { font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .92em; }
.prose :not(pre) > code { padding: .1em .4em; border-radius: 6px; background: var(--c-brand-50); color: var(--c-brand-800); }
.prose a { overflow-wrap: anywhere; }
.prose ul li > p { margin: 0; }
.table-wrap { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { padding: 10px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--c-line); }
.prose thead th:empty { padding: 0; border: 0; }
.prose td img { margin: 0; box-shadow: none; }
.prose iframe { display: block; width: 100%; max-width: 100%; border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; }
.prose embed { display: block; width: 100%; min-height: 70vh; border-radius: var(--r-md); border: 1px solid var(--c-line); }
.article-layout--wide .prose { max-width: none; }
.notice {
  display: flex; gap: 10px; align-items: center;
  padding: 12px 16px; border-radius: var(--r-sm);
  background: var(--c-brand-50); border: 1px solid var(--c-brand-100); color: var(--c-brand-800);
  font-size: var(--fs-sm) !important; font-weight: 500 !important;
}

/* ---------- Page hero variants ---------- */
.page-hero--compact { padding-bottom: clamp(8px, 2vw, 24px); }
.page-hero--center { text-align: center; padding-block: clamp(72px, 10vw, 140px); }
.page-hero--center .page-hero__title { display: grid; justify-items: center; gap: 14px; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero .lead { font-size: var(--fs-lg); color: var(--c-muted); max-width: 56ch; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 12px; }

/* ---------- Contact page ---------- */
.contact-page { padding-top: clamp(24px, 3vw, 40px); }
.contact-page__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
.contact-page__info { display: grid; gap: clamp(20px, 3vw, 32px); }
.info-card, .form-card {
  padding: clamp(24px, 3vw, 40px); background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: var(--r-xl); box-shadow: var(--sh-1);
}
.info-card h2, .form-card h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; margin-bottom: 24px; }
.contact-list--light .ci { background: var(--c-brand-50); border-color: var(--c-brand-100); color: var(--c-brand-600); }
.contact-list--light .strong { color: var(--c-ink); }
.contact-list--light a { color: var(--c-brand-700); }
.contact-list address { font-style: normal; }
.branch-grid--light .branch { background: var(--c-bg); border-color: var(--c-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.branch-grid--light .branch :is(h3, h4) { color: var(--c-ink); }
.branch-grid--light .branch :is(h3, h4) .icon { color: var(--c-brand-600); }
.branch-grid--light a { color: var(--c-brand-700); }
.contact-page__form { position: sticky; top: calc(var(--header-h) + 24px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 var(--fs-sm)/1.2 var(--f-display); color: var(--c-ink); }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; font: inherit; color: var(--c-ink);
  background: var(--c-bg); border: 1px solid var(--c-line-2); border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:hover, .field textarea:hover { border-color: var(--c-brand-300); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--c-brand-500); box-shadow: 0 0 0 4px rgba(21, 144, 181, .18); }
.field ::placeholder { color: var(--c-muted); }
.map-card { position: relative; margin-top: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--sh-1); background: var(--c-surface-2); }
.map-card iframe { display: block; width: 100%; height: clamp(300px, 40vw, 440px); border: 0; filter: saturate(.85); }
.map-card__link { position: absolute; left: 16px; top: 16px; box-shadow: var(--sh-2); }
@media (max-width: 960px) {
  .contact-page__grid { grid-template-columns: minmax(0, 1fr); }
  .contact-page__form { position: static; }
}
@media (max-width: 520px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Main pillars: AI + cyber security
   ========================================================================== */
:root {
  --c-night: #061420;
  --c-night-2: #0A2232;
  --c-cyan: #5FD4F0;
  --c-glow: rgba(21, 144, 181, .55);
}
.pillars-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(48px, 6vw, 96px) clamp(64px, 7vw, 112px);
  background:
    radial-gradient(60% 70% at 15% 0%, rgba(21, 144, 181, .35), transparent 70%),
    radial-gradient(50% 60% at 95% 100%, rgba(47, 191, 174, .22), transparent 70%),
    linear-gradient(180deg, var(--c-night) 0%, var(--c-night-2) 100%);
  color: rgba(255, 255, 255, .78);
}
.pillars-hero::before { /* faint engineering grid */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(143, 216, 236, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 216, 236, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 20%, transparent 80%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 20%, transparent 80%);
}
.pillars-hero__head { max-width: 980px; margin-bottom: clamp(32px, 4vw, 56px); }
.pillars-hero .eyebrow { color: var(--c-cyan); }
.pillars-hero .eyebrow::before { background: var(--c-cyan); }
.pillars-hero h1 {
  margin-top: 14px; color: #fff;
  font-size: clamp(2.4rem, 1.4rem + 4.2vw, 5rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800;
}
.pillars-hero h1 .amp { color: var(--c-cyan); font-weight: 600; }
.pillars-hero h1 .grad {
  background: linear-gradient(90deg, #7CE0F5 0%, #3FB6D8 45%, #2FBFAE 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pillar {
  position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0;
  border-radius: var(--r-xl); overflow: hidden; cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid rgba(143, 216, 236, .18);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .7);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.pillar::after { /* glow on hover */
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; opacity: 0;
  background: radial-gradient(70% 50% at 50% 0%, var(--c-glow), transparent 70%);
  transition: opacity .35s var(--ease);
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(143, 216, 236, .45); box-shadow: 0 40px 90px -40px rgba(21, 144, 181, .55); }
.pillar:hover::after, .pillar:focus-within::after { opacity: 1; }
.pillar__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #04101a; }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.03); }
.pillar__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 32, 0) 55%, rgba(6, 20, 32, .85) 100%); }
.pillar__body { position: relative; display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 0 clamp(22px, 2.6vw, 36px) clamp(24px, 2.6vw, 36px); margin-top: -36px; }
.pillar__top { display: flex; align-items: center; justify-content: space-between; }
.pillar__icon {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px;
  background: linear-gradient(135deg, #1590B5, #0A5F7D); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(21, 144, 181, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.pillar--security .pillar__icon { background: linear-gradient(135deg, #2FBFAE, #0B7A86); box-shadow: 0 12px 30px -10px rgba(47, 191, 174, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.pillar__num { font: 700 var(--fs-sm)/1 var(--f-display); letter-spacing: .14em; color: rgba(143, 216, 236, .7); }
.pillar__label { font: 600 var(--fs-xs)/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--c-cyan); }
.pillar h2 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.25rem); letter-spacing: -.035em; line-height: 1.1; color: #fff; }
.pillar__link { color: inherit; text-decoration: none; }
.pillar__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-xl); }
.pillar__link:focus-visible { outline: none; }
.pillar__link:focus-visible::after { outline: 3px solid var(--c-cyan); outline-offset: -3px; }
.pillar__lead { font-size: var(--fs-lg); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.pillar__points { list-style: none; display: grid; gap: 8px; margin-top: 4px; }
.pillar__points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .975rem; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.pillar__points li span { display: block; }
.pillar__points li span::first-letter { text-transform: uppercase; }
.pillar__points .icon { width: 22px; height: 22px; padding: 4px; border-radius: 7px; transform: rotate(-90deg); background: rgba(95, 212, 240, .12); color: var(--c-cyan); }
.pillar__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 10px; }
.pillar__badge { width: 52px; height: 52px; padding: 4px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .5); position: relative; z-index: 2; }
.btn--glow { background: #fff; color: var(--c-brand-800); border-color: transparent; box-shadow: 0 10px 30px -12px rgba(95, 212, 240, .9); }
.pillar:hover .btn--glow { background: var(--c-cyan); color: var(--c-night); }
.pillar:hover .btn--glow .icon--arrow { transform: translateX(3px); }
@media (max-width: 900px) { .pillars { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Section intros (former slider messages) ---------- */
.section-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(12px, 1.6vw, 20px); margin: 0 0 clamp(20px, 2.4vw, 32px); }
.intro-item {
  position: relative; display: grid; gap: 6px; padding: 20px 64px 20px 22px;
  border-radius: var(--r-lg); text-decoration: none; color: var(--c-ink-2);
  background: linear-gradient(135deg, var(--c-brand-50), rgba(255, 255, 255, 0)); border: 1px solid var(--c-brand-100);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.intro-item:hover { border-color: var(--c-brand-300); transform: translateY(-2px); box-shadow: var(--sh-1); }
.intro-item__kicker { font: 600 var(--fs-xs)/1.2 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--c-brand-600); }
.intro-item__title { font: 700 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.2 var(--f-display); letter-spacing: -.02em; color: var(--c-ink); }
.intro-item__text { font-size: .975rem; line-height: 1.5; }
.intro-item__arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--c-brand-600); box-shadow: var(--sh-1); transition: transform var(--dur) var(--ease); }
.intro-item__arrow .icon { width: 18px; height: 18px; }
.intro-item:hover .intro-item__arrow { transform: translate(3px, -50%); }
.section--tint .intro-item { background: linear-gradient(135deg, #fff, rgba(255, 255, 255, .4)); }

/* ---------- Certificates card (in "O nás") ---------- */
.certs-card {
  display: grid; grid-template-columns: minmax(200px, .6fr) minmax(0, 2fr); align-items: center; gap: 24px 40px;
  margin-top: clamp(16px, 2vw, 24px); padding: clamp(22px, 2.6vw, 34px) clamp(22px, 3vw, 40px);
  border-radius: var(--r-xl); text-decoration: none; color: var(--c-ink);
  background: linear-gradient(120deg, #fff 0%, var(--c-brand-50) 100%); border: 1px solid var(--c-line);
  box-shadow: var(--sh-1); transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.certs-card:hover { box-shadow: var(--sh-2); border-color: var(--c-brand-100); }
.certs-card__head { display: flex; align-items: center; gap: 14px; }
.certs-card__head h3 { font-size: var(--fs-h3); letter-spacing: -.02em; }
.certs-card__arrow { display: grid; place-items: center; width: 36px; height: 36px; margin-left: auto; border-radius: 50%; background: #fff; color: var(--c-brand-600); box-shadow: var(--sh-1); }
.certs-card__arrow .icon { width: 18px; height: 18px; }
.certs-card__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.certs-card__list li { display: grid; justify-items: center; gap: 10px; text-align: center; }
.cert__seal {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: #fff; border: 1px solid var(--c-line); box-shadow: 0 10px 24px -14px rgba(11, 31, 46, .35);
  transition: transform var(--dur) var(--ease);
}
.cert__seal img { width: 72px; height: 72px; object-fit: contain; }
.cert__seal--text { background: linear-gradient(135deg, var(--c-brand-600), var(--c-brand-800)); color: #fff; border-color: transparent; }
.certs-card:hover .cert__seal { transform: translateY(-3px); }
.cert__name { font: 700 var(--fs-sm)/1.2 var(--f-display); letter-spacing: .02em; color: var(--c-ink); }
@media (max-width: 960px) { .certs-card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .certs-card__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .cert__seal { width: 84px; height: 84px; }
  .cert__seal img { width: 62px; height: 62px; }
}

/* ---------- Highlighted pillar links in the main nav ---------- */
.nav-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--r-pill);
  font: 600 var(--fs-sm)/1 var(--f-display); color: var(--c-brand-700); text-decoration: none; white-space: nowrap;
  background: var(--c-brand-50); border: 1px solid var(--c-brand-100);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-pill .icon { color: var(--c-brand-500); }
.nav-pill:hover { background: var(--c-brand-100); border-color: var(--c-brand-300); color: var(--c-brand-800); }
.nav-pill[aria-current="page"] { background: var(--c-brand-600); border-color: var(--c-brand-600); color: #fff; }
.nav-pill[aria-current="page"] .icon { color: #fff; }
@media (min-width: 1241px) {
  .nav-item--pillar + .nav-item:not(.nav-item--pillar) { margin-left: 6px; }
}
@media (max-width: 1240px) {
  .nav-item--pillar { padding-block: 4px; }
  .nav-pill { width: 100%; padding: 14px 16px; font-size: 1rem; border-radius: var(--r-md); }
}

/* ---------- Pillar article pages (AI, security): dark hero ---------- */
.page-hero--pillar {
  background:
    radial-gradient(60% 80% at 10% 0%, rgba(21, 144, 181, .35), transparent 70%),
    linear-gradient(180deg, var(--c-night) 0%, var(--c-night-2) 70%, var(--c-bg) 70%);
  color: rgba(255, 255, 255, .8);
}
.page-hero--pillar::before, .page-hero--pillar::after { display: none; }
.page-hero--pillar h1 { color: #fff; }
.page-hero--pillar .eyebrow { color: var(--c-cyan); }
.page-hero--pillar .eyebrow::before { background: var(--c-cyan); }
.page-hero--pillar .breadcrumb ol { color: rgba(255, 255, 255, .6); }
.page-hero--pillar .breadcrumb a { color: rgba(255, 255, 255, .85); }
.page-hero--pillar .breadcrumb [aria-current] { color: #fff; }
.page-hero--pillar .page-hero__icon { background: linear-gradient(135deg, #1590B5, #0A5F7D); color: #fff; border: 0; }
.lead-figure--pillar { aspect-ratio: 1600 / 520; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .6); }
.lead-figure--contain { background: #071a2a; }
.lead-figure--contain img { object-fit: contain; }
.lead-figure--pillar::after { background: linear-gradient(90deg, rgba(6, 20, 32, .25), rgba(6, 20, 32, 0) 40%); }
@media (max-width: 640px) { .lead-figure--pillar { aspect-ratio: 16 / 9; } }
.card__kicker { font: 600 var(--fs-xs)/1.2 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--c-brand-600); margin-bottom: -6px; }
.card__lead { font: 600 var(--fs-lg)/1.45 var(--f-display); color: var(--c-ink); letter-spacing: -.01em; }
.card--wide .card__media--strip { aspect-ratio: auto; height: clamp(120px, 14vw, 190px); }

/* ---------- PDF posters (rendered page preview) ---------- */
.pdf-figure { margin: 2em 0 0; }
.pdf-figure > a { display: block; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--sh-2); background: #fff; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.pdf-figure > a:hover { box-shadow: var(--sh-3); transform: translateY(-2px); }
.prose .pdf-figure img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; box-shadow: none; }
.pdf-figure figcaption { margin-top: 12px; font-size: var(--fs-sm); }
.pdf-figure figcaption a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.prose embed.pdf-embed { aspect-ratio: 612 / 800; height: auto; min-height: 0; }

/* ==========================================================================
   Review fixes
   ========================================================================== */
.card__excerpt { overflow-wrap: anywhere; }
/* last card fills the rest of its row – no orphan grid cells */
@media (min-width: 961px) {
  .bento:not(.bento--four):not(.bento--software):not(.bento--projects) > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .bento:not(.bento--four):not(.bento--software):not(.bento--projects) > :last-child:nth-child(3n+2) { grid-column: span 2; }
}
@media (min-width: 1241px) {
  .related .bento > :last-child:nth-child(4n+1) { grid-column: 1 / -1; }
  .related .bento > :last-child:nth-child(4n+2) { grid-column: span 3; }
  .related .bento > :last-child:nth-child(4n+3) { grid-column: span 2; }
}
@media (min-width: 641px) and (max-width: 960px) {
  .bento > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 641px) and (max-width: 1240px) {
  .related .bento > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* EU funding-logo strip (project pages) */
.funding-logos { margin: 0 0 1.6em; padding: 14px 18px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.prose .funding-logos img { display: block; width: 100%; height: auto; margin: 0; border-radius: 0; box-shadow: none; }
/* AI pillar page: the poster image fills the whole hero panel (same aspect ratio, no crop of its text) */
.lead-figure--pillar.lead-figure--contain { aspect-ratio: 1672 / 941; }
.lead-figure--contain img { object-fit: cover; }
.lead-figure--pillar.lead-figure--contain::after { display: none; }
/* larger touch targets on phones */
@media (max-width: 640px) {
  .footer-col ul { gap: 2px; }
  .footer-col ul a { display: inline-block; padding: 8px 0; }
  .footer-col h2 a { display: inline-block; padding: 6px 0; }
  .breadcrumb a { display: inline-block; padding: 10px 0; }
  .side-card--cta li a { display: inline-block; padding: 8px 0; }
}
.nav-extra .lang a { min-width: 44px; min-height: 40px; display: inline-grid; place-items: center; }
/* whole pillar card is the link target: overlay is positioned against .pillar, above image and text */
.pillar__body { position: static; }
.pillar__top { position: relative; z-index: 2; }
.pillar__link::after { z-index: 3; }
.pillar__badge { z-index: auto; position: static; }

/* ==========================================================================
   Third hero panel: other services
   ========================================================================== */
/* AI + security side by side, services panel full width below them */
.pillars--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pillar--services { background: linear-gradient(180deg, rgba(95, 212, 240, .08), rgba(255, 255, 255, .02)); }
.pillar--services .pillar__icon { background: linear-gradient(135deg, #3d7fd6, #1d4f8f); box-shadow: 0 12px 30px -10px rgba(61, 127, 214, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.pillar__media--tiles {
  aspect-ratio: 16 / 9; /* minimum: grows with its content */
  padding: 20px 20px 50px;
  background:
    radial-gradient(80% 90% at 80% 0%, rgba(21, 144, 181, .28), transparent 70%),
    linear-gradient(180deg, #082234, #061a28);
}
.pillar__media--tiles::after { display: none; }
.pillar__tiles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile {
  position: relative; z-index: 4; /* above the card-wide link overlay */
  display: flex; align-items: center; gap: 10px; height: 100%; min-height: 48px; padding: 8px 10px;
  border-radius: 14px; text-decoration: none; color: rgba(255, 255, 255, .9);
  font: 600 .84rem/1.25 var(--f-display); letter-spacing: -.005em;
  background: rgba(255, 255, 255, .045); border: 1px solid rgba(143, 216, 236, .16);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.tile:hover, .tile:focus-visible { background: rgba(95, 212, 240, .14); border-color: rgba(143, 216, 236, .5); color: #fff; transform: translateY(-1px); }
.tile:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 2px; }
.tile__icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(95, 212, 240, .14); color: var(--c-cyan); }
.tile__icon .icon { width: 17px; height: 17px; }
.tile__label { min-width: 0; overflow-wrap: anywhere; }

.pillar--services { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.pillar--services .pillar__media--tiles { aspect-ratio: auto; padding: clamp(20px, 2.4vw, 32px); display: flex; align-items: center; }
.pillar--services .pillar__tiles { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar--services .pillar__body { margin-top: 0; padding-top: clamp(22px, 2.6vw, 36px); align-self: center; }
@media (max-width: 900px) { .pillar__label--empty { display: none; } }
@media (max-width: 1240px) {
  .pillar--services { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .pillar--services .pillar__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* phones: everything stacked */
@media (max-width: 900px) {
  .pillars--three { grid-template-columns: minmax(0, 1fr); }
  .pillar--services { display: flex; }
  .pillar--services .pillar__media--tiles { padding: 20px 20px 50px; }
  .pillar--services .pillar__body { margin-top: -36px; padding-top: 0; }
}
@media (max-width: 420px) {
  .pillar__tiles { gap: 6px; }
  .tile { font-size: .8rem; padding: 7px 8px; gap: 8px; }
  .tile__icon { width: 26px; height: 26px; }
}
/* tiles define their own height (no clipping) */
.pillar__media--tiles { overflow: visible; }
/* services tiles: icon + arrow on top, name + one-line summary, faint large icon in the corner */
.tile { overflow: hidden; isolation: isolate; }
.tile__bg { position: absolute; right: -14px; bottom: -18px; z-index: -1; color: rgba(95, 212, 240, .07); pointer-events: none; transition: color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.tile__bg .icon { width: 96px; height: 96px; stroke-width: 1.2; }
.tile__head { display: flex; align-items: center; justify-content: space-between; flex: none; }
.tile__go { display: none; color: rgba(143, 216, 236, .55); transition: color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.tile__go .icon { width: 16px; height: 16px; }
.tile__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile__desc { display: none; font: 400 .8rem/1.4 var(--f-text); color: rgba(214, 236, 244, .66); letter-spacing: 0; }
.tile:hover .tile__bg, .tile:focus-visible .tile__bg { color: rgba(95, 212, 240, .16); transform: scale(1.06) rotate(-4deg); }
.tile:hover .tile__go, .tile:focus-visible .tile__go { color: var(--c-cyan); transform: translateX(3px); }
/* wide services panel and tablet: tiles as small cards */
@media (min-width: 901px) {
  .pillar--services .pillar__media--tiles { align-items: stretch; }
  .pillar--services .pillar__tiles { grid-auto-rows: 1fr; gap: 12px; }
  .pillar--services .tile { flex-direction: column; align-items: stretch; justify-content: space-between; gap: 18px; min-height: 132px; padding: 16px; font-size: .95rem; border-radius: 16px; }
  .pillar--services .tile__icon { width: 40px; height: 40px; border-radius: 12px; }
  .pillar--services .tile__icon .icon { width: 21px; height: 21px; }
  .pillar--services .tile__go, .pillar--services .tile__desc { display: block; }
}
/* phones: compact row tiles, the head wraps only the icon */
@media (max-width: 900px) {
  .tile__head { display: contents; }
  .tile__bg .icon { width: 64px; height: 64px; }
}
@media (min-width: 901px) and (max-width: 1240px) {
  .pillar--services .tile { min-height: 112px; gap: 12px; }
}
/* themed hero illustrations (services panel pages) */
.lead-figure--art { background: #030b17; }
.lead-figure--art::after { display: none; }
/* ==========================================================================
   Mobile & tablet polish
   ========================================================================== */
/* long e-mail addresses never push the page wider than the screen */
.contact-list div, .branch p, .footer-contacts, .info-card { overflow-wrap: anywhere; min-width: 0; }
/* touch targets ≥ 40px tall on phones and tablets */
@media (max-width: 1240px) {
  .contact-list a.strong, .branch p a, .footer-contacts a, .footer-bottom__links a { display: inline-block; padding-block: 9px; }
  .branch p { line-height: 1.5; }
  .footer-col h2 a { display: inline-block; padding-block: 9px; }
  .lang a { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }
  .brand { padding-block: 6px; }
}
@media (max-width: 1240px) {
  .footer-col ul { gap: 2px; }
  .footer-col ul a { display: inline-block; padding-block: 10px; }
  .footer-col h2 a { padding-block: 12px; }
  .breadcrumb a { display: inline-block; padding-block: 10px; }
  .side-card--cta li a { display: inline-block; padding-block: 10px; }
  .toc a { padding-block: 10px; }
}
/* phones: card grids become swipeable rows (next card peeks in) – much shorter pages */
@media (max-width: 640px) {
  .bento.bento--rail {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .bento.bento--rail::-webkit-scrollbar { display: none; }
  .bento.bento--rail > * { grid-column: auto !important; grid-row: auto !important; scroll-snap-align: start; min-width: 0; }
  .bento.bento--rail .card--wide .card__media--strip { height: 120px; }
}
/* phones: tighter pillar panels */
@media (max-width: 640px) {
  .pillar__lead { font-size: 1rem; }
  .pillar__points { gap: 6px; }
  .pillar__points li { font-size: .92rem; }
}
.card--project .card__top { justify-content: flex-end; }

/* ==========================================================================
   Light theme (former dark-blue areas), one-screen hero, unified icon colour
   ========================================================================== */
:root {
  --c-icon: var(--c-brand-600);       /* every icon uses this one shade */
  --c-icon-bg: var(--c-brand-50);
  --c-icon-bd: var(--c-brand-100);
  --c-hero-1: #E4F2F8;
  --c-hero-2: #F5FAFC;
}

/* ---- hero ---- */
.pillars-hero {
  color: var(--c-ink-2);
  padding-block: clamp(24px, 3.2vh, 44px) clamp(28px, 4vh, 52px);
  background:
    radial-gradient(60% 70% at 12% 0%, rgba(21, 144, 181, .16), transparent 70%),
    radial-gradient(50% 60% at 95% 100%, rgba(21, 144, 181, .10), transparent 70%),
    linear-gradient(180deg, var(--c-hero-1), var(--c-hero-2));
}
.pillars-hero::before {
  background-image:
    linear-gradient(rgba(21, 144, 181, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 144, 181, .08) 1px, transparent 1px);
}
.pillars-hero .eyebrow, .page-hero--pillar .eyebrow, .contact-panel .eyebrow { color: var(--c-brand-600); }
.pillars-hero .eyebrow::before, .page-hero--pillar .eyebrow::before, .contact-panel .eyebrow::before { background: var(--c-brand-500); }
.pillars-hero h1 { color: var(--c-ink); }
.pillars-hero h1 .amp { color: var(--c-brand-500); }
.pillars-hero h1 .grad { background: linear-gradient(90deg, #00607E 0%, #007194 45%, #1590B5 100%); -webkit-background-clip: text; background-clip: text; }

/* ---- pillar panels ---- */
.pillar { background: #fff; border: 1px solid var(--c-line); box-shadow: 0 1px 2px rgba(11, 31, 46, .04), 0 24px 50px -30px rgba(11, 31, 46, .28); }
.pillar::after { background: radial-gradient(70% 50% at 50% 0%, rgba(21, 144, 181, .12), transparent 70%); }
.pillar:hover { border-color: var(--c-brand-300); box-shadow: 0 30px 60px -30px rgba(0, 113, 148, .35); }
.pillar__media { background: #071a2a; }
.pillar__media::after { display: none; }
.pillar h2 { color: var(--c-ink); }
.pillar__label { color: var(--c-brand-600); }
.pillar__lead, .pillar__points li { color: var(--c-ink-2); }
.pillar__points .icon { background: var(--c-icon-bg); color: var(--c-icon); }
.pillar__link:focus-visible::after { outline-color: var(--c-focus); }
.pillar__badge { border: 1px solid var(--c-line); box-shadow: 0 4px 14px -6px rgba(11, 31, 46, .3); }
.btn--glow { background: var(--c-brand-600); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 113, 148, .7); }
.pillar:hover .btn--glow { background: var(--c-brand-700); color: #fff; }
.pillar__icon, .pillar--security .pillar__icon, .pillar--services .pillar__icon {
  background: var(--c-brand-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 113, 148, .6), inset 0 1px 0 rgba(255, 255, 255, .2);
}
/* services panel + tiles */
.pillar--services { background: #fff; }
.pillar__media--tiles { background: linear-gradient(160deg, var(--c-brand-50), #fff 85%); }
.tile { color: var(--c-ink); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-1); }
.tile:hover, .tile:focus-visible { color: var(--c-ink); background: #fff; border-color: var(--c-brand-300); box-shadow: var(--sh-2); }
.tile:focus-visible { outline-color: var(--c-focus); }
.tile__icon { background: var(--c-icon-bg); color: var(--c-icon); }
.tile__bg { color: rgba(0, 113, 148, .05); }
.tile:hover .tile__bg, .tile:focus-visible .tile__bg { color: rgba(0, 113, 148, .1); }
.tile__go { color: var(--c-muted); }
.tile:hover .tile__go, .tile:focus-visible .tile__go { color: var(--c-icon); }
.tile__desc { color: var(--c-muted); }

/* ---- desktop + tablet: heading + all three panels on one screen ---- */
@media (min-width: 901px) {
  .pillars-hero__head { max-width: none; margin-bottom: clamp(16px, 2.6vh, 28px); }
  .pillars-hero h1 { margin-top: 10px; font-size: clamp(2rem, .9rem + 2.3vw, 3.25rem); line-height: 1.08; }
  .pillars--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .pillars--three .pillar--services { grid-column: auto; display: flex; flex-direction: column; }
  .pillars--three .pillar__media,
  .pillars--three .pillar--services .pillar__media--tiles { aspect-ratio: 16 / 9; }
  .pillars--three .pillar--services .pillar__media--tiles { display: block; padding: 14px 14px 34px; overflow: hidden; }
  .pillars--three .pillar--services .pillar__tiles { height: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 6px; }
  .pillars--three .pillar--services .tile { flex-direction: row; align-items: center; justify-content: flex-start; gap: 8px; min-height: 0; padding: 4px 8px; font-size: .78rem; line-height: 1.2; border-radius: 10px; }
  .pillars--three .pillar--services .tile__head { display: contents; }
  .pillars--three .pillar--services :is(.tile__go, .tile__desc, .tile__bg) { display: none; }
  .pillars--three .pillar--services .tile__icon { width: 26px; height: 26px; border-radius: 8px; }
  .pillars--three .pillar--services .tile__icon .icon { width: 15px; height: 15px; }
  .pillars--three .pillar__body,
  .pillars--three .pillar--services .pillar__body { gap: 9px; margin-top: -28px; padding: 0 24px 22px; align-self: stretch; }
  .pillars--three .pillar__icon { width: 52px; height: 52px; border-radius: 15px; }
  .pillars--three .pillar h2 { font-size: clamp(1.25rem, .85rem + .75vw, 1.6rem); }
  .pillars--three .pillar__lead { font-size: .95rem; line-height: 1.45; }
  .pillars--three .pillar__points { gap: 4px; margin-top: 0; }
  .pillars--three .pillar__points li { grid-template-columns: 18px minmax(0, 1fr); gap: 8px; font-size: .88rem; line-height: 1.35; }
  .pillars--three .pillar__points .icon { width: 18px; height: 18px; padding: 3px; border-radius: 6px; }
  .pillars--three .pillar__foot { padding-top: 6px; }
  .pillars--three .btn--glow { min-height: 42px; padding: 0 18px; }
  .pillars--three .pillar__badge { width: 44px; height: 44px; }
}

/* ---- AI / security pages: light hero like every other page ---- */
.page-hero--pillar { background: none; color: inherit; }
.page-hero--pillar::before, .page-hero--pillar::after { display: block; }
.page-hero--pillar h1 { color: var(--c-ink); }
.page-hero--pillar .breadcrumb ol, .page-hero--pillar .breadcrumb a { color: var(--c-muted); }
.page-hero--pillar .breadcrumb [aria-current] { color: var(--c-ink); }
.page-hero--pillar .page-hero__icon { background: linear-gradient(145deg, var(--c-brand-50), var(--c-brand-100)); color: var(--c-icon); box-shadow: inset 0 0 0 1px rgba(21, 144, 181, .14); }
.lead-figure--pillar { box-shadow: var(--sh-2); }

/* ---- contact band ---- */
.contact-panel {
  color: var(--c-ink-2); border: 1px solid var(--c-brand-100); box-shadow: var(--sh-2);
  background: radial-gradient(60% 80% at 100% 0%, rgba(21, 144, 181, .14), transparent 70%), linear-gradient(150deg, #E8F4FA, #F6FAFC 60%, #fff);
}
.contact-panel::before { background-image: radial-gradient(rgba(0, 113, 148, .12) 1px, transparent 1px); }
.contact-panel h2, .contact-panel h3 { color: var(--c-ink); }
.contact-panel a:not(.btn) { color: var(--c-brand-700); text-decoration-color: rgba(0, 113, 148, .35); }
.contact-panel a:not(.btn):hover { color: var(--c-brand-800); text-decoration-color: currentColor; }
.contact-list .ci { background: #fff; border-color: var(--c-icon-bd); color: var(--c-icon); }
.contact-list .strong { color: var(--c-ink); }
.branch { background: #fff; border-color: var(--c-line); box-shadow: var(--sh-1); }
.branch :is(h3, h4) { color: var(--c-ink); }
.branch :is(h3, h4) .icon { color: var(--c-icon); }

/* ---- footer ---- */
.site-footer { background: #EDF4F8; color: var(--c-ink-2); border-top: 1px solid var(--c-line); }
.site-footer a { color: var(--c-ink-2); }
.site-footer a:hover { color: var(--c-brand-700); }
.site-footer :focus-visible { outline-color: var(--c-focus); }
.footer-grid { border-bottom-color: var(--c-line-2); }
.footer-brand .company { color: var(--c-ink); }
.footer-contacts .icon { color: var(--c-icon); }
.footer-col h2 { color: var(--c-muted); }
.remote-btn { background: #fff; border-color: var(--c-line-2); color: var(--c-ink) !important; }
.remote-btn:hover { background: var(--c-brand-50); }
.site-footer .lang { background: #fff; border-color: var(--c-line); }
.site-footer .lang a { color: var(--c-muted); }
.site-footer .lang a:hover { color: var(--c-ink); }
.site-footer .lang a[aria-current] { background: var(--c-brand-50); color: var(--c-ink); }

/* ---- sidebar contact card (contact page etc.) ---- */
.side-card--cta { color: var(--c-ink-2); border: 1px solid var(--c-brand-100); background: linear-gradient(160deg, var(--c-brand-50), #fff 80%); box-shadow: var(--sh-1); }
.side-card--cta h2 { color: var(--c-brand-600); }
.side-card--cta a:not(.btn) { color: var(--c-ink); }
.side-card--cta li .icon { color: var(--c-icon); }

/* ---- the same icon shade everywhere ---- */
.card__icon, .card--project .card__icon { color: var(--c-icon); background: linear-gradient(145deg, var(--c-brand-50), var(--c-brand-100)); box-shadow: inset 0 0 0 1px rgba(21, 144, 181, .14); }
.card--project:hover .card__icon { background: var(--c-brand-600); color: #fff; }
.nav-pill .icon, .side-nav a[aria-current="page"] .icon, .branch .icon { color: var(--c-icon); }

/* ---- articles without a table of contents: no sidebar, centred text ---- */
.article-layout--single { grid-template-columns: minmax(0, 1fr); }
.article-layout--single .prose { max-width: none; }
/* homepage orientation: section in view is marked in the top menu + reading progress line */
.nav-trigger { position: relative; }
.nav-item.is-spy > .nav-trigger { color: var(--c-brand-600); background: var(--c-brand-50); }
.nav-item.is-spy > .nav-trigger .icon { color: var(--c-brand-600); }
.nav-item.is-spy > .nav-trigger::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--c-brand-500); }
.btn.is-spy { box-shadow: 0 0 0 4px var(--c-brand-100), 0 10px 24px -12px rgba(0, 113, 148, .7); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--c-brand-500), var(--c-brand-600)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .scroll-progress { transition: transform .1s linear; } }
@media (max-width: 1240px) { .nav-item.is-spy > .nav-trigger::after { display: none; } }

/* third panel = same structure as the AI and security panels (poster on top) */
.pillar--services .pillar__media { aspect-ratio: 16 / 9; }
@media (min-width: 901px) and (max-width: 1100px) {
  .pillars--three { gap: 14px; }
  .pillars--three .pillar__body, .pillars--three .pillar--services .pillar__body { padding: 0 18px 18px; }
  .pillars--three .pillar__badge { display: none; }
}

/* ==========================================================================
   AI page: former leaflet content as page sections
   ========================================================================== */
.prose .ai-tagline { font: 600 clamp(1.15rem, 1rem + .5vw, 1.4rem)/1.4 var(--f-display); color: var(--c-ink); letter-spacing: -.01em; }
.prose .ai-flow { list-style: none; counter-reset: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin-top: 1.2em; }
.prose .ai-flow li { position: relative; display: grid; gap: 6px; padding: 18px 20px; border-radius: var(--r-md); background: linear-gradient(160deg, var(--c-brand-50), #fff 85%); border: 1px solid var(--c-brand-100); box-shadow: var(--sh-1); }
.prose .ai-flow li::before { display: none; }
.prose .ai-flow li + li::after { content: ""; position: absolute; left: -12px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--c-brand-500); border-right: 2px solid var(--c-brand-500); transform: translate(-1px, -50%) rotate(45deg); }
.ai-flow__label { font: 700 var(--fs-xs)/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand-600); }
.ai-flow__text { font: 600 1.02rem/1.4 var(--f-display); color: var(--c-ink); }
.prose .ai-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 1.6em; }
.prose .ai-card { padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-1); }
.prose .ai-card--accent { background: linear-gradient(160deg, var(--c-brand-50), #fff 80%); border-color: var(--c-brand-100); }
.prose .ai-card > * + * { margin-top: .8em; }
.prose .ai-card strong { color: var(--c-ink); }
.prose .ai-card__title { font: 700 var(--fs-xs)/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand-600); }
.prose ul.ai-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.prose ul.ai-benefits li { padding: 18px 20px 18px 54px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-1); line-height: 1.6; }
.prose ul.ai-benefits li::before { left: 20px; top: 21px; }
.prose ul.ai-benefits li strong { display: block; margin-bottom: 2px; font-family: var(--f-display); color: var(--c-ink); }
.prose .ai-panel { margin-top: 2.4em; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-xl); background: radial-gradient(70% 90% at 100% 0%, rgba(21, 144, 181, .14), transparent 70%), linear-gradient(150deg, #E8F4FA, #F6FAFC 70%); border: 1px solid var(--c-brand-100); }
.prose .ai-panel .h4 { margin-top: 0; padding-top: 0; border-top: 0; }
.prose ul.ai-security { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-top: 1em; }
.prose ul.ai-security li { padding-left: 18px; border-left: 3px solid var(--c-brand-500); line-height: 1.6; }
.prose ul.ai-security li::before { display: none; }
.prose ul.ai-security li strong { color: var(--c-ink); }
.prose .ai-note { margin-top: 1.4em; padding-top: 1.2em; border-top: 1px solid var(--c-brand-100); font-size: .95rem; color: var(--c-ink-2); }
.prose .ai-card .btn { margin-top: .4em; text-decoration: none; }
@media (max-width: 760px) {
  .prose .ai-flow, .prose .ai-split, .prose ul.ai-benefits, .prose ul.ai-security { grid-template-columns: minmax(0, 1fr); }
  .prose .ai-flow li + li::after { left: 50%; top: -11px; transform: translate(-50%, 0) rotate(135deg); }
}
@media (min-width: 761px) {
  .prose ul.ai-benefits li:last-child:nth-child(odd), .prose ul.ai-security li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* AI and security are plain top-level links (same look as the other menu items) */
.nav-link { text-decoration: none; }
.nav-link:hover { text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--c-brand-600); }

/* ---- 30+ years of history ---- */
.pillars-hero__top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.since-badge {
  display: inline-flex; align-items: baseline; gap: 6px; margin: 0; padding: 6px 14px 6px 12px;
  border-radius: var(--r-pill); background: #fff; border: 1px solid var(--c-brand-100); box-shadow: var(--sh-1);
  font: 600 var(--fs-sm)/1.2 var(--f-display); color: var(--c-ink-2);
}
.since-badge strong { font-size: 1.05rem; font-weight: 800; color: var(--c-brand-600); letter-spacing: -.02em; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 clamp(18px, 2vw, 26px); padding: 0; }
.facts li { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-1); }
.fact__value { font: 800 clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem)/1 var(--f-display); letter-spacing: -.04em; color: var(--c-brand-600); }
.fact__label { font-size: var(--fs-sm); line-height: 1.4; color: var(--c-ink-2); }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.company-since { margin-top: -10px; font-size: var(--fs-sm); color: var(--c-muted); }

/* ---- menu groups: the name links to the overview page, the chevron opens the submenu ---- */
.nav-item--dd { display: flex; align-items: center; border-radius: var(--r-pill); transition: background-color var(--dur) var(--ease); }
.nav-item--dd > .nav-trigger { padding-right: 2px; }
.nav-item--dd > .nav-trigger:hover, .nav-item--dd.is-open > .nav-trigger { background: transparent; }
.nav-caret {
  display: inline-grid; place-items: center; width: 30px; height: 40px; padding: 0 8px 0 2px;
  background: transparent; border: 0; border-radius: 0 var(--r-pill) var(--r-pill) 0; color: var(--c-muted); cursor: pointer;
}
.nav-caret .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.nav-item.is-open > .nav-caret .icon { transform: rotate(180deg); }
.nav-caret:focus-visible { outline: 2px solid var(--c-focus); outline-offset: -2px; border-radius: var(--r-pill); }
.nav-item--dd:hover, .nav-item--dd.is-open { background: var(--c-surface-2); }
.nav-item--dd:hover > .nav-trigger, .nav-item--dd.is-open > .nav-trigger { color: var(--c-ink); }
.nav-item.is-current > .nav-caret, .nav-item.is-spy > .nav-caret { color: var(--c-brand-600); }
.nav-item--dd.is-current > .nav-trigger, .nav-item--dd.is-spy > .nav-trigger { color: var(--c-brand-600); }
.nav-item--dd.is-spy { background: var(--c-brand-50); }
.nav-item--dd.is-spy > .nav-trigger { background: transparent; }
@media (max-width: 1240px) {
  .nav-item--dd { flex-wrap: wrap; border-radius: 0; }
  .nav-item--dd:hover, .nav-item--dd.is-open, .nav-item--dd.is-spy { background: transparent; }
  .nav-item--dd > .nav-trigger { flex: 1; width: auto; padding-right: 4px; }
  .nav-caret { width: 56px; height: 60px; padding: 0; border-radius: var(--r-sm); }
  .nav-caret .icon { width: 20px; height: 20px; }
  .nav-item--dd > .dropdown { flex-basis: 100%; }
}

/* ---- home cards: page illustrations instead of stock photos ---- */
.card__media--art { aspect-ratio: 2 / 1; background: #EEF7FA; }
.card__media--art.card__media--strip { aspect-ratio: auto; height: clamp(130px, 13vw, 180px); }
.card__media--art img { object-position: 50% 50%; }
.card__side--art { background: #EEF7FA; }
.card__side--art img { object-position: 50% 50%; }
.card--split .card__side--art::after { display: none; }
.card--project .card__media--art { margin-bottom: 0; }
.card--project .card__media--art + .card__top { margin-top: -38px; position: relative; z-index: 2; padding-right: 2px; }
.card--project .card__media--art + .card__top .card__icon { background: #fff; box-shadow: 0 6px 16px -6px rgba(11, 31, 46, .35); }
.bento--projects .card { min-height: 0; }
.card__media--art { border-bottom: 1px solid var(--c-line); }
.card:hover .card__media--art img { transform: none; }

/* ---- compact home cards: one icon, short text ---- */
.bento--rail .card { gap: 10px; padding: clamp(18px, 1.8vw, 24px); }
.bento--rail .card h3 { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem); }
.bento--rail .card__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; }
.bento--rail .card__icon { width: 44px; height: 44px; border-radius: 12px; }
.bento--rail .card__more { margin-top: auto; }
.card--project .card__top { justify-content: flex-start; }
.card--project h3 { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem); letter-spacing: -.025em; }
.card--project .card__icon, .card--project:hover .card__icon { color: var(--c-icon); background: linear-gradient(145deg, var(--c-brand-50), var(--c-brand-100)); box-shadow: inset 0 0 0 1px rgba(21, 144, 181, .14); width: 44px; height: 44px; border-radius: 12px; }
.card--project .card__icon .icon { width: 22px; height: 22px; }
.bento--rail .card__lead { font-size: 1rem; }

/* ---- flat card graphics (homepage) ---- */
.card__media--art { aspect-ratio: 640 / 300; height: auto; background: #EEF7FA; border-bottom: 1px solid var(--c-line); margin-bottom: 4px; }
.card__media--art-wide { aspect-ratio: 1280 / 300; }
.card__media--art img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__media--art img { transform: scale(1.03); }
.bento--rail .card__media--art { margin: calc(-1 * clamp(18px, 1.8vw, 24px)) calc(-1 * clamp(18px, 1.8vw, 24px)) 4px; }
/* homepage headline (variant C): slogan, separator, smaller "30+ years" on the same line */
.hero-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; }
.hero-title .grad { display: inline; font-size: .58em; font-weight: 700; letter-spacing: -.02em; }
.hero-title__sep { width: 3px; height: .9em; border-radius: 3px; background: var(--c-brand-300); }
/* phones / narrow windows: the two parts stack, no separator */
@media (max-width: 960px) {
  .hero-title { display: block; }
  .hero-title > span:first-child { display: block; }
  .hero-title__sep { display: none; }
  .hero-title .grad { display: block; margin-top: 8px; font-size: .62em; }
}

/* ==========================================================================
   Responsive review fixes (phones, tablets, narrow windows)
   ========================================================================== */
/* headings never leave a lonely word */
.pillars-hero h1, .pillar h2, .card h3, .page-hero h1 { text-wrap: balance; }

/* ---- header ---- */
.nav-trigger { white-space: nowrap; }
.site-nav { min-width: 0; }
@media (min-width: 1241px) { .dropdown--cols { min-width: 500px; } }
@media (max-width: 1240px) {
  .site-nav { height: calc(100dvh - var(--header-h) + 1px); }
}
/* tablets & laptop windows: keep the Kontakt button next to the menu button */
@media (min-width: 641px) and (max-width: 1240px) {
  .header-actions { display: flex; margin-left: auto; }
  .header-actions .lang { display: none; }
  .nav-toggle { margin-left: 12px; }
  .site-nav .nav-extra .btn { display: none; }
}
/* open menu on wide tablets: a centred column instead of edge-to-edge rows */
@media (min-width: 761px) and (max-width: 1240px) {
  .site-nav { padding-inline: max(var(--gutter), calc((100% - 720px) / 2)); }
}

/* ---- homepage hero ---- */
@media (max-width: 900px) {
  .pillars-hero h1 { font-size: clamp(1.75rem, 1.05rem + 3vw, 2.6rem); line-height: 1.1; }
  .pillar--services .pillar__body { align-self: stretch; }
}
/* tablets: AI + security side by side, IT solutions as a full-width row below */
@media (min-width: 641px) and (max-width: 900px) {
  .pillars--three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .pillars--three .pillar__body { gap: 10px; padding: 0 20px 22px; }
  .pillars--three .pillar h2 { font-size: 1.4rem; }
  .pillars--three .pillar__lead { font-size: 1rem; }
  .pillars--three .pillar__label--empty { display: block; }
  .pillars--three .pillar--services { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .pillars--three .pillar--services { align-items: stretch; }
  .pillars--three .pillar--services .pillar__media { aspect-ratio: auto; height: 100%; min-height: 240px; }
  .pillars--three .pillar--services .pillar__media img { object-fit: cover; object-position: 88% 50%; }
  .pillars--three .pillar--services .pillar__body { margin-top: 0; padding: 24px; align-self: center; }
}

/* ---- homepage card grids ---- */
/* the same image height on normal and wide cards (titles line up) */
.bento--rail .card__media--art, .bento--rail .card__media--art-wide { aspect-ratio: auto; height: clamp(150px, 13vw, 185px); }
@media (max-width: 640px) {
  .bento--rail .card__media--art, .bento--rail .card__media--art-wide { height: 140px; }
}
/* tablets: the wide Kreativita card sits next to Zosuvy instead of leaving an empty cell */
@media (min-width: 641px) and (max-width: 960px) {
  .bento--projects > .card--wide:last-child { grid-column: auto; }
}
.facts li { align-content: start; }
.cert__seal img[src*="14001"] { width: 56px; height: 56px; }
@media (max-width: 560px) { .cert__seal img[src*="14001"] { width: 46px; height: 46px; } }

/* phones: tighter vertical rhythm */
@media (max-width: 640px) {
  :root { --section-y: 52px; }
  .section-head { margin-bottom: 20px; }
}

/* ---- contact band ---- */
@media (max-width: 520px) {
  .contact-panel { padding: 24px 18px; }
  .contact-list li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .contact-list .ci { width: 40px; height: 40px; border-radius: 12px; }
  .contact-actions .btn { flex: 1 1 100%; }
}

/* ---- footer: fewer, denser rows on tablets and phones ---- */
@media (min-width: 641px) and (max-width: 1240px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---- article pages ---- */
@media (min-width: 641px) and (max-width: 1024px) {
  .lead-figure { aspect-ratio: 1600 / 480; }
  .lead-figure--pillar.lead-figure--contain { aspect-ratio: 1672 / 941; }
}
/* poster heroes (AI, security): larger text on phones (crop the illustration, keep the copy) */
@media (max-width: 640px) {
  .lead-figure--pillar.lead-figure--contain { aspect-ratio: 1 / 1; }
  .lead-figure--pillar.lead-figure--contain img { object-fit: cover; object-position: 100% 50%; }
}
/* bigger tap targets for single links in lists (PDFs, external links) */
@media (max-width: 1240px) {
  .prose ul li > a:only-child { display: inline-block; padding-block: 8px; }
}
/* security page: divider spacing and sub-headings */
.prose hr + .h3 { margin-top: 0; }
.prose h3.h4 { border-top: 0; padding-top: 0; margin-top: 1.8em; font-size: var(--fs-h3); }
/* certificates page: badge row as a tidy flexible row */
.prose .table-wrap:has(thead th:empty) tbody tr { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(20px, 4vw, 40px); }
.prose .table-wrap:has(thead th:empty) td { padding: 0; border: 0; }
.prose .table-wrap:has(thead th:empty) td img { width: clamp(72px, 20vw, 104px); height: auto; }
.prose .table-wrap:has(thead th:empty) td img[src*="CVI-"] { width: clamp(60px, 16vw, 84px); }

/* ---- AI page sections ---- */
@media (max-width: 900px) {
  .prose .ai-split, .prose ul.ai-benefits, .prose ul.ai-security { grid-template-columns: minmax(0, 1fr); }
  .prose ul.ai-benefits li:last-child:nth-child(odd), .prose ul.ai-security li:last-child:nth-child(odd) { grid-column: auto; }
}
.prose .ai-card { display: flex; flex-direction: column; }
.prose .ai-card > p:has(> .btn:only-child) { margin-top: auto; padding-top: .8em; }
@media (max-width: 420px) {
  .prose ul.ai-benefits li { padding: 16px 16px 16px 46px; }
  .prose ul.ai-benefits li::before { left: 14px; top: 19px; }
  .prose .ai-panel { padding: 20px 16px; }
}

/* ---- overview pages ---- */
@media (min-width: 961px) {
  .section--overview .bento > .card:last-child:is(:nth-child(3n+1), :nth-child(3n+2)) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 24px; row-gap: 10px; align-content: center; }
  .section--overview .bento > .card:last-child:is(:nth-child(3n+1), :nth-child(3n+2)) > .card__top { grid-row: 1 / span 4; align-self: start; }
  .section--overview .bento > .card:last-child:is(:nth-child(3n+1), :nth-child(3n+2)) > :not(.card__top) { grid-column: 2; }
}
.section--overview .card__excerpt, .section--overview .card__meta { max-width: 70ch; }
@media (max-width: 640px) {
  .section--overview .card { gap: 10px; padding: 20px; }
  .section--overview .card__icon { width: 40px; height: 40px; border-radius: 12px; }
  .section--overview .bento { gap: 12px; }
}

/* ---- contact page ---- */
.map-card { border-radius: var(--r-lg); }
@media (max-width: 960px) {
  /* the form comes right after the contact card, before the branch list */
  .contact-page__info { display: contents; }
  .contact-page__info > .info-card:last-child { order: 2; }
  .contact-page__form { order: 1; }
}
@media (max-width: 520px) {
  .info-card, .form-card { padding: 20px 18px; border-radius: var(--r-lg); }
  .branch { padding: 16px; }
}

/* ---- questionnaires (embedded Google Forms) ---- */
.prose iframe[src*="docs.google.com/forms"] { max-width: 760px; margin-inline: auto; border: 0; background: transparent; }
.prose iframe[src*="1FAIpQLSdS3NdASiY"] { height: 2480px; }
.prose iframe[src*="1FAIpQLSdKxpWEKUSH"] { height: 3000px; }
@media (max-width: 767px) {
  .prose iframe[src*="1FAIpQLSdS3NdASiY"] { height: 2650px; }
  .prose iframe[src*="1FAIpQLSdKxpWEKUSH"] { height: 3250px; }
}
@media (max-width: 480px) {
  .prose iframe[src*="1FAIpQLSdS3NdASiY"] { height: 2950px; }
  .prose iframe[src*="1FAIpQLSdKxpWEKUSH"] { height: 3550px; }
}
@media (max-width: 640px) {
  .prose iframe[src*="docs.google.com/forms"] { width: calc(100% + 2 * var(--gutter)); max-width: none; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
}

/* ---- body texts justified site-wide (headings, buttons and menus stay left-aligned) ---- */
.prose p, .prose li, .prose td,
.card__excerpt, .card__lead, .card__meta,
.pillar__lead, .pillar__points li,
.intro-item__text, .section-intro p,
.contact-intro p,
.certs-card p, .side-card p {
  text-align: justify;
  -webkit-hyphens: auto; hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
}
/* items that are short labels or centred by design keep their alignment */
.prose .ai-flow li, .prose .ai-flow__text, .prose .ai-card__title, .prose .ai-tagline,
.prose figcaption, .prose .table-wrap td, .prose li > a:only-child { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.page-hero--center p, .error-page p { text-align: center; }

/* ==========================================================================
   Homepage v2: intro hero + AI / security feature blocks
   ========================================================================== */
.intro-hero { position: relative; padding-block: clamp(36px, 5vw, 72px) clamp(28px, 3vw, 44px);
  background: radial-gradient(60% 70% at 12% 0%, rgba(21,144,181,.16), transparent 70%), radial-gradient(50% 60% at 95% 100%, rgba(21,144,181,.10), transparent 70%), linear-gradient(180deg, #E4F2F8, #F5FAFC); }
.intro-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.intro-hero .hero-title { text-wrap: balance; font-size: clamp(2rem, 1rem + 2.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 800; color: var(--c-ink); }
.intro-hero .hero-title .grad { background: linear-gradient(90deg, #00607E, #007194 45%, #1590B5); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 961px) { .intro-hero .hero-title { display: block; } .intro-hero .hero-title > span:first-child { display: block; } .intro-hero .hero-title__sep { display: none; } .intro-hero .hero-title .grad { display: block; margin-top: 10px; font-size: .62em; } }
.intro-hero__lead { margin: 22px 0 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--c-ink-2); max-width: 60ch; text-align: left; }
.intro-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.focus-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.focus-grid a { display: grid; gap: 6px; height: 100%; padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--sh-1); text-decoration: none; color: var(--c-ink-2); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.focus-grid a:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--c-brand-100); }
.focus-grid__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 12px; background: var(--c-brand-600); color: #fff; }
.focus-grid strong { font: 700 1.05rem/1.25 var(--f-display); color: var(--c-ink); letter-spacing: -.01em; }
.focus-grid span:last-child { font-size: .92rem; color: var(--c-muted); }
.facts--hero { margin: clamp(28px, 3vw, 40px) 0 0; }
/* feature blocks (AI, security) */
.feature__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.feature--reverse .feature__media { order: 2; }
.feature__media { display: block; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); line-height: 0; }
.feature__media img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.feature__media:hover img { transform: scale(1.02); }
.feature__body { display: grid; gap: 14px; justify-items: start; }
.feature__kicker { margin: 0; font: 600 var(--fs-xs)/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--c-brand-600); }
.feature__body h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
.feature__lead { margin: 0; font-size: 1.1rem; line-height: 1.55; color: var(--c-ink-2); }
.feature__body .pillar__points { margin: 4px 0 8px; }
.feature__body .pillar__points li { color: var(--c-ink-2); }
.feature__foot { display: flex; align-items: center; gap: 18px; }
.feature__badge { width: 56px; height: 56px; padding: 4px; border-radius: 50%; background: #fff; border: 1px solid var(--c-line); }
@media (max-width: 960px) {
  .intro-hero__grid, .feature__grid { grid-template-columns: minmax(0, 1fr); }
  .feature--reverse .feature__media { order: 0; }
}
@media (max-width: 480px) { .focus-grid { gap: 10px; } .focus-grid a { padding: 14px; gap: 4px; } .focus-grid__icon { width: 36px; height: 36px; margin-bottom: 4px; } .focus-grid strong { font-size: .95rem; } .focus-grid span:last-child { font-size: .82rem; } }

.nav-item.is-spy > .nav-link { color: var(--c-brand-600); background: var(--c-brand-50); }
.feature .section-head { margin-bottom: clamp(20px, 2.4vw, 32px); }

/* home cards with a photo */
.card__media--photo { background: #dfe9ef; }

/* ===== Homepage intro: cards around the AXON PRO node + fact tiles ===== */
.intro-hero--d { overflow: hidden; padding-block: clamp(26px, 3.4vw, 50px) clamp(28px, 3.2vw, 44px);
  background: radial-gradient(55% 70% at 8% 0%, rgba(21,144,181,.15), transparent 70%),
              radial-gradient(45% 60% at 82% 34%, rgba(124,198,220,.26), transparent 70%),
              linear-gradient(180deg, #E4F2F8, #F5FAFC); }
.hd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "text dash" "facts facts";
  column-gap: clamp(28px, 4vw, 60px); row-gap: clamp(24px, 3vw, 40px); align-items: center; }
.hd-text { grid-area: text; }
.intro-hero--d .hd-lead { margin-top: 20px; max-width: 50ch; text-align: left; -webkit-hyphens: manual; hyphens: manual; text-wrap: pretty; }
.intro-hero--d .intro-hero__actions { margin-top: 24px; }

/* -- the cross: 2x2 equal cards around the AXON PRO node -- */
.hd-dash { grid-area: dash; position: relative; isolation: isolate; --g: 64px; --pad: 28px; --node: 74px;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--g) minmax(0, 1fr); grid-template-rows: auto var(--g) auto; padding: var(--pad); }
.hd-dash::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 30px;
  background: radial-gradient(circle at 1px 1px, rgba(0,113,148,.15) 1px, transparent 1.4px) 0 0/18px 18px,
              linear-gradient(140deg, rgba(255,255,255,.78), rgba(217,238,245,.6));
  border: 1px solid rgba(255,255,255,.95); box-shadow: inset 0 0 0 1px rgba(21,144,181,.08), 0 30px 60px -40px rgba(3,47,62,.35); }

/* dashed connectors in the gutters with travelling dots */
.hd-wire { position: relative; z-index: 0; align-self: center; justify-self: stretch; pointer-events: none; }
.hd-wire--l, .hd-wire--r { grid-row: 2; height: 2px; background: repeating-linear-gradient(90deg, var(--c-brand-300) 0 5px, transparent 5px 10px); }
.hd-wire--l { grid-column: 1; margin-left: calc(var(--pad) * -1); }
.hd-wire--r { grid-column: 3; margin-right: calc(var(--pad) * -1); }
.hd-wire--t, .hd-wire--b { grid-column: 2; width: 2px; justify-self: center; align-self: stretch; background: repeating-linear-gradient(180deg, var(--c-brand-300) 0 5px, transparent 5px 10px); }
.hd-wire--t { grid-row: 1; margin-top: calc(var(--pad) * -1); }
.hd-wire--b { grid-row: 3; margin-bottom: calc(var(--pad) * -1); }
.hd-wire::before { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; border: 2px solid var(--c-brand-500); }
.hd-wire--l::before { left: -1px; top: -5px; } .hd-wire--r::before { right: -1px; top: -5px; }
.hd-wire--t::before { top: -1px; left: -5px; } .hd-wire--b::before { bottom: -1px; left: -5px; }
.hd-wire::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--c-brand-500); box-shadow: 0 0 0 4px rgba(21,144,181,.18); }
.hd-wire--l::after { top: -2px; right: 0; animation: hd-go-l 3.6s linear infinite; }
.hd-wire--r::after { top: -2px; left: 0; animation: hd-go-r 3.6s linear -1.8s infinite; }
.hd-wire--t::after { left: -2px; bottom: 0; animation: hd-go-t 3.6s linear -.9s infinite; }
.hd-wire--b::after { left: -2px; top: 0; animation: hd-go-b 3.6s linear -2.7s infinite; }
@keyframes hd-go-l { from { right: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { right: 100%; opacity: 0; } }
@keyframes hd-go-r { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: 100%; opacity: 0; } }
@keyframes hd-go-t { from { bottom: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { bottom: 100%; opacity: 0; } }
@keyframes hd-go-b { from { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: 100%; opacity: 0; } }

/* AXON PRO node at the intersection */
.hd-hub { grid-area: 2 / 2; position: relative; z-index: 6; }
.hd-hub > span { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: var(--node); height: var(--node); border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: 1; color: #fff;
  background: radial-gradient(circle at 30% 25%, var(--c-brand-500), var(--c-brand-600) 60%, var(--c-brand-700));
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--c-brand-100), 0 18px 34px -12px rgba(0,90,119,.55); }
.hd-hub > span::before, .hd-hub > span::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--c-brand-300); opacity: 0; animation: hd-hub 3.2s ease-out infinite; }
.hd-hub > span::after { animation-delay: -1.6s; }
@keyframes hd-hub { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }
.hd-hub b { font: 800 .86rem/1 var(--f-display); letter-spacing: .04em; }
.hd-hub small { margin-top: 3px; font: 700 .58rem/1 var(--f-display); letter-spacing: .32em; padding-left: .32em; color: var(--c-brand-100); }

/* A-style service cards: accent edge, icon tile on top, title + subtitle, arrow */
.hd-card { position: relative; z-index: 1; display: flex; min-width: 0; text-decoration: none; color: var(--c-ink-2);
  transition: translate var(--dur) var(--ease); }
.hd-ai { grid-area: 1 / 1; } .hd-sec { grid-area: 1 / 3; } .hd-sw { grid-area: 3 / 1; } .hd-it { grid-area: 3 / 3; }
.hd-card__in { position: relative; flex: 1; display: grid; align-content: start; gap: 12px; padding: 18px 18px 17px; overflow: hidden;
  background: #fff; border: 1px solid var(--c-brand-100); border-radius: 18px;
  box-shadow: 0 1px 2px rgba(11,31,46,.04), 0 16px 34px -22px rgba(0,113,148,.45);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.hd-card__in::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--c-brand-600), var(--c-brand-300)); }
.hd-card:hover { z-index: 5; translate: 0 -3px; }
.hd-card:hover .hd-card__in, .hd-card:focus-visible .hd-card__in { border-color: var(--c-brand-300); box-shadow: 0 1px 2px rgba(11,31,46,.04), 0 24px 44px -22px rgba(0,113,148,.55); }
.hd-card:focus-visible { outline: none; }
.hd-card:focus-visible .hd-card__in { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.hd-card__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c-brand-50); color: var(--c-brand-600); box-shadow: inset 0 0 0 1px var(--c-brand-100); }
.hd-card__ic .icon { width: 23px; height: 23px; }
.hd-card__t { display: grid; gap: 3px; min-width: 0; text-align: left; }
.hd-card__t strong { font: 700 1.06rem/1.22 var(--f-display); letter-spacing: -.015em; color: var(--c-ink); }
.hd-card__t span { font-size: .875rem; line-height: 1.35; color: var(--c-muted); }
.hd-card__go { position: absolute; top: 14px; right: 14px; color: var(--c-brand-600); opacity: .5; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.hd-sw .hd-card__go, .hd-it .hd-card__go { top: auto; bottom: 14px; }
.hd-card:hover .hd-card__go, .hd-card:focus-visible .hd-card__go { opacity: 1; transform: translate(2px, -2px); }

/* -- facts (as in C) -- */
.hd-facts { grid-area: facts; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hd-fact { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 4px; padding: 16px 18px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--c-line);
  box-shadow: 0 1px 2px rgba(11,31,46,.04), 0 16px 34px -26px rgba(3,47,62,.35); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.hd-fact::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--c-brand-600), var(--c-brand-500) 55%, var(--c-brand-300)); }
.hd-fact:hover { transform: translateY(-3px); border-color: var(--c-brand-100); box-shadow: 0 1px 2px rgba(11,31,46,.04), 0 24px 44px -24px rgba(3,47,62,.42); }
.hd-fact__top { display: flex; align-items: center; gap: 12px; }
.hd-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--c-brand-50); color: var(--c-brand-600); box-shadow: inset 0 0 0 1px var(--c-brand-100); }
.hd-ic .icon { width: 19px; height: 19px; }
.hd-fact__v { font: 800 clamp(1.8rem, 1.3rem + 1.2vw, 2.35rem)/1 var(--f-display); letter-spacing: -.045em;
  background: linear-gradient(120deg, #00506A, var(--c-brand-600) 45%, var(--c-brand-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hd-fact__l { font-size: .88rem; line-height: 1.35; color: var(--c-ink-2); font-weight: 600; }
.hd-fact__x { align-self: end; display: flex; align-items: flex-end; gap: 12px; min-width: 0; height: 60px; margin-top: 8px; }

/* 30+ : four decades */
.hd-decades { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.hd-decades span { display: grid; gap: 6px; }
.hd-decades i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--c-brand-600), var(--c-brand-500)); transform-origin: left; animation: hd-grow .7s var(--ease) both; }
.hd-decades span:nth-child(2) i { animation-delay: .15s; } .hd-decades span:nth-child(3) i { animation-delay: .3s; }
.hd-decades span:last-child i { background: linear-gradient(90deg, var(--c-brand-500) 65%, var(--c-brand-100) 65%); animation-delay: .45s; }
.hd-decades b { font: 700 .72rem/1 var(--f-display); color: var(--c-muted); }
@keyframes hd-grow { from { transform: scaleX(0); } }

/* 1991 : milestones */
.hd-miles { position: relative; flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hd-miles::before { content: ""; position: absolute; left: 5px; right: 12%; top: 5px; height: 2px; background: linear-gradient(90deg, var(--c-brand-600), var(--c-brand-300)); }
.hd-miles span { position: relative; display: grid; justify-items: start; gap: 2px; min-width: 0; }
.hd-miles i { width: 12px; height: 12px; margin-bottom: 5px; border-radius: 50%; background: #fff; border: 2px solid var(--c-brand-600); }
.hd-miles span:last-child i { background: var(--c-brand-500); border-color: var(--c-brand-500); box-shadow: 0 0 0 4px rgba(21,144,181,.18); }
.hd-miles b { font: 800 .76rem/1 var(--f-display); color: var(--c-brand-600); }
.hd-miles small { font-size: .7rem; line-height: 1.2; color: var(--c-muted); padding-right: 4px; }

/* 5 : map of Slovakia */
.hd-map { height: 60px; width: auto; flex: none; overflow: visible; }
.hd-map__land { fill: var(--c-brand-50); stroke: var(--c-brand-300); stroke-width: 1.4; stroke-linejoin: round; }
.hd-map__dot, .hd-map__hq { fill: var(--c-brand-600); stroke: #fff; stroke-width: 1.5; }
.hd-map__halo { fill: rgba(21,144,181,.2); transform-box: fill-box; transform-origin: center; animation: hd-halo 2.6s ease-out infinite; }
@keyframes hd-halo { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hd-cities { display: flex; flex-wrap: wrap; gap: 1px 8px; align-content: flex-end; min-width: 0; font-size: .7rem; line-height: 1.35; color: var(--c-ink-2); }
.hd-cities span { white-space: nowrap; }
.hd-cities-m { display: none; }
.hd-cities .is-hq { font-weight: 700; color: var(--c-brand-600); }
.hd-cities small { font-weight: 500; color: var(--c-muted); font-size: inherit; }

/* 4 : ISO norms */
.hd-iso { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 4px; }
.hd-iso span { display: grid; gap: 0; padding: 2px 8px 3px; border-radius: 8px; background: var(--c-brand-50); border: 1px solid var(--c-brand-100); min-width: 0; }
.hd-iso b { font: 800 .72rem/1.15 var(--f-display); color: var(--c-brand-600); }
.hd-iso small { font-size: .64rem; line-height: 1.1; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* -- short desktop screens (e.g. 1366x768) -- */
@media (min-width: 1181px) and (max-height: 820px) {
  .intro-hero--d { padding-block: 22px 26px; }
  .hd-grid { row-gap: 22px; }
  .hd-dash { --g: 60px; --pad: 22px; --node: 66px; }
  .hd-card__in { padding: 14px 16px; gap: 10px; }
  .hd-card__ic { width: 40px; height: 40px; }
  .hd-fact { padding: 13px 16px 12px; }
  .hd-fact__x { height: 58px; margin-top: 6px; }
  .hd-map { height: 56px; }
}

/* -- one column below 1180px: the cross under the text -- */
@media (max-width: 1180px) {
  .hd-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "dash" "facts"; }
  .intro-hero--d .hd-lead { max-width: 60ch; }
  .hd-dash { width: 100%; }
  .hd-card__in { grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: center; gap: 16px; padding: 20px 44px 20px 20px; }
  .hd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* -- phone: the cross stays, cards get smaller, titles break in two -- */
@media (max-width: 620px) {
  .hd-grid { row-gap: 24px; }
  .hd-dash { --g: 50px; --pad: 14px; --node: 56px; }
  .hd-dash::before { border-radius: 24px; }
  .hd-card__in { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; gap: 10px; padding: 14px 12px 14px 14px; border-radius: 16px; }
  .hd-card__ic { width: 38px; height: 38px; border-radius: 11px; }
  .hd-card__ic .icon { width: 20px; height: 20px; }
  .hd-card__t strong { font-size: .95rem; line-height: 1.2; text-wrap: balance; }
  .hd-card__t > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hd-card__go { top: 12px; right: 12px; }
  .hd-sw .hd-card__go, .hd-it .hd-card__go { top: auto; bottom: 12px; }
  .hd-hub > span { box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--c-brand-100), 0 14px 28px -12px rgba(0,90,119,.55); }
  .hd-hub b { font-size: .72rem; }
  .hd-hub small { font-size: .5rem; }

  .hd-facts { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-fact { padding: 14px 14px 12px; border-radius: 16px; }
  .hd-fact::before { left: 14px; right: 14px; }
  .hd-fact__top { gap: 9px; }
  .hd-fact .hd-ic { width: 30px; height: 30px; }
  .hd-fact__v { font-size: 1.7rem; }
  .hd-fact__l { font-size: .8rem; }
  .hd-fact__x { height: 46px; }
  .hd-miles small { display: none; }
  .hd-miles b { font-size: .68rem; }
  .hd-decades b { font-size: .66rem; }
  .hd-f-off, .hd-f-iso { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; column-gap: 12px; }
  .hd-f-off .hd-fact__x, .hd-f-iso .hd-fact__x { grid-column: 2; grid-row: 1 / span 3; align-self: center; height: auto; margin: 0; }
  .hd-f-off .hd-fact__x { flex-direction: column; align-items: flex-end; gap: 6px; }
  .hd-f-off .hd-map { height: 64px; }
  .hd-f-off .hd-cities { display: none; }
  .hd-cities-m { display: block; margin-top: 5px; font-size: .72rem; line-height: 1.4; font-weight: 500; color: var(--c-muted); }
  .hd-f-iso .hd-iso { width: min(216px, 60vw); }
  .hd-iso small { white-space: normal; }
}
@media (max-width: 360px) { .hd-f-off .hd-map { height: 54px; } .hd-card__t strong { font-size: .92rem; } }

@media (prefers-reduced-motion: reduce) {
  .hd-wire::after, .hd-hub > span::before, .hd-hub > span::after, .hd-map__halo, .hd-decades i { animation: none !important; }
  .hd-wire::after, .hd-hub > span::before, .hd-hub > span::after { display: none; }
  .hd-card, .hd-card__go, .hd-fact { transition: none; }
  .hd-card:hover, .hd-fact:hover { translate: none; transform: none; }
}

/* ==========================================================================
   Homepage intro: original logo in the hub node + "Naša cesta" timeline (no frame, full width)
   ========================================================================== */
.intro-hero--d .hd-dash { --g: 72px; --pad: 24px; --node: 94px; --logo: 52px; }
.hd-hub--logo > span {
  translate: none; margin: calc(var(--node) / -2) 0 0 calc(var(--node) / -2);
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(150deg, var(--c-brand-300), var(--c-brand-500) 50%, var(--c-brand-600)) border-box;
  box-shadow: 0 0 0 6px rgba(255,255,255,.75), 0 0 0 7px rgba(21,144,181,.16), 0 20px 36px -16px rgba(0,90,119,.55);
}
.hd-hub--logo img { display: block; width: var(--logo); max-width: none; height: auto; }
.hd-hub--logo > span::before, .hd-hub--logo > span::after { inset: -9px; animation-name: hd-hub-logo; }
@keyframes hd-hub-logo { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.38); opacity: 0; } }

.hd-journey { grid-area: facts; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: clamp(24px, 3vw, 48px); padding-top: 4px; }
.hd-journey__head { display: flex; align-items: center; gap: 12px; }
.hd-journey__h { margin: 0; font: 800 1.3rem/1.1 var(--f-display); letter-spacing: -.02em; color: var(--c-ink); white-space: nowrap; }
.hd-journey__h::before { content: none; }

/* chart: up-flags | stem | axis | decade labels | down-flags */
.hd-tl { --ic: 28px; --fl: 36px; --st: 9px; --ax: 8px; --dr: 16px; --ay: calc(var(--fl) + var(--st));
  position: relative; margin: 0 calc(var(--ic) / 2); height: calc(var(--fl) * 2 + var(--st) * 2 + var(--ax)); }
.hd-tl__axis { position: absolute; left: 0; right: 0; top: var(--ay); height: var(--ax); border-radius: 99px;
  background: linear-gradient(90deg, var(--c-brand-100), var(--c-brand-300) 36%, var(--c-brand-500) 72%, var(--c-brand-600));
  animation: hd-tl-draw 1.1s var(--ease) .15s both; }
.hd-tl__axis span { position: absolute; left: var(--x); top: 100%; translate: -50% 0; padding-top: 5px;
  font: 600 .66rem/1 var(--f-display); letter-spacing: .03em; color: var(--c-muted); }
.hd-tl__axis span::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 4px; background: var(--c-brand-300); }
.hd-tl__axis::after { content: ""; position: absolute; right: -22px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
  background: radial-gradient(circle, rgba(21,144,181,.5), rgba(21,144,181,0) 70%); animation: hd-tl-glow 2.6s ease-in-out infinite; }

.hd-tl__list { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; }
.hd-tl__m { position: absolute; left: var(--x); top: 0; bottom: 0; width: 0; animation: hd-tl-in .5s var(--ease) both; }
.hd-tl__m:nth-child(2) { animation-delay: .25s; } .hd-tl__m:nth-child(3) { animation-delay: .35s; }
.hd-tl__m:nth-child(4) { animation-delay: .5s; } .hd-tl__m:nth-child(5) { animation-delay: .6s; }
.hd-tl__m::before { content: ""; position: absolute; left: -1px; width: 2px; border-radius: 1px; background: var(--c-brand-300); }
.hd-tl__m.is-up::before { top: calc(var(--ic) - 1px); height: calc(var(--ay) + var(--ax) / 2 - var(--ic) + 1px); }
.hd-tl__m.is-dn::before { top: calc(var(--ay) + var(--ax) / 2); bottom: calc(var(--fl) - 1px); }
.hd-tl__m::after { content: ""; position: absolute; left: -7px; top: calc(var(--ay) + var(--ax) / 2 - 7px); width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 2px solid var(--c-brand-600); }
.hd-tl__m.is-now::after { left: -8px; top: calc(var(--ay) + var(--ax) / 2 - 8px); width: 16px; height: 16px; background: var(--c-brand-500); border-color: #fff;
  box-shadow: 0 0 0 1.5px var(--c-brand-500), 0 0 0 6px rgba(21,144,181,.2), 0 0 18px 5px rgba(21,144,181,.45); }

.hd-tl__f { position: absolute; left: calc(var(--ic) / -2); height: var(--fl); display: flex; align-items: flex-start; gap: 9px;
  white-space: nowrap; text-decoration: none; color: inherit; border-radius: 8px; }
.is-up > .hd-tl__f { top: 0; }
.is-dn > .hd-tl__f { bottom: 0; }
.is-r > .hd-tl__f { left: auto; right: calc(var(--ic) / -2); flex-direction: row-reverse; text-align: right; }
.hd-tl__ic { flex: none; display: grid; place-items: center; width: var(--ic); height: var(--ic); border-radius: 50%;
  background: #fff; color: var(--c-brand-600); box-shadow: inset 0 0 0 1.5px var(--c-brand-300), 0 4px 10px -6px rgba(0,90,119,.4);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.hd-tl__ic .icon { width: 15px; height: 15px; stroke-width: 2; }
.hd-tl__t { display: grid; align-content: start; gap: 3px; padding-top: 1px; }
.hd-tl__t b { font: 800 .92rem/1.05 var(--f-display); letter-spacing: -.01em; color: var(--c-brand-600); }
.hd-tl__l { font-size: .82rem; line-height: 1.15; font-weight: 500; color: var(--c-ink-2); }
.hd-tl__short { display: none; }
.is-now .hd-tl__ic { color: #fff; background: linear-gradient(145deg, var(--c-brand-500), var(--c-brand-600));
  box-shadow: 0 0 0 3px rgba(21,144,181,.16), 0 6px 14px -4px rgba(21,144,181,.75); }
a.hd-tl__f:hover .hd-tl__ic, a.hd-tl__f:focus-visible .hd-tl__ic { color: #fff; background: var(--c-brand-600); box-shadow: 0 0 0 3px var(--c-brand-100); }
a.hd-tl__f .hd-tl__l { text-decoration: underline dotted var(--c-brand-300); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a.hd-tl__f:hover .hd-tl__l, a.hd-tl__f:focus-visible .hd-tl__l { color: var(--c-brand-600); text-decoration: underline solid var(--c-brand-600); }
a.hd-tl__f:focus-visible { outline-width: 2px; outline-offset: 1px; }

@keyframes hd-tl-draw { from { clip-path: inset(-40px 100% -40px -40px); } to { clip-path: inset(-40px -40px -40px -40px); } }
@keyframes hd-tl-in { from { opacity: 0; transform: translateY(4px); } }
@keyframes hd-tl-glow { 0%, 100% { opacity: .55; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

@media (min-width: 1181px) and (max-height: 820px) {
  .intro-hero--d .hd-dash { --g: 70px; --pad: 17px; }
  .hd-tl { --st: 7px; }
}
@media (max-width: 900px) {
  .hd-journey { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
}
@media (max-width: 620px) {
  .intro-hero--d .hd-dash { --g: 58px; --node: 76px; --logo: 42px; }
  .hd-hub--logo > span { box-shadow: 0 0 0 5px rgba(255,255,255,.75), 0 0 0 6px rgba(21,144,181,.16), 0 14px 28px -12px rgba(0,90,119,.55); }
  .hd-hub--logo > span::before, .hd-hub--logo > span::after { inset: -8px; }
  .hd-journey__h { font-size: 1.12rem; }
  .hd-tl { --ic: 20px; --fl: 28px; --st: 7px; }
  .hd-tl__ic .icon { width: 12px; height: 12px; }
  .hd-tl__f { gap: 5px; }
  .hd-tl__t b { font-size: .78rem; }
  .hd-tl__l { font-size: .72rem; }
  .hd-tl__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hd-tl__short { display: inline; }
}
@media (max-width: 360px) { .intro-hero--d .hd-dash { --g: 54px; --node: 66px; --logo: 36px; } }
@media (prefers-reduced-motion: reduce) {
  .hd-tl__axis, .hd-tl__axis::after, .hd-tl__m { animation: none !important; }
  .hd-tl__ic { transition: none; }
}
@media (max-width: 620px) { .hd-tl__axis span { display: none; } }

/* ==========================================================================
   Background watermark "Obvod" – faint circuit traces along the page edges
   left edge = body::before, right edge = body::after (same tile, mirrored and shifted)
   ========================================================================== */
body::before, body::after {
  content: ""; position: fixed; top: 0; bottom: 0; left: 0; width: 50%; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='1200' viewBox='0 0 480 1200'%3E%3Cg fill='none' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke='%231590B5'%3E%3Cpath d='M-30 61H87.7L123.7 97H206.6'/%3E%3Cpath d='M-30 70H84L120 106H191.6'/%3E%3Cpath d='M-30 79H80.3L116.3 115H176.6'/%3E%3Cpath d='M-30 226H46L80 192H137.4'/%3E%3Cpath d='M-30 299H68.1L110.1 341H160.6'/%3E%3Cpath d='M-30 309H63.9L105.9 351H176.6'/%3E%3Cpath d='M45 447.4V545.9L81 581.9V643.9L116.1 679H216.6'/%3E%3Cpath d='M35 431.4V550.1L71 586.1V648.1L111.9 689H200.6'/%3E%3Cpath d='M-30 833H96.3L128.3 801H180.6'/%3E%3Cpath d='M-30 842H100L132 810H195.6'/%3E%3Cpath d='M-30 851H103.7L135.7 819H210.6'/%3E%3Cpath d='M-30 946H95.4'/%3E%3Cpath d='M103.3 949.3L132 978H186.6'/%3E%3Cpath d='M26 -94.6V25.4'/%3E%3Cpath d='M26 1105.4V1225.4'/%3E%3Cpath d='M330 -146.6V36L294 72V121.4'/%3E%3Cpath d='M330 1053.4V1236L294 1272V1321.4'/%3E%3Cpath d='M237.4 515H318.1L354.1 551H400.6'/%3E%3Cpath d='M253.4 525H313.9L349.9 561H416.6'/%3E%3C/g%3E%3Cg stroke='%23007194'%3E%3Ccircle cx='210' cy='97' r='3.4'/%3E%3Ccircle cx='195' cy='106' r='3.4'/%3E%3Ccircle cx='180' cy='115' r='3.4'/%3E%3Ccircle cx='142' cy='192' r='4.6'/%3E%3Ccircle cx='164' cy='341' r='3.4'/%3E%3Ccircle cx='180' cy='351' r='3.4'/%3E%3Ccircle cx='45' cy='444' r='3.4'/%3E%3Ccircle cx='220' cy='679' r='3.4'/%3E%3Ccircle cx='35' cy='428' r='3.4'/%3E%3Ccircle cx='204' cy='689' r='3.4'/%3E%3Ccircle cx='184' cy='801' r='3.4'/%3E%3Ccircle cx='199' cy='810' r='3.4'/%3E%3Ccircle cx='214' cy='819' r='3.4'/%3E%3Ccircle cx='100' cy='946' r='4.6'/%3E%3Ccircle cx='190' cy='978' r='3.4'/%3E%3Ccircle cx='26' cy='1102' r='3.4'/%3E%3Ccircle cx='26' cy='30' r='4.6'/%3E%3Ccircle cx='330' cy='1050' r='3.4'/%3E%3Ccircle cx='294' cy='126' r='4.6'/%3E%3Ccircle cx='234' cy='515' r='3.4'/%3E%3Ccircle cx='404' cy='551' r='3.4'/%3E%3Ccircle cx='250' cy='525' r='3.4'/%3E%3Ccircle cx='420' cy='561' r='3.4'/%3E%3Ccircle cx='214' cy='262' r='4.6'/%3E%3Ccircle cx='180' cy='460' r='4.6'/%3E%3Ccircle cx='360' cy='316' r='4.6'/%3E%3Ccircle cx='262' cy='868' r='4.6'/%3E%3Ccircle cx='152' cy='1078' r='4.6'/%3E%3Ccircle cx='384' cy='760' r='4.6'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%23007194'%3E%3Ccircle cx='142' cy='192' r='1.5'/%3E%3Ccircle cx='100' cy='946' r='1.5'/%3E%3Ccircle cx='26' cy='30' r='1.5'/%3E%3Ccircle cx='294' cy='126' r='1.5'/%3E%3Ccircle cx='214' cy='262' r='1.5'/%3E%3Ccircle cx='180' cy='460' r='1.5'/%3E%3Ccircle cx='360' cy='316' r='1.5'/%3E%3Ccircle cx='262' cy='868' r='1.5'/%3E%3Ccircle cx='152' cy='1078' r='1.5'/%3E%3Ccircle cx='384' cy='760' r='1.5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 480px 1200px repeat-y;
  opacity: .2;
  /* full strength only in the side margin; from the content edge (--wm-e = where text starts, same
     formula as .container) at most 45 % – lines under text stay below 9 % alpha, text keeps AA contrast –
     and gone 160px further in */
  --wm-e: max(clamp(16px, 8%, 32px), calc(100% - 620px));
  --wm-fade: linear-gradient(90deg, #000 max(0px, calc(var(--wm-e) - 40px)), rgb(0 0 0 / .45) var(--wm-e),
             rgb(0 0 0 / .16) calc(var(--wm-e) + 60px), transparent calc(var(--wm-e) + 160px));
  -webkit-mask-image: var(--wm-fade); mask-image: var(--wm-fade);
}
body::after { left: auto; right: 0; transform: scaleX(-1); background-position: 0 -560px; }
/* phones: smaller tile, a little stronger (finer lines), lives in the 16px side margins */
@media (max-width: 640px) {
  body::before, body::after { background-size: 336px 840px; opacity: .24;
    --wm-fade: linear-gradient(90deg, #000 4px, rgb(0 0 0 / .38) 16px, rgb(0 0 0 / .14) 56px, transparent 120px); }
  body::after { background-position: 0 -392px; }
}

/* bands with their own background paint it one layer lower (z-index -2), so the watermark
   lies above every band but below all content – cards, photos and text stay clean */
.section--tint, .site-footer { position: relative; }
.section--tint, .site-footer, .intro-hero { background: none; }
.section--tint::before, .site-footer::before, .intro-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
}
.section--tint::before { background: var(--c-surface); }
.site-footer::before { background: #EDF4F8; }
.intro-hero::before { background: radial-gradient(60% 70% at 12% 0%, rgba(21,144,181,.16), transparent 70%), radial-gradient(50% 60% at 95% 100%, rgba(21,144,181,.10), transparent 70%), linear-gradient(180deg, #E4F2F8, #F5FAFC); }
.intro-hero--d::before { background: radial-gradient(55% 70% at 8% 0%, rgba(21,144,181,.15), transparent 70%), radial-gradient(45% 60% at 82% 34%, rgba(124,198,220,.26), transparent 70%), linear-gradient(180deg, #E4F2F8, #F5FAFC); }
/* semi-transparent boxes get an opaque base (same look), the traces never show through them */
.intro-item { background-color: var(--c-bg); }
.section--tint .intro-item { background-color: var(--c-surface); }

@media print { body::before, body::after { display: none; } }
@media (forced-colors: active), (prefers-contrast: more) { body::before, body::after { display: none; } }

/* ==========================================================================
   Homepage intro: the four focus areas as photo tiles (Unsplash photos in assets/img/photos/hero-*.jpg)
   One colour treatment for all photos so they read as one series in the brand palette:
   slightly desaturated + logo-teal tint, text on a brand-900 gradient.
   ========================================================================== */
.te { grid-area: dash; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.te-tile { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 230px; border-radius: 18px; overflow: hidden;
  text-decoration: none; color: #fff; background: var(--c-brand-800); box-shadow: 0 22px 44px -26px rgba(0,40,60,.6); transition: transform var(--dur) var(--ease); }
.te-img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.02); transition: transform .6s var(--ease); }
.te-tile::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(150deg, var(--c-brand-500) 0%, var(--c-brand-700) 100%); mix-blend-mode: color; opacity: .35; }
.te-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(3,47,62,.92) 0%, rgba(3,47,62,.55) 42%, rgba(3,47,62,0) 72%); }
.te-tile:hover { transform: translateY(-3px); }
.te-tile:hover, .te-tile:focus-visible, .te-tile:hover .te-body strong { color: #fff; } /* not the global a:hover blue */
.te-tile:hover .te-img { transform: scale(1.05); }
.te-tile:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.te-body { display: grid; gap: 4px; padding: 20px 22px; }
.te-body strong { font: 700 1.2rem/1.2 var(--f-display); letter-spacing: -.01em; }
.te-s { font-size: .9rem; color: rgba(255,255,255,.85); }
.te-go { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; padding: 8px; border-radius: 50%;
  background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; }
@media (max-width: 1180px) { .te { width: 100%; } }
@media (max-width: 620px) {
  .te-tile { min-height: 170px; } .te-body { padding: 14px; } .te-body strong { font-size: 1rem; } .te-s { display: none; }
}
@media (prefers-reduced-motion: reduce) { .te-tile, .te-img { transition: none; } .te-tile:hover, .te-tile:hover .te-img { transform: none; } }
/* timeline: short labels from tablet width down (2020 / 2023 / today sit close together) */
@media (max-width: 1280px) {
  .hd-tl__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hd-tl__short { display: inline; }
}
.hd-tl__m:nth-child(6) { animation-delay: .7s; }
/* phones: no room for 2020 next to today – EWA is named at its 2023 milestone */
@media (max-width: 620px) { .hd-tl__m:nth-child(4), .hd-tl__m:nth-child(5) { display: none; } } /* phones: 2015 and 2020 hidden */
.hd-tl__m:nth-child(7) { animation-delay: .8s; }
/* text + illustration side by side (e.g. security page, 'Why choose us') */
.prose .ai-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: 1.2em; }
.prose .ai-media ul.ai-benefits { grid-template-columns: minmax(0, 1fr); margin: 0; }
.prose .ai-media ul.ai-benefits li:last-child:nth-child(odd) { grid-column: auto; }
.prose .ai-media figure { margin: 0; }
.prose .ai-media img { display: block; width: 100%; max-width: 560px; height: auto; margin-inline: auto; border-radius: var(--r-lg); }
@media (max-width: 760px) {
  .prose .ai-media { grid-template-columns: minmax(0, 1fr); }
  .prose .ai-media figure { order: -1; }
  .prose .ai-media img { max-width: 380px; }
}

/* panels: no justified text in narrow cards (avoids wide word gaps) */
.prose ul.ai-benefits li, .prose .ai-card, .prose .ai-card p, .prose .ai-card li, .prose ul.ai-security li, .prose .ai-flow li, .prose .ai-media li { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
/* text + illustration: the picture sits in a tinted card as tall as the list next to it */
.prose .ai-media { align-items: stretch; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.prose .ai-media figure { display: grid; place-items: center; height: 100%; padding: clamp(16px, 2vw, 28px); border-radius: var(--r-lg);
  background: radial-gradient(70% 80% at 50% 45%, rgba(21,144,181,.10), transparent 70%), linear-gradient(160deg, var(--c-brand-50), #fff 85%);
  border: 1px solid var(--c-brand-100); box-shadow: var(--sh-1); }
.prose .ai-media img { width: 100%; max-width: none; border-radius: 12px; }
@media (max-width: 760px) { .prose .ai-media figure { height: auto; } .prose .ai-media img { max-width: 420px; } }
.prose .ai-media figure { padding: clamp(10px, 1.4vw, 18px); background: radial-gradient(75% 80% at 50% 48%, rgba(21,144,181,.12), transparent 72%), linear-gradient(160deg, #EAF5FA, #F6FAFC 85%); }
.prose .ai-media img { border-radius: 0; }

/* homepage intro fills the first screen (the next section – AI – starts below the fold) */
@media (min-width: 761px) {
  .intro-hero--d { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .intro-hero--d > .container { width: 100%; }
}
/* bigger screens: let the intro content grow with the available height */
@media (min-width: 761px) { .te-tile { min-height: clamp(212px, 25vh, 300px); } }
@media (min-width: 1300px) and (min-height: 880px) {
  .intro-hero .hero-title { font-size: clamp(3.1rem, 1.2rem + 2.2vw, 3.9rem); }
  .intro-hero--d .hd-lead { font-size: 1.25rem; max-width: 52ch; }
}
/* scroll cue at the bottom of the full-screen intro */
.hero-scroll { display: none; }
@media (min-width: 761px) {
  .intro-hero--d { position: relative; }
  .hero-scroll { display: grid; place-items: center; position: absolute; left: 50%; bottom: clamp(14px, 3vh, 32px); translate: -50% 0; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.85); border: 1px solid var(--c-brand-100); box-shadow: var(--sh-1); color: var(--c-brand-600); text-decoration: none; animation: hero-scroll 2.4s ease-in-out infinite; }
  .hero-scroll .icon { rotate: 90deg; }
  .hero-scroll:hover { background: #fff; }
}
@keyframes hero-scroll { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll { animation: none; } }
/* homepage intro: very faint globe + constellation in the background (_design/hero-bg/make.py, variant d) */
.intro-hero--d::before { background: url(/assets/img/hero-bg.svg) center / cover no-repeat, radial-gradient(55% 70% at 8% 0%, rgba(21,144,181,.15), transparent 70%), radial-gradient(45% 60% at 82% 34%, rgba(124,198,220,.26), transparent 70%), linear-gradient(180deg, #E4F2F8, #F5FAFC); }

/* homepage contact band: contact details in one row next to the title, branches side by side below */
.contact-panel--rows { display: grid; gap: clamp(28px, 3.5vw, 44px); }
.contact-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.contact-panel--rows .contact-intro { gap: 20px; }
.contact-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.branches--row { padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--c-brand-100); }
.branch-grid--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .contact-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .contact-list--grid { grid-template-columns: minmax(0, 1fr); }
  .branch-grid--row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Partners page (/about/partneri/) ---------- */
.prose ul.partners { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-block: 1.6em; }
.prose ul.partners li {
  display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 120px;
  padding: 22px 22px; border-radius: var(--r-md); background: var(--c-surface);
  border: 1px solid var(--c-line); box-shadow: var(--sh-1); line-height: 1.45;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.prose ul.partners li::before { display: none; }
.prose ul.partners li, .prose ul.partners li span { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.prose ul.partners li:hover { box-shadow: var(--sh-2); border-color: var(--c-brand-100); transform: translateY(-2px); }
.partners__name { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; color: var(--c-ink); }
.partners__desc { font-size: var(--fs-sm); color: var(--c-muted); }
.partners__badge {
  align-self: flex-start; margin-top: 4px; padding: 3px 10px; border-radius: 999px;
  background: linear-gradient(135deg, #EEF1F4, #CDD5DD); color: #33414E;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; border: 1px solid #C2CCD6;
}
@media (prefers-reduced-motion: reduce) { .prose ul.partners li { transition: none; } .prose ul.partners li:hover { transform: none; } }
@media (max-width: 640px) { .prose ul.partners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .prose ul.partners li { padding: 16px; min-height: 0; } .partners__name { font-size: 1.05rem; } }

/* Software section: three equal cards (.NET page removed); on the 2-column layout the first card takes the full row */
@media (min-width: 641px) and (max-width: 960px) {
  .bento--software > .card:first-child { grid-column: 1 / -1; }
  .bento--software > .card:last-child { grid-column: auto; }
  .bento--software > .card:first-child .card__media--art { aspect-ratio: auto; height: clamp(160px, 26vw, 220px); }
}

/* ---------- FAQ section under the AI and security articles (tools/geo.py, content/_faq.json) ---------- */
.prose .faq { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--c-line); }
.prose .faq > h2 { margin: 0 0 1.25rem; font-size: var(--fs-h2, 1.75rem); color: var(--c-ink); }
.prose .faq__item { padding: 1.1rem 1.25rem; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-surface, #fff); }
.prose .faq__item + .faq__item { margin-top: .75rem; }
.prose .faq__item h3 { margin: 0 0 .4rem; padding: 0; border: 0; font-size: 1.125rem; line-height: 1.35; color: var(--c-ink); }
.prose .faq__item p { margin: 0; }

/*
  AXON PRO – efekty k fotkám
  v1.1 (2026-11-20)
    - bannery: menšie zväčšenie (1.025 / 1.035) a parallax ±8 px, aby sa neorezával text pri okraji
  v1.0 (2026-11-20)
    - hero dlaždice: pomalý „Ken Burns" pohyb fotky + svetelný prelet pri hoveri
    - karty: fotka sa pri objavení odkryje (clip + doostrenie), jemný lesk pri hoveri
    - veľké bannery (AI, bezpečnosť): 3D náklon za myšou s odleskom, parallax pri skrolovaní
    - postupné (stagger) objavovanie kariet v mriežke
    - všetko vypnuté pri prefers-reduced-motion
*/

/* ---------- hero dlaždice ---------- */
.fx .te-img{animation:fxKen 22s ease-in-out infinite alternate;will-change:transform}
.fx .te-tile:nth-child(2) .te-img{animation-delay:-6s;animation-direction:alternate-reverse}
.fx .te-tile:nth-child(3) .te-img{animation-delay:-11s}
.fx .te-tile:nth-child(4) .te-img{animation-delay:-16s;animation-direction:alternate-reverse}
.fx .te-tile:hover .te-img{animation-play-state:paused}
@keyframes fxKen{
  0%{transform:scale(1.04) translate3d(0,0,0)}
  100%{transform:scale(1.13) translate3d(-2%,-1.5%,0)}
}

/* svetelný prelet (hero dlaždice aj karty) */
.fx .te-tile .fx-sheen,
.fx .card__media .fx-sheen{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:hidden}
.fx .te-tile .fx-sheen{z-index:-1}
.fx .fx-sheen::after{content:"";position:absolute;top:-20%;bottom:-20%;left:-60%;width:40%;
  background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,.0) 20%,rgba(255,255,255,.22) 50%,rgba(255,255,255,0) 80%,transparent 100%);
  transform:skewX(-18deg) translateX(0);opacity:0}
.fx .te-tile:hover .fx-sheen::after,
.fx .card:hover .fx-sheen::after{animation:fxSheen 1.1s cubic-bezier(.2,.7,.2,1) forwards}
@keyframes fxSheen{0%{opacity:0;transform:skewX(-18deg) translateX(0)}15%{opacity:1}100%{opacity:0;transform:skewX(-18deg) translateX(420%)}}

/* ---------- karty s fotkou ---------- */
.fx .card__media--photo{position:relative;overflow:hidden}
.fx .card__media--photo::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(14,28,43,0) 55%,rgba(14,28,43,.18) 100%);opacity:.7;transition:opacity .5s ease}
.fx .card:hover .card__media--photo::after{opacity:.35}
.fx.reveal-on .card.reveal .card__media--photo img{clip-path:inset(0 0 100% 0);filter:blur(6px) saturate(.6);transform:scale(1.12);
  transition:clip-path 1.1s cubic-bezier(.65,0,.25,1),filter 1.2s ease,transform 1.6s cubic-bezier(.2,.7,.2,1)}
.fx.reveal-on .card.reveal.is-visible .card__media--photo img{clip-path:inset(0 0 0 0);filter:none;transform:scale(1)}
.fx.reveal-on .card.reveal.is-visible:hover .card__media--photo img{transform:scale(1.05);transition:transform .8s cubic-bezier(.2,.7,.2,1)}

/* stagger v mriežke – oneskorenie dopĺňa effects.js cez --fx-d */
.fx.reveal-on .reveal{transition-delay:var(--fx-d,0s)}
.fx.reveal-on .card.reveal .card__media--photo img{transition-delay:calc(var(--fx-d,0s) + .1s)}

/* ---------- veľké bannery: náklon + odlesk + parallax ---------- */
.fx .feature__media{position:relative;transform-style:preserve-3d;perspective:1200px;
  transition:transform .6s cubic-bezier(.2,.7,.2,1),box-shadow .6s ease;will-change:transform}
.fx .feature__media img{transform:translate3d(0,var(--fx-py,0px),0) scale(1.025);transition:transform .2s linear}
.fx .feature__media:hover img{transform:translate3d(0,var(--fx-py,0px),0) scale(1.035)}
.fx .feature__media .fx-glare{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .4s ease;
  background:radial-gradient(600px circle at var(--fx-gx,50%) var(--fx-gy,50%),rgba(255,255,255,.16),transparent 45%)}
.fx .feature__media.is-tilt .fx-glare{opacity:1}
.fx .feature__media.is-tilt{box-shadow:0 30px 60px -20px rgba(8,18,29,.45)}

/* jemné „dýchanie" svetla na tmavých banneroch */
.fx .feature__media::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;mix-blend-mode:screen;
  background:radial-gradient(40% 50% at 30% 55%,rgba(79,216,255,.18),transparent 70%);animation:fxBreath 6s ease-in-out infinite}
@keyframes fxBreath{0%,100%{opacity:.25}50%{opacity:.8}}

@media (prefers-reduced-motion:reduce){
  .fx .te-img,.fx .feature__media::before{animation:none}
  .fx .fx-sheen{display:none}
  .fx.reveal-on .card.reveal .card__media--photo img{clip-path:none;filter:none;transform:none;transition:none}
  .fx .feature__media,.fx .feature__media img{transform:none!important;transition:none}
}

/* lead photo on subpages (photos from the approved preview) – a wide crop of the card photo */
.lead-figure--photo img { object-position: 50% 45%; filter: saturate(.9) contrast(1.02); }
.lead-figure--photo::after { background: linear-gradient(90deg, rgba(3, 47, 62, .28), rgba(3, 47, 62, 0) 55%); }

/* Fotodlaždice úvodu: názvy v jednej línii aj keď je popis dvojriadkový (telo má výšku na 2 riadky popisu, obsah hore) */
@media (min-width: 621px) {
  .te-body { width: 100%; min-height: calc(40px + 1.2rem * 1.2 + 4px + 2 * .9rem * 1.65); align-content: start; }
}

/* Úvodný banner s fotkou: vyšší pomer 16:7 na všetkých šírkach (ľudia s rukami ako na karte); výrez = object-position karty z build.py */
.lead-figure.lead-figure--photo { aspect-ratio: 16 / 7; }
.lead-figure--photo img { object-position: 50% 40%; }
