/* Public contacts: follows the existing NikForex colours and typography. */
.contacts-main{max-width:1190px;margin:auto;padding:65px 28px 74px;min-height:72vh}
.contacts-intro{max-width:650px;margin-bottom:34px}.contacts-intro .eyebrow{margin-bottom:13px}
.contacts-intro h1{font-size:clamp(34px,5vw,49px);letter-spacing:-1.6px;margin-bottom:16px}
.contacts-intro>p:last-child{font-size:17px;line-height:1.7;color:var(--muted)}
.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.contact-card{display:flex;flex-direction:column;padding:28px 25px;border:1px solid var(--line);border-radius:18px;background:#082a49;min-width:0}
.contact-card.primary{background:#082a49;border-color:#164364}
.contact-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #164364;border-radius:12px;background:#082a49;color:#e7f4ff;margin-bottom:23px}
.contact-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6}
.contact-card h2{font-size:21px;letter-spacing:-.45px;line-height:1.35;margin-bottom:12px}
.contact-card p{font-size:14px;line-height:1.75;color:var(--muted);margin-bottom:23px}
.contact-address{font-size:clamp(14px,1.5vw,17px);font-weight:600;overflow-wrap:anywhere;margin-top:auto;line-height:1.6}
.contact-address:hover{text-decoration:underline}.contact-card .outline-button{margin-top:20px;align-self:flex-start}
.contact-messengers{margin-top:34px}.contact-messengers>h2{font-size:24px;margin-bottom:18px;letter-spacing:-.6px}
.messenger-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.messenger-grid .contact-card{background:#082a49}
.contact-reply{margin-top:27px;padding:25px 28px;border-left:3px solid #51ddf6;background:#082a49;border-radius:0 13px 13px 0}
.contact-reply h2{font-size:17px;letter-spacing:0;margin-bottom:9px}.contact-reply p{font-size:14px;line-height:1.75;color:var(--muted)}
.contact-reply p+p{margin-top:5px}.page-contacts .portal-footer{flex-wrap:wrap}
@media(max-width:850px){.contact-grid,.messenger-grid{grid-template-columns:1fr}.contact-card{padding:25px}.contact-card p{margin-bottom:16px}.contact-address{font-size:17px}.contacts-main{padding:36px 20px 45px}.contact-reply{padding:21px}.contact-icon{margin-bottom:18px}}

/* Contact titles share a centered row with their distinct icons. */
.contact-heading{display:flex;align-items:center;gap:14px;margin-bottom:12px;min-height:42px}
.contact-heading .contact-icon{flex:0 0 42px;margin:0}
.contact-heading h2{margin:0;min-width:0;overflow-wrap:anywhere}
.contact-heading svg{stroke-linecap:round;stroke-linejoin:round}

/* Keep the footer compact while reserving room beside the support button. */
body.page-contacts.nf-has-support>footer.portal-footer{padding-top:20px;padding-bottom:calc(20px + env(safe-area-inset-bottom));padding-right:max(100px,calc(80px + env(safe-area-inset-right)))}

.page-contacts .portal-header .back-home{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-height:40px;padding:9px 14px;border:1px solid #164364;border-radius:10px;background:#082a49;color:#e7f4ff;font-size:12px;font-weight:600;white-space:nowrap}
.page-contacts .portal-header .back-home:hover{background:#164364;border-color:#2a5575}
.page-contacts .back-home svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
