@font-face {
  font-family: "KyivType Sans Local";
  src: url("assets/fonts/KyivTypeSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "KyivType Sans Local";
  src: url("assets/fonts/KyivTypeSans-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

:root {
  --bg: #f6f7f8;
  --bg-alt: #f0f2f4;
  --surface: #ffffff;
  --text: #11161d;
  --text-soft: #606a76;
  --line: #dfe3e8;
  --accent: #b89558;
  --accent-dark: #977746;
  --shadow-soft: 0 10px 30px rgba(17, 22, 29, 0.05);
  --radius: 12px;
  --container: 1180px;
  /* Typography: заголовки KyivType Sans, описания Montserrat Light */
  --heading-font: "KyivType Sans Local", "KyivType Sans", "KyivTypeSans", "Kyiv Sans", sans-serif;
  --heading-weight: 400;
  --heading-line: 1.2;
  --heading-letter: 0.04em;
  --heading-size-1: clamp(32px, 4vw, 54px);
  --heading-size-2: clamp(28px, 3.6vw, 48px);
  --desc-font: "Montserrat", sans-serif;
  --desc-size: 16px;
  --desc-weight: 300;
  --desc-line: 1.65;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Onest", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  margin: 0;
  border-radius: 0;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0.24));
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 10px 35px rgba(15, 15, 15, 0.12);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  overflow: visible;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  opacity: 0.52;
}

.site-header.scrolled {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.3));
  border-bottom-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 40px rgba(15, 15, 15, 0.14);
}

.site-header.mega-open,
.site-header.mega-open.scrolled {
  background: #f4f2ed;
  border-bottom-color: transparent;
  box-shadow: 0 8px 22px rgba(15, 15, 15, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-inner {
  position: relative;
  z-index: 1;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.site-header.mega-open .header-inner,
.site-header.mega-open.scrolled .header-inner {
  min-height: 82px;
  padding-bottom: 8px;
}

.lang-dropdown {
  position: relative;
  display: inline-flex;
  margin-left: auto;
}

.lang-current {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 14px;
  min-width: 60px;
  height: 40px;
  font-size: 12px;
  font-family: inherit;
  font-weight: 600;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
  box-sizing: border-box;
}

.lang-current:hover {
  border-color: rgba(0, 0, 0, 0.4);
}

.lang-caret {
  display: inline;
  font-size: 10px;
  line-height: 1;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  min-width: auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 0;
  flex-direction: column;
  overflow: hidden;
  z-index: 100;
}

.lang-dropdown.open .lang-menu {
  display: flex;
  flex-direction: column;
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px 16px;
  font-size: 12px;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: #333;
  text-align: left;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.04);
}

.lang-btn.active {
  color: var(--accent);
}

.mobile-lang-switch {
  display: none;
}

.logo {
  font-family: var(--heading-font);
  font-size: 13px;
  letter-spacing: 0.02em;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}

.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100dvh;
  width: 50%;
  min-width: 380px;
  background: #111;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 120px 60px 60px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
  transition: opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1), transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.38s ease;
  z-index: 260;
  overflow: auto;
  gap: 0;
  margin: 0;
  flex: unset;
}

.main-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.main-nav a,
.nav-links a {
  text-decoration: none;
  font-family: var(--heading-font);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 400;
  color: #fff;
  display: block;
  padding: 8px 0;
  border: none;
  letter-spacing: -0.01em;
  line-height: 1.1;
  transition: color 0.25s ease;
  position: relative;
  cursor: pointer;
  pointer-events: auto;
}

.main-nav a:hover,
.nav-links a:hover {
  color: var(--accent) !important;
}

.main-nav a.menu-active {
  color: var(--accent);
}

.nav-footer {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-lang-switch {
  display: flex;
  gap: 8px;
}

.nav-lang-switch .lang-btn-mobile {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-family: "Onest", sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s;
}

.nav-lang-switch .lang-btn-mobile.active,
.nav-lang-switch .lang-btn-mobile[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.nav-contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-contact-info a {
  font-family: "Onest", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.45) !important;
  padding: 0 !important;
  border: none !important;
  letter-spacing: 0 !important;
  line-height: 1.6 !important;
  transition: color 0.2s ease !important;
}

.nav-contact-info a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
  opacity: 1 !important;
}

/* Nav close button */
.nav-close-btn {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.nav-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Nav language buttons (horizontal row) */
.nav-lang-wrap {
  display: flex;
  gap: 8px;
}

.nav-lang-wrap .lang-btn-mobile {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.45);
  font-family: "Onest", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s;
}

.nav-lang-wrap .lang-btn-mobile:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.nav-lang-wrap .lang-btn-mobile[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent);
}

body.mobile-nav-open {
  overflow: hidden;
}

section[id],
.section[id],
.cta[id] {
  scroll-margin-top: 70px;
}

body.mobile-nav-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 240;
}

.menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.menu-toggle:hover {
  background: rgba(17, 17, 17, 0.92);
  border-color: rgba(184, 149, 88, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.menu-toggle:hover span {
  background: var(--accent);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: background 0.35s ease, transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(223, 227, 232, 0.9);
  box-shadow: 0 8px 20px rgba(15, 15, 15, 0.12);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding-top: 0;
  opacity: 0;
  transform: translateY(-2px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-header.mega-open .mega-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: static;
}

.site-header.mega-open + main {
  padding-top: 0;
}

.mega-menu-surface {
  position: relative;
  width: 100%;
  border: 1px solid #e8e3da;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: #f4f2ed;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 8px 22px rgba(15, 15, 15, 0.08);
}

.mega-menu-inner {
  padding-top: 12px;
  padding-bottom: 22px;
}

.mega-menu-columns {
  position: relative;
  min-height: 138px;
}

.mega-col {
  display: none;
}

.mega-col.active {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 260px;
  position: absolute;
  left: var(--mega-left, 0px);
  top: 0;
}

.mega-link {
  text-decoration: none;
  font-size: 15px;
  color: #252d37;
  line-height: 1.45;
  display: inline-flex;
  width: fit-content;
  padding: 1px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.mega-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(196, 162, 74, 0), rgba(196, 162, 74, 0.8) 32%, rgba(217, 185, 105, 1) 50%, rgba(196, 162, 74, 0.8) 68%, rgba(196, 162, 74, 0));
  clip-path: polygon(0 50%, 12% 34%, 50% 0, 88% 34%, 100% 50%, 88% 66%, 50% 100%, 12% 66%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease, opacity 0.24s ease;
  opacity: 0.9;
}

.mega-link:hover {
  color: #11161d;
}

.mega-link:hover::after {
  transform: scaleX(1);
}

.btn {
  border-radius: 5px;
  padding: 12px 20px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
}

.btn-primary:hover {
  background: rgba(17, 17, 17, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(184, 149, 88, 0.12);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  border-color: #aaa;
}

.hero {
  padding: 0;
  position: relative;
  background-image: url("Pictures/529190.avif");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 42%, transparent 70%),
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 0;
}

.hero-inner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--container), calc(100% - 48px));
  max-width: var(--container);
  top: 0;
  bottom: 0;
  z-index: 1;
  padding: 56px clamp(24px, 6vw, 80px) 72px;
  box-sizing: border-box;
  pointer-events: none;
}

.hero-inner > * {
  pointer-events: auto;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: #7b838e;
}

.hero-locs {
  margin-bottom: 18px;
  font-size: 9px;
  letter-spacing: 0.18em;
  font-family: var(--heading-font);
  font-weight: 400;
}

.hero-left {
  position: absolute;
  left: 0;
  bottom: 72px;
  max-width: min(960px, 100%);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 18px;
}

.hero-cities span {
  position: relative;
  padding-right: 14px;
  font-family: var(--heading-font);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
}

.hero-cities span:not(:last-child)::after {
  content: "•";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-46%);
  color: rgba(255, 255, 255, 0.5);
}

.hero-region {
  margin: 0 0 8px;
  font-size: 11px;
  color: #4f4f4f;
  font-weight: 600;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line);
  letter-spacing: var(--heading-letter);
  text-transform: uppercase;
}

h1 {
  font-size: var(--heading-size-1);
  max-width: 12ch;
}

h2 {
  font-size: var(--heading-size-2);
}

h3 {
  font-size: clamp(20px, 2.2vw, 26px);
}

.hero h1 {
  font-family: var(--heading-font);
  font-style: normal;
  font-weight: var(--heading-weight);
  font-size: var(--heading-size-2);
  color: #fff;
  max-width: 960px;
  min-width: 0;
  text-transform: uppercase;
  letter-spacing: var(--heading-letter);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-title-no-wrap {
  display: block;
  white-space: normal;
}

.hero .hero-title-line2 {
  white-space: normal;
  display: block;
}

.lead,
.hero-lead {
  margin: 24px 0 0;
  max-width: 470px;
  font-family: var(--desc-font);
  font-size: var(--desc-size);
  font-weight: var(--desc-weight);
  line-height: var(--desc-line);
  white-space: pre-line;
}

.lead {
  color: var(--text-soft);
}

.hero-lead {
  margin: 16px 0 0;
  max-width: 500px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  text-wrap: pretty;
}

@media (max-width: 767px) {
  .hero-title-no-wrap {
    white-space: normal;
  }
}

/* Описания по всему сайту — те же шрифт и стиль, что в hero */
.card p,
.header-desc,
.h-desc,
.tech-copy p,
.cta-inner p,
.cta-block p {
  font-family: var(--desc-font);
  font-size: var(--desc-size);
  font-weight: var(--desc-weight);
  line-height: var(--desc-line);
}

.hero-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: #2d2d2d;
}

