:root {
  --bg: #081525;
  --bg-soft: #0c1c32;
  --navy: #10243f;
  --navy-deep: #0a1a2e;
  --gold: #c9a45c;
  --gold-bright: #e0c27a;
  --gold-dim: rgba(201, 164, 92, 0.38);
  --text: #ffffff;
  --muted: #b8c3d1;
  --cream: #f4f0e6;
  --cream-2: #ebe6d8;
  --ink: #102033;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --container: 1180px;
  --header-h: 104px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 85% 8%, rgba(201, 164, 92, 0.1), transparent 55%),
    radial-gradient(900px 480px at 8% 18%, rgba(30, 70, 120, 0.28), transparent 50%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3 {
  margin: 0;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 21, 37, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 164, 92, 0.12);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__abbr {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

.brand__full {
  max-width: 250px;
  font-size: 9.5px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  border: 1px solid var(--gold-dim);
  border-radius: 14px;
  background: rgba(16, 36, 63, 0.65);
}

.header-contacts__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
}

.header-contacts__icon svg {
  width: 28px;
  height: 28px;
}

.header-contacts__label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 2px;
}

.header-contacts__lines {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 14px;
  font-weight: 600;
}

.header-contacts__lines a:hover {
  color: var(--gold-bright);
}

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

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.hero__title {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  background: linear-gradient(92deg, #ffffff 0%, #ffffff 52%, #e4c98a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: 22px;
  max-width: 540px;
  font-size: 16px;
  color: var(--muted);
}

.note {
  margin-top: 28px;
  max-width: 560px;
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  background: rgba(12, 28, 50, 0.7);
}

.info-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(16, 36, 63, 0.72);
  color: var(--gold);
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.info-btn:hover,
.info-btn:focus-visible {
  background: var(--gold);
  color: var(--bg);
  outline: none;
}

.info-btn--note {
  width: 28px;
  height: 28px;
  font-size: 15px;
  background: transparent;
}

.note p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #d5dde6;
  text-align: left;
}

.info-modal {
  width: min(720px, calc(100% - 32px));
  max-height: min(82vh, 860px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--gold-dim);
  border-radius: 20px;
  background: transparent;
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.info-modal::backdrop {
  background: rgba(6, 12, 22, 0.72);
}

.info-modal__panel {
  position: relative;
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
}

.info-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 32, 51, 0.16);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.info-modal__close svg {
  width: 16px;
  height: 16px;
}

.info-modal__close:hover,
.info-modal__close:focus-visible {
  background: var(--navy-deep);
  color: #fff;
  outline: none;
}

.info-modal__body {
  max-height: min(82vh, 860px);
  overflow: auto;
  padding: 32px 36px 36px;
}

