/* ============================================================
   MANGALORE DIARY — REAL ESTATE MODULE
   assets/css/real-estate.css
   Coastal Karnataka Premium Aesthetic
   ============================================================ */

/* --- DESIGN TOKENS --- */
:root {
    --re-sand:       #f5f0e8;
    --re-sand-dark:  #e8e0d0;
    --re-cream:      #faf8f4;
    --re-coconut:    #8b6f47;
    --re-coconut-lt: #b8956a;
    --re-sea:        #2c5f6e;
    --re-sea-lt:     #3d7a8a;
    --re-shore:      #4a7c7e;
    --re-dusk:       #1a3a42;
    --re-ink:        #1c1c1c;
    --re-ink-soft:   #3a3a3a;
    --re-muted:      #6b6b6b;
    --re-rule:       #ddd8cc;
    --re-white:      #ffffff;
    --re-success:    #3a7a5a;
    --re-badge-feat: #c17f3a;

    --re-font-head:  'Playfair Display', Georgia, 'Times New Roman', serif;
    --re-font-body:  'Source Serif 4', 'Palatino Linotype', Georgia, serif;
    --re-font-ui:    'DM Sans', 'Segoe UI', system-ui, sans-serif;

    --re-shadow-sm:  0 1px 4px rgba(44, 95, 110, 0.08);
    --re-shadow-md:  0 4px 16px rgba(44, 95, 110, 0.12);
    --re-shadow-lg:  0 8px 32px rgba(44, 95, 110, 0.16);
    --re-radius:     6px;
    --re-radius-lg:  12px;
    --re-transition: 0.22s ease;
}

/* --- RESET FOR MODULE --- */
.re-module *, .re-module *::before, .re-module *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.re-module {
    font-family: var(--re-font-body);
    color: var(--re-ink-soft);
    background: var(--re-cream);
    line-height: 1.65;
}
.re-module a { color: var(--re-sea); text-decoration: none; }
.re-module a:hover { color: var(--re-sea-lt); }
.re-module img { max-width: 100%; height: auto; display: block; }
.re-module ul { list-style: none; }
.re-module button, .re-module input, .re-module select, .re-module textarea {
    font-family: var(--re-font-ui);
}

/* --- TYPOGRAPHY --- */
.re-headline-xl {
    font-family: var(--re-font-head);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--re-dusk);
    letter-spacing: -0.02em;
}
.re-headline-lg {
    font-family: var(--re-font-head);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--re-dusk);
}
.re-headline-md {
    font-family: var(--re-font-head);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--re-dusk);
    line-height: 1.25;
}
.re-overline {
    font-family: var(--re-font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--re-coconut);
}
.re-body { font-size: 1rem; color: var(--re-ink-soft); line-height: 1.7; }
.re-body-sm { font-size: 0.88rem; color: var(--re-muted); }
.re-muted { color: var(--re-muted); }

/* --- LAYOUT --- */
.re-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.re-container-wide {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
}
.re-section { padding: 64px 0; }
.re-section-sm { padding: 40px 0; }
.re-divider {
    border: none;
    border-top: 1px solid var(--re-rule);
    margin: 40px 0;
}

