:root {
  --navy: #061b33;
  --navy-2: #102542;
  --steel: #4b5563;
  --light: #e5e7eb;
  --white: #ffffff;
  --blue: #3a86ff;
  --blue-2: #1768e8;
  --orange: #ff9f1c;
  --ink: #0b1f3a;
  --muted: #657386;
  --line: rgba(16, 37, 66, 0.12);
  --surface: #ffffff;
  --soft: #f5f7fb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

p {
  font-size: 0.98rem;
}

a {
  color: var(--blue-2);
}

a[href^="tel:"],
a[href^="tel:"] *,
a[href^="tel:"]:hover,
a[href^="tel:"]:hover *,
a[href^="tel:"]:focus,
a[href^="tel:"]:focus *,
a[href^="tel:"]:focus-visible,
a[href^="tel:"]:focus-visible * {
  text-decoration: none;
}

@media (min-width: 1600px) {
  .container {
    max-width: 1440px;
  }
}

.navbar {
  min-height: 64px;
}

.amsys-navbar {
  background: rgba(6, 27, 51, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.navbar-brand {
  color: var(--white);
  line-height: 1.05;
  text-decoration: none;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--white);
}

.navbar-brand strong {
  display: block;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.navbar-brand small {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.privacy-page .navbar-brand {
  color: var(--ink);
}

.privacy-page .navbar-brand:hover,
.privacy-page .navbar-brand:focus {
  color: var(--ink);
}

.privacy-page .navbar-brand small {
  color: var(--muted);
}

.brand-logo {
  background: var(--navy);
  border-radius: 8px;
  height: 36px;
  object-fit: contain;
  width: 36px;
}

.brand-logo.light {
  background: var(--navy);
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  margin-inline: 0.25rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  background: var(--blue);
  border-radius: 999px;
  bottom: 0.3rem;
  content: "";
  height: 2px;
  left: 0.5rem;
  opacity: 0;
  position: absolute;
  transform: scaleX(0.25);
  transform-origin: left center;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: calc(100% - 1rem);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link:focus::after {
  opacity: 1;
  transform: scaleX(1);
}

.btn {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 700;
  gap: 0.55rem;
  justify-content: center;
}

.btn svg,
.btn img.local-icon,
.hero-phone img.local-icon,
.hero-trust svg,
.hero-trust img.custom-icon {
  height: 1.05rem;
  width: 1.05rem;
}

.local-icon {
  display: inline-block;
  flex: 0 0 auto;
  object-fit: contain;
  transition: filter 0.2s ease;
}

.icon-white {
  filter: brightness(0) invert(1);
}

.icon-blue {
  filter: brightness(0) saturate(100%) invert(33%) sepia(99%) saturate(1928%) hue-rotate(209deg) brightness(95%) contrast(91%);
}

.icon-orange {
  filter: brightness(0) saturate(100%) invert(68%) sepia(75%) saturate(1406%) hue-rotate(347deg) brightness(102%) contrast(101%);
}

.icon-dark {
  filter: brightness(0) saturate(100%) invert(9%) sepia(53%) saturate(1788%) hue-rotate(190deg) brightness(94%) contrast(94%);
}

.btn-primary {
  --bs-btn-bg: var(--blue-2);
  --bs-btn-border-color: var(--blue-2);
  --bs-btn-hover-bg: #0f56c4;
  --bs-btn-hover-border-color: #0f56c4;
  box-shadow: 0 16px 36px rgba(23, 104, 232, 0.32);
}

.btn-outline-light {
  --bs-btn-color: rgba(255, 255, 255, 0.9);
  --bs-btn-border-color: rgba(255, 255, 255, 0.28);
  --bs-btn-hover-bg: var(--orange);
  --bs-btn-hover-border-color: var(--orange);
  --bs-btn-hover-color: var(--navy);
}

.hero-section {
  background: #01182F;
  color: var(--white);
  min-height: 660px;
  overflow: hidden;
  padding: 102px 0 38px;
  position: relative;
}

.hero-bg {
  background-color: #01182F;
  background-image:
    linear-gradient(180deg, rgba(1, 24, 47, 0) 0%, rgba(1, 24, 47, 0) 70%, rgba(1, 24, 47, 0.92) 100%),
    linear-gradient(90deg, rgba(1, 24, 47, 0.98) 0%, rgba(1, 24, 47, 0.88) 34%, rgba(1, 24, 47, 0.36) 61%, rgba(1, 24, 47, 0.18) 100%),
    image-set(
      url("assets/hero-amsys-2.avif") type("image/avif"),
      url("assets/hero-amsys-2.webp") type("image/webp"),
      url("assets/hero-amsys-2.png") type("image/png")
    );
  background-position:
    center,
    center,
    right max(12px, calc((100vw - 1320px) / 2)) center;
  background-repeat: no-repeat;
  background-size:
    100% 100%,
    auto,
    auto calc(100% - 76px);
  inset: 0;
  position: absolute;
}

.hero-section .container.position-relative {
  display: flex;
  min-height: calc(660px - 140px);
}

.hero-section .row {
  flex: 1;
  width: 100%;
}

.hero-section h1 {
  font-size: clamp(2.15rem, 4.4vw, 4.15rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
  max-width: 760px;
}

.hero-section h1 span {
  color: var(--blue);
  display: block;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.03rem;
  margin: 1.45rem 0 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: min(100%, 500px);
}

.hero-actions .btn-lg {
  font-size: 0.98rem;
  min-height: 46px;
  padding: 0.68rem 1.05rem;
  white-space: nowrap;
}

.hero-actions .btn-primary {
  flex: 1 1 auto;
}

.hero-phone {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.98rem;
  font-weight: 700;
  gap: 0.55rem;
  justify-content: center;
  min-height: 46px;
  padding: 0.68rem 1.05rem;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: text;
  white-space: nowrap;
}

.hero-phone,
.hero-phone *,
.hero-phone:hover,
.hero-phone:hover *,
.hero-phone:focus,
.hero-phone:focus *,
.hero-phone:focus-visible,
.hero-phone:focus-visible * {
  text-decoration: none;
}

.hero-phone:hover {
  background: transparent;
  border-color: rgba(255, 159, 28, 0.52);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(255, 159, 28, 0.08), 0 0 24px rgba(255, 159, 28, 0.2);
}

.hero-phone:hover img.local-icon {
  filter: brightness(0) saturate(100%) invert(68%) sepia(75%) saturate(1406%) hue-rotate(347deg) brightness(102%) contrast(101%);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: space-between;
  margin-top: 2rem;
  width: min(100%, 500px);
}

.hero-trust span {
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  display: inline-flex;
  font-size: 0.88rem;
  gap: 0.45rem;
}

.hero-trust svg {
  color: var(--orange);
  stroke-width: 2.2;
}

.hero-trust img.custom-icon {
  filter: brightness(0) saturate(100%) invert(68%) sepia(75%) saturate(1406%) hue-rotate(347deg) brightness(102%) contrast(101%);
  flex: 0 0 auto;
  object-fit: contain;
}

.eyebrow {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-block,
.section-band,
.contact-section {
  padding: 82px 0;
}

.section-band,
.why-section,
.contact-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.section-band {
  background:
    linear-gradient(180deg, rgba(245, 247, 251, 0.92), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 15% 20%, rgba(58, 134, 255, 0.12), transparent 28%);
}

.compact {
  padding: 76px 0;
}

.section-heading {
  margin: 0 auto 44px;
  max-width: 980px;
  text-align: center;
}

.nowrap-desktop {
  white-space: nowrap;
}

.line-keep {
  white-space: nowrap;
}

.section-heading h2,
.section-band h2,
.contact-section h2,
.compact h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.section-heading p,
.section-copy,
.contact-section p {
  color: var(--muted);
}

.section-heading .eyebrow {
  color: var(--orange);
}

.section-heading.light h2 {
  color: var(--white);
}

.section-heading.light .eyebrow {
  color: var(--orange);
}

.section-heading.light p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.service-card,
.audience-item,
.contact-form,
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card {
  height: 100%;
  padding: 30px 26px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: rgba(58, 134, 255, 0.42);
  box-shadow: 0 24px 64px rgba(6, 27, 51, 0.16);
  transform: translateY(-5px);
}

.service-card h3,
.audience-item h3,
.why-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin: 1rem 0 0.75rem;
}

.service-card h3 {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 2.6rem;
}

.service-card p,
.audience-item p,
.why-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.service-card p {
  line-height: 1.55;
  margin-left: auto;
  margin-right: auto;
  min-height: 4.4rem;
}

.service-card ul {
  border-top: 1px solid var(--line);
  color: var(--ink);
  list-style: none;
  margin: 1rem 0 0;
  padding: 1rem 0 0;
  text-align: left;
}

.service-card li {
  margin-bottom: 0.45rem;
  padding-left: 1.15rem;
  position: relative;
}

.service-card li::before {
  background: var(--orange);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 0.65rem;
  width: 6px;
}

.icon-box {
  align-items: center;
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.84));
  border: 1px solid rgba(58, 134, 255, 0.26);
  border-radius: 8px;
  color: var(--blue-2);
  display: inline-flex;
  height: 72px;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  width: 72px;
}

.icon-box svg,
.icon-box img.custom-icon {
  height: 2.15rem;
  width: 2.15rem;
}

.icon-box svg {
  stroke-width: 2.15;
}

.icon-box img.custom-icon {
  filter: brightness(0) saturate(100%) invert(33%) sepia(99%) saturate(1928%) hue-rotate(209deg) brightness(95%) contrast(91%);
  object-fit: contain;
}

.service-card:hover .icon-box,
.audience-item:hover > svg,
.audience-item:hover > .audience-icon,
.audience-item:hover > img.custom-icon,
.why-card:hover .icon-box {
  border-color: rgba(255, 159, 28, 0.62);
  box-shadow:
    0 0 0 1px rgba(255, 159, 28, 0.1),
    0 0 28px rgba(255, 159, 28, 0.18);
  color: var(--orange);
}

.service-card:hover .icon-box img.custom-icon,
.why-card:hover .icon-box img.custom-icon,
.audience-item:hover > .audience-icon img.custom-icon,
.audience-item:hover > img.custom-icon {
  filter: brightness(0) saturate(100%) invert(68%) sepia(75%) saturate(1406%) hue-rotate(347deg) brightness(102%) contrast(101%);
}

.audience-item {
  height: 100%;
  padding: 28px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.audience-item:hover {
  border-color: rgba(58, 134, 255, 0.42);
  box-shadow: 0 24px 64px rgba(6, 27, 51, 0.16);
  transform: translateY(-5px);
}

.audience-item > svg,
.audience-item > .audience-icon,
.audience-item > img.custom-icon {
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.84));
  border: 1px solid rgba(58, 134, 255, 0.26);
  border-radius: 8px;
  box-sizing: content-box;
  color: var(--blue-2);
  height: 2.15rem;
  padding: 1.05rem;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  width: 2.15rem;
}

.audience-item > svg {
  stroke-width: 2.15;
}

.audience-item > img.custom-icon {
  filter: brightness(0) saturate(100%) invert(33%) sepia(99%) saturate(1928%) hue-rotate(209deg) brightness(95%) contrast(91%);
  object-fit: contain;
}

.audience-item > .audience-icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.audience-icon img.custom-icon {
  filter: brightness(0) saturate(100%) invert(33%) sepia(99%) saturate(1928%) hue-rotate(209deg) brightness(95%) contrast(91%);
  height: 2.15rem;
  object-fit: contain;
  width: 2.15rem;
}

.why-section {
  background:
    linear-gradient(135deg, rgba(6, 27, 51, 0.98), rgba(16, 37, 66, 0.96)),
    radial-gradient(circle at 82% 18%, rgba(58, 134, 255, 0.25), transparent 28%);
  color: var(--white);
  overflow: hidden;
  padding: 86px 0;
  position: relative;
}

.why-section .container {
  position: relative;
}

.why-card {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.14);
  height: 100%;
  padding: 30px 24px;
  text-align: center;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.why-card:hover {
  border-color: rgba(255, 159, 28, 0.58);
  box-shadow:
    0 0 0 1px rgba(255, 159, 28, 0.12),
    0 0 34px rgba(255, 159, 28, 0.2),
    0 20px 54px rgba(58, 134, 255, 0.08);
  transform: translateY(-5px);
}

.why-card .icon-box {
  background: rgba(239, 246, 255, 0.08);
  border-color: rgba(58, 134, 255, 0.38);
  color: var(--blue);
  margin-bottom: 0.7rem;
}

.why-card h3 {
  color: var(--white);
}

.why-card p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(6, 27, 51, 0.99), rgba(9, 34, 62, 0.98)),
    radial-gradient(circle at 12% 15%, rgba(58, 134, 255, 0.16), transparent 28%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.contact-section .container {
  position: relative;
}

.contact-heading {
  margin-bottom: 2.3rem;
  max-width: 820px;
}

.contact-heading .eyebrow {
  color: var(--orange);
}

.contact-heading h2 {
  color: var(--white);
}

.contact-heading p,
.contact-section p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-list {
  display: grid;
  gap: 1.15rem;
}

.contact-card {
  align-items: center;
  background: rgba(13, 43, 76, 0.72);
  border: 1px solid rgba(58, 134, 255, 0.26);
  border-radius: 8px;
  color: var(--white);
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 56px 1fr;
  min-height: 136px;
  padding: 1.55rem 1.35rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-card-link {
  color: var(--white);
  text-decoration: none;
}

.contact-card-link *,
.contact-card-link:hover *,
.contact-card-link:focus *,
.contact-card-link:focus-visible * {
  text-decoration: none;
}

.contact-card-link:hover,
.contact-card-link:focus,
.contact-card-link:focus-visible {
  color: var(--white);
  text-decoration: none;
}

.contact-card-link:focus-visible {
  outline: 2px solid rgba(255, 159, 28, 0.72);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .js-tel-link {
    cursor: default;
  }
}

.contact-card:hover {
  border-color: rgba(255, 159, 28, 0.58);
  box-shadow:
    0 0 0 1px rgba(255, 159, 28, 0.12),
    0 0 34px rgba(255, 159, 28, 0.2),
    0 20px 54px rgba(58, 134, 255, 0.08);
  color: var(--white);
}

.contact-card svg {
  color: var(--blue);
  flex: 0 0 auto;
  height: 1.55rem;
  margin-top: 0.1rem;
  stroke-width: 2.15;
  width: 1.45rem;
}

.contact-card .local-icon {
  height: 1.55rem;
  margin-top: 0.1rem;
  width: 1.45rem;
}

.contact-card > i,
.contact-card > .contact-card-icon {
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  height: 100%;
  padding-right: 1.25rem;
  position: relative;
  width: 56px;
}

.contact-card > i::before,
.contact-card > .contact-card-icon::before {
  background: rgba(239, 246, 255, 0.08);
  border: 1px solid rgba(58, 134, 255, 0.28);
  border-radius: 8px;
  content: "";
  height: 42px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 42px;
}

.contact-card > i svg,
.contact-card > .contact-card-icon img {
  margin: 0 0 0 9px;
  position: relative;
  z-index: 1;
}

.contact-card:hover > i::before,
.contact-card:hover > .contact-card-icon::before {
  border-color: rgba(255, 159, 28, 0.62);
  box-shadow:
    0 0 0 1px rgba(255, 159, 28, 0.1),
    0 0 26px rgba(255, 159, 28, 0.18);
}

.contact-card:hover svg {
  color: var(--orange);
}

.contact-card:hover .contact-card-icon img {
  filter: brightness(0) saturate(100%) invert(68%) sepia(75%) saturate(1406%) hue-rotate(347deg) brightness(102%) contrast(101%);
}

.contact-card small {
  color: rgba(255, 255, 255, 0.44);
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.18rem;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--white);
  display: block;
  font-size: 1.04rem;
  line-height: 1.35;
}

.contact-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.contact-form .form-label {
  color: var(--white);
  font-weight: 700;
}

.required-note {
  background: rgba(58, 134, 255, 0.1);
  border-left: 3px solid var(--blue);
  border-radius: 0 8px 8px 0;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.9rem;
  margin: 0 0 1.1rem;
  padding: 0.65rem 0.8rem;
}

.form-status {
  border: 1px solid rgba(58, 134, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  display: grid;
  gap: 0.2rem;
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
}

.form-status strong {
  font-size: 0.95rem;
}

.form-status span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.45;
}

.form-status ul {
  display: grid;
  gap: 0.25rem;
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.form-status li {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  line-height: 1.45;
}

.form-status-note {
  color: rgba(209, 250, 229, 0.86) !important;
  display: block;
  font-size: 0.86rem !important;
  margin-top: 0.25rem;
}

.form-status-error {
  background: rgba(127, 29, 29, 0.26);
  border-color: rgba(248, 113, 113, 0.55);
  box-shadow: 0 0 28px rgba(248, 113, 113, 0.12);
}

.form-status-success {
  background: rgba(20, 83, 45, 0.3);
  border-color: rgba(34, 197, 94, 0.72);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.16),
    0 0 28px rgba(34, 197, 94, 0.18);
}

.form-control,
.form-check-input {
  border-color: #cbd5e1;
  border-radius: 8px;
}

.form-control {
  min-height: 48px;
}

.contact-section .form-control {
  background: #0d2b4c;
  border-color: rgba(58, 134, 255, 0.28);
  color: var(--white);
  caret-color: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-section .form-control:focus,
.contact-section .form-control:active {
  background: #0d2b4c;
  color: var(--white);
}

.contact-section .form-control:hover {
  border-color: rgba(255, 159, 28, 0.62);
  box-shadow:
    0 0 0 1px rgba(255, 159, 28, 0.08),
    0 0 30px rgba(255, 159, 28, 0.22);
}

.contact-section .form-control::placeholder {
  color: rgba(180, 205, 238, 0.46);
}

.contact-section .form-control:-webkit-autofill,
.contact-section .form-control:-webkit-autofill:hover,
.contact-section .form-control:-webkit-autofill:focus,
.contact-section .form-control:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #0d2b4c inset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-color: #0d2b4c !important;
  box-shadow: 0 0 0 1000px #0d2b4c inset !important;
  caret-color: #ffffff;
  color: #ffffff !important;
  transition: background-color 9999s ease-out, color 0s;
}

.contact-section .was-validated .form-control:invalid,
.contact-section .form-control.is-invalid,
.contact-section .was-validated .form-check-input:invalid,
.contact-section .form-check-input.is-invalid {
  border-color: rgba(248, 113, 113, 0.86);
  box-shadow:
    0 0 0 1px rgba(248, 113, 113, 0.16),
    0 0 28px rgba(248, 113, 113, 0.18);
  color: var(--white);
}

.contact-section .was-validated .form-control:invalid:focus,
.contact-section .form-control.is-invalid:focus {
  border-color: rgba(248, 113, 113, 0.95);
  box-shadow:
    0 0 0 0.2rem rgba(248, 113, 113, 0.14),
    0 0 30px rgba(248, 113, 113, 0.2);
}

.contact-section .was-validated .form-control:valid,
.contact-section .form-control.is-valid {
  background-color: #0d2b4c !important;
  background-image: none;
  border-color: rgba(34, 197, 94, 0.72);
  color: var(--white);
  box-shadow:
    0 0 0 1000px #0d2b4c inset,
    0 0 0 1px rgba(34, 197, 94, 0.14),
    0 0 24px rgba(34, 197, 94, 0.16);
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.contact-section .was-validated .form-control:valid:focus,
.contact-section .form-control.is-valid:focus {
  background-color: #0d2b4c !important;
  background-image: none;
  border-color: rgba(34, 197, 94, 0.82);
  color: var(--white);
  box-shadow:
    0 0 0 1000px #0d2b4c inset,
    0 0 0 0.2rem rgba(34, 197, 94, 0.12),
    0 0 28px rgba(34, 197, 94, 0.18);
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.contact-section .form-check-label,
.contact-section .field-meta {
  color: rgba(255, 255, 255, 0.66);
}

.contact-section .form-check-input {
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-section .form-check-input:hover {
  border-color: rgba(255, 159, 28, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 159, 28, 0.1),
    0 0 22px rgba(255, 159, 28, 0.2);
}

.contact-section .form-check-input:checked {
  background-color: var(--orange);
  border-color: var(--orange);
}

.privacy-link-row {
  display: block;
  margin-top: 0.2rem;
}

.privacy-link-row a {
  color: var(--blue);
  text-decoration: none;
}

.privacy-link-row a:hover,
.privacy-link-row a:focus {
  color: var(--orange);
}

.form-control:focus,
.form-check-input:focus {
  border-color: var(--blue);
  box-shadow:
    0 0 0 0.2rem rgba(58, 134, 255, 0.15),
    0 0 24px rgba(255, 159, 28, 0.14);
}

.form-check-input:checked {
  background-color: var(--blue-2);
  border-color: var(--blue-2);
}

textarea.form-control {
  min-height: 150px;
}

.contact-section textarea.form-control {
  min-height: 156px;
}

.contact-section input.form-control,
.contact-section textarea.form-control,
.contact-section select.form-control,
.contact-section input.form-control:focus,
.contact-section textarea.form-control:focus,
.contact-section select.form-control:focus,
.contact-section input.form-control:hover,
.contact-section textarea.form-control:hover,
.contact-section select.form-control:hover,
.contact-section input.form-control:active,
.contact-section textarea.form-control:active,
.contact-section select.form-control:active,
.contact-section input.form-control.is-valid,
.contact-section textarea.form-control.is-valid,
.contact-section select.form-control.is-valid,
.contact-section input.form-control.is-invalid,
.contact-section textarea.form-control.is-invalid,
.contact-section select.form-control.is-invalid {
  background-color: #0d2b4c !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
}

.contact-section input.form-control:-webkit-autofill,
.contact-section textarea.form-control:-webkit-autofill,
.contact-section select.form-control:-webkit-autofill,
.contact-section input.form-control:-webkit-autofill:hover,
.contact-section textarea.form-control:-webkit-autofill:hover,
.contact-section select.form-control:-webkit-autofill:hover,
.contact-section input.form-control:-webkit-autofill:focus,
.contact-section textarea.form-control:-webkit-autofill:focus,
.contact-section select.form-control:-webkit-autofill:focus,
.contact-section input.form-control:-webkit-autofill:active,
.contact-section textarea.form-control:-webkit-autofill:active,
.contact-section select.form-control:-webkit-autofill:active {
  background-color: #0d2b4c !important;
  background-image: none !important;
  -webkit-box-shadow: 0 0 0 1000px #0d2b4c inset !important;
  box-shadow: 0 0 0 1000px #0d2b4c inset !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  transition: background-color 9999s ease-out, color 0s, -webkit-text-fill-color 0s !important;
}

.field-meta {
  color: var(--muted);
  display: flex;
  font-size: 0.82rem;
  justify-content: space-between;
  margin-top: 0.35rem;
}

.spam-field {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.form-note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  margin: 0.8rem 0 0;
  text-align: center;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 26px 0;
}

.site-footer a,
.link-button {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus,
.link-button:hover,
.link-button:focus {
  color: var(--orange);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.link-button {
  background: transparent;
  border: 0;
  padding: 0;
  text-decoration: none;
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(245, 247, 251, 0.96), #fff 34%),
    radial-gradient(circle at 85% 8%, rgba(58, 134, 255, 0.13), transparent 30%);
}

.legal-hero {
  background:
    linear-gradient(135deg, rgba(6, 27, 51, 0.98), rgba(16, 37, 66, 0.95)),
    radial-gradient(circle at 78% 18%, rgba(255, 159, 28, 0.2), transparent 28%);
  color: var(--white);
  padding: 138px 0 58px;
  position: relative;
}

.legal-hero h1 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.16;
  margin: 0;
}

.legal-hero p {
  color: rgba(255, 255, 255, 0.74);
  margin: 1rem 0 0;
  max-width: 740px;
}

.section-kicker {
  color: var(--orange);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.legal-section {
  padding: 64px 0 78px;
}

.legal-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow:
    0 18px 48px rgba(6, 27, 51, 0.1),
    0 2px 10px rgba(6, 27, 51, 0.05);
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(24px, 4vw, 48px);
}

.legal-content h2,
.legal-content h3 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.legal-content h2 {
  border-top: 1px solid var(--line);
  font-size: clamp(1.16rem, 1.6vw, 1.38rem);
  margin: 2.2rem 0 0.85rem;
  padding-top: 1.4rem;
}

.legal-content h2:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.legal-content h3 {
  color: var(--navy-2);
  font-size: 0.98rem;
  margin: 1.25rem 0 0.45rem;
}

.legal-content p {
  color: #35445a;
  margin-bottom: 0.85rem;
  text-align: justify;
}

.legal-content ul {
  color: #35445a;
  margin: 0 0 1rem 1.2rem;
  padding: 0;
  text-align: justify;
}

.legal-content li {
  margin-bottom: 0.45rem;
}

.legal-content a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-content a:visited {
  color: var(--blue);
}

.legal-content a:hover,
.legal-content a:focus,
.legal-content a:active {
  color: var(--orange);
}

.legal-table-wrap {
  margin: 1rem 0 1.35rem;
}

.legal-table {
  border-collapse: collapse;
  color: #35445a;
  font-size: 0.96rem;
  line-height: 1.55;
  width: 100%;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 0.72rem 0.86rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: #eef4fb;
  color: var(--ink);
  font-weight: 800;
}

.legal-table td:first-child {
  color: var(--ink);
  font-weight: 700;
  width: 32%;
}

.error-hero {
  min-height: 360px;
  overflow: hidden;
}

.error-hero::before {
  background-image:
    linear-gradient(rgba(58, 134, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 134, 255, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  position: absolute;
}

.error-hero .container {
  position: relative;
}

.error-content {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  max-width: 820px;
  text-align: center;
}

.error-content:hover {
  border-color: rgba(58, 134, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(58, 134, 255, 0.08),
    0 24px 64px rgba(6, 27, 51, 0.16);
}

.error-content h2 {
  border-top: 0;
  margin-top: 1.3rem;
  padding-top: 0;
}

.error-content p {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
  text-align: center;
}

.error-text-line {
  display: block;
}

.error-mark {
  align-items: center;
  background: linear-gradient(145deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.84));
  border: 1px solid rgba(58, 134, 255, 0.26);
  border-radius: 8px;
  color: var(--blue-2);
  display: inline-flex;
  height: 86px;
  justify-content: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  width: 86px;
}

.error-content:hover .error-mark {
  border-color: rgba(255, 159, 28, 0.62);
  box-shadow:
    0 0 0 1px rgba(255, 159, 28, 0.1),
    0 0 28px rgba(255, 159, 28, 0.18);
  color: var(--orange);
}

.error-mark svg {
  height: 2.5rem;
  stroke-width: 2.1;
  width: 2.5rem;
}

.error-mark img.custom-icon {
  filter: brightness(0) saturate(100%) invert(33%) sepia(99%) saturate(1928%) hue-rotate(209deg) brightness(95%) contrast(91%);
  height: 2.5rem;
  object-fit: contain;
  width: 2.5rem;
}

.error-content:hover .error-mark img.custom-icon {
  filter: brightness(0) saturate(100%) invert(68%) sepia(75%) saturate(1406%) hue-rotate(347deg) brightness(102%) contrast(101%);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.7rem;
}

.error-actions .btn {
  justify-content: center;
  min-height: 46px;
  padding: 0.68rem 1.05rem;
  width: min(100%, 260px);
}

.error-actions .btn-primary {
  --bs-btn-bg: var(--blue-2);
  --bs-btn-border-color: var(--blue-2);
  --bs-btn-color: var(--white);
  --bs-btn-hover-bg: #0f56c4;
  --bs-btn-hover-border-color: #0f56c4;
  --bs-btn-hover-color: var(--white);
}

.error-actions .btn-primary img.local-icon,
.error-actions .btn-primary:hover img.local-icon,
.error-actions .btn-primary:focus img.local-icon {
  filter: brightness(0) invert(1);
}

.error-actions .btn-outline-dark {
  --bs-btn-color: var(--navy);
  --bs-btn-border-color: rgba(16, 37, 66, 0.28);
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: var(--orange);
  --bs-btn-hover-color: var(--navy);
  --bs-btn-active-bg: var(--orange);
  --bs-btn-active-border-color: var(--orange);
  --bs-btn-active-color: var(--navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.error-actions .btn-outline-dark:hover,
.error-actions .btn-outline-dark:focus {
  box-shadow:
    0 0 0 1px rgba(255, 159, 28, 0.1),
    0 0 28px rgba(255, 159, 28, 0.18);
}

.error-actions .btn-outline-dark:hover img.local-icon,
.error-actions .btn-outline-dark:focus img.local-icon {
  filter: brightness(0) saturate(100%) invert(68%) sepia(75%) saturate(1406%) hue-rotate(347deg) brightness(102%) contrast(101%);
}

.error-actions .error-home-btn,
.error-actions .error-home-btn:visited {
  background: var(--blue-2) !important;
  border-color: var(--blue-2) !important;
  color: var(--white) !important;
  text-decoration: none !important;
}

.error-actions .error-home-btn img.local-icon,
.error-actions .error-home-btn:hover img.local-icon,
.error-actions .error-home-btn:focus img.local-icon {
  filter: brightness(0) invert(1) !important;
}

.error-actions .error-home-btn:hover,
.error-actions .error-home-btn:focus {
  background: #0f56c4 !important;
  border-color: #0f56c4 !important;
  color: var(--white) !important;
}

.error-actions .error-contact-btn,
.error-actions .error-contact-btn:visited {
  background: var(--blue-2) !important;
  border-color: var(--blue-2) !important;
  color: var(--white) !important;
  text-decoration: none !important;
}

.error-actions .error-contact-btn img.local-icon {
  filter: brightness(0) invert(1) !important;
}

.error-actions .error-contact-btn:hover,
.error-actions .error-contact-btn:focus {
  background: #0f56c4 !important;
  border-color: #0f56c4 !important;
  color: var(--white) !important;
  box-shadow: 0 16px 36px rgba(23, 104, 232, 0.32) !important;
}

.error-actions .error-contact-btn:hover img.local-icon,
.error-actions .error-contact-btn:focus img.local-icon {
  filter: brightness(0) invert(1) !important;
}

.cookie-info-panel {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(6, 27, 51, 0.98), rgba(16, 37, 66, 0.95)),
    radial-gradient(circle at 88% 20%, rgba(255, 159, 28, 0.16), transparent 30%);
  border: 1px solid rgba(58, 134, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(6, 27, 51, 0.12);
  color: var(--white);
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr auto;
  margin: 1.4rem 0 2rem;
  padding: 1.35rem;
}

.cookie-info-panel h2 {
  border: 0;
  color: var(--orange);
  font-size: 1.18rem;
  margin: 0 0 0.35rem;
  padding: 0;
}

.cookie-info-panel p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  text-align: left;
}

.cookie-inline-panel {
  background:
    linear-gradient(135deg, rgba(6, 27, 51, 0.98), rgba(13, 43, 76, 0.96)),
    radial-gradient(circle at 92% 8%, rgba(255, 159, 28, 0.14), transparent 32%);
  border: 1px solid rgba(58, 134, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(6, 27, 51, 0.12);
  color: var(--white);
  margin: -0.9rem 0 2rem;
  padding: 1.15rem;
}

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

.cookie-inline-grid {
  display: grid;
  gap: 0.75rem;
}

.cookie-inline-actions {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: 1rem;
}

.cookie-inline-status {
  color: var(--orange);
  flex: 1 1 220px;
  font-size: 0.88rem;
}

.cookie-inline-actions .btn-outline-light {
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: var(--orange);
  --bs-btn-hover-color: var(--orange);
  --bs-btn-active-bg: var(--orange);
  --bs-btn-active-border-color: var(--orange);
  --bs-btn-active-color: var(--navy);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.cookie-inline-actions .btn-outline-light:hover,
.cookie-inline-actions .btn-outline-light:focus {
  box-shadow:
    0 0 0 1px rgba(255, 159, 28, 0.1),
    0 0 22px rgba(255, 159, 28, 0.18);
}

.cookie-inline-actions .btn-outline-light:active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}

.cookie-banner {
  background: transparent;
  border-top: 0;
  bottom: 0;
  box-shadow: none;
  color: var(--white);
  left: 0;
  padding: 8px 0;
  position: fixed;
  right: 0;
  width: 100%;
  z-index: 1100;
}

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

.cookie-shell {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(6, 27, 51, 0.98), rgba(13, 43, 76, 0.96)),
    radial-gradient(circle at 94% 10%, rgba(255, 159, 28, 0.14), transparent 32%);
  border: 1px solid rgba(58, 134, 255, 0.24);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 -18px 54px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
  padding: 0.75rem 0.9rem;
  position: relative;
}

.cookie-banner.is-settings-open .cookie-shell {
  align-items: stretch;
  grid-template-columns: 1fr;
}

.cookie-banner.is-consent-saved .cookie-shell {
  border-color: rgba(255, 159, 28, 0.42);
  box-shadow:
    0 0 0 1px rgba(255, 159, 28, 0.08),
    0 -18px 54px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(255, 159, 28, 0.12);
}

.cookie-shell::before {
  background-image:
    linear-gradient(rgba(58, 134, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 134, 255, 0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
}

.cookie-copy,
.cookie-settings-panel,
.cookie-actions {
  position: relative;
  z-index: 1;
}

.cookie-copy strong {
  color: var(--orange);
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 0.1rem;
}

.cookie-banner p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  line-height: 1.38;
  margin: 0;
  max-width: 1180px;
}

.cookie-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.cookie-links a {
  color: var(--blue);
  font-size: 0.74rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cookie-links a:hover,
.cookie-links a:focus {
  color: var(--orange);
}

.cookie-settings-panel {
  display: grid;
  gap: 0.55rem;
  max-width: 960px;
}

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

.cookie-toggle {
  align-items: center;
  background: rgba(13, 43, 76, 0.72);
  border: 1px solid rgba(58, 134, 255, 0.24);
  border-radius: 8px;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr auto;
  margin: 0;
  padding: 0.75rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cookie-toggle:hover {
  border-color: rgba(255, 159, 28, 0.58);
  box-shadow:
    0 0 0 1px rgba(255, 159, 28, 0.1),
    0 0 22px rgba(255, 159, 28, 0.16);
  transform: none;
}

.cookie-toggle:not(.is-locked):has(input:checked) {
  background: rgba(255, 159, 28, 0.14);
  border-color: rgba(255, 159, 28, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 159, 28, 0.12),
    0 0 26px rgba(255, 159, 28, 0.18);
}

.cookie-toggle strong,
.cookie-toggle small {
  display: block;
}

.cookie-toggle strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.cookie-toggle small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.35;
}

.cookie-toggle input {
  accent-color: var(--orange);
  height: 1.1rem;
  width: 1.1rem;
}

.cookie-toggle.is-locked {
  opacity: 0.74;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  max-width: none;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  font-size: 0.74rem;
  line-height: 1.1;
  min-height: 26px;
  padding: 0.26rem 0.58rem;
}

.cookie-actions .btn-outline-light {
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-border-color: var(--orange);
  --bs-btn-hover-color: var(--orange);
  --bs-btn-active-bg: var(--orange);
  --bs-btn-active-border-color: var(--orange);
  --bs-btn-active-color: var(--navy);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.cookie-actions .btn-outline-light:hover,
.cookie-actions .btn-outline-light:focus {
  box-shadow:
    0 0 0 1px rgba(255, 159, 28, 0.1),
    0 0 20px rgba(255, 159, 28, 0.18);
}

.cookie-actions .btn-outline-light:active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
}

.cookie-banner .cookie-settings-panel {
  background:
    linear-gradient(135deg, rgba(6, 27, 51, 0.98), rgba(13, 43, 76, 0.96)),
    radial-gradient(circle at 92% 8%, rgba(255, 159, 28, 0.14), transparent 32%);
  border: 1px solid rgba(58, 134, 255, 0.24);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 -18px 54px rgba(0, 0, 0, 0.22);
  gap: 0.42rem;
  padding: 0.75rem;
}

.cookie-banner .cookie-toggle {
  gap: 0.65rem;
  padding: 0.52rem 0.68rem;
}

.cookie-banner .cookie-toggle strong {
  font-size: 0.76rem;
}

.cookie-banner .cookie-toggle small {
  font-size: 0.69rem;
}

.cookie-banner .cookie-toggle input {
  height: 0.95rem;
  width: 0.95rem;
}

.cookie-banner:not(.is-settings-open) [data-cookie-save] {
  display: none;
}

.cookie-banner.is-settings-open [data-cookie-settings] {
  display: none;
}

@media (min-width: 992px) {
  .cookie-shell {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cookie-banner.is-settings-open .cookie-shell {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cookie-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .cookie-actions {
    align-self: center;
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    min-width: 360px;
  }

  .cookie-settings-panel {
    bottom: calc(100% + 0.7rem);
    max-width: 620px;
    position: absolute;
    right: 0;
    width: min(620px, 100%);
  }
}

@media (min-width: 1600px) {
  .hero-section {
    background: #01182F;
    min-height: 700px;
    padding: 102px 0 38px;
  }

  .hero-section .container.position-relative {
    min-height: calc(700px - 140px);
  }

  .hero-bg {
    background-position:
      center,
      center,
      right max(12px, calc((100vw - 1440px) / 2)) center;
    background-size:
      100% 100%,
      auto,
      auto calc(100% - 76px);
  }

  .hero-section h1 {
    max-width: 820px;
  }

  .hero-section .lead {
    max-width: 650px;
  }

  .section-block,
  .section-band,
  .contact-section {
    padding: 94px 0;
  }

  .why-section {
    padding: 96px 0;
  }

  .service-card,
  .why-card {
    padding: 34px 28px;
  }

  .audience-item {
    padding: 32px;
  }

  .contact-card {
    min-height: 136px;
    padding: 1.55rem 1.35rem;
  }
}

@media (max-width: 1199.98px) {
  .hero-section {
    background: #01182F;
    min-height: 660px;
  }

  .hero-section .container.position-relative {
    min-height: calc(660px - 140px);
  }

  .hero-bg {
    background-position:
      center,
      center,
      right 12px center;
    background-size:
      100% 100%,
      auto,
      auto calc(100% - 76px);
  }

  .section-heading {
    max-width: 860px;
  }

  .service-card,
  .why-card,
  .audience-item {
    padding: 28px 22px;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(6, 27, 51, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
  }

  .hero-section {
    background: #01182F;
    min-height: 660px;
    padding: 102px 0 38px;
  }

  .hero-section .container.position-relative {
    min-height: calc(660px - 140px);
  }

  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(1, 24, 47, 0) 0%, rgba(1, 24, 47, 0) 68%, rgba(1, 24, 47, 0.94) 100%),
      linear-gradient(180deg, rgba(1, 24, 47, 0.98) 0%, rgba(1, 24, 47, 0.9) 45%, rgba(1, 24, 47, 0.62) 100%),
      image-set(
        url("assets/hero-amsys-mobile.avif") type("image/avif"),
        url("assets/hero-amsys-mobile.webp") type("image/webp"),
        url("assets/hero-amsys-mobile.png") type("image/png")
      );
    background-position:
      center,
      center,
      center center;
    background-size:
      100% 100%,
      auto,
      auto calc(100% - 76px);
  }

  .cookie-shell {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: flex-start;
    max-width: none;
  }

  .contact-card {
    align-items: center;
    display: flex;
    min-height: 96px;
  }

  .contact-card > i,
  .contact-card > .contact-card-icon {
    border-right: 0;
    height: auto;
    padding-right: 0;
    width: auto;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand small {
    max-width: 180px;
  }

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

  .nowrap-desktop {
    white-space: normal;
  }

  .line-keep {
    white-space: normal;
  }

  .hero-trust {
    display: grid;
    gap: 0.7rem;
    justify-content: start;
    width: auto;
  }

  .section-block,
  .section-band,
  .contact-section {
    padding: 58px 0;
  }

  .why-section {
    padding: 62px 0;
  }

  .contact-form {
    padding: 0;
  }

  .contact-form .row {
    --bs-gutter-x: 0;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .footer-links a,
  .cookie-links a,
  .link-button {
    align-items: center;
    display: inline-flex;
    min-height: 44px;
  }

  .cookie-banner .cookie-links {
    gap: 0.25rem 0.75rem;
    margin-top: 0.25rem;
  }

  .cookie-banner .cookie-links a {
    line-height: 1.25;
    min-height: 24px;
  }

  .legal-hero {
    padding: 118px 0 46px;
  }

  .legal-section {
    padding: 42px 0 58px;
  }

  .cookie-info-panel {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .cookie-inline-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.55rem;
  }

  .cookie-inline-status {
    flex: 0 0 auto;
  }

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

@media (max-width: 575.98px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .navbar {
    min-height: 58px;
  }

  .brand-logo {
    height: 32px;
    width: 32px;
  }

  .navbar-brand strong {
    font-size: 1.05rem;
  }

  .hero-section {
    background: #01182F;
    min-height: 652px;
    padding: 96px 0 38px;
  }

  .hero-section .container.position-relative {
    min-height: calc(652px - 134px);
  }

  .hero-section h1 {
    font-size: 2.18rem;
  }

  .hero-section .lead {
    font-size: 0.98rem;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .service-card,
  .why-card,
  .audience-item {
    padding: 24px 20px;
  }

  .contact-heading {
    margin-bottom: 1.8rem;
  }

  .contact-card {
    padding: 1.2rem;
  }

  .site-footer {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
