/* Isolated landing content styles — T-Bank-like layout on portal tokens */
#dep-landing {
  --dep-bg: #ffffff;
  --dep-bg-soft: var(--LightGray, #F3F6F9);
  --dep-ink: var(--Antracit, #0E1C29);
  --dep-ink-soft: var(--Evening, #515C6B);
  --dep-navy: var(--December, #1B364F);
  --dep-navy-2: var(--November, #214362);
  --dep-accent: var(--Gold, #D29F37);
  --dep-accent-2: var(--Amber, #FBAF39);
  --dep-line: #e4e8ee;
  color: var(--dep-ink);
  font-family: var(--fontdefault, 'Manrope', sans-serif);
  background: var(--dep-bg);
  overflow-x: hidden;
}

#dep-landing .dep-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

#dep-landing h1,
#dep-landing h2,
#dep-landing h3 {
  margin: 0 0 16px;
  line-height: 1.15;
}

#dep-landing h1 {
  font-family: "esol-head-bold", sans-serif;
  font-weight: 700;
  color: var(--dep-ink);
  letter-spacing: -0.02em;
}

#dep-landing h2 {
  font-family: "strong-demi", sans-serif;
  font-weight: 600;
  color: #ccaa6d;
  letter-spacing: -0.02em;
}

#dep-landing h3 {
  font-family: "esolic", sans-serif;
  font-weight: normal;
  color: #ccaa6d;
  letter-spacing: 0.03em;
}

#dep-landing p {
  margin: 0 0 14px;
  color: var(--dep-ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

/* Reveal */
#dep-landing [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}
#dep-landing [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  #dep-landing [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hero */
.dep-hero {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
}
.dep-hero .dep-wrap { position: relative; z-index: 1; }
.dep-hero__eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dep-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  max-width: min(100%, 28ch);
  margin-bottom: 20px;
}
.dep-hero__lead {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 42ch;
  margin-bottom: 28px;
}
.dep-hero__bullets {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}
.dep-hero__bullets li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.45;
}
.dep-hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dep-hero__bullets strong {
  font-weight: 700;
}
.dep-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

/* Civilian hero */
.dep-landing--grazhdane .dep-hero {
  background: linear-gradient(180deg, #B5CDD9 0%, #EEF4FA 100%);
  color: #0e1c29;
}
.dep-landing--grazhdane .dep-hero__eyebrow {
  color: #038d90;
}
#dep-landing.dep-landing--grazhdane .dep-hero h1 {
  color: #0e1c29;
}
.dep-landing--grazhdane .dep-hero__lead {
  color: #1b364f;
}
.dep-landing--grazhdane .dep-hero__bullets li {
  color: #214362;
}
.dep-landing--grazhdane .dep-hero__bullets li::before {
  background: #038d90;
}
.dep-landing--grazhdane .dep-hero__bullets strong {
  color: #0e1c29;
}
.dep-landing--grazhdane .dep-btn--ghost {
  color: #0e1c29 !important;
  border-color: rgba(14, 28, 41, 0.28);
}
.dep-landing--grazhdane .dep-btn--ghost:hover {
  border-color: #038d90;
  color: #038d90 !important;
}

/* Militia hero */
.dep-landing--miliciya .dep-hero {
  background: #e9f3f9 url("../img/mil-first.jpg") no-repeat center / cover;
  color: #1b365e;
}
.dep-landing--miliciya .dep-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(353deg, #497F8F 0%, rgba(73, 128, 143, 0.00) 25%);
}
.dep-landing--miliciya .dep-hero__eyebrow {
  color: #d29f37;
}
#dep-landing.dep-landing--miliciya .dep-hero h1 {
  color: #1b365e;
}
.dep-landing--miliciya .dep-hero__lead,
.dep-landing--miliciya .dep-hero__lead.dep-text-soft {
  color: #1b364f !important;
}
.dep-landing--miliciya .dep-hero__bullets li {
  color: #214362;
}
.dep-landing--miliciya .dep-hero__bullets li::before {
  background: #d29f37;
}
.dep-landing--miliciya .dep-hero__bullets strong {
  color: #1b365e;
}
.dep-text-soft {
  color: rgba(195, 226, 229, 0.85) !important;
}
.dep-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "strong-demi", "strong", sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.dep-phone small {
  display: block;
  font-family: var(--fontdefault, Manrope, sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}
.dep-landing--grazhdane .dep-phone {
  color: #0e1c29 !important;
}
.dep-landing--grazhdane .dep-phone:hover {
  color: #038d90 !important;
}
.dep-landing--grazhdane .dep-phone small {
  color: rgba(14, 28, 41, 0.55);
}
.dep-landing--miliciya .dep-phone {
  color: #1b365e !important;
}
.dep-landing--miliciya .dep-phone:hover {
  color: #d29f37 !important;
}
.dep-landing--miliciya .dep-phone small {
  color: rgba(27, 54, 94, 0.6);
}
.dep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(95.78deg, #bf9748 -4.99%, #ccaa6d 103.03%);
  color: #0e1c29 !important;
  font-family: "strong-demi", "strong", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 8px 24px rgba(191, 151, 72, 0.28);
}
.dep-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: #0e1c29 !important;
}
.dep-btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}
.dep-btn--ghost:hover {
  border-color: var(--dep-accent);
  color: var(--dep-accent-2) !important;
  filter: none;
}

