
:root{
  --contact-navy:#073b5c;
  --contact-navy-deep:#052c47;
  --contact-text:#10243a;
  --contact-muted:#66778a;
  --contact-line:#dce5ee;
  --contact-soft:#f5f8fb;
  --contact-blue-soft:#eef6fd;
}

.contact-page,
.contact-page *{box-sizing:border-box}

.contact-page{
  color:var(--contact-text);
  background:#fff;
  font-family:inherit;
}

.contact-page a{color:var(--contact-navy)}

.contact-shell{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
}

.contact-hero{
  position:relative;
  min-height:330px;
  overflow:hidden;
  background:#dfe7ec;
}

.contact-hero__image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
}

.contact-hero__shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.92) 0%,rgba(255,255,255,.80) 27%,rgba(255,255,255,.38) 47%,rgba(4,30,48,.02) 70%,rgba(4,30,48,.08) 100%);
}

.contact-hero__content{
  position:relative;
  z-index:2;
  min-height:330px;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  padding-top:36px;
  padding-bottom:36px;
}


.contact-hero h1{
  margin:0 0 18px;
  color:#0b1c2d !important;
  font-size:clamp(2.6rem,5vw,4.65rem);
  line-height:1.02;
  letter-spacing:-.045em;
  font-weight:800;
}

.contact-hero__copy p{
  margin:0;
  max-width:650px;
  color:#596f86;
  font-size:clamp(1rem,1.6vw,1.25rem);
  line-height:1.55;
}


.contact-main{
  padding:62px 0 34px;
}

.contact-layout{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  gap:48px;
  align-items:start;
}

