/* Dinamica Insure — внутренние страницы. Сгенерировано рефакторингом 2026-08-11. */

/* 1. Базовые стили */

:root {
  --navy: #0d0d0d;
  --navy-mid: #1a1a1a;
  --navy-light: #262626;
  --red: #e31e24;
  --red-hover: #c01419;
  --grey: #8a8a8a;
  --grey-light: #dfe1e5;
  --bg: #e7e9ec;
  --white: #f3f4f6;
  --text: #1a1a1a;
  --text-light: #6a6a6a;
  --font: "Manrope", sans-serif;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
}


.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  height: 72px; display: flex; align-items: center; gap: 32px;
}


.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 6px; transition: color 0.2s, background 0.2s; }

.nav a.active { color: var(--white); background: rgba(227,30,36,0.16); }
.header-phone { color: var(--white); font-weight: 700; font-size: 15px; white-space: nowrap; }


.section-tag {
  display: inline-block; background: rgba(227,30,36,0.1);
  color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 4px; margin-bottom: 16px;
}
.section-title { font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 16px; }
.section-sub { color: var(--grey); font-size: 16px; max-width: 560px; }
.section-header { margin-bottom: 48px; }


.page-hero { min-height: 60vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 70% 50%, rgba(227,30,36,0.12) 0%, transparent 60%), repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 60px); }
.breadcrumb { color: rgba(255,255,255,0.4); font-size: 13px; margin-bottom: 24px; }
.breadcrumb a { color: rgba(255,255,255,0.4); }
.breadcrumb a:hover { color: white; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(227,30,36,0.15); border: 1px solid rgba(227,30,36,0.3); color: #ff8a8f; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero-title { color: var(--white); font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin-bottom: 20px; }

.hero-sub { color: rgba(255,255,255,0.65); font-size: 17px; line-height: 1.65; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-info-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 20px; }
.hero-info-num { color: white; font-size: 24px; font-weight: 800; }
.hero-info-label { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 4px; }

.why-item { background: rgba(255,255,255,0.03); padding: 32px 28px; transition: background 0.2s; }

.why-num { font-size: 40px; font-weight: 800; color: var(--red); opacity: 0.4; line-height: 1; margin-bottom: 12px; }
.why-title { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 8px; }


.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(227,30,36,0.1); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 22px; height: 22px; }


.input-light { width: 100%; background: var(--bg); border: 1px solid var(--grey-light); border-radius: var(--radius); padding: 12px 16px; font-family: var(--font); font-size: 15px; color: var(--text); outline: none; transition: border-color 0.2s; }
.input-light:focus { border-color: var(--red); }
.input-dark { width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 12px 16px; font-family: var(--font); font-size: 15px; color: white; outline: none; transition: border-color 0.2s; }
.input-dark::placeholder { color: rgba(255,255,255,0.3); }
.input-dark:focus { border-color: var(--red); }

