:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #dbeafe;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-soft: #ffedd5;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-warm: #fffbf7;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --hero-overlay: rgba(8, 18, 38, 0.72);
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --header-h: 72px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font-size: 0.85em;
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.25));
}
.logo__text span { color: var(--blue); }
.nav {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.nav a:hover { color: var(--blue); }
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-link {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: linear-gradient(135deg, var(--orange) 0%, #fb923c 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(249, 115, 22, 0.38);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--orange-dark) 0%, var(--orange) 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(249, 115, 22, 0.45);
}
.btn--secondary {
  background: linear-gradient(135deg, var(--blue) 0%, #3b82f6 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}
.btn--secondary:hover {
  background: var(--blue-dark);
  color: #fff;
  text-decoration: none;
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  text-decoration: none;
}
.btn--ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
}
.btn--max {
  background: linear-gradient(135deg, #5b4cf0, #7c3aed);
  color: #fff;
}
.btn--telegram {
  background: #229ed9;
  color: #fff;
}

/* Hero */
.hero {
  min-height: 100vh;
  margin-top: var(--header-h);
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    image-set(
      url("../images/hero.webp") type("image/webp"),
      url("../images/hero.jpg") type("image/jpeg")
    ) center/cover no-repeat,
    linear-gradient(145deg, #0c1929 0%, #1e3a5f 45%, #0f172a 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(249, 115, 22, 0.22), transparent),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(37, 99, 235, 0.18), transparent);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 72px;
}
.hero__content { max-width: 620px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: #fdba74;
}
.hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 26px;
  max-width: 34em;
}
.hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 10px;
}
.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.95rem;
}
.hero__bullets li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(253, 186, 116, 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fdba74' stroke-width='3'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}
.trust-chip svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

/* Hero visual */
.hero__visual {
  position: relative;
  min-height: 380px;
}
.hero-card {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}
.hero-card--main { padding: 20px; }
.hero-card__scene {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1e3a5f 0%, #0f172a 60%, #172554 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-card__scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.25), transparent 55%);
}
.hero-card__caption {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
.hero-furniture {
  position: relative;
  width: 58%;
  z-index: 1;
}
.hero-furniture__top {
  height: 18px;
  background: linear-gradient(90deg, #e2e8f0, #f8fafc);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -4px 20px rgba(255, 255, 255, 0.1);
}
.hero-furniture__body {
  height: 120px;
  background: linear-gradient(180deg, #f1f5f9 0%, #cbd5e1 100%);
  border-radius: 0 0 6px 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px;
  position: relative;
}
.hero-furniture__body span {
  display: block;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 4px;
}
.hero-furniture__tool {
  position: absolute;
  right: -28px;
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #fb923c);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.5);
  animation: float 4s ease-in-out infinite;
}
.hero-furniture__tool::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  border-top-color: transparent;
  border-right-color: transparent;
  transform: rotate(-45deg);
}
@keyframes float {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(calc(-50% - 8px)) translateX(4px); }
}
.hero-float {
  position: absolute;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.hero-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}
.hero-float span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.hero-float--rating {
  top: 8%;
  left: -6%;
  animation-delay: -1s;
}
.hero-float--stat {
  bottom: 12%;
  right: -4%;
  animation-delay: -2.5s;
}
.hero-float--rating strong { color: var(--orange); }

/* Sections */
section { padding: 80px 0; position: relative; }
section.alt {
  background: var(--bg-alt);
  background-image:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.04), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(249, 115, 22, 0.04), transparent 35%);
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
}

/* Quiz calculator */
.quiz {
  background: var(--bg);
  border-radius: calc(var(--radius) + 2px);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.quiz::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}
.quiz__progress {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.quiz__step-dot {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  transition: background 0.2s;
}
.quiz__step-dot.active,
.quiz__step-dot.done { background: var(--blue); }
/* quiz__panel transitions — animations.css */
.quiz__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 20px;
}
.quiz__options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.quiz__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.quiz__option:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
}
.quiz__option.selected {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}
.quiz__option svg {
  width: 32px;
  height: 32px;
  color: var(--blue);
  padding: 8px;
  background: var(--blue-soft);
  border-radius: 12px;
}
.quiz__checks { display: grid; gap: 12px; }
.quiz__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.quiz__check:has(input:checked) {
  border-color: var(--blue);
  background: rgba(37, 99, 235, 0.06);
}
.quiz__check input { margin-top: 3px; accent-color: var(--blue); }
.quiz__field { margin-bottom: 16px; }
.quiz__field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.quiz__field input {
  width: 100%;
  max-width: 120px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
}
.quiz__result {
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.quiz__price {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 8px 0;
}
.quiz__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}
.quiz__nav .btn { flex: 1; max-width: 200px; }

/* Advantages */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.advantage {
  background: var(--bg);
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.advantage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.advantage:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(37, 99, 235, 0.2);
}
.advantage:hover::before { opacity: 1; }
.advantage__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-soft), #eff6ff);
  border-radius: 14px;
  color: var(--blue);
  margin-bottom: 16px;
}
.advantage__icon svg { width: 24px; height: 24px; }
.advantage h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.advantage p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), #fbbf24);
  opacity: 0.85;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--orange-soft), #fff7ed);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 16px;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-family: var(--font-display);
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.service-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.service-card p {
  margin: 0 0 16px;
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.service-card__more {
  margin: -8px 0 12px;
  font-size: 0.88rem;
}
.service-card__more a {
  color: var(--blue);
  text-decoration: none;
}
.service-card__more a:hover {
  text-decoration: underline;
}

.seo-categories {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 42em;
}
.seo-categories__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 24px 0 8px;
}
.seo-categories__title:first-child {
  margin-top: 0;
}
.seo-categories p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}
.seo-categories a {
  color: var(--blue);
  white-space: nowrap;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process__item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process__num {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--bg-alt), 0 8px 20px rgba(37, 99, 235, 0.25);
}
.process__item h4 {
  font-family: var(--font-display);
  margin: 0 0 6px;
  font-size: 0.95rem;
}
.process__item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.portfolio-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-item:hover .portfolio-item__img {
  transform: scale(1.04);
}
.portfolio-item__caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px 16px;
  background: linear-gradient(transparent 42%, rgba(8, 18, 38, 0.55) 68%, rgba(8, 18, 38, 0.88));
  color: #fff;
  pointer-events: none;
}
.portfolio-item__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.portfolio-item__meta {
  margin-top: 4px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.92;
  letter-spacing: 0.01em;
}
.portfolio-item__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
}
.portfolio-item__fallback strong { font-weight: 700; }
.portfolio-item__fallback .portfolio-item__meta { font-size: 0.85rem; opacity: 0.9; }
.portfolio-item--placeholder { cursor: default; }
.portfolio-item--placeholder:hover {
  transform: none;
  box-shadow: none;
}
.portfolio-item__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.75));
  color: #fff;
}
.portfolio-item__placeholder strong { font-weight: 700; }
.portfolio-item__placeholder span { font-size: 0.85rem; opacity: 0.9; }

