:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(37, 99, 235, 0.04);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1), 0 8px 24px rgba(37, 99, 235, 0.1);
  --shadow-xl: 0 20px 50px rgba(15, 23, 42, 0.12), 0 12px 32px rgba(37, 99, 235, 0.12);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--slate-800);
  background: linear-gradient(180deg, var(--slate-50) 0%, #fff 120px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


[id] {
  scroll-margin-top: calc(72px + env(safe-area-inset-top, 0px));
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px 12px;
  padding: 10px 0;
}

.header__phone--full {
  justify-self: end;
}

.header__phone-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blue-600), var(--blue-800));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.header__phone-btn .icon {
  width: 20px;
  height: 20px;
}

.header__cta {
  white-space: nowrap;
  padding: 10px 16px;
  font-size: 0.85rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--slate-900);
}

.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

.icon--sm {
  width: 18px;
  height: 18px;
}

.icon--md {
  width: 24px;
  height: 24px;
}

.icon--lg {
  width: 32px;
  height: 32px;
}

.icon--xl {
  width: 48px;
  height: 48px;
}

.logo__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--blue-600) 0%, #1e3a8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.logo__icon .icon {
  width: 24px;
  height: 24px;
}

.header__phone {
  font-weight: 600;
  color: var(--blue-700);
  font-size: 1.05rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  min-height: 48px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

.btn--outline {
  background: #fff;
  color: var(--blue-700);
  border: 2px solid var(--blue-200);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

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

/* Hero */
.hero {
  padding: 48px 0 56px;
  background: linear-gradient(135deg, var(--blue-50) 0%, #fff 45%, var(--slate-50) 100%);
}

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

.hero__badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(90deg, var(--blue-100), #fff);
  border: 1px solid var(--blue-200);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-700);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--slate-600);
  margin-bottom: 24px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.tag__icon {
  color: var(--blue-600);
  display: flex;
}

.tag strong {
  color: var(--blue-700);
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}

.pricing-card h3 {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 12px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.95rem;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row span:last-child {
  font-weight: 700;
  color: var(--blue-700);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.ogrn {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* Form card */
.form-card {
  background: linear-gradient(160deg, #fff 0%, var(--blue-50) 100%);
  border-radius: calc(var(--radius) + 4px);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--blue-100);
}

.form-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.form-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-800));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.form-card__avatar .icon {
  width: 28px;
  height: 28px;
}

.form-card h2 {
  font-size: 1.15rem;
  color: var(--slate-900);
}

.form-card p {
  font-size: 0.85rem;
  color: var(--slate-500);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--slate-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  min-height: 48px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--slate-500);
  margin: 14px 0 18px;
}

.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--blue-600);
}

.checkbox-row a {
  color: var(--blue-600);
  text-decoration: underline;
}

.form-card__hotline {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--slate-600);
}

.form-card__hotline a {
  font-weight: 700;
  color: var(--blue-700);
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success h3 {
  color: var(--blue-700);
  margin-bottom: 8px;
}

.hidden {
  display: none !important;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section--alt {
  background: linear-gradient(180deg, var(--slate-50) 0%, #fff 100%);
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-600);
  margin-bottom: 8px;
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--slate-900);
  margin-bottom: 10px;
}

.section__desc {
  color: var(--slate-600);
  max-width: 640px;
  margin-bottom: 32px;
}

/* Directions tabs */
.tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 6px;
  margin-left: -4px;
  margin-right: -4px;
  padding-left: 4px;
  padding-right: 4px;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.tab-btn:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.tab-panel {
  display: none;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.tab-panel ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.tab-panel li {
  padding: 10px 14px;
  background: linear-gradient(90deg, var(--slate-50), #fff);
  border-radius: 8px;
  font-size: 0.95rem;
  border-left: 3px solid var(--blue-500);
  box-shadow: var(--shadow-sm);
}

.tab-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: var(--shadow-lg);
}

.faq-item__cat {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-600);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--slate-700);
}

/* Reviews */
.reviews-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: linear-gradient(90deg, var(--blue-50), #fff);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--blue-100);
}

.reviews-stats strong {
  font-size: 1.5rem;
  color: var(--blue-700);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.review-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--slate-500);
}

.review-card__cat {
  font-weight: 600;
  color: var(--blue-600);
}

.review-card blockquote {
  font-size: 0.9rem;
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 14px;
  line-height: 1.55;
}

.review-card__author {
  font-weight: 600;
  font-size: 0.9rem;
}

.review-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-top: 8px;
}

.stars {
  color: #f59e0b;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
}

.step-card__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-100);
  line-height: 1;
  margin-bottom: 8px;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--slate-900);
}

.step-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
}

/* Feature blocks */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
}

.feature-item__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff 0%, var(--blue-50) 100%);
  border: 1px solid var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  box-shadow: var(--shadow-md);
}