.hero-right {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.btn-hero-primary,
.btn-hero-secondary {
  border-radius: 0;
  padding: 0;
  font-family: var(--heading-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: visible;
  transition: color 0.2s ease, transform 0.2s ease;
  transform-origin: center;
}

.btn-hero-primary {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.btn-hero-primary:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn-hero-primary:hover::after {
  transform: scaleX(1);
}

.btn-hero-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.btn-hero-secondary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.btn-hero-secondary:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn-hero-secondary:hover::after {
  transform: scaleX(1);
}

.btn-hero-primary:active,
.btn-hero-secondary:active {
  transform: translateY(0);
}

.hero-pains-wrap {
  width: min(var(--container), calc(100% - 48px));
  margin: 14px auto 0;
}

.hero-pains {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hero-pain {
  padding: 18px 20px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, #090b10 0%, #0b0d12 100%);
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-pain p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
  font-weight: 400;
  margin: 8px 0 0;
  max-width: 16ch;
}

.hero-pain-symbol {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(196, 162, 74, 0.28);
  background: rgba(196, 162, 74, 0.08);
  color: #d4b468;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-pain-symbol svg {
  width: 18px;
  height: 18px;
  stroke: #d4b468;
  stroke-width: 1.65;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-pain-index {
  margin-top: auto;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.08em;
  font-family: var(--heading-font);
  font-weight: 600;
}

@media (hover: hover) {
  .hero-pain:hover {
    border-color: rgba(255, 213, 0, 0.58);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
}

.hero-card {
  background: #131313;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(184, 149, 88, 0.28) 30%, var(--accent) 50%, rgba(184, 149, 88, 0.28) 70%, transparent 100%);
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card-title {
  font-family: var(--heading-font);
  font-size: 12px;
  text-align: right;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.46);
  letter-spacing: -0.01em;
}

.hero-tabs {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.hero-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 10px;
  font-size: 8px;
  font-family: var(--heading-font);
  text-transform: uppercase;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-tab:hover {
  border-color: rgba(196, 162, 74, 0.4);
}

.hero-tab.active {
  border-color: rgba(196, 162, 74, 0.55);
  background: rgba(196, 162, 74, 0.16);
  color: #f4d891;
}

.hero-chart {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-chart-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.24);
  margin-bottom: 10px;
}

.hero-chart svg {
  width: 100%;
  height: 58px;
  color: var(--accent);
  transition: color 0.25s ease;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-metric {
  padding: 14px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 150px;
}

.hero-metric:last-child {
  border-right: 0;
}

.hero-metric span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.24);
  margin-bottom: 8px;
  min-height: 2.8em;
}

.hero-metric strong {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.025em;
  line-height: 1;
}

.hero-metric em {
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
}

.hero-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.24);
  margin-top: 10px;
  line-height: 1.3;
  min-height: 2.6em;
}

/* —— How It Works (Canvas Solar style) —— */
.how-it-works {
  background: var(--bg-alt);
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.how-it-works-outer {
  width: 100%;
  max-width: none;
  padding: 32px 14px 32px 32px;
  box-sizing: border-box;
}

.how-it-works-inner {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 12px;
}

.how-it-works-sticky {
  position: relative;
  top: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  align-self: flex-start;
  min-width: 0;
  flex: 1 1 0%;
}

.how-it-works-sticky-top {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  padding-top: 0;
}

.how-it-works-eyebrow {
  font-family: var(--heading-font);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9ea3ab;
  margin-bottom: 14px;
}

.how-it-works-text-block {
  padding: 24px 24px 0;
}

.how-it-works-photo-frame {
  width: 100%;
  max-width: 708px;
  min-height: 420px;
  height: 420px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
  overflow: hidden;
  border-radius: 0;
  box-sizing: border-box;
}

.how-it-works-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.how-it-works-title {
  margin: 0;
  max-width: 660px;
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  font-size: var(--heading-size-2);
  line-height: var(--heading-line);
  letter-spacing: var(--heading-letter);
  text-transform: uppercase;
  color: var(--text);
}

.how-it-works-divider-main {
  width: min(658px, 100%);
  height: 3px;
  margin-top: 24px;
  background: var(--line);
}

.how-it-works-lead {
  margin: 14px 0 0;
  max-width: 500px;
  font-family: var(--desc-font);
  font-size: 16px;
  font-weight: var(--desc-weight);
  line-height: 1.55;
  color: var(--text-soft);
}

.how-it-works-steps {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 96px;
  align-items: flex-end;
}

.how-step-card {
  width: 100%;
  max-width: 708px;
  min-height: 420px;
  border-radius: 0;
  padding: 20px 24px 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.how-step-card:nth-child(2n) {
  background: #f3f5f7;
  color: var(--text);
  border-color: var(--line);
}

.how-step-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.how-step-label {
  display: block;
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 74px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--accent);
  text-transform: none;
  opacity: 0;
  transition: opacity 0.55s ease-out;
}

.how-step-card.is-visible .how-step-label {
  opacity: 1;
  transition-delay: 0.1s;
}

.how-step-title {
  margin: 0 0 0;
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.16;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text);
  opacity: 0;
  transition: opacity 0.55s ease-out;
}

.how-step-card.is-visible .how-step-title {
  opacity: 1;
  transition-delay: 0.2s;
}

.how-step-divider-line {
  height: 1px;
  margin-top: 16px;
  overflow: hidden;
}

.how-step-divider-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #d5dce3;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s ease-out;
}

.how-step-card:nth-child(2n) .how-step-divider-fill {
  background: #cfd7df;
}

.how-step-card.is-visible .how-step-divider-fill {
  transform: scaleX(1);
  transition-delay: 0.15s;
}

.how-step-desc {
  margin: 14px 0 0;
  max-width: 400px;
  font-family: var(--desc-font);
  font-size: 16px;
  font-weight: var(--desc-weight);
  line-height: 1.6;
  color: var(--text-soft);
  opacity: 0;
  transition: opacity 0.55s ease-out;
}

.how-step-card:nth-child(2n) .how-step-desc {
  color: var(--text-soft);
}

.how-step-card.is-visible .how-step-desc {
  opacity: 1;
  transition-delay: 0.3s;
}

@media (max-width: 1199px) {
  .how-it-works-outer {
    padding: 24px;
  }

  .how-it-works-inner {
    flex-direction: column;
    gap: 64px;
  }

  .how-it-works-sticky {
    position: relative;
    top: auto;
    height: min-content;
    padding: 0;
  }

  .how-it-works-photo-frame {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .how-it-works-steps {
    padding-left: 0;
    align-items: stretch;
  }

  .how-step-card {
    max-width: 100%;
    min-height: 0;
  }

  .how-step-title {
    margin-top: 56px;
  }
}

@media (max-width: 809px) {
  .how-it-works-outer {
    padding: 24px;
  }

  .how-it-works-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .how-it-works-photo-frame {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 140px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }

  .how-step-card {
    padding: 20px 18px;
  }

  .how-step-label {
    font-size: clamp(42px, 13vw, 56px);
  }

  .how-step-title {
    margin-top: 28px;
    font-size: clamp(24px, 7vw, 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-step-card,
  .how-step-label,
  .how-step-title,
  .how-step-desc,
  .how-step-divider-fill {
    transition: none !important;
  }

  .how-step-card {
    opacity: 1;
    transform: none;
  }

  .how-step-label,
  .how-step-title,
  .how-step-desc {
    opacity: 1;
  }

  .how-step-divider-fill {
    transform: scaleX(1);
  }
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section-head {
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: var(--heading-size-2);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line);
  letter-spacing: var(--heading-letter);
  max-width: 16ch;
}

.about-section {
  background: var(--bg);
  padding-top: 92px;
  padding-bottom: 92px;
}

.about-manifest {
  border-top: 1px solid #dfe3e8;
  padding-top: 28px;
}

.about-statement {
  margin-top: 12px;
  max-width: 18ch;
  font-family: var(--heading-font);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: var(--heading-weight);
  line-height: 1.05;
  letter-spacing: var(--heading-letter);
  text-transform: uppercase;
  color: #0f1116;
}

.about-manifest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 52px;
  align-items: start;
  margin-top: 28px;
}

.about-principles {
  display: grid;
  gap: 10px;
}

.about-principle {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px 24px;
}

.about-principle h3 {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-letter);
  text-transform: uppercase;
  margin: 0;
}

.about-principle p {
  margin: 12px 0 0;
  color: #5f6974;
  max-width: 52ch;
}

.about-visual {
  display: grid;
  gap: 14px;
}

.about-photo {
  margin: 0;
  border: 1px solid #d9dee4;
  overflow: hidden;
  min-height: 360px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.about-mission {
  background: #121417;
  border: 1px solid rgba(196, 162, 74, 0.28);
  color: rgba(255, 255, 255, 0.88);
  padding: 20px 22px;
}

.about-mission-title {
  font-family: var(--heading-font);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(196, 162, 74, 0.95);
}

.about-mission p {
  margin: 10px 0 0;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: none;
}

.card-tag {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.11em;
  color: #8d95a0;
  font-weight: 600;
}

.card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.card p {
  margin: 11px 0;
  color: var(--text-soft);
  font-size: 14px;
}

.card a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  color: #3f4954;
}

.card a:hover {
  color: #11161d;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section-head {
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: var(--heading-size-2);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line);
  letter-spacing: var(--heading-letter);
  max-width: 16ch;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: none;
}

.card-tag {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.11em;
  color: #8d95a0;
  font-weight: 600;
}

.card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.card p {
  margin: 11px 0;
  color: var(--text-soft);
  font-size: 14px;
}

.card a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  color: #3f4954;
}

.card a:hover {
  color: #11161d;
}

#services .eyebrow,
#systems .eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #8a919c;
}

#services .section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 52px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 0;
  margin-bottom: 48px;
}

#services .header-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#services .detail-label {
  font-family: var(--heading-font);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9ea3ab;
}

#services .header-right {
  display: block;
  padding-top: 0;
}

#services .header-left h2 {
  max-width: 22ch;
  font-family: var(--heading-font);
  font-size: var(--heading-size-2);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-letter);
  line-height: var(--heading-line);
}

#services .header-desc {
  max-width: 360px;
  flex-shrink: 0;
  font-family: var(--desc-font);
  font-size: var(--desc-size);
  font-weight: var(--desc-weight);
  line-height: var(--desc-line);
  color: #747d89;
}

