:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0b1120;
  --text-muted: #475569;
  --text-light: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff6ff;
  --primary-ring: rgba(37, 99, 235, 0.18);
  --accent: #059669;
  --accent-soft: #ecfdf5;
  --warning-soft: #fffbeb;
  --warning-text: #92400e;
  --dark-bg: #0b1120;
  --dark-surface: #131c31;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-xs: 0 1px 2px rgba(11, 17, 32, 0.04);
  --shadow-sm: 0 2px 6px -1px rgba(11, 17, 32, 0.05), 0 1px 2px -1px rgba(11, 17, 32, 0.03);
  --shadow-md: 0 12px 28px -6px rgba(11, 17, 32, 0.08), 0 4px 12px -4px rgba(11, 17, 32, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(37, 99, 235, 0.16), 0 8px 20px -8px rgba(11, 17, 32, 0.08);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .logo, .package-price, .summary-total strong {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-alt);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.tabular,
.quick-price,
.card-price,
.package-price,
.calc-price,
.summary-row strong,
.summary-total strong,
.price-table td:last-child {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
.topbar {
  background: var(--dark-bg);
  color: #94a3b8;
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e2e8f0;
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
  animation: pulse-dot 2.4s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.24); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.08); }
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-contacts a {
  color: #cbd5e1;
  transition: color 0.15s ease;
}

.topbar-contacts a:hover {
  color: #ffffff;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #2563eb 0%, #4338ca 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}

.logo-mark svg {
  width: 21px;
  height: 21px;
}

.logo-sub {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.01em;
}

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

.nav a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 12px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface-alt);
}

.nav a.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.burger {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(11, 17, 32, 0.1), 0 8px 20px -4px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--surface-alt);
}

.btn-tg {
  background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px -4px rgba(14, 165, 233, 0.35);
}

.btn-tg:hover {
  background: #0284c7;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 12px;
}

/* Architectural grid backdrop */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 85% 10%, rgba(37, 99, 235, 0.11), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(5, 150, 105, 0.08), transparent 36%),
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
}

/* Hero */
.hero {
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #d1fae5;
  color: #047857;
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.1vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text);
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 580px;
}

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

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

.trust-pill {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 12.5px;
  color: var(--text-muted);
  box-shadow: var(--shadow-xs);
}

.trust-pill strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

/* Hero Quick Panel */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.sla-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: #047857;
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-card h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.hero-card-sub {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.quick-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}

.quick-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-alt);
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.quick-item:hover {
  background: var(--primary-soft);
  border-color: #bfdbfe;
  transform: translateX(2px);
}

.quick-price {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.messenger-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.msg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.msg-btn:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.msg-btn svg {
  width: 15px;
  height: 15px;
}

/* Platform & Software Trust Strip */
.tech-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.tech-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.tech-strip-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.tech-logos {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.tech-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}

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

.section-white {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 640px;
  font-size: 15.5px;
}

/* Cards Grid */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #bfdbfe;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  border: 1px solid #dbeafe;
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 17.5px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--text-muted);
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.card-price {
  font-weight: 700;
  color: var(--text);
}

.card-link {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--primary);
}

.card-link:hover {
  text-decoration: underline;
}

/* Pricing Packages */
.package-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.package-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.package-tag {
  position: absolute;
  top: -13px;
  right: 24px;
  background: linear-gradient(135deg, #2563eb 0%, #4338ca 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.package-card h3 {
  margin: 0;
  font-size: 19px;
}

.package-price {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 12px 0 4px;
}

.package-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 26px;
  flex-grow: 1;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

/* Calculator */
.calc-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 26px;
  align-items: start;
}

.calc-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.calc-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.calc-item:hover {
  border-color: var(--border-strong);
}

.calc-item.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.calc-left {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.calc-left input {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: var(--primary);
  cursor: pointer;
}

.calc-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 3px;
}

.calc-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.calc-right {
  text-align: right;
  white-space: nowrap;
}

.calc-price {
  font-weight: 700;
  font-size: 15px;
}

.calc-time {
  font-size: 12px;
  color: var(--text-light);
}

