/*
Theme Name: AVA Jurist
Theme URI: https://avajurist.ru/
Author: AVA Jurist Team
Description: Современный редизайн 2026 — AVA Jurist Prof
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: avajurist
Tags: business, law, legal-services, modern
*/

/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
  --c-primary:        #0F5C56;
  --c-primary-light:  #1A7870;
  --c-primary-dark:   #093D38;
  --c-primary-ghost:  rgba(15, 92, 86, 0.08);
  --c-accent:         #E0A33D;
  --c-accent-hover:   #C8902A;
  --c-bg:             #FAF8F4;
  --c-bg-alt:         #F2EFE9;
  --c-card:           #FFFFFF;
  --c-text:           #1C1F1E;
  --c-text-2:         #5B6360;
  --c-text-3:         #8A9290;
  --c-border:         rgba(15, 92, 86, 0.12);
  --c-border-light:   rgba(15, 92, 86, 0.06);
  --c-white:          #FFFFFF;

  --r-sm:   12px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-pill: 100px;

  --sh-sm:  0 1px 4px rgba(15,92,86,0.06), 0 4px 16px rgba(15,92,86,0.06);
  --sh-md:  0 2px 8px rgba(15,92,86,0.06), 0 8px 32px rgba(15,92,86,0.08);
  --sh-lg:  0 4px 16px rgba(15,92,86,0.06), 0 16px 64px rgba(15,92,86,0.12);

  --font-h: 'Onest', sans-serif;
  --font-b: 'Inter', sans-serif;

  --ease: 0.25s cubic-bezier(0.4,0,0.2,1);
  --ease-slow: 0.45s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--c-primary); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--c-primary-light); }

ul { list-style: none; }

button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

.container--narrow { max-width: 800px; }
.container--wide   { max-width: 1320px; }

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* Basic column grid */
[class*="col-"] { width: 100%; }

.col-1  { width: calc(8.333% - 12px); }
.col-2  { width: calc(16.666% - 12px); }
.col-3  { width: calc(25% - 12px); }
.col-4  { width: calc(33.333% - 12px); }
.col-5  { width: calc(41.666% - 12px); }
.col-6  { width: calc(50% - 12px); }
.col-7  { width: calc(58.333% - 12px); }
.col-8  { width: calc(66.666% - 12px); }
.col-9  { width: calc(75% - 12px); }
.col-10 { width: calc(83.333% - 12px); }
.col-12 { width: 100%; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5 { font-family: var(--font-h); font-weight: 700; line-height: 1.15; color: var(--c-text); }

h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 600; }
h4 { font-size: 20px; font-weight: 600; }

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

.section-sub {
  text-align: center;
  color: var(--c-text-2);
  font-size: 18px;
  margin-bottom: 56px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-primary);
  background: var(--c-primary-ghost);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin-bottom: 20px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--r-pill);
  padding: 14px 32px;
  transition: all var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn--primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.btn--primary:hover {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224,163,61,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  color: var(--c-white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn--outline-dark:hover {
  background: var(--c-primary);
  color: #fff;
}

.btn--ghost {
  background: var(--c-primary-ghost);
  color: var(--c-primary);
  border-color: transparent;
}
.btn--ghost:hover {
  background: rgba(15,92,86,0.15);
  color: var(--c-primary);
}

.btn--lg { font-size: 18px; padding: 18px 40px; }
.btn--sm { font-size: 14px; padding: 10px 22px; }
.btn--full { width: 100%; }

/* =============================================
   CARDS (base)
   ============================================= */
.card {
  background: var(--c-card);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-border-light);
  padding: 32px;
  transition: transform var(--ease), box-shadow var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

/* =============================================
   SITE HEADER / NAV (glassmorphism)
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border-light);
  transition: background var(--ease), box-shadow var(--ease);
}

.site-header.scrolled {
  background: rgba(250, 248, 244, 0.97);
  box-shadow: var(--sh-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.site-logo {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.site-logo span { color: var(--c-accent); }
.site-logo:hover { color: var(--c-primary); text-decoration: none; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text-2);
  border-radius: var(--r-sm);
  transition: all var(--ease);
}
.site-nav a:hover {
  color: var(--c-primary);
  background: var(--c-primary-ghost);
  text-decoration: none;
}

.site-nav a.nav-cta {
  background: var(--c-primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--r-pill);
}
.site-nav a.nav-cta:hover {
  background: var(--c-primary-light);
  color: #fff;
}

.nav-phone {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-primary) !important;
}
.nav-phone:hover { color: var(--c-primary-light) !important; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: all var(--ease);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--c-bg);
  padding: 24px;
  z-index: 999;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }

.mobile-menu ul { flex-direction: column; gap: 0; }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border-light);
}

/* =============================================
   SECTIONS (base)
   ============================================= */
section {
  padding: 96px 0;
}

section.section--sm { padding: 64px 0; }
section.section--lg { padding: 120px 0; }

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 160px 0 100px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 80%, rgba(15,92,86,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(224,163,61,0.12) 0%, transparent 60%),
    var(--c-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,92,86,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-primary-ghost);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 24px;
}

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

.hero h1 {
  margin-bottom: 20px;
  color: var(--c-text);
}

.hero h1 em {
  font-style: normal;
  color: var(--c-primary);
}

.hero-sub {
  font-size: 19px;
  color: var(--c-text-2);
  margin-bottom: 16px;
  line-height: 1.6;
}

.hero-objection {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--c-text-2);
  margin-bottom: 36px;
}
.hero-objection i { color: var(--c-primary); font-size: 14px; }

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--c-text-2);
}
.hero-trust-item strong { color: var(--c-text); font-weight: 600; }
.hero-trust-item i { color: var(--c-primary); }

