/* === DESIGN SYSTEM === */
:root {
  --c-bg: #f5f6f8;
  --c-surface: #ffffff;
  --c-border: #e2e5eb;
  --c-text: #1a2236;
  --c-muted: #6b7a96;
  --c-accent: #d32f2f;
  --c-accent-hover: #b71c1c;
  --c-blue: #1a3a6b;
  --c-blue-dark: #1a3a6b;
  --radius: 12px;
  --font: 'Onest', sans-serif;
}

/* === RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 45px;
  line-height: 67px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

/* === LAYOUT === */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section-sm {
  padding: 48px 0;
}

/* === TOPBAR === */
.site-header-wrap {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-bar .site-header-wrap {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header-wrap {
    top: 46px;
  }
}

.topbar {
  background: var(--c-blue-dark);
  padding: 6px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar__item svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

.topbar__phone {
  font-weight: 700;
  color: #fff;
}

.topbar__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--c-accent);
}

.topbar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: pulse 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* === HEADER === */
.header {
  background: var(--c-surface);
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow 0.2s;
}

.header.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__img {
  height: 36px;
  width: auto;
}

.logo__text {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  line-height: 1.3;
  color: var(--c-muted);
  font-weight: 500;
}

.logo__text strong {
  font-size: 13px;
  color: var(--c-text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: auto;
}

.nav__link {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  border-radius: 0;
  text-decoration: none;
  position: relative;
  transition: color 0.15s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav__link:hover {
  color: var(--c-accent);
  background: none;
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__phone {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.15s;
  white-space: nowrap;
}

.btn--accent {
  background: var(--c-accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--c-accent-hover);
}

.btn--blue {
  background: var(--c-blue);
  color: #fff;
}

.btn--blue:hover {
  background: #152f59;
}

.btn--outline {
  border: 2px solid var(--c-blue);
  color: var(--c-blue);
  background: transparent;
}

.btn--outline:hover {
  background: var(--c-blue);
  color: #fff;
}

.btn--outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 6px;
}

.btn--sm {
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 8px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* === TICKER === */
.ticker {
  background: var(--c-blue-dark);
  padding: 10px 0;
  overflow: hidden;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ticker__dot {
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* === HERO === */
.hero {
  background: var(--c-bg);
  min-height: calc(100vh - 102px);
  display: flex;
  align-items: center;
  padding: 64px 0;
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-blue);
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero__content h1 .tooltip-wrapper {
  position: relative;
  cursor: pointer;
}

.hero__content h1 .tooltip {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800px' height='800px' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%231C274C' stroke-width='1.5'/%3E%3Cpath d='M12 17V11' stroke='%231C274C' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='1' cy='1' r='1' transform='matrix(1 0 0 -1 11 9)' fill='%231C274C'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  width: 15px;
  height: 15px;
  top: 0;
  right: -15px;
  display: block;
  position: absolute;
}

.hero__content h1 .tooltip-text {
  display: none;
}

.hero__content h1 .tooltip-wrapper:hover .tooltip-text {
  display: block;
  position: absolute;
  right: -150px;
  top: 0;
  padding: 5px;
  background-color: #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
  width: 130px;
  z-index: 9;
  font-size: 16px;
}

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

.hero__sub {
  font-size: 17px;
  font-weight: 500;
  color: var(--c-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.hero__list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--c-muted);
}

.hero__list-item strong {
  color: var(--c-text);
  font-weight: 700;
}

.hero__list-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--c-accent);
}

.hero__discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(39, 174, 96, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.25);
  color: var(--c-accent);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero__discount-badge strong {
  font-weight: 700;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
}

.hero__cta .btn {
  flex: 1;
}

.hero__btn {
  white-space: normal;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  padding: 18px 16px;
  min-height: 68px;
}

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

.hero__stat {}

.hero__stat-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-blue);
  line-height: 1;
}

.hero__stat-label {
  font-size: 12px;
  color: var(--c-muted);
  font-weight: 500;
  margin-top: 4px;
  line-height: 1.3;
}

.hero__visual {
  position: relative;
}

.hero__img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* === HERO SLIDER === */
.hero-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  aspect-ratio: 4/3;
}

