@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: radial-gradient(circle, rgb(26, 28, 31) 5%, rgb(71, 80, 97) 95%);
  --violet: #8C1ED3;
  --orange: #F5A21B;
  --black: #000;
  --bg-glow: #191919;
  --text: #f5f5f2;
  --muted: #777d88;
  --line: rgba(255,255,255,.16);
  --panel: #1b1c1d;
  --field: #242526;
  --field-border: rgba(255,255,255,.13);
  --accent: #f5a21b;
  --button-bg: #f4f7f1;
  --button-text: #111111;
  --shadow: 0 24px 80px rgba(0,0,0,.4);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg:  radial-gradient(circle, rgb(226, 229, 235) 5%, rgb(211, 215, 222) 95%);
  --violet: #8C1ED3;
  --orange: #F5A21B;
  --black: #000;
  --bg-glow: #e9e9e4;
  --text: #151617;
  --muted: #747982;
  --line: rgba(0,0,0,.14);
  --panel: #ffffff;
  --field: #f4f4f1;
  --field-border: rgba(0,0,0,.14);
  --accent: #e99410;
  --button-bg: #171819;
  --button-text: #ffffff;
  --shadow: 0 24px 80px rgba(0,0,0,.17);
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  transition: background .25s ease, color .25s ease;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
}
.site-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, var(--bg-glow) 0, var(--bg) 64%);
}
.header {
  width: 100%;
  min-height: 64px;
  padding: 15px 1.25vw;
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 5;
}
.logo svg {
    height: 38px;
    width: auto;
    display: block;
    margin-top: 2px;
}
.logo-text {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    margin-top: 1px;
}
.logo-text-s {
    color: var(--orange);
    transition: color 0.3s ease;
}
/* Основные цвета SVG-логотипа */
.logo-dark-primary {
    fill: #202121;
    transition: fill 0.3s ease;
}

.logo-dark-secondary {
    fill: #373b3b;
    transition: fill 0.3s ease;
}

/* Светлый логотип в тёмной теме */
:root[data-theme="dark"] .logo-dark-primary,
:root[data-theme="dark"] .logo-dark-secondary {
    fill: #ffffff;
}