/* --- BREADCRUMB --- */
.re-breadcrumb {
    background: var(--re-sand);
    border-bottom: 1px solid var(--re-rule);
    padding: 10px 0;
}
.re-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.re-breadcrumb li {
    font-family: var(--re-font-ui);
    font-size: 0.82rem;
    color: var(--re-muted);
}
.re-breadcrumb a {
    color: var(--re-sea);
    text-decoration: none;
}
.re-breadcrumb a:hover { text-decoration: underline; }
.re-breadcrumb span[aria-current] { color: var(--re-ink-soft); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.re-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background: var(--re-dusk);
    overflow: hidden;
}
.re-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-coastal-mangalore.jpg');
    background-size: cover;
    background-position: center 40%;
    opacity: 0.38;
}
.re-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,58,66,0.92) 0%, rgba(44,95,110,0.72) 60%, rgba(26,58,66,0.50) 100%);
}
.re-hero__content {
    position: relative;
    z-index: 2;
    padding: 60px 0 80px;
}
.re-hero__pretitle {
    font-family: var(--re-font-ui);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--re-coconut-lt);
    margin-bottom: 16px;
}
.re-hero__title {
    font-family: var(--re-font-head);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    max-width: 620px;
}
.re-hero__title em { font-style: italic; color: #c9bfa8; }
.re-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 36px;
}
.re-hero__stat {
    display: flex;
    gap: 32px;
    margin-top: 28px;
}
.re-hero__stat-item strong {
    display: block;
    font-family: var(--re-font-head);
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
}
.re-hero__stat-item span {
    font-size: 0.78rem;
    font-family: var(--re-font-ui);
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============================================================
   SEARCH BOX
   ============================================================ */
.re-searchbox {
    background: #fff;
    border-radius: var(--re-radius-lg);
    box-shadow: var(--re-shadow-lg);
    padding: 0;
    overflow: hidden;
    margin-top: -32px;
    position: relative;
    z-index: 10;
}
.re-searchbox__tabs {
    display: flex;
    background: var(--re-sand);
    border-bottom: 1px solid var(--re-rule);
}
.re-searchbox__tab {
    padding: 14px 22px;
    font-family: var(--re-font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--re-muted);
    cursor: pointer;
    border: none;
    background: none;
    border-bottom: 2px solid transparent;
    transition: all var(--re-transition);
    letter-spacing: 0.02em;
}
.re-searchbox__tab:hover { color: var(--re-sea); }
.re-searchbox__tab.active {
    color: var(--re-sea);
    border-bottom-color: var(--re-sea);
    background: #fff;
}
.re-searchbox__body {
    padding: 24px 28px;
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.re-searchbox__field {
    flex: 1;
    min-width: 160px;
}
.re-searchbox__field label {
    display: block;
    font-family: var(--re-font-ui);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--re-coconut);
    margin-bottom: 7px;
    font-weight: 600;
}
.re-searchbox__field select,
.re-searchbox__field input[type="text"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--re-rule);
    border-radius: var(--re-radius);
    font-size: 0.93rem;
    color: var(--re-ink-soft);
    background: var(--re-cream);
    appearance: none;
    -webkit-appearance: none;
    transition: border var(--re-transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.re-searchbox__field input[type="text"] {
    background-image: none;
    padding-right: 14px;
}
.re-searchbox__field select:focus,
.re-searchbox__field input:focus {
    outline: none;
    border-color: var(--re-sea-lt);
    background-color: #fff;
}
.re-btn-search {
    padding: 12px 32px;
    background: var(--re-sea);
    color: #fff;
    border: none;
    border-radius: var(--re-radius);
    font-family: var(--re-font-ui);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--re-transition);
    white-space: nowrap;
    letter-spacing: 0.03em;
    height: 44px;
    align-self: flex-end;
    margin-bottom: 0;
}
.re-btn-search:hover { background: var(--re-dusk); }

/* ============================================================
   PROPERTY CARDS
   ============================================================ */
.re-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}
.re-card {
    background: #fff;
    border-radius: var(--re-radius-lg);
    box-shadow: var(--re-shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--re-transition), transform var(--re-transition);
    border: 1px solid var(--re-rule);
    display: flex;
    flex-direction: column;
}
.re-card:hover {
    box-shadow: var(--re-shadow-md);
    transform: translateY(-2px);
}
.re-card__img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--re-sand);
}
.re-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.re-card:hover .re-card__img img { transform: scale(1.03); }
.re-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.re-badge {
    font-family: var(--re-font-ui);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 3px;
}
.re-badge-featured {
    background: var(--re-badge-feat);
    color: #fff;
}
.re-badge-verified {
    background: var(--re-success);
    color: #fff;
}
.re-badge-type {
    background: rgba(26,58,66,0.82);
    color: rgba(255,255,255,0.92);
}
.re-card__save {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--re-transition);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.re-card__save:hover { background: #fff; }
.re-card__save svg { width: 16px; height: 16px; stroke: var(--re-muted); fill: none; }
.re-card__save.saved svg { stroke: #c0392b; fill: #c0392b; }
.re-card__body {
    padding: 18px 20px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.re-card__price {
    font-family: var(--re-font-head);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--re-dusk);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}
.re-card__price-note {
    font-family: var(--re-font-ui);
    font-size: 0.72rem;
    color: var(--re-muted);
    letter-spacing: 0.04em;
}
.re-card__title {
    font-family: var(--re-font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--re-ink);
    line-height: 1.35;
    margin: 10px 0 6px;
}
.re-card__title a { color: inherit; }
.re-card__title a:hover { color: var(--re-sea); }
.re-card__location {
    font-family: var(--re-font-ui);
    font-size: 0.8rem;
    color: var(--re-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.re-card__specs {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-top: 1px solid var(--re-rule);
    border-bottom: 1px solid var(--re-rule);
    margin-bottom: 14px;
}
.re-card__spec {
    font-family: var(--re-font-ui);
    font-size: 0.78rem;
    color: var(--re-ink-soft);
    display: flex;
    align-items: center;
    gap: 5px;
}
.re-card__spec svg { width: 13px; height: 13px; stroke: var(--re-coconut); fill: none; flex-shrink: 0; }
.re-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}
.re-card__poster {
    font-family: var(--re-font-ui);
    font-size: 0.76rem;
    color: var(--re-muted);
}
.re-card__poster strong { color: var(--re-ink-soft); }
.re-card__actions {
    display: flex;
    gap: 8px;
}
.re-btn-wa {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: var(--re-radius);
    font-family: var(--re-font-ui);
    font-size: 0.76rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--re-transition);
}
.re-btn-wa:hover { background: #1da851; }
.re-btn-call {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 12px;
    background: var(--re-sea);
    color: #fff;
    border: none;
    border-radius: var(--re-radius);
    font-family: var(--re-font-ui);
    font-size: 0.76rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--re-transition);
}
.re-btn-call:hover { background: var(--re-dusk); }
.re-btn-wa svg, .re-btn-call svg { width: 13px; height: 13px; fill: #fff; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.re-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    gap: 16px;
}
.re-section-header__left {}
.re-section-header .re-overline { margin-bottom: 8px; }
.re-view-all {
    font-family: var(--re-font-ui);
    font-size: 0.84rem;
    color: var(--re-sea);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: color var(--re-transition);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}
.re-view-all:hover { border-bottom-color: var(--re-sea); }
.re-view-all svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }

/* ============================================================
   PROPERTY DETAIL PAGE
   ============================================================ */
.re-detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}
.re-gallery {
    background: var(--re-sand);
    border-radius: var(--re-radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
}
.re-gallery__main {
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
}
.re-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.re-gallery__thumbs {
    display: flex;
    gap: 6px;
    padding: 8px;
    overflow-x: auto;
    background: #fff;
}
.re-gallery__thumb {
    flex: 0 0 90px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--re-transition);
}
.re-gallery__thumb.active { border-color: var(--re-sea); }
.re-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.re-gallery__count {
    font-family: var(--re-font-ui);
    font-size: 0.78rem;
    color: var(--re-muted);
    padding: 8px 12px;
    background: #fff;
    text-align: right;
}

