/*
 * NCS Computer & Mobile Zone
 * Public website redesign — frontend styles only
 */

:root {
  --white: #ffffff;
  --canvas: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #eef3f9;
  --surface-blue: #edf5ff;
  --ink: #0f172a;
  --ink-soft: #25324a;
  --muted: #667085;
  --muted-light: #94a3b8;
  --navy: #0a1224;
  --navy-soft: #121f38;
  --brand: #1768e5;
  --brand-dark: #0e4fb8;
  --brand-light: #65a6ff;
  --accent: #f26a2e;
  --accent-dark: #d94d16;
  --success: #168452;
  --warning: #a76408;
  --danger: #bd3728;
  --line: #dde5ef;
  --line-strong: #cbd5e1;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, .07);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, .11);
  --shadow-blue: 0 14px 32px rgba(23, 104, 229, .22);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1220px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: rgba(23, 104, 229, .18);
  color: var(--ink);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  font-size: 14px;
  font-weight: 750;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

/* Header */

.topbar {
  position: relative;
  z-index: 102;
  background: var(--navy);
  color: #d8e3f3;
  font-size: 12px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-inner > span:first-child {
  color: #aebbd0;
  font-weight: 600;
}

.topbar-inner > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.topbar a {
  transition: color .18s ease;
}

.topbar a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(203, 213, 225, .72);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  flex-direction: column;
  color: var(--ink);
  line-height: 1;
}

.brand-main {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -.055em;
}

.brand-main b {
  color: var(--brand);
  font-size: .72em;
  font-weight: 850;
  letter-spacing: -.025em;
}

.brand-sub {
  margin-top: 7px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .19em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #344054;
  font-size: 14px;
  font-weight: 680;
}

.primary-nav > a:not(.btn) {
  position: relative;
  padding: 10px 13px;
  border-radius: 9px;
  transition: background-color .18s ease, color .18s ease;
}

.primary-nav > a:not(.btn):hover,
.primary-nav > a.active:not(.btn) {
  background: var(--surface-blue);
  color: var(--brand-dark);
}

.primary-nav > a.active:not(.btn)::after {
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
  content: "";
}

.primary-nav .btn {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  width: 43px;
  height: 43px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

/* Buttons and text links */

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--brand);
  border-radius: 11px;
  background: var(--brand);
  box-shadow: 0 7px 18px rgba(23, 104, 229, .18);
  color: var(--white);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.2;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  border-color: var(--line-strong);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: #a9b8cc;
  background: var(--surface-soft);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.btn-small {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 9px;
  font-size: 13px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--brand);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: color .18s ease, transform .18s ease;
}

.text-link:hover {
  color: var(--brand-dark);
  transform: translateX(3px);
}

/* Type and spacing */

.section {
  padding: 92px 0;
}

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

.section-paper {
  background: var(--canvas);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: inherit;
  font-weight: 820;
  letter-spacing: -.042em;
}

