﻿:root {
  --bg: #0f172a;
  --bg-2: #141f3a;
  --bg-3: #1a2547;
  --card: #ffffff;
  --text: #ffffff;
  --text-dark: #0f172a;
  --muted: #cbd5f5;
  --accent: #f5a623;
  --accent-2: #f59f1a;
  --blue: #1d4ed8;
  --shadow: 0 18px 40px rgba(9, 15, 36, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: #f2f3f8;
  color: var(--text-dark);
  line-height: 1.4;
}

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

button,
input {
  font-family: inherit;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.header {
  background: linear-gradient(180deg, #151d37 0%, #121a32 100%);
  color: var(--text);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.logo {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 20px;
}

.logo__accent {
  color: var(--accent);
}

.logo__light {
  color: #f59f1a;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  opacity: 0.9;
  justify-content: center;
  justify-self: center;
}

.nav a {
  padding: 6px 0;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__search {
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 13px;
  letter-spacing: 0.3px;
  cursor: pointer;
  position: relative;
  padding-left: 20px;
}

.header__search::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  transform: translateY(-60%);
}

.header__search::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 7px;
  height: 2px;
  background: #e2e8f0;
  transform: translateY(2px) rotate(45deg);
  border-radius: 999px;
}

.header__badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f8fafc;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
  color: var(--text);
  padding: 170px 0 170px;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero__content {
  max-width: 420px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
}

.hero__company {
  color: #172244;
}

.hero__tagline {
  font-size: 24px;
  margin: 18px 0 30px;
  letter-spacing: 1px;
  line-height: 1.3;
  color: #0f172a;
}

.accent {
  color: var(--accent);
}

.hero__actions {
  display: flex;
  gap: 14px;
}

.btn {
  border: none;
  padding: 12px 26px;
  border-radius: 0;
  font-weight: 600;
  cursor: pointer;
}

.btn--hero {
  background: #f59f1a;
  color: #ffffff;
}

.btn--primary {
  background: var(--accent-2);
  color: #111827;
}

.btn--ghost {
  background: #172244;
  color: #ffffff;
  border: 1px solid #e2e8f0;
}

.btn--store {
  background: #ffffff;
  color: #000000;
  padding: 15px 41px 15px 41px;
  border-radius: 0;
  font-size: 14px;
  border: 2px solid #f8a324;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn--wide {
  width: 100%;
  padding: 14px 22px;
}

.hero__logo img {
  width: 100%;
  max-width: 120px;
  display: block;
  margin-left: auto;
  filter: none;
  height: auto;
}

.chat-fab {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-2);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 999;
}

.chat-fab__icon {
  width: 22px;
  height: 16px;
  border-radius: 6px;
  background: #ffffff;
  position: relative;
}

.chat-fab__icon::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -5px;
  border: 6px solid transparent;
  border-top-color: #ffffff;
}

.stats {
  background: linear-gradient(180deg, #131d39 0%, #172244 100%);
  color: var(--text);
  padding: 16px 0 8px;
}

.stats__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stats__line {
  width: 90px;
  height: 3px;
  background: var(--accent);
  margin-top: 8px;
}

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

.stat__value {
  font-size: 120px;
  font-weight: 1000;
  line-height: 1;
  margin-bottom: 2px;
}

.stat__label {
  font-size: 15px;
  color: var(--muted);
}

.about {
  padding: 10px 0 0;
  background: #f6f7fb;
}

.about-video {
  background: #0f172a;
  padding: 0;
  margin: 0;
}

.about-video__wrap {
  position: relative;
  width: 100%;
  height: min(520px, 70vh);
  overflow: hidden;
}

.about-video__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-video__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 20px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.45);
}

.about-video__title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  max-width: 820px;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.about h2 {
  font-size: 30px;
  margin-bottom: 18px;
}

.about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about__card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  font-size: 14px;
  color: #2d364d;
}

.about__dots {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.about__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f4a12a;
}

.about__image img {
  width: 100%;
  max-width: 340px;
  display: block;
  margin-left: auto;
  height: auto;
  object-fit: contain;
}

.about__image {
  display: flex;
  align-items: flex-end;
}

.app {
  padding: 20px 0 0;
  background: #0f172a;
  position: relative;
  z-index: 2;
  box-shadow: 0 22px 40px rgba(9, 15, 36, 0.25);
}