/* Hero form card */
.hero-form-card {
  background: var(--c-card);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--c-border-light);
  padding: 36px 32px;
}

.hero-form-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--c-text);
}

.hero-form-card p {
  font-size: 14px;
  color: var(--c-text-2);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-2);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: var(--font-b);
  font-size: 15px;
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.form-input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(15,92,86,0.12);
}

.form-input::placeholder { color: var(--c-text-3); }

.form-consent {
  font-size: 12px;
  color: var(--c-text-3);
  margin: 14px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.form-consent a { color: var(--c-primary); }

.hero-messengers {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  align-items: center;
}
.hero-messengers span {
  font-size: 13px;
  color: var(--c-text-3);
}

.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--ease);
  text-decoration: none;
}
.messenger-btn--wa  { background: #25D366; color: #fff; }
.messenger-btn--tg  { background: #2AABEE; color: #fff; }
.messenger-btn--wa:hover  { background: #1EB857; color: #fff; }
.messenger-btn--tg:hover  { background: #1A9ED4; color: #fff; }

/* =============================================
   SEGMENT (физлица / бизнес)
   ============================================= */
.segment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.segment-card {
  background: var(--c-card);
  border-radius: var(--r-xl);
  border: 1.5px solid var(--c-border);
  padding: 40px 36px;
  display: block;
  transition: all var(--ease);
  text-decoration: none;
}
.segment-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
  text-decoration: none;
}

.segment-card .icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.segment-card:first-child .icon-wrap { background: rgba(15,92,86,0.1); color: var(--c-primary); }
.segment-card:last-child  .icon-wrap { background: rgba(224,163,61,0.12); color: var(--c-accent-hover); }

.segment-card h3 { font-size: 24px; margin-bottom: 8px; color: var(--c-text); }
.segment-card p  { color: var(--c-text-2); font-size: 15px; margin-bottom: 20px; }

.segment-card-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.segment-card-list li {
  font-size: 13px;
  background: var(--c-bg);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  color: var(--c-text-2);
}

.segment-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary);
}

/* =============================================
   STATS (бенто цифр)
   ============================================= */
.stats-section { background: var(--c-primary); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat-item {
  padding: 40px 32px;
  background: var(--c-primary);
  text-align: center;
}

.stat-number {
  font-family: var(--font-h);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number em {
  color: var(--c-accent);
  font-style: normal;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* =============================================
   SERVICES BENTO
   ============================================= */
.services-section { background: var(--c-bg); }

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

/* Первая карточка — большая */
.services-bento .service-card:first-child {
  grid-column: span 2;
}

.service-card {
  background: var(--c-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-light);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: var(--c-primary-ghost);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.service-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--c-text);
}

.service-card p {
  font-size: 14px;
  color: var(--c-text-2);
  flex: 1;
  margin-bottom: 20px;
  line-height: 1.55;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--c-border-light);
}

.service-price {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary);
}

.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-2);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--ease);
}
.service-link:hover { color: var(--c-primary); text-decoration: none; }
.service-link i { font-size: 11px; transition: transform var(--ease); }
.service-link:hover i { transform: translateX(3px); }

