/* Center Diplomat — marketing refresh 2026
   Added as a non-destructive layer over the legacy theme.
   All new homepage classes use the cd- prefix. */

:root {
  --cd-bg: #ffffff;
  --cd-soft: #f7f3ea;
  --cd-soft-2: #efe8d8;
  --cd-ink: #1c1b19;
  --cd-muted: #665f56;
  --cd-brand: #8d1919;
  --cd-brand-2: #b20000;
  --cd-accent: #cd981a;
  --cd-accent-dark: #a8780d;
  --cd-border: #dfe6ed;
  --cd-radius: 22px;
  --cd-shadow: 0 18px 50px rgba(24, 52, 78, .10);
}

body.cd-home {
  background: var(--cd-bg);
  color: var(--cd-ink);
}

body.cd-home .wrapper {
  overflow: hidden;
}

body.cd-home .container {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
}

body.cd-home {
  font-family: 'Proxima Nova Regular', Arial, sans-serif;
}

body.cd-home h1,
body.cd-home h2,
body.cd-home h3,
.cd-brand strong {
  font-family: 'Neumann', Georgia, serif;
}

.cd-header,
.cd-footer {
  font-family: 'Proxima Nova Regular', Arial, sans-serif;
}

body.cd-home h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.3;
  letter-spacing: -.035em;
  font-weight: 800;
  margin: 0;
}

body.cd-home h2 {
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.25;
  letter-spacing: -.025em;
  font-weight: 750;
  margin: 0;
}

body.cd-home h3 {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 10px;
}

body.cd-home p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--cd-muted);
}

.cd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--cd-brand-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cd-lead {
  max-width: 720px;
  margin: 24px 0 28px;
  font-size: clamp(19px, 2vw, 24px) !important;
  line-height: 1.5 !important;
  color: #384654 !important;
}

.cd-lead-sm {
  font-size: 19px !important;
  line-height: 1.6 !important;
}

.cd-section {
  position: relative;
  padding: 96px 0;
}

.cd-section--light {
  background: var(--cd-soft);
}

.cd-section--dark {
  background: var(--cd-brand);
  color: #fff;
}

.cd-section-head {
  max-width: 780px;
  margin-bottom: 44px;
}

.cd-section-head > p {
  max-width: 720px;
  margin-top: 16px;
}

.cd-section-head--light h2,
.cd-section-head--light p {
  color: #fff !important;
}

.cd-section-head--light .cd-eyebrow {
  color: #f4d693;
}

.cd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.cd-btn:hover {
  transform: translateY(-1px);
}

.cd-btn--primary {
  background: var(--cd-brand-2);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(141, 25, 25, .18);
}

.cd-btn--primary:hover {
  background: #8d1919;
  color: #fff !important;
}

.cd-btn--ghost {
  border-color: #c8d3dd;
  background: #fff;
  color: var(--cd-brand) !important;
}

.cd-btn--ghost:hover {
  border-color: #9fb0be;
  color: var(--cd-brand) !important;
}

.cd-btn--large {
  min-height: 58px;
  padding-inline: 30px;
}

.cd-text-link {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cd-brand-2);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}

.cd-text-link:hover {
  color: var(--cd-brand);
  text-decoration: underline;
}

/* Header */
.cd-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 rgba(23, 32, 42, .08);
  backdrop-filter: blur(14px);
}