.app__card {
  background: #0f172a;
  border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  align-items: center;
  box-shadow: none;
  position: relative;
}

.app__content {
  padding: 0 0 28px;
  color: #ffffff;
}

.app__content h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.app__sub {
  font-size: 14px;
  color: #ffffff;
}

.app__line {
  width: 100%;
  height: 2px;
  background: var(--accent);
  margin: 14px 0;
}

.app__list {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  color: #ffffff;
  font-size: 14px;
}

.app__store {
  display: grid;
  gap: 10px;
  margin-top: 0;
  font-size: 12px;
  color: #6b7280;
  grid-column: 1 / -1;
  padding: 10px 0 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
}

.app__rustore {
  font-size: 11px;
  color: #94a3b8;
  width: min(1100px, 92%);
  margin: 0 auto;
}

.app__download {
  background: #ff9f0f;
  border-radius: 0;
  padding: 12px 0;
  color: #e2e8f0;
  width: 100%;
}

.app__download-inner {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  gap: 14px;
  align-items: center;
  color: #ffffff;
}

.btn__icon {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: transparent url("assets/rustore6880 1.png") center/100% no-repeat;
  flex: 0 0 auto;
}


.app__download span {
  font-size: 11px;
  line-height: 1.3;
}

.app__logo {
  background: transparent;
  border-radius: 16px;
  display: grid;
  place-items: center;
  padding: 18px;
}

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

