/* ===================================================
   Патруль-27 — main.css
   Mobile-first, no preprocessors, no inline styles
   =================================================== */

/* ---------- Font-face (self-hosted Montserrat) ---------- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/montserrat-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Custom properties ---------- */
:root {
  --color-primary:      #0A1E3D;
  --color-accent:       #E8001D;
  --color-accent-hover: #C4001A;
  --color-bg:           #F5F7FA;
  --color-white:        #FFFFFF;
  --color-text:         #1A1A2E;
  --color-muted:        #6B7280;
  --color-border:       #E2E8F0;

  --font-base: 'Montserrat', system-ui, sans-serif;
  --transition: 0.2s ease;
  --radius: 4px;
  --container: 1200px;
  --section-gap: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { list-style: none; }

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

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(26px, 5vw, 46px); }
h2 { font-size: clamp(22px, 3.5vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 22px); }
h4 { font-size: 18px; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-secondary-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn-secondary-white:hover, .btn-secondary-white:focus-visible {
  background: var(--color-white);
  color: var(--color-accent);
}

/* ---------- Section headings ---------- */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  color: var(--color-muted);
  font-size: 17px;
  max-width: 600px;
}

.section-header {
  margin-bottom: 48px;
}

/* ---------- Scroll animation ---------- */
.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate.visible {
  opacity: 1;
  transform: none;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-primary);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.logo-sub {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: 1;
  display: block;
  margin-top: 3px;
}

.site-nav {
  display: none;
}

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

.site-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}

.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
  flex-shrink: 0;
  transition: color var(--transition);
}
.header-phone:hover { color: var(--color-accent); }

.burger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--color-primary);
  z-index: 99;
  padding: 24px 20px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }

.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.1); color: var(--color-white); }

.mobile-nav-phone {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Page offset for fixed header */
.page-wrap { padding-top: 64px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0A1E3D 0%, #1a3a6b 60%, #E8001D 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/img/hero.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,0,29,0.15);
  border: 1px solid rgba(232,0,29,0.4);
  color: #ff4d64;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  width: fit-content;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  color: var(--color-white);
  max-width: 760px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 600;
}
.hero-feature::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* ---------- SERVICES ---------- */
.services { padding: var(--section-gap) 0; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 28px 24px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(10,30,61,0.12);
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(232,0,29,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.service-card h3 { margin-bottom: 10px; }

.service-card p {
  color: var(--color-muted);
  font-size: 15px;
  margin-bottom: 18px;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }
.service-link::after {
  content: '→';
}

/* ---------- HOW WE WORK ---------- */
.how-we-work {
  padding: var(--section-gap) 0;
  background: var(--color-primary);
}

.how-we-work .section-label { color: #ff4d64; }
.how-we-work .section-title { color: var(--color-white); }
.how-we-work .section-desc  { color: rgba(255,255,255,0.65); }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 28px 24px 28px 72px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  counter-increment: steps;
}

.step-card::before {
  content: counter(steps);
  position: absolute;
  left: 24px;
  top: 28px;
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  color: var(--color-accent);
  margin-bottom: 12px;
}

.step-card h3 {
  color: var(--color-white);
  margin-bottom: 8px;
  font-size: 18px;
}

.step-card p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  margin: 0;
}

/* ---------- STATS ---------- */
.stats { padding: var(--section-gap) 0; }

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

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
}

.stat-number {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .stat-accent { color: var(--color-accent); }

.stat-label {
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 600;
}

/* ---------- REVIEWS ---------- */
.reviews { padding: var(--section-gap) 0; background: var(--color-bg); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 28px 24px;
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.review-author {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 2px;
}

.review-date {
  font-size: 13px;
  color: var(--color-muted);
}

.review-stars {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.review-stars span {
  color: #F59E0B;
  font-size: 16px;
}

.review-badge {
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
  background: #dcfce7;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
}

.review-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}

.reviews-cta {
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq { padding: var(--section-gap) 0; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition);
  width: 100%;
  text-align: left;
}

.faq-question:hover { color: var(--color-accent); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition), transform 0.3s ease;
  color: var(--color-accent);
}

.faq-item.open .faq-icon {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: rotate(45deg);
  color: var(--color-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-answer-inner {
  padding-bottom: 20px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ---------- CTA BLOCK ---------- */
.cta-block {
  padding: var(--section-gap) 0;
  background: linear-gradient(135deg, #0A1E3D 0%, #1a3a6b 50%, #E8001D 100%);
  text-align: center;
}

.cta-block h2 { color: var(--color-white); margin-bottom: 16px; }
.cta-block p { color: rgba(255,255,255,0.75); font-size: 18px; margin-bottom: 32px; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- CONTACTS ---------- */
.contacts { padding: var(--section-gap) 0; }

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(232,0,29,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-label {
  font-size: 13px;
  color: var(--color-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.contact-value a { color: var(--color-accent); }
.contact-value a:hover { color: var(--color-accent-hover); }

.map-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16/9;
  min-height: 260px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 540px;
}

.form-row { display: flex; flex-direction: column; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-base);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232,0,29,0.1);
}

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

.form-note {
  font-size: 12px;
  color: var(--color-muted);
}

.form-status {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius);
  display: none;
}
.form-status.success {
  display: block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.form-status.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  padding: 60px 0 48px;
  background: linear-gradient(135deg, #0A1E3D 0%, #1a3a6b 100%);
}

.page-hero h1 { color: var(--color-white); margin-bottom: 12px; }

.page-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 17px;
  max-width: 620px;
  margin: 0;
}

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--color-muted);
}

.breadcrumbs li + li::before {
  content: '›';
  margin-right: 6px;
  color: var(--color-border);
}

.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs li:last-child { color: var(--color-text); font-weight: 600; }

/* ---------- SERVICE PAGE CONTENT ---------- */
.service-content {
  padding: var(--section-gap) 0;
}

.service-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.service-body h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}
.service-body h2:first-child { margin-top: 0; }

.service-body p {
  color: var(--color-muted);
  font-size: 16px;
}

.service-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 24px;
}

.service-body ul li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text);
}

