/* Fonts loaded via <link> in HTML: fonts/inter.css */

:root {
  --button-outline: rgba(0,0,0,.10);
  --badge-outline: rgba(0,0,0,.05);
  --elevate-1: rgba(0,0,0,.03);
  --elevate-2: rgba(0,0,0,.08);
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(0, 0%, 9%);
  --border: hsl(0, 0%, 91%);
  --card: hsl(0, 0%, 98%);
  --card-foreground: hsl(0, 0%, 9%);
  --card-border: hsl(0, 0%, 94%);
  --popover: hsl(0, 0%, 95%);
  --popover-foreground: hsl(0, 0%, 9%);
  --primary: hsl(18, 98%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(18, 8%, 90%);
  --secondary-foreground: hsl(0, 0%, 9%);
  --muted: hsl(18, 5%, 92%);
  --muted-foreground: hsl(0, 0%, 45%);
  --accent: hsl(18, 12%, 93%);
  --accent-foreground: hsl(0, 0%, 9%);
  --destructive: hsl(0, 84%, 45%);
  --destructive-foreground: hsl(0, 0%, 100%);
  --input: hsl(0, 0%, 75%);
  --ring: hsl(18, 98%, 60%);
  --radius: 0.5rem;
  --topbar-h: 36px;
  --header-h: 56px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-2xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.04);
  --shadow-xs: 0px 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-sm: 0px 1px 3px 0px hsl(0 0% 0% / 0.07), 0px 1px 2px -1px hsl(0 0% 0% / 0.05);
  --shadow: 0px 2px 4px 0px hsl(0 0% 0% / 0.08), 0px 1px 2px -1px hsl(0 0% 0% / 0.06);
  --shadow-md: 0px 4px 6px -1px hsl(0 0% 0% / 0.09), 0px 2px 4px -2px hsl(0 0% 0% / 0.06);
  --shadow-lg: 0px 10px 15px -3px hsl(0 0% 0% / 0.09), 0px 4px 6px -4px hsl(0 0% 0% / 0.05);
  --shadow-xl: 0px 20px 25px -5px hsl(0 0% 0% / 0.08), 0px 8px 10px -6px hsl(0 0% 0% / 0.05);
}

