:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-soft: #fbfaf7;

  --color-text: #131722;
  --color-muted: #667085;
  --color-heading: #0c1220;

  --color-border: rgba(24, 34, 52, 0.13);
  --color-border-strong: rgba(24, 34, 52, 0.22);

  --color-primary: #173f73;
  --color-primary-dark: #0d2b52;
  --color-primary-soft: rgba(23, 63, 115, 0.09);

  --color-gold: #d7a84b;
  --color-gold-dark: #aa7a26;
  --color-red: #d42121;
  --color-black: #111111;

  --header-height: 96px;
  --container: 1380px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-soft: 0 12px 34px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 22px 55px rgba(15, 23, 42, 0.13);
  --shadow-modal: 0 28px 90px rgba(6, 15, 31, 0.28);

  --transition: 0.22s ease;
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--color-bg);
}

body {
  min-width: 320px;
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at 0 0, rgb(255, 255, 255), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 15px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-soft);
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Advertorial disclosure */

.advertorial-bar {
  position: relative;
  z-index: 120;
  color: #2b2111;
  background:
    linear-gradient(90deg, rgba(215, 168, 75, 0.18), rgba(255, 255, 255, 0.92), rgba(215, 168, 75, 0.18)),
    #fffaf0;
  border-bottom: 1px solid rgba(170, 122, 38, 0.28);
}

.advertorial-bar::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-black), var(--color-red), var(--color-gold));
}

.advertorial-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  font-size: 14px;
  text-align: center;
}

.advertorial-bar strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: #161616;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.advertorial-bar span {
  color: #514635;
  font-weight: 600;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(23, 63, 115, 0.12);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.055);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 168, 75, 0.52), transparent);
  pointer-events: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 34px;
}

/* Brand */

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand__mark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 3px;
  width: 76px;
  height: 50px;
  padding: 0 0 8px 0;
}

.brand__mark::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 41px;
  height: 25px;
  border-left: 7px solid var(--color-heading);
  border-bottom: 7px solid var(--color-heading);
  transform: rotate(-36deg);
  border-radius: 0 0 0 7px;
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 76px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(12, 18, 32, 0.25), transparent);
}

.brand__mark span {
  display: block;
  width: 19px;
  height: 7px;
  border-radius: 1px;
}

.brand__mark span:nth-child(1) {
  background: var(--color-black);
}

.brand__mark span:nth-child(2) {
  background: var(--color-red);
}

.brand__mark span:nth-child(3) {
  background: var(--color-gold);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  display: block;
  color: var(--color-heading);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.brand__text small {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: #4e5665;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand__text small::after {
  content: "";
  display: inline-block;
  width: 54px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-black) 0 33%, var(--color-red) 33% 66%, var(--color-gold) 66% 100%);
}

/* Navigation */

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.header-nav__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 11px 22px;
  overflow: hidden;
  border: 1px solid rgba(23, 63, 115, 0.38);
  border-radius: 999px;
  color: var(--color-primary);
  background:
    linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(15, 23, 42, 0.045);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.header-nav__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(215, 168, 75, 0.2), transparent 52%);
  opacity: 0;
  transition: opacity var(--transition);
}

.header-nav__btn:hover,
.header-nav__btn:focus-visible {
  color: #ffffff;
  border-color: var(--color-primary-dark);
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: 0 16px 30px rgba(23, 63, 115, 0.2);
  transform: translateY(-2px);
}

.header-nav__btn:hover::before,
.header-nav__btn:focus-visible::before {
  opacity: 1;
}