/* Property title area */
.re-detail__meta { margin-bottom: 28px; }
.re-detail__type-loc {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.re-detail__title {
    font-family: var(--re-font-head);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--re-dusk);
    line-height: 1.2;
    margin-bottom: 8px;
}
.re-detail__price-line {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 14px;
}
.re-detail__price {
    font-family: var(--re-font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--re-dusk);
}
.re-detail__price-note {
    font-family: var(--re-font-ui);
    font-size: 0.82rem;
    color: var(--re-muted);
}

/* Specs bar */
.re-specs-bar {
    display: flex;
    gap: 0;
    background: var(--re-sand);
    border-radius: var(--re-radius);
    overflow: hidden;
    margin-bottom: 32px;
}
.re-specs-bar__item {
    flex: 1;
    padding: 14px 12px;
    text-align: center;
    border-right: 1px solid var(--re-rule);
}
.re-specs-bar__item:last-child { border-right: none; }
.re-specs-bar__val {
    font-family: var(--re-font-head);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--re-dusk);
    display: block;
}
.re-specs-bar__label {
    font-family: var(--re-font-ui);
    font-size: 0.7rem;
    color: var(--re-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

/* Description */
.re-detail__desc {
    font-family: var(--re-font-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--re-ink-soft);
}
.re-detail__desc p { margin-bottom: 16px; }

/* Features grid */
.re-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 16px;
}
.re-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--re-font-ui);
    font-size: 0.86rem;
    color: var(--re-ink-soft);
    padding: 10px 12px;
    background: var(--re-cream);
    border-radius: var(--re-radius);
    border: 1px solid var(--re-rule);
}
.re-feature-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--re-coconut);
    flex-shrink: 0;
}

