/* ============================================================
   BOT4ORGE — REAL ESTATE SERVICE PAGE
   All classes prefixed with .re- to avoid theme conflicts
   ============================================================ */

:root {
    --re-gold:       #B8943F;
    --re-gold-light: #D4AF65;
    --re-gold-pale:  #F5EDD8;
    --re-charcoal:   #1C1C1C;
    --re-charcoal-2: #2E2E2E;
    --re-slate:      #4A6B8A;
    --re-cream:      #FAF8F4;
    --re-cream-2:    #F0EBE1;
    --re-white:      #FFFFFF;
    --re-soft-white: #FDFCFA;
    --re-text:       #1C1C1C;
    --re-text-mid:   #5A5A5A;
    --re-text-light: #8A8A8A;
}

/* ── RESET SCOPE ── */
.re-hero, .re-trust-bar, .re-problem-section, .re-features-section,
.re-who-section, .re-process-section, .re-testimonial-section, .re-final-cta {
    font-family: 'DM Sans', sans-serif;
    color: var(--re-text);
    line-height: 1.6;
    box-sizing: border-box;
}

.re-hero *, .re-trust-bar *, .re-problem-section *, .re-features-section *,
.re-who-section *, .re-process-section *, .re-testimonial-section *, .re-final-cta * {
    box-sizing: border-box;
}

/* ── SHARED LAYOUT ── */
.re-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

.re-section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.re-section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--re-gold);
    display: block;
    flex-shrink: 0;
}
.re-label-center { justify-content: center; }
.re-label-center::before { display: none; }

.re-section-label span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--re-gold);
}

.re-section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(34px, 3.5vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--re-charcoal);
}
.re-section-heading em {
    font-style: italic;
    color: var(--re-slate);
}
.re-heading-white { color: var(--re-white) !important; }
.re-em-gold { color: var(--re-gold-light) !important; font-style: italic; }

.re-section-body {
    font-size: 17px;
    color: var(--re-text-mid);
    line-height: 1.75;
    font-weight: 300;
    max-width: 560px;
}

/* ── BUTTONS ── */
.re-btn-gold {
    background: var(--re-gold);
    color: var(--re-white);
    padding: 16px 36px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}
.re-btn-gold:hover { background: var(--re-gold-light); transform: translateY(-1px); color: var(--re-white); }

.re-btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.7);
    padding: 16px 36px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.25);
    transition: all 0.2s;
    display: inline-block;
}
.re-btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: white; }

/* ── HERO ── */
.re-hero {
    min-height: 92vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}
.re-hero-left {
    background: var(--re-charcoal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 64px 80px 80px;
    position: relative;
    z-index: 1;
}
.re-hero-left::after {
    content: '';
    position: absolute;
    top: 0; right: -40px; bottom: 0;
    width: 80px;
    background: var(--re-charcoal);
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
    z-index: 2;
}
.re-hero-right {
    position: relative;
    overflow: hidden;
}
.re-hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.75) saturate(0.9);
}
.re-hero-right::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--re-charcoal) 0%, transparent 30%);
}

.re-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.re-eyebrow-line {
    width: 32px;
    height: 1px;
    background: var(--re-gold);
    display: block;
}
.re-eyebrow-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--re-gold);
}
.re-hero-left h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 4.5vw, 68px);
    font-weight: 300;
    line-height: 1.08;
    color: var(--re-white);
    margin-bottom: 28px;
}
.re-hero-left h1 em {
    font-style: italic;
    color: var(--re-gold-light);
}
.re-hero-left > p {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    max-width: 420px;
    margin-bottom: 44px;
    font-weight: 300;
}
.re-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.re-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
}
.re-hstat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--re-gold-light);
    line-height: 1;
    display: block;
}
.re-hstat-lbl {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 6px;
    display: block;
    max-width: 120px;
}

/* ── TRUST BAR ── */
.re-trust-bar {
    background: var(--re-cream-2);
    border-bottom: 1px solid #E0D9CE;
    padding: 20px 0;
}
.re-trust-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.re-trust-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--re-text-light);
    white-space: nowrap;
}
.re-trust-divider {
    width: 1px;
    height: 16px;
    background: #CCC5B8;
    flex-shrink: 0;
}
.re-trust-items {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.re-trust-items span {
    font-size: 13px;
    font-weight: 500;
    color: var(--re-text-mid);
}

/* ── PROBLEM ── */
.re-problem-section {
    padding: 100px 0;
    background: var(--re-soft-white);
}
.re-problem-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.re-problem-left {
    position: sticky;
    top: 100px;
}
.re-problem-left .re-section-heading { margin-bottom: 24px; }
.re-problem-left .re-section-body { margin-bottom: 0; }

.re-loss-card {
    background: var(--re-charcoal);
    color: white;
    padding: 32px;
    border-radius: 4px;
    margin-top: 36px;
}
.re-loss-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 600;
    color: var(--re-gold-light);
    line-height: 1;
    display: block;
}
.re-loss-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin-top: 12px;
    line-height: 1.65;
}
.re-problem-img-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 32px;
    height: 280px;
}
.re-problem-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7);
}
.re-problem-img-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255,255,255,0.95);
    padding: 20px 24px;
    border-radius: 3px;
    backdrop-filter: blur(8px);
}
.re-overlay-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--re-gold);
    line-height: 1;
    display: block;
}
.re-overlay-text {
    font-size: 12px;
    color: var(--re-text-mid);
    letter-spacing: 0.05em;
    margin-top: 6px;
    display: block;
    max-width: 200px;
}
.re-problem-right { display: flex; flex-direction: column; }
.re-pain-item {
    padding: 28px 0;
    border-bottom: 1px solid #E8E2D9;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 20px;
    align-items: start;
}
.re-pain-item:first-child { border-top: 1px solid #E8E2D9; }
.re-pain-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--re-gold);
    letter-spacing: 0.1em;
    padding-top: 3px;
}
.re-pain-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--re-charcoal);
    margin-bottom: 8px;
}
.re-pain-item p {
    font-size: 15px;
    color: var(--re-text-mid);
    line-height: 1.65;
    font-weight: 300;
}