.hero-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(.4, 0, .2, 1);
}

.hero-slider__slide {
  flex: 0 0 100%;
  height: 100%;
}

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

.hero-slider__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dde2ec 0%, #c8cfdf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-muted);
  letter-spacing: 0.05em;
}

.hero-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.15s, opacity 0.15s;
  z-index: 2;
}

.hero-slider__btn:hover {
  background: #fff;
}

.hero-slider__btn--prev {
  left: 12px;
}

.hero-slider__btn--next {
  right: 12px;
}

.hero-slider__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.hero-slider__dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* === STATS STRIP === */
.stats-strip {
  background: var(--c-blue);
  padding: 36px 0;
}

.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats-strip__item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stats-strip__item:last-child {
  border-right: none;
}

.stats-strip__val {
  font-family: var(--font);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stats-strip__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: lowercase;
}

@media (max-width: 600px) {
  .stats-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }

  .stats-strip__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
  }

  .stats-strip__item:nth-child(2n) {
    border-right: none;
  }

  .stats-strip__item:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* === FEATURES === */
.features {
  background: var(--c-bg);
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 12px;
}

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

.section-sub {
  font-size: 16px;
  color: var(--c-muted);
  max-width: 520px;
  margin-bottom: 40px;
}

.section-header {
  margin-bottom: 48px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-sub {
  margin: 0 auto 0;
}

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

.feature-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.15s;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(211, 47, 47, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--c-accent);
}

.feature-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--c-text);
}

.feature-card__text {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.55;
}

/* === PRODUCTS === */
.products {
  background: var(--c-bg);
}

.products__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.products__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-muted);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  cursor: pointer;
  transition: all 0.15s;
}

.products__tab:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
}

.products__tab.active {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
}

.products__tab svg {
  opacity: 0.7;
}

.products__tab.active svg {
  opacity: 1;
}

.products__panel {
  display: none;
}

.products__panel.active {
  display: block;
}

.products__panel-header {
  margin-bottom: 32px;
}

.products__panel-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.products__panel-desc {
  color: var(--c-muted);
  font-size: 15px;
}

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

.product-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.product-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--c-bg);
}

.product-card__img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e8eaf0 0%, #d8dce6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
}

.product-card__body {
  padding: 20px;
}

.product-card__badge {
  display: inline-block;
  padding: 3px 8px;
  background: #fef3c7;
  color: #92400e;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-card__desc {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.5;
}

.product-card__specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.product-card__spec {
  font-size: 11px;
  color: var(--c-blue);
  font-weight: 600;
  background: #e8f0fc;
  padding: 3px 8px;
  border-radius: 6px;
}

/* === CATEGORY GRID === */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.cat-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.15s, transform 0.15s;
  cursor: pointer;
}

.cat-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.cat-card__icon {
  width: 44px;
  height: 44px;
  background: #eef2fa;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue);
  margin-bottom: 16px;
}

.cat-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}

.cat-card__desc {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.55;
}

.cat-card__badge-label {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--c-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

.products__cta {
  text-align: center;
}

.products__cta .btn {
  padding: 20px 48px;
  font-size: 15px;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 600px) and (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === CASES === */
.cases {
  background: var(--c-surface);
}

.cases__filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cases__filter-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.cases__filter-btn:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
}

.cases__filter-btn.active {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
}

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

.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}

.case-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.case-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--c-bg);
}

.case-card__img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e8eaf0 0%, #d0d4e2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  font-size: 32px;
}

.case-card__body {
  padding: 20px;
}

.case-card__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 8px;
}

.case-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.case-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.case-card__spec {}

.case-card__spec-label {
  font-size: 11px;
  color: var(--c-muted);
  font-weight: 500;
}

.case-card__spec-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
}

.case-card__result {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #166534;
}

.case-card__result svg {
  flex-shrink: 0;
}

.cases__more {
  text-align: center;
  margin-top: 32px;
}

/* === GALLERY / TRUST === */
.gallery {
  background: var(--c-surface);
}

.case-study {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.case-study__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 460px;
  overflow: hidden;
}

.case-study__left {
  padding: 32px;
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.case-study__right {
  position: relative;
}

/* Case study text */
.cs-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.cs-title {
  font-size: 26px;
  line-height: 38px;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 12px;
}

.cs-desc {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.cs-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.cs-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
}

.cs-step__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--c-accent);
}