[data-theme="dark"] {
  --button-outline: rgba(255,255,255,.10);
  --badge-outline: rgba(255,255,255,.05);
  --elevate-1: rgba(255,255,255,.04);
  --elevate-2: rgba(255,255,255,.09);
  --background: hsl(0, 0%, 7%);
  --foreground: hsl(0, 0%, 98%);
  --border: hsl(0, 0%, 15%);
  --card: hsl(0, 0%, 9%);
  --card-foreground: hsl(0, 0%, 98%);
  --card-border: hsl(0, 0%, 12%);
  --popover: hsl(0, 0%, 12%);
  --popover-foreground: hsl(0, 0%, 98%);
  --primary: hsl(18, 98%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(18, 8%, 16%);
  --secondary-foreground: hsl(0, 0%, 98%);
  --muted: hsl(18, 5%, 15%);
  --muted-foreground: hsl(0, 0%, 65%);
  --accent: hsl(18, 12%, 14%);
  --accent-foreground: hsl(0, 0%, 98%);
  --destructive: hsl(0, 84%, 45%);
  --destructive-foreground: hsl(0, 0%, 100%);
  --input: hsl(0, 0%, 30%);
  --ring: hsl(18, 98%, 60%);
  --shadow-2xs: none;
  --shadow-xs: none;
  --shadow-sm: none;
  --shadow: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
}

.marker-highlight {
  position: relative;
  display: inline;
  background: linear-gradient(to top, hsl(18 98% 60% / 0.25) 35%, transparent 35%);
}
[data-theme="dark"] .marker-highlight {
  background: linear-gradient(to top, hsl(18 98% 60% / 0.35) 35%, transparent 35%);
}

.hover-elevate,
.hover-elevate-2,
.active-elevate,
.active-elevate-2 {
  position: relative;
  z-index: 0;
}
.hover-elevate::after,
.hover-elevate-2::after,
.active-elevate::after,
.active-elevate-2::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 999;
}
.hover-elevate:hover::after { background-color: var(--elevate-1); }
.hover-elevate-2:hover::after { background-color: var(--elevate-2); }
.active-elevate:active::after { background-color: var(--elevate-1); }
.active-elevate-2:active::after { background-color: var(--elevate-2); }

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  border-color: var(--border);
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s, color 0.2s;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
  :root { --header-h: 64px; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.text-white { color: #fff; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }

/* =====================================================
   КНОПКИ
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn svg, .btn .lucide {
  flex-shrink: 0;
}

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

.btn-sm {
  padding: 5px 12px;
  font-size: 0.8125rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: 0 0 0 0 transparent;
}
.btn-primary:hover:not(:disabled) {
  background-color: hsl(18, 98%, 53%);
  border-color: hsl(18, 98%, 53%);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border-color: var(--border);
}
.btn-outline:hover:not(:disabled) {
  background-color: var(--accent);
}

.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn-outline-white:hover:not(:disabled) {
  background-color: rgba(255,255,255,0.1);
}

.btn-ghost {
  background-color: transparent;
  color: var(--foreground);
  border-color: transparent;
}
.btn-ghost:hover:not(:disabled) {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-full { width: 100%; }

/* =====================================================
   БЕЙДЖИ
   ===================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid;
}
.badge-primary {
  background-color: hsl(18 98% 60% / 0.15);
  color: var(--primary);
  border-color: hsl(18 98% 60% / 0.3);
}
.badge-icon { width: 14px; height: 14px; flex-shrink: 0; }

/* =====================================================
   КАРТОЧКИ
   ===================================================== */
.card {
  background-color: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
}
.card-content {
  padding: 1.5rem;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: calc(var(--radius) * 2);
  background-color: hsl(18 98% 60% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}
.card-icon-sm {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: calc(var(--radius) * 2);
  background-color: hsl(18 98% 60% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-icon-sm svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* =====================================================
   ФОРМЫ И ИНПУТЫ
   ===================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}
.form-input-wrap {
  position: relative;
}
.form-input-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted-foreground);
  pointer-events: none;
  z-index: 1;
}
.form-input {
  display: block;
  width: 100%;
  height: 36px;
  padding: 4px 12px 4px 36px;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  background-color: transparent;
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 1px var(--ring);
}
.form-input::placeholder { color: var(--muted-foreground); }
.form-input.no-icon { padding-left: 12px; }
.form-error {
  font-size: 0.75rem;
  color: var(--destructive);
  margin-top: 2px;
}

.form-privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: hsl(18 5% 92% / 0.4);
}
[data-theme="dark"] .form-privacy {
  background-color: hsl(18 5% 15% / 0.4);
}
.form-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--primary);
  background-color: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: background-color 0.15s, border-color 0.15s;
}
.form-checkbox:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
.form-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.form-checkbox:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}
.form-privacy-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.4;
  cursor: pointer;
}
.form-privacy-label a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

/* Autocomplete dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  margin-top: 4px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--background);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: none;
}
.autocomplete-dropdown.is-open { display: block; }
.autocomplete-item {
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  font-size: 0.875rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 0.1s;
  font-family: var(--font-sans);
}
.autocomplete-item:hover,
.autocomplete-item:focus {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* =====================================================
   ШАПКА САЙТА
   ===================================================== */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: hsl(0 0% 100% / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.2s, border-color 0.2s;
  padding-top: 8px;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
@media (min-width: 640px) {
  .sticky-header { padding-top: 0; padding-left: 0; padding-right: 0; }
}
[data-theme="dark"] .sticky-header {
  background-color: hsl(0 0% 7% / 0.95);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 56px;
}
@media (min-width: 640px) {
  .site-header .container { height: 64px; }
}
.header-logo img { height: 32px; width: auto; }
@media (min-width: 640px) {
  .header-logo img { height: 40px; width: auto; }
}
.header-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 768px) {
  .header-nav { display: flex; }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--foreground);
  transition: color 0.15s;
}
.header-phone:hover { color: var(--primary); }
.header-phone svg { color: var(--primary); width: 16px; height: 16px; }
@media (min-width: 1024px) {
  .header-phone { display: flex; }
}