h1 {
  font-size: clamp(46px, 6.3vw, 76px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

h3 {
  font-size: 22px;
  line-height: 1.22;
}

p {
  margin: 0 0 18px;
}

.lead {
  max-width: 670px;
  color: #526077;
  font-size: 18px;
  line-height: 1.72;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 38px;
}

.section-head > div {
  max-width: 760px;
}

.section-head h2 {
  margin-bottom: 13px;
}

.section-head p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
}

.section-head.compact {
  margin-bottom: 24px;
}

/* Home hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 34px;
  background:
    radial-gradient(circle at 12% 5%, rgba(23, 104, 229, .10), transparent 29%),
    radial-gradient(circle at 91% 30%, rgba(101, 166, 255, .13), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f3f7fc 100%);
}

.hero::before {
  position: absolute;
  top: -155px;
  right: -100px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(23, 104, 229, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(23, 104, 229, .025), 0 0 0 140px rgba(23, 104, 229, .018);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, .94fr);
  align-items: center;
  gap: clamp(38px, 6vw, 76px);
}

.hero-copy {
  padding: 34px 0 48px;
}

.hero-copy h1 {
  max-width: 760px;
}

.hero-copy h1 span {
  position: relative;
  color: var(--brand);
}

.hero-copy h1 span::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(23, 104, 229, .28), rgba(23, 104, 229, 0));
  content: "";
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 32px 70px rgba(15, 23, 42, .15), 0 0 0 10px rgba(255, 255, 255, .62);
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.05) 45%, rgba(10,18,36,.1));
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.hero-visual:hover img {
  transform: scale(1.015);
}

.hero-note {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  max-width: 255px;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 13px;
  background: rgba(10, 18, 36, .91);
  box-shadow: 0 14px 30px rgba(10,18,36,.24);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  backdrop-filter: blur(12px);
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
}

.trust-item {
  position: relative;
  min-width: 0;
  padding: 24px 16px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item .icon {
  width: 23px;
  height: 23px;
  margin: 0 auto 10px;
  color: var(--brand);
}

.trust-item strong {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

/* Shared cards */

.card-grid,
.services-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.card,
.service-card,
.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.card:hover,
.service-card:hover,
.product-card:hover {
  border-color: #bdcbe0;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.card-media,
.product-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid #e8edf4;
  background: #f4f7fb;
}

.card-media img,
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.card:hover img,
.product-card:hover .product-media img,
.service-card:hover img {
  transform: scale(1.035);
}

.card-body,
.product-body {
  padding: 21px;
}

.card h3,
.service-card h3,
.product-card h3 {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 780;
  letter-spacing: -.025em;
}

.card p,
.service-card p,
.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.card .meta,
.product-category {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* Departments */

.department-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.department-card {
  position: relative;
  display: grid;
  min-height: 190px;
  grid-template-columns: 155px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.department-card:hover {
  border-color: #b8c9e2;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.department-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface-soft);
  transition: transform .4s ease;
}

.department-card:hover img {
  transform: scale(1.035);
}

.department-card > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 23px;
}

.department-card h3 {
  margin-bottom: 9px;
  font-size: 19px;
  letter-spacing: -.025em;
}

.department-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.department-card span {
  margin-top: auto;
  color: var(--brand);
  font-size: 12px;
  font-weight: 780;
}

/* Product catalog */

.product-card {
  display: flex;
  flex-direction: column;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.product-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 20px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #edf1f6;
  font-size: 11px;
}

.product-foot strong {
  color: var(--brand);
  font-weight: 780;
  white-space: nowrap;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef2f7;
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: capitalize;
}

.availability::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.availability.in_stock {
  background: #e9f8f0;
  color: var(--success);
}

.availability.available_on_request {
  background: #fff6e8;
  color: var(--warning);
}

.availability.out_of_stock {
  background: #fff0ed;
  color: var(--danger);
}

/* Graphics feature */

.graphics-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.graphics-section::after {
  position: absolute;
  right: -170px;
  bottom: -210px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(242, 106, 46, .055);
  content: "";
  pointer-events: none;
}

.graphics-feature {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
}

.graphics-art {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--shadow-md);
}

.graphics-art::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.35);
  content: "";
  pointer-events: none;
}

.graphics-art img {
  width: 100%;
  height: auto;
}

.graphics-feature h2 {
  font-size: clamp(33px, 3.6vw, 49px);
}

.graphics-feature p {
  color: var(--muted);
}

.mini-service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}

.mini-service-list a {
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  transition: color .18s ease, padding-left .18s ease;
}

.mini-service-list a:hover {
  padding-left: 5px;
  color: var(--brand);
}

.mini-service-list span {
  float: right;
  color: var(--brand);
}

/* CTA band */

.band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.band::before {
  position: absolute;
  top: -170px;
  right: 7%;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(101,166,255,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(23,104,229,.05), 0 0 0 160px rgba(23,104,229,.025);
  content: "";
}

.band h2,
.band h3 {
  color: var(--white);
}

.band p {
  color: #b9c6d9;
}

.band .eyebrow,
.page-hero .eyebrow,
.page-hero .eyebrow[style],
.quote-panel .eyebrow,
.quote-panel .eyebrow[style] {
  color: #80b7ff !important;
}

.service-band {
  padding: 58px 0;
}

.service-band.section-paper {
  border-top: 1px solid var(--line);
  background: var(--canvas);
  color: var(--ink);
}

.service-band.section-paper h2,
.service-band.section-paper h3 {
  color: var(--ink);
}

.service-band.section-paper p {
  color: var(--muted);
}

.service-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.service-band-inner > div {
  max-width: 780px;
}

.service-band-inner h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.4vw, 45px);
}

.service-band-inner p {
  margin: 0;
}

