:root {
  --primary: #FFB800;
  --primary-hover: #E5A600;
  --bg-dark: #121212;
  --bg-darker: #0A0A0A;
  --text-light: #F4F4F4;
  --text-muted: #A0A0A0;
}

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

html {
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', sans-serif;
}

a {
  text-decoration: none;
  color: var(--text-light);
}

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

/* Header */
.header {
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--primary);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 55px;
  height: auto;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.logo-text-block {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-size: 22px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}

.company-desc {
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
  margin-top: 4px;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.header-nav a {
  color: #ddd;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s;
}

.header-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.header-nav a:hover {
  color: #fff;
}

.header-nav a:hover::after {
  width: 100%;
}

.phone-icon {
  color: var(--primary);
  font-size: 14px;
  margin-right: 6px;
}

@media (max-width: 1200px) {
  .header-nav {
    display: none;
  }
}

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

.phone-link {
  font-weight: 700;
  font-size: 18px;
  transition: color 0.3s;
}

.phone-link:hover {
  color: var(--primary);
}

.header-messengers {
  display: flex;
  gap: 10px;
}

.msg-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  color: #fff;
}

.msg-icon:hover {
  transform: scale(1.1);
}

.msg-icon.viber {
  background-color: #7360f2;
}

.msg-icon.telegram {
  background-color: #0088cc;
}

.msg-icon.whatsapp {
  background-color: #25d366;
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url('./hero-bg.jpg');
  background-size: cover;
  background-position: center right;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Усиленное размытие правого края */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  mask-image: linear-gradient(90deg, black 0%, transparent 10%, transparent 60%, black 100%);
  -webkit-mask-image: linear-gradient(90deg, black 0%, transparent 10%, transparent 60%, black 100%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.97) 0%, rgba(10, 10, 10, 0.85) 35%, rgba(10, 10, 10, 0.4) 60%, rgba(10, 10, 10, 0.05) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 60px 0;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 184, 0, 0.5);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.hero-badge i {
  font-size: 14px;
}

/* Heading */
.hero h1 {
  font-size: 50px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.0;
  letter-spacing: -0.5px;
  color: #fff;
}

.hero-highlight {
  color: var(--primary);
  font-size: 1.05em;
  text-shadow: 0 0 30px rgba(255, 184, 0, 0.35);
}

/* Subtitle */
.hero .subtitle {
  font-size: 19px;
  margin-bottom: 28px;
  color: #f0f0f0;
  line-height: 1.7;
}

/* Trust checklist */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-bottom: 52px;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: #f5f5f5;
  letter-spacing: 0.3px;
  line-height: 1;
}

.hero-trust i {
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
  position: relative;
  top: 0;
}

/* CTA Button */
.hero-cta {
  font-size: 15px;
  padding: 18px 42px;
  border-radius: 6px;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(255, 184, 0, 0.3);
  letter-spacing: 0.5px;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 184, 0, 0.45);
}

/* Buttons & Common */
.btn {
  padding: 15px 30px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-darker);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
  padding: 12px 24px;
  font-size: 14px;
  border-radius: 6px;
  text-transform: uppercase;
}

.btn-outline:hover {
  background-color: rgba(255, 184, 0, 0.1);
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.2);
  color: var(--primary);
}

.catalog-download-block {
  text-align: center;
  margin-top: 40px;
  padding: 25px;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.05) 0%, rgba(26, 26, 26, 0) 100%);
  border-radius: 8px;
  border: 1px solid rgba(255, 184, 0, 0.15);
}

.catalog-download-block p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ccc;
  font-weight: 500;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--primary);
}

/* ФИЧИ (Почему мы) */
.features {
  padding: 80px 0 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #1A1A1A;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #333;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #fff;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.card {
  background-color: #1A1A1A;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #333;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border-color: #555;
}

.card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-content {
  padding: 25px;
  flex: 1;
  background-color: #1A1A1A;
  border-top: 3px solid var(--primary);
}

.card-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.card-content p {
  color: var(--text-muted);
  font-size: 14px;
}

.how-we-work {
  padding: 100px 0;
  background-color: var(--bg-dark);
  margin-top: 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 55px;
  /* middle of icons */
  left: 5%;
  width: 90%;
  height: 2px;
  border-top: 2px dashed rgba(255, 184, 0, 0.4);
  z-index: 0;
}

@media (max-width: 900px) {
  .steps-grid::before {
    display: none;
  }
}

.step {
  background: #1A1A1A;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  z-index: 1;
  border: 1px solid #333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.step-icon {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
  background: #1A1A1A;
  padding: 0 15px;
}