/* Тема переключатель */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 0.15s;
  flex-shrink: 0;
}
.theme-toggle:hover { background-color: var(--accent); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.theme-toggle-desktop { display: none; }
@media (min-width: 1024px) { .theme-toggle-desktop { display: inline-flex; } }

/* =====================================================
   ПОДВАЛ САЙТА
   ===================================================== */
.site-footer {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--border);
  background-color: hsl(18 5% 92% / 0.2);
}
[data-theme="dark"] .site-footer {
  background-color: hsl(18 5% 15% / 0.2);
}
@media (min-width: 640px) {
  .site-footer { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}
.footer-simple {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem 2.5rem;
}
.footer-simple-brand {
  flex: 1 1 220px;
}
.footer-simple-brand > a > img {
  max-height: 32px;
  width: auto;
}
.footer-simple-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}
.footer-simple-legal {
  flex: 1 1 220px;
  margin-top: 0;
}
.footer-simple-theme {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; }
}
.footer-grid a > img {
  max-height: 36px;
  width: auto;
}
.footer-brand-desc {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-top: 1rem;
}
.footer-legal {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  line-height: 1.5;
}
.footer-heading {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--foreground); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  transition: color 0.15s;
}
.footer-contact-item:hover { color: var(--foreground); }
.footer-contact-item svg { color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }
.footer-phone-link {
  font-weight: 600;
  color: var(--foreground);
}
.footer-phone-link:hover { color: var(--primary); }
.footer-phone-hint {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 2px;
  margin-left: 24px;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1rem;
}
.footer-social-link {
  color: var(--muted-foreground);
  transition: color 0.15s;
}
.footer-social-link:hover { color: var(--primary); }
.footer-social-link svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}

/* =====================================================
   СЕКЦИИ — ОБЩИЕ СТИЛИ
   ===================================================== */
.section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 640px) {
  .section { padding-top: 5rem; padding-bottom: 5rem; }
}
.section-bg-muted {
  background-color: hsl(18 5% 92% / 0.3);
}
[data-theme="dark"] .section-bg-muted {
  background-color: hsl(18 5% 15% / 0.3);
}
.section-bg-muted-50 {
  background-color: hsl(18 5% 92% / 0.5);
}
[data-theme="dark"] .section-bg-muted-50 {
  background-color: hsl(18 5% 15% / 0.5);
}
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .section-header { margin-bottom: 3.5rem; }
}
.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}
.section-desc {
  color: var(--muted-foreground);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   TOPBAR — CITY SWITCHER
   ===================================================== */
.topbar {
  display: flex;
  align-items: center;
  padding-bottom: 10px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
}
.topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  padding: 0;
  transition: color 0.15s;
  font-family: var(--font-sans);
}
.topbar-btn:hover { color: var(--foreground); }
.topbar-btn strong { color: var(--foreground); font-weight: 600; }
.topbar-btn svg { flex-shrink: 0; color: var(--primary); }
.topbar-chevron { transition: transform 0.2s; }
.topbar-btn[aria-expanded="true"] .topbar-chevron { transform: rotate(180deg); }

.topbar-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  max-height: 70vh;
  overflow-y: auto;
}
.topbar-cities {
  columns: 2;
  column-gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 1rem;
}
@media (min-width: 480px) {
  .topbar-cities { columns: 3; }
}
@media (min-width: 640px) {
  .topbar-cities { padding: 10px 1.5rem; }
}
@media (min-width: 768px) {
  .topbar-cities { columns: 5; }
}
@media (min-width: 1024px) {
  .topbar-cities { columns: 6; }
}
.topbar-city {
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: var(--foreground);
  text-decoration: none;
  transition: background-color 0.12s, color 0.12s;
  white-space: nowrap;
  overflow: hidden;
  break-inside: avoid;
  text-overflow: ellipsis;
  display: block;
}
.topbar-city:hover { background-color: var(--accent); }
.topbar-city--active {
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
}
.topbar-city--active:hover { background-color: var(--primary); }

/* Карта */
.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}
[data-theme="dark"] .map-wrap {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* Гриды */
.grid-2 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.grid-4 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.grid-2-lg {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .grid-2-lg { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
}

/* =====================================================
   HERO СЕКЦИЯ
   ===================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(222, 47%, 6%) 0%, hsl(222, 47%, 11%) 50%, hsl(222, 47%, 6%) 100%);
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 640px) { .hero-section { padding-top: 6rem; padding-bottom: 6rem; } }
@media (min-width: 1024px) { .hero-section { padding-top: 8rem; padding-bottom: 8rem; } }

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, hsl(18 98% 60% / 0.20), transparent);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, hsl(18 98% 60% / 0.08), transparent 60%);
  pointer-events: none;
}
.hero-content {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 4.5rem; } }
.hero-title .text-primary { color: var(--primary); }
@media (min-width: 640px) { .hero-title .text-primary { white-space: nowrap; } }

.hero-desc {
  color: #cbd5e1;
  font-size: 1.0625rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .hero-desc { font-size: 1.25rem; } }

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
.hero-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.875rem;
}
.hero-features li svg {
  color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* =====================================================
   STATS СЕКЦИЯ
   ===================================================== */
.stats-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  background-color: var(--primary);
}
@media (min-width: 640px) { .stats-section { padding-top: 3rem; padding-bottom: 3rem; } }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary-foreground);
  line-height: 1;
}
@media (min-width: 640px) { .stat-value { font-size: 2.25rem; } }
@media (min-width: 1024px) { .stat-value { font-size: 3rem; } }
.stat-label {
  font-size: 0.875rem;
  color: hsl(0 0% 100% / 0.8);
  margin-top: 4px;
}
@media (min-width: 640px) { .stat-label { font-size: 1rem; } }