#services .services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #e4e1d8;
  border: 1px solid #e4e1d8;
  border-radius: 14px;
  overflow: hidden;
}

#services .card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 32px 28px 26px;
  border: 0;
  border-radius: 0;
  background: #141414;
  box-shadow: none;
  transition: background 0.2s ease;
}

#services .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #c4a24a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

#services .svc-step {
  font-family: var(--heading-font);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.22);
  margin-bottom: 20px;
}

#services .svc-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

#services .svc-icon svg {
  width: 18px;
  height: 18px;
}

#services .card-tag {
  margin-bottom: 8px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  font-weight: 500;
  transition: color 0.2s ease;
}

#services .card h3 {
  margin-bottom: 12px;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.88);
}

#services .card > p:not(.card-tag) {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
}

#services .card a {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.24);
  font-size: 12px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, gap 0.15s ease;
}

#services .card a::after {
  content: "→";
  font-size: 11px;
}

#services .bottom-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid #e4e1d8;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}

#services .bs-item {
  padding: 20px 28px;
  border-right: 1px solid #e4e1d8;
}

#services .bs-item:last-child {
  border-right: 0;
}

#services .bs-num {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 800;
  color: #0f0f0f;
  letter-spacing: -0.025em;
  line-height: 1;
}

#services .bs-num sup {
  font-size: 10px;
  color: #c4a24a;
}

#services .bs-label {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 300;
  color: #777;
}

@media (hover: hover) {
  #services .card:hover {
    background: #1a1a1a;
  }

  #services .card:hover::before {
    transform: scaleX(1);
  }

  #services .card:hover .svc-icon {
    background: rgba(196, 162, 74, 0.1);
    border-color: rgba(196, 162, 74, 0.22);
  }

  #services .card:hover .svc-icon svg path,
  #services .card:hover .svc-icon svg rect,
  #services .card:hover .svc-icon svg circle {
    stroke: #c4a24a;
  }

  #services .card:hover .card-tag {
    color: #c4a24a;
  }

  #services .card:hover a {
    color: #c4a24a;
    gap: 10px;
  }
}

@media (max-width: 1120px) {
  #services .section-header {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    padding-bottom: 34px;
    margin-bottom: 30px;
  }

  #services .header-right {
    padding-top: 0;
  }

  #services .header-desc {
    max-width: 60ch;
  }

  #services .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #services .bottom-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

#systems {
  padding: 82px 0;
  background: linear-gradient(180deg, #f4f6f8 0%, #f2f4f7 100%);
  border-top: 1px solid #e3e7ec;
  border-bottom: 1px solid #e3e7ec;
}

#systems .tech-grid {
  gap: 22px;
  align-items: start;
}

#systems .tech-copy {
  padding-top: 0;
}

#systems .tech-copy h2 {
  max-width: 11ch;
  font-family: var(--heading-font);
  font-size: var(--heading-size-2);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line);
  letter-spacing: var(--heading-letter);
  text-wrap: balance;
}

#systems .tech-copy p {
  margin-top: 20px;
  color: #586371;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.58;
}

#systems .tech-copy ul {
  margin-top: 16px;
  padding-left: 0;
  list-style: none;
}

#systems .tech-copy li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: #4f5a67;
}

#systems .tech-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d8c08d, #b89558 72%);
  box-shadow: 0 0 0 3px rgba(184, 149, 88, 0.15);
}

#systems .systems-cta {
  margin-top: 8px;
}

#systems .systems-stack-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #131313;
  box-shadow: 0 10px 24px rgba(10, 14, 20, 0.2);
  overflow: hidden;
}

#systems .systems-stack-card::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(184, 149, 88, 0.48) 50%, transparent 100%);
}

#systems .systems-stack-head {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#systems .systems-stack-head > span:first-child {
  font-family: var(--heading-font);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.24);
}

#systems .systems-stack-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.24);
}

#systems .systems-stack-count i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

#systems .systems-layers {
  padding: 10px;
}

#systems .systems-layer {
  margin: 0;
}

#systems .systems-layer-main {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 12px 10px 12px 10px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: border-color 0.22s ease, background 0.22s ease;
}

#systems .systems-layer-main::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: transparent;
  transition: background 0.22s ease;
}

#systems .systems-layer.active .systems-layer-main {
  border-color: rgba(184, 149, 88, 0.2);
  background: rgba(196, 162, 74, 0.16);
}

#systems .systems-layer.active .systems-layer-main::before {
  background: rgba(184, 149, 88, 0.9);
}

#systems .systems-layer-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

#systems .systems-layer-icon svg {
  width: 20px;
  height: 20px;
}

#systems .systems-layer.active .systems-layer-icon {
  color: var(--accent);
  border-color: rgba(196, 162, 74, 0.55);
  background: rgba(196, 162, 74, 0.16);
}

#systems .systems-layer-copy {
  display: flex;
  flex-direction: column;
}

#systems .systems-layer-name {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
}

#systems .systems-layer-hint {
  margin-top: 3px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.24);
  line-height: 1.3;
}

#systems .systems-layer-badge {
  font-family: var(--heading-font);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.24);
}

#systems .systems-layer.active .systems-layer-badge {
  color: var(--accent);
}

#systems .systems-layer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

#systems .systems-layer.active .systems-layer-panel {
  max-height: 120px;
}

#systems .systems-layer-detail {
  margin: 8px 4px 2px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.34);
}

#systems .systems-connector {
  height: 8px;
  padding-left: 30px;
  display: flex;
  align-items: center;
}

#systems .systems-connector span {
  width: 2px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(184, 149, 88, 0.22));
}

#systems .systems-stack-foot {
  margin: 2px 10px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

#systems .systems-foot-item span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.24);
}

#systems .systems-foot-item strong {
  margin-top: 3px;
  display: block;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
}

@media (hover: hover) {
  #systems .systems-layer-main:hover {
    border-color: rgba(196, 162, 74, 0.4);
    background: rgba(255, 255, 255, 0.04);
  }

  #systems .systems-layer-main:hover::before {
    background: rgba(184, 149, 88, 0.48);
  }
}

#systems .systems-phone-showcase {
  margin-top: 30px;
}

#systems .systems-phone-head {
  margin: 0 auto 26px;
  max-width: var(--container);
  text-align: left;
  position: relative;
  z-index: 2;
  padding-top: 2px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

#systems .systems-phone-head h3 {
  margin: 0;
  max-width: none;
  font-family: var(--heading-font);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.04;
  letter-spacing: var(--heading-letter);
  font-weight: var(--heading-weight);
  white-space: nowrap;
  color: rgba(247, 249, 252, 0.98);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.36);
  grid-column: 2;
  grid-row: 1;
  text-align: right;
  align-self: start;
}

#systems .systems-phone-sub {
  margin: 0;
  max-width: 52ch;
  color: rgba(240, 244, 250, 0.7);
  font-size: 15px;
  line-height: 1.62;
  font-weight: 300;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  text-align: left;
}

html[lang="en"] #systems .systems-phone-head h3 {
  white-space: nowrap;
  max-width: none;
  justify-self: end;
  line-height: 1.08;
}

html[lang="en"] #systems .systems-phone-sub {
  max-width: 44ch;
}

#systems .systems-phone-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(213, 178, 100, 0.9);
}

#systems .systems-phone-head .eyebrow::before,
#systems .systems-phone-head .eyebrow::after {
  content: "";
  width: 18px;
  height: 1px;
  background: rgba(213, 178, 100, 0.56);
}

#systems .systems-monitoring-hero {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141414;
  overflow: hidden;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  padding: 18px 24px 14px;
  min-height: 760px;
}

#systems .systems-monitoring-hero::before {
  content: none;
}

#systems .systems-monitor-slider {
  --carousel-duration: 780ms;
  --carousel-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  margin-top: 68px;
  position: relative;
  z-index: 2;
}

#systems .systems-slider-viewport {
  --slide-x: 280px;
  width: 100%;
  min-height: 660px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  position: relative;
  perspective: none;
  transform-style: flat;
}

#systems .systems-slider-viewport.is-dragging {
  cursor: grabbing;
}

#systems .systems-slider-viewport::before {
  content: none;
}

#systems .systems-slider-track {
  position: relative;
  height: 650px;
  user-select: none;
  -webkit-user-select: none;
}

#systems .monitor-slide {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(210px, 25vw, 278px);
  margin-left: calc(clamp(210px, 25vw, 278px) / -2);
  padding: 0;
  transform-origin: center 80%;
  transition: transform var(--carousel-duration) var(--carousel-ease), opacity var(--carousel-duration) var(--carousel-ease), filter var(--carousel-duration) var(--carousel-ease);
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
  z-index: 4;
}

#systems .monitor-slide::after {
  content: none;
}

#systems .monitor-slide.pos-center {
  transform: translateX(0) translateY(0) scale(1) rotateY(0deg);
  opacity: 1;
  filter: none;
  z-index: 6;
}

#systems .monitor-slide.pos-left {
  transform: translateX(calc(var(--slide-x) * -1)) translateY(16px) scale(0.9);
  opacity: 0.62;
  filter: brightness(0.78);
  z-index: 4;
}

#systems .monitor-slide.pos-right {
  transform: translateX(var(--slide-x)) translateY(16px) scale(0.9);
  opacity: 0.62;
  filter: brightness(0.78);
  z-index: 4;
}

#systems .monitor-slide.pos-hidden-left {
  transform: translateX(calc(var(--slide-x) * -1.75)) translateY(26px) scale(0.82);
  opacity: 0;
  filter: brightness(0.65);
  pointer-events: none;
  z-index: 2;
}

#systems .monitor-slide.pos-hidden-right {
  transform: translateX(calc(var(--slide-x) * 1.75)) translateY(26px) scale(0.82);
  opacity: 0;
  filter: brightness(0.65);
  pointer-events: none;
  z-index: 3;
}

#systems .systems-slider-viewport:hover .monitor-slide.pos-center {
  transform: translateX(0) translateY(0) scale(1) rotateY(0deg);
}

