@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@500;600;700;800&family=Source+Sans+3:wght@400;600;700&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  --color-navy: #0f172a;
  --color-blue: #1e40af;
  --color-accent: #1d4ed8;
  --color-gray: #475569;
  --color-light: #f8fafc;
  --color-silver: #64748b;
  --color-steel: #e2e8f0;
  --color-dark-bg: #07111e;
  --color-input-bg: #0a1523;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --font-heading: "Barlow", "Arial Narrow", sans-serif;
  --font-mono: "Roboto Mono", monospace;
  --text-base: 1.0625rem;
  --text-sm: 1rem;
  --text-xs: 0.875rem;
  --text-2xs: 0.8125rem;
  --container: 80rem;
  --shadow-crisp: 0 4px 12px 0 rgba(15, 23, 42, 0.05);
  --shadow-blue: 0 4px 14px 0 rgba(29, 78, 216, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: #fff;
  color: var(--color-navy);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: var(--text-base);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.heading-xl, .heading-lg, .heading-md,
.logo__title, .nav-link, .btn,
.footer-title, .card__title, .home-hero h1 {
  font-family: var(--font-heading);
}

::selection { background: var(--color-accent); color: #fff; }

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

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.page-content { flex: 1; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-light); }
::-webkit-scrollbar-thumb { background: var(--color-blue); }
::-webkit-scrollbar-thumb:hover { background: var(--color-navy); }

/* Typography helpers */
.label-mono {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.heading-xl {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.heading-lg {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.heading-md {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
}

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-muted { color: var(--color-gray); }
.text-silver { color: var(--color-silver); }
.text-white { color: #fff; }
.text-accent { color: var(--color-accent); }

.divider-accent {
  width: 4rem;
  height: 4px;
  background: var(--color-accent);
}

.divider-accent--center { margin: 0 auto; }

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  background: rgba(29, 78, 216, 0.2);
  border: 1px solid rgba(29, 78, 216, 0.4);
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.875rem 2rem;
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.btn--blue {
  background: var(--color-blue);
  color: #fff;
}

.btn--blue:hover { background: var(--color-navy); }

.btn--navy {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}

.btn--navy:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--white {
  background: #fff;
  color: var(--color-navy);
}

.btn--white:hover { background: var(--color-light); }

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline-white:hover { background: rgba(255, 255, 255, 0.1); }

.btn--outline-navy {
  background: #fff;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn--outline-navy:hover { background: var(--color-light); }

.btn--full { width: 100%; }

.btn--sm { padding: 0.625rem 1rem; font-size: var(--text-xs); }

/* Grid */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--12 { grid-template-columns: repeat(12, 1fr); }
  .col-span-5 { grid-column: span 5; }
  .col-span-6 { grid-column: span 6; }
  .col-span-7 { grid-column: span 7; }
  .col-span-8 { grid-column: span 8; }
}

/* Service cards grid */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}

.services-grid .card {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .services-grid .card {
    width: calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1024px) {
  .services-grid .card {
    width: calc((100% - 3rem) / 3);
  }
}

/* Sections */
.section { padding: 4rem 0; }
.section--light { background: var(--color-light); border-top: 1px solid var(--color-steel); border-bottom: 1px solid var(--color-steel); }
.section--dark { background: var(--color-navy); color: #fff; }
.section--spaced { margin-bottom: 4rem; }

@media (max-width: 767px) {
  .section { padding: 2.25rem 0; }
  .section--spaced { margin-bottom: 2rem; }
  .section-header { margin: 0 auto 1.5rem; }
  .grid { gap: 1.25rem; }
  .container.grid { gap: 1.5rem; }
  .home-split-grid { gap: 1.5rem; }
  .services-grid { gap: 1rem; }
  .site-footer { margin-top: 2rem; }
  .site-footer__grid { padding: 2rem 1rem; gap: 1.5rem; }
  .site-footer__aside { gap: 1.5rem; }
  .footer-bottom { padding: 1rem; }
  .contact-section { padding-bottom: 2.5rem; }
  .contact-section__header { margin-bottom: 1.25rem; }
  .form-panel--light { padding: 1.5rem; }
  .home-hero { min-height: auto; padding-top: 1rem; }
  .home-hero__content { padding-top: 2rem; padding-bottom: 2rem; }
  .home-hero h1 { margin-bottom: 1rem; }
  .home-hero__actions { padding-top: 0.5rem; gap: 0.75rem; }
  .trust-badges {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    gap: 0.75rem;
  }
}

.page-hero {
  background: var(--color-navy);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(#3b82f6 1px, transparent 1px);
  background-size: 2rem 2rem;
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.page-hero p {
  font-size: var(--text-sm);
  color: var(--color-steel);
  max-width: 36rem;
  margin: 0.75rem auto 0;
  line-height: 1.6;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
}

.site-header.is-scrolled .main-nav {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.top-bar {
  background: var(--color-dark-bg);
  border-bottom: 1px solid var(--color-gray);
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
}

.top-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .top-bar__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.top-bar__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  color: var(--color-silver);
}

.top-bar__contacts span { display: flex; align-items: center; gap: 0.25rem; }

.top-bar__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-silver);
}

.top-bar__export {
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(30, 64, 175, 0.3);
  padding: 0.125rem 0.5rem;
  border: 1px solid rgba(29, 78, 216, 0.2);
}

.main-nav {
  background: #fff;
  border-bottom: 1px solid var(--color-steel);
  padding: 1rem;
}

.main-nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; text-decoration: none; }

.logo__image {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
}

.logo__image--footer {
  height: 2.5rem;
  max-width: 10rem;
}

.logo--footer {
  margin-bottom: 0.25rem;
}

.logo__mark {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.125rem;
}

.logo__title {
  font-weight: 900;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo__title span { color: var(--color-blue); }

.logo__subtitle {
  font-size: 0.625rem;
  color: var(--color-blue);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-top: 0.125rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-blue);
  border-bottom-color: var(--color-blue);
}

.nav-dropdown { position: relative; }

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 20rem;
  background: #fff;
  border: 2px solid var(--color-steel);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: all 0.3s ease;
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__header {
  padding: 0.75rem;
  background: var(--color-light);
  border-bottom: 1px solid var(--color-steel);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
}

.nav-dropdown__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: var(--text-xs);
  color: #334155;
  border: none;
  border-bottom: 1px solid var(--color-steel);
  background: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.nav-dropdown__item:hover {
  background: var(--color-light);
  color: var(--color-blue);
}

.nav-dropdown__item:last-child { border-bottom: none; }

.nav-actions { display: none; }

@media (min-width: 768px) {
  .nav-actions { display: none; }
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
}

.hamburger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--color-steel);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  color: var(--color-navy);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.hamburger-btn:hover {
  background: var(--color-light);
  border-color: var(--color-navy);
}

.hamburger-btn.is-active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  box-shadow: var(--shadow-blue);
}

.hamburger-btn__box {
  position: relative;
  display: block;
  width: 1.125rem;
  height: 0.875rem;
}

.hamburger-btn__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

.hamburger-btn__line:nth-child(1) { top: 0; }
.hamburger-btn__line:nth-child(2) { top: 0.375rem; }
.hamburger-btn__line:nth-child(3) { top: 0.75rem; }

.hamburger-btn.is-active {
  color: #fff;
}

.hamburger-btn.is-active .hamburger-btn__line:nth-child(1) {
  top: 0.375rem;
  transform: rotate(45deg);
}

.hamburger-btn.is-active .hamburger-btn__line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.is-active .hamburger-btn__line:nth-child(3) {
  top: 0.375rem;
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .hamburger-btn,
  .hamburger-btn__line {
    transition: none;
  }
}

@media (min-width: 1024px) {
  .mobile-nav-toggle { display: none; }
}

.mobile-menu {
  display: none;
  background: var(--color-navy);
  border-bottom: 2px solid var(--color-blue);
  padding: 1rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mobile-menu.is-open { display: block; }

.mobile-menu__link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-steel);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu__link:hover { color: #fff; }

.mobile-menu__group {
  padding: 0.25rem 0.75rem;
  border-left: 1px solid var(--color-blue);
  margin: 0.5rem 0;
}

.mobile-menu__group-title {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
  display: block;
  margin-bottom: 0.25rem;
}

.mobile-menu__sub {
  display: block;
  padding: 0.375rem 0.5rem;
  font-size: var(--text-xs);
  color: var(--color-silver);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.mobile-menu__sub:hover { color: #fff; }

.icon-btn {
  padding: 0.1rem 0.3rem 0rem 0.3rem;
  border: 1px solid var(--color-steel);
  background: #fff;
  cursor: pointer;
  color: var(--color-navy);
}

.icon-btn:hover { background: var(--color-light); }

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: #fff;
  margin-top: 3rem;
  border-top: 4px solid var(--color-accent);
}

.site-footer__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.site-footer__brand {
  max-width: 28rem;
}

.site-footer__text {
  font-size: var(--text-xs);
  line-height: 1.6;
  color: #fff;
  margin-top: 1rem;
}

.site-footer__text--contact {
  line-height: 1.8;
}

.site-footer__text p {
  margin: 0.25rem 0;
}

.site-footer__meta {
  font-size: var(--text-xs);
  color: #fff;
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-gray);
}

.site-footer__meta p {
  margin: 0.25rem 0;
}

.site-footer__aside {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .site-footer__aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4rem;
  }

  .site-footer__brand {
    flex: 0 1 34rem;
    max-width: 34rem;
  }

  .site-footer__aside {
    flex: 0 0 auto;
    display: flex;
    gap: 4rem;
    margin-left: auto;
  }

  .site-footer__links-col {
    min-width: 15rem;
  }

  .site-footer__contact-col {
    min-width: 16rem;
  }
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  border-left: 2px solid var(--color-accent);
  padding-left: 0.5rem;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a,
.footer-links button {
  font-size: var(--text-xs);
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.footer-links a:hover,
.footer-links button:hover { color: var(--color-accent); text-decoration: underline; }

.footer-bottom {
  background: var(--color-dark-bg);
  border-top: 1px solid rgba(71, 85, 105, 0.5);
  padding: 1.5rem 1rem;
}

.footer-bottom__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.social-links { display: flex; gap: 0.75rem; margin-top: 0.5rem; }

.social-links a {
  padding: 0.375rem;
  background: var(--color-gray);
  color: var(--color-steel);
  transition: background 0.2s, color 0.2s;
}

.social-links a:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Hero home */
.home-split-grid {
  align-items: center;
  gap: 3rem;
}

.home-hero {
  position: relative;
  min-height: 580px;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  padding-top: 2rem;
  overflow: hidden;
}

.home-hero__grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
  background-image:
    linear-gradient(to right, #1e3a8a 1px, transparent 1px),
    linear-gradient(to bottom, #1e3a8a 1px, transparent 1px);
  background-size: 4rem 4rem;
}

.home-hero__image-wrap {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  opacity: 0.4;
  overflow: hidden;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .home-hero__image-wrap { width: 50%; opacity: 1; }
}

.home-hero__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, var(--color-navy));
  z-index: 1;
}

@media (min-width: 1024px) {
  .home-hero__image-wrap::after {
    background: linear-gradient(to left, transparent, var(--color-navy));
  }
}

.home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.home-hero__bar {
  width: 5rem;
  height: 4px;
  background: var(--color-blue);
  margin-bottom: 1rem;
}

.home-hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 1.5rem;
}

.home-hero h1 .highlight { color: var(--color-blue); }

.home-hero__lead {
  font-size: var(--text-sm);
  color: var(--color-steel);
  max-width: 36rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(71, 85, 105, 0.6);
  max-width: 32rem;
}

.trust-badges__value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.trust-badges__value--accent { color: var(--color-accent); }

.trust-badges__label {
  font-size: var(--text-xs);
  color: var(--color-silver);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-badges > div:not(:first-child) {
  border-left: 1px solid var(--color-gray);
  padding-left: 1rem;
}

/* Cards */
.card {
  background: #fff;
  border: 2px solid var(--color-steel);
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover { border-color: var(--color-navy); }

.card__image-wrap {
  position: relative;
  height: 12rem;
  overflow: hidden;
  background: var(--color-navy);
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card__image {
  transform: scale(1.05);
}

.card__number {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-steel);
  padding-bottom: 0.5rem;
  margin: 0 0 0.75rem;
  transition: color 0.3s;
}

.card:hover .card__title { color: var(--color-accent); }

.card__text {
  font-size: var(--text-xs);
  color: var(--color-gray);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__footer {
  padding: 0 1.25rem 1.25rem;
  margin-top: auto;
}

.card__text--long {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.card--info:hover {
  border-color: var(--color-steel);
}

.card--info:hover .card__title {
  color: var(--color-navy);
}

.card--info:hover .card__image {
  transform: none;
}

.btn--static {
  display: block;
  text-align: center;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

/* About image block */
.image-frame {
  position: relative;
}

.image-frame::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 3rem;
  height: 3rem;
  border-top: 2px solid var(--color-accent);
  border-left: 2px solid var(--color-accent);
}

.image-frame::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 3rem;
  height: 3rem;
  border-bottom: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
}

.image-frame__inner {
  background: var(--color-navy);
  padding: 0.5rem;
  border: 1px solid var(--color-gray);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.image-frame img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.floating-label {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--color-accent);
  color: #fff;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  max-width: 18rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-crisp);
}

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; }

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.check-list li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* Feature row */
.feature-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-row__icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--color-navy);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-gray);
  flex-shrink: 0;
  font-size: 1rem;
}

/* CAD mockup */
.cad-panel {
  background: var(--color-navy);
  padding: 1rem;
  border: 2px solid var(--color-gray);
  position: relative;
}

.cad-panel__tag {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--color-silver);
}

.cad-panel__inner {
  border: 1px solid rgba(29, 78, 216, 0.2);
  background: #071321;
  padding: 1.5rem;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.cad-panel__header {
  display: flex;
  justify-content: space-between;
  font-size: 0.625rem;
  color: var(--color-silver);
  border-bottom: 1px solid rgba(71, 85, 105, 0.4);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.cad-panel__spec { padding-left: 0.5rem; margin-top: 0.5rem; }

.cad-panel__spec p { margin: 0.25rem 0; font-size: 0.625rem; color: var(--color-silver); }

.cad-panel__diagram {
  height: 7rem;
  border: 1px solid rgba(71, 85, 105, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #091729;
  margin: 1rem 0;
  position: relative;
  overflow: hidden;
}

.cad-panel__diagram-box {
  width: 6rem;
  height: 5rem;
  border: 1px solid rgba(29, 78, 216, 0.4);
  background: rgba(15, 23, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  color: var(--color-accent);
  text-align: center;
}

/* Testimonial */
.testimonial {
  background: #fff;
  border: 2px solid var(--color-steel);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s;
}

.testimonial:hover { border-color: var(--color-navy); }

.testimonial__stars {
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.testimonial__text {
  font-size: var(--text-xs);
  color: var(--color-gray);
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.testimonial__footer {
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-steel);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
}

/* Forms */
.form-panel {
  background: var(--color-navy);
  border: 2px solid var(--color-gray);
  color: #fff;
  padding: 2rem;
  position: relative;
}

.form-panel--light {
  background: #fff;
  color: var(--color-navy);
  border: 1px solid var(--color-steel);
  border-top: 4px solid var(--color-accent);
  border-radius: 2px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  padding: 2.5rem;
}

.form-panel--light .form-group span {
  color: var(--color-gray);
}

.form-panel--light .form-success {
  background: #eff6ff;
  border-color: var(--color-accent);
  color: var(--color-navy);
}

.form-panel--light .form-success p {
  color: var(--color-gray);
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0;
  color: #991b1b;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
}

.form-error p {
  font-size: var(--text-xs);
  line-height: 1.6;
  margin: 0;
}

.form-error a {
  color: inherit;
  font-weight: 700;
}

.contact-section {
  background: linear-gradient(180deg, var(--color-light) 0%, #fff 100%);
  border-top: 1px solid var(--color-steel);
  margin-bottom: 0;
  padding-bottom: 5rem;
}

.contact-section__inner {
  max-width: 52rem;
}

.contact-section__header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-section__title {
  margin: 0.75rem 0 0;
  text-transform: uppercase;
  color: var(--color-navy);
}

.contact-section__lead {
  font-size: var(--text-sm);
  color: var(--color-gray);
  line-height: 1.7;
  max-width: 36rem;
  margin: 1rem auto 0;
}

.contact-form {
  margin-top: 0.5rem;
}

.form-panel__tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  color: var(--color-silver);
  border: 1px solid rgba(71, 85, 105, 0.3);
  padding: 0.125rem 0.375rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  text-transform: uppercase;
  color: var(--color-silver);
  margin-bottom: 0.25rem;
}

.form-group > span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  text-transform: uppercase;
  color: var(--color-silver);
  margin-bottom: 0.25rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: var(--text-xs);
  background: var(--color-input-bg);
  border: 1px solid var(--color-gray);
  color: #fff;
  outline: none;
  font-family: var(--font-mono);
}

.form-control:focus { border-color: var(--color-accent); }

.form-control--light {
  background: #fff;
  color: var(--color-navy);
  font-family: var(--font-mono);
}

.form-control--light:focus { border-color: var(--color-accent); }

.form-success {
  background: rgba(29, 78, 216, 0.1);
  border: 1px solid var(--color-accent);
  padding: 1.5rem;
  text-align: center;
}

.form-success h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0.5rem 0;
}

.form-success p {
  font-size: var(--text-xs);
  color: var(--color-steel);
  max-width: 20rem;
  margin: 0 auto;
}

.form-success--green {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

/* Service page */
.service-hero {
  position: relative;
  height: 24rem;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.service-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  z-index: 1;
}

.service-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero__content {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  padding: 0 1rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  background: var(--color-light);
  border: 1px solid var(--color-steel);
  padding: 0.75rem;
}

.benefit-item__num {
  width: 1.25rem;
  height: 1.25rem;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(29, 78, 216, 0.3);
  flex-shrink: 0;
}

.benefit-item__text {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--color-gray);
  line-height: 1.6;
  font-weight: 500;
}

/* Service page layout */
.service-hero__title {
  margin: 1rem 0 0.5rem;
}

.service-hero__subtitle {
  color: var(--color-steel);
  max-width: 42rem;
  margin: 0 auto;
  font-size: var(--text-sm);
}

.service-intro__inner {
  max-width: 52rem;
}

.service-intro__heading {
  margin: 0.75rem 0;
}

.service-intro__text {
  font-size: var(--text-sm);
  color: var(--color-gray);
  line-height: 1.7;
  margin: 1rem 0 0;
}

.service-benefits {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-steel);
}

.service-benefits__title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy);
  margin: 0 0 1.25rem;
}

.service-benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .service-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.brand-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-steel);
}

