/* ===== CUSTOM PROPERTIES ===== */
:root {
  --bg-primary: #F0EDEA;
  --bg-secondary: #E8DDD0;
  --bg-card: #F7F4F1;
  --text-primary: #1A1A1A;
  --text-secondary: #5A5550;
  --text-muted: #8A857F;
  --accent: #C27B5A;
  --accent-hover: #A86443;
  --accent-light: rgba(194,123,90,0.1);
  --divider: #C4B5A5;
  --white: #FEFDFB;
  --shadow-sm: 0 1px 3px rgba(26,26,26,0.06);
  --shadow-md: 0 4px 20px rgba(26,26,26,0.08);
  --shadow-lg: 0 12px 40px rgba(26,26,26,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input { font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: var(--white);
  padding: 12px 28px;
  font-size: 15px;
}
.btn--primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 12px 28px;
  font-size: 15px;
}
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); }

.btn--sm { padding: 8px 20px; font-size: 14px; }
.btn--lg { padding: 16px 36px; font-size: 16px; }

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: clamp(32px, 5vw, 48px);
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.section-title--left { text-align: left; }
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(15px, 2vw, 17px);
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(240,237,234,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.header--scrolled { box-shadow: 0 1px 0 var(--divider); }
.header--hidden { transform: translateY(-100%); }
.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  flex-shrink: 0;
}
.header__logo svg { width: 36px; height: 36px; }
.header__logo-text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.header__nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.header__nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-interactive);
}
.header__nav-link:hover { color: var(--text-primary); }
.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 20px;
}
.header__phone {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition-interactive);
}
.header__phone:hover { color: var(--accent); }
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.header__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 99;
  padding: 32px clamp(16px, 4vw, 40px);
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.mobile-menu.open { display: flex; opacity: 1; transform: translateY(0); }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__link {
  font-size: 28px;
  font-family: var(--font-display);
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
}
.mobile-menu__phone { font-size: 18px; font-weight: 600; margin-top: 16px; }
.mobile-menu__cta { margin-top: 16px; text-align: center; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(26,26,26,0.25) 0%,
    rgba(26,26,26,0.5) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding-top: var(--header-h);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero__badge svg { color: #F0C040; }
.hero__title {
  font-size: clamp(36px, 6vw, 72px);
  font-family: var(--font-display);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  opacity: 0.9;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-hint span::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ===== COUNTERS ===== */
.counters {
  background: var(--bg-secondary);
  padding: clamp(40px, 6vw, 64px) 0;
}
.counters__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.counter__number {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--accent);
  display: inline;
  font-variant-numeric: tabular-nums;
}
.counter__suffix {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--accent);
}
.counter__label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===== CATEGORIES ===== */
.categories {
  padding: clamp(64px, 8vw, 120px) 0;
}
.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  aspect-ratio: 4/3;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card__img { position: absolute; inset: 0; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.cat-card:hover .cat-card__img img { transform: scale(1.05); }
.cat-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(0deg, rgba(26,26,26,0.65) 0%, transparent 60%);
  color: var(--white);
}
.cat-card__title {
  font-size: clamp(18px, 2vw, 22px);
  font-family: var(--font-display);
  margin-bottom: 4px;
}
.cat-card__link {
  font-size: 14px;
  opacity: 0.8;
  transition: opacity var(--transition-interactive);
}
.cat-card:hover .cat-card__link { opacity: 1; }

/* ===== QUIZ ===== */
.quiz {
  padding: clamp(64px, 8vw, 120px) 0;
  background: var(--bg-secondary);
}
.quiz__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 56px);
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.quiz__progress {
  height: 4px;
  background: var(--divider);
  border-radius: 2px;
  margin-bottom: 20px;
  overflow: hidden;
}
.quiz__progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s var(--ease-out);
}
.quiz__step-counter {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
}
.quiz__step { display: none; }
.quiz__step.active { display: block; animation: fadeInStep 0.3s var(--ease-out); }
@keyframes fadeInStep {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.quiz__question {
  font-size: clamp(22px, 3vw, 28px);
  text-align: center;
  margin-bottom: 32px;
}
.quiz__options--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.quiz__options--row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.quiz__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-interactive),
              background var(--transition-interactive),
              transform var(--transition-interactive);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.quiz__option:hover { border-color: var(--accent); background: var(--accent-light); }