.header-nav__btn--accent {
  color: #251a08;
  border-color: rgba(170, 122, 38, 0.38);
  background: linear-gradient(180deg, #f7d681, var(--color-gold));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 14px 28px rgba(170, 122, 38, 0.22);
}

.header-nav__btn--accent:hover,
.header-nav__btn--accent:focus-visible {
  color: #ffffff;
  border-color: var(--color-primary-dark);
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
}

/* Mobile toggle */

.nav-toggle {
  display: none;
  width: 50px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(23, 63, 115, 0.38);
  border-radius: 14px;
  color: var(--color-primary);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Footer */

.site-footer {
  position: relative;
  overflow: hidden;
  color: #d7dfec;
  background:
    radial-gradient(circle at 12% 0, rgba(215, 168, 75, 0.16), transparent 32%),
    linear-gradient(135deg, #07111f 0%, #0d1a2e 54%, #07111f 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.35;
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 52px;
  padding: 50px 0;
}

.site-footer__brand p {
  max-width: 760px;
  margin: 20px 0 0;
  color: #b8c3d5;
  font-size: 15px;
}

.footer-brand .brand__text strong,
.footer-brand .brand__text small {
  color: #ffffff;
}

.footer-brand .brand__text small::after {
  opacity: 0.95;
}

.footer-brand .brand__mark::before {
  border-color: #ffffff;
}

.footer-brand .brand__mark::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.site-footer__links {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 240px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
}

.site-footer__links a {
  position: relative;
  color: #d7dfec;
  font-size: 15px;
  font-weight: 650;
  transition: color var(--transition), transform var(--transition);
}

.site-footer__links a::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--color-gold);
  opacity: 0.85;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: #ffffff;
  transform: translateX(3px);
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.16);
}

.site-footer__bottom p {
  margin: 0;
  padding: 18px 0;
  color: #9faac0;
  font-size: 14px;
}

/* Modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0, rgba(215, 168, 75, 0.14), transparent 32%),
    rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 650px);
  max-height: min(88vh, 780px);
  overflow: auto;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), #ffffff);
  box-shadow: var(--shadow-modal);
}

.modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--color-black), var(--color-red), var(--color-gold));
}

.modal__dialog--form {
  width: min(100%, 760px);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(23, 63, 115, 0.12);
  border-radius: 50%;
  color: #24324a;
  background: #f4f7fb;
  font-size: 26px;
  line-height: 1;
  transition:
    color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.modal__close:hover,
.modal__close:focus-visible {
  color: #ffffff;
  background: var(--color-primary);
  transform: rotate(90deg);
}

.modal h2 {
  margin: 0 48px 15px 0;
  color: var(--color-heading);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.modal p {
  margin: 0 0 14px;
  color: #4e5b6d;
}

/* Form */

.lead-form {
  margin-top: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
}