.features {
  padding: 0;
  background: #f6f7fb;
  position: relative;
  z-index: 1;
  margin-top: -12px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature {
  background: #ffffff;
  padding: 100px 26px 44px;
  border-radius: 0;
  text-align: center;
  box-shadow: none;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature:nth-child(2) {
  box-shadow: 0 18px 40px rgba(9, 15, 36, 0.35);
  position: relative;
  z-index: 2;
}

.feature__icon {
  width: 90px;
  height: 90px;
  border: none;
  border-radius: 0;
  margin: 0 auto 22px;
  position: relative;
  background: center/contain no-repeat;
}

.feature__icon--laptop {
  border-radius: 10px 10px 18px 18px;
}

.feature__icon--fast {
  border-radius: 6px;
  transform: skew(-10deg);
}

.feature__icon--home {
  background-image: url("assets/home_vector.png");
}

.feature__icon--laptop {
  background-image: url("assets/pc_vector.png");
}

.feature__icon--fast {
  background-image: url("assets/stroke_vector.png");
}

.feature h4 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature p {
  font-size: 14px;
  color: #475569;
}

.benefits {
  padding: 60px 0;
  background: #f6f7fb;
}

.benefits__title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 30px;
  color: #0f172a;
}

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

.benefit {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 24px 20px;
  display: grid;
  gap: 10px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  border-radius: 0;
}

.benefit__icon {
  width: 44px;
  height: 44px;
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 14px;
  border-radius: 0;
}

.benefit h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.benefit p {
  font-size: 13px;
  color: #475569;
  line-height: 1.4;
}

.cta {
  background: linear-gradient(180deg, #16203f 0%, #101a34 100%);
  color: #ffffff;
  padding: 50px 0;
}

.cta__content {
  text-align: center;
}

.cta__content h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.cta__content p {
  color: #c7d2fe;
  font-size: 14px;
  margin-bottom: 20px;
}

.cta__form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.cta__form input {
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
}

.btn--submit {
  grid-column: 1 / -1;
  width: 220px;
  justify-self: center;
  margin-top: 8px;
}

.cta small {
  color: #94a3b8;
  display: block;
  margin-top: 4px;
  font-size: 11px;
}

.cta__link {
  color: #e11d48;
  text-decoration: underline;
  text-decoration-color: #e11d48;
}

.cta__link:hover {
  color: #f43f5e;
  text-decoration-color: #f43f5e;
}

.footer {
  background: #ffffff;
  padding: 28px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.contacts-hero {
  background: #ffffff;
  padding: 80px 0 40px;
}

.contacts-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contacts-hero__info h1 {
  font-size: 44px;
  margin-bottom: 18px;
  color: #0f172a;
}

.contacts-hero__list {
  display: grid;
  gap: 10px;
  font-size: 20px;
  color: #0f172a;
  margin-bottom: 26px;
}

.contacts-hero__address {
  font-size: 18px;
  color: #0f172a;
  line-height: 1.5;
  margin-bottom: 20px;
}

.contacts-hero__map {
  width: min(780px, 100%);
  height: 360px;
  background: #f1f5f9;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contacts-hero__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Design page */
.design-page * {
  border-radius: 0 !important;
}

.design-page *::before,
.design-page *::after {
  border-radius: 0 !important;
}

.design-hero {
  background: #ffffff;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.design-hero h1 {
  font-size: 42px;
  margin-bottom: 6px;
  color: #0f172a;
}

.design-hero p {
  font-size: 18px;
  letter-spacing: 0.6px;
  color: #334155;
}

.design-slider {
  background: transparent;
  padding: 10px 0 0;
  margin-bottom: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 670px;
}

.design-slider__grid {
  width: 100%;
  position: relative;
  height: 100%;
}

.design-slider__grid::before {
  content: "";
  position: absolute;
  inset: 18px 0;
  border-radius: 26px;
  background: rgba(245, 166, 35, 0.12);
  z-index: 0;
}

.design-compare {
  background: #ffffff;
  padding: 30px 0 70px;
}

.design-steps {
  background: #ffffff;
  padding: 40px 0 60px;
}

.design-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.design-steps__card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 22px 24px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-left: 4px solid var(--accent);
  display: grid;
  gap: 10px;
}

.design-steps__badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.design-steps__card h4 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.design-steps__card p {
  font-size: 14px;
  color: #475569;
}

.design-scope {
  background: #fff8ec;
  padding: 60px 0 70px;
}

.design-scope__header {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.design-scope__header h2 {
  font-size: 30px;
  color: #0f172a;
}

.design-scope__header p {
  font-size: 15px;
  color: #475569;
  max-width: 680px;
}

.design-scope__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.design-scope__card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 20px 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-top: 4px solid var(--accent);
  display: grid;
  gap: 10px;
}

.design-scope__card h4 {
  font-size: 18px;
  color: #0f172a;
  font-weight: 800;
}

.design-scope__card p {
  font-size: 14px;
  color: #475569;
}

.design-scope__card ul {
  list-style: none;
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 6px 0 0;
  font-size: 13px;
  color: #334155;
}

.design-scope__card ul li {
  padding-left: 16px;
  position: relative;
}

.design-scope__card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59f1a;
}

/* Commercial page */
.commercial-hero {
  background: #0f172a;
  padding: 70px 0 50px;
  color: #e2e8f0;
}

.commercial-divider {
  height: 6px;
  background: var(--accent);
}

.commercial-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.commercial-hero__tag {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.commercial-hero__content h1 {
  font-size: 40px;
  margin: 12px 0 14px;
  color: #ffffff;
}

.commercial-hero__content p {
  font-size: 15px;
  color: #cbd5f5;
  max-width: 560px;
}

.commercial-hero__actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.commercial-sectors {
  background: #f6f7fb;
  padding: 50px 0 60px;
}

.commercial-sectors h2,
.commercial-process h2,
.commercial-cases h2,
.commercial-platform h2 {
  font-size: 30px;
  color: #0f172a;
  margin-bottom: 10px;
}

.commercial-sectors__lead {
  max-width: 680px;
  font-size: 15px;
  color: #475569;
  margin-bottom: 22px;
}

.commercial-office {
  background: #ffffff;
  padding: 50px 0 60px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.commercial-office h2 {
  font-size: 30px;
  color: #0f172a;
  margin-bottom: 12px;
}

.commercial-office p {
  max-width: 820px;
  font-size: 15px;
  color: #475569;
  margin-bottom: 12px;
}

.commercial-office p:last-child {
  margin-bottom: 0;
}

.commercial-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.commercial-detail--reverse .commercial-detail__grid {
  grid-template-columns: 1.2fr 1fr;
}

.commercial-detail__content {
  max-width: 740px;
}

.commercial-detail__media {
  min-height: 360px;
  height: 360px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #111827;
}

.commercial-detail__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.commercial-detail--reverse .commercial-detail__media {
  order: -1;
}

.commercial-restaurant {
  background: #f6f7fb;
  padding: 50px 0 60px;
}

.commercial-restaurant h2 {
  font-size: 30px;
  color: #0f172a;
  margin-bottom: 12px;
}

.commercial-restaurant p {
  max-width: 820px;
  font-size: 15px;
  color: #475569;
  margin-bottom: 12px;
}

.commercial-restaurant__lead {
  color: #0f172a;
  font-weight: 600;
}

.commercial-salon {
  background: #ffffff;
  padding: 50px 0 60px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.commercial-salon h2 {
  font-size: 30px;
  color: #0f172a;
  margin-bottom: 12px;
}

.commercial-salon p {
  max-width: 820px;
  font-size: 15px;
  color: #475569;
  margin-bottom: 12px;
}

.commercial-salon__lead {
  color: #0f172a;
  font-weight: 600;
}

.commercial-salon p:last-child {
  margin-bottom: 0;
}

.commercial-retail {
  background: #f6f7fb;
  padding: 50px 0 60px;
}

.commercial-retail h2 {
  font-size: 30px;
  color: #0f172a;
  margin-bottom: 12px;
}

.commercial-retail p {
  max-width: 820px;
  font-size: 15px;
  color: #475569;
  margin-bottom: 12px;
}

.commercial-retail__lead {
  color: #0f172a;
  font-weight: 600;
}

.commercial-retail p:last-child {
  margin-bottom: 0;
}

.commercial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.commercial-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  padding: 26px;
  display: grid;
  gap: 12px;
  border-radius: 0;
  min-height: 320px;
}

.commercial-card h3 {
  font-size: 18px;
  color: #0f172a;
  font-weight: 800;
}

.commercial-card p {
  font-size: 14px;
  color: #475569;
}

.commercial-process {
  background: #ffffff;
  padding: 40px 0;
}

.commercial-process__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  min-height: 380px;
}

.commercial-process__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.commercial-steps {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.commercial-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.commercial-step__num {
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent);
  border-radius: 0;
}

.commercial-step strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 4px;
}

.commercial-step p {
  font-size: 13px;
  color: #475569;
  margin: 0;
}

.commercial-cases {
  background: #f6f7fb;
  padding: 50px 0 70px;
}

.commercial-platform {
  background: #f6f7fb;
  padding: 50px 0 70px;
  position: relative;
  overflow: hidden;
}

.commercial-platform::before {
  content: "";
  position: absolute;
  top: 20px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: repeating-linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.16) 0 8px,
    transparent 8px 16px
  );
  pointer-events: none;
}