/* =====================================================
   CITY INTRO СЕКЦИЯ
   ===================================================== */
.city-intro-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
  .city-intro-section { padding-top: 4rem; padding-bottom: 4rem; }
}
.city-intro-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .city-intro-layout {
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
  }
}
.city-intro-main .badge {
  margin-bottom: 1.25rem;
}
.city-intro-heading {
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .city-intro-heading { font-size: 1.625rem; }
}
@media (min-width: 1024px) {
  .city-intro-heading { font-size: 1.75rem; }
}
.city-intro-text {
  color: var(--muted-foreground);
  line-height: 1.75;
  font-size: 0.9375rem;
}
@media (min-width: 640px) {
  .city-intro-text { font-size: 1rem; }
}
.city-intro-facts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.city-fact-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
}
.city-fact-content .card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-bottom: 0;
}
.city-fact-label {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--foreground);
}
.city-fact-value {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* =====================================================
   PAIN СЕКЦИЯ
   ===================================================== */
.pain-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.pain-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* =====================================================
   HOW IT WORKS СЕКЦИЯ
   ===================================================== */
.step-card {
  position: relative;
  overflow: visible;
  transition: border-color 0.2s;
}
.step-card:hover {
  border-color: hsl(18 98% 60% / 0.3);
}
.step-number {
  position: absolute;
  top: -16px;
  left: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px hsl(18 98% 60% / 0.3);
}
.step-arrow {
  position: absolute;
  top: 50%;
  right: -24px;
  transform: translateY(-50%);
  display: none;
  z-index: 10;
}
@media (min-width: 1024px) { .step-arrow { display: block; } }
.step-arrow svg { width: 24px; height: 24px; color: hsl(18 98% 60% / 0.6); }
.step-content {
  padding-top: 36px;
  padding-bottom: 24px;
  padding-left: 20px;
  padding-right: 20px;
}
.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}
.step-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}
.how-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* =====================================================
   INCLUDES СЕКЦИЯ
   ===================================================== */
.includes-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: hsl(18 98% 60% / 0.1);
  color: var(--primary);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.includes-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

.includes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}
.includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
}
.includes-list li svg {
  color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.includes-panel {
  background: linear-gradient(135deg, hsl(18 98% 60% / 0.1), hsl(18 98% 60% / 0.05), transparent);
  border-radius: 1.5rem;
  padding: 1.75rem;
  border: 1px solid hsl(18 98% 60% / 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) { .includes-panel { padding: 2.25rem; } }

.includes-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid hsl(18 98% 60% / 0.15);
}
.includes-panel-icon {
  width: 48px;
  height: 48px;
  border-radius: calc(var(--radius) * 2);
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.includes-panel-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-foreground);
}
.includes-panel-header h3 {
  font-size: 1rem;
  font-weight: 700;
}
.includes-panel-header p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 2px;
}
.includes-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: hsl(0 0% 100% / 0.8);
  border-radius: calc(var(--radius) * 2);
  padding: 12px 16px;
}
[data-theme="dark"] .includes-feature {
  background-color: hsl(0 0% 9% / 0.8);
}
.includes-feature svg {
  color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.includes-feature span {
  font-size: 0.875rem;
  font-weight: 500;
}

.includes-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .includes-actions { flex-direction: row; }
}

/* =====================================================
   WHY US СЕКЦИЯ
   ===================================================== */
.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.why-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}
.why-card:hover { border-color: hsl(18 98% 60% / 0.2); }

/* =====================================================
   ДОПОЛНИТЕЛЬНЫЕ УСЛУГИ
   ===================================================== */
.services-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.services-card .card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.75rem;
}
.services-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.services-card .card-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.services-card .service-list {
  flex: 1;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.services-card .service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}
