/*
 * Kontaktai (Aixor redesign, round 2, 2026-10-05): one section, two columns that start on the same
 * line - the office on the left (phone and e-mail large, address and hours, the urgent-call note),
 * the form in one card on the right - then the map with its card.
 */
.ax-kont { padding: 120px 72px; }
.ax-kont__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.ax-kont__info { grid-column: 1 / 6; display: flex; flex-direction: column; }
.ax-kont__info .section-subtitle { width: auto; margin-bottom: 40px; }
.ax-kont-big { margin: 0; font-size: 44px; line-height: 56px; letter-spacing: -1.5px; font-weight: 400; }
.ax-kont-big a { color: var(--primary); }
.ax-kont-big a.with-border:before { height: 2px; }
.ax-kont__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 56px 0 0; padding: 40px 0 0; border-top: 1px solid #262626; }
.ax-kont__facts > div > dt { margin-bottom: 10px; font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: #777; }
.ax-kont__facts > div > dd { margin: 0; font-size: 18px; line-height: 28px; color: var(--primary); }
.ax-kont__facts > div > dd > span { display: block; }
.ax-hours { margin: 0; }
.ax-hours > div { display: flex; gap: 16px; }
.ax-hours dt { min-width: 40px; color: var(--secondary); }
.ax-hours dd { margin: 0; }
.ax-kont__urgent { margin-top: 40px; padding-top: 40px; border-top: 1px solid #262626; }
.ax-kont__urgent h3 { margin: 0 0 6px; font-size: 20px; line-height: 28px; font-weight: 500; font-style: italic; }
.ax-kont__urgent p { margin: 0; font-size: 16px; line-height: 24px; color: var(--secondary); }

.ax-kont__form { grid-column: 7 / 13; padding: 56px; border-radius: 20px; background: linear-gradient(180deg, #1f1f1f 0%, #0b0b0b 55%, #141414 100%); border: 1px solid #1f1f1f; scroll-margin-top: 24px; }
.ax-kont__form .ax-connect { display: inline-block; margin: -10px; padding: 10px; font-size: 64px; line-height: 68px; letter-spacing: -0.04em; font-weight: 400; background: linear-gradient(90deg, #fff 16%, #4d4d4d 140%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ax-kont__form .ax-connect span { font-family: var(--font_arapey); font-style: italic; letter-spacing: -0.02em; }
.ax-kont__lead { display: flex; gap: 8px; margin: 24px 0 32px; font-size: 14px; line-height: 20px; font-style: italic; color: var(--primary); }
.ax-kont__form .contact-form input:not([type="submit"]), .ax-kont__form .contact-form textarea { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }

.ax-kont-map { position: relative; background: #000; }
/* isolation keeps Leaflet's pane z-indexes (400-1000) inside the map, so the card can sit on top. */
.ax-kont-map__canvas { position: relative; isolation: isolate; width: 100%; height: clamp(420px, 40vw, 620px); background: #000; }
.ax-kont-map__canvas.leaflet-container { background: #000; font-family: var(--font_urbanist); }
.ax-kont-map__canvas .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.78) contrast(.92); }
.ax-kont-map .ax-kont-map__canvas .leaflet-control-attribution { padding: 2px 8px; background: rgba(0,0,0,.82); color: #999; font-size: 12px; line-height: 16px; }
.ax-kont-map .ax-kont-map__canvas .leaflet-control-attribution a { color: #fff; }
.as-kont-map__marker .rd-kont-pin { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--ax-accent); box-shadow: 0 0 0 6px rgba(244,124,18,.25), 0 0 24px rgba(244,124,18,.6); }
.ax-kont-map__card { position: absolute; left: 72px; top: 72px; z-index: 2; width: 400px; -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); background: linear-gradient(180deg, rgba(31,31,31,.9) 0%, rgba(0,0,0,.85) 100%); }
.ax-kont-map__card p span { display: block; }
.ax-kont-map__card .theme-btn { align-self: flex-start; }

@media (max-width: 1439px) {
  .ax-kont { padding: 96px 42px; }
  .ax-kont__info { grid-column: 1 / 7; }
  .ax-kont__form { grid-column: 7 / 13; padding: 40px; }
  .ax-kont-big { font-size: 36px; line-height: 46px; }
  .ax-kont__form .ax-connect { font-size: 52px; line-height: 56px; }
  .ax-kont-map__card { left: 42px; top: 42px; }
}
@media (max-width: 1023px) {
  .ax-kont__info, .ax-kont__form { grid-column: 1 / -1; }
  .ax-kont__form { margin-top: 64px; }
}
@media (max-width: 809px) {
  .ax-kont { padding: 64px 22px; }
  .ax-kont-big { font-size: 28px; line-height: 38px; letter-spacing: -1px; }
  .ax-kont__facts { grid-template-columns: 1fr; gap: 24px; }
  .ax-kont__form { padding: 28px 22px; }
  .ax-kont__form .ax-connect { font-size: 40px; line-height: 44px; }
  .ax-kont-map__canvas { height: 340px; }
  .ax-kont-map__card { position: static; width: auto; margin: 0 22px 40px; }
}