/* Inquiry box (sticky sidebar) */
.re-inquiry-box {
    background: #fff;
    border: 1px solid var(--re-rule);
    border-radius: var(--re-radius-lg);
    overflow: hidden;
    box-shadow: var(--re-shadow-md);
    position: sticky;
    top: 90px;
}
.re-inquiry-box__head {
    background: var(--re-dusk);
    padding: 20px 22px;
    color: #fff;
}
.re-inquiry-box__head h3 {
    font-family: var(--re-font-head);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.re-inquiry-box__head p {
    font-family: var(--re-font-ui);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}
.re-inquiry-box__body { padding: 22px; }
.re-inquiry-box__ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.re-btn-wa-full, .re-btn-call-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: var(--re-radius);
    font-family: var(--re-font-ui);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity var(--re-transition);
    border: none;
    cursor: pointer;
}
.re-btn-wa-full { background: #25d366; color: #fff; }
.re-btn-call-full { background: var(--re-sea); color: #fff; }
.re-btn-wa-full:hover, .re-btn-call-full:hover { opacity: 0.9; }
.re-btn-wa-full svg, .re-btn-call-full svg { width: 18px; height: 18px; fill: #fff; }
.re-form-divider {
    text-align: center;
    font-family: var(--re-font-ui);
    font-size: 0.76rem;
    color: var(--re-muted);
    margin: 12px 0;
    position: relative;
}
.re-form-divider::before, .re-form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 38%;
    height: 1px;
    background: var(--re-rule);
}
.re-form-divider::before { left: 0; }
.re-form-divider::after { right: 0; }
.re-inquiry-form {}
.re-input-group { margin-bottom: 12px; }
.re-input-group input,
.re-input-group textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--re-rule);
    border-radius: var(--re-radius);
    font-size: 0.88rem;
    color: var(--re-ink-soft);
    background: var(--re-cream);
    transition: border var(--re-transition);
    resize: none;
}
.re-input-group input:focus,
.re-input-group textarea:focus {
    outline: none;
    border-color: var(--re-sea-lt);
    background: #fff;
}
.re-btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--re-coconut);
    color: #fff;
    border: none;
    border-radius: var(--re-radius);
    font-family: var(--re-font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--re-transition);
    letter-spacing: 0.02em;
}
.re-btn-submit:hover { background: var(--re-dusk); }
.re-inquiry-box__footer {
    padding: 14px 22px;
    background: var(--re-sand);
    border-top: 1px solid var(--re-rule);
    font-family: var(--re-font-ui);
    font-size: 0.76rem;
    color: var(--re-muted);
    text-align: center;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.re-faq-item {
    border-bottom: 1px solid var(--re-rule);
}
.re-faq-item:first-child { border-top: 1px solid var(--re-rule); }
.re-faq-toggle {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 18px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--re-font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--re-dusk);
}
.re-faq-toggle svg {
    width: 18px;
    height: 18px;
    stroke: var(--re-muted);
    fill: none;
    flex-shrink: 0;
    transition: transform var(--re-transition);
}
.re-faq-toggle.open svg { transform: rotate(45deg); }
.re-faq-body {
    display: none;
    padding: 0 0 18px;
    font-size: 0.95rem;
    color: var(--re-ink-soft);
    line-height: 1.7;
}
.re-faq-body.open { display: block; }