.brand-nav__link {
  display: inline-block;
  padding: 0.625rem 1.125rem;
  font-family: var(--font-heading);
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-navy);
  background: #fff;
  border: 2px solid var(--color-steel);
  transition: all 0.25s ease;
}

.brand-nav__link:hover {
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: #fff;
}

.brand-section {
  padding: 0 0 3rem;
  border-top: 4px solid var(--color-accent);
  scroll-margin-top: 1.5rem;
}

.brand-section--alt {
  background: #fff;
}

.brand-section__head {
  background: var(--color-navy);
  color: #fff;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.brand-section__head-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.brand-section__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 640px) {
  .brand-section__intro {
    flex-direction: row;
    align-items: center;
  }
}

.brand-section__logo-wrap {
  flex-shrink: 0;
  background: #fff;
  padding: 0.625rem 1rem;
  border-radius: 2px;
}

.brand-section__logo {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: 8.75rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .brand-section__head-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.brand-section__origin {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.brand-section__name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.1;
}

.brand-section__tagline {
  margin: 0.375rem 0 0;
  font-size: var(--text-sm);
  color: var(--color-steel);
}

.brand-section__badge {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.875rem;
  border: 1px solid rgba(29, 78, 216, 0.45);
  background: rgba(29, 78, 216, 0.15);
  color: #bfdbfe;
}

.brand-section__description {
  font-size: var(--text-sm);
  color: var(--color-gray);
  line-height: 1.7;
  margin: 0 0 2rem;
  max-width: 48rem;
}

.brand-section__products {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.system-product {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border: 2px solid var(--color-steel);
  overflow: hidden;
  align-items: stretch;
}

@media (min-width: 900px) {
  .system-product {
    grid-template-columns: minmax(280px, 42%) 1fr;
  }
}

.system-product__media {
  position: relative;
  width: 100%;
  min-height: 16rem;
  overflow: hidden;
  border-bottom: 1px solid var(--color-steel);
}

@media (min-width: 900px) {
  .system-product__media {
    min-height: 0;
    border-bottom: none;
    border-right: 1px solid var(--color-steel);
  }
}

.system-product__media img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 900px) {
  .system-product__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }
}

