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

html {
  scroll-behavior: smooth;
}

body {
  color: #0f172a;
  background: #f7f9fc;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #07111d;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.2);
}

.header-row {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-grid;
  gap: 0;
  color: #fff;
  line-height: 1;
}

.brand strong {
  font-size: 28px;
  font-weight: 900;
}

.brand strong span {
  color: #248cff;
}

.main-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav {
  justify-content: center;
  height: 72px;
}

.main-nav a {
  height: 72px;
  display: inline-flex;
  align-items: center;
  color: #e5edf7;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #248cff;
  border-bottom-color: #248cff;
}

.header-cta,
.primary-btn,
.messenger-btn,
.outline-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
  font-weight: 900;
  text-transform: uppercase;
}

.header-cta,
.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #1f8fff, #1262e7);
  box-shadow: 0 12px 24px rgba(18, 98, 231, 0.28);
}

.header-cta {
  padding: 0 18px;
  font-size: 13px;
  text-transform: none;
}

.header-telegram {
  padding: 0 14px;
  text-transform: none;
  white-space: nowrap;
}

.header-telegram img,
.header-cta-icon img {
  width: 22px;
  height: 22px;
  display: block;
  border-radius: 4px;
}

.primary-btn {
  width: fit-content;
  padding: 0 25px;
  min-height: 54px;
  font-size: 16px;
}

.paper-plane,
.whatsapp-mark {
  width: 18px;
  height: 18px;
  display: inline-block;
  position: relative;
  flex: 0 0 18px;
}

.paper-plane::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 3px;
  width: 16px;
  height: 13px;
  background: currentColor;
  clip-path: polygon(0 42%, 100% 0, 75% 100%, 48% 68%, 30% 86%);
}

.whatsapp-mark::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.whatsapp-mark::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  left: 6px;
  top: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-40deg);
}

.hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  color: #fff;
  background: #07111d;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 12, 24, 0.95) 0%, rgba(5, 18, 34, 0.8) 31%, rgba(5, 18, 34, 0.24) 47%, rgba(5, 18, 34, 0.04) 72%, rgba(5, 18, 34, 0) 100%),
    url("assets/home-hero-webstudio-2026.jpg") center right / cover no-repeat;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 12, 24, 0.1) 0%, rgba(3, 12, 24, 0.2) 100%);
  pointer-events: none;
}

.hero-inner {
  min-height: 500px;
  position: relative;
  display: flex;
  align-items: flex-start;
}

.hero-copy {
  max-width: 620px;
  padding: 54px 0 46px;
}