.cs-result {
  background: rgba(39, 174, 96, 0.07);
  border: 1px solid rgba(39, 174, 96, 0.2);
  border-radius: 10px;
  padding: 16px 20px;
}

.cs-result__val {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-accent);
  margin-bottom: 4px;
}

.cs-result__text {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.5;
}

/* Case study single photo */
.cs-photo {
  overflow: hidden;
  height: 100%;
}

.cs-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Case study gallery */
.cs-gallery {
  overflow: hidden;
  position: relative;
}

.cs-gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
}

.cs-gallery__slide {
  flex: 0 0 100%;
  height: 100%;
}

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

.cs-gallery__nav {
  position: absolute;
  bottom: 48px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 2;
}

.cs-gallery__nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.cs-gallery__nav--prev {
  right: 52px;
}

.cs-gallery__nav--next {
  right: 10px;
}

.cs-gallery__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.cs-gallery__caption {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}

.cs-gallery__counter {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .case-study__grid {
    grid-template-columns: 1fr;
  }

  .case-study__left {
    border-right: none;
    border-bottom: 1px solid var(--c-border);
    padding: 24px;
  }

  .case-study__right {
    min-height: 260px;
  }
}

/* === REVIEWS === */
.reviews__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.reviews__stars {
  color: #f59e0b;
  font-size: 24px;
  letter-spacing: 2px;
  line-height: 1;
}

.reviews__score {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-text);
}

.reviews {
  background: var(--c-bg);
}

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

.review-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.15s;
}

.review-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.review-card__meta {}

.review-card__name {
  font-size: 15px;
  font-weight: 700;
}

.review-card__role {
  font-size: 12px;
  color: var(--c-muted);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  color: #fbbf24;
  font-size: 16px;
}

.review-card__text {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-card__date {
  font-size: 12px;
  color: var(--c-muted);
}

.review-card__source {
  font-size: 11px;
  color: var(--c-muted);
}

/* === AWARDS === */
.awards {
  background: var(--c-surface);
}

.awards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.awards__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.awards__item img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  transition: transform 0.2s;
}

.awards__item img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .awards__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .awards__item img {
    max-width: 240px;
  }
}

/* === FAQ === */
.faq {
  background: var(--c-surface);
}

.faq__grid {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--c-border);
}

.faq__item:first-child {
  border-top: 1px solid var(--c-border);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  background: none;
  cursor: pointer;
  transition: color 0.15s;
}

.faq__question:hover {
  color: var(--c-blue);
}

.faq__question svg {
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--c-blue);
}

.faq__item.open .faq__question svg {
  transform: rotate(180deg);
}

.faq__answer {
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  padding-bottom: 0;
}

.faq__item.open .faq__answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* === CONTACT FORM === */
.contact {
  background: var(--c-bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__left {}

.contact__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-blue);
  margin-bottom: 16px;
}

.contact__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.2;
  margin-bottom: 40px;
}

/* Contact info items */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
}

.contact-info__label {
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 2px;
}

.contact-info__val {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
}

.contact-info__val:hover {
  color: var(--c-accent);
}

/* Form card */
.contact__form-wrap {
  background: var(--c-surface);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--c-border);
}

.form {}

.form__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 6px;
}

.form__subtitle {
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  margin-bottom: 16px;
}

.form__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-muted);
  margin-bottom: 6px;
  display: block;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--c-text);
  background: var(--c-bg);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.12);
}

.form__input.error {
  border-color: var(--c-accent);
}

.form__textarea {
  resize: vertical;
  min-height: 80px;
}

.form__file {
  width: 100%;
  padding: 12px 16px;
  border: 1px dashed var(--c-border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--c-muted);
  background: var(--c-bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s;
}

.form__file:hover {
  border-color: var(--c-blue);
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 20px;
}

.form__checkbox input {
  margin-top: 2px;
  cursor: pointer;
}

.form__checkbox a {
  color: var(--c-accent);
  text-decoration: underline;
}

.form__submit {
  width: 100%;
}

.form__note {
  font-size: 12px;
  color: var(--c-muted);
  text-align: center;
  margin-top: 12px;
}

.form__success {
  display: none;
  text-align: center;
  padding: 24px;
}

.form__success.visible {
  display: block;
}

.form__success-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.form__success-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 8px;
}