.service-body ul li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 2px;
}

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

.sidebar-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
}

.sidebar-card h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

.sidebar-card p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.sidebar-card .btn { width: 100%; }

.price-badge {
  background: linear-gradient(135deg, #0A1E3D, #1a3a6b);
  border-radius: 8px;
  padding: 24px;
  color: var(--color-white);
  text-align: center;
}

.price-badge .price-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.price-badge .price-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 4px;
}

.price-badge .price-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ---------- PRICING PAGE ---------- */
.pricing { padding: var(--section-gap) 0; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  font-size: 15px;
}

.pricing-table thead {
  background: var(--color-primary);
  color: var(--color-white);
}

.pricing-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}

.pricing-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table tbody tr:hover { background: var(--color-bg); }

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

.pricing-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--color-muted);
}

.pricing-section { margin-bottom: 48px; }
.pricing-section h2 { margin-bottom: 20px; }

/* ---------- BLOG ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: var(--section-gap) 0;
}

.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(10,30,61,0.12);
  transform: translateY(-3px);
}

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

.blog-meta {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.blog-card h3 { margin-bottom: 10px; font-size: 19px; }
.blog-card p { color: var(--color-muted); font-size: 15px; margin-bottom: 16px; }

/* ---------- ARTICLE PAGE ---------- */
.article-layout {
  padding: var(--section-gap) 0;
}

.article-content-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.article-body {
  max-width: 780px;
}

.article-body h2 {
  margin: 36px 0 14px;
}
.article-body h2:first-child { margin-top: 0; }

.article-body h3 { margin: 28px 0 10px; }

.article-body p {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.article-body ul, .article-body ol {
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-body ul li {
  display: flex;
  gap: 10px;
  font-size: 15px;
}
.article-body ul li::before {
  content: '•';
  color: var(--color-accent);
  font-size: 20px;
  line-height: 1.2;
  flex-shrink: 0;
}

.article-body ol { list-style: decimal inside; }
.article-body ol li { font-size: 15px; }

.article-body blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 16px 20px;
  background: rgba(232,0,29,0.05);
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--color-text);
}

