/* Realty Showcase Azure — metro board layout (distinct from shared ep stack) */
:root {
    --az-ink: #0b1220;
    --az-muted: #5b6b82;
    --az-line: #d7e0ef;
    --az-wash: #eef3fb;
    --az-panel: #ffffff;
    --az-primary: var(--theme-primary, #1E3A8A);
    --az-accent: var(--theme-accent, #38BDF8);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.az-body {
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    color: var(--az-ink);
    background: var(--az-wash);
}

.az-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.az-top {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(11, 18, 32, 0.92);
    backdrop-filter: blur(10px);
    color: #f8fafc;
}
.az-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
}
.az-logo {
    font-family: Outfit, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}
.az-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.az-nav a { font-size: 0.92rem; opacity: 0.88; }
.az-nav a:hover { opacity: 1; }
.az-nav-cta {
    background: var(--az-accent);
    color: #082f49 !important;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    opacity: 1 !important;
}

/* Full-bleed image board hero */
.az-board {
    position: relative;
    min-height: min(78vh, 640px);
    display: grid;
    align-items: end;
    color: #fff;
    overflow: hidden;
}
.az-board-media {
    position: absolute;
    inset: 0;
    background:
        var(--az-hero) center/cover no-repeat;
    transform: scale(1.02);
}
.az-board-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 15, 30, 0.88) 8%, rgba(8, 15, 30, 0.45) 48%, rgba(8, 15, 30, 0.2) 100%),
        linear-gradient(0deg, rgba(8, 15, 30, 0.55), transparent 45%);
}
.az-board-copy {
    position: relative;
    z-index: 1;
    padding: 72px 0 56px;
    max-width: 640px;
}
.az-kicker {
    margin: 0 0 12px;
    font-family: Outfit, sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.az-board h1 {
    margin: 0 0 14px;
    font-family: Outfit, sans-serif;
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 700;
}
.az-lead {
    margin: 0 0 24px;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(248, 250, 252, 0.88);
    max-width: 34em;
}
.az-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.az-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    background: var(--az-accent);
    color: #082f49;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 20px;
    border-radius: 10px;
}
.az-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.az-search-rail {
    background: var(--az-panel);
    border-bottom: 1px solid var(--az-line);
    padding: 18px 0;
}
.az-search {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.7fr auto;
    gap: 10px;
}
.az-input {
    border: 1px solid var(--az-line);
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    background: #f8fbff;
}
.az-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.az-chips a {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e8eef9;
    color: var(--az-primary);
}

.az-section { padding: 56px 0; }
.az-section-tint { background: #e4ecf8; }
.az-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}
.az-section-head h2 {
    margin: 0;
    font-family: Outfit, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.03em;
}
.az-section-head a {
    color: var(--az-primary);
    font-weight: 600;
    font-size: 0.92rem;
}
.az-empty { color: var(--az-muted); }

/* Asymmetric featured board */
.az-feature-split {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 18px;
    align-items: stretch;
}
.az-feature-main {
    background: var(--az-panel);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--az-line);
    display: flex;
    flex-direction: column;
}
.az-feature-main-media {
    aspect-ratio: 16 / 11;
    background: #cbd5e1 center/cover no-repeat;
    position: relative;
}
.az-feature-main-body { padding: 18px 20px 22px; }
.az-feature-main-body h3 {
    margin: 6px 0;
    font-family: Outfit, sans-serif;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}
.az-feature-main-body p { margin: 0; color: var(--az-muted); }
.az-price {
    font-family: Outfit, sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--az-primary);
}
.az-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--az-accent);
    color: #082f49;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
}
.az-tag-dark {
    position: static;
    display: inline-block;
    margin-bottom: 8px;
    background: #0b1220;
    color: #e2e8f0;
}

.az-feature-rail {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.az-rail-item {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;
    align-items: center;
    background: var(--az-panel);
    border: 1px solid var(--az-line);
    border-radius: 14px;
    padding: 8px;
    min-height: 92px;
}
.az-rail-thumb {
    width: 92px;
    aspect-ratio: 1;
    border-radius: 10px;
    background: #cbd5e1 center/cover no-repeat;
}
.az-rail-item strong {
    display: block;
    font-family: Outfit, sans-serif;
    color: var(--az-primary);
}
.az-rail-item span {
    display: block;
    font-size: 0.92rem;
    margin: 2px 0;
}
.az-rail-item em {
    font-style: normal;
    font-size: 0.8rem;
    color: var(--az-muted);
}

/* Horizontal project runway */
.az-runway {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 300px);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
}
.az-runway-card {
    background: var(--az-panel);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--az-line);
    scroll-snap-align: start;
}
.az-runway-media {
    aspect-ratio: 1;
    background: #94a3b8 center/cover no-repeat;
}
.az-runway-body { padding: 14px 16px 18px; }
.az-runway-body h3 {
    margin: 0 0 4px;
    font-family: Outfit, sans-serif;
    font-size: 1.05rem;
}
.az-runway-body p { margin: 0; color: var(--az-muted); font-size: 0.88rem; }