.form__success-text {
  font-size: 14px;
  color: var(--c-muted);
}

/* === FOOTER === */
.footer {
  background: #0f1e3a;
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__col-brand {}

.footer__logo-wrap {
  display: inline-block;
  margin-bottom: 16px;
}

.footer__logo-img {
  height: 64px;
  width: auto;
  border-radius: 8px;
}

.footer__tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 260px;
}

.footer__col {}

.footer__col-title {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-accent);
  display: inline-block;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
  text-decoration: none;
}

.footer__link:hover {
  color: #fff;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
}

.footer__contact a {
  color: inherit;
  transition: color 0.15s;
  text-decoration: none;
}

.footer__contact a:hover {
  color: #fff;
}

.footer__cta {
  width: 100%;
  margin-top: 4px;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 14px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__dev {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  opacity: .55;
  transition: opacity .2s;
}

.footer__dev:hover {
  opacity: 1;
}

.footer__dev-logo {
  height: 38px;
  width: auto;
  display: block;
}

.footer__dev-label {
  font-size: 12px;
  color: rgba(255, 255, 255, .7);
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 500;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox__img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
  z-index: 10;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
  z-index: 10;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav--prev {
  left: 20px;
}

.lightbox__nav--next {
  right: 20px;
}

.lightbox__counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
}

.case-card[data-lightbox] {
  cursor: zoom-in;
}

/* === MOBILE MENU === */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 34, 54, 0.96);
  z-index: 200;
  flex-direction: column;
  padding: 80px 24px 40px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu__link {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.15s;
}

.mobile-menu__link:hover {
  opacity: 0.7;
}

.mobile-menu__cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu__phone {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.mobile-menu__email {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

/* === PROMO BANNER === */
.promo-banner {
  background: linear-gradient(135deg, var(--c-blue) 0%, #0e2448 100%);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.promo-banner__title {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.promo-banner__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.promo-banner__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .hero__grid {
    gap: 40px;
  }

  .contact__grid {
    gap: 40px;
  }

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

  .case-study__left {
    border-right: none;
    border-bottom: 1px solid var(--c-border);
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 28px;
    line-height: 40px;
  }

  .topbar {
    display: none;
  }

  .nav {
    display: none;
  }

  .nav__contacts {
    display: none;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

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

  .hero__visual {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 48px 0;
  }

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

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

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

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

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

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

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

  .section {
    padding: 48px 0;
  }

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

  .hero__cta {
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .hero__cta .btn {
    width: 100%;
    flex: unset;
  }

  .case-study__left,
  .case-study__right {
    padding: 24px;
  }

  .promo-banner__cta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .ticker__item {
    font-size: 12px;
    padding: 0 16px;
  }

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

  .hero__tag {
    font-size: 12px;
  }
}

/* === FLOATING BUTTONS === */
.fab-wrap {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 90;
}

.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  font-weight: 700;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.fab:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.fab--top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-text);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
}

.fab--top.visible {
  opacity: 1;
  pointer-events: auto;
}

.fab--consult {
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  background: var(--c-accent);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(211, 47, 47, 0.4);
}

@media (max-width: 600px) {
  .fab--consult span {
    display: none;
  }

  .fab--consult {
    padding: 12px;
    border-radius: 50%;
    /*width: 48px; height: 48px;*/
    width: 102px;
    height: 102px;
    font-size: 12px;
  }

  .fab--consult svg {
    display: none;
  }
}

/* === UTILITIES === */
.text-accent {
  color: var(--c-accent);
}

.text-blue {
  color: var(--c-blue);
}

.text-muted {
  color: var(--c-muted);
}

.fw-800 {
  font-weight: 800;
}

.hidden {
  display: none !important;
}

.show {
  display: block !important;
}

/* === CONSULT MODAL === */
.consult-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 34, 54, .55);
  backdrop-filter: blur(3px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}

.consult-overlay.open {
  opacity: 1;
  visibility: visible;
}

.consult-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  padding: 32px;
  position: relative;
  transform: translateY(16px);
  transition: transform .3s;
}