.feature-item__icon .icon {
  width: 22px;
  height: 22px;
}

.feature-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--slate-600);
}

.process-steps {
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(90deg, var(--blue-50), #fff);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--blue-100);
}

.process-step__num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.alert-box {
  background: linear-gradient(135deg, var(--blue-50), #fff);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
  box-shadow: var(--shadow-md);
}

.alert-box h4 {
  margin-bottom: 10px;
  color: var(--blue-800);
}

.alert-box ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--slate-700);
}

.alert-box li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.alert-box li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--blue-600);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--blue-100);
}

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.case-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.case-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: 6px;
  margin-bottom: 10px;
}

.case-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.case-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.advantage-card {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.advantage-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--blue-50), #fff);
  border: 1px solid var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  box-shadow: var(--shadow-md);
}

.advantage-card__icon .icon {
  width: 26px;
  height: 26px;
}

.advantage-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.advantage-card p {
  font-size: 0.85rem;
  color: var(--slate-600);
}

/* Footer */
.footer {
  background: linear-gradient(180deg, var(--slate-900), #0c1222);
  color: #94a3b8;
  padding: 40px 0 24px;
  margin-top: 48px;
}

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

.footer .logo {
  color: #fff;
}

.footer a {
  color: #e2e8f0;
}

.footer a:hover {
  color: var(--blue-200);
}

/* Mobile fixed action bar */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s ease;
}

.mobile-bar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.mobile-bar__icon {
  display: flex;
  margin-bottom: 2px;
}

.mobile-bar__icon .icon {
  width: 20px;
  height: 20px;
}

.mobile-bar__btn--call .icon {
  color: #fff;
}

.visual-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--blue-50) 0%, #fff 50%, var(--blue-100) 100%);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
}

.visual-emblem .icon {
  width: 80px;
  height: 80px;
  opacity: 0.9;
}

.alert-box h4 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-box h4 .icon {
  width: 20px;
  height: 20px;
  color: var(--blue-600);
}

.mobile-bar__btn--call {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.mobile-bar__btn--form {
  background: #fff;
  color: var(--blue-700);
  border: 2px solid var(--blue-200);
  box-shadow: var(--shadow-sm);
}

.mobile-bar--hidden {
  transform: translateY(110%);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 20px;
  border-radius: 10px;
  background: var(--slate-900);
  color: #fff;
  font-size: 0.9rem;
  box-shadow: var(--shadow-xl);
  z-index: 200;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  background: #b91c1c;
}

.toast.success {
  background: var(--blue-700);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-radius: var(--radius);
  color: #fff;
  box-shadow: var(--shadow-xl);
  margin-top: 32px;
}

.cta-band h3 {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.cta-band .btn--outline {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--blue-800);
}

.cta-band .btn--outline:hover {
  background: var(--blue-50);
}

/* Tablet */
@media (max-width: 960px) {
  .hero__grid,
  .feature-block,
  .tab-panel.active {
    grid-template-columns: 1fr;
  }

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

  .feature-block.reverse {
    direction: ltr;
  }

  .tab-panel__actions {
    flex-direction: row;
    width: 100%;
  }

  .tab-panel__actions .btn {
    flex: 1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  body {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-bar {
    display: grid;
  }

  .header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 8px 0;
  }

  .header__phone--full,
  .header__cta {
    display: none;
  }

  .header__phone-btn {
    display: flex;
  }

  .logo__text {
    font-size: 0.82rem;
    line-height: 1.2;
    max-width: 118px;
  }

  .logo__icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .hero {
    padding: 24px 0 32px;
  }

  .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .form-card {
    order: -1;
    padding: 20px 18px;
  }

  .hero__content {
    order: 0;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero__tags .tag:last-child {
    grid-column: 1 / -1;
  }

  .hero__actions .btn--outline {
    display: none;
  }

  .hero__actions .btn--primary {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  .tab-panel.active {
    padding: 20px 16px;
    gap: 20px;
  }

  .tab-panel ul {
    gap: 8px;
  }

  .tab-panel li {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .tab-panel__actions {
    flex-direction: column;
    min-width: 0;
    width: 100%;
  }

  .tab-panel__actions .btn {
    width: 100%;
    min-height: 50px;
  }

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

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

  .reviews-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .steps-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-block {
    gap: 28px;
  }

  .visual-emblem {
    padding: 32px;
  }

  .visual-emblem .icon {
    width: 56px;
    height: 56px;
  }

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

  .cta-band {
    padding: 24px 18px;
  }

  .cta-band .btn {
    width: 100%;
    min-height: 50px;
  }

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

  .footer .btn {
    width: 100%;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .checkbox-row input {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .form-card__header {
    flex-wrap: wrap;
  }
}

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

  .mobile-bar__btn {
    font-size: 0.72rem;
  }
}

@media (min-width: 769px) {
  .mobile-bar {
    display: none !important;
  }
}
