/*
 * Contact page (contact.php), scoped to #dle-contact. October 2026 refresh.
 * Site palette: #1b1b1b / #222 grounds, #2b2b2b fields, gold #aa8453, Gilda headings, Barlow body.
 */

/* ---- hero: shorter than the site's 60vh banner, so the ways to reach us show sooner ---- */
#dle-contact .ct-hero {
    position: relative;
    height: 430px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 15%;      /* a touch high: the property screen is near the top of the photo */
    background-attachment: scroll;
}
/* Instead of a dark wash over the whole office: dark at the lower left, where the title sits, and
   clear over the screen and the wall art. */
#dle-contact .ct-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 75%),
        linear-gradient(0deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 55%),
        linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 30%);   /* keeps the nav readable */
}
#dle-contact .ct-hero .container { position: relative; z-index: 1; width: 100%; }
#dle-contact .ct-hero-caption { padding-bottom: 46px; }
#dle-contact .ct-hero h1 { font-size: 58px; color: #fff; margin: 0; line-height: 1.1; }
#dle-contact .ct-hero .banner-kicker { margin-bottom: 8px; }

/* ---- main: intro + actions | form ---- */
#dle-contact .ct-main { background: #222; padding: 70px 0 60px; }
#dle-contact .ct-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 70px;
    align-items: start;
}
#dle-contact h2 { font-family: 'Gilda Display', serif; font-weight: 400; color: #fff; font-size: 34px; line-height: 1.2; margin: 0 0 14px; }
#dle-contact .ct-lead { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.72); margin: 0 0 26px; max-width: 46ch; }

/* The call / email / directions cards are the shared .dle-action (style.css). */

#dle-contact .ct-stay-note { margin: 20px 0 0; font-size: 15px; color: rgba(255,255,255,.7); }
#dle-contact .ct-stay-note a { color: #c5a16e; }

/* ---- form ---- */
#dle-contact .ct-form-wrap { background: #1b1b1b; border: 1px solid #34312d; border-radius: 12px; padding: 32px 32px 30px; }
#dle-contact .ct-form-intro { color: rgba(255,255,255,.65); margin: -4px 0 22px; font-size: 15px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
#dle-contact .ct-req-key { font-size: 13px; color: rgba(255,255,255,.5); }
#dle-contact .ct-req-key span, #dle-contact .ct-req { color: #c5a16e; }
#dle-contact .ct-opt { color: rgba(255,255,255,.45); font-weight: 400; text-transform: none; letter-spacing: 0; font-family: 'Barlow', sans-serif; font-size: 12px; }
#dle-contact .ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#dle-contact .ct-field { margin-bottom: 16px; }
#dle-contact .ct-field label { display: block; margin-bottom: 6px; font: 13px/1.4 'Barlow Condensed', sans-serif; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.75); }
#dle-contact .ct-form input,
#dle-contact .ct-form select,
#dle-contact .ct-form textarea {
    width: 100%;
    margin: 0;
    padding: 11px 14px;
    background: #2b2b2b;
    border: 1px solid #3a3733;
    border-radius: 8px;
    color: #fff;
    font: 15px/1.4 'Barlow', sans-serif;
    height: auto;
    transition: border-color .15s;
}
#dle-contact .ct-form select { height: 46px; cursor: pointer; }
#dle-contact .ct-form textarea { min-height: 130px; resize: vertical; }
#dle-contact .ct-form input:focus,
#dle-contact .ct-form select:focus,
#dle-contact .ct-form textarea:focus { outline: none; border-color: #aa8453; box-shadow: 0 0 0 3px rgba(170,132,83,.25); }
#dle-contact .ct-hint { margin: 6px 0 0; font-size: 13px; color: rgba(255,255,255,.5); }
#dle-contact .ct-submit {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    background: #aa8453;
    color: #fff;
    font: 15px/48px 'Barlow Condensed', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .15s;
}
#dle-contact .ct-submit:hover { background: #c5a16e; }

/* ---- location ---- */
#dle-contact .ct-location { background: #1b1b1b; padding: 64px 0 56px; }
#dle-contact .ct-location-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 50px; align-items: center; }
#dle-contact .ct-address { font-size: 18px; line-height: 1.6; color: #fff; margin: 0 0 18px; }
#dle-contact .ct-directions,
#dle-contact .ct-explore a { display: inline-flex; align-items: center; gap: 12px; color: #c5a16e; text-decoration: none; font: 15px/1.5 'Barlow Condensed', sans-serif; letter-spacing: 1.5px; text-transform: uppercase; border-bottom: 1px solid rgba(170,132,83,.45); padding-bottom: 4px; }
#dle-contact .ct-directions:hover, #dle-contact .ct-explore a:hover { color: #ead4b5; }
#dle-contact .ct-arrow { position: relative; display: inline-block; width: 24px; height: 1px; background: currentColor; transition: width .25s; }
#dle-contact .ct-arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-50%) rotate(45deg); }
#dle-contact a:hover .ct-arrow { width: 34px; }
#dle-contact .ct-map { position: relative; width: 100%; height: 360px; border-radius: 12px; overflow: hidden; background: #242f3e; }
#dle-contact .ct-map-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #c5a16e; font: 15px/1.5 'Barlow Condensed', sans-serif; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; }
#dle-contact .ct-explore { margin: 46px 0 0; text-align: center; color: rgba(255,255,255,.65); font-size: 16px; }
#dle-contact .ct-explore a { margin-left: 8px; }

/* ---- tablet / phone ---- */
@media (max-width: 991px) {
    #dle-contact .ct-grid { grid-template-columns: 1fr; gap: 44px; }
    #dle-contact .ct-location-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 767px) {
    #dle-contact .ct-hero { height: 320px; background-position: 30% 15%; }
    #dle-contact .ct-hero h1 { font-size: 42px; }
    #dle-contact .ct-hero-caption { padding-bottom: 30px; }
    #dle-contact .ct-main { padding: 46px 0 40px; }
    #dle-contact h2 { font-size: 29px; }
    #dle-contact .ct-form-wrap { padding: 24px 20px; }
    #dle-contact .ct-row { grid-template-columns: 1fr; gap: 0; }
    #dle-contact .ct-map { height: 280px; }
    #dle-contact .ct-location { padding: 44px 0 40px; }
}