.system-product__body {
  padding: 1.5rem;
  min-height: 0;
}

.system-product__brand {
  font-size: var(--text-2xs);
}

.system-product__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-navy);
  margin: 0.375rem 0 0.25rem;
}

.system-product__subtitle {
  font-size: var(--text-xs);
  color: var(--color-silver);
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.system-product__text {
  font-size: var(--text-sm);
  color: var(--color-gray);
  line-height: 1.7;
  margin: 0;
}

.system-product__features,
.system-product__specs {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-steel);
}

.system-product__features-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  margin-bottom: 0.625rem;
}

.service-catalog__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.catalog-card {
  flex: 1 1 16rem;
  max-width: 22rem;
  min-width: min(100%, 16rem);
  background: #fff;
  border: 2px solid var(--color-steel);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease;
}

.catalog-card:hover {
  border-color: var(--color-navy);
}

.catalog-card__image {
  height: 13rem;
  overflow: hidden;
  background: var(--color-navy);
}

.catalog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-card__body {
  padding: 1.25rem;
  flex: 1;
}

.catalog-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-navy);
  margin: 0 0 0.625rem;
}

.catalog-card__text {
  font-size: var(--text-xs);
  color: var(--color-gray);
  line-height: 1.65;
  margin: 0;
}

.steel-info {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--color-navy);
  border: 2px solid var(--color-gray);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .steel-info {
    grid-template-columns: 1.5fr 1fr;
  }
}