#systems .monitor-phone {
  margin: 0 auto;
  position: relative;
  width: 100%;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(145deg, #1a1d24 0%, #0d0f13 50%, #1a1d24 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: box-shadow var(--carousel-duration) var(--carousel-ease), transform var(--carousel-duration) var(--carousel-ease);
}

#systems .monitor-phone::before {
  content: none;
}

#systems .monitor-phone::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 5;
}

#systems .monitor-phone .monitor-fallback {
  display: none;
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(23, 26, 34, 1) 0%, rgba(12, 14, 18, 1) 100%);
  padding: 56px 14px 14px;
}

#systems .monitor-phone .monitor-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 162, 74, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 162, 74, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

#systems .monitor-phone .monitor-fallback span,
#systems .monitor-phone .monitor-fallback strong,
#systems .monitor-phone .monitor-fallback small {
  position: relative;
  z-index: 1;
}

#systems .monitor-phone .monitor-fallback span {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

#systems .monitor-phone .monitor-fallback strong {
  display: block;
  margin-top: 10px;
  font-family: var(--heading-font);
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.95);
}

#systems .monitor-phone .monitor-fallback small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.38);
}

#systems .monitor-phone.no-image .monitor-fallback {
  display: block;
}

#systems .monitor-phone img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 32px;
  border: none;
  background: #10131a;
  filter: brightness(0.96) contrast(1.01) saturate(0.98);
  transition: filter var(--carousel-duration) var(--carousel-ease);
}

#systems .monitor-slide.pos-center .monitor-phone img {
  filter: brightness(1) contrast(1.03) saturate(1);
}

#systems .monitor-slide.pos-center .monitor-phone {
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.5),
    0 8px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#systems .monitor-slide.pos-left .monitor-phone,
#systems .monitor-slide.pos-right .monitor-phone {
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#systems .monitor-slide.pos-left .monitor-phone img,
#systems .monitor-slide.pos-right .monitor-phone img {
  filter: brightness(0.76) contrast(1.01) saturate(0.86);
}

#systems .monitor-slide.pos-hidden-left .monitor-phone img,
#systems .monitor-slide.pos-hidden-right .monitor-phone img {
  filter: brightness(0.6) contrast(0.98) saturate(0.74);
}

#systems .monitor-phone img + .monitor-fallback {
  display: none;
}

#systems .monitor-phone.no-image img + .monitor-fallback {
  display: block;
}

#systems .systems-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#systems .systems-slider-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.38);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.34s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: none;
}

#systems .systems-slider-btn:hover {
  color: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

#systems .systems-slider-btn:focus-visible {
  outline: none;
  color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 1px rgba(184, 149, 88, 0.22);
}

#systems .systems-slider-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.15;
}

#systems .systems-slider-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
}

#systems .systems-slider-dot {
  width: 14px;
  height: 12px;
  position: relative;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: height 0.42s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  opacity: 0.6;
}

#systems .systems-slider-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-50%) scaleX(0.55);
  transform-origin: center;
  transition: background-color 0.42s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#systems .systems-slider-dot.is-active {
  height: 22px;
  opacity: 1;
  box-shadow: none;
}

#systems .systems-slider-dot.is-active::before {
  background: var(--accent);
  transform: translateX(-50%) scaleX(0.7);
}

#systems .systems-slider-dot:hover {
  opacity: 1;
}

#systems .systems-slider-dot:hover::before {
  background: rgba(255, 255, 255, 0.38);
}

.tech-copy h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: var(--heading-size-2);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line);
  letter-spacing: var(--heading-letter);
}

.tech-copy p {
  font-family: var(--desc-font);
  font-size: var(--desc-size);
  font-weight: var(--desc-weight);
  line-height: var(--desc-line);
  color: var(--text-soft);
  max-width: 58ch;
}

.tech-copy ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #5a6674;
}

.tech-board {
  background: #1a2028;
  border-radius: var(--radius);
  border: 1px solid #2a3039;
  box-shadow: none;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.node {
  background: #242b35;
  border: 1px solid #353d48;
  color: #eef1f5;
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 500;
}

.line {
  width: 2px;
  height: 18px;
  margin-left: 18px;
  background: linear-gradient(var(--accent), #7f6440);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

#portfolio .portfolio-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

#portfolio .portfolio-head-left h2 {
  max-width: 18ch;
  font-family: var(--heading-font);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

#portfolio .portfolio-view-all {
  text-decoration: none;
  font-size: 13px;
  color: #636d79;
  border-bottom: 1px solid #d7dce3;
  padding-bottom: 2px;
  white-space: nowrap;
}

#portfolio .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

#portfolio .portfolio-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: linear-gradient(180deg, #15171c 0%, #101215 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

#portfolio .portfolio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 12%, rgba(213, 178, 100, 0.58) 50%, transparent 88%);
  z-index: 2;
}

#portfolio .portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(6, 10, 18, 0.38);
  border-color: rgba(255, 255, 255, 0.15);
}

#portfolio .portfolio-card-visual {
  position: relative;
  height: 150px;
  background: linear-gradient(180deg, #1a1f29 0%, #151a23 100%);
  overflow: hidden;
}

#portfolio .portfolio-card-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213, 178, 100, 0.52) 50%, transparent);
}

#portfolio .portfolio-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(213, 178, 100, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213, 178, 100, 0.028) 1px, transparent 1px);
  background-size: 32px 32px;
}

#portfolio .portfolio-bg-num {
  position: absolute;
  right: -10px;
  bottom: -16px;
  font-family: var(--heading-font);
  font-size: 92px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.03);
}

#portfolio .portfolio-visual-content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 14px 16px 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

#portfolio .portfolio-visual-num {
  font-family: var(--heading-font);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: #fff;
}

#portfolio .portfolio-visual-num span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

#portfolio .portfolio-visual-label {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.38);
}

#portfolio .portfolio-visual-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(213, 178, 100, 0.3);
  background: rgba(213, 178, 100, 0.12);
  color: #d5b264;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

#portfolio .portfolio-card-body {
  padding: 20px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: linear-gradient(180deg, #141414 0%, #111214 100%);
}

#portfolio .portfolio-card-tag {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.56);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

#portfolio .portfolio-card h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 15px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  min-height: 2.4em;
  color: rgba(247, 249, 252, 0.95);
}

#portfolio .portfolio-card p {
  margin: 10px 0 14px;
  font-size: 12px;
  color: rgba(235, 240, 247, 0.5);
  line-height: 1.55;
  min-height: 4.8em;
}

#portfolio .portfolio-card-metrics {
  margin-top: auto;
  padding-top: 0;
  border-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

#portfolio .portfolio-card-metrics > div {
  padding: 11px 12px 10px;
  background: rgba(255, 255, 255, 0.02);
}

#portfolio .portfolio-card-metrics strong {
  font-family: var(--heading-font);
  font-size: 18px;
  color: rgba(247, 249, 252, 0.94);
  line-height: 1;
  letter-spacing: -0.02em;
}

#portfolio .portfolio-card-metrics span {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

#portfolio .portfolio-card-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.015);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  min-height: 40px;
}

#portfolio .portfolio-card-foot a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
}

#portfolio .portfolio-card-foot a:hover {
  color: rgba(255, 255, 255, 0.9);
}

#portfolio .portfolio-stats {
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #141414;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

#portfolio .portfolio-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(213, 178, 100, 0.48) 50%, transparent 90%);
}

#portfolio .portfolio-stats > div {
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

#portfolio .portfolio-stats > div:last-child {
  border-right: 0;
}

#portfolio .portfolio-stats strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(247, 249, 252, 0.94);
}

#portfolio .portfolio-stats span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

#reviews .reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 0;
  margin-bottom: 36px;
}

#reviews,
#contact {
  background: var(--bg);
}

#reviews .reviews-head-left h2 {
  max-width: none;
  white-space: nowrap;
  font-family: var(--heading-font);
  font-size: var(--heading-size-2);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line);
  letter-spacing: var(--heading-letter);
  color: #0f0f0f;
}

#reviews .reviews-head-right {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

#reviews .reviews-star {
  color: #c4a24a;
  font-size: 13px;
}

#reviews .reviews-r-num {
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  color: #0f0f0f;
  margin-left: 6px;
}

#reviews .reviews-slider-wrap {
  position: relative;
  overflow: hidden;
}

#reviews .reviews-slider-track {
  display: flex;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

#reviews .reviews-slide {
  min-width: 100%;
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #e4e1d8;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

#reviews .reviews-card {
  background: var(--bg);
  padding: 30px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background 0.2s ease;
}

#reviews .reviews-card:hover {
  background: var(--bg);
}

#reviews .reviews-c-n {
  display: none;
}

#reviews .reviews-c-q {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: #0f0f0f;
  line-height: 1.38;
  letter-spacing: -0.01em;
  flex: 1;
  margin-bottom: 24px;
}

#reviews .reviews-c-result {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid #e4e1d8;
  border-bottom: 1px solid #e4e1d8;
  margin-bottom: 16px;
}

#reviews .reviews-c-r-val {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 700;
  color: #c4a24a;
  letter-spacing: -0.02em;
  line-height: 1;
}

#reviews .reviews-c-r-lbl {
  font-size: 11px;
  color: #aaa;
  font-weight: 300;
}

#reviews .reviews-c-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#reviews .reviews-c-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#reviews .reviews-c-role {
  font-size: 10px;
  color: #aaa;
  font-weight: 300;
}

#reviews .reviews-c-loc {
  font-size: 11px;
  color: #555;
  font-weight: 500;
}

#reviews .reviews-c-stars {
  display: flex;
  gap: 2px;
}

#reviews .reviews-cs {
  color: #c4a24a;
  font-size: 10px;
}

#reviews .reviews-stat-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
}

#reviews .reviews-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

#reviews .reviews-sv {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: #0f0f0f;
  letter-spacing: -0.02em;
}

#reviews .reviews-sv-g {
  color: #c4a24a;
}

#reviews .reviews-sl {
  font-size: 10px;
  color: #999;
  font-weight: 400;
}