.services-card .service-list li svg {
  color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.services-card:hover { box-shadow: var(--shadow-lg); border-color: hsl(18 98% 60% / 0.2); }

/* =====================================================
   ОТЗЫВЫ
   ===================================================== */
.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.review-stars svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  fill: var(--primary);
}
.review-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0 0 1rem 0;
  flex: 1;
}
.review-card {
  display: flex;
  flex-direction: column;
}
.review-card .card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.review-footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: auto;
}
.review-name {
  font-weight: 600;
  font-size: 0.875rem;
  font-style: normal;
}
.review-meta {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Reviews Slider */
.reviews-slider-wrap { position: relative; }
.reviews-slider {
  overflow: hidden;
  border-radius: 4px;
}
.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
  align-items: stretch;
}
.reviews-track .review-card {
  flex-shrink: 0;
  flex-grow: 0;
}
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.reviews-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--background);
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, border-color .18s, color .18s, transform .15s;
  flex-shrink: 0;
}
.reviews-nav-btn:hover:not(:disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: scale(1.05);
}
.reviews-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.reviews-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .18s, transform .18s;
  flex-shrink: 0;
}
.reviews-dot.is-active {
  background: var(--primary);
  transform: scale(1.3);
}
.reviews-dot:hover:not(.is-active) { background: var(--muted-foreground); }

/* =====================================================
   FAQ АККОРДЕОН
   ===================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.accordion-item {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background-color 0.15s;
}
@media (min-width: 640px) { .accordion-trigger { font-size: 1rem; } }
.accordion-trigger:hover { background-color: hsl(18 5% 92% / 0.5); }
[data-theme="dark"] .accordion-trigger:hover { background-color: hsl(18 5% 15% / 0.5); }
.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}
.accordion-item.is-open .accordion-icon { transform: rotate(180deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordion-item.is-open .accordion-content { max-height: 500px; }
.accordion-body {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* =====================================================
   CTA СЕКЦИЯ
   ===================================================== */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(222, 47%, 6%) 0%, hsl(222, 47%, 11%) 50%, hsl(222, 47%, 6%) 100%);
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 640px) { .cta-section { padding-top: 6rem; padding-bottom: 6rem; } }
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, hsl(18 98% 60% / 0.12), transparent);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .cta-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .cta-title { font-size: 3rem; } }
.cta-desc {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .cta-desc { font-size: 1.125rem; } }
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .cta-actions { flex-direction: row; } }
.cta-guarantees {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}
.cta-guarantees li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 0.875rem;
}
.cta-guarantees li svg {
  color: var(--primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* =====================================================
   МОДАЛЬНЫЕ ОКНА
   ===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: hsl(0 0% 0% / 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  backdrop-filter: blur(4px);
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 448px;
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.2s;
}
.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}
.modal-header {
  padding: 1rem 3rem 0.75rem 1.5rem;
  flex-shrink: 0;
}
.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
}
.modal-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 4px;
}
.modal-body {
  padding: 0 1.5rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-thumb {
  background: hsl(18 98% 60% / 0.4);
  border-radius: 3px;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  border: none;
  background-color: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s;
  font-size: 18px;
  z-index: 10;
}
.modal-close:hover { background-color: var(--accent); }
.modal-close svg { width: 18px; height: 18px; }

/* Form inside modal */
.request-form {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-top: 4px;
}

/* Success/Error states */
.form-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}
.form-state-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-state-icon.success {
  background-color: hsl(18 98% 60% / 0.1);
}
.form-state-icon.success svg { color: var(--primary); width: 32px; height: 32px; }
.form-state-icon.error {
  background-color: hsl(0 84% 45% / 0.1);
}
.form-state-icon.error svg { color: var(--destructive); width: 32px; height: 32px; }
.form-state-title {
  font-size: 1.25rem;
  font-weight: 700;
}
.form-state-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 280px;
}
.form-state-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Spinner */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  flex-shrink: 0;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =====================================================
   COOKIE CONSENT
   ===================================================== */
.cookie-bar {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 1rem 1.25rem;
  width: calc(100% - 2rem);
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  transition: transform 0.3s, opacity 0.3s;
}
.cookie-bar.is-hidden {
  transform: translateX(-50%) translateY(calc(100% + 1.5rem));
  opacity: 0;
  pointer-events: none;
}
.cookie-bar-actions { display: flex; gap: 8px; }
@media (min-width: 640px) {
  .cookie-bar { flex-direction: row; align-items: center; }
  .cookie-bar-actions { flex-shrink: 0; }
}