.steel-info__text {
  font-size: var(--text-sm);
  color: var(--color-silver);
  line-height: 1.7;
  margin: 0.75rem 0 0;
}

.steel-info__ral {
  background: hwb(0 100% 0% / 0.89);
  border: 1px solid rgba(71, 85, 105, 0.4);
  padding: 1.25rem;
  text-align: center;
}

.spec-table {
  background: #fff;
  border: 1px solid var(--color-steel);
  font-size: var(--text-xs);
}

.spec-table__row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  border-bottom: 1px solid var(--color-steel);
}

.spec-table__row:last-child { border-bottom: none; }

/* Gallery filter */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  border-bottom: 1px solid var(--color-steel);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.filter-tab {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid var(--color-steel);
  background: #fff;
  color: var(--color-gray);
  cursor: pointer;
  transition: all 0.3s;
}

.filter-tab.is-active,
.filter-tab:hover {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}

.gallery-item { display: block; }
.gallery-item.is-hidden { display: none; }

.gallery-card__image {
  height: 14rem;
  overflow: hidden;
  background: var(--color-navy);
  position: relative;
}

.gallery-card__year {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.125rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.gallery-card__footer {
  padding: 1.25rem 1.25rem 0.625rem;
  border-top: 1px solid rgba(226, 232, 240, 0.4);
  background: var(--color-light);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--color-silver);
}