#reviews .reviews-ss {
  width: 1px;
  height: 14px;
  background: rgba(0, 0, 0, 0.08);
}

#reviews .reviews-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

#reviews .reviews-c-side {
  min-width: 120px;
}

#reviews .reviews-c-side-name {
  font-size: 11px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

#reviews .reviews-c-side-hint {
  display: none;
}

#reviews .reviews-c-side-right {
  text-align: right;
}

#reviews .reviews-c-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

#reviews .reviews-c-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

#reviews .reviews-c-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15, 15, 15, 0.14);
  background: rgba(15, 15, 15, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-color 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
  color: rgba(15, 15, 15, 0.62);
}

#reviews .reviews-c-btn:hover {
  border-color: rgba(184, 149, 88, 0.36);
  color: rgba(15, 15, 15, 0.86);
  background: rgba(184, 149, 88, 0.06);
  transform: translateY(-1px);
}

#reviews .reviews-c-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px rgba(184, 149, 88, 0.32);
}

#reviews .reviews-c-btn svg {
  width: 12px;
  height: 12px;
}

#reviews .reviews-c-counter {
  display: none;
}

#reviews .reviews-c-counter span {
  color: #bbb;
}

#reviews .reviews-c-lines {
  display: flex;
  gap: 4px;
}

#reviews .reviews-c-line {
  height: 2px;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.14);
  cursor: pointer;
  transition: transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-color 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    width 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.34s cubic-bezier(0.22, 0.61, 0.36, 1);
  width: 22px;
  opacity: 0.78;
}

#reviews .reviews-c-line.on {
  background: rgba(184, 149, 88, 0.92);
  width: 30px;
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(184, 149, 88, 0.18), 0 0 14px rgba(184, 149, 88, 0.12);
}

#blog .section-head {
  margin-bottom: 30px;
}

#blog .section-head h2 {
  max-width: 24ch;
  font-family: var(--heading-font);
  font-size: var(--heading-size-2);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line);
  letter-spacing: var(--heading-letter);
  text-wrap: balance;
}

#blog .cards-grid {
  gap: 16px;
  align-items: stretch;
}

/* FAQ (reference-style) */
#faq {
  background: var(--bg);
}

#faq .container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 72px;
  padding-bottom: 84px;
}

#faq .faq-head {
  margin-bottom: 34px;
}

#faq .faq-title {
  max-width: 28ch;
}

#faq .faq-list {
  border-top: 1px solid rgba(15, 15, 15, 0.12);
}

#faq .faq-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(15, 15, 15, 0.1);
}

#faq .faq-num {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  letter-spacing: 0.02em;
  font-size: 40px;
  color: rgba(15, 15, 15, 0.18);
  line-height: 1.1;
  padding-top: 0;
}

#faq .faq-q {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  text-align: left;
}

#faq .faq-q-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

#faq .faq-q-text {
  font-size: 18px;
  font-weight: 500;
  color: rgba(15, 15, 15, 0.9);
  line-height: 1.35;
}

#faq .faq-sub {
  font-family: var(--desc-font);
  font-weight: var(--desc-weight);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(17, 22, 29, 0.55);
  max-width: 84ch;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

#faq .faq-item.is-open .faq-sub {
  -webkit-line-clamp: 4;
}

#faq .faq-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(15, 15, 15, 0.52);
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#faq .faq-q:hover .faq-icon {
  color: rgba(15, 15, 15, 0.76);
}

#faq .faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(90deg);
  color: rgba(15, 15, 15, 0.86);
}

#faq .faq-q:focus-visible {
  outline: none;
}

#faq .faq-q:focus-visible .faq-icon {
  box-shadow: 0 0 0 1px rgba(184, 149, 88, 0.34);
}

@media (max-width: 900px) {
  #faq .container {
    width: min(var(--container), calc(100% - 48px));
    padding: 0 24px;
    padding-top: 54px;
    padding-bottom: 66px;
  }
  #faq .faq-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  #faq .faq-title {
    max-width: 100%;
  }
  #faq .faq-num {
    font-size: 22px;
    padding-top: 0;
  }
}

@media (max-width: 900px) {
  #systems .systems-phone-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #systems .systems-phone-head h3 {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
    max-width: 100%;
    white-space: normal;
  }

  #systems .systems-phone-sub {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
    -webkit-line-clamp: unset;
    display: block;
  }
}

#blog .card {
  position: relative;
  border: 1px solid #d9dee4;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%);
  box-shadow: 0 8px 22px rgba(17, 22, 29, 0.05);
  padding: 22px 20px 18px;
  min-height: 288px;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

#blog .card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 149, 88, 0.36), transparent);
}

#blog .card-tag {
  margin-bottom: 12px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #8a909b;
}

#blog .card h3 {
  font-family: var(--heading-font);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  min-height: 4.2em;
}

#blog .card p {
  margin: 10px 0 16px;
  color: #5f6a77;
  line-height: 1.55;
  font-size: 14px;
  min-height: 5.1em;
}

#blog .card a {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: #1f2630;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#blog .card a::after {
  content: "→";
  font-size: 12px;
  opacity: 0.65;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (hover: hover) {
  #blog .card:hover {
    transform: translateY(-4px);
    border-color: #cfd5dd;
    box-shadow: 0 14px 34px rgba(17, 22, 29, 0.1);
  }

  #blog .card:hover a::after {
    transform: translateX(2px);
    opacity: 1;
  }
}

.project {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
}

.project-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 5px 10px;
  background: #f4efe6;
  color: #7a633f;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
}

.project h3 {
  margin: 12px 0 8px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.project p {
  margin: 0;
  color: var(--text-soft);
}

.cta-inner {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.cta-inner h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: var(--heading-size-2);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line);
  letter-spacing: var(--heading-letter);
  max-width: 13ch;
}

.cta-copy {
  margin-top: 12px;
  font-family: var(--desc-font);
  font-size: var(--desc-size);
  font-weight: var(--desc-weight);
  line-height: var(--desc-line);
  color: var(--text-soft);
  max-width: 620px;
}

.cta-chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cta-chips span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  color: #666f79;
}

.contact-form {
  display: grid;
  gap: 9px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #d8dde3;
  border-radius: 8px;
  background: #fafbfc;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 149, 88, 0.14);
}

/* Contact: 8px grid, pixel-perfect alignment */
#contact .cta-block {
  --contact-row-h: 56px;
  --contact-icon-w: 40px;
  --contact-gap: 12px;
  --contact-pad: 16px 0;
  --contact-border: 1px solid rgba(15, 15, 15, 0.08);
  display: grid;
  grid-template-columns: 1fr minmax(0, 480px);
  gap: 48px 56px;
  align-items: start;
  grid-template-areas:
    "head head"
    "left form";
}

#contact .contact-head {
  grid-area: head;
  max-width: 920px;
  margin-bottom: 8px;
}

#contact .cta-left {
  grid-area: left;
  min-width: 0;
}

#contact .cta-form-card {
  grid-area: form;
  margin-top: 0;
  min-width: 0;
}

#contact .cta-left .eyebrow {
  margin: 0 0 8px;
  font-family: var(--heading-font);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7b838e;
}

#contact .cta-left h2 {
  max-width: none;
  font-family: var(--heading-font);
  font-size: var(--heading-size-2);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line);
  letter-spacing: var(--heading-letter);
}

#contact .cta-left h2 .contact-title-line2 {
  display: inline-block;
  white-space: nowrap;
}

#contact .cta-copy {
  max-width: 430px;
  margin-bottom: 32px;
  font-family: var(--desc-font);
  font-size: var(--desc-size);
  font-weight: var(--desc-weight);
  line-height: var(--desc-line);
}

#contact .contact-rows {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  margin-top: 0;
}

#contact .contact-row-item,
#contact .cta-field-row {
  display: grid;
  grid-template-columns: var(--contact-icon-w) 1fr;
  gap: var(--contact-gap);
  align-items: center;
  padding: var(--contact-pad);
  min-height: var(--contact-row-h);
  height: var(--contact-row-h);
  box-sizing: border-box;
  border-bottom: var(--contact-border);
  background: transparent;
}

#contact .contact-row-item {
  border-top: none;
}

#contact .contact-row-item:first-child {
  border-top: var(--contact-border);
}

#contact .cta-field-row:first-of-type {
  border-top: var(--contact-border);
}

#contact .cta-field-row:focus-within {
  background: transparent;
}

#contact .contact-row-icon,
#contact .cta-field-icon {
  width: var(--contact-icon-w);
  height: var(--contact-icon-w);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(15, 15, 15, 0.36);
}

#contact .contact-row-icon svg,
#contact .cta-field-icon svg {
  width: 14px;
  height: 14px;
}

#contact .contact-row-item:hover .contact-row-icon,
#contact .cta-field-row:focus-within .cta-field-icon {
  color: rgba(15, 15, 15, 0.5);
}

#contact .contact-row-copy,
#contact .cta-field-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  min-width: 0;
}

#contact .contact-row-label {
  font-family: "Onest", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: rgba(15, 15, 15, 0.48);
}

#contact .contact-row-value,
#contact .cta-input {
  font-family: "Onest", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: rgba(15, 15, 15, 0.92);
}

#contact .cta-input {
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  width: 100%;
  height: 22px;
}

#contact .cta-input::placeholder {
  color: rgba(15, 15, 15, 0.48);
}

#contact .cta-field-label {
  display: none;
}

#contact .cta-field-row.textarea {
  height: auto;
  min-height: 88px;
  align-items: flex-start;
  padding-top: 16px;
  padding-bottom: 16px;
}

#contact .cta-field-row.textarea .cta-field-icon {
  margin-top: 2px;
}

#contact .cta-textarea {
  resize: none;
  min-height: 56px;
  padding: 0;
  font-family: "Onest", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

#contact .cta-connector {
  display: none;
}

#contact .contact-promises {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#contact .contact-promises span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Onest", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(15, 15, 15, 0.6);
}

#contact .contact-promises span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

#contact .cta-form-card::before,
#contact .cta-form-head {
  display: none;
}

#contact .contact-form-dark {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