.consult-overlay.open .consult-modal {
  transform: translateY(0);
}

.consult-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.consult-modal__close:hover {
  background: var(--c-bg);
  color: var(--c-text);
}

.consult-modal__title {
  font-size: 18px;
  line-height: 28px;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 4px;
}

.consult-modal__sub {
  font-size: 13px;
  line-height: 20px;
  color: var(--c-muted);
  margin-bottom: 16px;
}

.consult-form__fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.consult-form__input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-bg);
  outline: none;
  transition: border-color .15s;
}

.consult-form__input::placeholder {
  color: var(--c-muted);
}

.consult-form__input:focus {
  border-color: var(--c-blue);
  background: #fff;
}

.consult-form__input.err {
  border-color: var(--c-accent);
}

.consult-form__textarea {
  resize: vertical;
  min-height: 88px;
}

.consult-form__files {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.consult-form__file-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg);
  font-size: 14px;
  color: var(--c-muted);
  cursor: pointer;
  transition: border-color .15s;
}

.consult-form__file-label:hover {
  border-color: var(--c-blue);
}

.consult-form__file-label svg {
  flex-shrink: 0;
}

.consult-form__file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.consult-form__file-list[hidden] {
  display: none;
}

.consult-form__file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  background: #fff;
  min-width: 0;
}

@media (max-width: 520px) {
  .consult-form__file-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .consult-form__file-list {
    grid-template-columns: 1fr;
  }
}

.consult-form__file-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 10px;
  font-weight: 700;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .02em;
}

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

.consult-form__file-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.consult-form__file-meta-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.consult-form__file-meta-size {
  font-size: 11px;
  color: var(--c-muted);
}

.consult-form__file-remove {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}

.consult-form__file-remove:hover {
  background: rgba(220, 38, 38, .08);
  color: var(--c-accent);
}

.consult-form__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--c-muted);
  cursor: pointer;
  line-height: 1.4;
  margin-bottom: 16px;
}

.consult-form__agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--c-accent);
  cursor: pointer;
}

.consult-form__agree a {
  color: var(--c-accent);
  text-decoration: underline;
}

.consult-form__submit {
  width: 100%;
  padding: 15px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .15s, opacity .15s;
}

.consult-form__submit:hover {
  background: var(--c-accent-hover);
}

.consult-form__submit:disabled {
  opacity: .7;
  cursor: default;
}

.consult-form__success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #f0f8f0;
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
  color: #2e7d32;
  font-weight: 500;
  line-height: 1.4;
}

.consult-form__success.visible {
  display: flex;
}

@media (max-width: 480px) {
  .consult-modal {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .consult-modal__title {
    font-size: 19px;
  }
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--c-blue);
  color: rgba(255, 255, 255, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 24px;
  font-size: 14px;
  line-height: 1.5;
  transform: translateY(0);
  transition: transform .4s ease, opacity .4s ease;
}

.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__text {
  margin: 0;
  flex: 1;
  max-width: 760px;
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner__text a:hover {
  opacity: .8;
}

.cookie-banner__btn {
  flex-shrink: 0;
  padding: 9px 24px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s;
}

.cookie-banner__btn:hover {
  background: var(--c-accent-hover);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .cookie-banner__btn {
    width: 100%;
    text-align: center;
  }
}

/* === QUIZ MODAL === */
.quiz-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 34, 54, .55);
  backdrop-filter: blur(3px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}

.quiz-overlay.open {
  opacity: 1;
  visibility: visible;
}

.quiz-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 32px 20px;
  transform: translateY(16px);
  transition: transform .3s;
}

.quiz-overlay.open .quiz-modal {
  transform: translateY(0);
}

.quiz-modal__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.quiz-modal__step-lbl {
  flex: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-blue);
  text-transform: uppercase;
}

.quiz-modal__pct {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-accent);
  margin-right: 10px;
}

.quiz-modal__close {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.quiz-modal__close:hover {
  background: var(--c-bg);
  color: var(--c-text);
}

.quiz-modal__bar {
  height: 4px;
  background: #e2e5eb;
  border-radius: 2px;
  margin-bottom: 22px;
  overflow: hidden;
}

.quiz-modal__bar-fill {
  height: 100%;
  background: var(--c-accent);
  border-radius: 2px;
  transition: width .4s ease;
  width: 0;
}

.quiz-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 18px;
  line-height: 1.3;
}

