.page-kontakty { background: var(--white); }
.contacts-page { padding-bottom: 0; }
.contacts-intro { padding: 30px 0 64px; background: var(--white); }
.contacts-eyebrow { margin: 0 0 14px; color: var(--teal); font-size: 14px; font-weight: 800; }
.contacts-page h1 { margin: 0 0 20px; color: var(--steel); font-size: clamp(38px, 4vw, 56px); line-height: 1.08; }
.contacts-lead { max-width: 730px; margin: 0 0 36px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.contacts-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
.contacts-direct { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 32px; }
.contacts-channel { padding: 26px 0; }
.contacts-channel + .contacts-channel { border-top: 1px solid var(--line); }
.contacts-channel h2 { margin: 0 0 12px; font-size: 16px; font-weight: 700; color: var(--muted); }
.contacts-value { display: inline-block; max-width: 100%; color: var(--teal-dark); font-size: clamp(25px, 2.65vw, 34px); font-weight: 800; line-height: 1.3; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.contacts-value:hover { color: var(--teal); }
.contacts-phone { white-space: nowrap; }
.contacts-channel p { max-width: 430px; margin: 14px 0; color: var(--muted); line-height: 1.5; }
.contacts-copy { padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--teal-dark); background: var(--paper); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.contacts-copy:hover { background: var(--soft); }
.contacts-copy-status { display: block; min-height: 18px; margin-top: 6px; font-size: 13px; color: var(--teal-dark); }
.contacts-callback { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; color: var(--teal); font-weight: 700; }
.contacts-address { padding: 32px; border-radius: var(--radius); background: var(--teal-dark); color: #fff; }
.contacts-pin { display: block; margin-bottom: 18px; color: #b4d9d5; }
.contacts-address h2 { margin: 0 0 14px; color: #fff; font-size: 20px; }
.contacts-address address { font-style: normal; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.35; }
.contacts-address address span { display: block; margin-top: 10px; font-size: 18px; font-weight: 400; }
.contacts-address p { max-width: 440px; margin: 24px 0; color: #d4e6e3; line-height: 1.6; }
.contacts-map-link { background: #fff; color: var(--teal-dark); border: 1px solid #fff; text-align: center; }
.contacts-map-link:hover { background: #e3efed; color: var(--teal-dark); }
.contacts-address .contacts-visit-note { margin: 18px 0 0; font-size: 14px; }
.contacts-page a:focus-visible, .contacts-copy:focus-visible { outline: 3px solid var(--amber); outline-offset: 5px; }
.contacts-messengers { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 24px; padding: 22px 28px; border-radius: var(--radius); background: var(--soft); }
.contacts-messengers p { margin: 0; color: var(--steel); font-size: 18px; font-weight: 700; }
.contacts-messenger-links { display: flex; flex-wrap: wrap; gap: 12px; }
.contacts-messenger-links a { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 46px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--teal-dark); font-weight: 700; }
.contacts-messenger-links a:hover { border-color: var(--teal); }
.contacts-requisites { padding: 64px 0; }
.contacts-requisites-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 40px; }
.contacts-section-intro h2,
.contacts-section-heading h2,
.contacts-social h2,
.contacts-showroom-heading h3 {
  color: var(--steel);
  font-family: inherit;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: normal;
}
.contacts-section-intro h2, .contacts-section-heading h2 { margin: 0 0 20px; }
.contacts-document-link { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 48px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--teal-dark); font-weight: 700; }
.contacts-document-link:hover { border-color: var(--teal); }
.contacts-file-type { font-size: 12px; color: var(--muted); }
.contacts-details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin: 0; min-width: 0; }
.contacts-details > div { min-width: 0; }
.contacts-detail-wide { grid-column: 1 / -1; }
.contacts-details dt { margin-bottom: 5px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.contacts-details dd { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.contacts-details > div:first-child dd { font-size: 20px; font-weight: 700; color: var(--steel); }
.contacts-directions { padding: 64px 0; background: var(--paper); border-top: 1px solid var(--line); }
.contacts-section-heading { display: grid; grid-template-columns: .8fr 1.4fr; gap: 40px; align-items: start; margin-bottom: 28px; }
.contacts-section-heading h2 { margin-bottom: 0; }
.contacts-section-heading p { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.65; }
.contacts-directions-grid { display: grid; grid-template-columns: 1.8fr 1fr; align-items: start; gap: 28px; }
.contacts-video, .contacts-map-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contacts-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #0e191d; }
.contacts-video figcaption, .contacts-map-card figcaption { padding: 14px 18px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.contacts-routes h3 { margin: 0 0 16px; color: var(--steel); font-size: 21px; }
.contacts-route { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 80px; margin-top: 12px; padding: 14px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--teal); }
.contacts-route:hover { border-color: var(--teal); background: #fafffe; }
.contacts-route img { width: 190px; max-width: calc(100% - 40px); height: 48px; object-fit: contain; object-position: left center; }
.contacts-route span { font-size: 24px; }
.contacts-route .contacts-route-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: #111; font-family: Arial, sans-serif; font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.1; white-space: nowrap; }
.contacts-route-brand svg { flex: 0 0 30px; width: 30px; height: 44px; }
.contacts-showroom-heading { margin: 40px 0 22px; }
.contacts-social { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 20px 40px; margin-top: 36px; padding: 28px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Full-width paint only: preserve the content grid without horizontal overflow. */
.contacts-social::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--white); box-shadow: 0 0 0 100vmax var(--white); clip-path: inset(0 -100vmax); pointer-events: none; }
.contacts-social h2 { margin: 0; }
.contacts-social + .contacts-showroom-heading { margin-top: 32px; }
#social { scroll-margin-top: 110px; }
.contacts-showroom-heading h3 { margin: 0 0 20px; }
.contacts-showroom-heading p { margin: 0; color: var(--muted); line-height: 1.6; }
.contacts-maps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contacts-map-card iframe { display: block; width: 100%; height: 380px; border: 0; background: var(--soft); }
.contacts-map-card a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
#requisites, #directions { scroll-margin-top: 110px; }
@media (max-width: 760px) {
  .contacts-intro { padding: 20px 0 40px; }
  .contacts-lead { font-size: 17px; margin-bottom: 24px; }
  .contacts-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .contacts-direct { padding: 0 22px; }
  .contacts-channel { padding: 24px 0; }
  .contacts-value { font-size: clamp(23px, 6.9vw, 30px); }
  .contacts-phone { font-size: clamp(20px, 6.5vw, 30px); }
  .contacts-address { padding: 26px 22px; }
  .contacts-map-link { width: 100%; min-height: 48px; font-size: 14px; padding: 12px; }
  .contacts-messengers { padding: 22px; }
  .contacts-messenger-links { display: grid; grid-template-columns: 1fr; width: 100%; }
  .contacts-requisites { padding: 40px 0; }
  .contacts-requisites-grid { grid-template-columns: 1fr; gap: 28px; }
  .contacts-details { grid-template-columns: 1fr; gap: 18px; }
  .contacts-directions { padding: 40px 0; }
  .contacts-section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 22px; }
  .contacts-directions-grid, .contacts-maps-grid { grid-template-columns: 1fr; gap: 22px; }
  .contacts-route { min-height: 72px; }
  .contacts-showroom-heading { margin-top: 32px; }
  .contacts-map-card iframe { height: 320px; }
}