#contact .cta-form-foot {
  margin: 0;
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: transparent;
}

#contact .cta-accept {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

#contact .cta-accept-check {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #111;
  flex-shrink: 0;
}

#contact .cta-accept-text {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(15, 15, 15, 0.68);
}

#contact .cta-accept-text a {
  color: #1f2b3a;
  text-underline-offset: 2px;
}

#contact .cta-form-note {
  display: none;
}

#contact .cta-submit-btn {
  position: relative;
  appearance: none;
  border: 0;
  cursor: pointer;
  background: #0f0f0f;
  color: var(--accent);
  padding: 16px 56px;
  min-width: 320px;
  border-radius: 0;
  font-family: "Onest", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.35s ease;
  box-shadow: 0 1px 3px rgba(15, 15, 15, 0.08);
}

#contact .cta-submit-btn::before {
  content: none;
  display: none;
}

#contact .cta-submit-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(184, 149, 88, 0.12) 50%,
    transparent 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-position: 150% 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, background-position 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#contact .cta-submit-btn:hover {
  background: #141414;
  color: var(--accent);
  box-shadow: 0 6px 28px rgba(15, 15, 15, 0.2), 0 0 0 1px rgba(184, 149, 88, 0.15), inset 0 1px 0 rgba(184, 149, 88, 0.08);
  transform: translateY(-3px);
  letter-spacing: 0.08em;
}

#contact .cta-submit-btn:hover::after {
  opacity: 1;
  background-position: -50% 0;
}

#contact .cta-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(15, 15, 15, 0.1);
}

#contact .cta-submit-btn:active::after {
  opacity: 0;
}

/* AmoCRM embedded form styling (premiсum tech-minimal) */
#contact .cta-form-card .amo-contact-form-host {
  width: 100%;
}

/* Amo iframe container (external chrome) */
#contact .cta-form-card .amo-contact-form-host iframe {
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Inputs / textarea */
#contact .cta-form-card .amo-contact-form-host input,
#contact .cta-form-card .amo-contact-form-host textarea,
#contact .cta-form-card .amo-contact-form-host select {
  font-family: "Onest", sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: rgba(15, 15, 15, 0.92) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(15, 15, 15, 0.08) !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  height: 56px !important;
  min-height: 56px !important;
}

#contact .cta-form-card .amo-contact-form-host textarea {
  resize: none !important;
  height: auto !important;
  min-height: 78px !important;
}

#contact .cta-form-card .amo-contact-form-host input::placeholder,
#contact .cta-form-card .amo-contact-form-host textarea::placeholder {
  color: rgba(15, 15, 15, 0.48) !important;
}

/* Focus: no visual shift (color only) */
#contact .cta-form-card .amo-contact-form-host input:focus,
#contact .cta-form-card .amo-contact-form-host textarea:focus,
#contact .cta-form-card .amo-contact-form-host select:focus {
  outline: none !important;
  border-bottom-color: rgba(184, 149, 88, 0.55) !important;
}

/* If Amo uses wrappers with bottom border */
#contact .cta-form-card .amo-contact-form-host .amocrm-form input,
#contact .cta-form-card .amo-contact-form-host .amocrm-form textarea,
#contact .cta-form-card .amo-contact-form-host .amocrm-form select {
  border-bottom: 1px solid rgba(15, 15, 15, 0.08) !important;
}

/* Labels / helper text */
#contact .cta-form-card .amo-contact-form-host label {
  font-family: "Onest", sans-serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.3 !important;
  color: rgba(15, 15, 15, 0.48) !important;
  text-transform: uppercase;
}

/* Button */
#contact .cta-form-card .amo-contact-form-host button[type="submit"],
#contact .cta-form-card .amo-contact-form-host input[type="submit"],
#contact .cta-form-card .amo-contact-form-host button {
  font-family: "Onest", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  background: #0f0f0f !important;
  color: var(--accent) !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 16px 56px !important;
  min-width: 320px !important;
  line-height: 1.2 !important;
  box-shadow: 0 1px 3px rgba(15, 15, 15, 0.08) !important;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

#contact .cta-form-card .amo-contact-form-host button[type="submit"]::after,
#contact .cta-form-card .amo-contact-form-host input[type="submit"]::after,
#contact .cta-form-card .amo-contact-form-host button::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(184, 149, 88, 0.14) 50%,
    transparent 60%,
    transparent 100%
  ) !important;
  background-size: 200% 100% !important;
  background-position: 150% 0 !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: opacity 0.4s ease, background-position 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

#contact .cta-form-card .amo-contact-form-host button[type="submit"]:hover,
#contact .cta-form-card .amo-contact-form-host input[type="submit"]:hover,
#contact .cta-form-card .amo-contact-form-host button:hover {
  background: #141414 !important;
  color: var(--accent) !important;
  box-shadow: 0 4px 20px rgba(15, 15, 15, 0.15), 0 0 0 1px rgba(184, 149, 88, 0.08) !important;
  transform: translateY(-2px) !important;
}

#contact .cta-form-card .amo-contact-form-host button[type="submit"]:hover::after,
#contact .cta-form-card .amo-contact-form-host input[type="submit"]:hover::after,
#contact .cta-form-card .amo-contact-form-host button:hover::after {
  opacity: 1 !important;
  background-position: -50% 0 !important;
}

/* Remove potential arrow svg inside Amo button */
#contact .cta-form-card .amo-contact-form-host button svg,
#contact .cta-form-card .amo-contact-form-host button .amo-button__arrow,
#contact .cta-form-card .amo-contact-form-host button img {
  display: none !important;
}

@media (max-width: 720px) {
  #contact .cta-form-card .amo-contact-form-host button[type="submit"],
  #contact .cta-form-card .amo-contact-form-host input[type="submit"],
  #contact .cta-form-card .amo-contact-form-host button {
    width: 100% !important;
    min-width: 0 !important;
  }
}

.site-footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.6);
  border-top: none;
  padding: 0;
}