/* ── FEATURES ── */
.re-features-section {
    padding: 100px 0;
    background: var(--re-cream);
}
.re-features-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 60px;
}
.re-features-head .re-section-body { margin: 16px 0 0; }
.re-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: #E0D9CE;
    border: 2px solid #E0D9CE;
    border-radius: 6px;
    overflow: hidden;
}
.re-feat-card {
    background: var(--re-soft-white);
    padding: 44px 40px;
    transition: background 0.25s;
}
.re-feat-card:hover { background: #FDFAF6; }
.re-feat-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: var(--re-gold-pale);
    border: 1px solid #E8D9B0;
}
.re-feat-icon { font-size: 20px; }
.re-feat-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--re-charcoal);
    margin-bottom: 12px;
    line-height: 1.2;
}
.re-feat-card p {
    font-size: 15px;
    color: var(--re-text-mid);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 16px;
}
.re-feat-card ul { list-style: none; padding: 0; }
.re-feat-card ul li {
    font-size: 14px;
    color: var(--re-text-mid);
    padding: 5px 0 5px 18px;
    position: relative;
    font-weight: 400;
}
.re-feat-card ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--re-gold);
}

/* ── WHO ── */
.re-who-section {
    padding: 100px 0;
    background: var(--re-soft-white);
}
.re-who-head {
    text-align: center;
    margin-bottom: 64px;
}
.re-who-head .re-section-heading { margin: 16px auto 0; }
.re-who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.re-who-card {
    padding: 48px;
    border-radius: 4px;
}
.re-who-yes { background: var(--re-cream); border: 1px solid #E0D9CE; }
.re-who-no  { background: var(--re-charcoal); }
.re-who-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 2px;
    margin-bottom: 24px;
}
.re-who-yes .re-who-tag { background: #E8F5EE; color: #1A6B3C; }
.re-who-no  .re-who-tag { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.4); }
.re-who-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 28px;
}
.re-who-yes h3 { color: var(--re-charcoal); }
.re-who-no  h3 { color: var(--re-white); }
.re-who-list { list-style: none; padding: 0; }
.re-who-list li {
    font-size: 16px;
    padding: 11px 0 11px 26px;
    position: relative;
    border-bottom: 1px solid transparent;
    font-weight: 300;
}
.re-who-yes .re-who-list li { color: var(--re-text-mid); border-bottom-color: #E0D9CE; }
.re-who-no  .re-who-list li { color: rgba(255,255,255,0.5); border-bottom-color: rgba(255,255,255,0.07); }
.re-who-list li:last-child { border-bottom: none; }
.re-who-yes .re-who-list li::before { content: '✓'; position: absolute; left: 0; color: #1A6B3C; font-weight: 600; }
.re-who-no  .re-who-list li::before { content: '✕'; position: absolute; left: 0; color: rgba(255,255,255,0.2); }

/* ── PROCESS ── */
.re-process-section {
    padding: 100px 0;
    background: var(--re-charcoal);
    position: relative;
    overflow: hidden;
}
.re-process-section::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,148,63,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.re-process-head { margin-bottom: 72px; }
.re-process-head .re-section-heading { margin-top: 20px; }
.re-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
}
.re-p-step {
    padding: 44px 32px;
    background: var(--re-charcoal);
    transition: background 0.2s;
}
.re-p-step:hover { background: var(--re-charcoal-2); }
.re-p-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    font-weight: 300;
    color: rgba(184,148,63,0.12);
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}
.re-p-bar {
    width: 28px;
    height: 2px;
    background: var(--re-gold);
    margin-bottom: 20px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.re-p-step:hover .re-p-bar { transform: scaleX(1); }
.re-p-step h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--re-white);
    margin-bottom: 12px;
    line-height: 1.3;
}
.re-p-step p {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    font-weight: 300;
}