.cd-header .cd-header-main {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cd-brand {
  display: inline-flex;
  flex-direction: column;
  min-width: 190px;
  color: var(--cd-brand) !important;
  text-decoration: none !important;
}

.cd-brand strong {
  font-size: 23px;
  line-height: 1;
  letter-spacing: .08em;
}

.cd-brand span {
  margin-top: 5px;
  color: var(--cd-muted);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.cd-header-place {
  flex: 1;
  color: var(--cd-muted);
  font-size: 13px;
  line-height: 1.35;
}

.cd-header-phone {
  color: var(--cd-ink) !important;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.cd-header .navbar-toggle {
  margin: 0 0 0 auto;
}

.cd-header-nav {
  border-top: 1px solid #edf0f3;
}

.cd-header-nav > .container > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cd-header-nav > .container > ul > li {
  position: relative;
}

.cd-header-nav a {
  display: block;
  padding: 13px 12px;
  color: #2f3b46;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.cd-header-nav a:hover {
  color: var(--cd-brand);
}

.cd-header-nav .dropdown-menu {
  min-width: 250px;
  padding: 8px;
  border: 1px solid var(--cd-border);
  border-radius: 12px;
  box-shadow: var(--cd-shadow);
}

.cd-header-nav .dropdown-menu a {
  padding: 10px 12px;
  border-radius: 8px;
}

.cd-header-nav .dropdown-menu a:hover {
  background: var(--cd-soft);
}


/* v2.2 layout compatibility fix
   Bootstrap 3 adds .container:before/.container:after clearfix pseudo-elements.
   When a .container is also display:grid/flex, those pseudo-elements become
   real grid/flex items and shift the content into the wrong columns/rows. */
.cd-header .container::before,
.cd-header .container::after,
.cd-home-hero__grid::before,
.cd-home-hero__grid::after,
.container.cd-split::before,
.container.cd-split::after,
.container.cd-reviews-grid::before,
.container.cd-reviews-grid::after,
.container.cd-cta__inner::before,
.container.cd-cta__inner::after,
.cd-footer .container::before,
.cd-footer .container::after {
  content: none !important;
  display: none !important;
}

/* Keep the "Сведения" submenu hidden until Bootstrap opens it.
   The previous generic `.cd-header-nav ul {display:flex}` also affected
   `.dropdown-menu`, which made it permanently visible and horizontal. */
.cd-header-nav .dropdown-menu {
  display: none;
  flex-direction: column;
  top: 100%;
  left: 0;
  margin-top: 0;
}

.cd-header-nav .dropdown.open > .dropdown-menu {
  display: block;
}

/* Homepage hero — keeps the original Diplomat sky/cloud visual identity */
.cd-home-hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: 126px 0 96px;
  overflow: hidden;
  background: #f5f0e5;
}

.cd-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.72) 44%, rgba(255,255,255,.28) 72%, rgba(255,255,255,.15) 100%),
    url("../img/scr-1-bg.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.cd-home-clouds {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.cd-home-cloud {
  position: absolute;
  width: 980px;
  height: 430px;
  opacity: .48;
  background: url("../img/cloud.png") center/contain no-repeat;
  will-change: transform;
}

.cd-home-cloud--1 { left: -760px; bottom: -90px; animation: cdCloudLR 45s linear infinite; }
.cd-home-cloud--2 { right: -780px; top: -110px; animation: cdCloudRL 52s 4s linear infinite; }
.cd-home-cloud--3 { left: -860px; top: 120px; animation: cdCloudLR 58s 9s linear infinite; opacity: .34; }
.cd-home-cloud--4 { right: -820px; bottom: -130px; animation: cdCloudRL 63s 14s linear infinite; opacity: .36; }

@keyframes cdCloudLR {
  0% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(calc(100vw + 1650px),0,0); }
  100% { transform: translate3d(0,0,0); }
}

@keyframes cdCloudRL {
  0% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(calc(-100vw - 1650px),0,0); }
  100% { transform: translate3d(0,0,0); }
}

.cd-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  gap: 54px;
  align-items: center;
}

.cd-home-hero__copy,
.cd-home-hero__panel {
  position: relative;
  z-index: 1;
}

.cd-home-hero h1 {
  max-width: 780px;
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.cd-home-hero .cd-eyebrow {
  color: var(--cd-accent-dark);
}

.cd-trial {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 24px;
  padding: 11px 15px;
  border-left: 4px solid var(--cd-accent);
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 24px rgba(48,35,18,.06);
}

.cd-trial strong {
  color: var(--cd-brand-2);
  font-size: 16px;
}

.cd-trial span {
  color: var(--cd-muted);
  font-size: 14px;
}

.cd-home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.cd-home-hero__facts span,
.cd-tech__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(141,25,25,.18);
  background: rgba(255, 255, 255, .82);
  color: #4f463d;
  font-size: 13px;
  font-weight: 700;
}