.calc-summary {
  position: sticky;
  top: 96px;
  background: linear-gradient(180deg, #0b1120 0%, #131c31 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.calc-summary h3 {
  margin: 0 0 14px;
  font-size: 19px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #cbd5e1;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 20px 0 8px;
  font-size: 15px;
}

.summary-total strong {
  font-size: 30px;
  color: #ffffff;
}

.discount-note {
  font-size: 13px;
  color: #6ee7b7;
  margin-bottom: 20px;
  min-height: 20px;
}

/* Remote tools switcher */
.tabs {
  display: inline-flex;
  background: var(--surface-alt);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--border);
  gap: 4px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tab-btn {
  border: 0;
  background: transparent;
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.tab-btn.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

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

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #4338ca 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

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

/* Safety Notice */
.safety-box {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.legal-note {
  background: #ffffff;
  border: 1px solid #fde68a;
  box-shadow: var(--shadow-xs);
  color: var(--text);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 13.5px;
  line-height: 1.55;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item.open {
  border-color: #bfdbfe;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-q span {
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-muted);
}

.faq-item.open .faq-a {
  display: block;
}

/* Subpage Hero & Table */
.page-hero {
  padding: 46px 0 50px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
}

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

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-table th,
.price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.price-table th {
  background: var(--surface-alt);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.price-table tbody tr {
  transition: background 0.15s ease;
}

.price-table tbody tr:hover {
  background: #f8fafc;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: #94a3b8;
  padding: 56px 0 28px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer h4 {
  color: #ffffff;
  margin: 0 0 14px;
  font-size: 15px;
  letter-spacing: -0.01em;
}

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

.footer a {
  transition: color 0.15s ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.65);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  background: var(--surface);
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  margin: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal h2 {
  font-size: 20px !important;
  line-height: 1.25;
  margin: 0 38px 4px 0 !important;
}

.modal > p {
  font-size: 13px !important;
  line-height: 1.45;
  margin: 0 0 12px !important;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.modal-close:hover {
  background: var(--border);
  color: var(--text);
}

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

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  background: var(--surface);
  color: var(--text);
}

.form-group input[readonly] {
  background: var(--primary-soft);
  border-color: #bfdbfe;
  color: var(--primary-dark);
  font-weight: 600;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary-ring);
  border-color: var(--primary);
}

.form-success {
  display: none;
  background: var(--accent-soft);
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
}

.modal-messengers {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.modal-messengers-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.modal-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--text-light);
  font-size: 11.5px;
}

.modal-divider::before,
.modal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

@media (max-width: 520px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Catalog Controls & Pagination */
.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-xs);
}

.catalog-search-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.catalog-search-wrap {
  position: relative;
  flex: 1 1 320px;
}

.catalog-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-light);
  pointer-events: none;
}

.catalog-search {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border);
  border-radius: 11px;
  font-family: inherit;
  font-size: 14.5px;
  background: var(--bg);
}

.catalog-search:focus {
  outline: 2px solid var(--primary-ring);
  border-color: var(--primary);
  background: var(--surface);
}

.catalog-meta {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.22);
}

.service-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.service-cat-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.service-hot-tag {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Floating Quick Support Button */
.fab-support {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--dark-bg);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 30px rgba(11, 17, 32, 0.28);
  transition: transform 0.18s ease, background 0.18s ease;
}

.fab-support:hover {
  transform: translateY(-2px);
  background: #1e293b;
}

.fab-support .status-dot {
  width: 7px;
  height: 7px;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid,
  .calc-layout,
  .safety-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .calc-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .header-inner {
    gap: 10px;
    height: 66px;
  }
  .logo {
    min-width: 0;
    font-size: 17px;
  }
  .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .logo-sub {
    display: none;
  }
  .header-actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .header-actions .btn-primary {
    padding: 9px 12px;
    font-size: 12.5px;
  }
  .nav,
  .header-actions .btn-secondary {
    display: none;
  }
  .nav.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .burger {
    display: inline-flex;
    flex-shrink: 0;
  }
  .hero {
    padding: 36px 0 44px;
  }
  .hero-cta .btn {
    white-space: normal;
    text-align: center;
    width: 100%;
  }
  .price-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .grid-3,
  .grid-2,
  .grid-4,
  .steps-grid,
  .hero-trust {
    grid-template-columns: 1fr;
  }
  .fab-support {
    display: none;
  }
}
