/* ==========================================================================
   Sir Walter Land Group — Contact page (design-handoff/contact-page-final)
   Loaded on the Contact page only. Brand primitives from swl.css (:root --swl-*).
   ========================================================================== */
.swl-contact{
  --g:clamp(16px,4.4vw,64px);
  --serif:"Liberation Serif","Times New Roman",Times,serif;
  --sans:"Source Sans 3","Segoe UI",Arial,sans-serif;
  --lbl:Manrope,"Segoe UI",Arial,sans-serif;
  color:var(--swl-charcoal);font-family:var(--sans);overflow-x:clip;
}
.swl-contact *,.swl-contact *::before,.swl-contact *::after{box-sizing:border-box}
.swl-contact .swl-c-in{position:relative;max-width:1440px;margin:0 auto}
.swl-contact :focus-visible{outline:2px solid var(--swl-dark-brass);outline-offset:3px}
.swl-contact .swl-c-hero :focus-visible{outline-color:var(--swl-champagne)}
.swl-contact h1,.swl-contact h2,.swl-contact h3{font-family:var(--serif);font-weight:400;letter-spacing:-.02em;margin:0;text-transform:none}
.swl-contact em{font-style:italic}
.swl-contact p{margin:0}

/* labels + eyebrow */
.swl-contact .swl-c-lbl{font:600 12px/1.5 var(--lbl);letter-spacing:.08em;text-transform:uppercase;color:var(--swl-dark-brass);margin:0}
.swl-contact .swl-c-eyebrow{display:flex;align-items:center;gap:16px;font:600 12px/1.5 var(--lbl);letter-spacing:.08em;text-transform:uppercase;color:var(--swl-dark-brass)}
.swl-contact .swl-c-eyebrow::before{content:"";width:32px;height:2px;background:var(--swl-brass);flex:none}

/* ---------- 01 · Hero + process ---------- */
.swl-c-hero{position:relative;overflow:hidden;background:var(--swl-navy);color:var(--swl-ivory);padding:clamp(32px,3.4vw,52px) var(--g) clamp(24px,2.4vw,36px)}
.swl-c-media{position:absolute;inset:0;z-index:0}
.swl-c-media img,.swl-c-media video{width:100%;height:100%;object-fit:cover;object-position:30% 35%;transform:scaleX(-1);display:block;max-width:none}
.swl-c-scrim{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(16,42,58,.94) 0%,rgba(16,42,58,.82) 34%,rgba(16,42,58,.34) 60%,rgba(16,42,58,.06) 82%),linear-gradient(0deg,rgba(16,42,58,.95) 0%,rgba(16,42,58,.78) 24%,rgba(16,42,58,0) 46%)}
.swl-c-hero .swl-c-in{z-index:2}
.swl-c-intro{max-width:620px;display:flex;flex-direction:column;align-items:flex-start}
.swl-c-hero .swl-c-lbl,.swl-c-hero .swl-c-eyebrow{color:var(--swl-champagne)}
.swl-contact .swl-c-hero h1{font-size:clamp(36px,4.2vw,62px);line-height:1.04;color:var(--swl-ivory);margin:18px 0 0;max-width:14ch;text-wrap:balance}
.swl-c-hero h1 em{color:var(--swl-champagne)}
.swl-c-sub{margin-top:16px!important;max-width:54ch;font:400 17px/1.55 var(--sans);color:rgba(245,242,235,.84);text-wrap:pretty}
.swl-c-sub strong{color:var(--swl-ivory);font-weight:600}
.swl-c-next{margin-top:clamp(28px,3vw,44px)}
.swl-contact .swl-c-next>h2.swl-c-lbl{font:600 12px/1.5 var(--lbl);letter-spacing:.08em;margin:0 0 16px}
.swl-contact ol.swl-c-steps{list-style:none!important;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 0}
.swl-c-steps li{list-style:none;position:relative;border-top:1px solid rgba(245,242,235,.24);padding:16px 28px 0 0;margin:0}
.swl-c-steps li::before{content:"";position:absolute;top:-6px;left:0;width:11px;height:11px;background:var(--swl-brass)}
.swl-contact .swl-c-steps h3{display:grid;grid-template-columns:20px 1fr;align-items:baseline;gap:10px;font-size:inherit;line-height:inherit}
.swl-c-steps .t{font:400 20px/1.2 var(--serif);letter-spacing:-.02em;color:var(--swl-ivory)}
.swl-c-steps p{margin-top:4px;padding-left:30px;font:400 15px/1.45 var(--sans);color:rgba(245,242,235,.9);max-width:30ch}