.field span {
  color: #1d2939;
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 11px 14px;
  border: 1px solid rgba(24, 34, 52, 0.18);
  border-radius: 14px;
  color: var(--color-text);
  background:
    linear-gradient(180deg, #ffffff, #fbfcfe);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.field input:focus,
.field select:focus {
  border-color: rgba(23, 63, 115, 0.72);
  background: #ffffff;
  box-shadow:
    0 0 0 4px var(--color-primary-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 8px 0 20px;
  padding: 14px;
  border: 1px solid rgba(23, 63, 115, 0.11);
  border-radius: 14px;
  color: #4e5b6d;
  background: rgba(23, 63, 115, 0.035);
  font-size: 14px;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--color-primary);
}

.form-submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  color: #241704;
  background: linear-gradient(180deg, #f8d987, var(--color-gold));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 18px 32px rgba(170, 122, 38, 0.24);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  transition:
    color var(--transition),
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.form-submit:hover,
.form-submit:focus-visible {
  color: #ffffff;
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
  box-shadow: 0 20px 36px rgba(23, 63, 115, 0.24);
  transform: translateY(-2px);
}

.form-submit.is-loading {
  pointer-events: none;
  opacity: 0.78;
}

.form-status {
  min-height: 24px;
  margin: 15px 0 0;
  font-weight: 800;
}

.form-status.is-success {
  color: #087443;
}

.form-status.is-error {
  color: #b42318;
}

/* Responsive */

@media (max-width: 1180px) {
  :root {
    --header-height: 88px;
  }

  .site-header__inner {
    gap: 20px;
  }

  .brand__text strong {
    font-size: 24px;
  }

  .header-nav {
    gap: 10px;
  }

  .header-nav__btn {
    min-height: 48px;
    padding: 10px 17px;
    font-size: 15px;
  }
}

@media (max-width: 980px) {
  .site-header__inner {
    position: relative;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid rgba(23, 63, 115, 0.13);
    border-radius: 0 0 22px 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
  }

  .header-nav.is-open {
    display: flex;
  }

  .header-nav__btn {
    width: 100%;
    justify-content: center;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer__links {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 78px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .advertorial-bar__inner {
    flex-direction: column;
    gap: 5px;
    min-height: auto;
    padding: 9px 0 11px;
    font-size: 13px;
    line-height: 1.35;
  }

  .site-header__inner {
    gap: 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand__mark {
    width: 58px;
    height: 40px;
    padding-bottom: 6px;
  }

  .brand__mark::before {
    width: 31px;
    height: 19px;
    border-left-width: 5px;
    border-bottom-width: 5px;
  }

  .brand__mark span {
    width: 14px;
    height: 6px;
  }

  .brand__text strong {
    font-size: 19px;
    letter-spacing: -0.045em;
  }

  .brand__text small {
    margin-top: 5px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .brand__text small::after {
    width: 38px;
    height: 3px;
  }

  .page-main {
    min-height: 50vh;
  }

  .modal {
    padding: 14px;
  }

  .modal__dialog {
    padding: 32px 20px 24px;
    border-radius: 20px;
  }

  .modal h2 {
    margin-right: 44px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer__inner {
    padding: 38px 0;
  }

  .site-footer__links {
    padding: 18px;
  }
}

@media (max-width: 440px) {
  .brand__text strong {
    font-size: 17px;
  }

  .brand__text small {
    font-size: 10px;
  }

  .brand__mark {
    width: 50px;
  }

  .brand__mark span {
    width: 12px;
  }

  .nav-toggle {
    width: 44px;
    height: 42px;
    border-radius: 12px;
  }

  .header-nav {
    left: 12px;
    right: 12px;
  }

  .header-nav__btn {
    min-height: 46px;
    font-size: 14px;
  }
}
/* ============================== BRAND LOGO IMAGE + TEXT Header + Footer ============================== */ .brand-logo { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; min-width: 0; color: inherit; text-decoration: none; } .brand-logo__image { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 54px; border-radius: 16px; overflow: hidden; background: transparent; } .brand-logo__image img { display: block; width: 100%; height: 100%; object-fit: contain; } .brand-logo__text { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1; } .brand-logo__text strong { display: block; color: var(--color-heading, #0c1220); font-size: 21px; line-height: 1.05; font-weight: 900; letter-spacing: -0.035em; white-space: nowrap; } .brand-logo__text small { display: block; margin-top: 4px; color: var(--color-gold-dark, #b37a19); font-size: 10px; line-height: 1; font-weight: 900; letter-spacing: 0.22em; } /* Footer version */ .brand-logo--footer .brand-logo__text strong { color: #ffffff; } .brand-logo--footer .brand-logo__text small { color: #f8d987; } /* Hover */ .brand-logo:hover .brand-logo__image, .brand-logo:focus-visible .brand-logo__image { transform: translateY(-1px); } .brand-logo__image { transition: transform var(--transition, 0.2s ease); } /* Mobile */ @media (max-width: 640px) { .brand-logo { gap: 10px; } .brand-logo__image { width: 46px; height: 46px; flex-basis: 46px; border-radius: 13px; } .brand-logo__text strong { font-size: 18px; } .brand-logo__text small { font-size: 9px; letter-spacing: 0.18em; } } @media (max-width: 380px) { .brand-logo__text strong { font-size: 16px; } .brand-logo__image { width: 42px; height: 42px; flex-basis: 42px; } }