.commercial-platform::after {
  content: "";
  position: absolute;
  bottom: 30px;
  left: -80px;
  width: 260px;
  height: 120px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.18), transparent);
  pointer-events: none;
}

.commercial-platform__header {
  max-width: 720px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.commercial-platform__header::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  background: #f59e0b;
  margin-top: 12px;
}

.commercial-platform__header p {
  margin-top: 8px;
  color: #475569;
  font-size: 15px;
}

.commercial-platform__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.commercial-platform__card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 20px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.commercial-platform__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 4px;
  background: #f59e0b;
}

.commercial-platform__card h3 {
  font-size: 17px;
  color: #0f172a;
  margin-bottom: 8px;
}

.commercial-platform__card p {
  font-size: 14px;
  color: #475569;
}

.commercial-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.commercial-case {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  padding: 18px;
  border-radius: 0;
  align-items: center;
}

.commercial-case__body h3 {
  font-size: 18px;
  color: #0f172a;
  font-weight: 800;
  margin-bottom: 6px;
}

.commercial-case__body p {
  font-size: 14px;
  color: #475569;
}

.media-placeholder {
  min-height: 220px;
  background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #0f172a 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.media-placeholder::after {
  content: "РР·РѕР±СЂР°Р¶РµРЅРёРµ";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.commercial-card__media,
.commercial-process__media,
.commercial-hero__media,
.commercial-case__media {
  border-radius: 0;
}

.commercial-card__media {
  min-height: 200px;
}

.commercial-process__media {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.commercial-process__media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

.commercial-hero__media {
  min-height: 320px;
}

.commercial-case__media {
  min-height: 180px;
}

.legal {
  background: #f6f7fb;
  padding: 60px 0 80px;
}

.legal__card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 36px;
}

.legal__meta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 12px;
}

.legal h1 {
  font-size: 32px;
  margin: 0 0 18px;
  color: #0f172a;
}

.legal h2 {
  font-size: 20px;
  margin: 22px 0 10px;
  color: #0f172a;
}

.legal p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}