.step-num {
  font-size: 60px;
  font-weight: 800;
  color: #fff;
  opacity: 0.05;
  position: absolute;
  top: 0px;
  right: 15px;
  z-index: -1;
}

.step h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

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

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #1A1A1A;
  border: 1px solid #333;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: #555;
}

.faq-item summary {
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
  color: #fff;
}

.summary-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.summary-content i {
  font-size: 24px;
  color: var(--primary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary);
  transition: transform 0.3s ease;
  font-size: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item[open] summary {
  background-color: #222;
  border-bottom: 1px solid #333;
}

.faq-answer {
  padding: 20px 25px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.lead-form-section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.form-wrapper {
  background-color: #1A1A1A;
  padding: 50px;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 184, 0, 0.2);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.lead-form input {
  padding: 15px;
  background: #2F2F2F;
  border: 2px solid #555;
  color: #fff;
  border-radius: 4px;
}

.footer {
  background-color: var(--bg-darker);
  padding: 50px 0 0;
  border-top: 1px solid #2a2a2a;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #222;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.5;
}

.footer-contacts h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 14px;
}

.footer-contacts p {
  margin-bottom: 8px;
}

.footer-contacts a {
  color: #aaa;
  font-size: 14px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contacts a:hover {
  color: var(--primary);
}

.footer-contacts i {
  font-size: 13px;
  color: var(--primary);
}

/* Скрываем мобильные мессенджеры в подвале на ПК */
.footer-messengers-mobile {
  display: none;
}

/* Requisites */
.footer-requisites {
  padding: 24px 0;
  border-bottom: 1px solid #222;
}

.footer-req-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-req-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.req-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
}

.req-value {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
}

/* Copyright bar */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  font-size: 12px;
  color: #444;
  flex-wrap: wrap;
  text-align: center;
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a1a1a;
  border-top: 1px solid #2d2d2d;
  box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-icon {
  font-size: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-text p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.5;
  margin: 0;
}

.cookie-text strong {
  color: #ccc;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s, transform 0.15s;
}

.cookie-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.cookie-accept {
  background: var(--primary);
  color: #0a0a0a;
}

.cookie-decline {
  background: transparent;
  border: 1px solid #333;
  color: #666;
}

/* ── ПЛАВАЮЩАЯ КНОПКА (Скрыта на ПК) ── */
.fab-wrapper {
  display: none;
}

/* ===== MOBILE ≤768px ===== */
@media (max-width: 768px) {

  .container {
    padding: 0 16px;
  }

  .header {
    padding: 10px 0;
  }

  .header-content {
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: space-between;
  }

  .logo-img {
    width: 40px;
  }

  .company-name {
    font-size: 16px;
  }

  .company-desc {
    font-size: 10px;
  }

  .phone-link {
    display: none;
  }

  .header-right {
    width: auto;
    gap: 8px;
  }

  /* Скрываем мессенджеры в шапке на мобилке */
  .header-messengers {
    display: none !important;
  }

  /* --- НОВЫЙ БЛОК ПЛАВАЮЩЕЙ КНОПКИ ДЛЯ МОБИЛОК --- */
  .fab-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 999;
    gap: 15px;
  }

  .fab-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #0A0A0A;
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(255, 184, 0, 0.5);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fab-pulse 2s infinite;
    border: none;
    cursor: pointer;
    outline: none;
  }

  .fab-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(255, 184, 0, 0.65);
  }

  @keyframes fab-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 184, 0, 0.5); }
    50% { box-shadow: 0 4px 28px rgba(255, 184, 0, 0.8); }
  }

  .fab-menu {
    background-color: #1A1A1A;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    display: none; /* Скрыто по умолчанию */
    flex-direction: column;
    width: 170px;
    overflow: hidden;
  }

  .fab-menu.show {
    display: flex;
    animation: popUp 0.2s ease-out forwards;
  }

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

  .fab-menu-item {
    padding: 14px 16px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #2a2a2a;
  }

  .fab-menu-item:last-child {
    border-bottom: none;
  }

  .fab-menu-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 40px 0 36px;
    background-position: 70% center;
  }

  .hero-content {
    padding: 0;
  }

  .hero-badge {
    font-size: 10px;
    padding: 5px 12px;
    margin-bottom: 16px;
    gap: 6px;
  }

  .hero-badge i {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.12;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
  }

  .hero h1 br {
    display: none;
  }

  .hero .subtitle {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .hero .subtitle br {
    display: none;
  }

  .hero-trust {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
  }

  .hero-trust span {
    font-size: 13px;
  }

  .hero-cta {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
    font-size: 14px;
    display: block;
  }

  section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .features {
    padding: 50px 0 30px;
  }

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

  .feature-card {
    padding: 24px 16px;
  }

  .feature-icon {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .feature-card h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .feature-card p {
    font-size: 12px;
    line-height: 1.4;
  }

  .card-content {
    padding: 14px;
  }

  .card-content h3 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .card-content p {
    font-size: 12px;
  }

  .card-img {
    padding: 12px;
  }

  .catalog-download-block {
    margin-top: 24px;
    padding: 18px 16px;
  }

  .catalog-download-block p {
    font-size: 14px;
  }

  .how-we-work {
    padding: 50px 0;
    margin-top: 0;
  }

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

  .steps-grid::before {
    display: none;
  }

  .step {
    padding: 20px 14px;
  }

  .step-icon {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .step-num {
    font-size: 40px;
  }

  .step h4 {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .step p {
    font-size: 12px;
  }

  .faq-item summary {
    padding: 16px 18px;
    font-size: 15px;
  }

  .summary-content i {
    font-size: 20px;
  }

  .faq-answer {
    padding: 14px 18px;
    font-size: 14px;
  }

  .lead-form-section {
    padding: 50px 0;
  }

  .form-wrapper {
    padding: 30px 20px;
  }

  .form-wrapper .section-title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .lead-form input {
    padding: 12px;
    font-size: 14px;
  }

  .footer {
    padding: 28px 0 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
    text-align: left;
  }

  /* Скрываем старые текстовые ссылки Telegram и Viber в подвале на мобилке */
  .footer-contacts p > a[href*="t.me"],
  .footer-contacts p > a[href*="viber"] {
    display: none !important;
  }

  /* Показываем круглые иконки мессенджеров в подвале */
  .footer-messengers-mobile {
    display: flex;
    gap: 12px;
    margin-top: 15px;
  }

  .footer-req-grid {
    flex-direction: column;
    gap: 16px;
  }

  .footer-bottom {
    font-size: 11px;
    padding: 14px 0;
    flex-direction: column;
    gap: 8px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
  }

  .cookie-icon {
    font-size: 24px;
  }

  .cookie-text p {
    font-size: 13px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 13px;
  }

  .quiz-expert-badge {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 16px 20px 14px;
    background: #1e1e1e;
    border-bottom: 1px solid #252525;
  }

  .quiz-expert-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2px solid var(--primary);
    flex-shrink: 0;
    filter: grayscale(15%);
  }

  .quiz-expert-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .quiz-expert-name {
    font-size: 13px;
    font-weight: 700;
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
  }

  .quiz-expert-label {
    font-size: 11px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .quiz-expert-dot {
    font-size: 7px;
    color: #2ecc71;
  }

  .quiz-section {
    padding: 30px 0 20px;
  }

  .quiz-section .section-title {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .quiz-section > .container > p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .quiz-left {
    display: none !important;
  }

  .quiz-wrapper {
    flex-direction: column !important;
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6) !important;
    background: #161616 !important;
  }

  .quiz-right {
    padding: 0 !important;
    background: #161616 !important;
    border-radius: 0 !important;
    min-height: unset !important;
    overflow: hidden !important;
  }

  .quiz-progress-outer {
    order: -1;
    padding: 16px 20px 12px;
    border-radius: 20px 20px 0 0;
    background: #1e1e1e;
    border-top: none;
    border-bottom: 1px solid #2a2a2a;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .quiz-progress-label {
    font-size: 11px;
    min-width: auto;
    letter-spacing: 1.5px;
    text-align: center;
  }

  .quiz-progress-bar {
    height: 6px;
    border-radius: 3px;
  }

  .quiz-steps-viewport {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
    flex: 1;
  }

  .quiz-step {
    grid-area: 1 / 1;
    position: relative;
  }

  .quiz-step.active {
    padding: 24px 20px 20px;
    border-radius: 0;
    box-shadow: none;
    background: #161616;
    animation: slideInRight 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .quiz-step.slide-in-from-right {
    animation: slideInFromRight 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    display: flex;
    flex-direction: column;
    padding: 24px 20px 20px;
    background: #161616;
    min-height: 380px;
    position: relative;
  }

  .quiz-step.slide-out-left {
    animation: slideOutLeft 0.28s cubic-bezier(0.55, 0, 1, 0.45) both;
  }

  .quiz-step.slide-in-from-left {
    animation: slideInLeft 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }

  .quiz-step.slide-out-right {
    animation: slideOutRight 0.28s cubic-bezier(0.55, 0, 1, 0.45) both;
  }

  @keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  @keyframes slideOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(-60px); }
  }

  @keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  @keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(60px); }
  }

  @keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .quiz-step h3 {
    font-size: 19px;
    margin-bottom: 6px;
    line-height: 1.25;
  }

  .quiz-subtitle {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .quiz-desc {
    font-size: 13px;
    margin-bottom: 18px;
    line-height: 1.5;
  }

  .quiz-options {
    grid-template-columns: 1fr !important;
    gap: 10px;
    margin-bottom: 16px;
  }

  .quiz-box {
    padding: 14px 16px;
    font-size: 15px;
    border-width: 2px;
    border-radius: 12px;
    border-color: #2d2d2d;
    background-color: #1e1e1e;
    transition: border-color 0.18s, background-color 0.18s;
    box-shadow: none;
    min-height: 52px;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    line-height: 1.35;
  }

  .quiz-option input:checked + .quiz-box {
    border-color: #FFB800;
    background-color: rgba(255, 184, 0, 0.12);
    color: #FFB800;
    transform: scale(1.01);
  }

  .messenger-options {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .messenger-options .quiz-box {
    justify-content: center;
    padding: 16px 10px;
    font-size: 14px;
    min-height: 54px;
  }

  .messenger-options .quiz-box i {
    font-size: 20px;
    margin-right: 7px;
  }

  .quiz-input {
    padding: 16px 18px;
    font-size: 16px;
    border-radius: 14px;
    border-width: 2px;
    background: #1e1e1e;
    border-color: #2d2d2d;
  }

  .quiz-input-group {
    margin-bottom: 16px;
  }

  .quiz-actions {
    flex-direction: row;
    gap: 10px;
    padding-top: 10px;
    align-items: stretch;
  }

  .quiz-prev {
    flex: 0 0 52px;
    min-width: 52px;
    height: 52px;
    padding: 0;
    font-size: 0;
    border-radius: 14px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 2px solid #333 !important;
    background: transparent !important;
    color: transparent;
  }

  .quiz-prev::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f060';
    font-size: 17px;
    color: #AAA;
  }

  .quiz-actions-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
  }

  .quiz-actions .btn-primary,
  .quiz-actions-right .btn-primary {
    flex: 1;
    text-align: center;
    padding: 15px 12px;
    font-size: 13px;
    border-radius: 14px;
    letter-spacing: 0.3px;
    line-height: 1.3;
  }

  .quiz-skip-btn {
    display: block !important;
    background: transparent !important;
    border: none !important;
    color: #666 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    padding: 4px 0 !important;
    text-align: center !important;
    text-decoration: underline;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer;
    width: 100%;
  }

  .quiz-success {
    padding: 36px 16px 28px;
  }

  .success-icon {
    font-size: 52px;
    margin-bottom: 16px;
  }

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

  .quiz-summary {
    font-size: 13px;
    width: 100%;
  }

  .quiz-restart-btn {
    font-size: 13px !important;
    padding: 14px 20px !important;
  }

  .quiz-cta-bottom {
    padding: 16px 20px;
    background: #111;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 12px;
    color: #555;
  }
}