.az-agents {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.az-agent {
    background: var(--az-panel);
    border: 1px solid var(--az-line);
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
}
.az-agent img,
.az-agent-fallback {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
}
.az-agent-fallback {
    display: grid;
    place-items: center;
    background: var(--az-primary);
    color: #fff;
    font-family: Outfit, sans-serif;
    font-weight: 700;
}
.az-agent strong { display: block; margin-bottom: 4px; }
.az-agent a { color: var(--az-muted); font-size: 0.85rem; }

.az-band {
    background: linear-gradient(120deg, #0b1220, var(--az-primary));
    color: #f8fafc;
    padding: 48px 0;
}
.az-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.az-band h2 {
    margin: 0 0 6px;
    font-family: Outfit, sans-serif;
    letter-spacing: -0.03em;
}
.az-band p { margin: 0; color: rgba(248, 250, 252, 0.82); }

.az-foot {
    background: #0b1220;
    color: #cbd5e1;
    padding: 40px 0 20px;
}
.az-foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
}
.az-logo-foot { display: block; color: #fff; margin-bottom: 8px; }
.az-foot h4 { margin: 0 0 10px; color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.az-foot a { display: block; margin: 6px 0; color: #94a3b8; }
.az-copy { text-align: center; font-size: 0.8rem; color: #64748b; margin: 28px 0 0; }

.az-wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #22c55e;
    color: #fff;
    font-weight: 800;
    z-index: 50;
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
}

@media (max-width: 900px) {
    .az-feature-split { grid-template-columns: 1fr; }
    .az-search { grid-template-columns: 1fr 1fr; }
    .az-search .az-btn { grid-column: 1 / -1; }
    .az-agents { grid-template-columns: 1fr 1fr; }
    .az-foot-grid { grid-template-columns: 1fr; }
    .az-nav a:not(.az-nav-cta) { display: none; }
}
@media (max-width: 560px) {
    .az-agents { grid-template-columns: 1fr; }
    .az-board { min-height: 70vh; }
}

/* ── Catalog / listing pages (shared ep-* partials) ─────────────────────── */
.ep-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.ep-section { padding: 40px 0 64px; }
.ep-section h1 {
    margin: 0 0 28px;
    font-family: Outfit, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: -0.03em;
}
.ep-empty { color: var(--az-muted); padding: 24px 0; }
.ep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.ep-card {
    display: block;
    background: #fff;
    border: 1px solid var(--az-line);
    border-radius: 16px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.ep-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(30, 58, 138, 0.12);
}
.ep-card-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    background: #cbd5e1 center/cover no-repeat;
    position: relative;
}
.ep-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    background: var(--az-accent);
    color: #082f49;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}
.ep-card-body { padding: 16px 18px 18px; }
.ep-card-price {
    font-family: Outfit, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--az-primary);
    margin-bottom: 4px;
}
.ep-card-body h3 {
    margin: 0 0 6px;
    font-family: Outfit, sans-serif;
    font-size: 1.02rem;
    letter-spacing: -0.01em;
}
.ep-card-location { margin: 0 0 10px; color: var(--az-muted); font-size: 0.88rem; }
.ep-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.84rem;
    color: #475569;
}
.ep-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    background: var(--az-accent);
    color: #082f49;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 14px;
}
.ep-hero--compact {
    background: linear-gradient(145deg, #0b1220, var(--az-primary));
    color: #fff;
    padding: 48px 0 36px;
}
.ep-hero--compact .ep-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.ep-hero-sub { opacity: .9; margin: 6px 0 18px; }
.ep-search-card {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: #fff;
    color: var(--az-ink);
    border-radius: 14px;
    padding: 14px;
}
.ep-search-input {
    flex: 1 1 160px;
    border: 1px solid var(--az-line);
    border-radius: 10px;
    padding: 11px 12px;
    font: inherit;
}
.ep-result-note { margin: 0 0 18px; font-size: 14px; color: var(--az-muted); }
.ep-result-note a { color: var(--az-primary); font-weight: 600; }
.ep-pagination { margin-top: 28px; display: flex; justify-content: center; }
.mt-8 { margin-top: 2rem; }

/* Laravel pagination */
.ep-section nav[role="navigation"] span,
.ep-section nav[role="navigation"] a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    margin: 0 2px;
    border-radius: 8px;
    font-size: 0.9rem;
}
.ep-section nav[role="navigation"] a {
    background: #fff;
    border: 1px solid var(--az-line);
    color: var(--az-primary);
}
.ep-section nav[role="navigation"] span[aria-current="page"] span {
    background: var(--az-primary);
    color: #fff;
}

/* Product / project detail helpers */
.ep-project-hero { background-size: cover; background-position: center; color: #fff; padding: 90px 24px 64px; }
.ep-project-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.ep-project-main h2 { margin: 30px 0 12px; font-size: 22px; color: var(--az-primary); }
.ep-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 22px 0; }
.ep-facts-grid div { background: #e8eef9; border-radius: 12px; padding: 14px 16px; }
.ep-facts-grid span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #64748b; }
.ep-facts-grid strong { font-size: 16px; color: #0f172a; }
.ep-agent-card { background: #fff; border: 1px solid var(--az-line); border-radius: 16px; padding: 22px; text-align: center; }
.ep-agent-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; }
@media (max-width: 860px) { .ep-project-layout { grid-template-columns: 1fr; } }