.cd-home-hero__panel {
  padding: 30px;
  border: 1px solid rgba(141, 25, 25, .10);
  border-radius: var(--cd-radius);
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 18px 50px rgba(65,46,29,.12);
  backdrop-filter: blur(3px);
}

.cd-home-hero__panel-title {
  margin-bottom: 18px;
  font-family: 'Neumann', Georgia, serif;
  font-size: 23px;
  font-weight: 400;
}

.cd-home-hero__location {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--cd-border);
}

.cd-home-hero__location strong,
.cd-home-hero__location span {
  display: block;
}

.cd-home-hero__location span {
  margin-top: 4px;
  color: var(--cd-muted);
  font-size: 13px;
  line-height: 1.45;
}

.cd-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cd-check-list li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 28px;
  color: #403b35;
  font-size: 16px;
  line-height: 1.5;
}

.cd-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cd-brand-2);
  font-weight: 900;
}

/* Cards */
.cd-cards {
  display: grid;
  gap: 18px;
}

.cd-cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cd-cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cd-card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--cd-border);
  border-radius: 18px;
  background: #fff;
}

.cd-card p {
  margin: 0 0 12px;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.cd-card__num {
  margin-bottom: 28px;
  color: #8ba0b2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.cd-card--accent {
  border-color: rgba(242, 197, 107, .85);
  background: #fffaf0;
}

.cd-card--dark {
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
}

.cd-card--dark h3 {
  color: #fff;
}

.cd-card--dark p {
  color: rgba(255,255,255,.78) !important;
}

.cd-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: center;
}

.cd-native {
  background:
    linear-gradient(110deg, rgba(242,197,107,.18), transparent 45%),
    #fff;
}

.cd-note {
  padding: 30px;
  border-left: 4px solid var(--cd-accent);
  border-radius: 0 18px 18px 0;
  background: #fff;
  box-shadow: var(--cd-shadow);
}

.cd-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cd-ink);
  font-size: 19px;
}

.cd-note p {
  margin: 0;
  font-size: 15px !important;
}

.cd-outcomes {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--cd-border);
}

.cd-outcomes > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--cd-border);
}

.cd-outcomes strong {
  color: var(--cd-brand);
  font-size: 15px;
}

.cd-outcomes span {
  color: var(--cd-muted);
  font-size: 15px;
  line-height: 1.5;
}

.cd-tech {
  background:
    radial-gradient(circle at 85% 25%, rgba(40,90,132,.13), transparent 32%),
    var(--cd-soft);
}

.cd-tech__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
}

.cd-tech__tags span {
  min-height: 44px;
  padding-inline: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24,52,78,.06);
}

.cd-price-list {
  border: 1px solid var(--cd-border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.cd-price-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--cd-border);
}

.cd-price-list > div:last-child {
  border-bottom: 0;
}

.cd-price-list strong {
  color: var(--cd-ink);
}

.cd-price-list span {
  color: var(--cd-muted);
  text-align: right;
}

.cd-cta {
  background: var(--cd-brand);
  color: #fff;
}

.cd-cta h2,
.cd-cta p {
  color: #fff !important;
}

.cd-cta .cd-eyebrow {
  color: #f4d693;
}

.cd-cta .cd-btn--primary {
  background: var(--cd-accent);
  color: #2a3138 !important;
  box-shadow: none;
}

.cd-cta .cd-btn--primary:hover {
  background: #f6d28a;
}

.cd-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 46px;
  align-items: center;
}

.cd-faq {
  max-width: 900px;
}

.cd-faq details {
  border-bottom: 1px solid var(--cd-border);
}

.cd-faq summary {
  position: relative;
  padding: 20px 48px 20px 0;
  cursor: pointer;
  color: var(--cd-ink);
  font-size: 17px;
  font-weight: 750;
  list-style: none;
}