/* =====================================================
   АНИМАЦИИ (Intersection Observer)
   ===================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-hero {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up-hero.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-1 { transition-delay: 0.0s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.2s; }
.stagger-4 { transition-delay: 0.3s; }
.stagger-5 { transition-delay: 0.4s; }
.stagger-6 { transition-delay: 0.5s; }
.delay-hero-1 { transition-delay: 0.2s; }
.delay-hero-2 { transition-delay: 0.35s; }

/* =====================================================
   SCROLL-TO-TOP КНОПКА
   ===================================================== */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  background-color: hsl(18, 98%, 53%);
}
.scroll-top svg { width: 18px; height: 18px; }

/* =====================================================
   УТИЛИТЫ
   ===================================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.mt-1 { margin-top: 4px; }
.text-sm { font-size: 0.875rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }

/* Lucide icon size control */
svg.icon-xs { width: 12px; height: 12px; }
svg.icon-sm { width: 16px; height: 16px; }
svg.icon-md { width: 20px; height: 20px; }
svg.icon-lg { width: 24px; height: 24px; }

/* =====================================================
   RESPONSIVE UTILITIES
   ===================================================== */
@media (max-width: 639px) {
  .btn-lg { padding: 12px 20px; font-size: 0.9375rem; }
  .hero-actions .btn-lg { width: 100%; justify-content: center; }
  .cta-actions .btn-lg { width: 100%; justify-content: center; }
}

/* Responsive visibility helpers */
.sm-only { display: inline; }
.sm-inline { display: none; }
@media (min-width: 640px) {
  .sm-only { display: none; }
  .sm-inline { display: inline; }
}

/* =====================================================
   BLOG
   ===================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.blog-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(249,115,22,.1);
}
.blog-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--fg);
  margin: 0;
}
.blog-card-desc {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-top: 4px;
  transition: gap .2s;
}
.blog-card-link:hover { gap: 10px; }

/* Article layout */
.article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 0 64px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--fg-muted);
  margin-bottom: 32px;
}
.breadcrumb a {
  color: var(--fg-muted);
  text-decoration: none;
  transition: color .15s;
}
.breadcrumb a:hover { color: var(--primary); }
.article-header { margin-bottom: 32px; }
.article-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--fg);
  margin: 0 0 16px;
}
.article-lead {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin: 0;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
}
.article-body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--fg);
  margin: 40px 0 16px;
  line-height: 1.3;
}
.article-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin: 28px 0 12px;
}
.article-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--fg-base, var(--fg));
  margin: 0 0 18px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 18px 24px;
  padding: 0;
  line-height: 1.8;
}
.article-body ul { list-style-type: disc; }
.article-body ol { list-style-type: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body strong { font-weight: 600; color: var(--fg); }
.article-body .info-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

/* Article CTA */
.article-cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #c2410c 100%);
  border-radius: 20px;
  padding: 36px;
  margin: 48px 0 32px;
}
.article-cta-head { margin-bottom: 24px; }
.article-cta-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.2;
}
.article-cta-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
}
.article-cta-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.article-cta-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: background .18s, border-color .18s, transform .15s;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}
.article-cta-card:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-2px);
}
.article-cta-card--primary {
  background: #fff;
  border-color: transparent;
}
.article-cta-card--primary:hover {
  background: #fff7f3;
  border-color: transparent;
  transform: translateY(-2px);
}
.article-cta-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
}
.article-cta-card--primary .article-cta-card-icon {
  background: hsl(18 98% 95%);
  color: var(--primary);
}
.article-cta-card-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.article-cta-card-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.article-cta-card--primary .article-cta-card-label { color: var(--fg); }
.article-cta-card-sub {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.3;
}
.article-cta-card--primary .article-cta-card-sub { color: var(--fg-muted); }
.article-cta-card-arrow {
  flex-shrink: 0;
  color: rgba(255,255,255,0.5);
  transition: transform .18s, color .18s;
}
.article-cta-card--primary .article-cta-card-arrow { color: var(--fg-muted); }
.article-cta-card:hover .article-cta-card-arrow { transform: translateX(3px); color: rgba(255,255,255,0.9); }
.article-cta-card--primary:hover .article-cta-card-arrow { transform: translateX(3px); color: var(--primary); }
.article-back { margin-top: 8px; }

@media (max-width: 639px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-cta-box { padding: 24px 20px; }
  .article-cta-title { font-size: 1.375rem; }
  .article-cta-actions { grid-template-columns: 1fr; }
}