/* Sections */
.dep-section {
  padding: 88px 0;
}
.dep-section--soft { background: var(--dep-bg-soft); }
.dep-section--navy {
  background: linear-gradient(160deg, #0e1c29 0%, #1b364f 100%);
  color: #fff;
}
.dep-section--navy p { color: rgba(255, 255, 255, 0.78); }

/* Civilian landing: navy section + sea gradient H2 */
.dep-landing--grazhdane .dep-section--navy {
  background: linear-gradient(98deg, #365F91 -73.56%, #1B3A57 119.13%);
}
.dep-landing--grazhdane .dep-section--navy .dep-section__head h2 {
  background: var(--sea-grad, linear-gradient(116deg, #6CC2C9 33.56%, #4BADB4 91.29%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.dep-section__head {
  max-width: 620px;
  margin-bottom: 48px;
}
.dep-section__head h2 {
  font-size: clamp(28px, 4vw, 40px);
}
.dep-section__head p {
  font-size: 18px;
  margin: 0;
}

/* Vacancies */
.dep-vac-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .dep-vac-grid--primary {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .dep-vac-grid--secondary {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
  }
}

/* Civilian: CodePen GA-MO/KaGxQG — crossfading pastel gradient layers */
.dep-landing--grazhdane .dep-vacancies {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #C5E8FC -19.25%, #E4F4FF 63.98%);
  color: var(--dep-ink);
}
.dep-landing--grazhdane .dep-vacancies .dep-section__head p {
  color: var(--dep-ink-soft);
}
.dep-landing--grazhdane .dep-vacancies .dep-section__head h2 {
  color: #ccaa6d;
}
.dep-landing--grazhdane .dep-vacancies__bg {
  display: none;
}
.dep-landing--grazhdane .dep-vohr p {
  color: #fff;
}
.dep-landing--grazhdane #compare .dep-section__head p {
  color: #fff;
}
.dep-landing--grazhdane .dep-vacancies > .dep-wrap {
  position: relative;
  z-index: 1;
}

.dep-vac {
  position: relative;
  padding: 32px 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--dep-line);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.dep-vac__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(3, 141, 144, 0.1);
}
.dep-vac__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dep-landing--grazhdane .dep-vac__icon {
  color: #038d90;
  background: rgba(3, 141, 144, 0.1);
}
.dep-landing--miliciya .dep-vac__icon {
  color: #17407c;
  background: rgba(23, 64, 124, 0.1);
}

/* Militia vacancies — decorative photos in section background */
.dep-landing--miliciya #vacancies {
  position: relative;
  overflow: hidden;
  background: #F3F6F9;
}
.dep-landing--miliciya #vacancies > .dep-wrap {
  position: relative;
  z-index: 1;
}
.dep-landing--miliciya #vacancies .dep-vac__gruppa,
.dep-landing--miliciya #vacancies .dep-vac__kinolog {
  display: block;
  position: absolute;
  z-index: 0;
  width: auto;
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
}
.dep-landing--miliciya #vacancies .dep-vac__gruppa {
  left: 0;
  bottom: 0;
}
.dep-landing--miliciya #vacancies .dep-vac__kinolog {
  right: 120px;
  bottom: 24px;
}
@media (max-width: 1199px) {
  .dep-landing--miliciya #vacancies .dep-vac__gruppa {
    max-width: min(420px, 55vw);
    height: auto;
  }
  .dep-landing--miliciya #vacancies .dep-vac__kinolog {
    right: max(16px, 4vw);
    bottom: 16px;
    max-width: min(220px, 28vw);
    height: auto;
  }
}
@media (max-width: 767px) {
  .dep-landing--miliciya .dep-hero {
    padding-bottom: 240px;
    background: #E6EEF3 url("../img/mil-firstblock-mob.jpg") no-repeat center bottom / 100% auto;
  }
  .dep-landing--miliciya .dep-hero::before {
    display: none;
  }
  .dep-landing--miliciya .dep-hero__cta {
    justify-content: center;
    text-align: center;
  }
  .dep-landing--miliciya .dep-hero .dep-phone {
    justify-content: center;
    text-align: center;
  }
  .dep-landing--miliciya #vacancies {
    padding-bottom: 230px;
  }
  .dep-landing--miliciya #vacancies .dep-vac__gruppa {
    max-width: 115vw;
    opacity: 1;
  }
  .dep-landing--miliciya #vacancies .dep-vac__kinolog {
    display: none;
  }
}
.dep-vac:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(14, 28, 41, 0.08);
  border-color: transparent;
}
.dep-vac--primary {
  padding: 40px 32px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: none;
  box-shadow: 0 12px 36px rgba(14, 28, 41, 0.08);
  min-height: 220px;
}
.dep-vac--primary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #bf9748, #ccaa6d);
}
.dep-vac__tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(210, 159, 55, 0.12);
  color: #9a7420;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dep-vac h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.dep-vac--secondary h3 { font-size: 18px; }