/* Grid (step 1) */
.quiz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quiz-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 16px 8px 14px;
  background: var(--c-bg);
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--c-text);
  text-align: center;
  line-height: 1.3;
  min-height: 96px;
  width: 100%;
}

.quiz-card:hover,
.quiz-card.sel {
  border-color: var(--c-blue);
  background: #eef2f9;
}

.quiz-card__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--c-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-card__icon svg {
  width: 100%;
  height: 100%;
}

/* List (steps 2-4) */
.quiz-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--c-bg);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  text-align: left;
  width: 100%;
}

.quiz-opt:hover,
.quiz-opt.sel {
  border-color: var(--c-blue);
  background: #eef2f9;
}

.quiz-opt__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-opt__icon svg {
  width: 100%;
  height: 100%;
}

.quiz-opt__main {
  flex: 1;
}

.quiz-opt__label {
  font-weight: 600;
  font-size: 15px;
  color: var(--c-text);
  display: block;
}

.quiz-opt__sub {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 2px;
  display: block;
}

/* Footer */
.quiz-modal__foot {
  margin-top: 16px;
  min-height: 28px;
}

.quiz-modal__back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--c-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}

.quiz-modal__back:hover {
  color: var(--c-text);
}

.quiz-modal__back.gone {
  visibility: hidden;
}

/* Form */
.quiz-notice {
  background: #f0f8f0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.quiz-notice__title {
  font-weight: 700;
  font-size: 15px;
  color: var(--c-text);
  margin-bottom: 4px;
}

.quiz-notice__text {
  font-size: 13.5px;
  color: var(--c-muted);
  line-height: 1.5;
}

.quiz-notice__text strong {
  color: var(--c-accent);
  font-weight: 600;
}

.quiz-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.quiz-input,
.quiz-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--c-text);
  background: #fff;
  outline: none;
  transition: border-color .15s;
}

.quiz-input::placeholder,
.quiz-textarea::placeholder {
  color: var(--c-muted);
}

.quiz-input:focus,
.quiz-textarea:focus {
  border-color: var(--c-blue);
}

.quiz-input.err,
.quiz-textarea.err {
  border-color: var(--c-accent);
}

.quiz-textarea {
  resize: vertical;
  min-height: 76px;
}

.quiz-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--c-muted);
  cursor: pointer;
  line-height: 1.4;
  margin-bottom: 14px;
}

.quiz-agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--c-accent);
  cursor: pointer;
}

.quiz-agree a {
  color: var(--c-accent);
  text-decoration: underline;
}

.quiz-submit {
  width: 100%;
  padding: 15px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .15s, opacity .15s;
}

.quiz-submit:hover {
  background: var(--c-accent-hover);
}

.quiz-submit:disabled {
  opacity: .7;
  cursor: default;
}

/* Success */
.quiz-success {
  text-align: center;
  padding: 24px 16px 8px;
}

.quiz-success__ico {
  width: 60px;
  height: 60px;
  background: #f0f8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #2e7d32;
}

.quiz-success h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.quiz-success p {
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 540px) {
  .quiz-modal {
    padding: 20px 16px 16px;
    border-radius: 16px;
  }

  .quiz-grid {
    gap: 8px;
  }

  .quiz-card {
    padding: 12px 6px 10px;
    min-height: 84px;
    font-size: 11.5px;
  }

  .quiz-card__icon {
    width: 30px;
    height: 30px;
  }

  .quiz-modal__title {
    font-size: 17px;
  }

  .quiz-opt {
    padding: 12px 14px;
    gap: 10px;
  }

  .quiz-opt__label {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .hero__content h1 .tooltip-wrapper:hover .tooltip-text {
    right: -130px;
  }

  .products__cta .btn {
    white-space: unset;
  }

  .logo__text {
    font-size: 9px;
  }

  .case-study__grid {
    height: auto;
  }

  .contact__title {
    display: none;
  }
  .fab-wrap {
    display: none;
  }
}