.hero h1 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero p {
  max-width: 520px;
  margin-bottom: 22px;
  color: #f8fafc;
  font-size: 18px;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 7px;
  margin: 0 0 28px;
  color: #e6effb;
  font-size: 17px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 31px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #207cf5;
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.services {
  padding: 34px 0 20px;
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.service-card {
  min-height: 128px;
  display: grid;
  grid-template-columns: 96px 260px 1fr;
  align-items: center;
  gap: 22px;
  padding: 24px 30px;
  text-align: left;
  background: #fff;
  border: 1px solid #edf1f6;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.service-card h2 {
  min-height: 0;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.25;
  text-transform: uppercase;
}

.service-card p {
  min-height: 0;
  max-width: 520px;
  color: #111827;
  font-size: 15px;
}

.service-showcase {
  position: relative;
  scroll-margin-top: 96px;
  min-height: 260px;
  display: grid;
  grid-template-columns: 150px minmax(300px, 1fr) minmax(360px, 430px);
  align-items: center;
  gap: 38px;
  padding: 36px 66px 36px 32px;
  background: #fff;
  border: 2px solid #e3ecf8;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.service-showcase-landing {
  grid-template-columns: minmax(360px, 430px) minmax(300px, 1fr) 150px;
}

.service-showcase-landing .showcase-preview {
  order: 1;
}

.service-showcase-landing .showcase-copy {
  order: 2;
}

.service-showcase-landing .showcase-side {
  order: 3;
}

.showcase-icon {
  width: 122px;
  height: 122px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(135deg, #0b5cf0, #1688ff);
}

.showcase-side {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.showcase-icon .line-icon {
  color: #fff;
}

.showcase-icon img,
.showcase-icon svg {
  width: 72px;
  height: 72px;
  display: block;
  color: #fff;
}

.showcase-icon img {
  filter: brightness(0) invert(1);
}

.onec-mark {
  min-width: 76px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #146cff;
  border-radius: 8px;
  background: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: inset 0 0 0 3px rgba(20, 108, 255, 0.15);
}

.showcase-price {
  width: 150px;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 12px;
  color: #146cff;
  text-align: center;
  border: 1px solid #dbeafe;
  border-radius: 6px;
  background: #f8fbff;
}

.showcase-price span {
  color: #64748b;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.showcase-price strong {
  color: #146cff;
  font-size: 18px;
  line-height: 1.12;
  font-weight: 900;
}

.showcase-more {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: #fff;
  border-radius: 4px;
  background: linear-gradient(135deg, #1f8fff, #1262e7);
  box-shadow: 0 10px 20px rgba(18, 98, 231, 0.22);
  font-size: 14px;
  font-weight: 900;
}

.showcase-more:hover {
  background: linear-gradient(135deg, #1262e7, #0b54cc);
}

.showcase-copy h2 {
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.showcase-copy p {
  max-width: 430px;
  margin-bottom: 18px;
  color: #111827;
  font-size: 16px;
  line-height: 1.55;
}

.service-features {
  display: grid;
  gap: 10px;
  color: #111827;
  font-size: 15px;
  list-style: none;
}

.service-features li {
  position: relative;
  padding-left: 28px;
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 12px;
  height: 6px;
  border-left: 2px solid #146cff;
  border-bottom: 2px solid #146cff;
  transform: rotate(-45deg);
}

.showcase-preview {
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.showcase-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.line-icon,
.step-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.line-icon {
  width: 74px;
  height: 74px;
  color: #146cff;
}

.line-icon::before,
.line-icon::after,
.step-icon::before,
.step-icon::after {
  content: "";
  position: absolute;
}

.icon-window::before {
  inset: 9px;
  border: 4px solid currentColor;
  border-radius: 3px;
}

.icon-window::after {
  width: 44px;
  height: 4px;
  top: 23px;
  left: 15px;
  background: currentColor;
  box-shadow: -8px 20px 0 -1px currentColor, 9px 20px 0 -1px currentColor;
}

.icon-cart::before {
  width: 48px;
  height: 30px;
  top: 16px;
  border: 4px solid currentColor;
  transform: skewX(-14deg);
}

.icon-cart::after {
  width: 10px;
  height: 10px;
  left: 19px;
  bottom: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 27px 0 0 currentColor;
}

.icon-gear::before {
  width: 48px;
  height: 48px;
  border: 5px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 -12px 0 -6px currentColor, 0 12px 0 -6px currentColor, 12px 0 0 -6px currentColor, -12px 0 0 -6px currentColor;
}

.icon-gear::after {
  width: 16px;
  height: 16px;
  border: 4px solid currentColor;
  border-radius: 50%;
}

.icon-box::before {
  width: 44px;
  height: 44px;
  border: 4px solid currentColor;
  transform: rotate(30deg) skewX(-18deg);
}

.icon-box::after {
  width: 28px;
  height: 4px;
  top: 31px;
  background: currentColor;
  transform: rotate(30deg);
}

.workflow,
.portfolio {
  padding: 28px 0 0;
  background: #fff;
}

.prices {
  padding: 30px 0 0;
  background: #fff;
}

.prices-panel {
  padding: 28px 34px;
  border: 1px solid #edf1f6;
  border-radius: 4px;
  background: #f8fbff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.prices-panel .section-title {
  margin-bottom: 12px;
}

.prices-panel p {
  max-width: 760px;
  margin: 0 auto;
  color: #334155;
  text-align: center;
  font-size: 17px;
}

.section-title {
  margin-bottom: 20px;
  text-align: center;
  color: #13273f;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.step {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 39px;
  right: -22px;
  width: 46px;
  height: 13px;
  border-top: 2px solid #9ec8ff;
  border-right: 2px solid #9ec8ff;
  transform: skewX(42deg);
}

.step-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 12px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e84ff, #1757dc);
  box-shadow: 0 14px 28px rgba(23, 87, 220, 0.25);
}

.step strong {
  color: #0f172a;
  font-size: 18px;
}

.step h3 {
  margin: 4px 0 8px;
  font-size: 16px;
}

.step p {
  max-width: 160px;
  color: #111827;
  font-size: 14px;
}

.icon-pencil::before {
  width: 26px;
  height: 4px;
  background: currentColor;
  transform: rotate(-45deg);
}

.icon-pencil::after {
  width: 28px;
  height: 28px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}

.icon-chat::before {
  width: 32px;
  height: 24px;
  border: 3px solid currentColor;
  border-radius: 12px;
}

.icon-chat::after {
  width: 8px;
  height: 8px;
  left: 23px;
  bottom: 22px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}

.icon-calc::before {
  width: 30px;
  height: 38px;
  border: 3px solid currentColor;
  border-radius: 3px;
}

.icon-calc::after {
  width: 17px;
  height: 4px;
  top: 25px;
  background: currentColor;
  box-shadow: 0 9px 0 currentColor, -8px 9px 0 currentColor, 8px 9px 0 currentColor;
}

.icon-code::before {
  content: "</>";
  position: static;
  font-size: 28px;
  font-weight: 900;
}

.icon-code::after {
  display: none;
}

.icon-check::before {
  width: 32px;
  height: 32px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.icon-check::after {
  width: 16px;
  height: 8px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
}

.portfolio-panel {
  margin-top: 28px;
  padding: 24px 36px 28px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

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

.work-card {
  text-align: center;
}

.work-preview {
  height: 140px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #e3e9f1;
  border-radius: 4px;
  background: #f8fafc;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.work-preview::before {
  content: "";
  display: block;
  height: 26px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.work-preview::after {
  content: "";
  display: block;
  height: 114px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.78), rgba(255,255,255,0.12)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.78) 0 10px, transparent 10px 22px),
    var(--preview-bg);
}

.work-preview-image {
  display: block;
  position: relative;
  background: #fff;
}

.work-preview-image::before,
.work-preview-image::after {
  display: none;
}

.work-preview-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.work-preview-image:hover img {
  transform: scale(1.03);
}

.preview-furniture { --preview-bg: linear-gradient(135deg, #d7c1a4, #2c3440); }
.preview-auto { --preview-bg: linear-gradient(135deg, #111827, #2b6cb0); }
.preview-service { --preview-bg: linear-gradient(135deg, #22c55e, #eff6ff); }
.preview-catalog { --preview-bg: linear-gradient(135deg, #f8fafc, #1e4b78); }

.work-card h3 {
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 500;
}

.work-card p {
  font-size: 14px;
}

.outline-btn {
  width: fit-content;
  max-width: 100%;
  margin: 22px auto 0;
  padding: 0 22px;
  color: #146cff;
  border: 2px solid #146cff;
  background: #fff;
  font-size: 14px;
  text-align: center;
}

.messenger-btn {
  min-height: 50px;
  color: #fff;
  text-transform: none;
}

.telegram {
  background: linear-gradient(135deg, #1f8fff, #1262e7);
}

.whatsapp {
  background: linear-gradient(135deg, #35c65a, #15952d);
}

.site-footer {
  position: relative;
  padding: 16px 0 26px;
  background: #fff;
}

.footer-reasons {
  padding: 24px 32px 22px;
  color: #10213c;
  border-radius: 8px;
  background: #f2f8ff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.footer-reasons h2 {
  margin-bottom: 18px;
  text-align: center;
  color: #10213c;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}

.reason-item {
  min-height: 88px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  padding: 0 16px;
  text-align: center;
  border-right: 1px solid #d6e4f4;
}

.reason-item:last-child {
  border-right: 0;
}

.reason-item p {
  color: #0f172a;
  font-size: 14px;
  line-height: 1.35;
}

.reason-icon,
.footer-contact-icon {
  position: relative;
  display: inline-block;
  color: #146cff;
}

.reason-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  color: #0b63f6;
  border: 1px solid #b9d4ff;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, #ffffff, #eaf3ff 72%),
    #eaf3ff;
  box-shadow: 0 10px 22px rgba(20, 108, 255, 0.16);
}

.icon-percent::before {
  content: "%";
  position: absolute;
  inset: 8px;
  display: grid;
  place-items: center;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  font-size: 19px;
  font-weight: 900;
}

.icon-clients::before,
.icon-clients::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
}

.icon-clients::before {
  left: 10px;
  top: 10px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  box-shadow: 15px 5px 0 -3px #eaf3ff, 15px 5px 0 -1px currentColor;
}

.icon-clients::after {
  left: 7px;
  bottom: 9px;
  width: 27px;
  height: 14px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  border-bottom: 0;
}

.icon-shield::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 9px;
  width: 22px;
  height: 27px;
  border: 2px solid currentColor;
  clip-path: polygon(50% 0, 100% 16%, 88% 78%, 50% 100%, 12% 78%, 0 16%);
}

.icon-shield::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 10px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.icon-lock::before {
  content: "";
  position: absolute;
  left: 13px;
  bottom: 10px;
  width: 22px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.icon-lock::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 9px;
  width: 12px;
  height: 14px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.icon-growth::before {
  content: "";
  position: absolute;
  left: 11px;
  bottom: 10px;
  width: 4px;
  height: 13px;
  background: currentColor;
  box-shadow: 10px -6px 0 currentColor, 20px -14px 0 currentColor;
}

.icon-growth::after {
  content: "";
  position: absolute;
  left: 9px;
  bottom: 9px;
  width: 30px;
  height: 28px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.icon-sale::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 15px;
  width: 24px;
  height: 16px;
  border: 2px solid currentColor;
  transform: skewX(-12deg);
}

.icon-sale::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 16px 0 0 currentColor;
}

.footer-contact {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 140px minmax(280px, 1fr) 250px;
  gap: 28px;
  align-items: center;
  padding: 22px 28px;
  color: #fff;
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0%, rgba(36, 140, 255, 0.25), transparent 28%),
    linear-gradient(135deg, #06101b, #082642);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.footer-contact-telegram {
  grid-template-columns: minmax(280px, 1fr) 150px;
}

.footer-qr {
  width: 150px;
  max-width: 100%;
  height: auto;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
}

.footer-qr-link {
  display: block;
  line-height: 0;
}

.footer-qr-link:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 4px;
  border-radius: 10px;
}

.footer-contact-copy h2 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.footer-contact-copy p {
  max-width: 500px;
  margin-bottom: 16px;
  color: #e6effb;
  font-size: 16px;
  line-height: 1.45;
}

.footer-contact-copy .messenger-btn {
  display: inline-flex;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 14px;
}

.footer-buttons {
  display: grid;
  gap: 12px;
}

.footer-buttons .messenger-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 14px;
}

.footer-contacts {
  display: grid;
  gap: 12px;
}

.footer-contacts a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
}

.footer-contact-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.icon-phone::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-phone::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 8px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-35deg);
}

.icon-mail::before {
  content: "";
  position: absolute;
  inset: 4px 2px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.icon-mail::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.footer-classic {
  margin-top: 14px;
  padding: 30px 0;
  color: #fff;
  background: #07111d;
}

.footer-row {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 44px;
  align-items: start;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 8px 34px;
}

.footer-nav a,
.copyright {
  color: #e5edf7;
  font-size: 14px;
}

.copyright {
  display: grid;
  gap: 6px;
  text-align: right;
}

.scroll-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #146cff;
  border-radius: 50%;
  font-size: 25px;
  box-shadow: 0 14px 28px rgba(20, 108, 255, 0.28);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal:target {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  width: min(420px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 32px;
  border-radius: 8px;
  color: #0f172a;
  background: #fff;
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.36);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #64748b;
  font-size: 28px;
  line-height: 1;
}

.modal-tabs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
}

.modal-tabs a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: #475569;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.modal-tabs a.is-active {
  color: #fff;
  background: linear-gradient(135deg, #1f8fff, #1262e7);
  box-shadow: 0 8px 18px rgba(18, 98, 231, 0.2);
}

.modal-icon {
  width: 34px;
  height: 34px;
  color: #248cff;
}

.modal-icon.paper-plane::before {
  width: 28px;
  height: 22px;
}

.max-mark {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 5px;
  color: #fff;
  background: #111827;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
}

.modal-card h2 {
  font-size: 26px;
  line-height: 1.2;
  text-align: center;
}

.modal-card p {
  color: #475569;
  text-align: center;
}

.modal-qr {
  width: 260px;
  max-width: 100%;
  height: auto;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.modal-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(135deg, #1f8fff, #1262e7);
  font-weight: 900;
}

.landing-page-hero {
  padding: 54px 0 34px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.98), rgba(7, 17, 29, 0.82)),
    url("assets/hero-webstart.png") center / cover no-repeat;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 44px;
  align-items: center;
}

.landing-hero-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.landing-eyebrow {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 4px;
  color: #bfdbfe;
  background: rgba(20, 108, 255, 0.18);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-hero-copy h1 {
  max-width: 740px;
  color: #fff;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-hero-copy p {
  max-width: 620px;
  color: #e6effb;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 700;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.landing-outline {
  margin: 0;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.landing-hero-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.landing-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}

.landing-hero-media-contain img {
  aspect-ratio: auto;
  object-fit: contain;
}

.landing-strip {
  padding: 18px 0;
  background: #f8fbff;
}

.landing-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.landing-strip-grid div {
  min-height: 90px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  border: 1px solid #dbeafe;
  border-radius: 6px;
  background: #fff;
}

.landing-strip-grid strong {
  color: #146cff;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-strip-grid span {
  color: #334155;
  font-size: 14px;
  line-height: 1.35;
}

.landing-section {
  padding: 44px 0;
  background: #fff;
}

.landing-section-soft {
  background: #f8fbff;
}

.landing-two-col {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 40px;
  align-items: start;
}

.landing-section h2,
.landing-contact-panel h2 {
  color: #13273f;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-section p,
.landing-contact-panel p {
  color: #334155;
  font-size: 17px;
  line-height: 1.55;
}

.landing-feature-grid,
.landing-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.landing-feature-grid article,
.landing-process-grid article {
  min-height: 170px;
  padding: 22px;
  border: 1px solid #e3e9f1;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.landing-feature-grid h3,
.landing-process-grid h3 {
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.2;
}

.landing-process {
  display: grid;
  gap: 24px;
}

.landing-process-grid article span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: #fff;
  border-radius: 50%;
  background: #146cff;
  font-weight: 900;
}

.landing-contact-section {
  padding: 20px 0 34px;
  background: #fff;
}

.landing-contact-panel {
  display: grid;
  grid-template-columns: 1fr 150px auto;
  gap: 28px;
  align-items: center;
  padding: 30px 34px;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 8% 0%, rgba(36, 140, 255, 0.28), transparent 32%),
    linear-gradient(135deg, #06101b, #082642);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

.landing-contact-panel-telegram {
  grid-template-columns: 1fr 150px;
}

.landing-contact-panel h2,
.landing-contact-panel p {
  color: #fff;
}

.landing-contact-panel p {
  max-width: 640px;
  color: #e6effb;
}

.landing-contact-qr {
  width: 150px;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.22);
}

.landing-contact-qr-link {
  display: block;
  line-height: 0;
}

.landing-contact-qr-link:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 4px;
  border-radius: 10px;
}

.landing-simple-footer {
  padding-top: 0;
}

.shop-page-hero {
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.98), rgba(7, 17, 29, 0.8)),
    url("assets/shop-preview.jpg") center / cover no-repeat;
}

.integration-page-hero {
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.98), rgba(7, 17, 29, 0.8)),
    url("assets/integration-preview.jpg") center / cover no-repeat;
}

.onec-fixes-page-hero {
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.98), rgba(7, 17, 29, 0.8)),
    url("assets/onec-fixes-preview.jpg") center / cover no-repeat;
}

.marketplaces-page-hero {
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.98), rgba(7, 17, 29, 0.8)),
    url("assets/marketplaces-preview.jpg") center / cover no-repeat;
}

.shop-preview-section {
  padding-top: 24px;
}

.shop-preview-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
  padding: 30px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.shop-preview-panel h2 {
  margin-bottom: 12px;
  color: #13273f;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-preview-panel p {
  margin-bottom: 18px;
  color: #334155;
  font-size: 17px;
  line-height: 1.55;
}

.shop-preview-panel img {
  width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.14);
}

.portfolio-modal {
  padding: 30px;
}

.portfolio-modal-card {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100dvh - 60px);
  display: grid;
  gap: 14px;
  overflow: auto;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.36);
}

