/* =============================================================================
   Contact / Apply + Privacy policy — page-specific styles (/contact/, /ru/contact/, /privacy-policy/)
   Round 2 (23 Sep 2026): the contact page is hero + application form only.
   Loads after style.css; additive rules scoped to .page-contact / .page-privacy.
   ============================================================================= */

/* ---- Short hero: heading + one line */
.page-contact .hero--page { padding-bottom: clamp(24px, 4vw, 40px); }
.contact-hero__inner { max-width: 820px; }
.contact-hero__lead { max-width: 640px; margin-bottom: 0; }

/* ---- Form section: sits right under the hero, lighter top padding */
.page-contact .section--form { padding-top: clamp(32px, 5vw, 56px); }
.contact-form-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.contact-form-head__ic { width: 48px; height: 48px; border-radius: 14px; background: var(--bb-teal-soft); color: var(--bb-teal); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.contact-form-head__ic svg { width: 24px; height: 24px; }
.contact-form-head h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 0; }
.contact-form-head p { margin: .15rem 0 0; color: var(--bb-ink-2); font-size: .95rem; }

/* ---- Side card ("Prefer to talk?"): white like the form card (card-bb--tint vanished on the cream-2 band) */
.page-contact .apply-side__card { background: var(--bb-white); border-color: var(--bb-sand); }
/* keep the arrow next to the last word instead of the card's right edge */
.page-contact .apply-side .link-arrow { align-self: flex-start; display: inline; }
.page-contact .apply-side .link-arrow svg { display: inline-block; vertical-align: -3px; margin-left: .2rem; }
/* RU "Удобнее созвониться? Записаться на консультацию →" is one pixel too wide for the card */
html[lang="ru"] .page-contact .apply-side .link-arrow { font-size: .92rem; }
/* Desktop: the side card is much shorter than the form, let it ride along with the form */
@media (min-width: 992px) {
  .page-contact .apply-side { position: sticky; top: 96px; }
}

/* ---- Privacy policy: simple prose layout */
.page-privacy .hero--page { padding-bottom: clamp(16px, 3vw, 32px); }
.privacy-meta { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: var(--radius-pill); background: var(--bb-teal-soft); color: var(--bb-teal-deep); font-weight: 600; font-size: .9rem; }
.privacy-meta svg { width: 16px; height: 16px; }
.privacy-body { max-width: 820px; }
.privacy-body h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-top: 2.75rem; margin-bottom: .75rem; }
.privacy-body h2:first-child { margin-top: 0; }
.privacy-body p, .privacy-body li { font-size: 1.05rem; }
.privacy-body ul { display: grid; gap: .35rem; }
.privacy-body a { font-weight: 600; text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--bb-sand); }
.privacy-body a:hover { text-decoration-color: currentColor; }
.privacy-facts { list-style: none; padding: 0; margin: 0 0 2.5rem; max-width: 820px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.privacy-facts li { display: flex; gap: .85rem; align-items: flex-start; background: #fff; border: 1px solid var(--bb-sand); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; font-size: .95rem; color: var(--bb-ink-2); }
.privacy-facts li strong { display: block; color: var(--bb-teal-deep); font-size: .98rem; margin-bottom: .1rem; }
.privacy-facts svg { width: 22px; height: 22px; color: var(--bb-teal); flex: 0 0 auto; margin-top: .1rem; }
.privacy-contact { margin-top: 3rem; background: var(--bb-cream-2); border-radius: var(--radius-lg); padding: 1.5rem 1.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.privacy-contact p { margin: 0; color: var(--bb-ink-2); }
.privacy-contact strong { color: var(--bb-teal-deep); }
@media (max-width: 767.98px) { .privacy-facts { grid-template-columns: minmax(0, 1fr); } }

/* RU "Политика конфиденциальности." is one very long word — cap the h1 on narrow screens */
@media (max-width: 600px) {
  .page-privacy .hero__title { font-size: clamp(1.9rem, 7.6vw, 2.4rem); letter-spacing: -0.005em; }
  .page-privacy .hero__title { overflow-wrap: break-word; }
}