/* Contact page */
.info-card {
  background: var(--color-light);
  border: 2px solid var(--color-steel);
  padding: 1.5rem;
}

.info-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: var(--color-gray);
}

.info-row__icon {
  color: var(--color-accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.map-placeholder {
  height: 15rem;
  background: var(--color-light);
  border: 1px solid var(--color-steel);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(#0b192c 1px, transparent 1px);
  background-size: 1.5rem 1.5rem;
}

.map-placeholder__coords {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--color-silver);
}

/* Steel RAL colors */
.ral-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.375rem;
  max-width: 20rem;
  margin: 0 auto;
}

.ral-swatch {
  width: 2rem;
  height: 2rem;
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-header p {
  font-size: var(--text-xs);
  color: var(--color-gray);
  margin-top: 0.75rem;
}

.section-header-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid var(--color-steel);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .section-header-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.info-box {
  background: #0a1523;
  border: 1px solid var(--color-gray);
  padding: 1rem;
  color: #fff;
  font-size: var(--text-xs);
}

.feature-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-grid-2 li {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-navy);
}

@media (min-width: 640px) {
  .feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.feature-box {
  border: 1px solid var(--color-steel);
  padding: 0.75rem;
  background: var(--color-light);
}

.feature-box__title {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.feature-box p {
  font-size: var(--text-xs);
  color: var(--color-silver);
  margin: 0;
  line-height: 1.4;
}

.hidden { display: none !important; }

.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;
}

/* Preloader (home) */
body.is-loading { overflow: hidden; }

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.65s;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader__grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(59, 130, 246, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.35) 1px, transparent 1px);
  background-size: 3rem 3rem;
  animation: preloaderGridDrift 12s linear infinite;
}