.cd-faq summary::-webkit-details-marker {
  display: none;
}

.cd-faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 15px;
  color: var(--cd-brand);
  font-size: 26px;
  font-weight: 400;
}

.cd-faq details[open] summary::after {
  content: "–";
}

.cd-faq details p {
  max-width: 760px;
  margin: -4px 0 20px;
  font-size: 15px !important;
}

.cd-legal {
  padding-top: 74px;
  padding-bottom: 74px;
}

.cd-legal-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cd-legal-links a {
  display: flex;
  flex-direction: column;
  min-height: 130px;
  padding: 22px;
  border: 1px solid var(--cd-border);
  border-radius: 16px;
  background: #fff;
  color: var(--cd-ink);
  text-decoration: none;
}

.cd-legal-links a:hover {
  border-color: #b9c7d3;
  box-shadow: 0 10px 28px rgba(24,52,78,.07);
}

.cd-legal-links strong {
  margin-bottom: 8px;
  font-size: 16px;
}

.cd-legal-links span {
  color: var(--cd-muted);
  font-size: 13px;
  line-height: 1.45;
}

.cd-contact {
  background: #f8fafc;
}

.cd-contact-lines {
  display: grid;
  gap: 14px;
  margin: 25px 0 30px;
}

.cd-contact-lines > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
}

.cd-contact-lines strong {
  color: var(--cd-muted);
}

.cd-contact-lines a,
.cd-contact-lines span {
  color: var(--cd-ink);
  font-size: 16px;
}

.cd-contact__map-note {
  padding: 34px;
  border-radius: 20px;
  background: var(--cd-brand);
  color: #fff;
}

.cd-contact__map-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.cd-contact__map-note p {
  color: rgba(255,255,255,.8) !important;
}


/* Yandex reviews */
.cd-reviews-grid {
  display: grid;
  grid-template-columns: minmax(0,.78fr) minmax(420px,1.22fr);
  gap: 56px;
  align-items: start;
}

.cd-yandex-reviews {
  width: 100%;
  display: flex;
  justify-content: center;
}

.cd-yandex-reviews__inner {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 800px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--cd-shadow);
}

.cd-yandex-reviews__inner iframe {
  width: 100%;
  height: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-sizing: border-box;
}

.cd-yandex-reviews__inner > a {
  position: absolute;
  left: 0;
  bottom: 8px;
  display: block;
  width: 100%;
  max-height: 14px;
  padding: 0 16px;
  overflow: hidden;
  color: #b3b3b3;
  font-family: Arial, sans-serif;
  font-size: 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
}

/* Legacy bottom map and airship are intentionally retained. */
body.cd-home .screen-13.map {
  margin-bottom: 0;
}

/* Footer */
.cd-footer {
  padding: 42px 0 26px;
  background: #101d2a;
  color: #fff;
}

.cd-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

.cd-footer a {
  color: rgba(255,255,255,.83);
  text-decoration: none;
}

.cd-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.cd-footer p,
.cd-footer span {
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.6;
}

.cd-footer__brand {
  margin-bottom: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .06em;
}

.cd-footer__links {
  display: grid;
  gap: 8px;
}

.cd-footer__bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

/* Full-menu refresh while keeping legacy JS */
.full-menu .cd-full-menu-links {
  display: grid;
  gap: 12px;
  margin-top: 38px;
}

.full-menu .cd-full-menu-links a {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
}

.full-menu .cd-full-menu-links a:hover {
  text-decoration: underline;
}

/* Lead form */
#modal-zayavka .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
}

#modal-zayavka .modal-header {
  padding: 28px 30px 10px;
  border-bottom: 0;
}

#modal-zayavka .modal-header .title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
}

#modal-zayavka .modal-body {
  padding: 10px 30px 30px;
}

#modal-zayavka .cd-form-intro {
  margin: 0 0 18px;
  color: var(--cd-muted);
  font-size: 14px;
  line-height: 1.5;
}

#modal-zayavka .form-control {
  height: 48px;
  border-radius: 10px;
}