.footer { background: #0a0a0a; padding: 24px 0; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; }

.footer-policy { color: rgba(255,255,255,0.35); font-size: 13px; }
.footer-policy:hover { color: white; }

.sticky-phone { position: fixed; bottom: 32px; right: 32px; z-index: 99; background: var(--red); color: var(--white); width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(227,30,36,0.5); transition: transform 0.2s; }
.sticky-phone:hover { transform: scale(1.1); }
.sticky-phone svg { width: 24px; height: 24px; }


/* ============ RESPONSIVE (service pages) ============ */
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; gap: 10px; height: 60px; }
  .nav { display: none; }
  .header-phone { display: none; }
  .logo img { height: 30px; }
  .logo-text { font-size: 15px; }
  .header .btn-primary { padding: 9px 16px; font-size: 13px; margin-left: auto; }

  .section-inner { padding: 0 16px; }

  .page-hero { min-height: auto; }
  .page-hero .section-inner { padding-top: 96px !important; padding-bottom: 48px !important; }
  .hero-title { font-size: clamp(28px, 8vw, 38px) !important; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-primary, .hero-btns .btn-outline { width: 100%; justify-content: center; }

  .section-title { font-size: clamp(24px, 6.5vw, 32px) !important; }
  .section-header { margin-bottom: 36px; }

  /* collapse every inline grid to one column */
  .u-has-grid-cols { grid-template-columns: 1fr !important; }
  /* collapse heavy gaps */
  .u-gap-80, .u-gap-60 { gap: 32px !important; }
  /* reduce big vertical section padding written inline */
  .u-py-80 { padding: 52px 0 !important; }

  /* class-based grids → 1 column */
  .stages, .offers-grid, .who-grid, .directions-grid, .process-steps,
  .what-grid, .what-list, .for-whom, .risks-grid, .steps-grid { grid-template-columns: 1fr !important; }
  .steps-grid::before { display: none !important; }

  /* small-card grids → 2 columns */
  .risks-grid { grid-template-columns: 1fr 1fr !important; }

  .kbm-scale { flex-wrap: wrap; }
  .kbm-step { flex: 1 0 33.333%; }

  /* fixed inner widths shrink */
  .u-maxw-600, .u-maxw-760,
  .u-maxw-520, .u-maxw-480 { max-width: 100% !important; }

  .input-light, .input-dark { font-size: 16px; }
  .sticky-phone { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .section-inner { padding: 0 14px; }
  .hero-title { font-size: 28px !important; }
  .section-title { font-size: 23px !important; }
  .u-has-grid-cols { grid-template-columns: 1fr !important; }
  .risks-grid, .for-whom { grid-template-columns: 1fr !important; }
  .kbm-step { flex: 1 0 50%; }
  .u-py-80 { padding: 44px 0 !important; }
}

/* ===== Доп. блоки, сохранённые из проектной версии ===== */
/* Site-wide contact and footer content */
.site-contact-strip {padding:64px 0;background:#171717;color:#f3f4f6;border-top:1px solid rgba(255,255,255,.06)}
.site-contact-strip__grid {display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:start}
.site-contact-strip__title {font-size:clamp(26px,3vw,38px);line-height:1.2;margin:0 0 14px;font-weight:800}
.site-contact-strip__text {color:rgba(255,255,255,.58);max-width:600px;line-height:1.75}
.site-contact-strip__links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.site-contact-link {display:flex;flex-direction:column;gap:3px;padding:16px 18px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:10px;transition:.2s}
.site-contact-link:hover {background:rgba(255,255,255,.09);border-color:rgba(227,30,36,.5);transform:translateY(-1px)}
.site-contact-link strong {font-size:14px;color:#fff;word-break:break-word}
.site-contact-link span {font-size:12px;color:rgba(255,255,255,.46);line-height:1.45}
.service-footer-grid {display:grid;grid-template-columns:1fr 1fr;gap:32px;padding-bottom:22px;color:#fff}
.service-footer-grid strong {font-size:18px}
.service-footer-grid p {margin-top:8px;color:rgba(255,255,255,.4);font-size:13px;max-width:460px}
.service-footer-links {display:flex;flex-wrap:wrap;gap:10px 20px;justify-content:flex-end;align-content:start}
.service-footer-links a {color:rgba(255,255,255,.5);font-size:13px}
.service-footer-links a:hover {color:#fff}


/* Exact office location in Yandex Maps */

.location-link:hover {border-color:rgba(227,30,36,.72)}
/* Yandex Maps widget in the main contacts section */
.contact-card {background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(12, 16, 24, 0.07);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(12, 16, 24, 0.08);
  backdrop-filter: blur(6px);}
.contact-info-card {padding: 40px;}
.contact-info-card .section-title {margin-bottom: 14px;}
.contact-intro {color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;}
.contact-map-card {padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;}
.contact-map-meta {padding: 8px 8px 0;}
.contact-map-title {margin: 0 0 6px;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;}
.contact-map-text {color: var(--text-light);
  font-size: 15px;
  line-height: 1.65;}
.contact-map-widget {width: 100%;
  min-width: 0;
  display: flex;
  flex: 1 1 auto;}
.yandex-map-frame {width: 100%;
  min-height: 430px;
  border-radius: 20px;
  background: #f1f1f1;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
  overflow: hidden;}
.yandex-map-frame iframe {display: block;
  width: 100%;
  height: 430px;
  border: 0;
  border-radius: 20px;}
.contacts-grid {grid-template-columns: minmax(0, 1fr) minmax(420px, 500px) !important;
  gap: 36px !important;
  align-items: stretch !important;}
.contacts-grid > * {min-width: 0;}
.contact-card {background: #f4f6f9;
  border: 1px solid rgba(12,16,24,0.08);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(12,16,24,0.08);}
.contact-info-card {padding: 40px;}
.contact-info-card .section-title {max-width: 520px;
  margin-bottom: 22px;}
.contact-intro {margin-bottom: 30px;}
.contact-map-card {padding: 22px;}
.contact-map-title {font-size: 28px;
  margin-bottom: 8px;}
.contact-map-text {margin-bottom: 14px;}
.map-links {display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;}
.map-links a {display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(12,16,24,0.05);
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.3;
  text-decoration: none;}
.map-links a:hover {background: rgba(227,30,36,0.10);
  color: var(--text);}
.yandex-map-frame {min-height: 460px !important;
  border-radius: 20px;
  overflow: hidden;}
.yandex-map-frame iframe {width: 100% !important;
  height: 460px !important;
  border: 0;
  display: block;}
/* Real team photo block */
.team-real-photo-card {background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;}
.team-real-photo {position: relative;
  aspect-ratio: 16 / 7;
  min-height: 320px;
  background: #d7dce2;}
.team-real-photo img {display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;}
.team-real-caption {display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  padding: 24px 28px;}
.team-real-title {margin: 0;
  color: var(--text);
  font-size: 26px;
  font-weight: 700;}
.team-real-text {color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;}
/* ── Слот виджета polis.online ─────────────────────────── */
.polis-widget-wrap {max-width: 980px; margin: 0 auto;}
.polis-widget-slot {
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  padding: 0;
  min-height: 0;
  overflow: visible;
}
.polis-widget-slot iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  border: 0;
  display: block;
  border-radius: 0;
  background: transparent;
}
.osago-widget-section {
  padding: 48px 0 54px;
  background: var(--bg);
}
.osago-widget-section .section-header {
  margin-bottom: 24px;
}
.osago-widget-section .section-sub {
  max-width: 680px;
}
.polis-widget-empty {display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 500px; padding: 40px 24px;
  border: 2px dashed var(--grey-light); border-radius: 10px; background: var(--bg);}
.polis-widget-empty .pw-icon {width: 56px; height: 56px; margin-bottom: 18px; opacity: .5;}
.polis-widget-empty h3 {font-size: 20px; font-weight: 800; margin-bottom: 10px;}
.polis-widget-empty p {color: var(--grey); font-size: 15px; max-width: 560px; margin: 0 auto 8px; line-height: 1.6;}
.polis-widget-fallback {text-align: center; margin-top: 10px;}
.polis-widget-fallback .pw-hint {color: var(--grey); font-size: 14px; margin-bottom: 14px;}
.polis-widget-fallback .pw-btns {display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;}

@media(max-width:768px) {
  .site-contact-strip {padding:48px 0}
  .site-contact-strip__grid {grid-template-columns:1fr;gap:28px}
  .site-contact-strip__links {grid-template-columns:1fr}
  .service-footer-grid {grid-template-columns:1fr}
  .service-footer-links {justify-content:flex-start}
  .header-socials {margin-left:auto}
  .header-social-link {width:31px;height:31px}
  .header-social-link img {width:19px;height:19px}
  .footer-socials {margin-top:16px}
}

@media(max-width:880px) {
  .header-socials {margin-left:auto}
}

@media (max-width: 768px) {
  .contact-card,
  .contact-info-card,
  .contact-map-card {border-radius: 20px;}
  .contact-info-card {padding: 28px 20px;}
  .contact-map-card {padding: 14px;}
  .contact-map-title {font-size: 22px;}
  .yandex-map-frame,
  .yandex-map-frame iframe {min-height: 340px;
    height: 340px;
    border-radius: 16px;}
  .contact-info-card,
  .contact-map-card {padding: 22px 18px;}
  .contact-map-title {font-size: 24px;}
  .yandex-map-frame {min-height: 340px !important;}
  .yandex-map-frame iframe {height: 340px !important;}
  .team-real-photo {min-height: 240px;
    aspect-ratio: auto;}
  .team-real-caption {grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;}
  .team-real-title {font-size: 22px;}
  .osago-widget-section {padding: 40px 0 48px;}
}

@media (max-width: 980px) {
  .contacts-grid {grid-template-columns: 1fr !important;}
}


/* Компактная CTA-карточка вместо повторной формы amoCRM */
.service-cta-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.service-cta-card h3 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.service-cta-card p {
  color: var(--grey);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.service-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.service-cta-actions .btn-outline {
  color: var(--text);
  border-color: var(--grey-light);
}
.service-cta-actions .btn-outline:hover {
  color: var(--text);
  border-color: var(--text-light);
  background: var(--bg);
}

@media (max-width: 768px) {
  .service-cta-card { padding: 24px 20px; }
  .service-cta-actions { flex-direction: column; }
  .service-cta-actions .btn-primary,
  .service-cta-actions .btn-outline { width: 100%; justify-content: center; }
}

/* === Партнеры: страховые компании === */


/* Компактные заголовки секций внешних калькуляторов. */
.widget-section-header {
  margin-bottom: 22px;
}
.widget-section-header .section-tag {
  margin-bottom: 0;
}

/* Форма бизнеса: уменьшаем пустые поля вокруг интеграции, саму amoCRM-форму не меняем. */
.business-form-section .business-form-layout {
  gap: 48px !important;
}
.business-form-section .amo-form-wrap {
  width: 100%;
  min-width: 0;
}

@media (max-width: 900px) {
  .business-form-section .business-form-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
}


/* 2. Стили конкретных услуг. Каждый блок изолирован классом body. */


/* page: osago */
.page-osago .hero-osago {background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a0d0d 100%);}
.page-osago .steps-grid {display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative;}
.page-osago .steps-grid::before {content:""; position:absolute; top:32px; left:12.5%; right:12.5%; height:2px; background: linear-gradient(90deg, var(--red), var(--navy-light)); z-index:0;}
.page-osago .step-item {text-align:center; padding:0 20px; position:relative; z-index:1;}
.page-osago .step-num {width:64px; height:64px; border-radius:50%; background:var(--navy); color:white; font-size:20px; font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; border:3px solid var(--red);}
.page-osago .step-title {font-size:15px; font-weight:700; margin-bottom:8px;}
.page-osago .step-desc {color:var(--grey); font-size:13px; line-height:1.6;}
.page-osago .faq-item {border-bottom:1px solid var(--grey-light);}
.page-osago .faq-q {display:flex; justify-content:space-between; align-items:center; padding:20px 0; cursor:pointer; font-weight:600; font-size:16px; gap:16px;}
.page-osago .faq-q svg {flex-shrink:0; transition:transform 0.3s;}
.page-osago .faq-item.open .faq-q svg {transform:rotate(180deg);}
.page-osago .faq-a {max-height:0; overflow:hidden; transition:max-height 0.35s ease; color:var(--grey); font-size:15px; line-height:1.7;}
.page-osago .faq-item.open .faq-a {max-height:300px; padding-bottom:20px;}
.page-osago .widget-placeholder {background:var(--bg); border:2px dashed var(--grey-light); border-radius:12px; padding:60px 40px; text-align:center;}
.page-osago .widget-placeholder p {color:var(--grey); font-size:14px; margin-top:8px;}
.page-osago polis-online-widget-osago {display:block; width:100%; min-height:1320px; background:transparent !important; overflow:visible;}
@media (max-width:768px) {
.page-osago polis-online-widget-osago {min-height:1600px;}
}


/* page: kasko */
.page-kasko .hero-kasko {background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #141414 100%);}
.page-kasko .stages {display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;}
.page-kasko .stage-card {background: var(--white); border: 1px solid var(--grey-light); border-radius: 12px; padding: 28px 24px; border-left: 4px solid var(--red); box-shadow: 0 2px 8px rgba(15,23,42,.04);}
.page-kasko .stage-num {font-size: 36px; font-weight: 800; color: var(--red); opacity: 0.3; line-height: 1; margin-bottom: 12px;}
.page-kasko .stage-title {font-size: 15px; font-weight: 700; margin-bottom: 8px;}
.page-kasko .stage-desc {color: var(--grey); font-size: 13px; line-height: 1.6;}
.page-kasko .offers-grid {display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;}
.page-kasko .offer-card {background: var(--white); border: 1px solid var(--grey-light); border-radius: 12px; padding: 32px; transition: box-shadow 0.25s, border-color 0.25s;}
.page-kasko .offer-card:hover {box-shadow: var(--shadow-lg); border-color: var(--red);}
.page-kasko .offer-icon {width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;}
.page-kasko .offer-name {font-size: 18px; font-weight: 700; margin-bottom: 8px;}
.page-kasko .offer-list {color: var(--grey); font-size: 14px; line-height: 2;}
.page-kasko .offer-list li::before {content: "✓ "; color: var(--red); font-weight: 700;}
.page-kasko .faq-item {border-bottom: 1px solid var(--grey-light);}
.page-kasko .faq-q {display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 15px; gap: 16px;}
.page-kasko .faq-q svg {flex-shrink: 0; transition: transform 0.3s;}
.page-kasko .faq-item.open .faq-q svg {transform: rotate(180deg);}
.page-kasko .faq-a {max-height: 0; overflow: hidden; transition: max-height 0.35s ease; color: var(--grey); font-size: 14px; line-height: 1.7;}
.page-kasko .faq-item.open .faq-a {max-height: 300px; padding-bottom: 20px;}


/* page: ipoteka */
.page-ipoteka .hero-ipoteka {background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #141414 100%);}
.page-ipoteka .stages {display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;}
.page-ipoteka .stage-card {background: var(--white); border: 1px solid var(--grey-light); border-radius: 12px; padding: 28px 24px; border-left: 4px solid #059669; box-shadow: 0 2px 8px rgba(15,23,42,.04);}
.page-ipoteka .stage-num {font-size: 36px; font-weight: 800; color: #059669; opacity: 0.35; line-height: 1; margin-bottom: 12px;}
.page-ipoteka .stage-title {font-size: 15px; font-weight: 700; margin-bottom: 8px;}
.page-ipoteka .stage-desc {color: var(--grey); font-size: 13px; line-height: 1.6;}
.page-ipoteka .who-grid {display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;}
.page-ipoteka .who-card {background: var(--white); border: 1px solid var(--grey-light); border-radius: 12px; padding: 28px;}
.page-ipoteka .who-icon {width: 44px; height: 44px; border-radius: 10px; background: rgba(5,150,105,0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;}
.page-ipoteka .who-title {font-size: 16px; font-weight: 700; margin-bottom: 8px;}
.page-ipoteka .who-desc {color: var(--grey); font-size: 14px; line-height: 1.65;}
.page-ipoteka .faq-item {border-bottom: 1px solid var(--grey-light);}
.page-ipoteka .faq-q {display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 15px; gap: 16px;}
.page-ipoteka .faq-q svg {flex-shrink: 0; transition: transform 0.3s;}
.page-ipoteka .faq-item.open .faq-q svg {transform: rotate(180deg);}
.page-ipoteka .faq-a {max-height: 0; overflow: hidden; transition: max-height 0.35s ease; color: var(--grey); font-size: 14px; line-height: 1.7;}
.page-ipoteka .faq-item.open .faq-a {max-height: 300px; padding-bottom: 20px;}


/* page: kvartiry */
.page-kvartiry .hero-kvartiry {background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #141414 100%);}
.page-kvartiry .what-grid {display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;}
.page-kvartiry .what-card {background: var(--white); border: 1px solid var(--grey-light); border-radius: 12px; padding: 28px;}
.page-kvartiry .what-icon {width: 48px; height: 48px; border-radius: 10px; background: rgba(20,83,45,0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 16px;}
.page-kvartiry .what-title {font-size: 16px; font-weight: 700; margin-bottom: 8px;}
.page-kvartiry .what-list {color: var(--grey); font-size: 14px; line-height: 2;}
.page-kvartiry .what-list li::before {content: "• "; color: #14532d;}
.page-kvartiry .risks-grid {display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;}
.page-kvartiry .risk-item {text-align: center; padding: 28px 16px; background: var(--white); border: 1px solid var(--grey-light); border-radius: 12px; box-shadow: 0 2px 8px rgba(15,23,42,.04);}
.page-kvartiry .risk-icon {width: 48px; height: 48px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;}
.page-kvartiry .risk-name {font-size: 14px; font-weight: 700; margin-bottom: 4px;}
.page-kvartiry .risk-desc {color: var(--grey); font-size: 12px;}
.page-kvartiry .stages {display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;}
.page-kvartiry .stage-card {background: var(--white); border: 1px solid var(--grey-light); border-radius: 12px; padding: 28px 24px; border-left: 4px solid #14532d; box-shadow: 0 2px 8px rgba(15,23,42,.04);}
.page-kvartiry .stage-num {font-size: 36px; font-weight: 800; color: #14532d; opacity: 0.35; line-height: 1; margin-bottom: 12px;}
.page-kvartiry .stage-title {font-size: 15px; font-weight: 700; margin-bottom: 8px;}
.page-kvartiry .stage-desc {color: var(--grey); font-size: 13px; line-height: 1.6;}
.page-kvartiry .faq-item {border-bottom: 1px solid var(--grey-light);}
.page-kvartiry .faq-q {display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 15px; gap: 16px;}
.page-kvartiry .faq-q svg {flex-shrink: 0; transition: transform 0.3s;}
.page-kvartiry .faq-item.open .faq-q svg {transform: rotate(180deg);}
.page-kvartiry .faq-a {max-height: 0; overflow: hidden; transition: max-height 0.35s ease; color: var(--grey); font-size: 14px; line-height: 1.7;}
.page-kvartiry .faq-item.open .faq-a {max-height: 300px; padding-bottom: 20px;}


/* page: biznes */
.page-biznes .hero-biznes {background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #141414 100%);}
.page-biznes .directions-grid {display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;}
.page-biznes .dir-card {background: var(--white); border: 1px solid var(--grey-light); border-radius: 12px; padding: 28px; transition: box-shadow 0.25s, border-color 0.25s;}
.page-biznes .dir-card:hover {box-shadow: var(--shadow-lg); border-color: var(--red);}
.page-biznes .dir-icon {width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;}
.page-biznes .dir-name {font-size: 17px; font-weight: 700; margin-bottom: 8px;}
.page-biznes .dir-desc {color: var(--grey); font-size: 14px; line-height: 1.65;}
.page-biznes .for-whom {display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;}
.page-biznes .whom-item {text-align: center; padding: 28px 20px; background: var(--bg); border-radius: 12px;}
.page-biznes .whom-icon {width: 56px; height: 56px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;}
.page-biznes .whom-title {font-size: 15px; font-weight: 700; margin-bottom: 6px;}
.page-biznes .whom-desc {color: var(--grey); font-size: 13px;}
.page-biznes .process-steps {display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;}
.page-biznes .process-step {border-left: 3px solid var(--red); padding-left: 20px;}
.page-biznes .ps-num {font-size: 28px; font-weight: 800; color: var(--red); opacity: 0.3;}
.page-biznes .ps-title {font-size: 15px; font-weight: 700; margin: 8px 0;}
.page-biznes .ps-desc {color: var(--grey); font-size: 13px; line-height: 1.6;}
.page-biznes .faq-item {border-bottom: 1px solid var(--grey-light);}
.page-biznes .faq-q {display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 15px; gap: 16px;}
.page-biznes .faq-q svg {flex-shrink: 0; transition: transform 0.3s;}
.page-biznes .faq-item.open .faq-q svg {transform: rotate(180deg);}
.page-biznes .faq-a {max-height: 0; overflow: hidden; transition: max-height 0.35s ease; color: var(--grey); font-size: 14px; line-height: 1.7;}
.page-biznes .faq-item.open .faq-a {max-height: 300px; padding-bottom: 20px;}


/* page: kbm */
.page-kbm .hero-kbm {background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a0d0d 100%);}
.page-kbm .kbm-scale {display: flex; border-radius: 12px; overflow: hidden; margin: 40px 0;}
.page-kbm .kbm-step {flex: 1; padding: 20px 12px; text-align: center;}
.page-kbm .kbm-step-num {font-size: 20px; font-weight: 800; color: white;}
.page-kbm .kbm-step-label {font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 4px;}
.page-kbm .kbm-check-form {background: var(--bg); border-radius: 12px; padding: 36px; max-width: 600px; margin: 0 auto;}
.page-kbm .kbm-check-form h3 {font-size: 20px; font-weight: 700; margin-bottom: 8px;}
.page-kbm .kbm-check-form p {color: var(--grey); font-size: 14px; margin-bottom: 24px;}
.page-kbm .wrong-kbm {background: var(--bg); border-radius: 12px; padding: 40px;}
.page-kbm .wrong-list {list-style: none;}
.page-kbm .wrong-list li {display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--grey-light);}
.page-kbm .wrong-list li:last-child {border-bottom: none;}
.page-kbm .wrong-num {width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: white; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;}
.page-kbm .wrong-text {font-size: 15px; color: var(--text-light); line-height: 1.6;}
.page-kbm .faq-item {border-bottom: 1px solid var(--grey-light);}
.page-kbm .faq-q {display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 15px; gap: 16px;}
.page-kbm .faq-q svg {flex-shrink: 0; transition: transform 0.3s;}
.page-kbm .faq-item.open .faq-q svg {transform: rotate(180deg);}
.page-kbm .faq-a {max-height: 0; overflow: hidden; transition: max-height 0.35s ease; color: var(--grey); font-size: 14px; line-height: 1.7;}
.page-kbm .faq-item.open .faq-a {max-height: 300px; padding-bottom: 20px;}


/* page: privacy */
.page-privacy .policy-page {padding:120px 0 72px;background:var(--bg);min-height:100vh}
.page-privacy .policy-card {max-width:900px;margin:0 auto;background:var(--white);padding:48px;border:1px solid var(--grey-light);border-radius:14px}
.page-privacy .policy-card h1 {font-size:38px;line-height:1.2;margin-bottom:12px}
.page-privacy .policy-date {color:var(--grey);margin-bottom:34px}
.page-privacy .policy-card h2 {font-size:22px;margin:34px 0 12px}
.page-privacy .policy-card p,
.page-privacy .policy-card li {color:var(--text-light);line-height:1.8}
.page-privacy .policy-card ul {list-style:disc;padding-left:22px;margin:12px 0}
.page-privacy .policy-contact {margin-top:28px;padding:22px;background:var(--bg);border-radius:10px}
@media (max-width:768px) {
.page-privacy .policy-page {padding:92px 0 48px}
.page-privacy .policy-card {padding:26px 20px}
.page-privacy .policy-card h1 {font-size:29px}
}


/* 4. Цвет CTA по направлениям */

.page-osago .service-cta-button {background: linear-gradient(135deg, #0DA7A0 0%, #087F7A 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 24px #0DA7A038 !important;}
.page-osago .service-cta-button:hover {background: linear-gradient(135deg, #087F7A 0%, #087F7A 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px #0DA7A04d !important;}

.page-kasko .service-cta-button {background: linear-gradient(135deg, #C35A62 0%, #A64750 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 24px #C35A6238 !important;}
.page-kasko .service-cta-button:hover {background: linear-gradient(135deg, #A64750 0%, #A64750 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px #C35A624d !important;}

.page-ipoteka .service-cta-button {background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 24px #2563EB38 !important;}
.page-ipoteka .service-cta-button:hover {background: linear-gradient(135deg, #1D4ED8 0%, #1D4ED8 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px #2563EB4d !important;}

.page-kvartiry .service-cta-button {background: linear-gradient(135deg, #15803D 0%, #166534 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 24px #15803D38 !important;}
.page-kvartiry .service-cta-button:hover {background: linear-gradient(135deg, #166534 0%, #166534 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px #15803D4d !important;}

.page-biznes .service-cta-button {background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 24px #7C3AED38 !important;}
.page-biznes .service-cta-button:hover {background: linear-gradient(135deg, #6D28D9 0%, #6D28D9 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px #7C3AED4d !important;}

.page-kbm .service-cta-button {background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 24px #EA580C38 !important;}
.page-kbm .service-cta-button:hover {background: linear-gradient(135deg, #C2410C 0%, #C2410C 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 28px #EA580C4d !important;}

/* =========================================================
   Doma — компактная страница загородного страхования
   ========================================================= */
.page-doma .house-hero {
  min-height: 560px;
  padding: 104px 0 50px;
  background:
    radial-gradient(circle at 76% 42%, rgba(13,167,160,.19), transparent 32%),
    linear-gradient(120deg, #20214c 0%, #18294f 52%, #124864 100%);
}
.page-doma .house-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 54px);
}
.page-doma .house-hero-glow { position:absolute; width:520px; height:520px; right:3%; top:6%; border-radius:50%; background:rgba(13,167,160,.1); filter:blur(90px); }
.page-doma .house-hero-inner { position:relative; z-index:2; width:100%; }
.page-doma .house-hero-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(430px,.9fr); gap:58px; align-items:center; }
.page-doma .house-hero-copy { max-width:690px; }
.page-doma .house-hero .hero-title { max-width:720px; font-size:clamp(43px,4vw,60px); line-height:1.04; letter-spacing:-1.5px; margin-bottom:20px; }
.page-doma .house-hero .hero-title span { color:#19bdb4; }
.page-doma .house-hero .hero-sub { max-width:650px; font-size:16px; line-height:1.68; }
.page-doma .house-hero .hero-badge { color:#55d8d0; border-color:rgba(13,167,160,.35); background:rgba(13,167,160,.12); }
.page-doma .house-hero-points { display:flex; flex-wrap:wrap; gap:7px; margin-top:20px; }
.page-doma .house-hero-points span { padding:6px 10px; color:rgba(255,255,255,.66); font-size:11px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.045); border-radius:999px; }
.page-doma .house-blueprint { position:relative; min-height:370px; padding:22px; border:1px solid rgba(255,255,255,.14); border-radius:22px; background:rgba(9,22,49,.44); box-shadow:0 25px 60px rgba(0,0,0,.17); backdrop-filter:blur(12px); overflow:hidden; }
.page-doma .house-blueprint::before { content:""; position:absolute; inset:0; opacity:.24; background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size:28px 28px; }
.page-doma .house-blueprint-top,.page-doma .house-blueprint-bottom { position:relative; z-index:2; display:flex; justify-content:space-between; gap:20px; align-items:center; }
.page-doma .house-blueprint-top span,.page-doma .house-blueprint-bottom { color:rgba(255,255,255,.46); font-size:11px; }
.page-doma .house-blueprint-top strong { color:#fff; font-size:13px; }
.page-doma .house-blueprint-visual { position:relative; z-index:2; min-height:270px; display:flex; align-items:center; justify-content:center; }
.page-doma .house-blueprint-visual>svg { width:90%; max-height:260px; overflow:visible; }
.page-doma .house-line { stroke:rgba(255,255,255,.48); stroke-width:2; vector-effect:non-scaling-stroke; }
.page-doma .house-line-main { stroke:#31c5bc; stroke-width:3; }
.page-doma .house-line-faint { stroke:rgba(255,255,255,.16); stroke-dasharray:6 7; }
.page-doma .house-node { fill:#31c5bc; }
.page-doma .house-blueprint-chip { position:absolute; min-width:138px; padding:9px 11px; border-radius:10px; border:1px solid rgba(255,255,255,.13); background:rgba(32,33,76,.9); box-shadow:0 10px 25px rgba(0,0,0,.17); }
.page-doma .house-blueprint-chip strong { display:block; color:#fff; font-size:11px; margin-bottom:2px; }
.page-doma .house-blueprint-chip span { color:rgba(255,255,255,.48); font-size:9px; }
.page-doma .chip-structure { left:0; top:42px; }
.page-doma .chip-engineering { right:0; top:112px; }
.page-doma .chip-buildings { right:18px; bottom:14px; }
.page-doma .house-blueprint-status { color:#31c5bc; border:1px solid rgba(49,197,188,.3); background:rgba(49,197,188,.08); border-radius:999px; padding:4px 9px; }

.page-doma .house-objects { padding:58px 0 62px; background:#e9ecef; }
.page-doma .house-section-heading { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(310px,.72fr); gap:46px; align-items:end; margin-bottom:28px; }
.page-doma .house-section-heading .section-title { margin-bottom:0; font-size:clamp(30px,2.7vw,41px); line-height:1.12; }
.page-doma .house-section-heading>p { color:#686f7c; font-size:14px; line-height:1.68; padding-bottom:2px; }
.page-doma .house-cover-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; align-items:stretch; }
.page-doma .house-cover-card { min-height:178px; display:flex; flex-direction:column; justify-content:flex-start; padding:20px; border:1px solid rgba(13,22,42,.08); border-radius:16px; background:rgba(255,255,255,.78); }
.page-doma .house-cover-main { background:linear-gradient(135deg,#20214c 0%,#173f5d 100%); border-color:rgba(255,255,255,.08); color:#fff; }
.page-doma .house-cover-accent { background:rgba(13,167,160,.10); border-color:rgba(13,167,160,.18); }
.page-doma .house-cover-icon { width:40px; height:40px; display:flex; align-items:center; justify-content:center; flex:0 0 40px; border-radius:11px; background:rgba(13,167,160,.10); color:#0a847f; margin-bottom:14px; }
.page-doma .house-cover-main .house-cover-icon { background:rgba(49,197,188,.14); color:#43d2c8; }
.page-doma .house-cover-icon svg { width:21px; height:21px; stroke:currentColor; stroke-width:1.7; }
.page-doma .house-cover-content>span { display:block; color:#858b95; font-size:10px; font-weight:800; letter-spacing:1px; text-transform:uppercase; margin-bottom:6px; }
.page-doma .house-cover-main .house-cover-content>span { color:#55d8d0; }
.page-doma .house-cover-card h3 { color:#171d2c; font-size:18px; line-height:1.24; margin-bottom:7px; }
.page-doma .house-cover-card p { color:#707784; font-size:12.5px; line-height:1.58; }
.page-doma .house-cover-main h3 { color:#fff; font-size:20px; }
.page-doma .house-cover-main p { color:rgba(255,255,255,.62); }
.page-doma .house-cover-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.page-doma .house-cover-tags span { color:rgba(255,255,255,.62); border:1px solid rgba(255,255,255,.12); border-radius:999px; padding:5px 9px; font-size:10px; }

.page-doma .house-map { padding:64px 0; background:#20214c; color:#fff; position:relative; overflow:hidden; }
.page-doma .house-map::before { content:""; position:absolute; width:620px; height:620px; border-radius:50%; background:rgba(13,167,160,.08); filter:blur(100px); right:-220px; top:-260px; }
.page-doma .house-map-grid { position:relative; display:grid; grid-template-columns:minmax(0,.9fr) minmax(430px,1.1fr); gap:54px; align-items:start; }
.page-doma .house-map .section-title { color:#fff; font-size:clamp(30px,2.8vw,42px); line-height:1.1; }
.page-doma .house-map .section-tag { color:#41cec5; background:rgba(13,167,160,.12); }
.page-doma .house-map-copy>p { color:rgba(255,255,255,.58); line-height:1.68; max-width:540px; font-size:14px; margin-bottom:24px; }
.page-doma .house-factor-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.page-doma .house-factor-row { display:grid; grid-template-columns:28px 1fr; gap:10px; padding:15px; min-height:116px; border:1px solid rgba(255,255,255,.09); border-radius:13px; background:rgba(255,255,255,.04); }
.page-doma .house-factor-row>span { color:#45d1c7; font-size:10px; font-weight:800; padding-top:2px; }
.page-doma .house-factor-row strong { display:block; color:#fff; font-size:14px; line-height:1.3; margin-bottom:5px; }
.page-doma .house-factor-row p { color:rgba(255,255,255,.49); font-size:11.5px; line-height:1.55; }
.page-doma .house-risk-panel { padding:26px; border:1px solid rgba(255,255,255,.11); border-radius:20px; background:rgba(255,255,255,.045); }
.page-doma .house-risk-panel-head>span { color:#43d2c8; font-size:10px; font-weight:800; letter-spacing:1px; text-transform:uppercase; }
.page-doma .house-risk-panel-head h3 { color:#fff; font-size:25px; margin:7px 0 7px; }
.page-doma .house-risk-panel-head p { color:rgba(255,255,255,.52); font-size:12.5px; line-height:1.58; }
.page-doma .house-risk-compact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:20px; }
.page-doma .house-risk-compact { display:flex; align-items:center; gap:11px; min-height:54px; padding:10px 12px; border-radius:11px; background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.07); }
.page-doma .house-risk-compact b { display:flex; align-items:center; justify-content:center; width:27px; height:27px; flex:0 0 27px; border-radius:50%; background:#31c5bc; color:#173347; font-size:9px; }
.page-doma .house-risk-compact span { color:rgba(255,255,255,.82); font-size:12px; font-weight:650; }
.page-doma .house-risk-note { margin-top:16px; padding-top:15px; border-top:1px solid rgba(255,255,255,.08); color:rgba(255,255,255,.43); font-size:11px; line-height:1.55; }

.page-doma .house-widget { padding:62px 0; background:#f4f5f7; }
.page-doma .house-widget-layout { display:grid; grid-template-columns:minmax(280px,.42fr) minmax(0,1fr); gap:38px; align-items:start; }
.page-doma .house-widget-copy { padding-top:8px; }
.page-doma .house-widget-copy .section-title { font-size:clamp(30px,2.7vw,40px); line-height:1.12; margin-bottom:13px; }
.page-doma .house-widget-copy>p { color:#6f7682; font-size:13.5px; line-height:1.65; margin-bottom:22px; }
.page-doma .house-widget-points { display:grid; grid-template-columns:28px 1fr; gap:10px; padding:12px 0; border-top:1px solid #dde1e6; }
.page-doma .house-widget-points>span { color:#0da7a0; font-size:10px; font-weight:800; }
.page-doma .house-widget-points p { color:#777e88; font-size:12px; line-height:1.55; }
.page-doma .house-widget-points strong { color:#252b36; }
.page-doma .house-widget-link { display:inline-flex; margin-top:16px; color:#20214c; font-size:12px; font-weight:750; text-decoration:underline; text-underline-offset:3px; }
.page-doma .house-widget .polis-widget-wrap { width:100%; max-width:none; padding:16px 18px 10px; border:1px solid #e0e4e9; border-radius:18px; background:#fff; box-shadow:0 15px 38px rgba(23,31,48,.055); }

.page-doma .house-process { padding:58px 0 62px; background:#e9ecef; }
.page-doma .house-process .house-section-heading { margin-bottom:26px; }
.page-doma .house-process-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.page-doma .house-process-step { min-height:146px; padding:19px; border:1px solid #d9dde3; border-radius:14px; background:rgba(255,255,255,.72); }
.page-doma .house-process-step>span { color:#0da7a0; font-size:22px; font-weight:800; display:block; margin-bottom:15px; }
.page-doma .house-process-step strong { display:block; color:#171b28; font-size:14px; margin-bottom:6px; }
.page-doma .house-process-step p { color:#737a86; font-size:11.5px; line-height:1.55; }

.page-doma .house-help { padding:64px 0; background:#f4f5f7; }
.page-doma .house-help-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(440px,.86fr); gap:46px; align-items:start; }
.page-doma .house-faq-col .section-title { font-size:clamp(30px,2.6vw,39px); line-height:1.12; margin-bottom:22px; }
.page-doma .house-faq-col .faq { border-top:1px solid #dfe3e8; }
.page-doma .faq-item { border-bottom:1px solid #dfe3e8; }
.page-doma .faq-q { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:15px 0; cursor:pointer; font-weight:650; font-size:13px; }
.page-doma .faq-q svg { flex-shrink:0; transition:transform .3s; }
.page-doma .faq-item.open .faq-q svg { transform:rotate(180deg); }
.page-doma .faq-a { max-height:0; overflow:hidden; transition:max-height .35s ease; color:#737a86; font-size:12.5px; line-height:1.65; }
.page-doma .faq-item.open .faq-a { max-height:320px; padding-bottom:15px; }
.page-doma .house-manager-card { position:sticky; top:92px; padding:26px; border-radius:21px; background:#20214c; box-shadow:0 22px 54px rgba(24,30,60,.13); }
.page-doma .house-manager-card .section-tag { color:#48d2c9; background:rgba(13,167,160,.12); }
.page-doma .house-manager-copy h2 { color:#fff; font-size:27px; line-height:1.15; margin:12px 0 10px; }
.page-doma .house-manager-copy>p { color:rgba(255,255,255,.56); font-size:12.5px; line-height:1.62; }
.page-doma .house-form-mini { display:flex; flex-wrap:wrap; gap:6px; margin:15px 0 18px; }
.page-doma .house-form-mini span { color:rgba(255,255,255,.58); border:1px solid rgba(255,255,255,.12); border-radius:999px; padding:5px 9px; font-size:10px; }
.page-doma .house-form-widget { width:100%; min-width:0; background:#fff; border-radius:15px; padding:10px; overflow:hidden; }

.page-doma .ins-partners { padding-top:50px; padding-bottom:50px; }

@media (max-width:1050px) {
  .page-doma .house-hero { min-height:auto; }
  .page-doma .house-hero-layout { grid-template-columns:1fr; gap:32px; }
  .page-doma .house-hero-copy { max-width:760px; }
  .page-doma .house-blueprint { min-height:350px; max-width:760px; width:100%; }
  .page-doma .house-blueprint-visual { min-height:250px; }
  .page-doma .house-section-heading { grid-template-columns:1fr; gap:12px; }
  .page-doma .house-section-heading>p { max-width:760px; }
  .page-doma .house-map-grid { grid-template-columns:1fr; gap:30px; }
  .page-doma .house-map-copy { max-width:800px; }
  .page-doma .house-risk-panel { max-width:800px; }
  .page-doma .house-widget-layout { grid-template-columns:1fr; gap:26px; }
  .page-doma .house-widget-copy { max-width:760px; }
  .page-doma .house-process-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-doma .house-help-grid { grid-template-columns:1fr; gap:32px; }
  .page-doma .house-manager-card { position:static; max-width:760px; }
}

@media (max-width:768px) {
  .page-doma .house-hero { padding:0; }
  .page-doma .house-hero .section-inner { padding-top:92px !important; padding-bottom:38px !important; }
  .page-doma .house-hero .hero-title { font-size:clamp(33px,9vw,43px) !important; line-height:1.06; margin-bottom:16px; }
  .page-doma .house-hero .hero-sub { font-size:14px; }
  .page-doma .house-hero-layout { gap:24px; }
  .page-doma .house-blueprint { min-height:305px; padding:16px; border-radius:17px; }
  .page-doma .house-blueprint-visual { min-height:220px; }
  .page-doma .house-blueprint-chip { min-width:112px; padding:7px 9px; }
  .page-doma .house-blueprint-chip strong { font-size:9px; }
  .page-doma .house-blueprint-chip span { font-size:8px; }
  .page-doma .chip-structure { top:34px; }
  .page-doma .chip-engineering { top:94px; }
  .page-doma .chip-buildings { right:6px; bottom:7px; }
  .page-doma .house-objects,.page-doma .house-map,.page-doma .house-widget,.page-doma .house-process,.page-doma .house-help { padding:44px 0; }
  .page-doma .house-section-heading { margin-bottom:22px; }
  .page-doma .house-cover-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-doma .house-cover-card { min-height:0; padding:18px; }
  .page-doma .house-cover-main h3 { font-size:20px; }
  .page-doma .house-factor-list { grid-template-columns:1fr; }
  .page-doma .house-factor-row { min-height:0; }
  .page-doma .house-risk-compact-grid { grid-template-columns:1fr 1fr; }
  .page-doma .house-risk-panel { padding:20px; }
  .page-doma .house-widget .polis-widget-wrap { padding:9px 8px 6px; border-radius:14px; }
  .page-doma .house-process-grid { grid-template-columns:1fr; }
  .page-doma .house-process-step { min-height:0; }
  .page-doma .house-manager-card { padding:20px; border-radius:17px; }
}

@media (max-width:560px) {
  .page-doma .house-cover-grid { grid-template-columns:1fr; }
  .page-doma .house-cover-card { padding:17px; }
  .page-doma .house-cover-tags { margin-top:10px; }
}

@media (max-width:480px) {
  .page-doma .house-hero-points { gap:5px; }
  .page-doma .house-hero-points span { font-size:9px; padding:5px 7px; }
  .page-doma .house-blueprint { min-height:280px; }
  .page-doma .house-blueprint-visual { min-height:198px; }
  .page-doma .house-blueprint-visual>svg { width:98%; }
  .page-doma .house-blueprint-chip { min-width:94px; max-width:108px; padding:6px 7px; }
  .page-doma .house-blueprint-chip span { display:none; }
  .page-doma .chip-structure { left:0; top:27px; }
  .page-doma .chip-engineering { right:0; top:76px; }
  .page-doma .chip-buildings { bottom:0; }
  .page-doma .house-blueprint-top strong { font-size:10px; }
  .page-doma .house-cover-icon { margin-bottom:13px; }
  .page-doma .house-risk-compact-grid { grid-template-columns:1fr; }
  .page-doma .house-widget-copy .section-title,.page-doma .house-faq-col .section-title { font-size:29px; }
  .page-doma .house-manager-copy h2 { font-size:24px; }
}