/* ══════════════════════════════════════════════════════
   Desktop Quiz Section
══════════════════════════════════════════════════════ */
.quiz-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.quiz-wrapper {
  display: flex;
  background-color: #1A1A1A;
  border-radius: 12px;
  position: relative;
  border: 4px solid #1A1A1A;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.quiz-wrapper::after {
  display: none;
}

.quiz-expert-badge {
  display: none;
}

.quiz-left {
  flex: 0 0 35%;
  position: relative;
  background-color: #222;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.quiz-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}

.quiz-right {
  flex: 1;
  padding: 40px;
  position: relative;
  z-index: 1;
  background: repeating-linear-gradient(45deg,
      #FFB800,
      #FFB800 30px,
      #0A0A0A 30px,
      #0A0A0A 60px);
  min-height: 450px;
  display: flex;
  flex-direction: column;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.quiz-steps-viewport {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.quiz-step {
  display: none;
  animation: fadeIn 0.4s ease forwards;
  flex: 1;
}

.quiz-step.active {
  display: flex;
  flex-direction: column;
  background: #1A1A1A;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-step h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary);
}

.quiz-subtitle {
  margin-bottom: 25px;
  color: var(--text-muted);
}

.quiz-desc {
  margin-bottom: 25px;
  font-size: 14px;
  color: #CCC;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.quiz-options.column-options {
  grid-template-columns: 1fr;
}

.quiz-option {
  cursor: pointer;
}

.quiz-option input {
  display: none;
}

.quiz-box {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background-color: #2a2a2a;
  border: 3px solid #333;
  border-radius: 12px;
  transition: all 0.2s;
  height: 100%;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.quiz-option:hover .quiz-box {
  border-color: #FFB800;
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 184, 0, 0.15);
}

.quiz-option input:checked+.quiz-box {
  border-color: #FFB800;
  background-color: rgba(255, 184, 0, 0.1);
  color: #FFB800;
}

.quiz-input-group {
  margin-bottom: 30px;
}

.quiz-input {
  width: 100%;
  padding: 15px 20px;
  background-color: #2F2F2F;
  border: 2px solid #555;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.quiz-input:focus {
  outline: none;
  background-color: #383838;
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(255, 184, 0, 0.3);
}

.quiz-input-prefix-wrap {
  display: flex;
  align-items: center;
  background-color: #2F2F2F;
  border: 2px solid #555;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.quiz-input-prefix-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(255, 184, 0, 0.3);
}

.quiz-input-prefix {
  padding: 15px 14px 15px 18px;
  color: #0088cc;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(0, 136, 204, 0.08);
  border-right: 1px solid #444;
  display: flex;
  align-items: center;
  gap: 6px;
}

.quiz-input-prefix i {
  font-size: 17px;
}

.quiz-input-prefixed {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 12px !important;
  flex: 1;
}

.quiz-actions {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
}

.quiz-actions-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.quiz-skip-btn {
  background: transparent;
  border: none;
  color: #666;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  transition: color 0.2s;
}

.quiz-skip-btn:hover {
  color: #999;
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #444;
  color: #CCC;
}

.btn-secondary:hover {
  border-color: #666;
  color: #FFF;
}

.quiz-progress-outer {
  background-color: #111;
  border-top: 1px solid #2a2a2a;
  border-radius: 0 0 12px 12px;
  padding: 14px 30px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.quiz-progress-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  white-space: nowrap;
  min-width: 70px;
}

.quiz-progress-bar {
  flex: 1;
  height: 8px;
  background-color: #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFB800, #FFD54F);
  border-radius: 4px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(255, 184, 0, 0.5);
}

.quiz-success {
  text-align: center;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.success-icon {
  font-size: 60px;
  color: var(--primary);
  margin-bottom: 20px;
}

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

.messenger-options .quiz-box i {
  font-size: 24px;
  margin-right: 10px;
}

.mt-15 {
  margin-top: 15px;
}

/* ══════════════════════════════════════════════════════
   MODAL — СКАЧАТЬ КАТАЛОГ
══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-box {
  position: relative;
  background: #161616;
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: 20px;
  padding: 48px 44px 40px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,184,0,0.08);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid #2d2d2d;
  color: #777;
  font-size: 22px;
  line-height: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: rgba(255,184,0,0.12);
  color: var(--primary);
}

.modal-icon {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 18px;
  filter: drop-shadow(0 0 16px rgba(255,184,0,0.4));
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 28px;
  line-height: 1.6;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-input-wrap {
  position: relative;
}

.modal-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
  font-size: 14px;
  pointer-events: none;
  transition: color 0.2s;
}

.modal-input {
  width: 100%;
  padding: 15px 16px 15px 44px;
  background: #1e1e1e;
  border: 2px solid #2d2d2d;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.modal-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,184,0,0.12);
}

.modal-input:focus + .modal-input-icon,
.modal-input-wrap:focus-within .modal-input-icon {
  color: var(--primary);
}

.modal-submit {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  border-radius: 12px;
  margin-top: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 24px rgba(255,184,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255,184,0,0.45);
}

.modal-privacy {
  font-size: 11px;
  color: #444;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.modal-success-wrap {
  padding: 20px 0;
}

.modal-success-icon {
  font-size: 64px;
  color: #2ecc71;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(46,204,113,0.4));
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes successPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

@media (max-width: 480px) {
  .modal-box {
    padding: 36px 22px 30px;
    border-radius: 16px;
  }
  .modal-title {
    font-size: 20px;
  }
  .modal-submit {
    padding: 15px;
    font-size: 14px;
  }
}

/* === ФИКС ПРЫГАЮЩЕГО РАЗМЕРА КВИЗА === */
.quiz-right {
  min-height: 640px !important; 
}

@media (max-width: 768px) {
  .quiz-step.active,
  .quiz-step.slide-in-from-right, 
  .quiz-step.slide-in-from-left {
    min-height: 600px !important; 
  }
}