.footer-top {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(184, 149, 88, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
}

.footer-tagline {
  font-family: var(--desc-font);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  max-width: 300px;
  margin: 0;
}

.footer-heading {
  font-family: var(--heading-font);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

.footer-nav,
.footer-legal,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a,
.footer-legal a,
.footer-contact a {
  font-family: "Onest", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--accent);
  border-color: rgba(184, 149, 88, 0.4);
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-inner p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-location {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.25);
}

.floating-messengers {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 30;
}

.msgr-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(15, 15, 15, 0.18);
  color: #fff;
  opacity: 0.76;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.msgr-wa {
  background: #22c35e;
}

.msgr-tg {
  background: #1b8fd4;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* legacy footer-inner removed — replaced by footer-grid */

.fade-up {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  filter: blur(6px);
  will-change: transform, opacity, filter;
  transition: opacity 0.78s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.78s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.78s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  filter: blur(6px);
  will-change: transform, opacity, filter;
  transition: opacity 0.78s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.78s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.78s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .reveal {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

@media (max-width: 1100px) {
  .desktop-cta {
    display: none;
  }

  .cards-grid,
  .tech-grid,
  .portfolio-grid,
  .projects-grid,
  .cta-inner,
  .cta-block {
    grid-template-columns: 1fr 1fr;
  }

  .about-manifest-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .mega-menu {
    display: none;
  }

}

@media (max-width: 760px) {
  #contact .contact-row-item,
  #contact .cta-field-row {
    grid-template-columns: 28px 1fr;
    gap: 10px;
    min-height: 62px;
    height: auto;
    padding: 12px 0;
  }

  #contact .contact-row-copy,
  #contact .cta-field-copy {
    align-items: flex-start;
    text-align: left;
  }

  #contact .contact-row-label {
    margin: 0 0 1px;
  }

  #contact .contact-row-item:nth-child(1) .contact-row-value,
  #contact .contact-row-item:nth-child(2) .contact-row-value {
    white-space: nowrap;
  }

  #contact .contact-row-item:nth-child(3) .contact-row-value {
    white-space: normal;
    line-height: 1.35;
  }

  .site-header {
    width: 100%;
    top: 0;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
    padding: 0 14px;
  }

  .cards-grid,
  .tech-grid,
  .portfolio-grid,
  .projects-grid,
  .cta-inner,
  .cta-block {
    grid-template-columns: 1fr;
  }

  /* Contact: fix grid placement on single column */
  #contact .cta-block {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "left"
      "form";
    gap: 22px 0;
  }

  .about-manifest-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-statement {
    max-width: 100%;
    font-size: clamp(28px, 9vw, 46px);
  }

  .about-principle {
    padding: 18px 18px;
  }

  .hero {
    height: auto;
    min-height: 80vh;
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .hero-inner {
    width: min(var(--container), calc(100% - 28px));
    min-height: calc(80vh - 40px);
    padding: 24px clamp(24px, 6vw, 80px) 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    align-items: flex-start;
  }

  .hero h1 {
    white-space: normal;
  }

  .hero .hero-title-line2 {
    white-space: normal;
    display: inline;
  }

  .hero-lead {
    margin-top: 16px;
    max-width: min(500px, 100%);
  }

  .hero-left {
    position: static;
    bottom: auto;
    left: auto;
  }

  .hero-right {
    position: static;
    right: auto;
    bottom: auto;
    order: 2;
    align-items: flex-start;
  }

  .hero-cities {
    gap: 6px 12px;
    margin-bottom: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    margin-bottom: 0;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    min-width: 0;
    width: auto;
    justify-content: flex-start;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

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

  .hero-pains-wrap {
    width: min(var(--container), calc(100% - 28px));
    margin-top: 10px;
  }

  .hero-pain {
    min-height: 120px;
    padding: 16px;
  }

  .hero-pain p {
    font-size: 15px;
  }

  .hero-pain:last-child {
    border-bottom: 0;
  }

  #services .section-header {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 24px;
    margin-bottom: 20px;
  }

  #services .header-desc {
    font-size: 13px;
    line-height: 1.6;
  }

  #services .services-grid,
  #services .bottom-strip {
    grid-template-columns: 1fr;
  }

  #services .card {
    min-height: 0;
    padding: 22px 18px 18px;
  }

  #services .card h3 {
    font-size: 18px;
    line-height: 1.15;
  }

  #services .bs-item {
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid #e4e1d8;
  }

  #services .bs-item:last-child {
    border-bottom: 0;
  }

  #systems .tech-grid {
    gap: 14px;
  }

  #systems .systems-stack-card {
    border-radius: 12px;
  }

  #systems .systems-stack-head {
    padding: 14px 14px;
  }

  #systems .systems-layer-main {
    grid-template-columns: 40px 1fr auto;
    gap: 10px;
    padding: 10px 8px;
  }

  #systems .systems-layer-icon {
    width: 40px;
    height: 40px;
  }

  #systems .systems-layer-name {
    font-size: 13px;
  }

  #systems .systems-layer-hint {
    font-size: 10px;
  }

  #systems .systems-stack-foot {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #systems .tech-copy h2 {
    max-width: 13ch;
    font-size: clamp(26px, 8vw, 40px);
  }

  #systems .tech-copy p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.58;
  }

  #systems .tech-copy li {
    margin-bottom: 7px;
    font-size: 14px;
    line-height: 1.5;
  }

  #systems .systems-phone-showcase {
    margin-top: 48px;
  }

  #systems .systems-phone-head h3 {
    font-size: clamp(22px, 7vw, 30px);
  }

  #systems .systems-phone-sub {
    font-size: 13px;
    line-height: 1.55;
  }

  #systems .systems-monitoring-hero {
    min-height: 0;
  }

  #systems .systems-monitor-slider {
    margin-top: 42px;
  }

  #systems .systems-phone-head {
    max-width: 100%;
    margin-bottom: 18px;
    padding-top: 4px;
  }

  #systems .systems-phone-head h3 {
    font-size: clamp(26px, 8.4vw, 36px);
    line-height: 1.06;
    max-width: 20ch;
  }

  #systems .systems-phone-sub {
    font-size: 13px;
    line-height: 1.55;
    max-width: 42ch;
  }

  #systems .systems-phone-head .eyebrow::before,
  #systems .systems-phone-head .eyebrow::after {
    width: 12px;
  }

  #systems .systems-slider-viewport {
    cursor: default;
    --slide-x: 160px;
    min-height: 560px;
  }

  #systems .monitor-slide {
    width: min(58vw, 232px);
    margin-left: calc(min(58vw, 232px) / -2);
  }

  #systems .systems-slider-track {
    height: 540px;
  }

  #systems .monitor-phone {
    border-radius: 30px;
    padding: 8px;
  }

  #systems .monitor-phone::before {
    content: none;
  }

  #systems .monitor-phone::after {
    border-radius: 30px;
  }

  #systems .monitor-phone img {
    border-radius: 22px;
  }

  #portfolio .portfolio-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
  }

  #portfolio .portfolio-card-visual,
  #portfolio .portfolio-card.featured .portfolio-card-visual {
    height: 154px;
  }

  #portfolio .portfolio-card-body {
    padding: 16px 16px 14px;
  }

  #portfolio .portfolio-card-foot {
    padding: 10px 16px;
  }

  #portfolio .portfolio-stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 16px;
  }

  #portfolio .portfolio-stats > div {
    padding: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  #portfolio .portfolio-stats > div:nth-child(2n) {
    border-right: 0;
  }

  #portfolio .portfolio-stats > div:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  #reviews .reviews-head {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  #reviews .reviews-head-left h2 {
    white-space: normal;
  }

  #reviews .reviews-head-right {
    margin-top: 12px;
    margin-bottom: 0;
  }

  #reviews .reviews-slide {
    grid-template-columns: 1fr;
  }

  #reviews .reviews-card {
    padding: 20px 18px 18px;
  }

  #reviews .reviews-c-q {
    font-size: 16px;
    margin-bottom: 18px;
  }

  #reviews .reviews-stat-row {
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 0;
  }

  #reviews .reviews-ss {
    display: none;
  }

  #reviews .reviews-controls {
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 20px;
  }

  #reviews .reviews-c-side {
    min-width: 0;
    order: 3;
    width: 100%;
  }

  #reviews .reviews-c-side-right {
    text-align: left;
  }

  #blog .section-head {
    margin-bottom: 22px;
  }

  #blog .card {
    min-height: 0;
    padding: 18px 16px 14px;
  }

  #blog .card h3 {
    min-height: 0;
    font-size: 17px;
  }

  #blog .card p {
    min-height: 0;
    font-size: 13px;
  }

  #contact .cta-form-card {
    margin-top: 0;
    border-radius: var(--radius);
  }

  #contact .cta-form-head {
    display: none;
  }

  #contact .contact-form-dark {
    padding: 0;
  }

  #contact .cta-form-foot {
    margin: 0;
    padding: 24px 0 0;
  }

  #contact .cta-submit-btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .floating-messengers {
    right: 12px;
    bottom: 12px;
  }

  .msgr-btn {
    width: 36px;
    height: 36px;
  }

  .mobile-lang-switch {
    display: flex;
    width: calc(100% - 88px);
    margin: 18px 44px 0;
    padding-top: 18px;
    border-top: 1px solid #d9dde3;
    gap: 14px;
    justify-content: flex-start;
  }

  .lang-btn-mobile {
    appearance: none;
    border: 0;
    background: transparent;
    color: #6a717c;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    min-width: 34px;
    padding: 6px 0;
    cursor: pointer;
  }

  .lang-btn-mobile.active {
    color: #111;
  }
}

/* Systems block redesign */
#systems {
  padding: 0;
  background: #141414;
  border-top: 0;
  border-bottom: 0;
}

#systems .systems-modern-head {
  background: #141414;
  padding: 52px 0 0;
  position: relative;
  overflow: hidden;
}

#systems .systems-modern-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 15%, #c4a24a 50%, transparent 85%);
  opacity: 0.4;
}

#systems .systems-modern-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 0;
}

#systems .systems-modern-left .h-label {
  font-family: var(--heading-font);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  margin-bottom: 14px;
}

#systems .systems-modern-left h2 {
  font-family: var(--heading-font);
  font-size: var(--heading-size-2);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-letter);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  line-height: var(--heading-line);
  max-width: 22ch;
}

#systems .systems-modern-left h2 .title-line2 {
  white-space: nowrap;
}

#systems .systems-modern-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  padding-top: 0;
}

#systems .systems-modern-right .h-desc {
  font-family: var(--desc-font);
  font-size: var(--desc-size);
  font-weight: var(--desc-weight);
  line-height: var(--desc-line);
  color: rgba(255, 255, 255, 0.45);
  max-width: 340px;
  text-align: right;
}

#systems .systems-modern-right .h-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 162, 74, 0.1);
  border: 1px solid rgba(196, 162, 74, 0.22);
  color: #c4a24a;
  padding: 10px 20px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease;
}

#systems .systems-modern-right .h-cta:hover {
  background: rgba(196, 162, 74, 0.2);
}

#systems .sys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin-top: 40px;
}

#systems .sys-item {
  background: #141414;
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: background 0.2s ease;
}

#systems .sys-item:hover {
  background: #1a1a1a;
}

#systems .sys-item::before {
  content: none;
}

#systems .si-num {
  font-family: var(--heading-font);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.1em;
}

#systems .si-name {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

#systems .si-val {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 800;
  color: #c4a24a;
  letter-spacing: -0.025em;
  line-height: 1;
}

#systems .si-val .u {
  font-size: 11px;
  font-weight: 400;
  color: rgba(196, 162, 74, 0.5);
}

#systems .si-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.22);
  margin-top: -6px;
}

#systems .si-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 4px;
}

#systems .si-tag {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 3px;
}

#systems .si-img-wrap {
  margin-top: auto;
  border-radius: 6px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, #d4aa52 0%, #a07828 55%, #3a2500 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 60%, transparent 100%);
  box-shadow: 0 0 32px 0 rgba(196,162,74,0.18);
}

#systems .si-img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  filter: contrast(1.08) brightness(1.05);
}

#systems .systems-detail-wrap {
  background: #141414;
  padding-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

#systems .systems-phone-showcase {
  margin-top: 72px;
}

#systems .systems-monitoring-hero {
  border-top: 0;
  border-bottom: 0;
  background: #141414;
}

#systems .systems-monitoring-hero::before {
  content: none;
}

#systems .systems-slider-viewport {
  perspective: none;
  transform-style: flat;
}

#systems .systems-slider-viewport::before {
  content: none;
}

#systems .monitor-slide::after {
  content: none;
}

#systems .monitor-slide.pos-left {
  transform: translateX(calc(var(--slide-x) * -1)) translateY(16px) scale(0.9);
  opacity: 0.62;
  filter: brightness(0.78);
}

#systems .monitor-slide.pos-right {
  transform: translateX(var(--slide-x)) translateY(16px) scale(0.9);
  opacity: 0.62;
  filter: brightness(0.78);
}

#systems .monitor-slide.pos-hidden-left {
  transform: translateX(calc(var(--slide-x) * -1.75)) translateY(26px) scale(0.82);
  filter: brightness(0.65);
}

#systems .monitor-slide.pos-hidden-right {
  transform: translateX(calc(var(--slide-x) * 1.75)) translateY(26px) scale(0.82);
  filter: brightness(0.65);
}

#systems .systems-slider-viewport:hover .monitor-slide.pos-center {
  transform: translateX(0) translateY(0) scale(1) rotateY(0deg);
}

#systems .monitor-phone {
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(145deg, #1a1d24 0%, #0d0f13 50%, #1a1d24 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#systems .monitor-phone::before {
  content: none;
}

#systems .monitor-phone::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 5;
}

#systems .monitor-phone img {
  border-radius: 32px;
  filter: brightness(0.96) contrast(1.01) saturate(0.98);
}

#systems .monitor-slide.pos-center .monitor-phone {
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.5),
    0 8px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#systems .monitor-slide.pos-left .monitor-phone,
#systems .monitor-slide.pos-right .monitor-phone {
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

