/* ==========================================================================
   Vinchencio Technologies — site stylesheet
   Shared by every page linked from the main navigation.
   ========================================================================== */

:root {
  --navy-950: #060d1f;
  --navy-900: #0a1633;
  --navy-800: #11234d;
  --navy-700: #1b3168;
  --blue-600: #2a44d4;
  --blue-500: #3b5bff;
  --blue-50: #eef2ff;
  --red-700: #b40f18;
  --red-600: #d7141e;
  --red-400: #ff5a62;
  --red-50: #fdeced;
  --ink: #0e1730;
  --text: #3b4660;
  --muted: #66718a;
  --line: #e2e7f0;
  --surface: #ffffff;
  --surface-2: #f4f6fb;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 23, 48, .06), 0 1px 3px rgba(14, 23, 48, .08);
  --shadow: 0 14px 34px -14px rgba(14, 23, 48, .28);
  --shadow-lg: 0 30px 60px -22px rgba(6, 13, 31, .5);

  --container: 1200px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-600); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

p { margin: 0 0 1em; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

.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: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--navy-900); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-size: 15px; font-weight: 700; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.btn--primary { background: var(--red-600); color: #fff; box-shadow: 0 10px 22px -10px rgba(215, 20, 30, .7); }
.btn--primary:hover { background: var(--red-700); color: #fff; }

.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--blue-50); color: var(--navy-900); }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }

.btn--sm { padding: 11px 18px; font-size: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; text-decoration: none;
}
.text-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: #aab5d0; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__item, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a { color: #dce3f5; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--red-400); }
.topbar__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 46px; height: 46px; padding: 3px; border-radius: 12px; background: #fff; object-fit: contain; }
.brand__name { display: block; font-size: 21px; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.brand__sub { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }

.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }

.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 0; border-radius: 10px; background: none;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.nav-link:hover, .has-dropdown.is-open > .nav-link { background: var(--surface-2); color: var(--blue-600); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--blue-600); }
.nav-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.has-dropdown.is-open > .nav-link .icon { transform: rotate(180deg); }
.nav-cta { margin-left: 10px; }

.has-dropdown { position: relative; }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; z-index: 10;
  min-width: 270px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dropdown ul { margin: 0; padding: 0; list-style: none; }
.dropdown a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: var(--ink); font-size: 14.5px; font-weight: 500; line-height: 1.35; text-decoration: none;
}
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--blue-50); color: var(--blue-600); }
.dropdown a.is-sub { padding-left: 26px; }
.dropdown__label { padding: 12px 12px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dropdown--wide { min-width: 560px; }
.dropdown--wide ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.has-dropdown.is-open > .dropdown,
html:not(.js) .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

@media (hover: hover) and (min-width: 1100px) {
  .has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-dropdown:hover > .nav-link { background: var(--surface-2); color: var(--blue-600); }
}

.nav-toggle { display: none; }

@media (max-width: 1099px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px;
    background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  }
  .nav-toggle__bars { position: relative; width: 18px; height: 12px; }
  .nav-toggle__bars span {
    position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .2s, opacity .2s, top .2s;
  }
  .nav-toggle__bars span:nth-child(1) { top: 0; }
  .nav-toggle__bars span:nth-child(2) { top: 5px; }
  .nav-toggle__bars span:nth-child(3) { top: 10px; }
  .nav-open .nav-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
  .nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

  .site-nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, 116px);
    padding: 12px 20px 40px; overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open { overflow: hidden; }
  /* backdrop-filter would make the header the containing block for the fixed menu panel */
  .nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li.nav-cta { margin: 20px 0 0; border: 0; }
  .nav-cta .btn { width: 100%; padding-block: 16px; font-size: 16px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 17px; border-radius: 0; }
  .nav-link:hover, .has-dropdown.is-open > .nav-link { background: none; }

  .dropdown {
    position: static; display: none; min-width: 0; padding: 0 0 12px;
    border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .dropdown::before { display: none; }
  .has-dropdown.is-open > .dropdown,
  html:not(.js) .has-dropdown:focus-within > .dropdown { display: block; transform: none; }
  .dropdown--wide { min-width: 0; }
  .dropdown--wide ul { grid-template-columns: 1fr; }
  .dropdown a { padding: 11px 12px; font-size: 15.5px; }
}