.contact-form-card{
  padding:38px;
  border:1px solid #edf1f5;
  border-radius:14px;
  background:linear-gradient(145deg,#fff 0%,#f8fafc 100%);
  box-shadow:0 14px 44px rgba(14,49,75,.06);
}

.contact-form-card h2,
.contact-info h2,
.contact-help h2{
  color:#0b1c2d !important;
  margin:0;
  font-weight:800;
}

.contact-form-card h2,
.contact-info h2{
  font-size:2rem;
}

.contact-form-card > p,
.contact-info__heading > p{
  margin:8px 0 28px;
  color:var(--contact-muted);
  font-size:16px;
}

.contact-form{
  display:grid;
  gap:10px;
}

.contact-form label{
  margin-top:8px;
  font-weight:700;
  color:#132438;
  font-size:15px;
}

.contact-form label span{color:#b32727}

.contact-form input,
.contact-form textarea{
  width:100%;
  border:1px solid #cfd9e4;
  border-radius:6px;
  background:#fff;
  color:#10243a;
  padding:13px 15px;
  font:inherit;
  line-height:1.4;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease;
}

.contact-form textarea{
  min-height:160px;
  resize:vertical;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color:#437ea6;
  box-shadow:0 0 0 3px rgba(67,126,166,.12);
}

.contact-submit{
  justify-self:start;
  margin-top:18px;
  min-height:54px;
  padding:0 24px;
  display:inline-flex;
  align-items:center;
  gap:20px;
  border:0;
  border-radius:7px;
  background:var(--contact-navy);
  color:#fff !important;
  font:inherit;
  font-weight:700;
  cursor:pointer;
  transition:transform .15s ease,background .15s ease;
}

.contact-submit:hover{
  background:var(--contact-navy-deep);
  transform:translateY(-1px);
}

.contact-alert{
  margin:0 0 20px;
  padding:13px 15px;
  border-radius:7px;
  font-size:14px;
  line-height:1.5;
}

.contact-alert--success{
  background:#edf8f1;
  border:1px solid #b9dec6;
  color:#225d36;
}

.contact-alert--error{
  background:#fff1f1;
  border:1px solid #e8bcbc;
  color:#7d2727;
}

.contact-honeypot{
  position:absolute !important;
  left:-10000px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

.contact-info{
  padding:4px 0 0;
}

.contact-info__heading{
  margin-bottom:16px;
}

.contact-detail{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:16px;
  align-items:start;
  margin:0 0 24px;
}

.contact-icon,
.contact-help__icon{
  display:grid;
  place-items:center;
  background:var(--contact-blue-soft);
  color:var(--contact-navy);
}

.contact-icon{
  width:52px;
  height:52px;
  border-radius:11px;
}

.contact-icon svg,
.contact-help__icon svg{
  width:25px;
  height:25px;
  fill:currentColor;
}

.contact-detail h3{
  color:#101f30 !important;
  margin:1px 0 3px;
  font-size:16px;
  font-weight:800;
}

.contact-detail p,
.contact-detail a,
.contact-detail small{
  display:block;
  margin:0;
  color:#566b80;
  font-size:16px;
  line-height:1.45;
}

.contact-detail a{
  color:#074d81;
  font-weight:600;
  text-decoration:none;
}

.contact-detail small{
  color:#6f8193;
  font-size:14px;
  margin-top:2px;
}

.contact-map{
  margin-top:12px;
  height:265px;
  overflow:hidden;
  border:1px solid #dbe5ed;
  border-radius:12px;
  background:#eef3f7;
}

.contact-map iframe{
  display:block;
  width:100%;
  height:100%;
  border:0;
}

.contact-help{
  padding:14px 0 70px;
}

.contact-help__box{
  display:grid;
  grid-template-columns:82px 1px minmax(0,1fr);
  gap:30px;
  align-items:center;
  padding:32px 36px;
  border-radius:13px;
  background:linear-gradient(100deg,#f1f7fc 0%,#eaf4fc 100%);
}

.contact-help__icon{
  width:72px;
  height:72px;
  border-radius:50%;
}

.contact-help__divider{
  width:1px;
  height:70px;
  background:#bcd4e7;
}

.contact-help h2{
  font-size:1.7rem;
  margin-bottom:8px;
}

.contact-help p{
  margin:0;
  max-width:970px;
  color:#536b82;
  font-size:16px;
  line-height:1.6;
}

@media(max-width:980px){
  .contact-layout{
    grid-template-columns:1fr;
    gap:38px;
  }

  .contact-info{
    padding:0;
  }

  .contact-hero__quote{
    display:none;
  }

  .contact-hero__shade{
    background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.86) 48%,rgba(255,255,255,.22) 100%);
  }
}

@media(max-width:700px){
  .contact-shell{
    width:min(100% - 30px,1180px);
  }

  .contact-hero,
  .contact-hero__content{
    min-height:440px;
  }

  .contact-hero__image{
    object-position:58% center;
  }

  .contact-hero__shade{
    background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.88) 64%,rgba(255,255,255,.48) 100%);
  }

  .contact-hero__content{
    align-items:flex-start;
    padding-top:48px;
  }

  .contact-hero h1{
    font-size:2.65rem;
    max-width:520px;
  }

  .contact-hero__copy p br{display:none}

  .contact-main{
    padding-top:38px;
  }

  .contact-form-card{
    padding:26px 20px;
  }

  .contact-help{
    padding-bottom:44px;
  }

  .contact-help__box{
    grid-template-columns:56px minmax(0,1fr);
    gap:18px;
    padding:24px 20px;
  }

  .contact-help__icon{
    width:56px;
    height:56px;
  }

  .contact-help__divider{
    display:none;
  }
}

@media(max-width:480px){
  .contact-hero h1{
    font-size:2.25rem;
  }

  .contact-detail{
    grid-template-columns:44px minmax(0,1fr);
    gap:13px;
  }

  .contact-icon{
    width:44px;
    height:44px;
  }

  .contact-help__box{
    grid-template-columns:1fr;
  }
}


.contact-field-help {
  display: block;
  margin: -6px 0 14px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
}

/* Optional project drawing attachment */
.contact-file-field{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:58px;
  margin-top:1px;
  padding:8px 10px;
  border:1px dashed #b9c9d8;
  border-radius:7px;
  background:#f8fbfd;
}

.contact-file-input{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

.contact-file-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:42px;
  margin:0;
  padding:9px 18px;
  border:0;
  border-radius:6px;
  background:var(--contact-navy);
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font:inherit;
  font-weight:700;
  line-height:1.2;
  cursor:pointer;
  transition:transform .15s ease, opacity .15s ease;
}

.contact-file-button:hover{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  opacity:.94;
}

.contact-file-button:active{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  transform:translateY(1px);
}

.contact-file-input:focus + .contact-file-button{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  outline:3px solid rgba(8,120,191,.25);
  outline-offset:2px;
}

.contact-file-name{
  min-width:0;
  color:#53687d;
  font-size:15px;
  line-height:1.35;
  overflow-wrap:anywhere;
}

@media(max-width:520px){
  .contact-file-field{
    align-items:flex-start;
    flex-direction:column;
    gap:9px;
  }

  .contact-file-button{
    width:100%;
  }
}

