/* Contact page: the existing palette, compact type and quiet interaction. */
.contacts-page { --contact-line: rgb(31 60 88 / 15%); }
.contacts-page .contacts-kicker { margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--heading-alt); }
.contacts-intro { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 48px; padding-top: 14px; padding-bottom: 38px; }
.contacts-intro h1 { font-size: clamp(48px, 5.6vw, 88px); line-height: 1.05; text-transform: uppercase; }
.contacts-intro h1 span { color: var(--heading); }
.contacts-intro__text { max-width: 490px; justify-self: end; margin: 0 0 4px; font-size: 17px; line-height: 1.65; }
.contacts-direct { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-bottom: 52px; }
.contacts-channel { position: relative; display: flex; flex-direction: column; gap: 24px; min-width: 0; padding: 24px 26px 20px; background: var(--surface); border: 1px solid transparent; color: var(--heading); transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.contacts-channel::after { content: ''; position: absolute; inset: auto 26px 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.contacts-channel__top, .contacts-channel__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.contacts-channel__top { font-size: 13px; color: var(--heading-alt); }
.contacts-channel__number { font-size: 11px; font-variant-numeric: tabular-nums; }
.contacts-channel strong { font-size: clamp(16px, 1.55vw, 23px); font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.contacts-channel__bottom { margin-top: auto; font-size: 12px; }
.contacts-arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--contact-line); border-radius: 50%; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.contacts-arrow svg { width: 15px; height: 15px; transition: transform .25s ease; }
.contacts-office { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr); padding-bottom: 64px; }
.contacts-office__info { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.3vw, 48px); background: var(--heading); color: white; }
.contacts-office__info .contacts-kicker { color: #c1d0df; }
.contacts-office h2 { margin: 0 0 26px; font-family: var(--font-heading); font-size: 34px; letter-spacing: .03em; text-transform: uppercase; color: white; }
.contacts-office address { max-width: 330px; margin: 0 0 18px; font-size: 20px; font-style: normal; line-height: 1.55; }
.contacts-office__phone { font-size: 14px; color: #d5dfeb; transition: color .2s ease; }
.contacts-route { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 34px; font-size: 13px; }
.contacts-route span { padding-bottom: 4px; border-bottom: 1px solid rgb(255 255 255 / 35%); transition: border-color .25s ease; }
.contacts-route svg { flex-shrink: 0; transition: transform .25s ease; }
.contacts-map { position: relative; isolation: isolate; min-height: 370px; overflow: hidden; background: #e3e9ee; }
.contacts-map__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 370px; padding: 30px; text-align: center; background-image: linear-gradient(rgb(31 60 88 / 4%) 1px, transparent 1px), linear-gradient(90deg, rgb(31 60 88 / 4%) 1px, transparent 1px); background-size: 40px 40px; }
.contacts-map__pin { width: 30px; height: 36px; margin-bottom: 15px; color: var(--accent); }
.contacts-map__address { max-width: 390px; margin: 0 0 12px; font-size: 17px; font-weight: 500; color: var(--heading); }
.contacts-map__notice { max-width: 400px; margin: 0 0 22px; font-size: 12px; line-height: 1.6; }
.contacts-map__button { display: flex; align-items: center; gap: 26px; padding: 12px 22px; border: 1px solid var(--heading); border-radius: 0; font: 500 13px var(--font-body); background: var(--heading); color: white; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.contacts-map__policy { margin-top: 14px; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; color: var(--heading-alt); }
.contacts-map iframe { display: block; width: 100%; height: 100%; min-height: 370px; border: 0; }
.contacts-map.is-loaded { height: 400px; }
.contacts-details { padding-bottom: 70px; }
.contacts-details__intro { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 26px; }
.contacts-details__intro .contacts-kicker { margin-bottom: 12px; }
.contacts-details__intro h2 { margin: 0; font-family: var(--font-heading); font-size: 38px; letter-spacing: .03em; text-transform: uppercase; }
.contacts-details__intro > p { margin: 0 0 3px; font-size: 13px; color: var(--heading-alt); }
.contacts-details__grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 32px; }
.contacts-details__card { min-width: 0; border-top: 1px solid var(--heading); }
.contacts-details__card h3 { margin: 0; padding: 23px 0 19px; font-size: 17px; font-weight: 500; }
.contacts-details__list { margin: 0; }
.contacts-details__list > div { display: grid; grid-template-columns: minmax(100px, .8fr) minmax(0, 1.6fr); gap: 18px; padding: 15px 0; border-top: 1px solid var(--contact-line); font-size: 13px; line-height: 1.6; }
.contacts-details__list dt { color: var(--heading-alt); }
.contacts-details__list dd { margin: 0; color: var(--heading); overflow-wrap: anywhere; }
.contacts-page + .cta { padding-top: 56px; padding-bottom: 60px; }
.contacts-page + .cta .cta__title { margin-bottom: 32px; }
.contacts-page + .cta .cta__lead { font-size: 18px; }
.contacts-page button:focus-visible, .contacts-page a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.contacts-channel:focus-visible::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .contacts-channel:hover { transform: translateY(-3px); border-color: var(--contact-line); }
  .contacts-channel:hover::after { transform: scaleX(1); }
  .contacts-channel:hover .contacts-arrow { color: white; background: var(--accent); border-color: var(--accent); }
  .contacts-channel:hover .contacts-arrow svg { transform: translate(1px, -1px); }
  .contacts-office__phone:hover { color: white; }
  .contacts-route:hover span { border-color: white; }
  .contacts-route:hover svg { transform: translateX(4px); }
  .contacts-map__button:hover { background: var(--accent); border-color: var(--accent); }
  .contacts-map__policy:hover { color: var(--heading); }
}
@media (max-width: 900px) {
  .contacts-intro { gap: 28px; }
  .contacts-intro__text { font-size: 15px; }
  .contacts-channel { padding: 20px 16px 16px; gap: 18px; }
  .contacts-channel strong { font-size: 17px; }
  .contacts-office { grid-template-columns: 1fr 1.3fr; }
  .contacts-office__info { padding: 28px; }
  .contacts-office address { font-size: 18px; }
  .contacts-details__grid { gap: 24px; }
  .contacts-details__list > div { grid-template-columns: 1fr; gap: 5px; }
}
@media (max-width: 768px) {
  .contacts-intro h1 { font-size: 40px; }
}
@media (max-width: 600px) {
  .contacts-intro { grid-template-columns: 1fr; gap: 22px; padding-top: 6px; padding-bottom: 28px; }
  .contacts-intro__text { justify-self: start; font-size: 15px; }
  .contacts-direct { grid-template-columns: 1fr; gap: 10px; padding-bottom: 32px; }
  .contacts-channel { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 18px 20px; }
  .contacts-channel__top { grid-column: 1; font-size: 11px; }
  .contacts-channel__number { display: none; }
  .contacts-channel strong { grid-column: 1; font-size: 18px; }
  .contacts-channel__bottom { grid-column: 2; grid-row: 1 / 3; margin: 0; }
  .contacts-channel__bottom > span:first-child { display: none; }
  .contacts-office { grid-template-columns: 1fr; padding-bottom: 40px; }
  .contacts-office h2 { font-size: 30px; margin-bottom: 18px; }
  .contacts-office__info { padding: 28px 24px; }
  .contacts-route { padding-top: 26px; }
  .contacts-map, .contacts-map__placeholder, .contacts-map iframe { min-height: 340px; }
  .contacts-map__placeholder { padding: 28px 22px; }
  .contacts-map.is-loaded { height: 360px; }
  .contacts-details { padding-bottom: 42px; }
  .contacts-details__intro { display: block; margin-bottom: 22px; }
  .contacts-details__intro h2 { font-size: 32px; }
  .contacts-details__intro > p { margin-top: 14px; }
  .contacts-details__grid { grid-template-columns: 1fr; gap: 28px; }
  .contacts-details__list > div { grid-template-columns: minmax(100px, .9fr) minmax(0, 1.3fr); gap: 14px; font-size: 12px; }
  .contacts-page + .cta { padding-top: 38px; padding-bottom: 40px; }
  .contacts-page + .cta .cta__lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .contacts-page *, .contacts-page *::after { transition: none !important; }
  .contacts-channel:hover, .contacts-route:hover svg, .contacts-channel:hover .contacts-arrow svg { transform: none; }
}