.dep-vac__meta {
  margin: 0;
  font-size: 15px;
  color: var(--dep-ink-soft);
}
.dep-vohr {
  margin-top: 28px;
  padding: 32px;
  border-radius: 20px;
  background: var(--dep-navy);
  color: #fff;
}
.dep-vohr h3 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 12px;
}
.dep-vohr p { color: rgba(255, 255, 255, 0.8); }
.dep-vohr ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.dep-vohr li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
}
.dep-vohr li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dep-accent);
}

/* Conditions */
.dep-cond {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .dep-cond {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
  }
}
.dep-cond__list {
  display: grid;
  gap: 28px;
}
.dep-cond__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}
.dep-cond__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(204, 170, 109, 0.12);
  color: #9a7420;
}
.dep-cond__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dep-cond__item h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.dep-cond__item p { margin: 0; font-size: 16px; }
.dep-photos {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 480px;
}
.dep-photos figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #1b364f, #335065);
  position: relative;
}
.dep-photos figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 210px;
}
.dep-photos figure:first-child {
  grid-row: 1 / span 2;
}
.dep-photos figure:first-child img { min-height: 480px; }
.dep-photos figure span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(transparent 40%, rgba(14, 28, 41, 0.55));
  pointer-events: none;
}

/* Requirements */
.dep-req {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dep-req li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--dep-line);
  font-size: 16px;
  color: var(--dep-ink);
  font-weight: 500;
}
.dep-req li::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #bf9748, #ccaa6d) border-box;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 9px #ccaa6d;
}