/* Interior page hero */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 64px;
  background:
    radial-gradient(circle at 85% 28%, rgba(23,104,229,.28), transparent 25%),
    linear-gradient(120deg, var(--navy) 0%, #111f38 62%, #122c53 100%);
  color: var(--white);
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.page-hero::before {
  top: -180px;
  right: -70px;
  width: 470px;
  height: 470px;
}

.page-hero::after {
  right: 155px;
  bottom: -215px;
  width: 360px;
  height: 360px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 940px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(43px, 5.8vw, 69px);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #c1cee0;
  font-size: 17px;
  line-height: 1.7;
}

.slim-hero {
  padding: 54px 0 50px;
}

.product-page-hero {
  background:
    radial-gradient(circle at 85% 28%, rgba(23,104,229,.3), transparent 25%),
    linear-gradient(120deg, #081225 0%, #102445 100%);
}

.breadcrumbs {
  margin-bottom: 17px;
  color: #aabbd2;
  font-size: 12px;
  font-weight: 650;
}

.breadcrumbs a {
  color: #dbeafe;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Filters and service cards */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 31px;
  padding-bottom: 2px;
}

.filter-btn {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #475569;
  font-size: 12px;
  font-weight: 720;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.filter-btn:hover {
  border-color: #b9c8db;
  background: var(--surface-soft);
  color: var(--ink);
}

.filter-btn.active {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 6px 15px rgba(23,104,229,.17);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: transform .45s ease;
}

.service-card .content {
  padding: 20px;
}

.service-card .content::after {
  display: block;
  margin-top: 15px;
  color: var(--brand);
  content: "View service  →";
  font-size: 12px;
  font-weight: 780;
}

/* Portfolio */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.portfolio-item {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  box-shadow: var(--shadow-xs);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

.portfolio-item:hover img {
  transform: scale(1.055);
}

.portfolio-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 58px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(6, 12, 24, .91));
  color: var(--white);
}

.portfolio-overlay strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 780;
}

.portfolio-overlay small {
  color: #ccd7e6;
  font-size: 11px;
}

/* About and detail layouts */

.about-grid {
  display: grid;
  grid-template-columns: .93fr 1.07fr;
  align-items: center;
  gap: clamp(40px, 7vw, 88px);
}

.about-image,
.detail-image,
.product-detail-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.stat {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.stat::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--brand);
  content: "";
}

.stat strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 820;
  letter-spacing: -.03em;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.panel {
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.panel h2 {
  font-size: clamp(31px, 3.5vw, 43px);
}

.panel > :last-child {
  margin-bottom: 0;
}

.panel ul {
  margin: 22px 0 0;
  padding-left: 21px;
}

.panel li {
  margin: 9px 0;
  color: var(--ink-soft);
}

.quote-panel {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  background: linear-gradient(145deg, var(--navy) 0%, #152846 100%);
  color: var(--white);
}

.quote-panel::after {
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  content: "";
}

.quote-panel h2,
.quote-panel h3 {
  color: var(--white);
}

.quote-panel p {
  position: relative;
  z-index: 1;
  color: #c6d2e1;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: start;
  gap: clamp(38px, 6vw, 70px);
}

.detail-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rich-content {
  max-width: 860px;
  color: #39475c;
}

.rich-content > :first-child {
  margin-top: 0;
}

.rich-content h2,
.rich-content h3 {
  margin-top: 35px;
  margin-bottom: 14px;
  color: var(--ink);
}

.rich-content h2 {
  font-size: 31px;
}

.rich-content h3 {
  font-size: 21px;
}

.rich-content ul,
.rich-content ol {
  padding-left: 23px;
}

.rich-content li {
  margin: 8px 0;
}

.rich-content a {
  color: var(--brand);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(23,104,229,.35);
  text-underline-offset: 3px;
}

/* Catalog and product detail */

.catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.catalog-sidebar {
  position: sticky;
  top: 102px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.catalog-sidebar h3 {
  margin: 4px 9px 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.catalog-sidebar > a {
  display: block;
  margin: 2px 0;
  padding: 10px 11px;
  border-radius: 9px;
  color: #44516a;
  font-size: 13px;
  font-weight: 680;
  transition: background-color .18s ease, color .18s ease, padding-left .18s ease;
}

.catalog-sidebar > a:hover,
.catalog-sidebar > a.active {
  padding-left: 14px;
  background: var(--surface-blue);
  color: var(--brand-dark);
}

.catalog-sidebar > a.active {
  font-weight: 780;
}

.catalog-help {
  margin-top: 20px;
  padding: 17px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--navy), #172a49);
  color: var(--white);
}

.catalog-help strong {
  font-size: 13px;
}

.catalog-help p {
  margin: 7px 0 11px;
  color: #bdcadb;
  font-size: 11px;
  line-height: 1.55;
}

.catalog-help a {
  color: #8ebfff;
  font-size: 11px;
  font-weight: 780;
}

.catalog-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-detail-grid {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  align-items: start;
  gap: clamp(38px, 6vw, 72px);
}

.product-detail-media {
  position: sticky;
  top: 104px;
}

.product-detail-media img {
  width: 100%;
  height: auto;
}

.product-detail-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(36px, 4vw, 49px);
}

.product-meta-line {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.product-description {
  margin-top: 25px;
}

.spec-table {
  overflow: hidden;
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}

.spec-table > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.spec-table > div:nth-child(even) {
  background: #f9fbfd;
}

.spec-table > div:last-child {
  border-bottom: 0;
}

.spec-table span {
  color: var(--muted);
}

.price-note {
  margin: 22px 0;
  padding: 15px 17px;
  border: 1px solid #dbe9fb;
  border-left: 3px solid var(--brand);
  border-radius: 0 11px 11px 0;
  background: var(--surface-blue);
  color: #465875;
  font-size: 12px;
  line-height: 1.6;
}

/* Contact and forms */

.contact-grid {
  display: grid;
  grid-template-columns: .78fr 1.1fr .86fr;
  align-items: start;
  gap: 24px;
}

.contact-list {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--ink-soft);
}

.contact-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--brand);
}