.brand { display: inline-flex; align-items: center; gap: 6px; min-width: 190px; }
.brand-mark { width: 174px; object-fit: contain; }
.brand-word { font-size: 21px; font-weight: 800; letter-spacing: -.9px; line-height: 1; }
.brand-word span { color: var(--accent); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 0; }
.nav-link {
  border: 0; background: transparent; cursor: pointer;
  color: var(--muted); font-size: 15px; padding: 3px 10px;
  border-right: 1px solid var(--line); transition: color .2s ease;
}
.nav-link:last-child { border-right: 0; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.header-tools { display: flex; align-items: center; gap: 36px; margin-left: 18px; }
.theme-switch { display: flex; align-items: center; gap: 8px; padding: 4px; border-radius: 999px; }
.theme-button {
  width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid transparent;
  border-radius: 50%; background: transparent; cursor: pointer; opacity: .58; transition: .2s ease;
}
.theme-button img { width: 22px; height: 22px; object-fit: contain; }
:root:not([data-theme="light"]) .theme-button img { filter: brightness(0) invert(1); }
:root[data-theme="light"] .theme-button img { filter: brightness(0); }
.theme-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-button.selected { opacity: 1; border-color: var(--line); background: var(--orange); box-shadow: 0 0 0 2px color-mix(in srgb, var(--black) 14%, transparent); }
/* Fallback SVG stays visible if a supplied icon file is missing. */
.theme-button img:not([style*="display: none"]) + .fallback-icon { display: none; }
.theme-button .fallback-icon { color: var(--text); }
:root:not([data-theme="light"]) .theme-button .fallback-icon { color: #f5f5f2; }
.theme-button:not(.selected) { opacity: .88; }
.theme-button.selected { opacity: 1; }
.language-switch { display: flex; gap: 5px; align-items: center; color: var(--muted); font-size: 15px; white-space: nowrap; }
.language-switch button { background: none; border: 0; padding: 5px 1px; cursor: pointer; color: var(--muted); }
.language-switch button.selected { color: var(--text); font-weight: 700; }
.mobile-menu-toggle { display: none; }
.hero { flex: 1; display: grid; place-items: center; position: relative; padding: 60px 20px 80px; }
.hero-content { text-align: center; transform: translateY(-8px); width: min(100%, 780px); }
.hero-logo { display: flex; justify-content: center; align-items: baseline; font-size: clamp(100px, 12.2vw, 204px); font-weight: 800; letter-spacing: -.085em; line-height: .9; color: #E1E4EA; }
:root[data-theme="light"] .hero-logo { color: #21252A; }
.hero-logo .accent { color: var(--accent); margin-left: 2px; }
.tagline { margin: 6px 0 48px; font-size: clamp(18px, 2.05vw, 33px); font-weight: 400; letter-spacing: -.035em; }
.primary-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 62px; padding: 0 34px; border: 0; border-radius: 999px;
  background: var(--button-bg); color: var(--button-text); font-weight: 750;
  text-transform: uppercase; font-size: 15px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 9px 28px rgba(0,0,0,.17); }
.primary-button svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero .primary-button svg { display: none; }
.about-anchor { position: absolute; bottom: 0; }
.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px 1.7vw 18px; color: var(--muted); font-size: 15px; position: relative; z-index: 1;
}
.footer-left { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.footer a:hover, .footer button:hover { color: var(--text); }
.footer-contact { border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0; }
.footer-about { margin-left: auto; }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 20; display: grid; place-items: center;
  padding: 24px; background: rgba(0,0,0,.62); backdrop-filter: blur(9px);
}
.modal-backdrop[hidden] { display: none; }
.contact-modal {
  width: min(100%, 690px); max-height: min(92svh, 900px); overflow-y: auto; position: relative;
  padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: 28px;
  background: var(--panel); color: var(--text); box-shadow: var(--shadow);
  animation: modal-in .22s ease both;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: transparent; display: grid; place-items: center; cursor: pointer; }
.modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.modal-kicker { color: var(--accent); text-transform: uppercase; font-size: 11px; letter-spacing: .16em; font-weight: 800; margin: 0 44px 12px 0; }
.contact-modal h1 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -.045em; line-height: 1.1; margin: 0 35px 12px 0; }
.modal-description { margin: 0 0 28px; color: var(--muted); line-height: 1.6; font-size: 14px; }
#contactForm { display: flex; flex-direction: column; gap: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#contactForm label:not(.consent) { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 650; }
#contactForm input:not([type="checkbox"]), #contactForm select, #contactForm textarea {
  width: 100%; border: 1px solid var(--field-border); background: var(--field); color: var(--text);
  border-radius: 12px; padding: 13px 14px; min-height: 48px; outline: none; transition: border-color .2s ease;
}
#contactForm textarea { resize: vertical; min-height: 112px; line-height: 1.5; }
#contactForm input::placeholder, #contactForm textarea::placeholder { color: var(--muted); opacity: .85; }
#contactForm input:focus, #contactForm select:focus, #contactForm textarea:focus { border-color: var(--accent); }
#contactForm select { appearance: auto; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12px; line-height: 1.5; cursor: pointer; }
.consent input { margin: 2px 0 0; accent-color: var(--accent); width: 16px; height: 16px; flex: 0 0 auto; }
.form-submit { align-self: flex-start; min-height: 54px; font-size: 12px; padding: 0 23px; }
.form-note { margin: -3px 0 0; font-size: 11px; color: var(--muted); line-height: 1.5; }

.form-status { font-size: 13px; line-height: 1.5; color: var(--accent); }

