/* ============================
   РемСтиль — CSS
   ============================ */

:root {
  --bg-primary: #0B1120;
  --bg-secondary: #0F1729;
  --bg-card: #151E30;
  --bg-card-hover: #1A2640;
  --blue: #3B82F6;
  --blue-light: #60A5FA;
  --blue-glow: rgba(59, 130, 246, 0.15);
  --gold: #F59E0B;
  --gold-light: #FBBF24;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(255, 255, 255, 0.07);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.header--scrolled {
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

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

.logo {
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.logo__icon {
  width: 80px;
  height: 80px;
  vertical-align: middle;
  margin-right: 10px;
}

.logo__icon--footer {
  width: 64px;
  height: 64px;
}

.logo__rem {
  color: var(--text-primary);
}

.logo__style {
  color: var(--blue);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav__link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link:hover::after {
  width: 100%;
}

.header__phone {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
  transition: var(--transition);
}

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

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
}

.btn--primary {
  background: linear-gradient(135deg, #3B82F6, #2563EB);
  color: #fff;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.45);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(59, 130, 246, 0.06);
}

.btn--large {
  padding: 18px 40px;
  font-size: 16px;
}

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

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 17, 32, 0.8) 0%, rgba(11, 17, 32, 0.65) 50%, rgba(11, 17, 32, 0.92) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&q=80') center/cover no-repeat;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--blue-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-light);
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease both;
}

.hero__title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
  animation: fadeInUp 0.6s 0.1s ease both;
}

.hero__accent {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.6s 0.4s ease both;
}

.stat__number {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
}

.stat__plus {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
}

.stat__label {
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* SECTIONS */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-glow);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* SERVICES */
.services {
  padding: 100px 0;
}

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

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

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-card--featured {
  border-color: rgba(59, 130, 246, 0.3);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.06) 0%, var(--bg-card) 100%);
}

.service-card__badge {
  position: absolute;
  top: -1px;
  right: 24px;
  padding: 6px 14px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0 0 8px 8px;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--blue);
  margin-bottom: 20px;
}

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

.service-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card__list {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
}

.service-card__price {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--blue-light);
  margin-top: auto;
}

.service-card__note {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.service-card__image {
  height: 200px;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: -36px -28px 24px;
}

.service-card__img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.25);
  font-size: 13px;
}