.before-after {
  --ba-pos: 50%;
  position: relative;
  width: min(1200px, 100%);
  height: min(560px, 72vh);
  margin: 0 auto;
  box-shadow: 0 24px 50px rgba(9, 15, 36, 0.25);
  overflow: hidden;
  background: #0f172a;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.before-after__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after__before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}

.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--ba-pos) - 1px);
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.35);
  pointer-events: none;
}

.before-after__handle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 3px solid #0f172a;
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.35);
}

.before-after__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.design-slider__nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

.design-slider__nav[data-dir="-1"] {
  left: 24px;
}

.design-slider__nav[data-dir="1"] {
  right: 24px;
}

.design-slider__nav::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid #0f172a;
  border-right: 0;
  border-bottom: 0;
  transform: rotate(-45deg);
}

.design-slider__nav[data-dir="1"]::after {
  transform: rotate(135deg);
}

.design-slider__viewport {
  width: 100vw;
  height: 100%;
  margin-left: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.design-slider__frame {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: #111827 center/cover no-repeat;
  box-shadow: var(--shadow);
  transform: translateX(0);
  transition: transform 0.45s ease;
  will-change: transform;
}

.design-slider__viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 12, 24, 0.75) 0%, rgba(8, 12, 24, 0.08) 60%, rgba(8, 12, 24, 0) 85%);
  pointer-events: none;
  z-index: 2;
}

.design-slider__content {
  position: absolute;
  z-index: 3;
  left: calc(50% - min(1100px, 92%) / 2);
  transform: none;
  bottom: min(12vh, 140px);
  max-width: 460px;
  color: #ffffff;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 10px;
}

.design-slider__tag {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 166, 35, 0.95);
}

.design-slider__title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}

.design-slider__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.design-slider__bar {
  width: min(620px, 84%);
  height: 6px;
  background: rgba(245, 159, 26, 0.3);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  z-index: 4;
  border-radius: 999px;
}

.design-slider__bar-fill {
  display: block;
  height: 100%;
  background: #ffffff;
  width: 33.33%;
  transition: width 0.45s ease;
  border-radius: 999px;
}

.design-strip {
  display: none;
}

.design-gallery {
  background: #f7f8fc;
  padding: 50px 0 70px;
}

.design-gallery__wide {
  height: 240px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  padding: 0 46px;
  border-radius: 22px;
  border: 1px solid rgba(245, 166, 35, 0.3);
}

.design-gallery__wide-content {
  max-width: 720px;
  color: #1f2937;
}

.design-gallery__wide-content h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.design-gallery__wide-content p {
  font-size: 16px;
  color: #475569;
}

.design-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.design-gallery__card {
  height: 300px;
  background: linear-gradient(135deg, #111827 0%, #1f2937 50%, #0f172a 100%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.design-gallery__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(245, 166, 35, 0.18), transparent 40%);
  opacity: 0.7;
}

.info-card {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 26px 28px;
  display: grid;
  gap: 12px;
  color: #e2e8f0;
}

.info-card__label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 166, 35, 0.9);
}

.info-card h4 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.info-card p {
  font-size: 14px;
  color: rgba(226, 232, 240, 0.8);
  max-width: 260px;
}

.info-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
}

.info-card__stats strong {
  display: block;
  font-size: 22px;
  color: #ffffff;
}

.info-card__stats span {
  display: block;
  font-size: 12px;
  color: rgba(226, 232, 240, 0.75);
}

.info-card__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.info-card__steps span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

/* About page */
.about-hero {
  background: #ffffff;
  padding: 70px 0 40px;
  position: relative;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.about-hero__content {
  padding-left: 18px;
}

.about-hero__content h1 {
  font-size: 38px;
  margin-bottom: 14px;
  color: #0f172a;
}

.about-hero__content p {
  font-size: 15px;
  color: #1f2937;
  max-width: 520px;
}

.about-hero__logo img {
  width: 100%;
  max-width: 240px;
  display: block;
  margin-left: auto;
}

.section-divider {
  width: 100%;
  height: 32px;
}

.section-divider--accent {
  background: #f59f1a;
}

.partners {
  background: #f59f1a;
  color: #ffffff;
  margin-top: 16px;
}

.partners__title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  padding: 18px 0;
}

.partners__grid {
  background: #ffffff;
  color: #0f172a;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: center;
  text-align: center;
  width: min(520px, 100%);
  margin-left: auto;
  padding: 28px 0 0px;
  box-shadow: var(--shadow);
}

