﻿:root {
  --bg: #e7ebf0;
  --surface: #f5f7fa;
  --surface-2: #e3e8ef;
  --text: #2f3c4d;
  --text-strong: #1f2b3a;
  --muted: #5f6f82;
  --brand: #c8102e;
  --brand-dark: #8d0c21;
  --brand-ink: #111827;
  --line: #d5dde6;
  --radius: 16px;
  --container: 1220px;
  --shadow: 0 14px 35px rgba(11, 20, 31, 0.08);
  --global-page-hero-image: url("../media/global/Higer-home-scaled.jpg");
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Bahnschrift", "Segoe UI Variable Display", "Trebuchet MS", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 10% 0%, #eef2f6 0%, #e7ebf0 48%, #dde3eb 100%);
}
h1, h2, h3, h4, h5, h6, strong, b, th { color: var(--text-strong); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; background: #fff; border: 1px solid var(--line); padding: .5rem .75rem; border-radius: 8px; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2600;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-wrap { min-height: 92px; display: flex; align-items: center; gap: .9rem; position: relative; }
.brand { display: inline-flex; flex-direction: row; align-items: center; gap: .25rem; font-weight: 800; }
.brand-mark {
  width: clamp(190px, 24vw, 290px);
  aspect-ratio: 680 / 181;
  height: auto;
  border-radius: 0;
  border: 0;
  object-fit: contain;
  background: transparent;
  filter: saturate(1.2) contrast(1.08);
}
.brand-text { display: block; }
.brand-tagline { display: none !important; }

.main-nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-link,
.nav-dropdown-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: .5rem .72rem;
  border-radius: 10px;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible { background: #edf2f7; }

.nav-dropdown { position: relative; z-index: 2800; }
.nav-dropdown-menu {
  position: absolute;
  left: 0;
  top: calc(100% + .4rem);
  min-width: 290px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: .85rem;
  display: none;
  z-index: 2900;
}
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-subgroup + .nav-subgroup { margin-top: .7rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.nav-subtitle { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; font-weight: 700; }
.nav-dropdown-menu a { display: block; padding: .4rem .5rem; border-radius: 8px; font-weight: 700; font-size: .88rem; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { background: #f2f5f9; }
.nav-all-models { margin-top: .75rem; border-top: 1px solid var(--line); padding-top: .75rem; color: #194b86; }
.nav-series-dropdown + .nav-series-dropdown { margin-top: .55rem; }
.nav-series-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: .36rem .45rem;
}
.nav-series-link::after {
  content: "";
  width: .34rem;
  height: .34rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .65;
}
.nav-series-link:hover,
.nav-series-link:focus-visible {
  background: #f2f5f9;
  border-color: color-mix(in srgb, var(--brand) 24%, var(--line));
}
.nav-series-menu {
  display: none;
  margin-top: .35rem;
  padding: .4rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 82%, #ffffff);
}
.nav-series-dropdown:hover .nav-series-menu,
.nav-series-dropdown:focus-within .nav-series-menu {
  display: block;
}
.nav-all-models + .nav-series-dropdown {
  margin-top: .72rem;
  padding-top: .7rem;
  border-top: 1px solid var(--line);
}

.nav-toggle { display: none; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: .44rem .74rem; font-weight: 700; }
.lang-switch {
  display: inline-flex;
  gap: .1rem;
  padding: .12rem;
  border-radius: 999px;
  background: #d9e0e9;
  border: 1px solid #c5cfdb;
}
.lang-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #2f3f53;
  padding: .35rem .72rem;
  font-weight: 800;
  cursor: pointer;
  min-width: 44px;
  transition: all .18s ease;
}
.lang-switch button.active {
  background: #c8102e;
  color: #ffffff;
  box-shadow: 0 2px 7px rgba(200, 16, 46, 0.35);
}

.hero {
  position: relative;
  color: #eff4fa;
  background:
    linear-gradient(112deg, rgba(200, 16, 46, 0.9), rgba(17, 24, 39, 0.94) 56%),
    url("../media/global/Higer-home-scaled.jpg") center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg, rgba(255,255,255,.035) 0 12px, transparent 12px 24px);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem; padding: 4.8rem 0 3.2rem; }
.eyebrow { display: inline-flex; padding: .25rem .64rem; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: rgba(255,255,255,.12); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
h1 { font-size: clamp(1.76rem, 4.2vw, 2.82rem); line-height: 1.13; margin: .85rem 0; }
.lead { color: var(--muted); font-size: 1.06rem; max-width: 78ch; }
.lead:empty { display: none; }
.hero .lead { color: #d7e1ed; }
.hero-panel { border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); padding: 1.1rem; }
.hero-panel p, .hero-panel li { color: #eaf2fb; }

.home-hero {
  min-height: clamp(360px, 58vh, 520px);
  background: transparent;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.home-hero::after {
  display: none;
}

.hero-slider {
  display: flex;
  width: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform .62s cubic-bezier(.22, .61, .36, 1);
  position: relative;
  z-index: 2;
}

.hero-slide {
  position: relative;
  min-width: 100%;
  flex: 0 0 100%;
  background:
    linear-gradient(112deg, rgba(200, 16, 46, 0.84), rgba(17, 24, 39, 0.9) 56%),
    var(--slide-bg) center/cover no-repeat;
}

.home-hero .hero-slide {
  min-height: clamp(360px, 58vh, 520px);
  background: #0f1721;
  overflow: hidden;
}

.home-hero .hero-slide::before { display: none; }

.home-hero .hero-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 19, .18), rgba(7, 12, 19, .52));
  pointer-events: none;
}

.hero-slide > .container {
  position: relative;
  z-index: 2;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.05rem;
  display: flex;
  align-items: center;
  gap: .52rem;
}

.hero-dot {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease;
}

.hero-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.25);
  transition: transform .2s ease, background-color .2s ease;
}

.hero-dot:hover,
.hero-dot:focus-visible {
  transform: scale(1.04);
}

.hero-dot:hover::before,
.hero-dot:focus-visible::before {
  background: rgba(255,255,255,.6);
}

.hero-dot.is-active {
  transform: scale(1.04);
}

.hero-dot.is-active::before {
  transform: scale(1.18);
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  padding: .72rem 1rem;
  cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: var(--brand-dark); }
.btn-secondary { background: #21364f; }
.btn-secondary:hover, .btn-secondary:focus-visible { background: #17283d; }

.section-pad { padding: 2.8rem 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.15rem; }
.kpi-grid, .adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.band { background: linear-gradient(102deg, #121926, #1c2a3a); color: #eaf1f8; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; padding: 2rem 0; }
.band-card { border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(255,255,255,.05); padding: .95rem; }
.band-card strong { font-size: 1.2rem; display: block; }

.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.model-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.model-card img { aspect-ratio: 16/10; object-fit: cover; background: #dce3ea; }
.model-card-body { padding: 1rem; display: flex; flex-direction: column; gap: .64rem; height: 100%; }
.model-card p { margin: 0; color: var(--muted); flex-grow: 1; }

.tabs { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tab-btn {
  border: 1px solid #cdd7e2;
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: .43rem .8rem;
  font-weight: 700;
  cursor: pointer;
}
.tab-btn.active { background: #13253a; border-color: #13253a; color: #fff; }

.form-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1rem; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form label { display: block; font-size: .84rem; font-weight: 700; color: #344252; margin-bottom: .25rem; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid #cbd5df; border-radius: 10px; padding: .63rem .7rem; font: inherit; background: #fff; color: var(--text); }
.lead-form textarea { min-height: 130px; resize: vertical; }
.lead-form .check-row { display: flex; align-items: flex-start; gap: .55rem; font-size: .88rem; color: var(--muted); }
.lead-form .check-row input { width: auto; margin-top: .2rem; }
.lead-form .form-recaptcha { margin-top: .15rem; display: flex; justify-content: flex-start; }
.form-success { display: none; border: 1px solid #9ad5ac; background: #effff3; color: #1f6c3c; border-radius: 10px; padding: .58rem .7rem; font-weight: 700; }
.form-success.active { display: block; }

.note-list { margin: 0; padding-left: 1rem; }
.muted { color: var(--muted); }
.content-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }

.model-layout { padding: 2rem 0 3rem; display: grid; gap: 1rem; }
.model-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1rem; }
.model-hero-media { border-radius: 12px; overflow: hidden; background: #e8edf2; min-height: 230px; }
.model-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.model-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .45rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { width: 42%; color: var(--muted); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { padding: .35rem .65rem; border: 1px solid var(--line); border-radius: 999px; background: #f8fafb; font-weight: 700; }
.back-link { font-weight: 800; color: #1a4e8c; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.gallery-grid img { border-radius: 12px; border: 1px solid var(--line); background: #edf2f7; aspect-ratio: 4/3; object-fit: cover; cursor: zoom-in; }
.series-hero-banner {
  padding: 0;
  overflow: hidden;
}
.series-hero-banner img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  display: block;
}
.gallery-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  flex-wrap: wrap;
}
.gallery-inline-download {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  border: 1px solid #cbd6e1;
  border-radius: 999px;
  background: #eef3f8;
  color: #1f2f44;
  font-size: .76rem;
  font-weight: 700;
  padding: .32rem .62rem;
  cursor: pointer;
}
.gallery-inline-download-icon {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
}
.gallery-inline-download-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 4200;
  background: rgba(6, 10, 16, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img {
  width: min(92vw, 1400px);
  height: min(78vh, 860px);
  max-width: min(92vw, 1400px);
  max-height: min(78vh, 860px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 22px 58px rgba(0,0,0,.55);
  background: #0f1721;
}
.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.gallery-lightbox-nav.prev { left: 1rem; }
.gallery-lightbox-nav.next { right: 1rem; }
.gallery-lightbox-actions {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: inline-flex;
  gap: .45rem;
  z-index: 2;
}
.gallery-lightbox-action {
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(10,16,24,.62);
  color: #fff;
  border-radius: 999px;
  padding: .42rem .72rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.gallery-lightbox-action:disabled {
  opacity: .65;
  cursor: wait;
}
.gallery-lightbox-count {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(10,16,24,.62);
  color: #fff;
  font-weight: 700;
  font-size: .86rem;
}
@media (max-width: 760px) {
  .gallery-heading-row { gap: .45rem; }
  .gallery-inline-download { font-size: .72rem; padding: .3rem .55rem; }
  .gallery-lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1.65rem;
  }
  .gallery-lightbox-actions {
    left: .55rem;
    top: .55rem;
    flex-direction: column;
  }
  .gallery-lightbox-action {
    font-size: .74rem;
    padding: .35rem .62rem;
  }
  .gallery-lightbox-nav.prev { left: .55rem; }
  .gallery-lightbox-nav.next { right: .55rem; }
}

.site-footer { padding: 1.3rem 0 1rem; border-top: 1px solid var(--line); margin-top: 1.4rem; background: #edf1f5; position: relative; overflow: visible; }
.site-footer .container { display: flex; align-items: center; justify-content: center; }
.site-footer p[data-i18n="footer.note"] { margin: 0; width: 100%; max-width: 1040px; text-align: center; display: grid; gap: .55rem; }
.site-footer .footer-brand-line { display: flex; align-items: center; justify-content: center; }
.site-footer .footer-brand-logo { width: clamp(180px, 20vw, 270px); height: 64px; object-fit: contain; object-position: center; }
.site-footer .footer-brand-text { display: block; text-align: center; font-weight: 500; color: #132235; }
.site-footer .footer-legal-links {
  display: flex;
  align-items: center;
  gap: .42rem;
  margin-top: .1rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: .82rem;
  font-weight: 800;
  color: #c8102e;
}
.site-footer .footer-legal-links a {
  color: #c8102e;
  text-decoration: underline;
}
.site-footer .footer-cookie-settings {
  border: 0;
  background: transparent;
  color: #c8102e;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}
.site-footer .footer-cookie-settings:hover,
.site-footer .footer-cookie-settings:focus-visible { color: #9f1028; }
.site-footer .footer-social { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; margin-top: .2rem; }
.site-footer .footer-social .social-link { width: 32px; height: 32px; }
.site-footer .footer-copyright { display: block; font-size: .86rem; color: #33465d; margin-top: .15rem; }
.site-footer .footer-brand-text a { color: inherit; text-decoration: none; }
.contact-meta .novatec-office { color: #c8102e; }
.contact-lead-full { max-width: none; width: 100%; }
.contact-meta { font-size: .98rem; line-height: 1.7; color: #425266; }
.contact-meta.contact-office-line {
  font-size: 1.08rem;
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 500;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: .8rem;
  display: grid;
  gap: .65rem;
}
.cookie-banner p {
  margin: 0;
  color: var(--text);
  font-size: .92rem;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.cookie-actions .btn {
  padding: .5rem .76rem;
  font-size: .82rem;
}

.recaptcha-badge {
  position: absolute;
  left: 16px;
  bottom: 10px;
  z-index: 1200;
  display: inline-flex;
  align-items: stretch;
  height: 50px;
  width: 50px;
  min-height: 0;
  background: transparent;
  border: 1px solid #d4dae2;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
  overflow: hidden;
  color: #1f2f44;
  transition: width .22s ease;
}
.recaptcha-badge.with-a11y { left: 70px; }
.recaptcha-badge-logo {
  width: 50px;
  min-width: 50px;
  background: #f2f4f7;
  display: grid;
  place-items: center;
  border-right: 1px solid #d8dee6;
}
.recaptcha-badge-logo svg { width: 28px; height: 28px; }
.recaptcha-badge-copy {
  background: #1a73e8;
  color: #fff;
  padding: 0;
  display: grid;
  align-content: center;
  gap: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .22s ease, opacity .18s ease, padding .22s ease, gap .22s ease;
}
.recaptcha-badge-title {
  font-size: .96rem;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}
.recaptcha-badge-links {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .84rem;
  line-height: 1.2;
}
.recaptcha-badge-links a {
  color: #ffffff;
  text-decoration: none;
}
.recaptcha-badge-links a:hover,
.recaptcha-badge-links a:focus-visible {
  text-decoration: underline;
}
.recaptcha-badge:hover,
.recaptcha-badge:focus-within {
  width: 231px;
}
.recaptcha-badge:hover .recaptcha-badge-copy,
.recaptcha-badge:focus-within .recaptcha-badge-copy {
  max-width: 180px;
  opacity: 1;
  padding: .5rem .7rem .45rem;
  gap: .12rem;
}
@media (max-width: 760px) {
  .recaptcha-badge {
    height: 40px;
    width: 40px;
    min-height: 0;
    bottom: 8px;
    left: 12px;
  }
  .recaptcha-badge.with-a11y { left: 60px; }
  .recaptcha-badge-logo {
    width: 40px;
    min-width: 40px;
  }
  .recaptcha-badge-logo svg { width: 22px; height: 22px; }
  .recaptcha-badge-title { display: none; }
  .recaptcha-badge-copy { background: #fff; color: #5a6777; }
  .recaptcha-badge-links {
    font-size: .72rem;
    color: #5a6777;
  }
  .recaptcha-badge-links a { color: #5a6777; }
  .recaptcha-badge:hover,
  .recaptcha-badge:focus-within { width: 171px; }
  .recaptcha-badge:hover .recaptcha-badge-copy,
  .recaptcha-badge:focus-within .recaptcha-badge-copy {
    max-width: 130px;
    opacity: 1;
    padding: .38rem .5rem;
    gap: .1rem;
  }
}

/* Accessibility widget */
#a11y-widget-root {
  position: absolute;
  left: 16px;
  bottom: 10px;
  z-index: 1300;
}
.a11y-fab {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 10px;
  background: #c8102e;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.a11y-fab-icon {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
}
.a11y-fab-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.a11y-panel {
  position: fixed;
  left: 12px;
  bottom: 72px;
  width: min(580px, calc(100vw - 24px));
  max-height: calc(100vh - 124px);
  overflow: auto;
  border-radius: 18px;
  background: #e7e9ec;
  box-shadow: 0 18px 36px rgba(7, 16, 28, .24);
  border: 1px solid #d2d8df;
  display: none;
}
.a11y-panel.open { display: block; }
.a11y-panel-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #c8102e;
  color: #fff;
  padding: 1rem 1.1rem;
  border-radius: 18px 18px 14px 14px;
}
.a11y-panel-head h2 { margin: 0; color: #fff; }
.a11y-head-actions { display: inline-flex; gap: .35rem; }
.a11y-head-actions button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 1.05rem;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.a11y-head-actions button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.a11y-panel-body { padding: .95rem; display: grid; gap: .85rem; }
.a11y-group {
  background: #dde1e6;
  border-radius: 16px;
  padding: .8rem;
}
.a11y-group h3 { margin: 0 0 .55rem; font-size: 1.05rem; }
.a11y-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.a11y-grid button {
  border: 1px solid #d0d5dc;
  border-radius: 14px;
  background: #e5e7ea;
  color: #232f3e;
  padding: .72rem .75rem;
  font-size: 1.03rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}
.a11y-grid button small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: .16rem .46rem;
  border-radius: 999px;
  border: 1px solid #cfd6de;
  color: #58697b;
  background: #eef2f6;
  font-size: .74rem;
  font-weight: 800;
}
.a11y-grid button.active {
  border-color: #c8102e;
  background: #fdecef;
  color: #8d0c21;
}
.a11y-grid button.active small {
  border-color: rgba(200, 16, 46, .35);
  color: #8d0c21;
  background: #fff4f6;
}
.a11y-visibility-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(8, 15, 26, .36);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.a11y-visibility-modal.open { display: flex; }
.a11y-visibility-dialog {
  width: min(560px, calc(100vw - 24px));
  background: #f7f8fa;
  border: 1px solid #d3d9e1;
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(8, 16, 28, .24);
  overflow: hidden;
}
.a11y-visibility-dialog header {
  padding: 1rem 1.1rem .9rem;
  border-bottom: 1px solid #dce2e9;
}
.a11y-visibility-dialog h3 {
  margin: 0;
  font-size: 1.06rem;
}
.a11y-visibility-body {
  padding: .8rem 1.1rem 1rem;
  display: grid;
  gap: .8rem;
}
.a11y-visibility-body label {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #16263a;
  font-size: 1rem;
}
.a11y-visibility-body input[type="radio"] {
  width: 17px;
  height: 17px;
}
.a11y-visibility-dialog footer {
  border-top: 1px solid #dce2e9;
  padding: .8rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .6rem;
}
.a11y-visibility-cancel,
.a11y-visibility-confirm {
  border-radius: 8px;
  border: 1px solid #c8d1dc;
  padding: .55rem .9rem;
  font-weight: 700;
  cursor: pointer;
  background: #ffffff;
  color: #25384d;
}
.a11y-visibility-confirm {
  background: #2f6be6;
  border-color: #2f6be6;
  color: #fff;
}
@media (max-width: 760px) {
  .a11y-grid { grid-template-columns: 1fr; }
  .a11y-panel { width: min(95vw, 520px); }
  .a11y-visibility-dialog { width: min(94vw, 500px); }
  .a11y-fab {
    width: 44px;
    height: 44px;
  }
  .a11y-fab-icon {
    width: 24px;
    height: 24px;
  }
  .a11y-fab-icon svg {
    width: 12px;
    height: 12px;
  }
}

/* Accessibility states */
body[data-a11y-bigger-text-level="1"] { font-size: 104%; }
body[data-a11y-bigger-text-level="2"] { font-size: 108%; }
body[data-a11y-bigger-text-level="3"] { font-size: 112%; }
body[data-a11y-bigger-text-level="4"] { font-size: 116%; }
body[data-a11y-line-height-level="1"] p,
body[data-a11y-line-height-level="1"] li { line-height: 1.7; }
body[data-a11y-line-height-level="2"] p,
body[data-a11y-line-height-level="2"] li { line-height: 1.85; }
body[data-a11y-line-height-level="3"] p,
body[data-a11y-line-height-level="3"] li { line-height: 2; }
body[data-a11y-text-align-level="1"] p,
body[data-a11y-text-align-level="1"] li { text-align: left !important; }
body[data-a11y-text-align-level="2"] p,
body[data-a11y-text-align-level="2"] li { text-align: justify !important; }
body.a11y-readable-font { font-family: "Arial", "Verdana", sans-serif !important; }
body[data-a11y-contrast-level="1"] {
  --text: #102033;
  --text-strong: #0b1725;
  --muted: #334b63;
}
body[data-a11y-contrast-level="2"] {
  --text: #0e1c2e;
  --text-strong: #081321;
  --muted: #263f57;
}
body[data-a11y-contrast-level="3"] {
  --text: #081422;
  --text-strong: #030c16;
  --muted: #1f3347;
}
body.theme-dark[data-a11y-contrast-level="1"] {
  --text: #dbe8f4;
  --text-strong: #f0f6ff;
  --muted: #b8c7d8;
}
body.theme-dark[data-a11y-contrast-level="2"] {
  --text: #e7f0fb;
  --text-strong: #f6faff;
  --muted: #c9d7e8;
}
body.theme-dark[data-a11y-contrast-level="3"] {
  --text: #f0f6ff;
  --text-strong: #fcfeff;
  --muted: #d5e2f2;
}
body.a11y-grayscale { filter: grayscale(.96); }
body.a11y-hide-images img { visibility: hidden !important; }
body.a11y-hide-images .a11y-fab-icon { visibility: visible !important; }
body.a11y-pause-animations *,
body.a11y-pause-animations *::before,
body.a11y-pause-animations *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
body.theme-dark .a11y-panel {
  background: #202733;
  border-color: #334050;
}
body.theme-dark .a11y-group {
  background: #2a3341;
}
body.theme-dark .a11y-group h3 {
  color: #e8f1fb;
}
body.theme-dark .a11y-grid button {
  background: #303b4c;
  border-color: #3d4a5d;
  color: #dbe7f6;
}
body.theme-dark .a11y-grid button small {
  background: #263344;
  border-color: #3e4f63;
  color: #bfd0e3;
}
body.theme-dark .a11y-grid button.active {
  background: #5a1c2a;
  border-color: #c8102e;
  color: #ffd8df;
}
body.theme-dark .a11y-grid button.active small {
  background: #6d1f31;
  color: #ffe6eb;
  border-color: rgba(255, 167, 184, .45);
}
body.theme-dark .a11y-visibility-dialog {
  background: #232c39;
  border-color: #364456;
}
body.theme-dark .a11y-visibility-dialog header,
body.theme-dark .a11y-visibility-dialog footer {
  border-color: #3a485b;
}
body.theme-dark .a11y-visibility-dialog h3,
body.theme-dark .a11y-visibility-body label {
  color: #e4edf8;
}
body.theme-dark .a11y-visibility-cancel {
  background: #2e3a4b;
  border-color: #41536b;
  color: #d9e6f5;
}
[data-lang-block] { display: none; }
[data-lang-block].active { display: block; }
.about-page [data-lang-block]:not(.active) { display: none !important; }
.about-page [data-lang-block].active { display: revert !important; }

.about-page { background: #f5f7fa; }
.about-section { padding: clamp(5rem, 8vw, 7.5rem) 0; }
[data-about-scope-panel][hidden] { display: none !important; }
.about-hero-segments { margin-top: 1.55rem; margin-bottom: .1rem; }
.about-v2 [data-about-scope-panel="global"] .about-section { padding: clamp(2.3rem, 4vw, 3.6rem) 0; }
.about-page p { line-height: 1.68; max-width: 72ch; color: #223142; }
.about-page h2 { margin: 0 0 1rem; font-size: clamp(1.8rem, 2.5vw, 2.5rem); line-height: 1.18; letter-spacing: .01em; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.2rem, 2.8vw, 2.6rem); align-items: stretch; }
.about-split-reverse .about-grid { grid-template-columns: .95fr 1.05fr; }
.about-copy { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.2rem, 2.2vw, 2rem); box-shadow: var(--shadow); }
.about-list { margin: 1rem 0 0; padding-left: 1.2rem; display: grid; gap: .35rem; font-weight: 700; color: #152232; }
.about-croatia-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.about-croatia-top { grid-column: 1 / -1; padding: .75rem; }
.about-croatia-main p { max-width: 74ch; }
.about-croatia-lead { margin-bottom: 1rem; font-size: 1.02rem; }
.about-croatia-block + .about-croatia-block { margin-top: .9rem; }
.about-croatia-block h3,
.about-croatia-timeline h3,
.about-croatia-side h3 {
  margin: 0 0 .42rem;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #122338;
}
.about-croatia-block p { margin: 0; }
.about-croatia-timeline { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid #d9e2ec; }
.about-croatia-milestones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}
.about-croatia-milestones article {
  border: 1px solid #d4deea;
  border-radius: 12px;
  padding: .6rem .65rem;
  background: #f8fbff;
}
.about-croatia-milestones strong {
  display: block;
  font-size: .95rem;
  color: #c8102e;
  line-height: 1.15;
}
.about-croatia-milestones span {
  display: block;
  margin-top: .15rem;
  color: #2a3d52;
  font-weight: 700;
  font-size: .83rem;
}
.about-croatia-side { display: grid; gap: .9rem; align-content: start; }
.about-croatia-logo { min-height: 180px; background: #f4f7fb; }
.about-croatia-logo img { object-fit: contain; padding: .7rem 1rem; }
.about-croatia-logo-card { display: grid; align-items: center; }
.about-croatia-logo-small {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-croatia-logo-small img {
  width: min(240px, 70%);
  max-height: 88px;
  padding: .2rem;
}
.about-croatia-followup {
  padding-top: clamp(1.6rem, 2.8vw, 2.4rem);
}
.about-croatia-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}
.about-croatia-support-grid .about-stat { margin: 0; }
.about-croatia-support-grid .about-stat strong { font-size: 1.08rem; color: #132843; }
.about-croatia-bottom { grid-column: 1 / -1; text-align: center; }
.about-croatia-note {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
  line-height: 1.65;
  color: #12263e;
  max-width: 108ch;
  margin-inline: auto;
}

.about-hero,
.page-hero {
  position: relative;
  min-height: clamp(340px, 56vh, 560px);
  background:
    linear-gradient(108deg, rgba(10, 15, 22, 0.88), rgba(10, 15, 22, 0.5)),
    var(--page-hero-image, var(--global-page-hero-image)) center/cover no-repeat;
  color: #f3f7fc;
  display: flex;
  align-items: center;
}
.about-hero-overlay,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.42));
  pointer-events: none;
}
.about-hero-content { position: relative; z-index: 2; }
.page-hero > .container {
  position: relative;
  z-index: 2;
  padding: clamp(1.75rem, 3.8vw, 2.7rem) 0;
}
.page-hero-compact > .container {
  padding: clamp(1.55rem, 3vw, 2.25rem) 0;
}
.page-hero h1 {
  margin: 0 0 .65rem;
  max-width: 20ch;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  line-height: 1.08;
  color: #f3f8ff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .48);
}
.page-hero .lead {
  margin: 0;
  color: #d9e6f4;
  max-width: 76ch;
}
.about-hero-content h1 {
  margin: 0 0 1.4rem;
  max-width: 18ch;
  font-size: clamp(2.1rem, 5.1vw, 4.1rem);
  line-height: 1.04;
}
.about-hero-content p { margin: 0 0 .8rem; color: #e2ebf6; max-width: 74ch; font-size: clamp(1rem, 1.6vw, 1.24rem); }

.about-visual {
  position: relative;
  border-radius: 18px;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, #dce5ef, #f6f9fc);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, #1a222f, #262f3e),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px);
  color: #f6f9fd;
  text-align: center;
  padding: 1rem;
}
.about-placeholder span { font-weight: 800; letter-spacing: .03em; text-transform: uppercase; font-size: .85rem; opacity: .9; }

.about-centered { background: #fff; border-top: 1px solid #e3eaf2; border-bottom: 1px solid #e3eaf2; }
.about-narrow { width: min(100% - 2rem, 860px); margin-inline: auto; text-align: center; }
.about-narrow p { margin-inline: auto; }

.about-tech-wrap { background: linear-gradient(180deg, #f2f5f9, #edf2f7); }
.about-tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.about-tech-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  background: #fff;
  box-shadow: var(--shadow);
}
.about-tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #1a2533;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}
.about-tech-card h3 { margin: .85rem 0 .5rem; font-size: 1.1rem; }
.about-tech-card p { margin: 0; font-size: .96rem; }
.about-tech-focus { margin-top: 1rem; font-weight: 700; color: #1f2c3b; }

.about-presence { background: #fff; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-top: 1.2rem; }
.about-stat {
  border: 1px solid #d3dce7;
  border-radius: 14px;
  padding: .85rem .8rem;
  background: #f8fbff;
}
.about-stat strong { display: block; font-size: 1.35rem; color: var(--brand); line-height: 1.1; }
.about-stat span { display: block; margin-top: .2rem; color: #263444; font-weight: 700; font-size: .86rem; }

.about-cta {
  background: linear-gradient(112deg, #0f1721, #1d2937);
  color: #f2f7fc;
}
.about-cta-inner { text-align: center; }
.about-cta-inner p { margin-inline: auto; color: #d8e2ee; }
.about-cta-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }
.about-cta .btn-secondary { background: #364a63; }
.about-cta .btn-secondary:hover, .about-cta .btn-secondary:focus-visible { background: #2b3c53; }

.about-v2 .about-list {
  list-style: disc;
}
.about-v2 .about-list li {
  font-weight: 600;
  color: #223548;
}
.about-v2-eyebrow {
  margin: 0 0 .9rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #d2dde9;
  font-size: .78rem;
  font-weight: 700;
}
.about-v2-hero .about-hero-content h1,
.about-v2-hero .about-hero-content h1 [data-lang-block] {
  max-width: 20ch;
  color: #f3f8ff !important;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .62);
}
.about-v2-hero-stats {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .6rem;
}
.about-v2-hero-stats article {
  border: 1px solid rgba(224, 235, 246, .32);
  background: rgba(15, 24, 36, .44);
  border-radius: 12px;
  padding: .62rem .68rem;
}
.about-v2-hero-stats strong {
  display: block;
  color: #ffffff;
  font-size: 1.12rem;
  line-height: 1.1;
}
.about-v2-hero-stats span {
  display: block;
  margin-top: .22rem;
  color: #d8e6f3;
  font-size: .76rem;
  font-weight: 700;
}
.about-v2-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
}
.about-v2-intro {
  margin: 0 0 1rem;
}
.about-v2-portfolio-grid {
  grid-template-columns: repeat(3, 1fr);
}
.about-v2-portfolio-grid .about-tech-card:last-child {
  grid-column: 2;
}
.about-v2-timeline-wrap .about-v2-intro {
  margin-bottom: 1.3rem;
}
.about-v2-timeline-layout {
  display: grid;
  grid-template-columns: 94px 1fr 280px;
  gap: 1rem;
  align-items: start;
}
.about-v2-timeline-list {
  position: sticky;
  top: 100px;
  display: grid;
  gap: .45rem;
}
.about-v2-timeline-item {
  width: 100%;
  border: 1px solid #ced9e6;
  background: #f8fbff;
  color: #24384d;
  border-radius: 10px;
  padding: .5rem .45rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.about-v2-timeline-item.active,
.about-v2-timeline-item:hover {
  background: #c8102e;
  border-color: #c8102e;
  color: #fff;
}
.about-v2-timeline-detail h3 {
  margin: 0 0 .65rem;
  font-size: 1.38rem;
}
.about-v2-tracks {
  display: grid;
  gap: .6rem;
}
.about-v2-track {
  border: 1px solid #d2dde9;
  border-radius: 12px;
  padding: .7rem .78rem;
  background: #f8fbff;
}
.about-v2-track h3 {
  margin: 0 0 .4rem;
  font-size: .94rem;
}
.about-v2-track p {
  margin: 0;
  font-size: .86rem;
}
.about-v2-track.active {
  border-color: #c8102e;
  box-shadow: inset 0 0 0 1px rgba(200, 16, 46, .2);
}
.about-v2-metric-row {
  margin-top: .85rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .55rem;
}
.about-global-stack {
  grid-template-columns: 1fr;
}
.about-global-map-card h3 {
  margin: 0 0 .8rem;
  font-size: 1.12rem;
}
.about-global-map {
  min-height: 460px;
}
.marker-cluster {
  background: rgba(17, 31, 48, .86);
  border: 1px solid #35506f;
  border-radius: 999px;
  color: #f5f9ff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}
.marker-cluster div {
  background: transparent;
  color: #f5f9ff;
  font-weight: 800;
  line-height: 38px;
}

.news-page { background: #f3f6fa; min-height: 100vh; }
.news-hero { color: #ecf3fa; }
.news-hero .lead { color: #d7e4f2; max-width: 75ch; }
.news-segments { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.news-segment {
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: transparent;
  color: #eaf2fb;
  padding: .38rem .8rem;
  font-weight: 800;
  font-size: .86rem;
  cursor: pointer;
}
.news-segment.active { background: #c8102e; color: #ffffff; border-color: #c8102e; }
.news-controls { display: grid; gap: .9rem; }
.news-filter-row { display: flex; align-items: center; justify-content: space-between; gap: .7rem; flex-wrap: wrap; }
.news-category-filter { display: flex; gap: .45rem; flex-wrap: wrap; }
.news-filter-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: .7rem; }
.news-filter-grid input,
.news-filter-grid select {
  width: 100%;
  border: 1px solid #c9d4e0;
  border-radius: 10px;
  background: #fff;
  padding: .58rem .66rem;
  color: var(--text);
  font: inherit;
}

.news-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.news-card { padding: 0; overflow: hidden; display: grid; grid-template-columns: 200px 1fr; min-height: 240px; }
.news-thumb { background: #dde6ef; aspect-ratio: 16 / 9; align-self: start; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-body { padding: 1rem; display: flex; flex-direction: column; gap: .68rem; }
.news-card-body h2 { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.news-card-body p { margin: 0; color: #2b3a4b; }
.news-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; color: #56677a; font-size: .82rem; margin: 0; font-weight: 700; }

.news-article-layout { padding: 2rem 0 3rem; display: grid; gap: 1rem; }
.news-article { padding: 0; overflow: hidden; display: grid; grid-template-columns: 1fr; align-items: start; }
.news-article-hero {
  background: #dce4ee;
  aspect-ratio: 16 / 9;
  max-height: 340px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.news-article-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.news-article-body { padding: 1.2rem; display: grid; gap: .9rem; }
.news-article-badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid #d0dbea;
  background: #f5f9ff;
  padding: .28rem .7rem;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.news-source { margin-top: .5rem; }
.news-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.news-related-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: .85rem; box-shadow: var(--shadow); display: grid; gap: .5rem; }
.news-related-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }

@media (min-width: 980px) {
  .news-article {
    grid-template-columns: minmax(300px, 38%) 1fr;
  }

  .news-article-hero {
    aspect-ratio: auto;
    height: 100%;
    min-height: 280px;
    max-height: 440px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
}
.news-page .btn-secondary,
.news-related-card .btn-secondary,
.news-article-layout .btn-secondary {
  background: var(--brand-dark);
}
.news-page .btn-secondary:hover,
.news-related-card .btn-secondary:hover,
.news-article-layout .btn-secondary:hover,
.news-page .btn-secondary:focus-visible,
.news-related-card .btn-secondary:focus-visible,
.news-article-layout .btn-secondary:focus-visible {
  background: #6d0a1a;
}

.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.service-top-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-network-section .partner-grid { grid-template-columns: repeat(3, 1fr); }
.partner-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.partner-media {
  min-height: 110px;
  background:
    linear-gradient(130deg, #edf2f7, #e5ebf2),
    repeating-linear-gradient(45deg, rgba(26,45,68,.03) 0 10px, transparent 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem;
  overflow: hidden;
}
.partner-media img {
  width: 100%;
  height: 100%;
  max-height: 95px;
  object-fit: contain;
  object-position: center;
}
.partner-media-placeholder {
  color: #f3f7fc;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.partner-content { padding: .75rem .85rem; }
.partner-content p { margin: .2rem 0; text-align: justify; }
.contact-meta { font-size: .98rem; line-height: 1.7; color: #425266; }
.compact-contact-card .partner-content { padding: .68rem .85rem; }

@media (max-width: 1120px) {
  .hero-grid, .content-grid, .model-hero, .form-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 4.1rem 0 4.2rem; }
  .home-hero { min-height: 420px; }
  .about-split-reverse .about-grid { grid-template-columns: 1fr; }
  .model-grid, .kpi-grid, .adv-grid, .band-grid, .spec-grid, .gallery-grid, .about-tech-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .news-grid, .news-related-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .service-top-grid { grid-template-columns: repeat(2, 1fr); }
  .service-network-section .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card { grid-template-columns: 1fr; }
  .news-thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .news-filter-grid { grid-template-columns: 1fr 1fr; }
  .about-v2-hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-v2-stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-v2-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .about-v2-portfolio-grid .about-tech-card:last-child { grid-column: span 1; }
  .about-croatia-layout { grid-template-columns: 1fr; }
  .about-croatia-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-v2-timeline-layout { grid-template-columns: 74px 1fr; }
  .about-v2-tracks { grid-column: span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-v2-metric-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-global-map { min-height: 420px; }
}

@media (max-width: 700px) {
  .brand-tagline { font-size: .7rem; }
  .nav-toggle { display: inline-block; margin-left: auto; }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 92px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .75rem 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    gap: .3rem;
  }
  .main-nav.open { display: flex; }

  .nav-dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border-radius: 12px;
    margin-top: .3rem;
  }
  .nav-dropdown.open .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu { display: block; }
}

@media (max-width: 760px) {
  .model-grid, .kpi-grid, .adv-grid, .band-grid, .model-columns, .spec-grid, .lead-form, .gallery-grid, .about-tech-grid, .about-stats, .service-top-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 3.4rem 0 4rem; }
  .home-hero { min-height: 360px; }
  .hero-dots { bottom: .8rem; }
  .about-section { padding: 4.2rem 0; }
  .about-hero,
  .page-hero { min-height: 380px; }
  .about-hero-content h1 { max-width: none; }
  .news-filter-grid { grid-template-columns: 1fr; }
  .about-v2-hero-stats,
  .about-v2-stats-grid,
  .about-v2-portfolio-grid,
  .about-v2-metric-row,
  .about-v2-tracks { grid-template-columns: 1fr; }
  .about-croatia-milestones,
  .about-croatia-support-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .service-network-section .partner-grid { grid-template-columns: 1fr; }
  .about-v2-portfolio-grid .about-tech-card:last-child { grid-column: span 1; }
  .about-v2-timeline-layout { grid-template-columns: 1fr; }
  .about-v2-timeline-list {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .about-global-map { min-height: 360px; }
}
/* === Header Redesign Override (Iteration 2) === */
body.theme-light {
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-ink: #243345;
  --header-line: #d5dde6;
  --header-hover: #edf2f7;
  --utility-bg: #f3f6fa;
  --utility-ink: #3a4a5d;
  --utility-btn-bg: #ffffff;
  --utility-btn-line: #d0d8e2;
  --utility-btn-hover: #e9eff6;
}

body.theme-dark {
  --bg: #111821;
  --surface: #17202c;
  --surface-2: #202d3b;
  --text: #c2cfdd;
  --text-strong: #dce7f3;
  --muted: #9aacbf;
  --line: #2d3a4a;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
  --header-bg: rgba(24, 32, 44, 0.95);
  --header-ink: #dce7f3;
  --header-line: #2c3a49;
  --header-hover: #273749;
  --utility-bg: #1d2938;
  --utility-ink: #c4d1df;
  --utility-btn-bg: #223143;
  --utility-btn-line: #314559;
  --utility-btn-hover: #2d4055;
  background: radial-gradient(circle at 12% 0%, #16212e 0%, #111821 44%, #0e151e 100%);
}

.site-header {
  background: var(--header-bg, rgba(255, 255, 255, 0.94));
  color: var(--header-ink, #0f1721);
  border-bottom: 1px solid var(--header-line, #d5dde6);
}

.utility-bar {
  border-bottom: 1px solid var(--header-line, #d5dde6);
  background: var(--utility-bg, #f3f6fa);
  color: var(--utility-ink, #2d3c4e);
}

.utility-inner {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.utility-social,
.utility-actions {
  display: flex;
  align-items: center;
  gap: .48rem;
}

.social-link {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--utility-btn-line, #d0d8e2);
  border-radius: 999px;
  background: var(--utility-btn-bg, #fff);
  color: var(--utility-ink, #2d3c4e);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.social-link svg { width: 15px; height: 15px; fill: currentColor; }

.social-link:hover,
.social-link:focus-visible {
  background: var(--utility-btn-hover, #e9eff6);
  color: var(--brand);
  border-color: rgba(200, 16, 46, .35);
}

.utility-btn {
  border: 1px solid var(--utility-btn-line, #d0d8e2);
  border-radius: 999px;
  background: var(--utility-btn-bg, #fff);
  color: var(--utility-ink, #2d3c4e);
  font: inherit;
  font-size: .79rem;
  font-weight: 700;
  padding: .25rem .68rem;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.utility-btn:hover,
.utility-btn:focus-visible {
  background: var(--utility-btn-hover, #e9eff6);
  border-color: rgba(200, 16, 46, .32);
}

.lang-dropdown { display: inline-flex; align-items: center; }
.lang-toggle {
  display: inline-flex;
  gap: .1rem;
  padding: .12rem;
  border-radius: 999px;
  background: #d9e0e9;
  border: 1px solid #c5cfdb;
}
.lang-toggle button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #2f3f53;
  padding: .35rem .72rem;
  font-weight: 800;
  cursor: pointer;
  min-width: 44px;
  transition: all .18s ease;
}
.lang-toggle button.active {
  background: #c8102e;
  color: #ffffff;
  box-shadow: 0 2px 7px rgba(200, 16, 46, 0.35);
}
body.theme-dark .lang-toggle {
  background: #1d2938;
  border-color: #314559;
}
body.theme-dark .lang-toggle button {
  color: #c4d1df;
}
body.theme-dark .lang-toggle button.active {
  background: #c8102e;
  color: #ffffff;
  box-shadow: 0 2px 7px rgba(200, 16, 46, 0.35);
}

.lang-dropdown select {
  border: 1px solid var(--utility-btn-line, #d0d8e2);
  border-radius: 999px;
  background: var(--utility-btn-bg, #fff);
  color: var(--utility-ink, #2d3c4e);
  font: inherit;
  font-size: .79rem;
  font-weight: 800;
  padding: .28rem 1.75rem .28rem .7rem;
  min-height: 30px;
  cursor: pointer;
}

.theme-toggle {
  border: 1px solid var(--utility-btn-line, #d0d8e2);
  border-radius: 999px;
  background: var(--utility-btn-bg, #fff);
  color: var(--utility-ink, #2d3c4e);
  font: inherit;
  font-size: .79rem;
  font-weight: 700;
  padding: .16rem .58rem .16rem .36rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
}

.theme-toggle-track {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: #9ca9b7;
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  transition: transform .2s ease;
}

body.theme-dark .theme-toggle-track { background: #c8102e; }
body.theme-dark .theme-toggle-thumb { transform: translateX(16px); }

.nav-wrap {
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  position: relative;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: .42rem;
  margin-left: auto;
}

.nav-link,
.nav-dropdown-toggle {
  color: var(--header-ink, #0f1721);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: .01em;
  padding: .58rem .9rem;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  background: var(--header-hover, #edf2f7);
}

.main-nav .active {
  color: var(--brand);
  background: rgba(200, 16, 46, .1);
}

.nav-dropdown-menu {
  background: var(--surface);
  border: 1px solid var(--header-line, #d5dde6);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: var(--header-hover, #edf2f7);
}

.nav-toggle {
  border: 1px solid var(--header-line, #d5dde6);
  background: var(--surface);
  color: var(--header-ink, #0f1721);
  font-weight: 800;
}

.lang-switch { display: none !important; }

@media (max-width: 1120px) {
  .utility-inner { min-height: 42px; }
  .utility-actions { gap: .35rem; }
  .utility-btn { padding: .22rem .58rem; }
  .nav-link,
  .nav-dropdown-toggle {
    font-size: .98rem;
    padding: .52rem .72rem;
  }
}

@media (max-width: 980px) {
  .brand-mark { width: clamp(170px, 22vw, 240px); }
  .main-nav { gap: .14rem; }
  .main-nav .nav-link,
  .main-nav .nav-dropdown-toggle {
    font-size: .93rem;
    padding: .5rem .5rem;
  }
  .header-inline-actions { margin-left: .2rem; }
  .header-tools, .header-social { gap: .34rem; }
}

@media (max-width: 700px) {
  .utility-inner { min-height: 38px; gap: .4rem; }
  .utility-social a:nth-child(n+3) { display: none; }
  .utility-actions .utility-btn[data-utility="share"],
  .utility-actions .utility-btn[data-utility="login"] { display: none; }

  .nav-wrap {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: .65rem;
  }

  .main-nav {
    top: 86px;
    background: var(--surface);
    border-bottom: 1px solid var(--header-line, #d5dde6);
  }
}

@media (max-width: 760px) {
  .utility-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: .3rem 0;
  }
  .utility-social,
  .utility-actions {
    width: 100%;
    justify-content: center;
  }
  .utility-actions .utility-btn[data-utility="search"] { display: none; }
  .brand-mark { width: clamp(170px, 50vw, 240px); }
}
/* === Header Inline Layout Override === */
.site-header {
  background: var(--header-bg, rgba(255,255,255,.94));
  border-bottom: 1px solid var(--header-line, #d5dde6);
}

.utility-bar { display: none !important; }

.nav-wrap {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: .9rem;
}

.main-nav {
  margin-left: auto;
  align-self: flex-end;
  margin-bottom: 10px;
  gap: .3rem;
}

.header-inline-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: .3rem;
  margin-left: .4rem;
  min-width: max-content;
  height: 70px;
  padding-top: 2px;
  padding-bottom: 6px;
}

.header-tools,
.header-social {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.header-social {
  order: -1;
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}

.icon-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--utility-btn-line, #d0d8e2);
  border-radius: 999px;
  background: var(--utility-btn-bg, #fff);
  color: var(--utility-ink, #2d3c4e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.social-link {
  width: 28px;
  height: 28px;
}

.social-link svg {
  width: 14px;
  height: 14px;
}

.main-nav .nav-link,
.main-nav .nav-dropdown-toggle {
  padding-inline: .8rem;
}

.main-nav .active {
  font-weight: 900;
  letter-spacing: .015em;
  box-shadow: inset 0 -2px 0 rgba(200, 16, 46, .38);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: var(--utility-btn-hover, #e9eff6);
  color: var(--brand);
  border-color: rgba(200,16,46,.35);
}

.theme-toggle {
  min-height: 34px;
}

.lang-dropdown select {
  min-height: 34px;
}

@media (max-width: 1250px) {
  .header-social a:nth-child(n+3) { display: none; }
}

@media (max-width: 1040px) {
  .header-social { display: none; }
  .theme-toggle [data-theme-label] { display: none; }
  .header-inline-actions { gap: 0; }
}

@media (max-width: 700px) {
  .nav-wrap {
    min-height: 86px;
    gap: .55rem;
  }

  .header-inline-actions {
    margin-left: auto;
    gap: .45rem;
    flex-direction: row;
    align-items: center;
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .header-tools .lang-dropdown,
  .header-tools .theme-toggle {
    display: none;
  }

  .main-nav {
    top: 86px;
    width: 100%;
    margin-left: 0;
    order: 4;
    align-self: auto;
    margin-bottom: 0;
  }
}

@media (max-width: 620px) {
  .header-tools .icon-btn[data-utility="search"] { display: none; }
}
/* === Header Mobile Order Fix === */
@media (max-width: 700px) {
  .header-inline-actions { margin-left: 0; }
  .nav-toggle {
    margin-left: auto !important;
    order: 6;
  }

  .main-nav .nav-link,
  .main-nav .nav-dropdown-toggle {
    display: block;
    width: 100%;
    text-align: left;
    padding: .66rem .72rem;
  }

  .main-nav .nav-dropdown-menu {
    position: static;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: none;
    margin-top: .28rem;
    padding: .46rem;
    background: var(--surface);
  }

  .main-nav .nav-dropdown-menu a {
    padding: .5rem .55rem;
    font-size: .92rem;
  }

  .main-nav .nav-subtitle {
    margin: .2rem .25rem .3rem;
  }
}

@media (max-width: 700px) {
  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    padding: 0;
    margin-left: auto !important;
    font-size: 0;
    line-height: 0;
    position: relative;
  }

  .nav-toggle::before {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    top: 12px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    box-shadow: 0 7px currentColor, 0 14px currentColor;
  }

  /* Keep mobile menu collapsed by default; open only via hamburger click. */
  .main-nav {
    display: none !important;
  }
  .main-nav.open {
    display: flex !important;
  }
}

.network-map-wrap {
  margin-top: 1rem;
}

.network-map {
  width: 100%;
  min-height: 420px;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #dce6ef;
  z-index: 1;
}
.leaflet-container,
.leaflet-pane,
.leaflet-top,
.leaflet-bottom {
  z-index: 10;
}

.network-map-note {
  margin-top: .7rem;
  color: var(--muted);
  font-size: .92rem;
}

.higer-map-pin {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .28);
}

.higer-map-pin img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.higer-map-pin.pin-service { background: #c8102e; }
.higer-map-pin.pin-sales { background: #0b4f8a; }
.higer-map-pin.pin-logistics { background: #147a46; }

.higer-map-popup {
  min-width: 210px;
}

.higer-map-popup p {
  margin: .2rem 0;
  line-height: 1.42;
}

.leaflet-tooltip.higer-map-tooltip {
  background: rgba(20, 28, 38, .94);
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .48rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
}
/* === Global Dark Theme Completion === */
body.theme-dark {
  color: var(--text);
}

body.theme-dark .card,
body.theme-dark .about-copy,
body.theme-dark .about-tech-card,
body.theme-dark .about-stat,
body.theme-dark .news-related-card,
body.theme-dark .partner-card,
body.theme-dark .news-controls {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--text) !important;
}
body.theme-dark .partner-media-placeholder {
  color: #dbe7f2;
}
body.theme-dark .partner-media {
  background:
    linear-gradient(130deg, #2a3444, #1f2836),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 10px, transparent 10px 20px);
}

body.theme-dark .site-footer {
  background: #131c27;
  border-top-color: var(--line);
}
body.theme-dark .site-footer .footer-legal-links,
body.theme-dark .site-footer .footer-legal-links a,
body.theme-dark .site-footer .footer-cookie-settings {
  color: #ff556f;
}
body.theme-dark .site-footer .footer-cookie-settings {
  background: transparent;
}
body.theme-dark .site-footer .footer-brand-text { color: #f3f8ff; }
body.theme-dark .site-footer .footer-copyright { color: #9fb0c2; }

body.theme-dark .about-page,
body.theme-dark .news-page {
  background: #111821;
}

body.theme-dark .about-centered,
body.theme-dark .about-presence {
  background: #121c27;
  border-top-color: var(--line);
  border-bottom-color: var(--line);
}

body.theme-dark .about-tech-wrap {
  background: linear-gradient(180deg, #131f2c, #101926);
}

body.theme-dark .about-page p,
body.theme-dark .news-card-body p,
body.theme-dark .contact-meta,
body.theme-dark .muted,
body.theme-dark th,
body.theme-dark td,
body.theme-dark .news-card-meta,
body.theme-dark .about-stat span,
body.theme-dark .about-tech-focus {
  color: var(--muted) !important;
}
body.theme-dark .about-croatia-block h3,
body.theme-dark .about-croatia-timeline h3,
body.theme-dark .about-croatia-side h3 {
  color: #e8f0fb !important;
}
body.theme-dark .about-croatia-logo { background: #1a2533; }
body.theme-dark .about-croatia-timeline {
  border-top-color: #2a3a50;
}
body.theme-dark .about-croatia-milestones article {
  background: #172231;
  border-color: #32475f;
}
body.theme-dark .about-croatia-milestones strong {
  color: #ff6a80;
}
body.theme-dark .about-croatia-milestones span {
  color: #cdd8e7;
}
body.theme-dark .about-croatia-support-grid .about-stat strong {
  color: #e8f0fb;
}
body.theme-dark .about-croatia-note {
  color: #f0f6ff;
}

body.theme-dark .about-stat strong {
  color: #ff3c5f;
}
body.theme-dark .about-v2-eyebrow,
body.theme-dark .about-v2-hero-stats span {
  color: #c6d6e7;
}
body.theme-dark .about-v2-hero-stats article {
  border-color: #2e4054;
  background: rgba(13, 21, 31, .55);
}
body.theme-dark .about-v2-timeline-item {
  background: #1c2a39;
  border-color: #31465c;
  color: #d3e0ee;
}
body.theme-dark .about-v2-timeline-item.active,
body.theme-dark .about-v2-timeline-item:hover {
  background: #c8102e;
  border-color: #c8102e;
  color: #fff;
}
body.theme-dark .about-v2-track {
  background: #172433;
  border-color: #2b3e53;
}
body.theme-dark .about-v2-track.active {
  border-color: #c8102e;
}
body.theme-dark .marker-cluster {
  background: rgba(10, 19, 30, .92);
  border-color: #46658a;
}
body.theme-dark .marker-cluster div {
  color: #eaf2fd;
}

body.theme-dark .tab-btn,
body.theme-dark .news-filter-grid input,
body.theme-dark .news-filter-grid select,
body.theme-dark .lead-form input,
body.theme-dark .lead-form select,
body.theme-dark .lead-form textarea,
body.theme-dark .nav-toggle,
body.theme-dark .lang-dropdown select,
body.theme-dark .theme-toggle,
body.theme-dark .icon-btn,
body.theme-dark .social-link,
body.theme-dark .utility-btn {
  background: #1c2a39 !important;
  color: var(--text) !important;
  border-color: #32475c !important;
}

body.theme-dark .tab-btn.active {
  background: #c8102e !important;
  border-color: #c8102e !important;
  color: #ffffff !important;
}

body.theme-dark .main-nav,
body.theme-dark .main-nav.open,
body.theme-dark .nav-dropdown-menu {
  background: #162231 !important;
  border-color: #2e4257 !important;
}
body.theme-dark .nav-series-link:hover,
body.theme-dark .nav-series-link:focus-visible {
  background: #223243 !important;
  border-color: #3a5268;
}
body.theme-dark .nav-series-menu {
  background: #1b2a3b;
  border-color: #32475d;
}

body.theme-dark .nav-link:hover,
body.theme-dark .nav-link:focus-visible,
body.theme-dark .nav-dropdown-toggle:hover,
body.theme-dark .nav-dropdown-toggle:focus-visible,
body.theme-dark .nav-dropdown-menu a:hover,
body.theme-dark .nav-dropdown-menu a:focus-visible {
  background: #223243 !important;
}

body.theme-dark .main-nav .active {
  color: #ff4a6a !important;
  background: rgba(200, 16, 46, 0.2) !important;
}

body.theme-dark .chip {
  background: #1a2634;
  border-color: #33485e;
  color: var(--text);
}

body.theme-dark .form-success {
  background: #123021;
  border-color: #2f7a56;
  color: #bff2d3;
}

body.theme-dark .news-segment.active {
  background: #c8102e;
  border-color: #c8102e;
  color: #ffffff;
}

body.theme-dark .news-article-badge {
  background: #1b2a39;
  border-color: #34495f;
  color: #dce8f5;
}

body.theme-dark a.back-link,
body.theme-dark .nav-all-models {
  color: #8bc2ff;
}

body.theme-dark .skip-link:focus {
  background: #1b2837;
  color: #eaf1f8;
  border-color: #36506a;
}
body.theme-dark a:focus-visible,
body.theme-dark button:focus-visible,
body.theme-dark input:focus-visible,
body.theme-dark select:focus-visible,
body.theme-dark textarea:focus-visible,
body.theme-dark [tabindex]:focus-visible {
  outline-color: #ff4a6a;
}
/* === Clients Carousel === */
.clients-section {
  padding-bottom: 3.2rem;
}

.clients-head {
  margin-bottom: 1rem;
}

.clients-head h2 {
  margin: 0 0 .4rem;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.clients-head p {
  margin: 0;
  color: var(--muted);
}

.clients-marquee {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  padding: .9rem 0;
  cursor: default;
}
.clients-marquee::-webkit-scrollbar { display: none; }
.clients-marquee.is-static { cursor: default; }
.clients-marquee.is-static .clients-track { animation: none; }

.clients-marquee::before,
.clients-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  pointer-events: none;
  z-index: 2;
}

.clients-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface), rgba(0,0,0,0));
}

.clients-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--surface), rgba(0,0,0,0));
}

.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1rem;
  animation: clients-scroll 34s linear infinite;
  padding-right: 1rem;
}

.client-item {
  width: 220px;
  height: 92px;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
  border-radius: 12px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .7rem;
  text-decoration: none;
  color: inherit;
}

.client-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .88;
  transition: filter .2s ease, opacity .2s ease;
}

.client-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
}

@media (max-width: 760px) {
  .client-item {
    width: 180px;
    height: 80px;
  }
}

body.theme-dark .clients-marquee {
  background: linear-gradient(180deg, #1a2633, #15202b);
  border-color: #2e4257;
}

body.theme-dark .clients-marquee::before {
  background: linear-gradient(90deg, #1a2633, rgba(0,0,0,0));
}

body.theme-dark .clients-marquee::after {
  background: linear-gradient(270deg, #1a2633, rgba(0,0,0,0));
}

body.theme-dark .client-item {
  background: #edf2f6;
  border-color: #ccd5de;
}

/* === News Card Image Polish === */
.news-grid {
  gap: 1.1rem;
}

.news-card {
  min-height: 0;
  grid-template-columns: 190px 1fr;
  align-items: stretch;
  overflow: hidden;
}

.news-thumb {
  background: #d9e3ee;
  aspect-ratio: 16 / 9;
  border-right: 1px solid var(--line);
  overflow: hidden;
  align-self: start;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-card-body {
  gap: .55rem;
}

.news-card-body h2 {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.32;
}

.news-card-body p {
  line-height: 1.55;
}

.news-card-body .btn,
.news-card-body .btn-secondary {
  align-self: flex-start;
  font-size: .84rem;
  font-weight: 700;
  padding: .44rem .7rem;
  border-radius: 8px;
  min-height: 0;
}

@media (max-width: 1120px) {
  .news-card {
    grid-template-columns: 1fr;
  }

  .news-thumb {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .news-card-body {
    padding: .9rem;
  }
}
/* === Login Modal === */
.login-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 14, 22, .58);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 400;
  padding: 1rem;
}

.login-modal.open {
  display: flex;
}

.login-dialog {
  width: min(100%, 420px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0,0,0,.2);
  padding: 1rem;
  position: relative;
}

.login-dialog h2 {
  margin: 0 0 .8rem;
  font-size: 1.35rem;
}

.login-close {
  position: absolute;
  right: .6rem;
  top: .5rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.login-form {
  display: grid;
  gap: .75rem;
}

.login-form label {
  display: grid;
  gap: .25rem;
  font-weight: 700;
  font-size: .9rem;
}

.login-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .58rem .65rem;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.login-error {
  min-height: 1.1rem;
  margin: 0;
  color: #c8102e;
  font-size: .86rem;
  font-weight: 700;
}

.icon-btn.logged-in {
  border-color: rgba(27, 139, 63, .42);
  color: #1b8b3f;
  background: rgba(27, 139, 63, .08);
}

body.theme-dark .login-dialog {
  background: #172434;
  border-color: #34495f;
}

body.theme-dark .login-form input {
  background: #1e2d3e;
  border-color: #385069;
  color: #eaf1f8;
}
/* === Admin Panel === */
.admin-page {
  display: grid;
  gap: 1rem;
}

.admin-hero h1 {
  margin: 0 0 .4rem;
}

.admin-section h2 {
  margin-top: 0;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  margin-bottom: .9rem;
}

.admin-form-grid.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form-grid label {
  display: grid;
  gap: .25rem;
  font-size: .86rem;
  font-weight: 700;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .52rem .6rem;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.admin-form-grid textarea {
  min-height: 92px;
  resize: vertical;
}

.admin-item-row {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: .7rem .75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
}

.admin-item-row + .admin-item-row {
  margin-top: .5rem;
}
.admin-inline-actions {
  display: flex;
  gap: .5rem;
  margin-bottom: .65rem;
}

.consent-log-row {
  align-items: flex-start;
}

.consent-log-row p {
  margin: .18rem 0 0;
}.admin-thumb-preview {
  margin-top: .3rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .4rem;
  background: #fff;
}
.admin-thumb-preview img {
  max-width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .admin-form-grid,
  .admin-form-grid.wide {
    grid-template-columns: 1fr;
  }
}

body.theme-dark .admin-form-grid input,
body.theme-dark .admin-form-grid select,
body.theme-dark .admin-form-grid textarea {
  background: #1d2c3d;
  border-color: #3a526b;
  color: #eaf1f8;
}

/* === UX polish: models dropdown + compact service logos === */
.main-nav .nav-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: .38rem;
  height: .38rem;
  margin-left: .45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .75;
}

.nav-dropdown-menu .nav-subgroup a {
  border: 1px solid transparent;
  margin-bottom: .22rem;
}

.nav-dropdown-menu .nav-subgroup a:hover,
.nav-dropdown-menu .nav-subgroup a:focus-visible {
  border-color: color-mix(in srgb, var(--brand) 24%, var(--line));
}

.nav-all-models {
  display: block;
  margin-top: .85rem;
  margin-bottom: .72rem;
  border-top: 1px solid var(--line);
  padding: .72rem .62rem;
  background: color-mix(in srgb, var(--brand) 9%, var(--surface));
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.nav-all-models + .nav-subgroup {
  margin-top: .7rem;
  padding-top: .7rem;
  border-top: 1px solid var(--line);
}

.partner-media {
  min-height: 72px;
  padding: .45rem;
}

.partner-media img {
  width: auto;
  max-width: 82%;
  max-height: 44px;
}

@media (max-width: 700px) {
  .nav-series-menu {
    display: block;
    margin-top: .28rem;
    border-radius: 10px;
    box-shadow: none;
  }
  .nav-all-models {
    padding: .66rem .62rem;
    text-align: center;
  }
}

/* === Home Latest News Strip === */
.home-news-marquee {
  margin-top: 1rem;
  overflow: visible;
  position: relative;
  border-radius: 16px;
  cursor: default;
}
.home-news-marquee::before,
.home-news-marquee::after {
  content: none;
}
.home-news-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  min-height: 430px;
  animation: none;
  align-items: stretch;
}
.home-news-item {
  width: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(220px, 1fr);
  overflow: hidden;
  padding: 0;
}
.home-news-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: #dfe7ef;
  overflow: hidden;
}
.home-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-news-body {
  padding: 1rem;
  display: grid;
  grid-auto-rows: min-content;
  align-content: start;
  gap: .6rem;
}
.home-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  font-size: .8rem;
  font-weight: 700;
  color: #5b6c7f;
  margin: 0;
}
.home-news-scope {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #d5dfeb;
  background: #f4f7fb;
  padding: .1rem .55rem;
  color: #223246;
}
.home-news-item h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}
.home-news-item p {
  margin: 0;
  color: #2f4054;
  font-size: .95rem;
}

.skeleton-card {
  pointer-events: none;
}
.skeleton-thumb,
.skeleton-line,
.skeleton-btn {
  position: relative;
  overflow: hidden;
  background: #e3e9f1;
  border-radius: 10px;
}
.skeleton-thumb {
  aspect-ratio: 16 / 9;
  min-height: 0;
}
.skeleton-line {
  height: 12px;
}
.skeleton-line-sm {
  width: 38%;
}
.skeleton-line-lg {
  width: 78%;
}
.skeleton-btn {
  width: 148px;
  height: 40px;
  margin-top: .2rem;
}
.skeleton-thumb::after,
.skeleton-line::after,
.skeleton-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.58), transparent);
  animation: skeleton-shimmer 1.35s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
  100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .home-news-track { animation: none; }
  .skeleton-thumb::after,
  .skeleton-line::after,
  .skeleton-btn::after {
    animation: none;
  }
}

@media (max-width: 1200px) {
  .home-news-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 680px;
  }
}

@media (max-width: 760px) {
  .home-news-track {
    grid-template-columns: 1fr;
    min-height: 1200px;
  }
}
body.theme-dark .home-news-marquee::before {
  background: linear-gradient(90deg, #111821 0%, rgba(17, 24, 33, 0) 100%);
}
body.theme-dark .home-news-marquee::after {
  background: linear-gradient(270deg, #111821 0%, rgba(17, 24, 33, 0) 100%);
}
body.theme-dark .home-news-scope {
  background: #172332;
  border-color: #2c4158;
  color: #d8e6f6;
}
body.theme-dark .home-news-meta { color: #9fb2c7; }
body.theme-dark .home-news-item p { color: #d5e2f0; }
body.theme-dark .skeleton-thumb,
body.theme-dark .skeleton-line,
body.theme-dark .skeleton-btn {
  background: #223244;
}
body.theme-dark .skeleton-thumb::after,
body.theme-dark .skeleton-line::after,
body.theme-dark .skeleton-btn::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}

/* === Contact Page Upgrade === */
.contact-page-wrap {
  display: grid;
  gap: 1rem;
}

.contact-hero-card {
  border: 1px solid rgba(40, 58, 79, 0.2);
}

.contact-trust-list {
  margin: .9rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .3rem;
  color: #2f4257;
  font-weight: 600;
}

.contact-intent-card {
  margin-top: .2rem;
}

.contact-intent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .72rem;
  margin-top: .75rem;
}

.intent-tile {
  text-align: left;
  border: 1px solid #c8d3df;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff, #f1f6fb);
  color: #1e2f43;
  padding: .84rem .9rem;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.intent-tile strong {
  display: block;
  font-size: .96rem;
  margin-bottom: .3rem;
}

.intent-tile span {
  display: block;
  font-size: .82rem;
  line-height: 1.45;
  color: #4a5f76;
}

.intent-tile [data-lang-block] { display: none !important; }
.intent-tile [data-lang-block].active { display: block !important; }

.intent-tile:hover,
.intent-tile:focus-visible {
  border-color: #b41633;
  box-shadow: 0 8px 22px rgba(20, 37, 58, .15);
  transform: translateY(-2px);
}

.intent-tile.active {
  border-color: #c8102e;
  background: linear-gradient(180deg, rgba(200, 16, 46, .1), rgba(200, 16, 46, .06));
  box-shadow: 0 10px 28px rgba(200, 16, 46, .15);
}

.contact-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.contact-forms-stack {
  display: grid;
  gap: 1rem;
}

.contact-direct-wrap {
  position: sticky;
  top: 6.3rem;
}

.contact-direct-card h2 {
  margin-bottom: .75rem;
}

.contact-direct-card .form-note {
  margin-bottom: .85rem;
}

.office-grid {
  display: grid;
  gap: .8rem;
}

.office-card {
  border: 1px solid #d2dce7;
  border-radius: 12px;
  padding: .8rem .85rem;
  background: #f7faff;
}

.office-card h3 {
  margin: 0 0 .5rem;
  font-size: 1.02rem;
}

.office-card .contact-meta {
  margin: 0;
  line-height: 1.55;
}

.contact-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .42rem .62rem;
  margin-top: .2rem;
}

.form-note {
  margin: .15rem 0 0;
  color: #4c6075;
  font-size: .86rem;
}

.form-error {
  display: none;
  border: 1px solid #e4a0aa;
  background: #fff0f2;
  color: #9f1c33;
  border-radius: 10px;
  padding: .56rem .72rem;
  font-weight: 700;
}

.form-error.active {
  display: block;
}

.contact-cta-btn,
.contact-form-panel .btn,
.contact-form-panel .btn.btn-secondary {
  min-height: 44px;
  font-weight: 800;
  letter-spacing: .01em;
}

.lead-form label {
  color: #2c3f53;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  border-color: #b8c8d8;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #6f8298;
}

.lead-form .check-row label {
  font-weight: 600;
}

.lead-form .is-invalid {
  border-color: #c8102e !important;
  box-shadow: 0 0 0 1px rgba(200, 16, 46, .2);
}

.form-success.is-error {
  display: block;
  border-color: #e4a0aa;
  background: #fff0f2;
  color: #9f1c33;
}

.btn.is-loading {
  opacity: .9;
  cursor: wait;
}

body.theme-dark .contact-page-wrap {
  color: #d8e4f1;
}

body.theme-dark .contact-trust-list,
body.theme-dark .form-note,
body.theme-dark .intent-tile span,
body.theme-dark .contact-meta,
body.theme-dark .office-card .contact-meta,
body.theme-dark .lead-form .check-row,
body.theme-dark .lead-form .check-row label {
  color: #b8c8da !important;
}

body.theme-dark .lead-form label {
  color: #d5e2ef !important;
}

body.theme-dark .lead-form input,
body.theme-dark .lead-form select,
body.theme-dark .lead-form textarea {
  border-color: #4b637b !important;
}

body.theme-dark .lead-form input::placeholder,
body.theme-dark .lead-form textarea::placeholder {
  color: #8da5bd;
}

body.theme-dark .intent-tile {
  border-color: #3a526a;
  background: linear-gradient(180deg, #172433, #142232);
  color: #e4edf8;
}

body.theme-dark .intent-tile.active {
  border-color: #ff4a6a;
  background: linear-gradient(180deg, rgba(200, 16, 46, .26), rgba(200, 16, 46, .13));
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}

body.theme-dark .office-card {
  border-color: #395065;
  background: #182638;
}

body.theme-dark .contact-form-panel .btn,
body.theme-dark .contact-form-panel .btn.btn-secondary,
body.theme-dark .contact-cta-btn {
  border-color: #ff4566;
}

body.theme-dark .site-footer a,
body.theme-dark .site-footer .footer-brand-text {
  color: #d6e4f2;
}

@media (max-width: 1024px) {
  .contact-content-grid {
    grid-template-columns: 1fr;
  }

  .contact-direct-wrap {
    position: static;
  }
}

@media (max-width: 820px) {
  .contact-intent-grid,
  .contact-check-grid {
    grid-template-columns: 1fr;
  }
}