.service-card__img-placeholder svg {
  width: 56px;
  height: 56px;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card__footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* PRICE TABLE */
.price {
  padding: 100px 0;
}

.price__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.price__table thead th {
  padding: 18px 24px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(59, 130, 246, 0.06);
  border-bottom: 1px solid var(--border);
}

.price__table tbody td {
  padding: 16px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.price__table tbody tr:last-child td {
  border-bottom: none;
}

.price__table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.price__table tbody td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.price__table tbody td:last-child {
  color: var(--blue-light);
  font-weight: 600;
  white-space: nowrap;
}

.price__category {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(212, 168, 67, 0.04);
}

.price__category td {
  color: var(--gold) !important;
  padding: 14px 24px !important;
}

/* DESIGN PROJECTS */
.design {
  padding: 100px 0;
  background: var(--bg-secondary);
}

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

.design-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.design-card:hover {
  border-color: rgba(212, 168, 67, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.design-card__tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-glow);
  border-radius: 50px;
  font-size: 11px;
  color: var(--blue-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.design-card__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.design-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.design-card__includes {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.design-card__includes li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.5;
}

.design-card__includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.design-card__price {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-light);
}

.design-card__price-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* CALCULATOR */
.calculator {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.calc {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.calc__form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

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

.calc__option {
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  color: var(--text-secondary);
  font-family: inherit;
}

.calc__option:hover {
  border-color: rgba(59, 130, 246, 0.3);
}

.calc__option.active {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.08);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.calc__option-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.calc__option-price {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.calc__option--sm {
  padding: 12px;
  font-size: 13px;
}

.calc__option--sm small {
  font-size: 11px;
  color: var(--text-muted);
}

.calc__range {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-card);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.calc__range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.calc__result {
  position: sticky;
  top: 100px;
}

.calc__result-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.calc__result-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.calc__result-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1;
}

.calc__result-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.calc__detail {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.calc__detail span:first-child {
  color: var(--text-secondary);
}

.calc__detail span:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

.calc__result-note {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* TRUST BADGES */
.trust {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.trust__icon {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

/* PROMO BANNER */
.promo {
  background: linear-gradient(135deg, rgba(212,168,67,0.1), rgba(45,127,249,0.1));
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
}

.promo__text {
  flex: 1;
}

.promo__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--gold-light);
}

.promo__desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* WHATSAPP FLOATING */
.messenger-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.messenger-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.messenger-btn:hover {
  transform: scale(1.1);
}

.messenger-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.messenger-btn--wa {
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.messenger-btn--wa:hover {
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.messenger-btn--tg {
  background: #0088cc;
  box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
}

.messenger-btn--tg:hover {
  box-shadow: 0 6px 28px rgba(0, 136, 204, 0.5);
}

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

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

  .calc__result {
    position: static;
  }

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

  .trust__inner {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .price__table {
    display: block;
    overflow-x: auto;
  }

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

  .service-card__image {
    margin: -36px -28px 20px;
    height: 160px;
  }
}

/* WHY */
.why {
  padding: 100px 0;
  background: var(--bg-secondary);
}

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

.why-card {
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.why-card:hover {
  border-color: rgba(212, 168, 67, 0.2);
  background: rgba(212, 168, 67, 0.03);
}

.why-card__number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.why-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* PORTFOLIO */
.portfolio {
  padding: 100px 0;
}

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

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.portfolio-card__img {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card__placeholder {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  padding: 12px 24px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
}

.portfolio-card__info {
  padding: 20px 24px;
  background: var(--bg-card);
}

.portfolio-card__info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.portfolio-card__info p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.portfolio-card__tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-glow);
  border-radius: 50px;
  font-size: 12px;
  color: var(--blue-light);
  font-weight: 500;
}

/* PROCESS */
.process {
  padding: 100px 0;
  background: var(--bg-secondary);
}

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

.process__timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  opacity: 0.2;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-step__content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step__content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* REVIEWS */
.reviews {
  padding: 100px 0;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}

.review-card:hover {
  border-color: rgba(212, 168, 67, 0.2);
}

.review-card__stars {
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.review-card__name {
  font-size: 14px;
  font-weight: 600;
}

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

/* CTA */
.cta {
  padding: 80px 0;
  position: relative;
  background:
    linear-gradient(180deg, rgba(11, 17, 32, 0.88) 0%, rgba(11, 17, 32, 0.75) 50%, rgba(11, 17, 32, 0.92) 100%),
    url('https://images.unsplash.com/photo-1600585154526-990dced4db0d?w=1920&q=80') center/cover no-repeat;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.cta__inner {
  text-align: center;
}

.cta__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta__text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* CONTACT */
.contact {
  padding: 100px 0;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
  color: var(--text-muted);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

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

.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.contact-info__label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

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

a.contact-info__value:hover {
  color: var(--blue);
}

/* FOOTER */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

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

.footer__logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--text-primary);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FORM SUCCESS */
.form-success {
  text-align: center;
  padding: 40px;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

.form-success__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success__text {
  font-size: 14px;
  color: var(--text-secondary);
}

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

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

  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process__timeline::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 99;
  }

  .nav.active {
    display: flex;
  }

  .nav__link {
    font-size: 20px;
  }

  .burger {
    display: flex;
    z-index: 101;
  }

  .header__phone {
    display: none;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .services__grid,
  .services__grid--three,
  .why__grid,
  .portfolio__grid,
  .reviews__grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
  }

  .hero__actions {
    flex-direction: column;
  }

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

/* ============================
   BRAND LOGOS
   ============================ */
.brands {
  padding: 32px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.brands__label {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.brands__track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.brands__slide {
  display: flex;
  gap: 48px;
  animation: brandScroll 25s linear infinite;
  width: max-content;
}

.brand-item {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.5;
  transition: var(--transition);
  letter-spacing: 1px;
}

.brand-item:hover {
  opacity: 1;
  color: var(--text-secondary);
}

@keyframes brandScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================
   PROMO TIMER
   ============================ */
.promo__timer {
  margin-top: 16px;
}

.promo__timer-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

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

.promo__time-block {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
  min-width: 48px;
}

.promo__time-block span {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.promo__time-block small {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.promo__time-sep {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
}

/* ============================
   BEFORE / AFTER
   ============================ */
.beforeafter {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.ba__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.ba__item {
  text-align: center;
}

.ba__slider {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  border: 1px solid var(--border);
}

.ba__img {
  position: absolute;
  inset: 0;
}

.ba__img--after {
  clip-path: inset(0 50% 0 0);
}

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.ba__handle-line {
  flex: 1;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.ba__handle-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  flex-shrink: 0;
}

.ba__handle-circle svg {
  width: 14px;
  height: 14px;
}

.ba__label {
  position: absolute;
  top: 12px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.ba__label--before {
  right: 12px;
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
}

.ba__label--after {
  left: 12px;
  background: rgba(59, 130, 246, 0.85);
  color: #fff;
}

.ba__caption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

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

  .ba__slider {
    height: 260px;
  }
}

/* ============================
   FAQ
   ============================ */
.faq {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq__item.active {
  border-color: rgba(59, 130, 246, 0.2);
}

.faq__question {
  width: 100%;
  background: var(--bg-card);
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  transition: var(--transition);
}

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

.faq__icon {
  font-size: 24px;
  color: var(--blue);
  transition: var(--transition);
  flex-shrink: 0;
  line-height: 1;
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================
   EXIT POPUP
   ============================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: popupIn 0.4s ease;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.popup__close:hover {
  color: var(--text-primary);
}

.popup__icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.popup__title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.popup__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.popup__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup__input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

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

.popup__input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.popup__note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* QR CODE */
.contact-info__qr {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.qr-code {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  border: 2px solid var(--border);
  margin-top: 10px;
}