.contact-list strong {
  color: var(--ink);
  font-size: 13px;
}

.contact-list a {
  color: var(--brand-dark);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-list.compact {
  gap: 13px;
}

.contact-list.compact li {
  color: #c2cede;
  font-size: 13px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #344054;
  font-size: 12px;
  font-weight: 760;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(15,23,42,.025);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.field textarea {
  min-height: 142px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #98a4b5;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #aebdd0;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(23,104,229,.12);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.location-card {
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.location-card img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 11px;
}

.location-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.location-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.location-card .map-placeholder {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
}

.map-pin {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--brand);
}

/* FAQ and utility pages */

.faq-list {
  display: grid;
  gap: 12px;
}

.faq {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.faq:hover,
.faq[open] {
  border-color: #b9c9df;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  position: relative;
  padding: 20px 54px 20px 20px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 760;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--surface-blue);
  color: var(--brand);
  content: "+";
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  transform: translateY(-50%);
}

.faq[open] summary::after {
  content: "−";
}

.faq p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.not-found {
  padding: 105px 0;
  background: var(--canvas);
  text-align: center;
}

.not-found strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: clamp(86px, 13vw, 140px);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .9;
}

.not-found h1 {
  font-size: 42px !important;
}

.not-found p {
  margin-bottom: 28px;
  color: var(--muted);
}

.flash {
  padding: 12px 0;
  border-bottom: 1px solid transparent;
  font-size: 13px;
  font-weight: 650;
}

.flash-success {
  border-color: #cdebdc;
  background: #eaf8f1;
  color: #17633f;
}

.flash-error {
  border-color: #f0cbc4;
  background: #fff0ed;
  color: #8d2e22;
}

/* Footer */

.site-footer {
  background: #08101f;
  color: #edf3fb;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.45fr .68fr 1fr .82fr;
  gap: 42px;
  padding: 64px 0 55px;
}

.brand-inverse {
  color: var(--white);
}

.brand-inverse .brand-main {
  color: var(--white);
}

.brand-inverse .brand-main b {
  color: #78aff8;
}

.brand-inverse .brand-sub {
  color: #8392a9;
}

.footer-main h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-main p {
  max-width: 380px;
  margin-top: 18px;
  color: #a9b6c8;
  font-size: 13px;
  line-height: 1.7;
}

.footer-main .legal-name {
  color: #7f8da2;
  font-size: 11px !important;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #b8c4d5;
  font-size: 13px;
  transition: color .18s ease, padding-left .18s ease;
}

.footer-links a:hover {
  padding-left: 3px;
  color: var(--white);
}

.footer-main .contact-list a {
  color: #c3cede;
}

.footer-main .contact-list .icon {
  color: #72aefd;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0;
  color: #7f8da2;
  font-size: 11px;
}

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

.legal-links a {
  transition: color .18s ease;
}

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

/* Cookie notice */

.cookie-banner {
  position: fixed;
  z-index: 250;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  max-width: 720px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 24px 70px rgba(15,23,42,.2);
  backdrop-filter: blur(14px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  font-size: 13px;
}

.cookie-banner p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.cookie-banner p a,
.cookie-actions > a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}