.article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

/* ---------- REVIEWS PAGE ---------- */
.reviews-page { padding: var(--section-gap) 0; }

.reviews-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

/* ---------- ABOUT ---------- */
.about { padding: var(--section-gap) 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.about-feature {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(232,0,29,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.about-feature h4 { margin-bottom: 4px; font-size: 15px; }
.about-feature p { font-size: 14px; color: var(--color-muted); margin: 0; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
}

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

.footer-brand { max-width: 320px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo .logo-icon {
  width: 36px;
  height: 36px;
}

.footer-logo .logo-text {
  font-size: 18px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin: 0;
}

.footer-section h4 {
  color: var(--color-white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-white); }

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

.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
}

.footer-contact-svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.footer-contact-item a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ---------- MOBILE CALL BUTTON ---------- */
.mobile-call-btn {
  display: flex;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(232,0,29,0.4);
  transition: background var(--transition), transform var(--transition);
}
.mobile-call-btn:hover {
  background: var(--color-accent-hover);
  transform: scale(1.08);
}

/* ---------- TABLET 768px ---------- */
@media (min-width: 768px) {
  .burger { display: none; }
  .mobile-nav { display: none !important; }
  .site-nav { display: flex; }
  .header-phone { display: flex; }
  .mobile-call-btn { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-page-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }

  .service-content-grid { grid-template-columns: 1fr 320px; }
  .article-content-wrap { grid-template-columns: 1fr 280px; }

  .form-row { flex-direction: row; }
  .form-row .form-group { flex: 1; }
}

/* ---------- DESKTOP 1024px ---------- */
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-page-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { padding: 100px 0 80px; }
}

/* ---------- 404 PAGE ---------- */
.page-404 {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0A1E3D 0%, #1a3a6b 60%, #E8001D 100%);
  padding: 60px 20px;
  text-align: center;
}

.page-404__inner {
  max-width: 560px;
  width: 100%;
}

.page-404__number {
  font-size: clamp(100px, 20vw, 180px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 3px rgba(255,255,255,0.25);
  letter-spacing: -4px;
  user-select: none;
}

.page-404__icon {
  width: 72px;
  height: 72px;
  background: rgba(232,0,29,0.15);
  border: 2px solid rgba(232,0,29,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -20px auto 24px;
  color: #ff4d64;
}

.page-404 h1 {
  color: var(--color-white);
  font-size: clamp(22px, 4vw, 32px);
  margin-bottom: 14px;
}

.page-404__desc {
  color: rgba(255,255,255,0.68);
  font-size: 17px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 48px;
}

.page-404__links {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
}

.page-404__links-label {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}

.page-404__links-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.page-404__link {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.page-404__link:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.13);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-40 { margin-top: 40px; }

/* ---------- RATING BANNER ---------- */
.rating-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  flex-wrap: wrap;
}

.rating-score {
  text-align: center;
  flex-shrink: 0;
}

.rating-score__value {
  font-size: 52px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.rating-score__stars {
  color: #F59E0B;
  font-size: 22px;
  letter-spacing: 2px;
}

.rating-score__count {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 4px;
}

.rating-info__title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}

.rating-info__desc {
  color: var(--color-muted);
  font-size: 14px;
  margin: 0 0 14px;
}

/* ---------- ALSO HELP ---------- */
.also-help {
  padding: var(--section-gap) 0;
  background: var(--color-bg-alt);
}

.also-help__title {
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 24px;
}

.also-help__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.also-help__card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.also-help__card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.also-help__card p {
  color: var(--color-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.also-help__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-primary-light, rgba(0,102,255,.08));
  color: var(--color-primary);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .also-help__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- ABOUT STAT 2-COL ---------- */
.stats-grid-2col { grid-template-columns: repeat(2, 1fr); }

/* ---------- SIDEBAR CONTACT CARD ---------- */
.sidebar-contact { margin-top: 20px; }
