:root {
  --bg: #fbfcff;
  --surface: rgba(255,255,255,.92);
  --line: #d9dde5;
  --text: #083b7a;
  --muted: #5f7a9f;
  --accent: #ef3d3d;
  --accent-dark: #d83434;
  --blue: #0a4a99;
  --shadow: 0 20px 50px rgba(10, 74, 153, 0.08);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(239, 61, 61, 0.08), transparent 28%), linear-gradient(180deg, #ffffff 0%, #fbfcff 48%, #f7f9fd 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.container { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.btn-outline { border-color: var(--blue); background: #fff; color: var(--blue); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.page-shell { padding-bottom: 40px; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; }
.brand img { width: 228px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; color: #2f5f9d; }
.header-actions { gap: 18px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; gap: 4px; flex-direction: column; }
.burger span { width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }
.mobile-menu { position: fixed; inset: 0; background: rgba(10,39,73,.4); z-index: 60; padding: 16px; }
.mobile-menu-panel { max-width: 420px; border-radius: 28px; background: #fff; padding: 20px; box-shadow: 0 30px 80px rgba(8,40,77,.18); }
.mobile-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.mobile-top img { width: 190px; }
.mobile-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue); font-size: 28px; line-height: 1; }
.mobile-nav { display: grid; gap: 10px; }
.mobile-nav a { padding: 16px; border: 1px solid #e1e7f0; border-radius: 18px; color: var(--blue); font-weight: 700; }
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; padding-top: 28px; }
.hero-copy { padding: 24px 0; }
.hero h1 { font-size: clamp(42px, 5.4vw, 78px); line-height: .92; letter-spacing: -.05em; color: var(--accent); margin: 18px 0 18px; font-weight: 900; }
.hero p { max-width: 700px; font-size: 22px; line-height: 1.55; color: #56739a; margin: 0; }
.pill, .badge, .eyebrow { display: inline-flex; align-items: center; }
.pill { border: 1px solid #f2d0d0; background: rgba(255,255,255,.8); color: var(--accent); border-radius: 999px; padding: 12px 18px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.badge { background: var(--accent); color: #fff; padding: 12px 16px; font-size: 13px; font-weight: 800; box-shadow: 0 16px 30px rgba(239,61,61,.18); }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-media { overflow: hidden; border-radius: 28px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.gallery { display: grid; grid-template-columns: 170px 170px 1fr 180px; gap: 16px; margin-top: 16px; }
.small-card { overflow: hidden; padding: 4px; }
.small-card img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.text-card, .stat-card { padding: 18px; font-size: 14px; line-height: 1.7; color: #365b8d; }
.muted { color: #7e92ad; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; }
.stat { margin-top: 8px; font-size: 30px; font-weight: 900; color: var(--accent); }
.two-col, .location, .contact-grid, .detail-grid, .detail-bottom-grid { display: grid; gap: 24px; }
.two-col, .location { grid-template-columns: 1.2fr .8fr; margin-top: 32px; }
.prose, .facts, .faq-card { padding: 28px; }
.prose h2, .facts h2, .catalog h2, .faq-card h2, .contact h2, .detail-head h1, .similar-block h2 { margin: 0 0 18px; font-size: 34px; line-height: 1; letter-spacing: -.04em; color: var(--blue); }
.prose h3, .facts h3 { margin-top: 28px; margin-bottom: 14px; color: var(--blue); }
.prose p, .prose li, .facts li { font-size: 15px; line-height: 1.9; color: #33527f; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts-grid div { border-bottom: 1px solid #e5e8ee; padding-bottom: 12px; }
.facts-grid span { display: block; font-size: 12px; color: #7e92ad; text-transform: uppercase; letter-spacing: .08em; }
.facts-grid strong { display: block; margin-top: 6px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; list-style: none; padding: 0; }
.feature-list li { border-bottom: 1px solid #e5e8ee; padding-bottom: 10px; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.catalog { margin-top: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.eyebrow { font-size: 16px; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.eyebrow.light { color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.filter-bar { display: grid; grid-template-columns: 180px 220px 1fr auto; gap: 12px; padding: 16px; background: #f7f9fc; }
.filter-bar label, .lead-form label { display: grid; gap: 8px; }
.filter-bar span, .lead-form span:first-child { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #6f85a3; font-weight: 700; }
.filter-bar select, .filter-bar input, .lead-form input {
  min-height: 48px; border-radius: 14px; border: 1px solid #cfd7e4; padding: 0 14px; color: #1d4477; background: #fff;
}
.filter-actions { display: flex; gap: 8px; align-items: end; }
.catalog-note { margin: 16px 0; color: #55739a; font-size: 14px; }
.table { overflow: hidden; }
.table-head, .table-row { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr 1fr 1fr 150px; gap: 16px; align-items: center; }
.table-head { padding: 14px 18px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.table-row { padding: 16px 18px; border-top: 1px solid var(--line); }
.table-row a { color: var(--blue); font-weight: 700; }
.table-row small { display: block; margin-top: 6px; color: #6f85a3; font-size: 12px; }
.price { color: var(--accent); font-weight: 700; }
.faq, .contact, .detail-bottom, .similar-block { margin-top: 32px; }
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.faq-grid article { border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.contact-grid { grid-template-columns: 1fr 340px; align-items: start; }
.lead-form { padding: 20px; }
.checkbox { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 10px !important; font-size: 13px; line-height: 1.7; color: #33527f; }
.checkbox input { min-height: 0; margin-top: 4px; }
.callout { background: var(--accent); color: #fff; padding: 24px; clip-path: polygon(0 0, 84% 0, 100% 14%, 100% 100%, 0 100%); }
.callout h3 { margin: 12px 0; font-size: 34px; line-height: 1; }
.callout p { font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.92); }
.site-footer { margin-top: 48px; background: #0a3d8a; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 32px; padding: 40px 0; }
.footer-logo { width: 228px; }
.footer-title { font-weight: 700; margin-bottom: 8px; }
.site-footer a { text-decoration: underline; }
.detail-top { padding-top: 28px; }
.back-link { display: inline-flex; margin-bottom: 20px; color: var(--blue); font-weight: 700; }
.detail-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; flex-wrap: wrap; }
.detail-head p { font-size: 15px; color: #33527f; }
.detail-grid { grid-template-columns: .9fr 1.1fr; margin-top: 18px; }
.detail-sidebar, .detail-plan { padding: 20px; }
.detail-price { font-size: 32px; font-weight: 900; color: var(--accent); margin-bottom: 18px; }
.detail-meta { padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-meta span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #6f85a3; margin-bottom: 6px; }
.detail-note { font-size: 14px; line-height: 1.8; color: #33527f; }
.detail-plan img { width: 100%; max-height: 760px; object-fit: contain; background: #f7f9fc; }
.detail-plan__empty { min-height: 520px; display: flex; align-items: center; justify-content: center; text-align: center; color: #55739a; background: #f7f9fc; }
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.similar-card { padding: 20px; display: grid; gap: 10px; }
.narrow { max-width: 960px; }
.exit-popup[hidden] { display: none !important; }
.exit-popup { position: fixed; inset: 0; z-index: 70; }
.exit-popup__backdrop { position: absolute; inset: 0; background: rgba(8,40,77,.6); backdrop-filter: blur(4px); }
.exit-popup__panel { position: relative; width: min(560px, calc(100% - 32px)); margin: min(12vh, 80px) auto 0; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(8,40,77,.24); }
.exit-popup__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #d8dfeb; background: #fff; color: var(--blue); font-size: 28px; line-height: 1; z-index: 2; }
.exit-popup__hero { padding: 28px; background: linear-gradient(135deg,#ef3d3d 0%,#ff6969 100%); color: #fff; }
.exit-popup__hero h3 { margin: 12px 0; font-size: 38px; line-height: .95; }
.exit-popup__hero p { margin: 0; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.92); }
.exit-popup__panel .lead-form { padding: 28px; }
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .burger { display: inline-flex; }
  .hero, .two-col, .location, .contact-grid, .detail-grid, .detail-bottom-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .table-head { display: none; }
  .table-row { grid-template-columns: 1fr; }
  .faq-grid, .similar-grid, .facts-grid, .feature-list, .location-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 24px); }
  .header-inner { padding: 18px 0; }
  .brand img { width: 190px; }
  .hero { padding-top: 18px; }
  .hero h1 { font-size: 54px; }
  .hero p { font-size: 16px; }
  .gallery { grid-template-columns: 1fr; }
  .callout h3, .prose h2, .facts h2, .catalog h2, .faq-card h2, .contact h2, .detail-head h1 { font-size: 30px; }
  .exit-popup__hero h3 { font-size: 32px; }
}