.quiz__option:active { transform: scale(0.97); }
.quiz__option.selected { border-color: var(--accent); background: var(--accent-light); }
.quiz__option svg { color: var(--accent); }
.quiz__option--style {
  flex-direction: row;
  gap: 12px;
  padding: 16px 20px;
}
.quiz__option-icon {
  font-size: 24px;
  color: var(--accent);
  width: 32px;
  text-align: center;
}

/* Budget step */
.quiz__budget { padding: 0 12px; margin-bottom: 32px; }
.quiz__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--divider);
  border-radius: 3px;
  outline: none;
  margin-bottom: 12px;
}
.quiz__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(194,123,90,0.3);
}
.quiz__range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.quiz__budget-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.quiz__budget-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-display);
}
.quiz__next-btn { display: block; margin: 0 auto; }

/* Contact step */
.quiz__contact-form { max-width: 400px; margin: 0 auto; }
.quiz__manager {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg-primary);
  border-radius: var(--radius-md);
}
.quiz__manager-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.quiz__manager strong { display: block; font-size: 15px; }
.quiz__manager span { font-size: 13px; color: var(--text-muted); }
.quiz__fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.quiz__input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 15px;
  transition: border-color var(--transition-interactive);
  outline: none;
}
.quiz__input:focus { border-color: var(--accent); }
.quiz__messenger-choice { margin-bottom: 24px; }
.quiz__messenger-label { font-size: 14px; color: var(--text-secondary); display: block; margin-bottom: 10px; }
.quiz__messengers { display: flex; gap: 8px; }
.quiz__messenger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
  flex: 1;
  justify-content: center;
}
.quiz__messenger:hover, .quiz__messenger.active {
  border-color: var(--accent);
  background: var(--accent-light);
}
.quiz__messenger svg { color: var(--accent); }
.quiz__submit { width: 100%; }
.quiz__privacy { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 12px; }
.quiz__privacy a { text-decoration: underline; }

/* Success */
.quiz__success { text-align: center; padding: 40px 0; }
.quiz__success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #3a9e6e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
}
.quiz__success p { color: var(--text-secondary); margin-top: 12px; }

/* ===== PORTFOLIO ===== */
.portfolio {
  padding: clamp(64px, 8vw, 120px) 0;
}
.portfolio__filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.portfolio__filter {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--divider);
  transition: background var(--transition-interactive),
              border-color var(--transition-interactive),
              color var(--transition-interactive);
}
.portfolio__filter:hover { border-color: var(--accent); color: var(--accent); }
.portfolio__filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.portfolio__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), opacity 0.3s;
}
.portfolio__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio__card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.portfolio__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.portfolio__card:hover .portfolio__card-img img { transform: scale(1.05); }
.portfolio__card-body { padding: 24px; }
.portfolio__card-title {
  font-size: 20px;
  font-family: var(--font-display);
  margin-bottom: 4px;
}
.portfolio__card-location {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.portfolio__card-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.portfolio__card-meta span { display: flex; align-items: center; gap: 4px; }
.portfolio__card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--transition-interactive);
}
.portfolio__card-link:hover { color: var(--accent-hover); }
.portfolio__card.hidden {
  display: none;
}