/* Compare */
.dep-compare {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .dep-compare { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.dep-compare__col {
  padding: 32px 28px;
  border-radius: 20px;
}
.dep-compare__col--us {
  background: #fff;
  color: var(--dep-ink);
  box-shadow: 0 12px 36px rgba(14, 28, 41, 0.08);
}

/* Civilian: shining 3px border on outer edge of "Департамент охраны" card
   (drawn inward via box model so card outer size matches the neighbor) */
.dep-landing--grazhdane .dep-compare__col--us {
  position: relative;
  box-sizing: border-box;
}
.dep-landing--grazhdane .dep-compare__col--us::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 3px;
  background: linear-gradient(
    120deg,
    #6cc2c9,
    #c3e2e5,
    #c1e6f9,
    #ebf7ff,
    #6cc2c9,
    #c3e2e5,
    #6cc2c9
  );
  background-size: 300% 300%;
  animation: dep-shine-border 4s linear infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
@keyframes dep-shine-border {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .dep-landing--grazhdane .dep-compare__col--us::before {
    animation: none;
    background-position: 40% 50%;
  }
}
.dep-compare__col--them {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.dep-compare__col h3 {
  font-size: 22px;
  margin-bottom: 20px;
}
.dep-compare__col--them h3 { color: rgba(255, 255, 255, 0.7); }
.dep-compare__col ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dep-compare__col li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.45;
}
.dep-compare__col--us li { color: var(--dep-ink); }
.dep-compare__col--them li { color: rgba(255, 255, 255, 0.7); }
.dep-compare__col--us li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ccaa6d;
  box-shadow: inset 0 0 0 4px #fff;
}
.dep-compare__col--them li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.55em;
  width: 12px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
}

/* Militia: owl pinned to bottom, anchored from viewport/container center */
.dep-landing--miliciya #compare {
  position: relative;
  overflow: visible;
  padding-top: 48px;
  padding-bottom: 350px;
}
.dep-landing--miliciya #compare .dep-compare__filin {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  width: min(280px, 55vw);
  height: auto;
  max-height: 320px;
  object-fit: contain;
  object-position: left bottom;
  pointer-events: none;
  user-select: none;
}
.dep-landing--miliciya #compare > .dep-wrap {
  position: relative;
  z-index: 1;
}
.dep-landing--miliciya #compare .dep-compare__col--us {
  background: linear-gradient(139deg, #FEFFFF 17.76%, #DDECEF 98.01%);
}