.portfolio-modal-card h2 {
  padding-right: 42px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.2;
}

.portfolio-modal-card img {
  width: 100%;
  max-width: 100%;
  max-height: min(76dvh, 720px);
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  background: #f8fafc;
}

@media (max-width: 1020px) {
  .header-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .main-nav {
    justify-content: flex-start;
    height: auto;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .main-nav a {
    height: 36px;
    white-space: nowrap;
  }

  .header-cta {
    justify-self: start;
  }

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

  .service-showcase {
    grid-template-columns: 120px 1fr;
    gap: 28px;
    padding-right: 32px;
  }

  .service-showcase-landing {
    grid-template-columns: 1fr;
  }

  .landing-hero-grid,
  .landing-two-col,
  .landing-contact-panel {
    grid-template-columns: 1fr;
  }

  .landing-contact-panel {
    justify-items: start;
  }

  .shop-preview-panel {
    grid-template-columns: 1fr;
  }

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

  .showcase-preview {
    grid-column: 1 / -1;
    max-width: 520px;
    justify-self: center;
  }

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

  .step::after {
    display: none;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .reason-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 0;
  }

  .reason-item:nth-child(3n) {
    border-right: 0;
  }

  .footer-contact {
    grid-template-columns: 118px 1fr;
    gap: 22px;
  }

  .footer-contact-telegram {
    grid-template-columns: 1fr 150px;
  }

  .footer-buttons,
  .footer-contacts {
    grid-column: 1 / -1;
  }

  .footer-row {
    grid-template-columns: 1fr;
  }

  .copyright {
    text-align: left;
  }
}

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

  .hero,
  .hero-inner {
    min-height: 500px;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(3, 12, 24, 0.96), rgba(5, 18, 34, 0.58)),
      url("assets/home-hero-webstudio-2026.jpg") center / cover no-repeat;
  }

  .hero-copy {
    padding: 34px 0 38px;
  }

  .hero h1 {
    font-size: 22px;
    letter-spacing: 0;
  }

  .hero p,
  .check-list {
    font-size: 16px;
  }

  .primary-btn,
  .outline-btn {
    width: 100%;
  }

  .steps,
  .portfolio-grid,
  .benefits {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-top: 12px;
  }

  .footer-reasons {
    padding: 22px 16px;
  }

  .footer-reasons h2 {
    font-size: 20px;
  }

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

  .reason-item,
  .reason-item:nth-child(3n) {
    min-height: 104px;
    padding: 0 10px;
    border-right: 1px solid #d6e4f4;
  }

  .reason-item:nth-child(2n) {
    border-right: 0;
  }

  .reason-item p {
    font-size: 13px;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding: 22px 16px;
    text-align: center;
  }

  .footer-contact-copy p {
    font-size: 15px;
  }

  .footer-buttons,
  .footer-contacts {
    width: 100%;
  }

  .footer-contacts a {
    justify-content: center;
    font-size: 15px;
  }

  .service-card {
    min-height: auto;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }

  .service-showcase {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 18px;
    text-align: left;
  }

  .landing-page-hero {
    padding: 34px 0 24px;
  }

  .landing-hero-grid {
    gap: 24px;
  }

  .landing-hero-copy h1 {
    font-size: 28px;
  }

  .landing-hero-copy p,
  .landing-section p,
  .landing-contact-panel p {
    font-size: 16px;
  }

  .landing-hero-actions,
  .landing-hero-actions .primary-btn,
  .landing-hero-actions .outline-btn,
  .landing-contact-panel .primary-btn {
    width: 100%;
  }

  .landing-strip-grid,
  .landing-feature-grid,
  .landing-process-grid {
    grid-template-columns: 1fr;
  }

  .landing-section {
    padding: 34px 0;
  }

  .landing-contact-panel {
    padding: 24px 18px;
  }

  .shop-preview-panel {
    padding: 22px 16px;
  }

  .showcase-icon {
    width: 96px;
    height: 96px;
  }

  .showcase-copy h2 {
    font-size: 20px;
  }

  .showcase-preview {
    max-width: 100%;
  }

  .portfolio-panel {
    padding: 24px 16px;
  }

  .contact-panel {
    padding: 32px 22px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
  }
}
