/* ══════════════════════════════════════════════════════════════════
   ML CORPORATE SERVICES | Contact page sections

   Section rules only; type roles and buttons come from ml-site.css.
   Sections are addressed by Elementor element ID (#contact-*) because
   containers do not output custom CSS classes in this build.

   The hero is plain white with no photograph, per the page spec.
   ══════════════════════════════════════════════════════════════════ */

#contact-hero,
#contact-enquiry,
#contact-map,
#contact-close{
  --pg-mist-paper:#4a4a4a;
  --pg-line-paper:rgba(0,0,0,.12);
  --pg-stone:#f4f3f1;
}

/* ── Hero (paper, no photograph) ─────────────────────────────────── */

#contact-hero.e-con{
  background-color:var(--ml-paper);
  color:var(--ml-ink);
  padding:clamp(118px,13vh,168px) var(--ml-gut) clamp(48px,6vh,80px);
  justify-content:center;
  align-items:center;
  text-align:center;
  --width:100%;
  max-width:none;
}

#contact-hero-copy.e-con{
  max-width:1120px;
  padding:0;
  align-items:center;
  text-align:center;
  --width:100%;
}

#contact-hero .ml-hero-mark img{
  width:clamp(108px,7.8vw,148px);
  height:auto;
  display:block;
}

#contact-hero .ml-hero-mark{margin-bottom:clamp(18px,2.8vh,28px)}

#contact-hero .elementor-heading-title{color:var(--ml-ink)}
#contact-hero .ml-eyebrow .elementor-heading-title{color:var(--ml-grey)}

#contact-hero .ml-page-title .elementor-heading-title{
  max-width:24ch;
  margin-top:clamp(14px,2vh,22px);
}

#contact-hero .ml-lead{margin-top:clamp(20px,2.8vh,32px);max-width:820px}
#contact-hero .ml-lead p{color:var(--pg-mist-paper)}

/* ── Enquiry (paper, form beside the office panel) ───────────────── */

#contact-enquiry.e-con{
  background-color:var(--ml-paper);
  color:var(--ml-ink);
  padding:clamp(48px,6vw,74px) var(--ml-gut) clamp(110px,13vw,170px);
  --width:100%;
  max-width:none;
}

#contact-enquiry-wrap.e-con{
  max-width:1240px;
  margin:0 auto;
  padding:0;
  gap:80px;
  align-items:flex-start;
}

#contact-enquiry-a.e-con{padding:0;--width:58%;max-width:none}
#contact-enquiry-b.e-con{padding:0;--width:42%;max-width:none}

#contact-enquiry .ml-eyebrow .elementor-heading-title{color:var(--ml-grey)}
#contact-enquiry .ml-section-title .elementor-heading-title{margin:16px 0 18px}

#contact-enquiry .ml-body,
#contact-enquiry .ml-body p{color:var(--pg-mist-paper);max-width:52ch}

/* ── The enquiry form ────────────────────────────────────────────── */

.ml-enquiry-form{margin-top:40px}

.ml-enquiry-form form{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px 24px;
}

.ml-enquiry-form .fld{display:flex;flex-direction:column;gap:9px;min-width:0}
.ml-enquiry-form .fld.full{grid-column:1/-1}

.ml-enquiry-form label{
  font-family:"Archivo",Helvetica,Arial,sans-serif;
  font-weight:600;
  font-size:.6875rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ml-grey);
}

.ml-enquiry-form input,
.ml-enquiry-form textarea,
.ml-enquiry-form select{
  font-family:"Literata",Georgia,serif;
  font-size:1rem;
  color:var(--ml-ink);
  background:transparent;
  border:none;
  border-bottom:1px solid rgba(0,0,0,.18);
  border-radius:0;
  padding:10px 2px;
  width:100%;
  max-width:100%;
  box-shadow:none;
  transition:border-color .25s ease;
}

.ml-enquiry-form input:focus,
.ml-enquiry-form textarea:focus,
.ml-enquiry-form select:focus{
  outline:none;
  border-bottom:2px solid var(--ml-ink);
  border-color:var(--ml-ink);
}

.ml-enquiry-form textarea{resize:vertical;min-height:90px}

.ml-enquiry-form .consent{
  grid-column:1/-1;
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-top:4px;
}

.ml-enquiry-form .consent input{
  width:18px;
  height:18px;
  flex:none;
  margin-top:2px;
  border:1px solid rgba(0,0,0,.4);
}

.ml-enquiry-form .consent label{
  text-transform:none;
  letter-spacing:0;
  font-family:"Literata",Georgia,serif;
  font-weight:400;
  font-size:.9062rem;
  line-height:1.55;
  color:var(--pg-mist-paper);
}

.ml-enquiry-form .form-status{
  grid-column:1/-1;
  font-family:"Literata",Georgia,serif;
  font-size:.9375rem;
  line-height:1.6;
  margin:2px 0 0;
}

.ml-enquiry-form .form-status.ok{color:var(--ml-ink)}
.ml-enquiry-form .form-status.err{color:var(--pg-mist-paper)}
.ml-enquiry-form .form-status[hidden]{display:none}