/* ---------- 02 · Form ---------- */
.swl-c-form{padding:clamp(28px,3vw,44px) var(--g) clamp(56px,6vw,88px)} /* html scroll-padding-top already clears the sticky header */
.swl-c-fhead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 48px;padding-bottom:20px;margin-bottom:28px;border-bottom:1px solid var(--swl-navy);max-width:1040px}
.swl-c-fhead>div{flex:1 1 360px}
.swl-contact .swl-c-fhead h2{font-size:clamp(32px,2.9vw,44px);line-height:1.06;color:var(--swl-navy);margin-top:14px}
.swl-c-fhead h2 em{color:var(--swl-brass)}
.swl-c-fhead>p{flex:1 1 320px;max-width:44ch;font:400 17px/1.55 var(--sans);color:var(--swl-charcoal);text-wrap:pretty}
.swl-c-fbody{max-width:1040px}

/* Fluent Forms → brand fields */
.swl-contact .fluentform{font-family:var(--sans)}
.swl-contact .fluentform form,.swl-contact .fluentform fieldset{margin:0;padding:0;border:0;min-width:0}
.swl-contact .fluentform .ff-t-container{display:flex;gap:0 24px;margin:0 0 20px;padding:0;width:100%}
.swl-contact .fluentform .ff-t-container .ff-t-cell{flex:1 1 0;min-width:0;width:auto!important;padding:0!important}
.swl-contact .fluentform .ff-el-group{margin:0 0 20px}
.swl-contact .fluentform .ff-t-cell>.ff-el-group:last-child,.swl-contact .fluentform .ff-t-container>.ff-el-group{margin-bottom:0}
.swl-contact .fluentform .swl-row-divide{padding-bottom:20px;border-bottom:1px solid var(--swl-stone)}
.swl-contact .fluentform .ff-el-input--label{margin:0 0 6px;padding:0}
.swl-contact .fluentform .ff-el-input--label label{font:600 12px/1.5 var(--lbl)!important;letter-spacing:.08em;text-transform:uppercase;color:var(--swl-dark-brass);margin:0;padding:0}
.swl-contact .fluentform .ff-el-input--label.ff-el-is-required label::after,
.swl-contact .fluentform .ff-el-input--label.asterisk-right label::after{content:none!important}
.swl-contact .fluentform .ff-el-form-control{width:100%;min-height:54px;padding:14px 16px;background:var(--swl-white);border:1px solid var(--swl-slate);border-radius:0;box-shadow:none;font:400 18px/1.4 var(--sans);color:var(--swl-charcoal);transition:border-color .2s}
.swl-contact .fluentform .ff-el-form-control::placeholder{color:var(--swl-slate);opacity:1}
.swl-contact .fluentform .ff-el-form-control:hover{border-color:var(--swl-navy)}
.swl-contact .fluentform .ff-el-form-control:focus{outline:2px solid var(--swl-dark-brass);outline-offset:3px;border-color:var(--swl-navy);box-shadow:none}
.swl-contact .fluentform textarea.ff-el-form-control{resize:vertical;min-height:112px;height:112px}
.swl-contact .fluentform .ff-el-help-message{font:400 14px/1.4 var(--sans);color:var(--swl-slate);margin:6px 0 0;font-style:normal}
.swl-contact .fluentform .ff-el-is-error .ff-el-form-control{border:2px solid #9a2a1c;padding:13px 15px}
.swl-contact .fluentform .error.text-danger,.swl-contact .fluentform .ff-el-is-error .text-danger{font:600 14px/1.4 var(--sans);color:#9a2a1c;margin:6px 0 0;position:static}
.swl-contact .fluentform .ff-errors-in-stack{border-top:2px solid #9a2a1c;background:var(--swl-white);padding:16px 20px;margin:0 0 20px}

/* radio chips */
.swl-contact .fluentform .swl-chips .ff-el-input--content{display:flex;flex-wrap:wrap;gap:8px}
.swl-contact .fluentform .swl-chips-type .ff-el-input--content{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.swl-contact .fluentform .swl-chips .ff-el-form-check{margin:0;padding:0;display:flex}
.swl-contact .fluentform .swl-chips-type .ff-el-form-check,.swl-contact .fluentform .swl-chips-type .ff-el-form-check-label,.swl-contact .fluentform .swl-chips-type .ff-el-form-check-label span{width:100%}
.swl-contact .fluentform .swl-chips .ff-el-form-check-label{position:relative;display:flex;margin:0;padding:0;cursor:pointer}
.swl-contact .fluentform .swl-chips .ff-el-form-check-input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
.swl-contact .fluentform .swl-chips .ff-el-form-check-label span{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid var(--swl-slate);background:var(--swl-white);font:600 15px/1.25 var(--sans);color:var(--swl-navy);transition:background .2s,color .2s,border-color .2s}
.swl-contact .fluentform .swl-chips .ff-el-form-check-label:hover span{border-color:var(--swl-navy)}
.swl-contact .fluentform .swl-chips .ff-el-form-check-input:checked+span{background:var(--swl-navy);color:var(--swl-ivory);border-color:var(--swl-navy);box-shadow:inset 0 -2px 0 var(--swl-brass)}
.swl-contact .fluentform .swl-chips .ff-el-form-check-input:focus-visible+span{outline:2px solid var(--swl-dark-brass);outline-offset:3px}
.swl-contact .fluentform .swl-chips.ff-el-is-error .ff-el-form-check-label span{border-color:#9a2a1c}

.swl-contact .fluentform .swl-chips .ff-el-input--content>.error{flex-basis:100%;grid-column:1/-1;margin-top:2px}

/* submit + notes */
.swl-contact .fluentform .ff_submit_btn_wrapper{margin:4px 0 0;padding-top:24px;border-top:1px solid var(--swl-navy);text-align:left}
.swl-contact .fluentform .ff-btn-submit{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:54px;padding:0 32px;border:1px solid transparent;border-radius:0;background:var(--swl-navy)!important;color:var(--swl-ivory)!important;font:600 13px/1.2 var(--lbl);letter-spacing:.08em;text-transform:uppercase;cursor:pointer;box-shadow:none;transition:background-color .3s var(--swl-ease)}
.swl-contact .fluentform .ff-btn-submit::after{content:"→";transition:transform .35s var(--swl-ease)}
.swl-contact .fluentform .ff-btn-submit:hover{background:var(--swl-charcoal)!important;opacity:1}
.swl-contact .fluentform .ff-btn-submit:hover::after{transform:translateX(4px)}
.swl-contact .fluentform .ff-btn-submit:focus-visible{outline:2px solid var(--swl-dark-brass);outline-offset:3px}
.swl-c-notes{display:flex;flex-direction:column;gap:6px;max-width:64ch;margin-top:14px;font:400 15px/1.55 var(--sans);color:var(--swl-slate);text-wrap:pretty}
.swl-c-notes p:first-child{color:var(--swl-charcoal)}
.swl-contact.is-sent .swl-c-notes{display:none}

/* success state (Fluent same-page confirmation) */
.swl-contact .ff-message-success{border:0;box-shadow:none;background:none;padding:0;margin:0}
.swl-ok{border-top:2px solid var(--swl-brass);padding-top:28px;max-width:720px}
.swl-contact .swl-ok-h{font-size:clamp(32px,2.9vw,44px);line-height:1.08;color:var(--swl-navy);margin-top:18px;text-wrap:balance}
.swl-ok-h em{color:var(--swl-brass)}
.swl-ok-body{margin-top:24px;display:flex;flex-direction:column;gap:14px;font:400 18px/1.6 var(--sans);color:var(--swl-charcoal);max-width:58ch}
.swl-ok-close{margin-top:28px!important;padding-top:18px;border-top:1px solid var(--swl-stone);font:italic 400 20px/1.3 var(--serif);letter-spacing:-.02em;color:var(--swl-slate)}

/* ---------- 03 · Routing ---------- */
.swl-c-route{background:var(--swl-stone);padding:clamp(40px,4.4vw,60px) var(--g)}
.swl-c-route .swl-c-in{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.swl-contact .swl-c-route h2{font-size:clamp(19px,1.5vw,22px);line-height:1.28;color:var(--swl-navy);padding-top:16px}
.swl-c-route .swl-c-in>div{border-top:1px solid var(--swl-navy);padding-top:16px;display:flex;flex-direction:column;gap:4px;align-items:flex-start;min-width:0}
.swl-c-route .swl-c-in>div>p:not(.swl-c-lbl){margin-top:4px;font:400 16px/1.5 var(--sans);color:var(--swl-charcoal)}
.swl-contact .swl-c-tlink{display:inline-flex;align-items:flex-start;gap:12px;min-height:44px;max-width:100%;padding:12px 0 10px;font:600 13px/1.5 var(--lbl);letter-spacing:.08em;text-transform:uppercase;color:var(--swl-navy);text-decoration:none;white-space:normal;background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;transition:background-size .35s var(--swl-ease)}
.swl-contact .swl-c-tlink:hover{background-size:36% 1px;color:var(--swl-navy)}
.swl-c-tlink>span:first-child{flex:0 1 auto}
.swl-c-tlink>span[aria-hidden]{flex:none}

/* routing band sits flush on the global footer, as designed */
.swl-contact-page .site-footer{margin-top:0}
.swl-c-steps li::marker{content:none}

/* ---------- Responsive ---------- */
@media (max-width:1040px){.swl-c-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:850px){
  .swl-c-scrim{background:linear-gradient(90deg,rgba(16,42,58,.9) 0%,rgba(16,42,58,.7) 60%,rgba(16,42,58,.45) 100%),linear-gradient(0deg,rgba(16,42,58,.96) 0%,rgba(16,42,58,.8) 45%,rgba(16,42,58,.2) 75%)}
  .swl-c-media img,.swl-c-media video{object-position:62% 30%}
}
@media (max-width:720px){
  .swl-contact{font-size:17px}
  .swl-contact .fluentform .ff-t-container{flex-direction:column;gap:0}
  .swl-contact .fluentform .ff-t-container .ff-t-cell>.ff-el-group{margin-bottom:18px}
  .swl-contact .fluentform .ff-t-container .ff-t-cell:last-child>.ff-el-group:last-child{margin-bottom:0}
  .swl-contact .fluentform .ff-t-container{margin-bottom:18px}
  .swl-contact .fluentform .swl-chips .ff-el-input--content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .swl-contact .fluentform .swl-chips .ff-el-form-check,.swl-contact .fluentform .swl-chips .ff-el-form-check-label,.swl-contact .fluentform .swl-chips .ff-el-form-check-label span{width:100%}
  .swl-contact .fluentform .ff-btn-submit{width:100%}
}
@media (max-width:520px){.swl-c-steps{grid-template-columns:1fr;row-gap:18px}}
@media (prefers-reduced-motion:reduce){.swl-contact *{transition:none!important}}

/* Privacy note under the submit button (includes/legal.php), all kit inquiry forms */
.swl-contact .fluentform .swl-ff-privacy{margin:14px 0 0;font:400 13px/1.5 "Source Sans 3",Arial,sans-serif;color:var(--swl-slate)}
.swl-contact .fluentform .swl-ff-privacy a{color:inherit;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
.swl-contact .fluentform .swl-ff-privacy a:hover{color:var(--swl-navy)}