/* Focus and hidden filter items */

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(23,104,229,.32);
  outline-offset: 3px;
}

[data-filter-item][hidden] {
  display: none !important;
}

/* Responsive */

@media (max-width: 1120px) {
  .primary-nav {
    gap: 1px;
    font-size: 13px;
  }

  .primary-nav > a:not(.btn) {
    padding-inline: 10px;
  }

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

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1.2fr .7fr 1fr;
  }

  .footer-main > div:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 980px) {
  .topbar {
    display: none;
  }

  .header-inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: none;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255,255,255,.99);
    box-shadow: 0 24px 60px rgba(15,23,42,.18);
  }

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

  .primary-nav > a:not(.btn) {
    padding: 12px 13px;
    border-radius: 9px;
  }

  .primary-nav > a.active:not(.btn)::after {
    display: none;
  }

  .primary-nav .btn {
    margin: 7px 0 0;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .detail-grid,
  .product-detail-grid,
  .graphics-feature,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
    padding: 24px 0 14px;
  }

  .hero-visual {
    min-height: 470px;
  }

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

  .trust-item:nth-child(3) {
    border-right: 0;
  }

  .trust-item:nth-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }

  .services-grid,
  .card-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-sidebar,
  .product-detail-media {
    position: static;
  }

  .catalog-sidebar {
    display: flex;
    overflow-x: auto;
    align-items: center;
    gap: 5px;
    padding: 11px;
    scrollbar-width: thin;
  }

  .catalog-sidebar h3 {
    margin: 0 8px;
    white-space: nowrap;
  }

  .catalog-sidebar > a {
    margin: 0;
    white-space: nowrap;
  }

  .catalog-sidebar > a:hover,
  .catalog-sidebar > a.active {
    padding-left: 11px;
  }

  .catalog-help {
    display: none;
  }

  .contact-grid > div:first-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 28px;
  }

  .contact-grid > div:first-child .eyebrow,
  .contact-grid > div:first-child h2 {
    grid-column: 1 / -1;
  }

  .contact-grid > div:first-child > .panel {
    margin-top: 0 !important;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }

  h1 {
    font-size: clamp(41px, 12vw, 58px);
  }

  h2 {
    font-size: clamp(31px, 9vw, 43px);
  }

  .page-hero {
    padding: 55px 0 51px;
  }

  .page-hero h1 {
    font-size: clamp(39px, 11vw, 53px);
  }

  .page-hero p {
    font-size: 15px;
  }

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

  .department-card {
    grid-template-columns: 135px minmax(0, 1fr);
  }

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

  .split {
    grid-template-columns: 1fr;
  }

  .service-band-inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px 26px;
  }

  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-main > div:last-child {
    grid-column: auto;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand-main {
    font-size: 19px;
  }

  .brand-sub {
    max-width: 225px;
    overflow: hidden;
    font-size: 6px;
    letter-spacing: .14em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    width: 41px;
    height: 41px;
  }

  .primary-nav {
    right: 12px;
    left: 12px;
  }

  .hero {
    padding: 28px 0 22px;
  }

  .hero-copy {
    padding-top: 22px;
  }

  .hero-copy .lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 315px;
    border-radius: 19px;
    box-shadow: 0 20px 45px rgba(15,23,42,.13);
  }

  .hero-note {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
    padding: 12px 14px;
    font-size: 12px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 23px;
  }

  .trust-item {
    padding: 18px 10px;
    border-right: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:nth-child(even) {
    border-right: 0 !important;
  }

  .trust-item:last-child {
    grid-column: 1 / -1;
    border-right: 0 !important;
    border-bottom: 0;
  }

  .department-grid,
  .product-grid,
  .catalog-products,
  .services-grid,
  .card-grid,
  .portfolio-grid,
  .mini-service-list {
    grid-template-columns: 1fr;
  }

  .department-card {
    min-height: 158px;
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .department-card > div {
    padding: 18px;
  }

  .department-card h3 {
    font-size: 17px;
  }

  .department-card p {
    -webkit-line-clamp: 2;
  }

  .graphics-feature {
    gap: 34px;
  }

  .panel {
    padding: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .contact-grid > div:first-child {
    display: block;
  }

  .contact-grid > div:first-child > .panel {
    margin-top: 23px !important;
  }

  .spec-table > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 50px 0 42px;
  }

  .footer-main > div:first-child,
  .footer-main > div:last-child {
    grid-column: auto;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .cookie-actions,
  .cookie-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
