/* SDCG Contact page v26: locally scoped to keep the rest of the site untouched. */
.page-contact .page-hero{padding-bottom:49px}
.page-contact .page-hero-row{gap:40px}
.page-contact .contact-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:32px;position:relative;z-index:1}
.page-contact .contact-quick-card{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;row-gap:3px;align-items:center;min-height:112px;padding:19px 20px;text-decoration:none;color:#243649;border:1px solid #dbe9f1;border-radius:12px;background:#fff;box-shadow:0 9px 24px rgba(19,52,73,.045);transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.page-contact .contact-quick-card:hover,.page-contact .contact-quick-card:focus-visible{border-color:#00b8f7;box-shadow:0 14px 29px rgba(12,62,112,.11);transform:translateY(-2px)}
.page-contact .contact-quick-card:focus-visible{outline:3px solid #0066b3;outline-offset:2px}
.page-contact .contact-quick-icon{grid-column:1;grid-row:1/span 2;width:42px;height:42px;border-radius:10px;background:#eaf7fc;color:#0066b3;display:flex;justify-content:center;align-items:center;border-left:3px solid #50b848}
.page-contact .contact-quick-icon svg{height:21px;width:21px;display:block}
.page-contact .contact-quick-card strong{grid-column:2;grid-row:1;font-size:.93rem;font-weight:790;line-height:1.4;color:#142d52}
.page-contact .contact-quick-card>span{grid-column:2;grid-row:2;color:#607489;font-size:.79rem;font-weight:560;line-height:1.45;overflow-wrap:anywhere}
/* Form side column: step-by-step follow-up plus the existing-client hot line. */
.page-contact .contact-layout{grid-template-columns:minmax(0,1.16fr) minmax(300px,.84fr);gap:32px;align-items:start}
.page-contact .contact-aside{display:flex;flex-direction:column;gap:20px;min-width:0}
.page-contact .contact-next-card,.page-contact .contact-support-card{border-radius:13px;padding:29px;box-shadow:0 8px 23px rgba(19,52,73,.045)}
.page-contact .contact-next-card{background:#fff;border:1px solid #dce9f1}
.page-contact .contact-next-card h3{font-size:1.22rem;color:#142d52;line-height:1.35;margin:0 0 21px}
.page-contact .contact-next-card .next{list-style:none;counter-reset:steps;margin:0;padding:0;display:grid;gap:18px}
.page-contact .contact-next-card .next li{position:relative;counter-increment:steps;padding-left:47px;font-size:.84rem;line-height:1.55;color:#607489}
.page-contact .contact-next-card .next li:before{content:counter(steps);position:absolute;left:0;top:2px;width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:#edf6ff;border-left:3px solid #50b848;font-size:.75rem;font-weight:820;color:#0066b3}
.page-contact .contact-next-card .next li b{display:block;margin-bottom:3px;font-size:.86rem;color:#142d52;font-weight:790}
.page-contact .contact-support-card{background:#101f35;color:#fff;border:1px solid #1e415c}
.page-contact .contact-support-card .eyebrow{color:#00b8f7}
.page-contact .contact-support-card h3{color:#fff;font-size:1.19rem;margin:18px 0 9px;line-height:1.35}
.page-contact .contact-support-card p{font-size:.85rem;line-height:1.7;color:#cbd9e8}
.page-contact .contact-support-card ul{list-style:none;margin:16px 0;padding:0}
.page-contact .contact-support-card li{border-top:1px solid rgba(255,255,255,.14);padding:10px 0;color:#d5e0ec;font-size:.82rem;line-height:1.55;overflow-wrap:anywhere}
.page-contact .contact-support-card li b{font-weight:790;color:#fff;margin-right:4px}
.page-contact .contact-support-card li a{color:#fff;overflow-wrap:anywhere}
.page-contact .contact-support-card li a:hover{text-decoration:underline;color:#00b8f7}
.page-contact .contact-support-link{display:inline-flex;font-size:.81rem;font-weight:810;color:#00b8f7;line-height:1.55;border-bottom:1px solid rgba(0,184,247,.46);padding-bottom:4px;text-decoration:none}
.page-contact .contact-support-link:hover{color:#fff}
/* Full office details follow the contact form, not the sidebar. */
.page-contact .contact-office-section{background:#f5f9fc;border-top:1px solid #e4edf3}
.page-contact .contact-office-section .section-title{margin-bottom:36px}
.page-contact .contact-office-section .section-title p{max-width:640px}
.page-contact .offices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.page-contact .office{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #dce9f1;border-radius:13px;overflow:hidden;box-shadow:0 8px 22px rgba(19,52,73,.035);transition:transform .2s ease,box-shadow .2s ease}
.page-contact .office:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(19,52,73,.09)}
.page-contact .office-top{background:#edf6ff;padding:24px 26px 20px;border-bottom:1px solid #dce9f1;position:relative}
.page-contact .office-top:before{content:'';position:absolute;top:0;left:0;width:4px;height:100%;background:#50b848}
.page-contact .office-top small{font-size:.67rem;letter-spacing:.11em;color:#0066b3;text-transform:uppercase;font-weight:840}
.page-contact .office-top h3{font-size:1.55rem;color:#142d52;margin:9px 0 0}
.page-contact .office-body{display:flex;flex:1;flex-direction:column;gap:16px;padding:24px 26px 26px}
.page-contact .office-line{display:flex;align-items:flex-start;gap:12px;font-size:.81rem;line-height:1.65;color:#536d81;overflow-wrap:anywhere}
.page-contact .office-line svg{width:18px;height:18px;flex:0 0 18px;color:#0066b3;margin-top:2px}
.page-contact .office-line a{color:#144d79;font-weight:730;text-decoration:none;overflow-wrap:anywhere}
.page-contact .office-line a:hover{color:#0066b3;text-decoration:underline}
.page-contact .office-line.muted{color:#728797;font-size:.76rem}
.page-contact .office-body>a.btn{display:flex;justify-content:center;margin-top:auto;padding:12px 15px;min-height:45px;font-size:.78rem;border:1px solid #c2d9e8;background:#fff;color:#0066b3;font-weight:760;text-decoration:none;border-radius:7px}
.page-contact .office-body>a.btn:hover{border-color:#0066b3;background:#edf6ff}
/* Office social links: visible brand icons + labels, distinct from the shared footer links. */
.page-contact .contact-office-section .social{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:11px;margin-top:38px!important}
.page-contact .contact-office-section .social a{display:inline-flex;align-items:center;gap:10px;min-height:45px;padding:11px 17px;background:#fff;border:1px solid #cfe2ec;color:#17324d;border-radius:8px;font-size:.81rem;font-weight:770;transition:border-color .2s ease,transform .2s ease,background .2s ease}
.page-contact .contact-office-section .social a:hover{background:#eaf7fc;border-color:#00b8f7;transform:translateY(-2px)}
.page-contact .contact-office-section .social a:focus-visible{outline:3px solid #0066b3;outline-offset:2px}
.page-contact .contact-office-section .social svg{width:19px;height:19px;color:#0066b3;display:block;flex:0 0 19px}
@media(max-width:1020px){
 .page-contact .contact-layout{gap:24px;grid-template-columns:minmax(0,1fr) minmax(280px,.88fr)}
 .page-contact .contact-quick-card{padding:17px 15px;column-gap:10px}
 .page-contact .offices{gap:14px}
 .page-contact .office-top,.page-contact .office-body{padding-left:19px;padding-right:19px}
}
@media(max-width:780px){
 .page-contact .contact-layout{grid-template-columns:1fr;gap:22px}
 .page-contact .contact-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .page-contact .contact-quick-card{min-height:125px;grid-template-columns:1fr;grid-template-rows:auto auto auto;justify-items:start;padding:14px}
 .page-contact .contact-quick-icon{grid-column:1;grid-row:1;width:38px;height:38px}
 .page-contact .contact-quick-card strong{grid-row:2;grid-column:1}
 .page-contact .contact-quick-card>span{grid-row:3;grid-column:1}
 .page-contact .offices{grid-template-columns:repeat(2,minmax(0,1fr))}
 .page-contact .contact-next-card,.page-contact .contact-support-card{padding:26px}
}
@media(max-width:560px){
 .page-contact .contact-quick-grid{grid-template-columns:1fr;margin-top:25px;gap:10px}
 .page-contact .contact-quick-card{min-height:76px;display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;padding:13px 15px;column-gap:14px}
 .page-contact .contact-quick-icon{grid-row:1/span 2;grid-column:1}
 .page-contact .contact-quick-card strong{grid-row:1;grid-column:2}
 .page-contact .contact-quick-card>span{grid-row:2;grid-column:2}
 .page-contact .offices{grid-template-columns:1fr}
 .page-contact .contact-next-card,.page-contact .contact-support-card{padding:23px}
 .page-contact .office-top,.page-contact .office-body{padding-left:23px;padding-right:23px}
 .page-contact .contact-office-section .social{justify-content:stretch}
 .page-contact .contact-office-section .social a{flex:1 1 44%;justify-content:center}
}

/* v27: one single row of contact actions immediately under the banner description. */
.page-contact .page-hero-row > div:first-child{min-width:0}
.page-contact .page-hero-row .contact-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:24px;max-width:100%}
.page-contact .page-hero-row .contact-quick-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:7px;padding:14px 12px;min-height:140px;max-width:100%;box-sizing:border-box}
.page-contact .page-hero-row .contact-quick-icon{display:flex;flex:0 0 35px;width:35px;height:35px;border-radius:9px}
.page-contact .page-hero-row .contact-quick-icon svg{width:18px;height:18px}
.page-contact .page-hero-row .contact-quick-card strong{font-size:.82rem;line-height:1.25}
.page-contact .page-hero-row .contact-quick-card>span{font-size:.71rem;line-height:1.42;overflow-wrap:anywhere;word-break:normal}
@media(max-width:980px){
 .page-contact .page-hero-row .contact-quick-grid{gap:7px}
 .page-contact .page-hero-row .contact-quick-card{padding:11px 9px;min-height:132px}
 .page-contact .page-hero-row .contact-quick-card strong{font-size:.77rem}
 .page-contact .page-hero-row .contact-quick-card>span{font-size:.67rem}
}
@media(max-width:700px){
 .page-contact .page-hero-row .contact-quick-grid{margin-top:21px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .page-contact .page-hero-row .contact-quick-card{min-height:136px;gap:6px;padding:12px 10px}
 .page-contact .page-hero-row .contact-quick-card>span{font-size:.68rem}
}
@media(max-width:420px){
 .page-contact .page-hero-row .contact-quick-grid{gap:6px}
 .page-contact .page-hero-row .contact-quick-card{padding:10px 8px;min-height:144px}
 .page-contact .page-hero-row .contact-quick-card strong{font-size:.73rem}
 .page-contact .page-hero-row .contact-quick-card>span{font-size:.63rem}
}
