/* Global IT Solutions Contact — same-size in-page view: Home and Services remain unchanged. */
.contact-panel[hidden] { display:none !important; }
body.contact-active .hero, body.contact-active .services-panel { display:none !important; }
body.contact-active .contact-panel { display:flex; animation:contact-arrive .3s ease-out both; }
@keyframes contact-arrive { from {opacity:0; transform:translateY(7px)} to {opacity:1;transform:none} }
.contact-panel { position:relative; flex:1 1 auto; min-height:0; width:100%; z-index:2; overflow:auto; overscroll-behavior:contain; scrollbar-color:#147fc5 transparent; color:#fff; }
.contact-panel-inner { width:100%; max-width:1820px; min-height:100%; margin:auto; display:grid; grid-template-columns:minmax(250px,.89fr) minmax(350px,1.13fr) minmax(340px,1.35fr); align-items:center; gap:clamp(13px,1.45vw,27px); padding:clamp(10px,1.7vh,20px) clamp(30px,4vw,78px) clamp(12px,1.5vh,20px); }
.contact-introduction { min-width:0; }
.contact-kicker { display:flex;align-items:center;gap:12px;margin:0 0 17px;color:#2ad7f9;font:800 clamp(12px,.87vw,16px) Manrope,Inter,sans-serif;letter-spacing:.2em;white-space:nowrap; }
.contact-kicker-line { width:40px;height:2px;background:#1fd8ff;box-shadow:0 0 12px #00bfff; }
.contact-introduction h2 { font:800 clamp(37px,3.3vw,58px)/1.10 Manrope,Inter,sans-serif; letter-spacing:-.045em; margin:0 0 19px;color:#fff;text-rendering:geometricPrecision; }
.contact-introduction h2 span { display:block;color:#12cafa; }
.contact-lead { font:450 clamp(13px,.88vw,16px)/1.6 Inter,'Segoe UI',sans-serif;color:#e1eaf5;margin:0 0 28px;max-width:405px; }
.contact-methods { display:grid;gap:14px;max-width:390px; }
.contact-method { display:flex;align-items:center;gap:17px;min-height:87px;padding:11px 17px;background:linear-gradient(135deg,rgba(4,34,77,.66),rgba(0,12,34,.71));border:1px solid #078be1;border-radius:14px;box-shadow:inset 0 1px rgba(86,214,255,.11);backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px); }
.contact-method-icon { flex:none;display:grid;place-items:center;width:50px;height:50px;border:1px solid #087fff;border-radius:50%;background:radial-gradient(circle,#0969c9,#00132c 68%);box-shadow:0 0 16px rgba(0,125,255,.42); }
.contact-method-icon svg { height:25px;width:25px;stroke:#f0fcff;stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round; }
.contact-method>span:last-child { min-width:0;display:grid;gap:6px; }
.contact-method strong {font:800 clamp(14px,.92vw,17px) Manrope,Inter,sans-serif;}
.contact-method small {font:500 clamp(12px,.8vw,15px) Inter,sans-serif;color:#e0eafa;overflow-wrap:anywhere;}
.contact-method[href]:hover {border-color:#66e0ff;box-shadow:0 0 20px rgba(0,149,255,.18);}
.contact-form-card { min-width:0; padding:clamp(20px,1.9vw,31px);background:linear-gradient(155deg,rgba(5,34,70,.82),rgba(0,12,35,.86));border:1px solid #0cafff;border-radius:16px;box-shadow:inset 0 1px rgba(154,226,255,.14),0 0 20px rgba(0,121,252,.17);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px); }
.contact-form-heading h3 {font:800 clamp(20px,1.4vw,26px) Manrope,Inter,sans-serif;letter-spacing:-.03em;margin:0 0 7px;color:white;}
.contact-form-heading p {font:450 clamp(11px,.75vw,14px)/1.5 Inter,sans-serif;color:#dbe7fa;margin:0 0 18px;}
#contact-mail-form {display:grid;gap:clamp(9px,1.25vh,14px);}
.sr-only {position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.contact-field {display:flex;align-items:center;gap:12px;min-height:clamp(44px,5.65vh,54px);padding:0 14px;border:1px solid rgba(12,138,237,.73);border-radius:11px;background:rgba(0,32,68,.64);transition:border-color .18s,box-shadow .18s;}
.contact-field:focus-within {border-color:#64dcff;box-shadow:0 0 0 2px rgba(9,170,248,.18);}
.contact-field svg {width:23px;height:23px;flex:0 0 23px;stroke:#e6f4ff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none;}
.contact-field input,.contact-field select,.contact-field textarea {appearance:none;-webkit-appearance:none;min-width:0;width:100%;border:0;outline:0;background:transparent;color:#fff;font:500 clamp(12px,.82vw,15px) Inter,sans-serif;padding:12px 0;}
.contact-field input::placeholder,.contact-field textarea::placeholder {color:#d4e1f3;opacity:1;}
.contact-field select {cursor:pointer;}
.contact-field select:invalid {color:#d4e1f3;}
.contact-field option {color:#102a48;background:#eaf5ff;}
.contact-field:has(select)::after {content:'';width:9px;height:9px;border-bottom:2px solid #ccecff;border-right:2px solid #ccecff;transform:translateY(-3px) rotate(45deg);flex:none;margin-right:3px;pointer-events:none;}
.contact-field-message {align-items:flex-start;padding-top:12px;min-height:clamp(92px,14vh,124px);}
.contact-field-message textarea {padding:0 0 9px;min-height:76px;height:100%;resize:vertical;line-height:1.45;}
.contact-send-button {width:100%;min-height:clamp(48px,6.35vh,60px);display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #5ff9ff;border-radius:25px;background:linear-gradient(95deg,#04d6ed,#0479fb);color:#fff;font:700 15px Inter,sans-serif;cursor:pointer;box-shadow:0 7px 22px rgba(0,167,240,.25);}
.contact-send-button:hover {filter:brightness(1.11);}
.contact-send-button svg {width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.contact-form-note {margin:0;color:#b4cfe8;font-size:10px;line-height:1.35;text-align:center;}
.contact-agent-card {min-width:0;position:relative;overflow:hidden;border-radius:17px;border:1px solid rgba(9,170,255,.8);height:clamp(405px,67vh,610px);background:rgba(1,26,56,.76);box-shadow:0 0 22px rgba(0,133,255,.13), inset 0 1px rgba(120,222,255,.24);}
.contact-agent-card img {display:block;width:100%;height:100%;object-fit:cover;object-position:50% 45%;}
.agent-shine {pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,rgba(1,9,27,.12),transparent 45%,rgba(1,10,26,.20));box-shadow:inset 0 0 25px rgba(1,23,68,.3);}
@media (min-width:1101px) and (max-height:760px){
 .contact-panel-inner {padding-block:6px;gap:16px;}
 .contact-introduction h2 {font-size:clamp(34px,2.9vw,47px);margin-bottom:12px;}
 .contact-lead {font-size:13px;line-height:1.42;margin-bottom:14px;}
 .contact-kicker {margin-bottom:11px;}
 .contact-methods {gap:9px;}
 .contact-method {min-height:66px;padding:7px 10px;gap:11px;}
 .contact-method-icon {width:43px;height:43px;}
 .contact-form-card {padding:16px;}
 .contact-form-heading p {margin-bottom:10px;}
 #contact-mail-form {gap:8px;}
 .contact-field {min-height:41px;}
 .contact-field-message {min-height:80px;padding-top:8px;}
 .contact-field-message textarea {min-height:60px;}
 .contact-send-button {min-height:46px;}
 .contact-agent-card {height:clamp(350px,66vh,510px);}
}
@media (max-width:1190px) and (min-width:1101px){
 .contact-panel-inner {grid-template-columns:minmax(220px,.85fr) minmax(290px,1.1fr) minmax(290px,1.15fr);padding-inline:22px;gap:11px;}
 .contact-form-card {padding:15px;}
 .contact-agent-card {height:clamp(365px,65vh,540px);}
}
@media (max-width:1100px) {
 .contact-panel {overflow:visible;display:none;}
 body.contact-active .contact-panel {display:block;}
 .contact-panel-inner {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch;padding:24px 5% 30px;}
 .contact-introduction {grid-column:1/-1;}
 .contact-introduction h2 {font-size:clamp(38px,5vw,54px);}
 .contact-introduction h2 span {display:inline;}
 .contact-lead {max-width:650px;}
 .contact-methods {grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;}
 .contact-form-card {padding:19px;}
 .contact-agent-card {height:auto;min-height:450px;}
}
@media (max-width:650px) {
 .contact-panel-inner {grid-template-columns:1fr;padding:20px 5% 28px;gap:17px;}
 .contact-introduction h2 {font-size:clamp(36px,9vw,45px);margin-bottom:12px;}
 .contact-introduction h2 span {display:block;}
 .contact-lead {font-size:14px;margin-bottom:15px;}
 .contact-methods {grid-template-columns:1fr;gap:9px;}
 .contact-method {min-height:68px;}
 .contact-form-card {padding:19px;}
 .contact-form-heading p {font-size:12px;}
 .contact-agent-card {height:390px;min-height:0;}
 .contact-form-note {font-size:10px;}
}
@media (prefers-reduced-motion:reduce){ body.contact-active .contact-panel{animation:none;} }

/* Contact card alignment refinement — 2026-10-17.
   Same-sized glass form and agent photo, no other page changes. */
@media (min-width: 1101px) {
  .contact-panel-inner {
    grid-template-columns:minmax(245px,.88fr) repeat(2,minmax(0,1.2fr));
    align-items:center;
    gap:clamp(13px,1.25vw,24px);
  }
  .contact-form-card,
  .contact-agent-card {
    box-sizing:border-box;
    width:100%;
    height:clamp(455px,66vh,590px);
    min-height:0;
    align-self:center;
    border-radius:17px;
  }
  .contact-form-card {
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    padding:clamp(16px,1.45vw,27px);
  }
  .contact-form-heading {flex:0 0 auto;}
  #contact-mail-form {
    display:flex;
    flex:1 1 auto;
    min-height:0;
    flex-direction:column;
    gap:clamp(7px,1vh,12px);
  }
  .contact-field:not(.contact-field-message) {flex:0 0 auto;}
  .contact-field-message {flex:1 1 auto;min-height:90px;overflow:hidden;}
  .contact-field-message textarea {height:100%;min-height:0;resize:none;}
  .contact-send-button, .contact-form-note {flex:0 0 auto;}
  .contact-agent-card img {width:100%;height:100%;object-fit:cover;object-position:50% 45%;}
}
@media (min-width: 1101px) and (max-width: 1190px) {
  .contact-panel-inner {
    grid-template-columns:minmax(210px,.84fr) repeat(2,minmax(0,1.2fr));
    padding-inline:22px;
    gap:12px;
  }
  .contact-form-card {padding:14px;}
}
@media (min-width: 651px) and (max-width: 1100px) {
  .contact-form-card, .contact-agent-card {
    width:100%;height:auto;min-height:480px;align-self:stretch;
  }
  .contact-form-card {display:flex;flex-direction:column;}
  #contact-mail-form {display:flex;flex:1;flex-direction:column;}
  .contact-field-message {flex:1;}
  .contact-field-message textarea {height:100%;}
}