.site-preloader__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: min(18rem, 80vw);
  text-align: center;
}

.site-preloader__logo {
  width: min(11rem, 72vw);
  height: auto;
  animation: preloaderLogoIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-preloader__track {
  width: 100%;
  height: 2px;
  background: rgba(148, 163, 184, 0.25);
  overflow: hidden;
  border-radius: 999px;
}

.site-preloader__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-blue), #60a5fa);
  border-radius: inherit;
  animation: preloaderBarFill 1.85s cubic-bezier(0.4, 0, 0.2, 1) 0.35s forwards;
}

.site-preloader__tag {
  color: var(--color-steel);
  letter-spacing: 0.14em;
  animation: preloaderTagIn 0.8s ease 0.5s both;
}

@keyframes preloaderGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 3rem 3rem, 3rem 3rem; }
}

@keyframes preloaderLogoIn {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes preloaderBarFill {
  to { width: 100%; }
}

@keyframes preloaderTagIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.page-ready .home-hero__content > * {
  animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.page-ready .home-hero__content > *:nth-child(1) { animation-delay: 0.05s; }
body.page-ready .home-hero__content > *:nth-child(2) { animation-delay: 0.12s; }
body.page-ready .home-hero__content > *:nth-child(3) { animation-delay: 0.19s; }
body.page-ready .home-hero__content > *:nth-child(4) { animation-delay: 0.26s; }
body.page-ready .home-hero__content > *:nth-child(5) { animation-delay: 0.33s; }
body.page-ready .home-hero__content > *:nth-child(6) { animation-delay: 0.4s; }

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(1.125rem);
    transition:
      opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader { display: none !important; }
  body.is-loading { overflow: auto; }
}

/* References page */
.refs-hero {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--color-navy);
}

