/* /schengen-kalkulyator/: основа и попап заявки скопированы из schengen-info.css (15b485ad), чтобы правки гайда не меняли страницу калькулятора. */
:root {
  --paper: #F7F5F0;
  --ink: #1c1915;
  --muted: #5c564c;
  --gold: #83652F;
  --line: rgba(28, 25, 21, 0.1);
  --card: #fffefb;
  --navy: #0e1b33;
  --sans: Inter, system-ui, sans-serif;
  --display: "Instrument Serif", Georgia, serif;
  --wrap: 1280px;
  --gutter: 32px;
  --section-py: 96px;
  --bar-h: 61px;
  --kicker-size: 11px;
  --kicker-ls: 0.22em;
  --h1-size: 50px;
  --h1-lh: 1.05;
  --h2-size: 40px;
  --lead-size: 17px;
}

@media (max-width: 767px) {
  :root {
    --gutter: 24px;
    --h1-size: 32px;
    --h2-size: 32px;
    --section-py: 64px;
  }
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  
  overflow-x: clip;
  
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  overscroll-behavior: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
img { max-width: 100%; height: auto; display: block; }
button, [role="button"] { cursor: pointer; }
a { color: inherit; }
.si-faq .si-acc a { color: #1d4ed8; text-decoration: underline; }

.wrap {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}


#lead-pop {
  position: absolute;
  width: 0;
  height: 0;
  overflow: visible;
}
#lead-pop .cab-cta {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
#lead-pop .b2b-quote { display: block; margin: 0 0 16px; padding: 0 0 0 12px; border-left: 2px solid #83652F; }
#lead-pop .b2b-quote p { margin: 0; font-style: italic; font-size: 14px; line-height: 1.45; color: #201f1c; }
#lead-pop .b2b-quote cite { display: block; margin-top: 6px; font-style: normal; font-size: 12px; line-height: 1.4; color: #3C4553; }
#lead-pop .cab-apply {
  position: fixed;
  inset: 0;
  z-index: 400;
  overflow: hidden;
  background: url("/media/home/cab-world-map.jpg") center / cover no-repeat, #f5ecdb;
}
#lead-pop .cab-apply[hidden] { display: none; }
#lead-pop .cab-apply__veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse 46% 68% at 50% 50%, rgba(255,252,246,.78) 0%, rgba(255,250,242,.42) 46%, rgba(245,236,219,.16) 100%);
}
#lead-pop .popup {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  font-family: Inter, system-ui, sans-serif;
  color: #0f1c3f;
}
#lead-pop .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 22px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
}
#lead-pop .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
#lead-pop .logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #0f1c3f;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
#lead-pop .logo-text { display: flex; flex-direction: column; }
#lead-pop .logo-text strong { font-size: 18px; font-weight: 700; letter-spacing: 0.3px; }
#lead-pop .logo-text span {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #64748b;
}
#lead-pop .popup h2 { margin: 0 0 8px; font-family: Inter, system-ui, sans-serif; font-size: 24px; font-weight: 600; line-height: 1.3; }
#lead-pop .subtitle { margin: 0 0 28px; font-size: 15px; line-height: 1.45; color: #5a6a7a; }
#lead-pop .form-group { position: relative; margin-bottom: 16px; }
#lead-pop .form-group input, #lead-pop .form-group select {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 48px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f1c3f;
  font: inherit;
  font-size: 15px;
  outline: none;
}
#lead-pop .form-group select { appearance: none; cursor: pointer; }
#lead-pop .form-group .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  color: #94a3b8;
  pointer-events: none;
}
#lead-pop .phone-field {
  display: flex;
  align-items: center;
  height: 52px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
}
#lead-pop .phone-field .icon { position: static; margin: 0 8px 0 16px; flex-shrink: 0; }
#lead-pop .phone-field input { flex: 1; height: 100%; padding: 0 8px 0 0; border: 0; background: transparent; }
#lead-pop .phone-flag {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 14px;
  border-left: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 13px;
}
#lead-pop .phone-flag img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
#lead-pop .vcp-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
#lead-pop .cab-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #5a6a7a;
  font-size: 12.5px;
  line-height: 1.45;
  cursor: pointer;
}
#lead-pop .cab-check input { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; }
#lead-pop .cab-check a { color: #0f1c3f; }
#lead-pop .submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 56px;
  margin-top: 24px;
  border: 0;
  border-radius: 14px;
  background: #0f1c3f;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