/* Featured service (большая карточка) */
.service-card.service-card--featured {
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  color: white;
}
.service-card--featured::after { background: var(--c-accent); }
.service-card--featured .service-icon { background: rgba(255,255,255,0.12); color: white; }
.service-card--featured h4 { color: white; }
.service-card--featured p  { color: rgba(255,255,255,0.8); }
.service-card--featured .service-footer { border-top-color: rgba(255,255,255,0.15); }
.service-card--featured .service-price  { color: var(--c-accent); }
.service-card--featured .service-link   { color: rgba(255,255,255,0.7); }
.service-card--featured .service-link:hover { color: white; }

/* =============================================
   TRUST TRIGGERS (полоса)
   ============================================= */
.trust-section {
  background: var(--c-bg-alt);
  padding: 64px 0;
}

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

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.trust-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--c-primary-ghost);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.trust-item h4 { font-size: 15px; margin-bottom: 4px; }
.trust-item p  { font-size: 14px; color: var(--c-text-2); line-height: 1.5; }

/* =============================================
   PORTFOLIO (кейсы)
   ============================================= */
.portfolio-section { background: var(--c-bg); }

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

.case-card {
  background: var(--c-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-light);
  padding: 24px;
  transition: all var(--ease);
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

.case-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-primary);
  background: var(--c-primary-ghost);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  margin-bottom: 12px;
}

.case-card h4 { font-size: 15px; margin-bottom: 8px; color: var(--c-text); line-height: 1.4; }
.case-card p  { font-size: 14px; color: var(--c-text-2); margin-bottom: 16px; line-height: 1.5; }

.case-result {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-primary);
}
.case-result i { color: #27AE60; }

/* =============================================
   QUIZ / LEAD MAGNET
   ============================================= */
.quiz-section {
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  color: white;
}

.quiz-section .section-title { color: white; }
.quiz-section .section-sub   { color: rgba(255,255,255,0.75); }

.quiz-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-xl);
  backdrop-filter: blur(8px);
  padding: 48px 40px;
}

.quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}

.quiz-progress-dot {
  height: 4px;
  flex: 1;
  border-radius: 4px;
  background: rgba(255,255,255,0.2);
  transition: background var(--ease);
}
.quiz-progress-dot.active   { background: var(--c-accent); }
.quiz-progress-dot.complete { background: rgba(255,255,255,0.6); }

.quiz-step { display: none; }
.quiz-step.active { display: block; }

.quiz-question {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  line-height: 1.3;
}

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

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--ease);
  font-size: 16px;
  color: white;
  background: transparent;
  width: 100%;
  text-align: left;
}
.quiz-option:hover,
.quiz-option.selected {
  border-color: var(--c-accent);
  background: rgba(224,163,61,0.12);
}
.quiz-option-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.quiz-nav {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.quiz-result { display: none; text-align: center; }
.quiz-result.active { display: block; }

.quiz-result-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.quiz-result h3 {
  font-size: 24px;
  color: white;
  margin-bottom: 12px;
}

.quiz-result p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
}

.quiz-result-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 440px;
  margin: 0 auto;
}

.quiz-result-form .form-input {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: white;
}
.quiz-result-form .form-input::placeholder { color: rgba(255,255,255,0.6); }

/* =============================================
   TEAM
   ============================================= */
.team-section { background: var(--c-bg-alt); }

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

.team-card {
  background: var(--c-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--c-border-light);
  transition: all var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.team-photo {
  height: 220px;
  background: linear-gradient(135deg, var(--c-primary-ghost) 0%, var(--c-bg-alt) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  color: var(--c-primary);
  opacity: 0.4;
}

.team-info { padding: 24px; }
.team-name { font-size: 18px; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--c-primary); font-weight: 600; margin-bottom: 12px; }
.team-exp  { font-size: 14px; color: var(--c-text-2); }

/* =============================================
   REVIEWS
   ============================================= */
.reviews-section { background: var(--c-bg); }

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

.review-card {
  background: var(--c-card);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--c-border-light);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--c-accent);
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
  font-style: italic;
}

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