.ml-enquiry-form button[type="submit"]{
  grid-column:1/-1;
  justify-self:start;
  margin-top:10px;
  font-family:"Literata",Georgia,serif;
  font-weight:520;
  font-size:1rem;
  letter-spacing:.015em;
  border-radius:0;
  border:1px solid var(--ml-ink);
  background-color:var(--ml-ink);
  color:var(--ml-paper);
  padding:18px 38px;
  cursor:pointer;
  transition:background-color .3s ease,color .3s ease;
}

.ml-enquiry-form button[type="submit"]:hover{
  background-color:transparent;
  color:var(--ml-ink);
}

/* ── Office panel ────────────────────────────────────────────────── */

.ml-office-panel .ml-office{
  background-color:var(--pg-stone);
  border:1px solid rgba(0,0,0,.06);
  border-radius:12px;
  padding:44px 40px;
}

.ml-office-panel .ml-office-h{
  font-family:"Archivo",Helvetica,Arial,sans-serif;
  font-weight:600;
  font-size:.75rem;
  letter-spacing:.3em;
  text-transform:uppercase;
  color:var(--ml-grey);
  margin:0 0 22px;
}

.ml-office-panel .orow{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:18px 0;
  border-top:1px solid var(--pg-line-paper);
}

.ml-office-panel .orow:first-of-type{border-top:none;padding-top:0}

.ml-office-panel .orow svg{
  width:19px;
  height:19px;
  flex:none;
  margin-top:3px;
  color:var(--ml-ink);
}

.ml-office-panel .obody{
  font-family:"Literata",Georgia,serif;
  font-size:1rem;
  line-height:1.6;
  color:var(--ml-ink);
  min-width:0;
  overflow-wrap:anywhere;
}

.ml-office-panel .obody .mut{color:var(--pg-mist-paper)}

.ml-office-panel .orow a{
  color:inherit;
  text-decoration:none;
  border-bottom:1px solid var(--pg-line-paper);
}

.ml-office-panel .connect{
  margin-top:34px;
  padding-top:26px;
  border-top:1px solid var(--pg-line-paper);
  display:flex;
  flex-direction:column;
  gap:14px;
}

.ml-office-panel .connect .lbl{
  font-family:"Archivo",Helvetica,Arial,sans-serif;
  font-weight:600;
  font-size:.75rem;
  letter-spacing:.3em;
  text-transform:uppercase;
  color:var(--ml-grey);
}

.ml-office-panel .connect a{
  font-family:"Literata",Georgia,serif;
  font-size:1rem;
  color:var(--ml-ink);
  text-decoration:none;
  border-bottom:1px solid var(--ml-ink);
  width:max-content;
  max-width:100%;
  padding-bottom:3px;
  transition:opacity .3s ease;
}

.ml-office-panel .connect a:hover{opacity:.6}

/* ── Map ─────────────────────────────────────────────────────────── */

#contact-map.e-con{
  background-color:var(--pg-stone);
  padding:0;
  --width:100%;
  max-width:none;
}

.ml-map-embed{width:100%;line-height:0}

.ml-map-embed .ml-map{
  display:block;
  width:100%;
  height:440px;
  border:none;
  filter:grayscale(1) contrast(1.05);
}

/* ── Closing (ink) ───────────────────────────────────────────────── */

#contact-close.e-con{
  background-color:var(--ml-ink);
  color:var(--ml-paper);
  padding:clamp(120px,14vw,180px) var(--ml-gut);
  text-align:center;
  align-items:center;
  --width:100%;
  max-width:none;
}

#contact-close .ml-eyebrow .elementor-heading-title{color:var(--ml-grey-light)}

#contact-close .ml-statement .elementor-heading-title{
  color:var(--ml-paper);
  max-width:30ch;
  margin:26px auto 0;
}

#contact-close-actions.e-con{
  margin-top:60px;
  padding:0;
  gap:20px;
  justify-content:center;
  flex-wrap:wrap;
  --width:auto;
}

/* ── Responsive ─────────────────────────────────────────────────── */

@media (max-width:1180px){
  #contact-enquiry-wrap.e-con{flex-direction:column;gap:50px}
  #contact-enquiry-a.e-con,
  #contact-enquiry-b.e-con{--width:100%}
  #contact-hero .ml-page-title .elementor-heading-title{max-width:none}
}

@media (max-width:782px){
  .ml-enquiry-form form{grid-template-columns:minmax(0,1fr)}
  .ml-office-panel .ml-office{padding:36px 28px}
  .ml-map-embed .ml-map{height:340px}
}

@media (max-width:430px){
  #contact-hero.e-con,
  #contact-enquiry.e-con,
  #contact-close.e-con{padding-left:24px;padding-right:24px}
  .ml-office-panel .ml-office{padding:30px 24px}
  .ml-enquiry-form button[type="submit"]{width:100%;padding:16px 30px}
  .ml-map-embed .ml-map{height:280px}
  #contact-close-actions.e-con{flex-direction:column;align-items:stretch;--width:100%}
  #contact-close-actions .elementor-button{width:100%}
}