/* Global toast notifications */
.toast-container {
  position: fixed;
  z-index: 2000;
  top: 22px;
  right: 22px;
  display: grid;
  gap: 12px;
  width: min(390px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 28px;
  align-items: start;
  gap: 12px;
  padding: 16px 14px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  pointer-events: auto;
  opacity: 0;
  transform: translate3d(18px, -6px, 0);
  transition: opacity .22s ease, transform .22s ease;
  overflow: hidden;
  position: relative;
}
.toast::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--toast-color, var(--accent));
}
.toast.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.toast--success { --toast-color: #39b980; }
.toast--error { --toast-color: #ef6262; }
.toast__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--toast-color);
  background: color-mix(in srgb, var(--toast-color) 13%, transparent);
  font-size: 19px;
  font-weight: 700;
}
.toast__content { min-width: 0; padding-top: 1px; }
.toast__title { margin: 0 0 4px; font-size: 13px; font-weight: 750; letter-spacing: -.01em; }
.toast__message { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.toast__close {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.toast__close:hover { background: var(--field); color: var(--text); }
@media (max-width: 520px) {
  .toast-container { top: 12px; right: 12px; width: calc(100vw - 24px); }
  .toast { padding: 13px 12px; border-radius: 14px; }
}

@media (min-width: 1500px) { .header { min-height: 70px; } }
@media (max-width: 760px) {
  .header { padding: 14px 18px; gap: 12px; min-height: 62px; }
  .brand { min-width: 0; margin-right: auto; }
  .brand-word { font-size: 19px; }
  .brand-mark { width: 32px; height: 25px; }
  .mobile-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; order: 2; width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; border-radius: 50%; cursor: pointer; padding: 0 10px; }
  .mobile-menu-toggle span { display: block; height: 1.5px; width: 100%; background: var(--text); }
  .nav { display: none; position: absolute; top: 61px; left: 14px; right: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav-link { border: 0; text-align: left; padding: 13px 12px; font-size: 14px; }
  .header-tools { order: 3; gap: 8px; margin: 0; }
  .theme-switch { gap: 0; padding: 2px; }
  .theme-button { width: 30px; height: 30px; }
  .theme-button img, .theme-button svg { width: 18px; height: 18px; }
  .language-switch { font-size: 10px; }
  .hero { padding: 50px 20px 70px; }
  .hero-content { transform: translateY(-4px); }
  .hero-logo { font-size: clamp(70px, 17vw, 125px); }
  .tagline { margin: 11px 0 35px; font-size: clamp(17px, 4.4vw, 23px); }
  .primary-button { min-height: 56px; padding: 0 27px; font-size: 13px; }
  .footer { padding: 14px 18px 18px; align-items: flex-end; font-size: 10px; }
  .footer-left { max-width: 84%; row-gap: 7px; }
  .footer-about { display: none; }
}
@media (max-width: 520px) {
  .header { flex-wrap: wrap; }
  .header-tools { gap: 6px; }
  .theme-switch { display: flex; }
  .hero { min-height: 65svh; }
  .hero-logo { font-size: clamp(61px, 16vw, 88px); letter-spacing: -.08em; }
  .tagline { font-size: 16px; margin-bottom: 31px; }
  .footer-left { max-width: 100%; }
  .footer-separator { opacity: .5; }
  .form-row { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 10px; align-items: end; }
  .contact-modal { border-radius: 24px 24px 16px 16px; padding: 28px 20px 24px; max-height: 94svh; }
  .modal-close { top: 15px; right: 15px; }
  .contact-modal h1 { font-size: 27px; }
  .modal-description { font-size: 13px; margin-bottom: 23px; }
  .form-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* About modal additions — existing uploaded design tokens and sizing are preserved. */
.nav-link.about-trigger { font-family: inherit; }
.about-modal { width: min(100%, 760px); }
.about-description { max-width: 620px; font-size: 15px; }
.about-points { display: grid; gap: 0; margin: 8px 0 30px; border-top: 1px solid var(--line); }
.about-point { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.about-point-number { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .08em; padding-top: 3px; }
.about-point h2 { margin: 0 0 6px; font-size: 16px; letter-spacing: -.02em; }
.about-point p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.about-contact-trigger { min-height: 54px; font-size: 12px; padding: 0 24px; }
.about-contact-trigger svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
#contactForm button:disabled { opacity: .65; cursor: wait; }
@media (max-width: 520px) {
  .about-description { font-size: 13px; }
  .about-point { grid-template-columns: 34px 1fr; gap: 10px; padding: 16px 0; }
  .about-point h2 { font-size: 15px; }
}