.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-primary-ghost);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.review-name { font-size: 14px; font-weight: 600; color: var(--c-text); }
.review-meta { font-size: 12px; color: var(--c-text-3); }

.reviews-rating-row {
  text-align: center;
}

.reviews-score {
  font-family: var(--font-h);
  font-size: 48px;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
}

.reviews-platform {
  font-size: 14px;
  color: var(--c-text-2);
  margin-top: 6px;
}

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

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

.faq-item {
  background: var(--c-card);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  border: 1px solid var(--c-border-light);
  overflow: hidden;
  transition: box-shadow var(--ease);
}
.faq-item.open { box-shadow: var(--sh-sm); }

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  text-align: left;
  background: none;
  cursor: pointer;
  transition: color var(--ease);
}
.faq-question:hover { color: var(--c-primary); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-primary-ghost);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform var(--ease), background var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--c-primary); color: white; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1), padding var(--ease);
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 22px; }

.faq-answer p {
  font-size: 15px;
  color: var(--c-text-2);
  line-height: 1.7;
}

/* =============================================
   FINAL CTA
   ============================================= */
.cta-final {
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(224,163,61,0.12) 0%, transparent 60%),
    linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  text-align: center;
  color: white;
}

.cta-final h2  { color: white; margin-bottom: 12px; }
.cta-final p   { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 40px; }

.cta-final-form {
  max-width: 560px;
  margin: 0 auto 32px;
  display: flex;
  gap: 12px;
}

.cta-final-form .form-input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: white;
}
.cta-final-form .form-input::placeholder { color: rgba(255,255,255,0.6); }

.cta-messengers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-messengers-label {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

.callback-promise {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
}
.callback-promise i { color: var(--c-accent); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--c-text);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {}

.footer-logo {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  display: block;
}
.footer-logo span { color: var(--c-accent); }

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.footer-contact a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--ease);
}
.footer-contact a:hover { color: white; text-decoration: none; }
.footer-contact i { color: var(--c-primary-light); font-size: 14px; width: 16px; }

.footer-phone-big {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 700;
  color: white !important;
  margin-bottom: 6px;
}

.footer-col h5 {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--ease);
}
.footer-col ul li a:hover { color: white; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-legal a {
  color: rgba(255,255,255,0.4);
  transition: color var(--ease);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); text-decoration: none; }

/* Cookie banner — скрыт по умолчанию, показывается через JS */
.cookie-banner {
  display: none; /* показывается JS-ом через 2s */
  position: fixed;
  bottom: 24px; left: 24px;
  max-width: 520px;
  width: calc(100% - 48px);
  background: #1C1F1E;
  color: rgba(255,255,255,0.85);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  z-index: 99999;
  align-items: flex-start;
  gap: 16px;
  font-size: 13px;
  line-height: 1.6;
  border: 1px solid rgba(255,255,255,0.08);
}
.cookie-banner.visible { display: flex; }
.cookie-banner a { color: rgba(255,255,255,0.6); text-decoration: underline; }
.cookie-banner a:hover { color: white; }
.cookie-banner-btns { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.cookie-accept {
  background: var(--c-accent);
  color: white;
  border-radius: var(--r-pill);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  transition: background var(--ease);
}
.cookie-accept:hover { background: var(--c-accent-hover); }
.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  cursor: pointer;
  border: none;
  text-align: center;
}
.cookie-decline:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 560px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; flex-wrap: wrap; }
  .cookie-banner-btns { flex-direction: row; }
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease-slow), transform 0.55s var(--ease-slow);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   SERVICE PAGE TEMPLATE
   ============================================= */

/* Breadcrumbs */
.breadcrumb-bar {
  background: var(--c-bg-alt);
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border-light);
}

.breadcrumbs {
  font-size: 13px;
  color: var(--c-text-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.breadcrumbs a { color: var(--c-text-2); transition: color var(--ease); }
.breadcrumbs a:hover { color: var(--c-primary); text-decoration: none; }
.bc-sep { color: var(--c-text-3); margin: 0 2px; }

/* Service hero */
.service-hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(ellipse 70% 60% at 5% 90%, rgba(15,92,86,0.1) 0%, transparent 60%),
    var(--c-bg);
}

.service-hero-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: flex-start;
}

.service-hero-content h1 { margin-bottom: 14px; }

.service-hero-sub {
  font-size: 18px;
  color: var(--c-text-2);
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 580px;
}

