/* Contact V30 – visual implementation of approved design, scoped to Contact pages. */
.ga-contact-page{background:#fff;color:#071f38;min-height:60vh;padding-bottom:50px}
.ga-contact-page *{box-sizing:border-box}
.contact-hero{position:relative;min-height:320px;background:#061f38;overflow:hidden;color:white}
.contact-hero-photo{position:absolute;inset:0;background:url("assets/montreal-v7.png") center 53%/cover no-repeat}
.contact-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,25,46,.99) 0%,rgba(5,26,49,.93) 20%,rgba(5,28,52,.68) 39%,rgba(5,29,53,.12) 68%,rgba(5,29,53,0) 100%)}
.contact-hero-inner{position:relative;display:flex;align-items:center;min-height:320px;padding-top:25px;padding-bottom:64px}
.contact-hero-text{padding-left:24px;border-left:5px solid #ffc544;max-width:670px}
.contact-kicker{color:#ffca53;font-size:15px;font-weight:800;letter-spacing:.045em;margin:0 0 8px}
.contact-hero h1{font-size:clamp(32px,3.1vw,47px);font-weight:800;color:#fff;margin:0 0 16px;line-height:1.12}
.contact-hero-text>p:last-child{font-size:16px;line-height:1.55;margin:0;color:#f0f4f9}
.contact-page-body{position:relative;margin-top:-73px;z-index:2}
.contact-paths{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:26px}
.contact-path{min-height:124px;display:flex;align-items:center;gap:25px;border-radius:17px;padding:17px 28px;box-shadow:0 12px 22px rgba(9,30,58,.15);transition:transform .18s,box-shadow .18s}
.contact-path:hover{transform:translateY(-2px);box-shadow:0 15px 28px rgba(9,30,58,.2)}
.contact-path-message{background:linear-gradient(135deg,#fff 0%,#f2f6fb 100%);border:1px solid #d7e2ef;color:#091f38}
.contact-path-service{background:linear-gradient(110deg,#0c3153 0%,#051c34 100%);border:2px solid #ffba24;color:#fff}
.path-icon{width:84px;height:84px;flex:none;display:grid;place-items:center;border-radius:19px}
.path-icon svg{width:46px;height:46px;stroke-width:1.8}
.path-icon-envelope{color:#d99400;background:linear-gradient(140deg,#fff7e9,#f8eac9)}
.path-icon-clipboard{color:#ffb51e;background:#1c3a56}
.path-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.path-copy strong{font-size:clamp(20px,2vw,28px);letter-spacing:-.04em;font-weight:800;line-height:1.1}
.path-copy small{font-size:13px;line-height:1.5;color:#243951}
.contact-path-service .path-copy small{color:#e5eff9}
.path-arrow{width:26px;height:26px;flex:none}
.contact-main-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:22px;align-items:stretch}
.contact-panel{border-radius:18px;border:1px solid #d7e2ef;background:linear-gradient(140deg,#fff,#f8fbfe);box-shadow:0 9px 21px rgba(6,34,64,.08);padding:26px 28px}
.contact-panel-heading{display:flex;align-items:flex-start;gap:18px;margin-bottom:17px}
.contact-panel-heading>svg{width:40px;height:40px;color:#e6a000;stroke-width:1.8;flex:none}
.contact-panel-heading h2{font-size:26px;margin:0 0 5px;font-weight:800;letter-spacing:-.04em}
.contact-panel-heading p{margin:0;font-size:12px;line-height:1.45}
.contact-fields-pair{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.contact-field{position:relative;display:block;margin-bottom:12px}
.contact-field svg{position:absolute;top:12px;left:16px;width:21px;height:21px;stroke-width:1.8;pointer-events:none;color:#071f38}
.contact-field input{width:100%;height:45px;border:1px solid #c6d7e8;border-radius:7px;background:#fff;color:#09243f;padding:9px 13px 9px 48px;font-size:13px;outline-offset:2px}
.contact-field input::placeholder,.contact-message-field textarea::placeholder{color:#4f6075;opacity:1}
.contact-subject-label{display:grid;grid-template-columns:102px 1fr;gap:14px;align-items:center;margin-bottom:12px}
.contact-subject-label strong{font-size:13px}
.contact-subject-label select{width:100%;height:44px;border:1px solid #c6d7e8;border-radius:7px;background:white;padding:0 13px;font-size:13px;color:#09243f}
.contact-message-field{display:block;border:1px solid #c6d7e8;border-radius:7px;background:#fff;margin-bottom:12px;padding:12px 16px 8px}
.contact-message-field>span{display:flex;gap:12px;align-items:center;font-size:13px}
.contact-message-field svg{height:19px;width:19px;stroke-width:1.8}
.contact-message-field textarea{display:block;width:100%;border:0;background:transparent;resize:vertical;padding:10px 0 3px 36px;min-height:76px;color:#09243f;outline-offset:2px;font-size:13px}
.contact-attachment{border:1px solid #d1dce8;background:#f4f7fb;border-radius:8px;min-height:59px;padding:10px 12px;display:flex;gap:12px;align-items:center;margin-bottom:16px}
.attachment-icon svg{width:23px;height:23px;stroke-width:1.8}
.contact-attachment-copy{display:flex;flex-direction:column;gap:2px;flex:1}
.contact-attachment-copy strong{font-size:13px}
.contact-attachment-copy small{font-size:11px;color:#52647a}
.contact-attachment input[type=file]{max-width:175px;font-size:11px;color:transparent}
.contact-attachment input::file-selector-button{font-size:12px;color:#071f38;border:1px solid #aebed1;border-radius:6px;background:#fff;padding:7px 10px;cursor:pointer}
.contact-submit{width:100%;min-height:48px;font-size:15px;gap:12px}
.contact-submit svg{width:21px;height:21px}
.contact-status{margin:10px 0 0;min-height:0;font-size:13px;line-height:1.5}
.contact-status:empty{display:none}
.contact-status.success{color:#146238}.contact-status.error{color:#ba341e}
.contact-office-panel{display:flex;flex-direction:column}
.contact-office-title{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.contact-office-title svg{width:32px;height:32px;color:#e2a012}
.contact-office-title h2{font-size:20px;font-weight:800;margin:0}
.contact-office-panel h3{font-size:20px;margin:0 0 9px;font-weight:800}
.office-address{font-size:14px;line-height:1.5;margin:0 0 14px;color:#122f4b}
.office-contacts{border-top:1px solid #ccdae7;padding-top:12px;display:flex;flex-direction:column;gap:12px;margin-bottom:16px}
.office-contacts a{display:flex;align-items:center;gap:11px;font-size:13px;color:#09243f}
.office-contacts svg{color:#db9811;width:20px;height:20px;stroke-width:1.9;flex:none}
.office-contacts a:hover{text-decoration:underline}
.contact-map{margin-top:auto;overflow:hidden;border-radius:10px;min-height:240px;background:#e8eef2;border:1px solid #d0dbe7}
.contact-map iframe{width:100%;height:260px;display:block;border:0}
@media(max-width:1000px){.contact-path{padding:15px;gap:14px}.path-icon{width:64px;height:64px}.path-icon svg{width:35px;height:35px}.contact-main-grid{grid-template-columns:1fr 1fr}.contact-panel{padding:20px}.contact-panel-heading h2{font-size:23px}}
@media(max-width:760px){.contact-hero{min-height:390px}.contact-hero-inner{min-height:390px;padding-bottom:130px;align-items:center}.contact-hero-overlay{background:linear-gradient(90deg,rgba(4,25,46,.94),rgba(4,25,46,.65) 60%,rgba(4,25,46,.12))}.contact-hero-text{padding-left:16px}.contact-hero h1{font-size:clamp(30px,7vw,39px)}.contact-hero-text>p:last-child{font-size:14px}.contact-page-body{margin-top:-106px}.contact-paths{grid-template-columns:1fr;gap:12px;margin-bottom:20px}.contact-path{min-height:98px;padding:15px 17px}.path-copy strong{font-size:22px}.path-copy small{font-size:12px}.desktop-only{display:none}.contact-main-grid{grid-template-columns:1fr;gap:18px}.contact-panel{padding:21px 17px}.contact-fields-pair{grid-template-columns:1fr;gap:0}.contact-map{min-height:230px}.contact-map iframe{height:240px}}
@media(max-width:420px){.contact-path{gap:10px}.path-icon{width:55px;height:55px;border-radius:14px}.path-icon svg{width:30px;height:30px}.path-copy strong{font-size:19px}.path-arrow{width:18px;height:18px}.contact-subject-label{grid-template-columns:1fr;gap:5px}.contact-attachment{flex-wrap:wrap}.contact-attachment input[type=file]{max-width:100%}}

/* V31 – approved contact refinements */
@media(min-width:421px){.contact-subject-label{grid-template-columns:88px minmax(0,1fr);column-gap:8px}}
.contact-subject-label select{appearance:none;-webkit-appearance:none;padding:0 42px 0 15px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23071f38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 19px center;background-size:17px 17px}
.contact-attachment{padding-right:6px}
.contact-attachment input[type=file]{max-width:148px;margin-left:auto;text-align:right}
.contact-attachment input::file-selector-button{margin-right:0}
.contact-path-service .path-arrow-external{width:32px;height:32px;stroke:#fff;flex:none}
@media(max-width:420px){.contact-subject-label{grid-template-columns:1fr;gap:5px}.contact-attachment input[type=file]{max-width:147px;margin-left:auto}.contact-path-service .path-arrow-external{width:23px;height:23px}}

/* V32 — contact form spacing only; desktop/tablet and mobile */
@media (min-width:421px){
  .ga-contact-page .contact-subject-label{grid-template-columns:78px minmax(0,1fr);column-gap:6px}
}
.ga-contact-page .contact-attachment{padding-right:7px}
.ga-contact-page .contact-attachment input[type="file"]{
  width:134px;max-width:134px;flex:0 0 134px;margin-left:auto;
  overflow:hidden;white-space:nowrap;font-size:0;color:transparent;
}
.ga-contact-page .contact-attachment input[type="file"]::file-selector-button{
  box-sizing:border-box;width:130px;min-height:35px;padding:8px 10px;
  margin:0;white-space:nowrap;font-size:12px;font-weight:600;
}
@media(max-width:420px){
  .ga-contact-page .contact-attachment input[type="file"]{width:134px;max-width:134px;flex:0 0 134px;margin-left:auto}
}

/* v06: keep the same external-link design as home service CTA */
.ga-contact-page .contact-path-service .ga-external-link-icon{overflow:visible!important;stroke:#fff!important;}

/* v07: unify Request a Service colour with homepage; no geometry changes */
.ga-contact-page .contact-path-service {
 background:linear-gradient(115deg,rgba(30,84,124,.96) 0%,rgba(17,64,103,.96) 52%,rgba(10,49,87,.97) 100%)!important;
 border-color:#e8aa17!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 12px 22px rgba(9,30,58,.13)!important;
 backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.ga-contact-page .contact-path-service .path-copy small{color:#e2edf7!important}

/* v07 corrected: match homepage Request a Service visual theme. */
.ga-contact-page .contact-path-service .path-icon-clipboard {background:rgba(255,255,255,.09)!important;color:#ffb719!important;border:0!important;border-radius:14px!important;box-shadow:none!important;}
.ga-contact-page .contact-path-service .path-icon-clipboard svg {stroke:#ffb719!important;}
.ga-contact-page .contact-path-service {background:linear-gradient(115deg,rgba(30,84,124,.96) 0%,rgba(17,64,103,.96) 52%,rgba(10,49,87,.97) 100%)!important;border:2px solid #e8aa17!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.30),0 11px 24px rgba(7,31,55,.15)!important;}


/* Same service-card gradient and form-pencil icon as homepage. */
.ga-contact-page .contact-path-service {
 background:linear-gradient(115deg,rgba(12,43,72,.95) 0%,rgba(25,68,103,.91) 49%,rgba(12,45,78,.96) 100%)!important;
 border:2px solid #e8aa17!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.25),inset 0 -1px 0 rgba(0,0,0,.08),0 12px 24px rgba(6,25,48,.16)!important;
 backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
.ga-contact-page .contact-path-service .path-icon-clipboard svg{stroke:#ffbd32!important;width:25px;height:25px}

/* v09: same service gradient and form-pencil icon as home; balanced mail icon */
.ga-contact-page .contact-path-service{background:linear-gradient(115deg,rgba(12,43,72,.95) 0%,rgba(25,68,103,.91) 49%,rgba(12,45,78,.96) 100%)!important}
.ga-contact-page .contact-path-service .path-icon svg{width:39px!important;height:39px!important;stroke-width:1.8!important}
.ga-contact-page .contact-path-message .path-icon svg{width:34px!important;height:34px!important}
@media(max-width:420px){.ga-contact-page .contact-path-service .path-icon svg{width:34px!important;height:34px!important}.ga-contact-page .contact-path-message .path-icon svg{width:30px!important;height:30px!important}}