.refs-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.refs-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 30, 0.55) 0%, rgba(15, 23, 42, 0.92) 100%);
}

.refs-hero__content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding: 4rem 1rem;
}

.refs-hero__title {
  margin: 0.75rem 0;
  letter-spacing: 0.04em;
}

.refs-hero__subtitle {
  color: #cbd5e1;
  font-size: var(--text-sm);
  line-height: 1.65;
  margin: 0;
}

.refs-showcase .section-header p {
  max-width: 38rem;
  margin: 0.75rem auto 0;
  color: var(--color-gray);
  font-size: var(--text-xs);
  line-height: 1.65;
}

.refs-slider-wrap {
  position: relative;
  margin-top: 2.5rem;
}

.refs-slider {
  margin-top: 0;
}

.refs-slider--soon {
  filter: blur(5px);
  opacity: 0.42;
  pointer-events: none;
  user-select: none;
}

.refs-slider__soon {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.refs-slider__soon-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 7vw, 4.25rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--color-navy);
  padding: 0.85rem 2.25rem 0.85rem 2.6rem;
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid var(--color-navy);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: rotate(-2deg);
}

.refs-slider__viewport {
  overflow: hidden;
  border: 2px solid var(--color-steel);
  background: #fff;
  box-shadow: var(--shadow-crisp);
}