/* Militia requirements */
.dep-landing--miliciya #requirements {
  position: relative;
  overflow: hidden;
  padding-bottom: 168px;
  background:
    radial-gradient(77.58% 83.01% at 9.51% -25.32%, #998293 0%, rgba(114, 126, 149, 0.08) 83.49%, rgba(106, 125, 150, 0.00) 100%),
    radial-gradient(78.2% 100.8% at 21.9% -13.73%, rgba(64, 143, 202, 0.27) 0%, rgba(120, 144, 207, 0.00) 100%),
    linear-gradient(90deg, #0E1C29 0%, #15293C 100%);
  color: #fff;
}
.dep-landing--miliciya #requirements > .dep-wrap {
  position: relative;
  z-index: 1;
}
/* Glow under ID — above section bg, below the photo */
.dep-landing--miliciya #requirements > .dep-wrap::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -80px;
  width: min(560px, 70%);
  height: min(420px, 75%);
  background: radial-gradient(43.78% 45.17% at 40.51% 49.93%, rgba(55, 81, 117, 0.53) 0%, rgba(55, 81, 117, 0.08) 67.01%, rgba(55, 81, 117, 0.00) 100%);
  pointer-events: none;
  z-index: 0;
}
.dep-landing--miliciya #requirements .dep-req__udost {
  display: block;
  position: absolute;
  right: 0;
  bottom: -80px;
  z-index: 0;
  width: auto;
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
}
.dep-landing--miliciya #requirements .dep-section__head,
.dep-landing--miliciya #requirements .dep-req {
  position: relative;
  z-index: 1;
}
.dep-landing--miliciya #requirements .dep-section__head p {
  color: rgba(195, 226, 229, 0.85);
}
.dep-landing--miliciya #requirements .dep-req li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(195, 226, 229, 0.18);
  color: #fff;
}
@media (max-width: 991px) {
  .dep-landing--miliciya #requirements {
    padding-bottom: 238px;
  }
  .dep-landing--miliciya #requirements .dep-req__udost {
    max-width: min(280px, 70vw);
    height: auto;
    right: 80px;
    bottom: -264px;
  }
  .dep-landing--miliciya #requirements > .dep-wrap::before {
    width: min(360px, 94%);
    height: min(280px, 90%);
    bottom: -264px;
  }
}
@media (min-width: 992px) {
  .dep-landing--miliciya #compare {
    padding-top: 48px;
    padding-bottom: 88px;
  }
  .dep-landing--miliciya #compare .dep-compare__filin {
    /* Center of 1120px container = 50%; owl sits at left half, fully in view ~1920 */
    left: calc(50% - 520px);
    width: 420px;
    max-height: none;
  }
  /* Cards slightly overlap the owl on the left */
  .dep-landing--miliciya #compare > .dep-wrap {
    padding-left: calc(20px + 140px);
    box-sizing: border-box;
  }
}
@media (min-width: 992px) and (max-width: 1366px) {
  .dep-landing--miliciya #compare .dep-compare__filin {
    left: calc(50% - 713px);
    width: 380px;
  }
  .dep-landing--miliciya #compare > .dep-wrap {
    padding-left: calc(20px + 110px);
  }
}
@media (min-width: 1600px) {
  .dep-landing--miliciya #compare .dep-compare__filin {
    left: calc(50% - 772px);
    width: 460px;
  }
  .dep-landing--miliciya #compare > .dep-wrap {
    padding-left: calc(20px + 160px);
  }
}

/* Contacts */
.dep-contacts {
  display: grid;
  gap: 36px;
}
@media (min-width: 900px) {
  .dep-contacts {
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
  }
}
.dep-phones {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.dep-phones a {
  display: block;
  font-family: "strong-demi", "strong", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--dep-navy) !important;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.dep-phones a:hover { color: #9a7420 !important; }
.dep-contacts__meta {
  font-family: "strong-medium", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--dep-ink-soft);
}
.dep-contacts__meta strong {
  display: block;
  font-family: "strong-medium", sans-serif;
  font-weight: 500;
  color: var(--dep-ink);
  margin-bottom: 4px;
}
.dep-map-wrap {
  position: relative;
  margin-top: 48px;
}
.dep-map {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  background: var(--dep-bg-soft);
  border: 1px solid var(--dep-line);
}
.dep-map__photo {
  position: absolute;
  top: 0;
  right: 12px;
  z-index: 2;
  margin: 0;
  width: min(400px, 58%);
  max-width: 400px;
  transform: translateY(-50%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(14, 28, 41, 0.18);
  background: #fff;
}
@media (min-width: 992px) {
  .dep-landing--miliciya .dep-map-wrap {
    margin-left: -58px;
  }
  .dep-landing--miliciya .dep-map__photo {
    width: min(400px, 67%);
    transform: translateY(-71%);
    right: -22px;
  }
}
.dep-map__photo img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.dep-map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

@media (max-width: 767px) {
  .dep-hero { padding: 48px 0 56px; }
  .dep-section { padding: 56px 0; }
  .dep-vac--primary { min-height: 0; }
  .dep-photos {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .dep-photos figure { min-height: 200px; }
  .dep-photos figure:first-child { grid-row: auto; min-height: 260px; }
  .dep-photos figure img { min-height: 200px; }
  .dep-photos figure:first-child img { min-height: 260px; }
  .dep-phones a { font-size: 19px; }
  .dep-map-wrap { margin-top: 36px; }
  .dep-map__photo {
    right: 8px;
    width: min(220px, 62%);
    border-radius: 12px;
  }
  .dep-landing--miliciya #compare {
    padding-top: 40px;
    padding-bottom: 350px;
  }
}