/* ===== PROCESS ===== */
.process {
  padding: clamp(64px, 8vw, 120px) 0;
  background: var(--bg-secondary);
}
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process__step {
  text-align: center;
  position: relative;
}
.process__number {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--divider);
  line-height: 1;
  margin-bottom: 16px;
}
.process__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-sm);
}
.process__icon svg { color: var(--accent); }
.process__title {
  font-size: 20px;
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.process__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== REVIEWS ===== */
.reviews {
  padding: clamp(64px, 8vw, 120px) 0;
}
.reviews__swiper {
  padding-bottom: 52px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.review-card__name { font-weight: 600; font-size: 15px; }
.review-card__date { font-size: 13px; color: var(--text-muted); }
.review-card__stars {
  margin-left: auto;
  color: #F0C040;
  font-size: 14px;
  letter-spacing: 1px;
}
.review-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.swiper-pagination-bullet {
  background: var(--divider) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: var(--accent) !important;
  width: 24px !important;
  border-radius: 4px !important;
}
.reviews__yandex {
  text-align: center;
  margin-top: 8px;
}
.reviews__yandex-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--transition-interactive);
}
.reviews__yandex-link:hover { color: var(--accent-hover); }

/* ===== ABOUT ===== */
.about {
  padding: clamp(64px, 8vw, 120px) 0;
  background: var(--bg-secondary);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.about__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.about__text strong { color: var(--text-primary); }
.about__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.about__feature {
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
}
.about__feature strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.about__feature span {
  font-size: 14px;
  color: var(--text-secondary);
}
.about__image { border-radius: var(--radius-lg); overflow: hidden; }
.about__image img { width: 100%; height: auto; }

/* A&D */
.about__ad {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 56px);
  box-shadow: var(--shadow-sm);
}
.about__ad-title {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}
.about__ad p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}
.about__ad-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.about__ad-list li {
  font-size: 15px;
  padding-left: 20px;
  position: relative;
  color: var(--text-secondary);
}
.about__ad-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: clamp(64px, 8vw, 120px) 0;
}
.final-cta__card {
  background: var(--text-primary);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 72px);
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.final-cta__title {
  font-size: clamp(28px, 4vw, 40px);
  font-family: var(--font-display);
  margin-bottom: 12px;
}
.final-cta__sub {
  font-size: 16px;
  opacity: 0.7;
  margin-bottom: 32px;
}
.final-cta__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}
.final-cta__input {
  padding: 14px 18px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition-interactive);
}
.final-cta__input::placeholder { color: rgba(255,255,255,0.4); }
.final-cta__input:focus { border-color: var(--accent); }
.final-cta__messengers {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 4px 0;
}
.final-cta__radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-interactive);
}
.final-cta__radio:hover { opacity: 1; }
.final-cta__radio input { accent-color: var(--accent); }
.final-cta__radio input:checked + span { color: var(--white); }
.final-cta__submit { margin-top: 8px; }
.final-cta__privacy { font-size: 12px; opacity: 0.4; margin-top: 8px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  margin-bottom: 12px;
}
.footer__logo span { font-size: 14px; font-weight: 600; }
.footer__desc { font-size: 14px; line-height: 1.6; }
.footer__heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer__nav a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  transition: color var(--transition-interactive);
}
.footer__nav a:hover { color: var(--white); }
.footer__contacts a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  transition: color var(--transition-interactive);
}
.footer__contacts a:hover { color: var(--white); }
.footer__contacts p { font-size: 14px; padding: 4px 0; }
.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer__social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
}
.footer__social:hover { border-color: var(--accent); background: rgba(194,123,90,0.2); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  z-index: 90;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.45); }

/* ===== FADE IN ===== */
.fade-in {
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  
  .header__nav, .header__actions { display: none; }
  .header__burger { display: flex; }
  
  .hero__title { font-size: clamp(28px, 7vw, 42px); }
  .hero__title br { display: none; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__scroll-hint { display: none; }
  
  .counters__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  
  .categories__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  
  .quiz__options--grid { grid-template-columns: repeat(2, 1fr); }
  .quiz__options--row { grid-template-columns: 1fr; }
  .quiz__messengers { flex-direction: column; }
  
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio__filters { gap: 6px; }
  .portfolio__filter { padding: 6px 14px; font-size: 13px; }
  
  .process__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  
  .about__ad-list { grid-template-columns: 1fr; }
  
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .quiz__options--grid { grid-template-columns: 1fr 1fr; }
  .quiz__card { padding: 24px 20px; }
  .final-cta__card { padding: 32px 20px; }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