.refs-slider__track {
  position: relative;
}

.refs-slide {
  display: none;
  grid-template-columns: 1fr;
}

.refs-slide.is-active {
  display: grid;
}

@media (min-width: 900px) {
  .refs-slide.is-active {
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 28rem;
  }
}

.refs-slide__media {
  position: relative;
  background: var(--color-navy);
  min-height: 16rem;
}

.refs-slide__gallery {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 16rem;
}

@media (min-width: 900px) {
  .refs-slide__gallery {
    min-height: 28rem;
  }
}

.refs-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.refs-slide__image.is-active {
  opacity: 1;
}

.refs-slide__thumbs {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.refs-slide__thumb {
  width: 4.5rem;
  height: 3.25rem;
  padding: 0;
  border: 2px solid transparent;
  background: rgba(15, 23, 42, 0.35);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.refs-slide__thumb.is-active,
.refs-slide__thumb:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

.refs-slide__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.refs-slide__body {
  padding: 1.75rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) {
  .refs-slide__body {
    padding: 2.5rem 2.25rem;
  }
}

.refs-slide__index {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-steel);
  margin-bottom: 0.75rem;
}

.refs-slide__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-navy);
  margin: 0.5rem 0 0.25rem;
}

.refs-slide__client {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}

.refs-slide__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--color-silver);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.refs-slide__text {
  font-size: var(--text-xs);
  line-height: 1.75;
  color: var(--color-gray);
  margin: 0;
}

.refs-slider__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.refs-slider__arrow {
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--color-steel);
  background: #fff;
  color: var(--color-navy);
  font-size: 1.125rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.refs-slider__arrow:hover {
  border-color: var(--color-navy);
  background: var(--color-navy);
  color: #fff;
}

.refs-slider__dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.refs-slider__dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-steel);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.refs-slider__dot.is-active {
  background: var(--color-accent);
  transform: scale(1.2);
}

.refs-cards {
  display: none;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .refs-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.refs-card {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.875rem;
  align-items: center;
  padding: 0.75rem;
  border: 2px solid var(--color-steel);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.refs-card:hover,
.refs-card.is-active {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}

.refs-card__image {
  width: 5.5rem;
  height: 4.25rem;
  overflow: hidden;
  background: var(--color-navy);
}

.refs-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.refs-card__num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.refs-card__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-navy);
  margin: 0 0 0.2rem;
}

.refs-card__meta {
  font-size: var(--text-2xs);
  color: var(--color-silver);
  margin: 0;
}

.refs-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem;
  border: 2px solid var(--color-steel);
  background: #fff;
}

@media (min-width: 768px) {
  .refs-cta__inner {
    flex-direction: row;
    align-items: center;
  }
}