@media (max-width: 560px) {
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 18px; }
  .brand__sub { font-size: 11px; }
  .nav-toggle__label { display: none; }
  .topbar__address { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Hero (home) ---------- */
.hero, .page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(59, 91, 255, .38), transparent 62%),
    radial-gradient(700px 380px at -8% 115%, rgba(215, 20, 30, .26), transparent 62%),
    var(--navy-900);
  color: #c3cce3;
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 72%);
}

.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(36px, 5vw, 64px); align-items: center;
  padding-block: clamp(48px, 7vw, 88px) clamp(96px, 10vw, 128px);
}
.hero h1 {
  margin-bottom: 20px; color: #fff;
  font-size: clamp(2.3rem, 4.8vw, 3.75rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em;
}
.hero h1 .accent { color: var(--red-400); }
.hero__lead { max-width: 34em; font-size: 1.125rem; color: #c3cce3; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero .eyebrow, .page-hero .eyebrow, .why .eyebrow, .cta__box .eyebrow { color: var(--red-400); }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
}

/* ---------- Banner slider ---------- */
.slider__viewport {
  position: relative; aspect-ratio: 950 / 337; overflow: hidden;
  border-radius: var(--radius-lg); background: #0d1a3a;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08);
}
.slider__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.slider__slide.is-active { opacity: 1; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }

.slider__controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.slider__dots { display: flex; gap: 6px; }
.slider__dot {
  width: 34px; height: 24px; padding: 0; border: 0; cursor: pointer;
  background: linear-gradient(rgba(255, 255, 255, .25), rgba(255, 255, 255, .25)) center / 100% 4px no-repeat;
  border-radius: 4px; transition: background-size .2s;
}
.slider__dot[aria-current="true"] { background-image: linear-gradient(#fff, #fff); }
.slider__arrows { display: flex; gap: 8px; }
.slider__btn {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.slider__btn:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.slider__btn .icon { width: 18px; height: 18px; }

/* ---------- Highlights strip ---------- */
.highlights { position: relative; z-index: 2; margin-top: -64px; }
.highlights__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.highlight { display: flex; gap: 14px; padding: 26px 24px; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight__icon {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px;
  border-radius: 12px; background: var(--red-50); color: var(--red-600);
}
.highlight__icon .icon { width: 22px; height: 22px; }
.highlight h3 { margin: 2px 0 4px; font-size: 1rem; }
.highlight p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--muted); }

@media (max-width: 1024px) {
  .highlights__grid { grid-template-columns: 1fr 1fr; }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .highlights__grid { grid-template-columns: 1fr; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(44px, 6vw, 72px) clamp(48px, 6vw, 80px); }
.page-hero h1 { margin: 0; color: #fff; font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.page-hero__lead { max-width: 46em; margin: 18px 0 0; font-size: 1.125rem; color: #c3cce3; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 14px; color: #8f9cbd; }
.breadcrumb a { color: #c9d2e8; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 100px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--alt { background: var(--surface-2); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { margin-bottom: 12px; font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
.section-head p { margin: 0; font-size: 1.0625rem; color: var(--muted); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.section-head--split > div { max-width: 680px; }

/* ---------- Product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 24px; }

.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.card__media { display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.card__media--cover img { object-fit: cover; }
.card__media--pad img { padding: 14px; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
.card__tag { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red-600); }
.card__title { margin-bottom: 8px; font-size: 1.125rem; }
.card__text { flex: 1; margin: 0; font-size: .95rem; color: var(--muted); }
.card__link { margin-top: 16px; font-size: .95rem; }
.card__link::before { content: ""; position: absolute; inset: 0; }

/* ---------- Services tiles ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); color: var(--text); }
.service__icon {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 6px;
  border-radius: 14px; background: var(--blue-50); color: var(--blue-600);
  transition: background-color .25s, color .25s;
}
.service__icon .icon { width: 24px; height: 24px; }
.service:hover .service__icon { background: var(--red-600); color: #fff; }
.service h3 { margin: 0; font-size: 1.05rem; }
.service p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--muted); }
.service .text-link { margin-top: auto; padding-top: 6px; font-size: .9rem; color: var(--blue-600); }

@media (max-width: 1024px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Why band ---------- */
.why { background: var(--navy-900); color: #c3cce3; }
.why h2 { color: #fff; }
.why__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.why__intro h2 { margin-bottom: 16px; font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
.why__intro p { font-size: 1.0625rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions--center { justify-content: center; margin-top: 36px; }
.why-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.why-list li {
  display: flex; gap: 16px; padding: 20px 22px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
}
.why-list h3 { margin: 0 0 4px; color: #fff; font-size: 1.05rem; }
.why-list p { margin: 0; font-size: .95rem; }
.why-list .icon-badge { background: rgba(255, 90, 98, .14); color: var(--red-400); }

.icon-badge {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px;
  border-radius: 12px; background: var(--blue-50); color: var(--blue-600);
}
.icon-badge .icon { width: 22px; height: 22px; }
.icon-badge--red { background: var(--red-50); color: var(--red-600); }

@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; } }

/* ---------- Clients marquee ---------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee + .marquee { margin-top: 14px; }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track ul { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

.client-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: .95rem; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.client-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red-600); }

/* ---------- Call to action ---------- */
.cta { padding-bottom: clamp(56px, 8vw, 100px); }
.cta--flush { padding-top: clamp(56px, 8vw, 100px); }
.cta__box {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: clamp(32px, 5vw, 60px);
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg); color: #c3cce3;
}
.cta__box::after {
  content: ""; position: absolute; z-index: -1; right: -120px; top: -160px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 20, 30, .45), transparent 65%);
}
.cta__box h2 { margin-bottom: 10px; color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.03em; }
.cta__box p { margin: 0; max-width: 36em; font-size: 1.0625rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Content layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--center { align-items: center; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split, .split--even { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.feature + .feature { margin-top: clamp(56px, 8vw, 104px); padding-top: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }

.prose { font-size: 1.0625rem; }
.prose h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; }
.prose h3 { margin: 1.6em 0 .6em; font-size: 1.2rem; }
.prose strong { color: var(--ink); }
.prose .lead { font-size: 1.2rem; color: var(--ink); }
.prose > :last-child { margin-bottom: 0; }

.media { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.media img { width: 100%; }
.media--pad img { padding: 16px; }
.media figcaption { padding: 12px 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.media a { display: block; }
.media-stack { display: grid; gap: 20px; }
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 420px) { .media-grid { grid-template-columns: 1fr; } }

.video { overflow: hidden; background: #000; border-radius: var(--radius); box-shadow: var(--shadow); }
.video video { width: 100%; height: auto; }
.media .video { border-radius: 0; box-shadow: none; }

.check-list { display: grid; gap: 12px; margin: 0 0 1.2em; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a44d4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.num-list { display: grid; gap: 12px; margin: 0 0 1.2em; padding: 0; list-style: none; counter-reset: n; }
.num-list li { display: flex; align-items: center; gap: 14px; counter-increment: n; padding: 14px 16px; background: var(--surface-2); border-radius: 12px; color: var(--ink); font-weight: 600; }
.num-list li::before {
  content: counter(n); display: grid; place-items: center; flex: none; width: 30px; height: 30px;
  border-radius: 50%; background: var(--navy-900); color: #fff; font-size: .85rem; font-weight: 700;
}
.num-list a { display: inline-flex; align-items: center; gap: 6px; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.2em; padding: 0; list-style: none; }
.chip { padding: 9px 16px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); font-size: .92rem; font-weight: 600; }

.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .panel-grid { grid-template-columns: 1fr; } }
.panel { padding: clamp(22px, 3vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 1.15rem; }
.panel .check-list { margin: 0; font-size: .97rem; }

.callout {
  padding: 22px 24px; border-left: 4px solid var(--red-600); border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-2); color: var(--ink); font-size: 1.1rem; font-weight: 500;
}

.price-tag {
  display: inline-flex; align-items: baseline; gap: 6px; margin-bottom: 1em;
  padding: 10px 18px; border-radius: 12px; background: var(--red-50); color: var(--red-700); font-weight: 700;
}
.price-tag strong { font-size: 1.6rem; color: var(--red-600); letter-spacing: -.02em; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 6px 12px;
  border-radius: 999px; background: var(--blue-50); color: var(--blue-600);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
}

.fact-list { display: grid; gap: 0; margin: 0; }
.fact-list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact-list > div:first-child { padding-top: 0; }
.fact-list dt { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fact-list dd { margin: 0; color: var(--ink); font-weight: 600; }

.aside-card { padding: clamp(22px, 3vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.aside-card h2 { font-size: 1.15rem; margin-bottom: 18px; }
.aside-card .chip-list { margin: 18px 0 0; }
.aside-card .chip { padding: 7px 13px; font-size: .85rem; }

.stack { display: grid; gap: 20px; align-content: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.media--small { max-width: 400px; margin-inline: auto; }
.panel-grid--2 { grid-template-columns: 1fr 1fr; margin-bottom: 1.4em; }
.panel-grid--2 .panel { padding: 20px 22px; }
.panel-grid--2 .panel h3 { margin-bottom: 6px; font-size: 1rem; }
.panel-grid--2 .panel p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 560px) { .panel-grid--2 { grid-template-columns: 1fr; } }
.related-title { margin-bottom: 18px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Related links ---------- */
.related { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.related a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); font-size: .93rem; font-weight: 600; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.related a:hover { border-color: var(--blue-600); color: var(--blue-600); }
.related a[aria-current="page"] { display: none; }

/* ---------- Clients page ---------- */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.client-grid li {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); font-weight: 600; line-height: 1.35;
  transition: border-color .2s, box-shadow .2s;
}
.client-grid li:hover { border-color: transparent; box-shadow: var(--shadow); }
.client-initial {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy-900); color: #fff; font-size: .95rem; font-weight: 800;
}
.client-note { margin-top: 28px; text-align: center; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-item__label { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-item__value, .contact-item a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-item a:hover { color: var(--blue-600); }
.contact-list--spaced { margin-top: 28px; }
.contact-list--plain { gap: 18px; }
.contact-list--plain .contact-item { padding: 0; border: 0; background: none; }

.map-card { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.map-card img { width: 100%; }
.map-card__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--line); }
.map-card__bar p { margin: 0; color: var(--ink); font-weight: 600; font-size: .95rem; }

/* ---------- Enquiry form ---------- */
.form-card { padding: clamp(24px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 6px; font-size: 1.5rem; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: .92rem; font-weight: 600; }
.req { color: var(--red-600); }
.field .opt { color: var(--muted); font-weight: 500; }

.input {
  width: 100%; padding: 13px 15px;
  background: #fff; border: 1.5px solid #d3dae7; border-radius: 10px;
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #9aa4b8; }
.input:hover { border-color: #b4bfd3; }
.input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(59, 91, 255, .15); }
select.input {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366718a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
textarea.input { min-height: 170px; resize: vertical; line-height: 1.55; }

.field.has-error .input { border-color: var(--red-600); }
.field.has-error .input:focus { box-shadow: 0 0 0 4px rgba(215, 20, 30, .12); }
.field__error { display: none; font-size: .86rem; font-weight: 600; color: var(--red-600); }
.field.has-error .field__error { display: block; }

.captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px; background: var(--surface-2); border: 1.5px dashed #c9d2e2; border-radius: 12px; }
.captcha__img { display: block; min-height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.captcha__input { max-width: 180px; letter-spacing: .12em; font-weight: 700; }
.captcha__reload {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
  border: 0; border-radius: 8px; background: none; color: var(--blue-600);
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
}
.captcha__reload:hover { background: var(--blue-50); }
.captcha__reload .icon { width: 16px; height: 16px; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-note { margin: 0; font-size: .9rem; color: var(--muted); }
.form-credit { margin: 18px 0 0; font-size: .78rem; color: var(--muted); }
.form-credit a { color: var(--muted); }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-footer .btn { width: 100%; }
}

/* ---------- Catalogue viewer ---------- */
.doc-viewer { overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.doc-viewer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.doc-viewer__title { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--ink); font-weight: 700; }
.doc-viewer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.doc-viewer iframe { width: 100%; height: min(85vh, 1100px); min-height: 520px; border: 0; }

/* ---------- Thank you ---------- */
.thanks { max-width: 760px; margin-inline: auto; text-align: center; }
.thanks__img { width: min(360px, 100%); margin: 0 auto 28px; border-radius: var(--radius); }
.thanks h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; }
.thanks p { font-size: 1.125rem; color: var(--muted); }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.thanks__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #e7f7ee; color: #12904a; }
.thanks__icon .icon { width: 30px; height: 30px; stroke-width: 2.4; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(48px, 7vw, 72px); background: var(--navy-950); color: #97a3c0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.35fr .9fr 1.3fr 1.25fr; gap: 40px; }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__sub { color: #8f9cbd; }
.footer__brand p { max-width: 30em; margin-top: 18px; }
.footer__title { margin-bottom: 18px; color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer__links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #c9d2e8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact div { display: flex; gap: 12px; }
.footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--red-400); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: clamp(40px, 6vw, 56px); padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08); font-size: .875rem;
}
.footer__bottom p { margin: 0; }

@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track ul[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track ul { flex-wrap: wrap; justify-content: center; }
}