#systems .detail-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

#systems .detail-row:last-child {
  border-bottom: 0;
}

#systems .detail-row.brands-only {
  grid-template-columns: 1fr;
}

#systems .dr-label {
  padding: 28px 28px 28px 52px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--heading-font);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  align-self: start;
}

#systems .dr-content {
  padding: 28px 52px 28px 40px;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.brand-marquee-section {
  background: var(--bg-alt);
  border: none;
  padding: 48px 0 42px;
  overflow: hidden;
}

.brands-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2px 0;
}

.brands-marquee::before,
.brands-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 140px);
  pointer-events: none;
  z-index: 2;
}

.brands-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(246, 247, 248, 0.98) 0%, rgba(246, 247, 248, 0) 100%);
}

.brands-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(246, 247, 248, 0.98) 0%, rgba(246, 247, 248, 0) 100%);
}

.brands-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 120px;
  animation: systems-brands-marquee 24s linear infinite;
}

.brand-logo {
  width: 178px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.88;
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0.48);
}

@keyframes systems-brands-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 36px));
  }
}

#systems .dr-spec {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

#systems .dr-icon {
  color: #d4b25f;
  flex-shrink: 0;
  line-height: 0;
  filter: drop-shadow(0 1px 8px rgba(196, 162, 74, 0.16));
  transition: color 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

#systems .dr-spec:hover .dr-icon {
  color: #f2d68d;
  transform: translateY(-1px);
  filter: drop-shadow(0 2px 10px rgba(196, 162, 74, 0.28));
}

#systems .dr-icon svg {
  display: block;
  width: 40px;
  height: 40px;
}

#systems .dr-val {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.025em;
  line-height: 1;
}

#systems .dr-val.g {
  color: #c4a24a;
}

#systems .dr-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}

#systems .dr-div {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

#systems .brand-tag {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 5px;
  letter-spacing: 0.02em;
}

@media (max-width: 1120px) {
  .brand-marquee-section {
    padding: 40px 0 34px;
  }

  #systems .systems-modern-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  #systems .systems-modern-right {
    align-items: flex-start;
  }

  #systems .systems-modern-right .h-desc {
    text-align: left;
  }

  #systems .sys-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #systems .detail-row {
    grid-template-columns: 1fr;
  }

  #systems .dr-label {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 18px 24px 14px;
  }

  #systems .dr-content {
    padding: 20px 24px;
    gap: 20px;
  }

  .brands-track {
    gap: 92px;
    animation-duration: 22s;
  }

  .brand-logo {
    width: 160px;
    height: 38px;
  }
}

@media (max-width: 760px) {
  .brand-marquee-section {
    padding: 28px 0 24px;
  }

  #systems .systems-modern-head {
    padding-top: 36px;
  }

  #systems .sys-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  #systems .dr-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .brands-track {
    gap: 64px;
    animation-duration: 20s;
  }

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

  #systems .dr-div {
    display: none;
  }
}

/* Portfolio table redesign */
#portfolio .portfolio-table-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e4e1d8;
}

#portfolio .portfolio-table-head .eyebrow {
  margin-bottom: 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #777;
}

#portfolio .portfolio-table-head h2 {
  font-family: var(--heading-font);
  font-size: var(--heading-size-2);
  font-weight: var(--heading-weight);
  letter-spacing: var(--heading-letter);
  line-height: var(--heading-line);
  color: #0f0f0f;
  max-width: 28ch;
}

#portfolio .portfolio-table-all-link {
  align-self: flex-end;
  margin-bottom: 6px;
  white-space: nowrap;
  text-decoration: none;
  font-size: 12px;
  color: #777;
  border-bottom: 1px solid #e4e1d8;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

#portfolio .portfolio-table-all-link:hover {
  color: #0f0f0f;
  border-color: #777;
}

#portfolio .portfolio-table-list {
  display: flex;
  flex-direction: column;
}

#portfolio .portfolio-table-row {
  display: grid;
  grid-template-columns: 1fr 160px 160px 120px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid #e4e1d8;
  position: relative;
  cursor: pointer;
}

#portfolio .portfolio-table-row::before {
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: 0;
  bottom: 0;
  background: transparent;
  transition: background 0.15s ease;
  z-index: -1;
}

#portfolio .portfolio-table-row:hover::before {
  background: rgba(0, 0, 0, 0.02);
}

#portfolio .pt-idx {
  display: none;
}

#portfolio .pt-main {
  padding-right: 32px;
}

#portfolio .pt-type {
  font-size: 10px;
  color: #777;
  font-weight: 300;
  margin-bottom: 5px;
}

#portfolio .pt-name {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: var(--heading-weight);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0f0f0f;
}

#portfolio .pt-val {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: var(--heading-weight);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0f0f0f;
}

#portfolio .pt-val .u {
  font-size: 13px;
  color: #777;
  font-style: normal;
}

#portfolio .pt-val-lbl {
  margin-top: 2px;
  font-size: 10px;
  color: #777;
  font-weight: 300;
}

#portfolio .pt-result {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: var(--heading-weight);
  color: #c4a24a;
  letter-spacing: -0.03em;
}

#portfolio .pt-result-lbl {
  margin-top: 2px;
  font-size: 10px;
  color: #777;
  font-weight: 300;
}

#portfolio .pt-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

#portfolio .pt-loc {
  font-size: 10px;
  color: #bbb;
  font-weight: 300;
}

#portfolio .pt-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #777;
  text-decoration: none;
  border-bottom: 0;
  padding-bottom: 0;
}

#portfolio .pt-link::after {
  content: "→";
  font-size: 10px;
}

#portfolio .portfolio-table-row:hover .pt-link {
  color: #0f0f0f;
  border-color: #777;
}

#portfolio .portfolio-stat-row {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 28px 0;
}

#portfolio .portfolio-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

#portfolio .portfolio-stat-val {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: var(--heading-weight);
  color: #0f0f0f;
  letter-spacing: -0.03em;
}

#portfolio .portfolio-stat-val.g {
  color: #c4a24a;
}

#portfolio .portfolio-stat-lbl {
  font-size: 11px;
  color: #777;
  font-weight: 300;
}

#portfolio .portfolio-stat-sep {
  width: 1px;
  height: 20px;
  background: #e4e1d8;
}

@media (max-width: 1120px) {
  #portfolio .portfolio-table-row {
    grid-template-columns: 1fr 130px 130px 96px;
  }

  #portfolio .portfolio-stat-row {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 760px) {
  #portfolio .portfolio-table-head {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 22px;
  }

  #portfolio .portfolio-table-all-link {
    align-self: flex-start;
    margin-bottom: 0;
  }

  #portfolio .portfolio-table-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  #portfolio .pt-main {
    padding-right: 0;
  }

  #portfolio .pt-action {
    align-items: flex-start;
  }

  #portfolio .portfolio-stat-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  #portfolio .portfolio-stat-sep {
    display: none;
  }
}

/* Premium CTA Section */
.cta-premium {
  background: linear-gradient(180deg, #f5f5f3 0%, #ebebe8 100%);
  padding: 100px 0 80px;
}

.cta-premium-head {
  margin-bottom: 60px;
}

.cta-premium-title {
  font-family: var(--heading-font);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0 0 20px;
}

.cta-premium-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  max-width: 600px;
  margin: 0;
}

.cta-premium-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.cta-premium-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-title {
  font-family: "Onest", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #1a1a1a;
  margin: 0 0 20px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info-item {
  text-decoration: none;
  font-size: 16px;
  color: #333;
  transition: color 0.2s ease;
}

.contact-info-item:hover {
  color: #000;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.social-link:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.social-link:hover {
  color: #000;
  padding-left: 4px;
}

.social-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.social-link:hover svg {
  opacity: 1;
}

.office-address {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

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

.form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.form-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a1a1a;
}

.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
}

.premium-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-field {
  border-bottom: 1px solid #e0e0e0;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 20px 0;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #1a1a1a;
  outline: none;
  font-family: inherit;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #999;
}

.form-field textarea {
  resize: none;
  min-height: 80px;
}

.form-accept {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 25px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
}

.form-accept input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #1a1a1a;
}

.form-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(0, 0, 0, 0.2);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}

.form-link:hover {
  color: #000;
  text-decoration-color: rgba(0, 0, 0, 0.6);
}

.premium-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 25px;
  padding: 20px 24px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.premium-submit:hover {
  background: #333;
}

.premium-submit svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .cta-premium-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .cta-premium {
    padding: 60px 0;
  }

  .cta-premium-title {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .main-nav {
    width: 100%;
    min-width: 0;
    padding: 80px 32px 48px;
  }
}

/* ── Success Modal ─────────────────────────────────────────── */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.success-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.success-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.success-modal-card {
  position: relative;
  z-index: 1;
  background: #141414;
  border: 1px solid rgba(196, 162, 74, 0.2);
  border-radius: 12px;
  padding: 48px 40px 40px;
  max-width: 420px;
  width: calc(100% - 32px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(196,162,74,0.08);
}

.success-modal.is-open .success-modal-card {
  transform: translateY(0) scale(1);
}

.success-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  transition: color 0.2s;
}

.success-modal-close:hover {
  color: rgba(255, 255, 255, 0.8);
}

.success-modal-icon {
  margin-bottom: 4px;
}

.success-modal-icon svg circle {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 0.6s ease 0.1s;
}

.success-modal-icon svg polyline {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  transition: stroke-dashoffset 0.4s ease 0.5s;
}

.success-modal.is-open .success-modal-icon svg circle,
.success-modal.is-open .success-modal-icon svg polyline {
  stroke-dashoffset: 0;
}

.success-modal-title {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
}

.success-modal-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
  max-width: 320px;
}

.success-modal-btn {
  margin-top: 8px;
  background: #c4a24a;
  color: #0a0a0a;
  border: none;
  border-radius: 6px;
  padding: 14px 32px;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.success-modal-btn:hover {
  background: #d4b05a;
  transform: translateY(-1px);
}

body.modal-open {
  overflow: hidden;
}