/* ============================================================
   TRUST BAND / LOCAL SECTIONS
   ============================================================ */
.re-trust-band {
    background: var(--re-sand);
    border-top: 1px solid var(--re-rule);
    border-bottom: 1px solid var(--re-rule);
    padding: 28px 0;
}
.re-trust-band__inner {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.re-trust-item {
    text-align: center;
}
.re-trust-item strong {
    display: block;
    font-family: var(--re-font-head);
    font-size: 1.5rem;
    color: var(--re-dusk);
    font-weight: 700;
}
.re-trust-item span {
    font-family: var(--re-font-ui);
    font-size: 0.76rem;
    color: var(--re-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============================================================
   DEVELOPER CARDS
   ============================================================ */
.re-dev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.re-dev-card {
    background: #fff;
    border: 1px solid var(--re-rule);
    border-radius: var(--re-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--re-shadow-sm);
    transition: box-shadow var(--re-transition);
}
.re-dev-card:hover { box-shadow: var(--re-shadow-md); }
.re-dev-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.re-dev-card__logo {
    width: 56px;
    height: 56px;
    border-radius: var(--re-radius);
    background: var(--re-sand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--re-font-head);
    font-size: 1.3rem;
    color: var(--re-dusk);
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
}
.re-dev-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.re-dev-card__name {
    font-family: var(--re-font-head);
    font-size: 1rem;
    font-weight: 600;
    color: var(--re-dusk);
    line-height: 1.3;
}
.re-dev-card__location {
    font-family: var(--re-font-ui);
    font-size: 0.78rem;
    color: var(--re-muted);
    margin-top: 3px;
}
.re-dev-card__stats {
    display: flex;
    gap: 20px;
}
.re-dev-card__stat strong {
    display: block;
    font-family: var(--re-font-head);
    font-size: 1.1rem;
    color: var(--re-dusk);
}
.re-dev-card__stat span {
    font-family: var(--re-font-ui);
    font-size: 0.72rem;
    color: var(--re-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.re-dev-card__about {
    font-size: 0.86rem;
    color: var(--re-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.re-dev-card__footer {
    display: flex;
    gap: 8px;
    margin-top: auto;
}
.re-btn-outline {
    flex: 1;
    padding: 9px 14px;
    border: 1px solid var(--re-rule);
    border-radius: var(--re-radius);
    background: none;
    font-family: var(--re-font-ui);
    font-size: 0.82rem;
    color: var(--re-sea);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all var(--re-transition);
}
.re-btn-outline:hover {
    background: var(--re-sea);
    color: #fff;
    border-color: var(--re-sea);
}

/* ============================================================
   POST PROPERTY FORM
   ============================================================ */
.re-steps-indicator {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}
.re-step-dot {
    display: flex;
    align-items: center;
    gap: 0;
}
.re-step-dot__num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--re-sand);
    border: 2px solid var(--re-rule);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--re-font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--re-muted);
    transition: all var(--re-transition);
    position: relative;
    z-index: 1;
}
.re-step-dot__label {
    display: none;
}
.re-step-dot.active .re-step-dot__num { background: var(--re-sea); border-color: var(--re-sea); color: #fff; }
.re-step-dot.done .re-step-dot__num { background: var(--re-success); border-color: var(--re-success); color: #fff; }
.re-step-connector {
    width: 60px;
    height: 2px;
    background: var(--re-rule);
    margin-top: -2px;
}
.re-step-connector.done { background: var(--re-success); }
.re-form-panel {
    display: none;
}
.re-form-panel.active { display: block; }
.re-form-section-title {
    font-family: var(--re-font-head);
    font-size: 1.2rem;
    color: var(--re-dusk);
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--re-rule);
}
.re-field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.re-field-group.single { grid-template-columns: 1fr; }
.re-field-group.triple { grid-template-columns: 1fr 1fr 1fr; }
.re-field label {
    display: block;
    font-family: var(--re-font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--re-coconut);
    margin-bottom: 7px;
}
.re-field label .req { color: #c0392b; }
.re-field input,
.re-field select,
.re-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--re-rule);
    border-radius: var(--re-radius);
    font-size: 0.93rem;
    color: var(--re-ink-soft);
    background: #fff;
    transition: border var(--re-transition);
    font-family: var(--re-font-ui);
}
.re-field input:focus,
.re-field select:focus,
.re-field textarea:focus { outline: none; border-color: var(--re-sea-lt); }
.re-field textarea { resize: vertical; min-height: 120px; }
.re-field .re-hint {
    font-family: var(--re-font-ui);
    font-size: 0.74rem;
    color: var(--re-muted);
    margin-top: 5px;
}
.re-upload-zone {
    border: 2px dashed var(--re-rule);
    border-radius: var(--re-radius-lg);
    padding: 36px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--re-transition), background var(--re-transition);
    background: var(--re-cream);
}
.re-upload-zone:hover { border-color: var(--re-sea-lt); background: #fff; }
.re-upload-zone input { display: none; }
.re-upload-zone__icon { margin-bottom: 12px; }
.re-upload-zone__icon svg { width: 36px; height: 36px; stroke: var(--re-coconut-lt); fill: none; margin: 0 auto; }
.re-upload-zone p {
    font-family: var(--re-font-ui);
    font-size: 0.88rem;
    color: var(--re-muted);
}
.re-upload-zone p strong { color: var(--re-sea); }
.re-upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.re-upload-preview__img {
    position: relative;
    width: 90px;
    height: 70px;
    border-radius: var(--re-radius);
    overflow: hidden;
}
.re-upload-preview__img img { width: 100%; height: 100%; object-fit: cover; }
.re-upload-preview__del {
    position: absolute;
    top: 3px; right: 3px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 11px;
    display: flex; align-items: center; justify-content: center;
}
.re-form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--re-rule);
}
.re-btn-prev {
    padding: 11px 24px;
    border: 1px solid var(--re-rule);
    border-radius: var(--re-radius);
    background: none;
    font-family: var(--re-font-ui);
    font-size: 0.9rem;
    color: var(--re-muted);
    cursor: pointer;
    transition: all var(--re-transition);
}
.re-btn-prev:hover { background: var(--re-sand); }
.re-btn-next {
    padding: 11px 28px;
    border: none;
    border-radius: var(--re-radius);
    background: var(--re-sea);
    color: #fff;
    font-family: var(--re-font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--re-transition);
}
.re-btn-next:hover { background: var(--re-dusk); }

/* ============================================================
   LOCAL CONTENT SECTIONS
   ============================================================ */
.re-local-content {
    background: var(--re-dusk);
    color: rgba(255,255,255,0.85);
    padding: 64px 0;
}
.re-local-content h2 {
    font-family: var(--re-font-head);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 20px;
}
.re-local-content p {
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.78);
}
.re-local-content a { color: var(--re-coconut-lt); }
.re-local-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.re-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
}
.re-page-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--re-rule);
    border-radius: var(--re-radius);
    font-family: var(--re-font-ui);
    font-size: 0.88rem;
    color: var(--re-muted);
    text-decoration: none;
    transition: all var(--re-transition);
}
.re-page-btn:hover, .re-page-btn.active {
    background: var(--re-sea);
    border-color: var(--re-sea);
    color: #fff;
}
.re-page-btn.dots { pointer-events: none; }