.service-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.service-hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Price card */
.price-card {
  background: var(--c-card);
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border-light);
  box-shadow: var(--sh-md);
  padding: 28px 24px;
  position: sticky;
  top: 84px;
}

.price-card-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-text-3);
  margin-bottom: 8px;
}

.price-card-amount {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 6px;
  line-height: 1;
}

.price-card-note {
  font-size: 13px;
  color: var(--c-text-2);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border-light);
}

.price-card-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.price-card-features li {
  font-size: 14px;
  color: var(--c-text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-card-features li i { color: var(--c-primary); font-size: 12px; flex-shrink: 0; }

/* Pain points */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--c-card);
  border-radius: var(--r-md);
  padding: 16px;
  border: 1px solid var(--c-border-light);
  font-size: 15px;
  color: var(--c-text);
}

.pain-item i { color: #E0773D; font-size: 16px; flex-shrink: 0; margin-top: 2px; }

/* What's included */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--c-card);
  border-radius: var(--r-md);
  padding: 18px;
  border: 1px solid var(--c-border-light);
  font-size: 14px;
  color: var(--c-text);
}

.included-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  text-align: center;
  padding: 24px 16px;
  background: var(--c-card);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-light);
  position: relative;
}

.process-step::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-primary);
  font-size: 20px;
  font-weight: 700;
}

.process-step:last-child::after { display: none; }

.process-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p  { font-size: 13px; color: var(--c-text-2); line-height: 1.5; }

/* Service main content */
.service-main-content { padding: 64px 0; }

/* =============================================
   HUB PAGE TEMPLATE
   ============================================= */

.hub-hero {
  padding: 56px 0 48px;
  background: var(--c-bg);
}

.hub-hero-inner { max-width: 700px; }
.hub-hero h1 { margin-bottom: 16px; }

.hub-hero-sub {
  font-size: 19px;
  color: var(--c-text-2);
  line-height: 1.6;
  margin-bottom: 0;
}

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

.hub-service-card {
  background: var(--c-card);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--ease);
  text-decoration: none;
  color: var(--c-text);
}

.hub-service-card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
  color: var(--c-text);
  text-decoration: none;
}

.hub-service-card--featured {
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
  color: #fff;
  border-color: transparent;
}

.hub-service-card--featured h3,
.hub-service-card--featured p { color: rgba(255,255,255,0.9); }
.hub-service-card--featured .hub-service-price { color: var(--c-accent); }
.hub-service-card--featured .hub-service-link { color: rgba(255,255,255,0.7); }
.hub-service-card--featured:hover { color: #fff; }

.hub-service-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-primary-ghost);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  margin-bottom: 4px;
}

.hub-service-card--featured .hub-service-icon {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.hub-service-card h3 { font-size: 16px; margin: 0; }
.hub-service-card p  { font-size: 13px; color: var(--c-text-2); line-height: 1.5; flex: 1; margin: 0; }

.hub-service-price {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary);
  margin-top: 4px;
}

.hub-service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-2);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

/* Responsive: service & hub */
@media (max-width: 1024px) {
  .service-hero-inner  { grid-template-columns: 1fr; }
  .price-card          { position: static; max-width: 440px; }
  .included-grid       { grid-template-columns: repeat(2, 1fr); }
  .hub-services-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .service-hero, .hub-hero { padding: 40px 0 32px; }
  .service-hero-cta { flex-direction: column; }
  .service-hero-cta .btn { width: 100%; justify-content: center; }
  .pain-grid         { grid-template-columns: 1fr; }
  .included-grid     { grid-template-columns: 1fr; }
  .process-grid      { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .hub-services-grid { grid-template-columns: 1fr; }
  .trust-grid[style*="repeat(3"] { grid-template-columns: 1fr !important; }
}

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

/* =============================================
   CATALOG PAGE
   ============================================= */
.catalog-segment { margin-bottom: 56px; }

.catalog-segment-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-border);
}

.catalog-segment-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--c-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.catalog-segment-head h2 { margin: 0; font-size: 30px; }
.catalog-segment-head h2 a { color: var(--c-text); }
.catalog-segment-head h2 a:hover { color: var(--c-primary); text-decoration: none; }

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

.catalog-cat {
  background: var(--c-card);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-lg);
  padding: 22px 24px;
}