/* About */
.about {
  max-width: 720px;
}
.about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0;
}
.about__stat strong {
  font-family: var(--font-display);
  display: block;
  font-size: 1.6rem;
  color: var(--blue);
}
.about__stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.review-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.review-card__stars { color: #fbbf24; margin-bottom: 8px; }
.review-card p { margin: 0 0 10px; font-size: 0.92rem; }
.review-card__meta { font-size: 0.8rem; color: var(--text-muted); }
.review-screenshot {
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 12px;
}
.review-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.faq__item.open {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}
.faq__question {
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq__question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--blue);
  flex-shrink: 0;
}
.faq__item.open .faq__question::after { content: "−"; }
/* faq__answer анимация — в animations.css */

/* Extra services list */
.extras-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.extras-list__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.extras-list__item svg { width: 24px; height: 24px; color: var(--blue); flex-shrink: 0; }
.extras-list__item strong { display: block; font-size: 0.95rem; }
.extras-list__item span { font-size: 0.85rem; color: var(--orange); font-weight: 600; }

/* Contact / forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.field input.error { border-color: #dc2626; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}
.checkbox input { margin-top: 3px; accent-color: var(--blue); }

/* Photo upload */
.photo-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.photo-upload:hover,
.photo-upload.dragover {
  border-color: var(--blue);
  background: rgba(37, 99, 235, 0.04);
}
.photo-upload input { display: none; }
.photo-upload__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  color: var(--blue);
}
.photo-upload__hint { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.photo-preview__item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.photo-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-preview__remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
}

.form-status {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}
.form-status.success {
  display: block;
  background: #dcfce7;
  color: #166534;
}
.form-status.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
}

.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* CTA section */
.cta-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.12), transparent),
    linear-gradient(145deg, #1e40af 0%, var(--blue) 40%, #1d4ed8 100%);
  color: #fff;
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-display);
  color: #fff;
}
.cta-section p { color: rgba(255, 255, 255, 0.85); }
.cta-section .form-card {
  max-width: 480px;
  margin: 32px auto 0;
  text-align: left;
  color: var(--text);
}
.cta-section .messengers {
  justify-content: center;
  margin-top: 24px;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: rgba(255, 255, 255, 0.75);
  padding: 52px 0 32px;
}
.footer .logo {
  display: inline-flex;
  margin-bottom: 16px;
}
.footer .logo__text { color: #fff; }
.footer .logo__text span { color: #93c5fd; }
.footer h3 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.footer a { color: rgba(255, 255, 255, 0.85); }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.footer__phone {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(1.1rem, 3.2vw, 1.45rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  max-width: 100%;
}
.footer__phone:hover { color: var(--orange); text-decoration: none; }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.footer__social a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer__social a:hover { background: rgba(255, 255, 255, 0.18); text-decoration: none; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Sticky mobile bar */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  gap: 8px;
}
.sticky-bar .btn {
  flex: 1;
  padding: 12px 8px;
  font-size: 0.85rem;
}

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 10px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  z-index: 99;
  box-shadow: var(--shadow);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .hero__visual {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-float--rating { left: 0; }
  .hero-float--stat { right: 0; }
  .advantages,
  .services,
  .portfolio-grid,
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process::before { display: none; }
  .about { max-width: none; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .hero h1 { font-size: 1.85rem; }
  .hero__trust { flex-direction: column; align-items: flex-start; }
  .hero-float { display: none; }
  .advantages,
  .services,
  .portfolio-grid,
  .reviews-grid,
  .contact-grid,
  .footer__grid,
  .extras-list { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process__num { width: 48px; height: 48px; }
  .quiz { padding: 20px; }
  .quiz__options { grid-template-columns: repeat(2, 1fr); }
  .header__actions .btn--outline { display: none; }
  .sticky-bar { display: flex; }
}

@media (max-width: 400px) {
  .hero__cta .btn { width: 100%; }
  .quiz__options { grid-template-columns: 1fr; }
}