/* ============================================================
   FILTER SIDEBAR
   ============================================================ */
.re-listing-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}
.re-filter-sidebar {
    background: #fff;
    border: 1px solid var(--re-rule);
    border-radius: var(--re-radius-lg);
    padding: 22px;
    position: sticky;
    top: 90px;
}
.re-filter-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--re-rule);
}
.re-filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.re-filter-group__title {
    font-family: var(--re-font-ui);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--re-coconut);
    margin-bottom: 12px;
}
.re-check-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}
.re-check-option input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--re-sea);
    cursor: pointer;
}
.re-check-option span {
    font-family: var(--re-font-ui);
    font-size: 0.85rem;
    color: var(--re-ink-soft);
}
.re-price-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
}
.re-price-inputs input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid var(--re-rule);
    border-radius: var(--re-radius);
    font-size: 0.84rem;
    color: var(--re-ink-soft);
    font-family: var(--re-font-ui);
    width: 100%;
}
.re-price-inputs input:focus { outline: none; border-color: var(--re-sea-lt); }
.re-price-inputs span { color: var(--re-muted); font-size: 0.8rem; }
.re-btn-apply-filter {
    width: 100%;
    padding: 10px;
    background: var(--re-sea);
    color: #fff;
    border: none;
    border-radius: var(--re-radius);
    font-family: var(--re-font-ui);
    font-size: 0.88rem;
    cursor: pointer;
    margin-top: 16px;
    transition: background var(--re-transition);
}
.re-btn-apply-filter:hover { background: var(--re-dusk); }