#lead-pop .submit-btn:disabled { opacity: 0.45; cursor: not-allowed; }
#lead-pop .form-msg { margin: 12px 0 0; font-size: 14px; color: #0f1c3f; }
@media (max-height: 900px) {
  #lead-pop .popup {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    max-height: calc(100svh - 16px);
  }
  #lead-pop .popup form[data-cab-apply] {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    overflow: visible;
  }
  #lead-pop .cab-fields {
    flex: 0 0 auto;
    overflow: visible;
  }
}
html.is-cab-lock, html.is-cab-lock body { overflow: hidden; }

@media (max-width: 640px) {
  #lead-pop .popup { padding: 16px; max-height: calc(100svh - 24px); overflow: auto; }
}
@media (max-width: 767px) { .vcp-cookie__btn { min-height: 44px; } }

/* Страница калькулятора */
.cx-hero { padding: 40px 0 24px; }
.cx-hero h1 { margin: 0 0 14px; font-family: var(--font-display); font-size: var(--vcp-h1); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; max-width: 15ch; }
.cx-hero__lead { margin: 0; max-width: 40rem; font-size: var(--lead-size); line-height: 1.5; color: var(--muted); }
.cx-crumbs { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.cx-crumbs a { color: inherit; display: inline-flex; min-height: 44px; align-items: center; margin-block: -12px; }
.cx-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink); }
.cx-trust li { display: inline-flex; align-items: center; gap: 8px; }
.cx-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.cx-tool { padding: 8px 0 48px; }
.cx-how { padding: 40px 0 64px; border-top: 1px solid var(--line); }
.cx-how h2 { margin: 0 0 20px; font-family: var(--font-display); font-size: var(--vcp-h2); font-weight: 400; line-height: 1.1; }
.cx-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.cx-steps li { counter-increment: s; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font-size: 15px; line-height: 1.5; color: var(--muted); }
.cx-steps li::before { content: counter(s); display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: 28px; color: var(--gold); line-height: 1; }
.cx-steps b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.cx-disc { margin: 24px 0 0; max-width: 52rem; font-size: 14px; line-height: 1.55; color: var(--muted); }
.cx-disc a { color: var(--ink); }
/* FAQ: тот же аккордеон, что .si-acc в гайде; ответы в HTML и видны поиску */
.cx-faq { padding: 8px 0 64px; }
.cx-faq h2 { margin: 0 0 20px; font-family: var(--font-display); font-size: var(--vcp-h2); font-weight: 400; line-height: 1.1; }
.cx-acc { border-top: 1px solid var(--line); max-width: 56rem; }
.cx-acc details { border-bottom: 1px solid var(--line); }
.cx-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 18px 4px; font-size: 17px; font-weight: 500; line-height: 1.35; list-style: none; cursor: pointer; }
.cx-acc summary::-webkit-details-marker { display: none; }
.cx-acc summary::after { content: "+"; flex: none; color: var(--gold); font-size: 22px; font-weight: 400; line-height: 1; }
.cx-acc details[open] summary::after { content: "–"; }
.cx-acc summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.cx-acc details p { margin: 0; padding: 0 4px 18px; max-width: 52rem; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 767px) { .cx-acc summary { font-size: 16px; padding: 16px 2px; } }
@media (min-width: 768px) { .cx-hero { padding: 56px 0 32px; } .cx-steps { grid-template-columns: repeat(3, 1fr); } }