.catalog-cat h3 { font-size: 18px; margin-bottom: 14px; }
.catalog-cat h3 a { color: var(--c-primary); }
.catalog-cat h3 a:hover { text-decoration: none; color: var(--c-primary-light); }

.catalog-services { display: flex; flex-direction: column; gap: 2px; }

.catalog-services li a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border-light);
  color: var(--c-text);
  font-size: 14px;
  transition: color var(--ease);
}
.catalog-services li:last-child a { border-bottom: none; }
.catalog-services li a:hover { color: var(--c-primary); text-decoration: none; }
.catalog-services li a:hover .catalog-svc-title { padding-left: 4px; }

.catalog-svc-title { transition: padding var(--ease); }
.catalog-svc-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .catalog-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .catalog-cats { grid-template-columns: 1fr; }
  .catalog-segment-head h2 { font-size: 24px; }
}

/* =============================================
   WORDPRESS REQUIRED
   ============================================= */
.aligncenter { display: block; margin: 20px auto; }
.alignleft   { float: left;  margin: 0 20px 20px 0; }
.alignright  { float: right; margin: 0 0 20px 20px; }
.wp-caption  { max-width: 100%; }
.wp-caption-text { text-align: center; font-size: 13px; color: var(--c-text-2); margin-top: 4px; }

/* =============================================
   UTILITY
   ============================================= */
.text-center { text-align: center; }
.text-primary { color: var(--c-primary); }
.text-accent  { color: var(--c-accent); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }

/* =============================================
   BLOG (single, archive)
   ============================================= */
.page-wrapper {
  padding-top: 100px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin: 48px 0;
}

.blog-card {
  background: var(--c-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border-light);
  box-shadow: var(--sh-sm);
  transition: all var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.blog-card-img { height: 200px; object-fit: cover; width: 100%; }

.blog-card-body { padding: 24px; }

.blog-card-meta { font-size: 12px; color: var(--c-text-3); margin-bottom: 10px; }

.blog-card-title { font-size: 18px; margin-bottom: 12px; }
.blog-card-title a { color: var(--c-text); }
.blog-card-title a:hover { color: var(--c-primary); text-decoration: none; }

.blog-card-excerpt { font-size: 14px; color: var(--c-text-2); line-height: 1.6; margin-bottom: 16px; }

.single-post { max-width: 760px; margin: 0 auto; padding: 0 24px 64px; padding-top: 100px; }
.single-post-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 20px; }
.single-post-meta  { font-size: 13px; color: var(--c-text-3); margin-bottom: 32px; }
.single-post-content { font-size: 17px; line-height: 1.75; color: var(--c-text); }
.single-post-content h2 { font-size: 26px; margin: 36px 0 14px; }
.single-post-content h3 { font-size: 21px; margin: 28px 0 10px; }
.single-post-content p  { margin-bottom: 20px; }
.single-post-content ul, .single-post-content ol { padding-left: 24px; margin-bottom: 20px; }
.single-post-content li { margin-bottom: 8px; }
.single-post-content blockquote {
  border-left: 4px solid var(--c-primary);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--c-primary-ghost);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--c-text-2);
}
.single-post-content a { color: var(--c-primary); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-inner          { grid-template-columns: 1fr; }
  .hero-form-card      { max-width: 540px; }
  .services-bento      { grid-template-columns: repeat(2, 1fr); }
  .services-bento .service-card:first-child { grid-column: span 2; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  h1 { font-size: 34px; }
  h2 { font-size: 28px; }

  .site-nav    { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding: 110px 0 64px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-messengers { flex-wrap: wrap; }

  .segment-grid   { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .services-bento { grid-template-columns: 1fr; }
  .services-bento .service-card:first-child { grid-column: span 1; }
  .trust-grid     { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: 1fr; }
  .reviews-grid   { grid-template-columns: 1fr; }

  .quiz-wrapper    { padding: 28px 20px; }
  .quiz-question   { font-size: 18px; }

  .cta-final-form  { flex-direction: column; }
  .cta-final-form .btn { width: 100%; }

  .footer-grid     { grid-template-columns: 1fr; }
  .footer-bottom   { flex-direction: column; text-align: center; }

  .cookie-banner   { left: 12px; right: 12px; bottom: 12px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .col-4, .col-3 { width: 100%; }
  .btn--lg { font-size: 16px; padding: 16px 28px; }
}