.partners__grid img {
  width: 100%;
  max-width: none;
  height: 110px;
  object-fit: contain;
  justify-self: center;
  display: block;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 14px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
  border-radius: 0;
  box-sizing: border-box;
}

.portfolio {
  padding: 12px 0 40px;
  background: #ffffff;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.portfolio__text {
  padding-left: 18px;
}

.portfolio__text h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.portfolio__text p {
  font-size: 14px;
  color: #374151;
  margin-bottom: 14px;
}

.portfolio__image {
  width: 100%;
  height: 320px;
  background: url("assets/8.png") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.portfolio__hero {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.portfolio__logos {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 110px;
  gap: 14px;
}

.portfolio__logo {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 14px;
  display: grid;
  place-items: center;
  height: 110px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
  border-radius: 0;
}

.portfolio__logo img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

.portfolio__logo--large img {
  max-height: 70px;
}

.portfolio__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  gap: 16px;
  margin-top: 24px;
}

.portfolio-projects {
  display: grid;
  gap: 28px;
  margin-top: 24px;
}

.portfolio-project {
  background: #f8fafc;
  padding: 18px;
  box-shadow: var(--shadow);
}

.portfolio-project__header h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #0f172a;
}

.portfolio-project__header p {
  font-size: 14px;
  color: #4b5563;
  max-width: 780px;
}

.portfolio-project__photos {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  overflow: hidden;
}

.portfolio-project__photos img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center center;
  display: block;
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  background: #ffffff;
  color: #0f172a;
  font-size: 24px;
  cursor: pointer;
}

.portfolio__tile {
  background: #f1f5f9;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portfolio__tile--wide {
  grid-row: span 2;
}

.portfolio__tile--span-1 {
  grid-column: span 1;
}

.portfolio__tile--span-2 {
  grid-column: span 2;
}

.portfolio__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  .contacts-hero__grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .portfolio__gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .about-hero__grid,
  .portfolio__grid,
  .partners__grid {
    grid-template-columns: 1fr;
  }

  .about-hero__logo img {
    margin-left: 0;
  }

  .portfolio__gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .portfolio__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

.footer__brand {
  display: grid;
  gap: 4px;
}

.footer__link {
  font-size: 13px;
  color: #0f172a;
  text-decoration: none;
}

.footer__link:hover {
  color: #f59e0b;
}

.footer .logo__light {
  color: #1f2937;
}

.footer__contacts {
  display: grid;
  gap: 4px;
  color: #1f2937;
  justify-self: center;
  text-align: left;
}

.footer__social {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.footer__social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.social {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1e40af;
  position: relative;
}

.social--wa {
  background: #16a34a;
}

.social::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 3px;
  background: #ffffff;
}

@media (max-width: 980px) {
  .header__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    display: flex;
    flex: 0 0 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    font-size: 12px;
  }

  .hero__grid,
  .about__grid,
  .app__card,
  .features__grid,
  .benefits__grid,
  .commercial-hero__grid,
  .commercial-grid,
  .commercial-detail__grid,
  .commercial-process__grid,
  .commercial-cases__grid,
  .commercial-platform__grid,
  .cta__form,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .commercial-detail--reverse .commercial-detail__media {
    order: 0;
  }

  .commercial-detail--reverse .commercial-detail__grid {
    grid-template-columns: 1fr;
  }

  .hero__logo {
    order: -1;
    justify-self: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-video__wrap {
    height: min(420px, 60vh);
  }

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

  .cta__form input {
    width: 100%;
  }

  .btn--submit {
    width: 100%;
  }

  .footer__social {
    justify-content: flex-start;
  }

  .design-slider {
    height: 560px;
  }

  .before-after {
    height: min(420px, 60vh);
  }

  .design-slider__nav {
    width: 36px;
    height: 36px;
  }

  .design-slider__nav::after {
    inset: 12px;
  }

  .design-gallery__wide {
    height: 220px;
    padding: 0 28px;
  }

  .design-slider__content {
    left: 24px;
    right: 24px;
    transform: none;
    bottom: 80px;
    max-width: 520px;
  }

  .design-slider__title {
    font-size: 24px;
  }

  .design-steps__grid {
    grid-template-columns: 1fr;
  }

  .design-scope__grid {
    grid-template-columns: 1fr;
  }

  .commercial-case {
    grid-template-columns: 1fr;
  }
}