/* ── TESTIMONIAL ── */
.re-testimonial-section {
    padding: 100px 0;
    background: var(--re-cream);
    border-top: 1px solid #E0D9CE;
}
.re-testi-inner {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 60px;
    align-items: center;
}
.re-testi-img-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 440px;
}
.re-testi-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.re-testi-content {
    padding-left: 20px;
}
.re-testi-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    color: #E8D9B0;
    line-height: 0.8;
    margin-bottom: 8px;
    display: block;
}
.re-testi-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 400;
    font-style: italic;
    color: var(--re-charcoal);
    line-height: 1.55;
    margin-bottom: 40px;
}
.re-testi-line {
    width: 40px;
    height: 1px;
    background: var(--re-gold);
    margin-bottom: 24px;
}
.re-testi-author {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--re-charcoal);
}
.re-testi-role {
    font-size: 13px;
    color: var(--re-text-light);
    margin-top: 5px;
}
.re-testi-stars {
    color: var(--re-gold);
    font-size: 16px;
    letter-spacing: 3px;
    margin-top: 20px;
}

/* ── FINAL CTA ── */
.re-final-cta {
    padding: 100px 0;
    background: var(--re-soft-white);
}
.re-cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.re-cta-text .re-section-heading { margin: 20px 0 20px; }
.re-cta-text .re-section-body    { margin-bottom: 40px; }
.re-cta-fine {
    font-size: 12px;
    color: var(--re-text-light);
    margin-top: 16px;
}
.re-cta-img-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}
.re-cta-img-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
.re-cta-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,28,28,0.25) 0%, transparent 50%);
}

/* ── REVEAL ANIMATION ── */
.re-rv {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.re-rv.re-in { opacity: 1; transform: translateY(0); }
.re-d1 { transition-delay: 0.1s; }
.re-d2 { transition-delay: 0.2s; }
.re-d3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .re-hero { grid-template-columns: 1fr; min-height: auto; }
    .re-hero-left { padding: 80px 40px; }
    .re-hero-left::after { display: none; }
    .re-hero-right { height: 400px; }
    .re-problem-layout { grid-template-columns: 1fr; gap: 48px; }
    .re-problem-left { position: static; }
    .re-features-head { grid-template-columns: 1fr; gap: 16px; }
    .re-testi-inner { grid-template-columns: 1fr; gap: 48px; }
    .re-testi-img-wrap { height: 320px; }
    .re-cta-layout { grid-template-columns: 1fr; gap: 48px; }
    .re-cta-img-wrap img { height: 320px; }
}

@media (max-width: 768px) {
    .re-wrap { padding: 0 20px; }
    .re-hero-left { padding: 56px 24px; }
    .re-hero-right { height: 280px; }
    .re-hero-stats { gap: 24px; margin-top: 36px; padding-top: 28px; }
    .re-features-grid { grid-template-columns: 1fr; }
    .re-who-grid { grid-template-columns: 1fr; }
    .re-who-card { padding: 32px 24px; }
    .re-process-steps { grid-template-columns: 1fr 1fr; }
    .re-trust-inner { gap: 12px; }
    .re-testi-content { padding-left: 0; }
    .re-problem-section, .re-features-section, .re-who-section,
    .re-process-section, .re-testimonial-section, .re-final-cta { padding: 64px 0; }
}

@media (max-width: 540px) {
    .re-process-steps { grid-template-columns: 1fr; }
    .re-hero-btns { flex-direction: column; }
    .re-btn-gold, .re-btn-ghost { text-align: center; }
}

/* ── NAVIGATION OVERRIDE FOR REAL ESTATE PAGE ── */
body.page-template-page-real-estate #site-nav {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

body.page-template-page-real-estate #site-nav.scrolled {
    background: rgba(255,255,255,0.98) !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: 0 2px 16px rgba(21,88,168,0.10) !important;
}

body.page-template-page-real-estate .logo {
    color: white !important;
}
body.page-template-page-real-estate #site-nav.scrolled .logo {
    color: var(--primary) !important;
}

body.page-template-page-real-estate .nav-links a {
    color: rgba(255,255,255,0.85) !important;
}
body.page-template-page-real-estate #site-nav.scrolled .nav-links a {
    color: var(--text-dim) !important;
}

body.page-template-page-real-estate .nav-btn {
    background: white !important;
    color: var(--primary) !important;
}
body.page-template-page-real-estate #site-nav.scrolled .nav-btn {
    background: var(--primary) !important;
    color: white !important;
}

body.page-template-page-real-estate #nav-toggle span {
    background: white !important;
}
body.page-template-page-real-estate #site-nav.scrolled #nav-toggle span {
    background: var(--text) !important;
}

@media (max-width: 768px) {
    body.page-template-page-real-estate .nav-links a {
        color: var(--text-dim) !important;
    }
    body.page-template-page-real-estate .nav-links a:hover {
        color: var(--primary) !important;
    }
}

body.page-template-page-real-estate #site-nav {
    z-index: 9999 !important;
}
body.page-template-page-real-estate .nav-links .sub-menu {
    z-index: 10000 !important;
}
body.page-template-page-real-estate .nav-links .sub-menu li a {
    color: var(--text) !important;
}