/* Real estate landing page styles, scoped to real-estate.html. */
.real-page { background: #fbf7f0; }
.real-page::before { display: none; }
.real-page .topbar { padding: 5px 12px; font-size: .62rem; }
.real-page .nav { background: rgba(255, 252, 247, .98); backdrop-filter: none; }
.real-page .nav-inner { min-height: 88px; }
.real-page .brand { min-width: 255px; }
.real-page .brand:before { display: none; }
.re-header-mark { grid-area: mark; display: block; width: 56px; height: 54px; object-fit: contain; }
.real-page .brand-main { font-size: .88rem; letter-spacing: .09em; }
.real-page .brand-firm { font-size: .55rem; }
.real-page .brand-tagline { font-size: .49rem; }
.real-page .links { gap: 13px; font-size: .75rem; }
.real-page .links [aria-current="page"] { color: var(--wine); }
.real-page .links .btn { padding: 11px 17px; }
.real-page a:focus-visible, .real-page button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.re-eyebrow { margin-bottom: 18px; color: #a27943; font-size: .73rem; font-weight: 700; letter-spacing: .21em; text-transform: uppercase; }
.re-wine-button { gap: 13px; background: var(--wine-deep); color: white; padding: 13px 24px; font-size: .91rem; }
.re-wine-button:hover { background: var(--wine-soft); }
.re-gold-button { gap: 13px; background: var(--gold); color: var(--wine-deep); padding: 13px 24px; font-size: .91rem; }
.re-gold-button:hover { background: var(--gold-light); }

.re-hero { background: #fbf7f0; overflow: hidden; }
.re-hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: 26px; padding: 41px 0 54px; }
.re-hero-copy { position: relative; z-index: 1; }
.re-hero h1 { max-width: 650px; margin-bottom: 19px; color: var(--wine-deep); font-size: clamp(2.8rem, 3.8vw, 3.1rem); line-height: 1.09; }
.re-hero p { max-width: 500px; margin-bottom: 28px; color: #4b4042; font-size: 1.07rem; line-height: 1.75; }
.re-hero-collage { position: relative; height: 460px; min-width: 0; }
.re-hero-collage::before { content: ""; position: absolute; top: 28px; right: 0; width: 39%; height: 51%; border: 2px solid #ad864a; }
.re-hero-collage img { display: block; position: absolute; object-fit: cover; box-shadow: 0 8px 25px rgba(39, 16, 25, .12); }
.re-hero-home { top: 8px; left: 0; width: 56%; height: 440px; border: 3px solid #a77c44; border-radius: 48% 48% 0 0; object-position: 62% center; }
.re-hero-keys { top: 0; right: 6%; width: 32%; height: 34%; border: 3px solid #a77c44; }
.re-hero-condo { right: 0; bottom: 0; width: 48%; height: 54%; border: 3px solid #a77c44; object-position: 50% 55%; }

.re-closings { padding: 70px 0 74px; background: #f7f1e9; }
.real-page h2 { color: var(--wine-deep); }
.re-closings h2, .re-more h2 { margin-bottom: 31px; font-size: clamp(2.5rem, 3.65vw, 3.8rem); scroll-margin-top: 110px; }
.re-closings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.re-closing-card { display: flex; flex-direction: column; min-width: 0; background: #fffbf6; border: 1px solid #eaded2; box-shadow: 0 8px 24px rgba(57, 20, 33, .045); }
.re-closing-card > img { display: block; width: 100%; height: 200px; object-fit: cover; }
.re-closing-card:nth-child(2) > img { object-position: center 52%; }
.re-closing-card:nth-child(3) > img { object-position: center 52%; }
.re-closing-body { display: flex; flex-direction: column; flex: 1; padding: 25px 25px 24px; }
.re-closing-body h3 { margin-bottom: 8px; color: var(--wine-deep); font-size: clamp(1.5rem, 2vw, 1.95rem); line-height: 1.2; }
.re-price { margin: 0 0 17px; color: #8a5e2f; font-size: 1.05rem; font-weight: 700; }
.re-closing-body > p:not(.re-price) { color: #4d4246; font-size: .92rem; line-height: 1.65; }
.re-closing-body .re-relief-note { color: #73696a !important; font-size: .8rem !important; }
.re-closing-body .re-wine-button { align-self: flex-start; margin-top: auto; padding: 11px 19px; }
.re-buyer-package { margin: 1px 0 20px; padding: 13px 15px; border: 1px solid #d9bb83; background: #fbf5e9; }
.re-buyer-package p { margin: 0 0 5px; color: #514448; font-size: .82rem; line-height: 1.45; }
.re-buyer-package .re-buyer-package-title { color: var(--wine-deep); font-weight: 700; }
.re-buyer-package a { color: #775328; font-size: .82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.re-buyer-package a:hover { color: var(--wine); }

.re-more { padding: 69px 0 60px; background: #fbf7f0; }
.re-more h2 { margin-bottom: 22px; }
.re-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.re-more-item { display: grid; grid-template-columns: 53px minmax(0, 1fr); gap: 18px; min-width: 0; padding: 23px 28px 23px 6px; border-bottom: 1px solid #e9dcd0; }
.re-more-item:nth-child(even) { border-left: 1px solid #e9dcd0; padding-left: 27px; }
.re-more-item svg { width: 48px; height: 48px; fill: none; stroke: #ad864c; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.re-more-item h3 { margin: 0 0 6px; color: var(--wine-deep); font-size: clamp(1.22rem, 1.7vw, 1.5rem); line-height: 1.22; }
.re-more-item p { max-width: 420px; margin: 0 0 8px; color: #55494a; font-size: .88rem; line-height: 1.55; }
.re-more-item a { color: #866037; font-size: .85rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.re-more-item a:hover { color: var(--wine); }
.re-additional-note { margin: 18px 0 0; color: #665b5d; font-size: .81rem; text-align: center; }

.re-feature { padding: 65px 0; scroll-margin-top: 104px; background: radial-gradient(circle at 10% 40%, #50152b, #2d0715 75%); color: white; }
.re-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.re-feature .re-eyebrow { color: var(--gold-light); }
.re-feature h2 { margin-bottom: 16px; color: white; font-size: clamp(3rem, 4.2vw, 4.65rem); line-height: 1.12; scroll-margin-top: 110px; }
.re-feature-copy p { max-width: 530px; margin-bottom: 18px; color: #f1e2e1; font-size: 1rem; line-height: 1.7; }
#closing-living-trust .re-feature-introduction { font-size: 1.08rem; }
#closing-living-trust .re-feature-tagline { margin: 0 0 18px; color: white; font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.2; }
.re-feature-copy .re-feature-lead { color: white; font-size: 1.13rem; font-weight: 700; }
.re-feature-copy .btn { margin-top: 7px; }
.re-feature-collage { position: relative; height: 330px; }
.re-feature-collage::before { content: ""; position: absolute; left: 0; top: 0; width: 72%; height: 82%; border: 2px solid var(--gold); }
.re-feature-collage img { position: absolute; display: block; object-fit: cover; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.re-feature-home { top: 17px; left: 16px; width: 69%; height: 78%; object-position: center center; }
.re-feature-signing { right: 0; bottom: 0; width: 45%; height: 59%; border: 2px solid var(--gold); object-position: 61% center; }
.re-fee-note { padding: 21px 0; background: #eee6dc; color: #5e5355; font-size: .82rem; line-height: 1.7; text-align: center; }
.re-fee-note .container { max-width: 980px; }
.re-bottom-cta { padding: 66px 0 73px; background: #fbf7f0; text-align: center; }
.re-bottom-cta h2 { margin-bottom: 12px; font-size: clamp(2.55rem, 3.5vw, 3.7rem); }
.re-bottom-cta p { margin-bottom: 20px; color: #51474b; }

.re-footer { padding: 49px 0 23px; background: #290815; }
.re-footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 42px; }
.re-footer-brand { display: flex; align-items: center; gap: 16px; }
.re-footer-brand a { flex: none; margin: 0; }
.re-footer-brand img { display: block; width: 180px; height: 180px; object-fit: contain; }
.re-footer-brand p { max-width: 260px; margin: 0 0 9px; color: #e1d0ce; font-size: .83rem; }
.re-footer h3 { margin-top: 16px; font-family: var(--sans); font-size: .83rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.re-footer-links a { margin: 8px 0; font-size: .82rem; }
.re-footer .copyright { margin-top: 28px; font-size: .72rem; }

@media (max-width: 1150px) {
  .real-page .nav-inner { position: relative; }
  .real-page .links { display: none; }
  .real-page .menu { position: absolute; top: 50%; right: 0; display: grid; place-items: center; width: 46px; height: 46px; transform: translateY(-50%); }
  .real-page .links.menu-open { position: absolute; top: 100%; left: 0; right: 0; z-index: 6; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 5%; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .re-hero-grid { gap: 16px; }
  .re-hero h1 { font-size: clamp(2.9rem, 4.5vw, 4rem); }
  .re-footer-grid { gap: 24px; }
  .re-footer-brand { flex-direction: column; align-items: flex-start; gap: 0; }
  .re-footer-brand img { width: 155px; height: 155px; }
}
@media (max-width: 900px) {
  .re-hero-grid { grid-template-columns: 1fr; padding: 60px 0; }
  .re-hero h1 { max-width: 700px; font-size: clamp(3rem, 7vw, 4.5rem); }
  .re-hero-collage { width: min(100%, 690px); height: 400px; margin: 22px auto 0; }
  .re-hero-home { height: 390px; }
  .re-closings-grid { grid-template-columns: 1fr; gap: 16px; }
  .re-closing-card { display: grid; grid-template-columns: 39% minmax(0, 1fr); }
  .re-closing-card > img { height: 100%; min-height: 245px; }
  .re-closing-body { padding: 22px 26px; }
  .re-closing-body h3 { font-size: 1.7rem; }
  .re-feature-grid { gap: 25px; }
  .re-feature h2 { font-size: clamp(2.5rem, 4.4vw, 3.5rem); }
}
@media (max-width: 700px) {
  .real-page .nav-inner { min-height: 78px; }
  .real-page .brand { min-width: 0; grid-template-columns: 45px minmax(0, 1fr); padding-right: 48px; }
  .re-header-mark { width: 45px; height: 45px; }
  .real-page .brand-main { font-size: .78rem; }
  .real-page .brand-firm { font-size: .48rem; }
  .real-page .brand-tagline { font-size: .43rem; }
  .re-hero-grid { padding: 52px 0 60px; }
  .re-hero h1 { font-size: clamp(2.65rem, 9vw, 3.85rem); }
  .re-hero-collage { height: 330px; }
  .re-hero-home { height: 318px; }
  .re-closings, .re-more { padding: 63px 0; }
  .re-closings h2, .re-more h2 { font-size: clamp(2.35rem, 7vw, 3rem); }
  .re-closings-grid { grid-template-columns: 1fr; gap: 17px; max-width: 520px; margin: 0 auto; }
  .re-closing-card { display: flex; }
  .re-closing-card > img { height: 210px; min-height: 0; }
  .re-closing-body { padding: 24px; }
  .re-closing-body h3 { font-size: 1.7rem; }
  .re-more-grid { grid-template-columns: 1fr; }
  .re-more-item { border-left: 0 !important; padding: 20px 5px !important; }
  .re-feature { padding: 63px 0 68px; }
  .re-feature-grid { grid-template-columns: 1fr; }
  .re-feature h2 { font-size: clamp(2.75rem, 8vw, 3.8rem); }
  .re-feature-collage { max-width: 520px; width: 100%; height: 310px; margin: 13px auto 0; }
  .re-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .re-footer-brand { grid-column: 1/-1; flex-direction: row; align-items: center; }
}
@media (max-width: 420px) {
  .real-page .topbar { font-size: .54rem; }
  .real-page .brand-main { font-size: .69rem; }
  .re-hero h1 { font-size: 2.65rem; }
  .re-hero-collage { height: 270px; }
  .re-hero-home { height: 258px; }
  .re-hero-keys { height: 35%; }
  .re-hero-condo { height: 52%; }
  .re-feature-collage { height: 255px; }
  .re-more-item { grid-template-columns: 43px minmax(0, 1fr); gap: 12px; }
  .re-more-item svg { width: 40px; height: 40px; }
  .re-footer-brand { flex-direction: column; align-items: flex-start; }
}