/* ============================================================
   ADMIN
   ============================================================ */
.re-admin { font-family: var(--re-font-ui); }
.re-admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--re-radius-lg);
    overflow: hidden;
    box-shadow: var(--re-shadow-sm);
    border: 1px solid var(--re-rule);
}
.re-admin-table th {
    background: var(--re-sand);
    padding: 12px 16px;
    text-align: left;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--re-coconut);
    font-weight: 600;
    border-bottom: 1px solid var(--re-rule);
}
.re-admin-table td {
    padding: 12px 16px;
    font-size: 0.86rem;
    color: var(--re-ink-soft);
    border-bottom: 1px solid var(--re-rule);
    vertical-align: middle;
}
.re-admin-table tr:last-child td { border-bottom: none; }
.re-admin-table tr:hover td { background: var(--re-cream); }
.re-status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}
.re-status-dot.active { background: var(--re-success); }
.re-status-dot.pending { background: var(--re-badge-feat); }
.re-status-dot.inactive { background: #ccc; }

/* ============================================================
   MAPS
   ============================================================ */
.re-map-container {
    border-radius: var(--re-radius-lg);
    overflow: hidden;
    border: 1px solid var(--re-rule);
}
.re-map-container iframe {
    display: block;
    width: 100%;
    border: none;
}

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.re-success-box {
    max-width: 540px;
    margin: 64px auto;
    text-align: center;
    background: #fff;
    border: 1px solid var(--re-rule);
    border-radius: var(--re-radius-lg);
    padding: 48px 40px;
    box-shadow: var(--re-shadow-md);
}
.re-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e8f5ee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.re-success-icon svg { width: 30px; height: 30px; stroke: var(--re-success); fill: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .re-detail-layout { grid-template-columns: 1fr; }
    .re-listing-layout { grid-template-columns: 1fr; }
    .re-filter-sidebar { position: static; }
    .re-local-grid { grid-template-columns: 1fr; }
    .re-listing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .re-listing-grid { grid-template-columns: 1fr; }
    .re-dev-grid { grid-template-columns: 1fr; }
    .re-searchbox__body { flex-direction: column; }
    .re-searchbox__field { min-width: 100%; }
    .re-btn-search { width: 100%; }
    .re-hero { min-height: 420px; }
    .re-hero__stat { gap: 20px; }
    .re-specs-bar { flex-wrap: wrap; }
    .re-specs-bar__item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid var(--re-rule); }
    .re-field-group { grid-template-columns: 1fr; }
    .re-field-group.triple { grid-template-columns: 1fr; }
    .re-trust-band__inner { gap: 28px; }
    .re-section-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.re-text-center { text-align: center; }
.re-mt-8 { margin-top: 8px; }
.re-mt-16 { margin-top: 16px; }
.re-mt-24 { margin-top: 24px; }
.re-mt-32 { margin-top: 32px; }
.re-mb-8 { margin-bottom: 8px; }
.re-mb-16 { margin-bottom: 16px; }
.re-mb-24 { margin-bottom: 24px; }
.re-empty-state {
    text-align: center;
    padding: 64px 24px;
    color: var(--re-muted);
}
.re-empty-state h3 {
    font-family: var(--re-font-head);
    font-size: 1.2rem;
    color: var(--re-dusk);
    margin-bottom: 8px;
}

/* Lazy load placeholder */
img[data-src] {
    background: var(--re-sand);
    min-height: 100px;
}
