/**
 * Real estate page — feature layout with screenshots (Dec 2026).
 * New work, not carried over from the old site. Loaded only by realestate.php
 * (see 'css' in that page's settings). Everything is under .re2 so nothing
 * else on the site is touched.
 *
 *   1. Intro        laptop + phone picture beside a headline and button
 *   2. Features     screenshot on one side, words on the other, alternating
 *   3. Also included   six small cards
 *   4. Great for    a row of labels
 *   5. Smaller screens
 *   6. "Before you go" popup
 *   7. "Thank you" panel (after the form is sent)
 *   8. NTREIS strip (under the intro)
 */
.re2{font-size:18px;line-height:28px;color:#222;}
.re2,.re2 *{box-sizing:border-box;}
.re2 img{display:block;width:100%;height:auto;}
/* the site greys out every paragraph in the main area (#main-content p); these need to be easier to read */
#main-content .re2 p{color:#555;}

/* ---------- 1. Intro ---------- */
.re2-intro{display:flex;align-items:center;gap:5%;margin:35px 0 75px;}
.re2-intro-shot{flex:0 0 53%;max-width:53%;}
.re2-intro-text{flex:1;min-width:0;}
.re2-intro-text h2{font-size:40px;line-height:47px;text-transform:uppercase;letter-spacing:2px;margin:0 0 20px;color:#000;}
.re2-intro-text h2 span{color:#ffa131;}
.re2 .re2-intro-text p{font-size:20px;line-height:31px;color:#555;margin:0 0 28px;}
.re2-button{display:inline-block;background-color:#ffaa23;border:1px solid #000;color:#000 !important;text-transform:uppercase;font-weight:600;font-size:18px;letter-spacing:1px;line-height:normal;padding:13px 34px;transition:all .5s ease;}
.re2-button:hover{background-color:#000;color:#fff !important;}

/* section headings: the home page's "What we have to offer" look, plus a short orange rule */
.re2-title{text-transform:uppercase;font-size:30px;line-height:38px;letter-spacing:5px;text-align:center;margin:0 0 60px;color:#000;}
.re2-title::after{content:"";display:block;width:70px;height:3px;background:#ffaa23;margin:18px auto 0;}

/* ---------- 2. Features ---------- */
.re2-feature{display:flex;align-items:center;gap:6%;margin:0 0 95px;}
.re2-feature.re2-flip{flex-direction:row-reverse;}
/* the screenshot, framed like a browser window */
.re2-shot{flex:0 0 56%;max-width:56%;background:#fff;border:1px solid #d6d6d6;border-radius:8px;overflow:hidden;box-shadow:0 18px 40px rgba(0,0,0,.15);}
.re2-shot::before{content:"";display:block;height:28px;border-bottom:1px solid #e2e2e2;
  background:radial-gradient(circle at 18px 50%,#ffaa23 0,#ffaa23 5px,transparent 6px),
             radial-gradient(circle at 36px 50%,#cfcfcf 0,#cfcfcf 5px,transparent 6px),
             radial-gradient(circle at 54px 50%,#cfcfcf 0,#cfcfcf 5px,transparent 6px),#f4f4f4;}
.re2-feature.re2-tall .re2-shot{flex-basis:46%;max-width:46%;}
.re2-text{flex:1;min-width:0;}
.re2-kicker{display:block;color:#ffa131;font-size:15px;line-height:20px;letter-spacing:3px;text-transform:uppercase;margin:0 0 10px;}
.re2-text h3{color:#000;font-size:30px;line-height:37px;letter-spacing:1px;text-transform:uppercase;margin:0 0 16px;}
.re2 .re2-text p{color:#555;margin:0 0 20px;}
.re2-text ul{list-style:none;margin:0;padding:0;}
.re2-text li{position:relative;padding-left:32px;margin:0 0 9px;list-style:none;}
/* orange tick */
.re2-text li::before{content:"";position:absolute;left:6px;top:6px;width:7px;height:13px;border:solid #ffaa23;border-width:0 3px 3px 0;transform:rotate(45deg);}
/* the quote button under each feature's ticks */
.re2-feature-button{margin-top:22px;}

/* ---------- 3. Also included ---------- */
.re2-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin:0 0 80px;}
/* same frame as the home page's service boxes */
.re2-card{background:#fff;border:2px solid #ddd;border-bottom:7px solid #e8e8e8;padding:34px 30px 30px;text-align:center;}
.re2-card::before{content:"";display:block;width:60px;height:3px;background:#ffaa23;margin:0 auto 18px;}
.re2-card h3{color:#000;font-size:20px;line-height:26px;letter-spacing:2px;text-transform:uppercase;margin:0 0 12px;}
.re2 .re2-card p{color:#555;font-size:17px;line-height:26px;margin:0;}

/* ---------- 4. Great for ---------- */
.re2-for{margin:0 0 55px;}
.re2-for ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
.re2-for li{list-style:none;margin:0;background:#000;color:#fff;font-size:15px;line-height:21px;letter-spacing:2px;text-transform:uppercase;text-align:center;padding:16px 14px;display:flex;align-items:center;justify-content:center;}

/* ---------- 5. Smaller screens ---------- */
@media (max-width:1200px){
  .re2-intro-text h2{font-size:32px;line-height:39px;}
  .re2 .re2-intro-text p{font-size:18px;line-height:28px;}
  .re2-text h3{font-size:25px;line-height:31px;}
  .re2-feature{gap:5%;margin-bottom:75px;}
  .re2-card{padding:28px 24px 24px;}
}
@media (max-width:1000px){
  .re2{font-size:17px;line-height:26px;}
  .re2-grid{grid-template-columns:repeat(2,1fr);gap:20px;}
  .re2-for ul{grid-template-columns:repeat(2,1fr);}
  .re2-title{font-size:27px;line-height:34px;margin-bottom:45px;}
}
/* tablets held upright and phones: picture first, words underneath */
@media (max-width:820px){
  .re2-intro,.re2-feature,.re2-feature.re2-flip{flex-direction:column;align-items:stretch;gap:26px;}
  .re2-intro{margin:25px 0 55px;text-align:center;}
  .re2-intro-shot,.re2-shot,.re2-feature.re2-tall .re2-shot{flex:none;max-width:100%;width:100%;}
  .re2-feature.re2-tall .re2-shot{max-width:520px;margin:0 auto;}
  .re2-feature{margin-bottom:60px;}
  .re2-intro-text h2{font-size:28px;line-height:34px;}
  .re2-text h3{font-size:23px;line-height:29px;}
  .re2-grid{margin-bottom:60px;}
}
@media (max-width:600px){
  .re2{font-size:16px;line-height:24px;}
  .re2-grid{grid-template-columns:1fr;gap:16px;}
  .re2-for ul{grid-template-columns:1fr;gap:10px;}
  .re2-title{font-size:22px;line-height:28px;letter-spacing:3px;margin-bottom:35px;}
  .re2-intro-text h2{font-size:24px;line-height:30px;letter-spacing:1px;}
  .re2 .re2-intro-text p{font-size:17px;line-height:26px;}
  .re2-button{display:block;text-align:center;padding:13px 10px;}
  .re2-text h3{font-size:20px;line-height:26px;}
  .re2-kicker{font-size:13px;}
  .re2-card h3{font-size:18px;}
  .re2 .re2-card p{font-size:16px;line-height:24px;}
  .re2-for li{font-size:13px;line-height:18px;padding:12px 14px;}
  .re2-shot{border-radius:6px;box-shadow:0 10px 24px rgba(0,0,0,.14);}
  .re2-shot::before{height:22px;}
}

/* ---------- 6. "Before you go" popup ----------
 * Shown by assets/js/exit-popup.js when a visitor looks like they are leaving.
 * Hidden until then (the HTML carries the "hidden" attribute).
 */
.exit-popup,.exit-popup *{box-sizing:border-box;}
.exit-popup{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.62);opacity:0;transition:opacity .25s ease;overscroll-behavior:contain;}
.exit-popup[hidden]{display:none;}
.exit-popup.is-open{opacity:1;}
.exit-popup-box{position:relative;display:flex;width:100%;max-width:840px;max-height:100%;overflow:auto;background:#fff;border-top:6px solid #ffaa23;box-shadow:0 30px 70px rgba(0,0,0,.45);transform:translateY(16px);transition:transform .25s ease;outline:none;}
.exit-popup.is-open .exit-popup-box{transform:none;}
.exit-popup-art{flex:0 0 45%;max-width:45%;display:flex;align-items:center;padding:30px 0 30px 30px;background:#efefef;}
.exit-popup-art img{display:block;width:100%;height:auto;}
.exit-popup-words{flex:1;min-width:0;padding:46px 40px 30px 36px;}
.exit-popup-kicker{display:block;color:#ffa131;font-size:14px;line-height:20px;letter-spacing:3px;text-transform:uppercase;margin:0 0 10px;}
#exit-popup h2{font-size:26px;line-height:32px;letter-spacing:1px;text-transform:uppercase;color:#000;margin:0 0 14px;}
#exit-popup p{color:#555;font-size:17px;line-height:26px;margin:0 0 24px;}
.exit-popup-close{position:absolute;top:4px;right:6px;width:44px;height:44px;padding:0;border:0;background:none;color:#777;font-size:32px;line-height:44px;text-align:center;cursor:pointer;font-family:Arial,Helvetica,sans-serif;}
.exit-popup-close:hover{color:#000;}
.exit-popup-no{display:inline-block;margin:14px 0 0;padding:8px 0;border:0;background:none;color:#777;font-size:15px;line-height:20px;text-decoration:underline;cursor:pointer;font-family:inherit;}
.exit-popup-no:hover{color:#000;}
@media (max-width:720px){
  .exit-popup{padding:14px;}
  .exit-popup-box{flex-direction:column;max-width:400px;text-align:center;}
  .exit-popup-art{flex:none;max-width:100%;padding:26px 40px 0;background:#fff;}
  .exit-popup-words{padding:18px 24px 20px;}
  #exit-popup h2{font-size:21px;line-height:27px;}
  #exit-popup p{font-size:16px;line-height:24px;margin-bottom:20px;}
  .exit-popup-no{margin-top:10px;}
}
@media (prefers-reduced-motion:reduce){
  .exit-popup,.exit-popup-box{transition:none;}
  .exit-popup-box{transform:none;}
}

/* ---------- 7. "Thank you" panel ----------
 * Shown at the top of the page once the form has been sent (the address then ends in ?submit=yes#sent).
 */
.re2-thanks{max-width:820px;margin:35px auto 70px;padding:44px 40px 42px;background:#fff;border:2px solid #ddd;border-top:6px solid #ffaa23;border-bottom:7px solid #e8e8e8;text-align:center;scroll-margin-top:30px;}
.re2-thanks-tick{display:block;position:relative;width:64px;height:64px;margin:0 auto 22px;border-radius:50%;background:#ffaa23;}
.re2-thanks-tick::after{content:"";position:absolute;left:24px;top:12px;width:14px;height:28px;border:solid #000;border-width:0 5px 5px 0;transform:rotate(45deg);}
.re2-thanks h2{font-size:30px;line-height:38px;letter-spacing:2px;text-transform:uppercase;color:#000;margin:0 0 14px;}
#main-content .re2 .re2-thanks p{font-size:19px;line-height:29px;color:#555;margin:0 0 26px;}
.re2-thanks p a{white-space:nowrap;}
@media (max-width:600px){
  .re2-thanks{margin:25px auto 50px;padding:30px 20px 30px;}
  .re2-thanks-tick{width:54px;height:54px;margin-bottom:18px;}
  .re2-thanks-tick::after{left:20px;top:10px;width:12px;height:24px;border-width:0 4px 4px 0;}
  .re2-thanks h2{font-size:21px;line-height:27px;letter-spacing:1px;}
  #main-content .re2 .re2-thanks p{font-size:17px;line-height:26px;margin-bottom:22px;}
}

/* ---------- 8. NTREIS strip ----------
 * The MLS the websites plug into: its logo beside a heading and one sentence, between the intro and "What You Get".
 */
.re2-mls{display:flex;align-items:center;justify-content:center;gap:38px;background:#fff;border:2px solid #ddd;border-bottom:7px solid #e8e8e8;padding:28px 40px;margin:-15px 0 80px;}
.re2 .re2-mls img{flex:none;width:140px;}
.re2-mls h3{color:#000;font-size:26px;line-height:33px;letter-spacing:2px;text-transform:uppercase;margin:0 0 8px;}
.re2-mls h3 span{color:#ffa131;}
#main-content .re2 .re2-mls p{color:#555;margin:0;max-width:680px;}
@media (max-width:1000px){
  .re2-mls{gap:28px;padding:24px 28px;margin-bottom:65px;}
  .re2 .re2-mls img{width:120px;}
  .re2-mls h3{font-size:22px;line-height:28px;letter-spacing:1px;}
}
@media (max-width:820px){.re2-mls{margin-top:0;margin-bottom:55px;}}
@media (max-width:600px){
  .re2-mls{flex-direction:column;gap:16px;text-align:center;padding:24px 20px;}
  .re2 .re2-mls img{width:110px;}
  .re2-mls h3{font-size:19px;line-height:25px;}
}