#modal-zayavka .button {
  width: 100%;
}

/* Legal page compatibility: its local styles must not redefine the site header. */
body.inner-page {
  padding-top: 0 !important;
}

body.inner-page .cd-header {
  position: sticky;
}

@media (max-width: 991px) {
  .cd-header-place,
  .cd-header .cd-header-cta,
  .cd-header-nav {
    display: none;
  }

  .cd-header .cd-header-main {
    min-height: 70px;
  }

  .cd-home-hero {
    min-height: 0;
    padding-top: 82px;
  }

  .cd-home-hero::before {
    background-image:
      linear-gradient(rgba(255,255,255,.84), rgba(255,255,255,.80)),
      url("../img/scr-1-bg.jpg");
    background-position: center top;
  }

  .cd-home-cloud {
    opacity: .28;
  }

  .cd-yandex-reviews__inner {
    max-width: 640px;
  }

  .cd-home-hero__grid,
  .cd-split,
  .cd-reviews-grid,
  .cd-footer__grid {
    grid-template-columns: 1fr;
  }

  .cd-home-hero__grid {
    gap: 30px;
  }

  .cd-cards--4,
  .cd-legal-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cd-cards--3 {
    grid-template-columns: 1fr;
  }

  .cd-cta__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.cd-home .container {
    width: min(100% - 28px, 1180px);
  }

  .cd-section {
    padding: 66px 0;
  }

  .cd-home-hero {
    padding: 58px 0 64px;
  }

  .cd-home-cloud--3,
  .cd-home-cloud--4 {
    display: none;
  }

  .cd-home-cloud {
    width: 720px;
    height: 320px;
    opacity: .20;
  }

  .cd-trial {
    display: grid;
    gap: 2px;
  }

  .cd-yandex-reviews__inner {
    height: 680px;
  }

  body.cd-home h1 {
    font-size: 39px;
  }

  body.cd-home h2 {
    font-size: 31px;
  }

  .cd-cards--4,
  .cd-legal-links {
    grid-template-columns: 1fr;
  }

  .cd-home-hero__panel,
  .cd-card,
  .cd-note,
  .cd-contact__map-note {
    padding: 22px;
  }

  .cd-actions {
    align-items: stretch;
  }

  .cd-actions .cd-btn {
    width: 100%;
  }

  .cd-outcomes > div,
  .cd-contact-lines > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cd-price-list > div {
    flex-direction: column;
    gap: 5px;
  }

  .cd-price-list span {
    text-align: left;
  }

  .cd-brand {
    min-width: 0;
  }

  .cd-brand strong {
    font-size: 20px;
  }

  .cd-header-phone {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cd-home-cloud {
    animation: none !important;
    will-change: auto;
  }
  .cd-btn {
    transition: none;
  }
}

/* Keep a light static airship cue on phones; legacy CSS otherwise hides it <=767px. */
@media screen and (max-width: 767px) {
  body.cd-home .map .zeppelin-block .zeppelin-item {
    display: block !important;
    animation: none !important;
    width: 190px;
    height: 108px;
    right: 10px !important;
    bottom: 4px !important;
    transform: none !important;
    opacity: .78;
  }
  body.cd-home .map .zeppelin-block .zeppelin {
    transform: scale(.5);
    transform-origin: left bottom;
  }
  body.cd-home .map .zeppelin-block .zeppelin-cloud {
    display: none;
  }
}

/* Более свободные крупные заголовки */
.cd-home-hero h1 {
    line-height: 0.94;
}

.cd-section-head h2,
.cd-reviews-grid h2,
.cd-split h2,
.cd-cta h2 {
    line-height: 1.02;
}

p.cd-lead-sm {
    margin-top: 15px;
}

@media (max-width: 640px) {
    .cd-home-hero h1 {
        line-height: 1;
    }

    .cd-section-head h2,
    .cd-reviews-grid h2,
    .cd-split h2,
    .cd-cta h2 {
        line-height: 1.06;
    }
}