.info-modal__body h2 {
  margin: 0 80px 16px 0;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.info-modal__body h3 {
  margin: 22px 0 10px;
  font-size: 17px;
  line-height: 1.35;
}

.info-modal__body p,
.info-modal__body li {
  font-size: 14.5px;
  line-height: 1.6;
  color: #314152;
}

.info-modal__body p + p {
  margin-top: 10px;
}

.info-modal__body ul {
  margin: 10px 0 14px;
  padding-left: 20px;
}

.info-modal__body li + li {
  margin-top: 6px;
}

.info-modal__body a {
  color: #6e5420;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-modal__contacts {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(16, 32, 51, 0.12);
}

.info-modal__contacts p {
  color: var(--ink);
}

.info-modal__contacts p + p {
  margin-top: 4px;
}

.hero__visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.hero__visual img {
  width: 108%;
  max-width: none;
  margin-left: auto;
  filter: saturate(1.05) contrast(1.04);
  mask-image: radial-gradient(ellipse 82% 84% at 58% 46%, #000 48%, transparent 82%);
}

.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin-bottom: 48px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  text-align: center;
}

.section-title span {
  grid-column: 2;
}

.section-title::before,
.section-title::after {
  content: "";
  height: 1px;
}

.section-title::before {
  grid-column: 1;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-title::after {
  grid-column: 3;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.services {
  padding: 40px 0 20px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 42px 28px;
}

.service {
  min-width: 0;
}

.service__icon {
  display: inline-flex;
  color: var(--gold);
  margin-bottom: 12px;
}

.service__icon svg {
  width: 44px;
  height: 44px;
}

.service h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-bright);
}

.service p {
  font-size: 14px;
  color: var(--muted);
  max-width: 240px;
}

.cta-wrap {
  padding: 56px 0 20px;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 8px 20px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 28px;
  overflow: hidden;
  min-height: 320px;
}

.cta__content {
  padding: 52px 20px 52px 48px;
}

.cta__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.cta__seal {
  display: inline-flex;
  color: #c49a43;
  flex-shrink: 0;
}

.cta__seal svg {
  width: 52px;
  height: 52px;
}

.cta h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.cta p {
  color: #4d5b6c;
  font-size: 15px;
  max-width: 440px;
  line-height: 1.55;
  margin-bottom: 26px;
}

.cta__visual {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 32px 28px 0;
  background: var(--cream);
}

.cta__visual img {
  width: min(100%, 580px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--navy-deep);
  color: #fff;
  border: 1px solid var(--gold);
}

.btn--primary:hover {
  background: #132846;
}

.btn--ghost {
  border: 1px solid var(--gold-dim);
  color: #fff;
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(201, 164, 92, 0.08);
}

.solutions {
  padding: 56px 0 24px;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
}

.solution {
  text-align: left;
}

.solution__icon {
  display: inline-flex;
  color: var(--gold);
  margin-bottom: 14px;
}

.solution__icon svg {
  width: 52px;
  height: 52px;
}

.solution h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.solution p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 340px;
}

.contacts-wrap {
  padding: 40px 0 32px;
}

.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  background: var(--cream);
  color: var(--ink);
  border-radius: 28px;
  overflow: hidden;
}

.contacts__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  min-height: 76px;
}

.contacts__item + .contacts__item {
  border-left: 1px solid rgba(16, 32, 51, 0.12);
}

.contacts__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #b8903d;
  flex-shrink: 0;
}

.contacts__icon svg {
  width: 22px;
  height: 22px;
}

.contacts__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contacts__label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: #3d4c5c;
}

.contacts__value {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.contacts a:hover {
  color: #8a6a28;
}

.contacts__item--text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid rgba(201, 164, 92, 0.12);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr auto;
  gap: 24px;
  align-items: center;
}

.footer__legal {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.footer__legal p + p {
  margin-top: 4px;
}

.brand--footer .brand__mark {
  width: 64px;
  height: 64px;
}

@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

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

  .cta__content {
    padding: 36px 32px 8px;
  }

  .cta__visual {
    justify-content: center;
    padding: 8px 20px 28px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

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

@media (max-width: 860px) {
  .header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .header-contacts,
  .header__actions {
    width: 100%;
  }

  .header__actions .header-contacts {
    flex: 1;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero__visual {
    min-height: 0;
  }

  .hero__visual img {
    width: 100%;
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 55%, transparent 88%);
  }

  .section-title {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-title span {
    grid-column: 1;
  }

  .section-title::before,
  .section-title::after {
    grid-column: 1;
    width: min(160px, 40%);
    justify-self: center;
  }

  .section-title::after {
    display: none;
  }

  .solutions__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .contacts__item + .contacts__item {
    border-left: 0;
    border-top: 1px solid rgba(16, 32, 51, 0.12);
  }

  .contacts__item,
  .contacts__item--text {
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    padding: 16px 22px;
  }

  .cta__head {
    align-items: flex-start;
  }
}

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

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

  .header-contacts__lines {
    flex-direction: column;
    gap: 2px;
  }

  .brand__abbr {
    font-size: 22px;
  }

  .cta__content {
    padding: 28px 22px 8px;
  }

  .cta__head {
    gap: 12px;
  }

  .cta__seal svg {
    width: 42px;
    height: 42px;
  }

  .info-modal__body {
    padding: 24px 20px 24px;
  }

  .info-modal__body h2 {
    font-size: 20px;
    margin-right: 44px;
  }
}

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

  .btn,
  .info-btn {
    transition: none;
  }
}
