/* =========================================================
   MARKO RESIDENC — Premium White Design System
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ── CSS Variables ──────────────────────────────────────── */
:root {
    --white: #ffffff;
    --bg: #f7f8fc;
    --bg-soft: #eef1f8;
    --navy: #0a1628;
    --navy-mid: #142240;
    --gold: #1a56db;
    --gold-light: #3b82f6;
    --accent: #1a56db;
    --accent-light: #e8effd;
    --text: #1e2535;
    --text-muted: #6b7a99;
    --border: #e4e8f0;
    --shadow-sm: 0 2px 12px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 8px 32px rgba(10, 22, 40, 0.10);
    --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.14);
    --shadow-3d: 0 30px 80px rgba(10, 22, 40, 0.18), 0 6px 20px rgba(10, 22, 40, 0.10);
    --radius: 18px;
    --radius-lg: 28px;
    --transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    /* status */
    --available: #10b981;
    --reserved: #f59e0b;
    --sold: #ef4444;
}

/* ── Reset & Base ───────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ── Typography ─────────────────────────────────────────── */
.display-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.navbar-custom {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(10, 22, 40, 0.06);
    padding: 0.85rem 0;
    transition: var(--transition);
}

.navbar-custom.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(10, 22, 40, 0.12);
}

.brand-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy) !important;
    -webkit-text-fill-color: var(--navy);
    background: none;
    position: relative;
}

.brand-title span {
    color: var(--gold);
    -webkit-text-fill-color: var(--gold);
}

.navbar-custom .nav-link {
    color: var(--text) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.navbar-custom .nav-link:hover {
    color: var(--accent) !important;
    background: var(--accent-light);
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after {
    width: 70%;
}

/* Dropdown */
.navbar-custom .dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 220px;
    animation: dropIn 0.25s ease;
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-custom .dropdown-item {
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.navbar-custom .dropdown-item:hover {
    background: var(--accent-light);
    color: var(--accent);
}

/* Nav CTA btn */
.nav-btn-cta {
    background: var(--navy);
    color: #fff !important;
    border-radius: 10px;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: var(--transition) !important;
}

.nav-btn-cta:hover {
    background: var(--gold) !important;
    color: var(--navy) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}

/* Hover open dropdown */
@media (min-width: 992px) {
    .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
    }
}

/* ══════════════════════════════════════════════════════════
   HERO — Video & Page
══════════════════════════════════════════════════════════ */
.video-hero {
    position: relative;
    height: 88vh;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.04);
    transition: transform 8s ease;
}

.video-hero:hover .video-hero-media {
    transform: scale(1);
}

.video-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
            rgba(10, 22, 40, 0.72) 0%,
            rgba(10, 22, 40, 0.45) 50%,
            rgba(10, 22, 40, 0.65) 100%);
    z-index: 1;
}

.video-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 2;
}

.video-hero-overlay {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem 1.5rem;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(201, 168, 76, 0.18);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    letter-spacing: 0.2px;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2.2s infinite;
}

.hero-scroll .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* Page Hero (non-video pages) */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(0.9);
    transition: transform 8s ease;
}

.page-hero:hover img {
    transform: scale(1.03);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 2;
}

.page-hero-overlay {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 6rem 0 4rem;
    color: #fff;
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn-gold {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.9rem 2.2rem;
    border-radius: 5px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(26, 86, 219, 0.35);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(26, 86, 219, 0.5);
    color: #fff;
}

.btn-navy {
    background: var(--available);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.9rem 2.2rem;
    border-radius: 5px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
}

.btn-navy:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.35);
    background: #059669;
    color: #fff;
}

.btn-outline-navy {
    background: transparent;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.85rem 2rem;
    border-radius: 5px;
    border: 2px solid var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
}

.btn-outline-navy:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 86, 219, 0.2);
}

/* ══════════════════════════════════════════════════════════
   3D CARDS
══════════════════════════════════════════════════════════ */

/* Residence / Project card */
.card-3d {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    transform: perspective(1000px) translateZ(0);
    position: relative;
    height: 100%;
}

.card-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.card-3d:hover {
    transform: perspective(1000px) translateY(-12px) rotateX(2deg);
    box-shadow: var(--shadow-3d);
    border-color: transparent;
}

.card-3d:hover::before {
    opacity: 1;
}

.card-3d .card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 230px;
}

.card-3d .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-3d:hover .card-img-wrap img {
    transform: scale(1.08);
}

.card-3d .card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    z-index: 2;
}

.card-3d .card-body-inner {
    padding: 1.75rem;
    position: relative;
    z-index: 2;
}

.card-3d .card-title-3d {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.card-3d .card-text-3d {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.card-3d .card-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.card-3d .card-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.card-3d:hover .card-arrow {
    background: var(--accent);
    color: #fff;
    transform: translateX(3px);
}

/* Feature / Info card (small) */
.feat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feat-card:hover::after {
    transform: scaleX(1);
}

.feat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.feat-card:hover .feat-icon {
    background: var(--navy);
    color: var(--gold);
    transform: rotate(-5deg) scale(1.05);
}

.feat-card h4 {
    font-weight: 700;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feat-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* Stat card */
.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.stat-num span {
    color: var(--gold);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Contact card */
.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.contact-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

/* Info tag row */
.info-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-soft);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════════ */
.section-pad {
    padding: 6rem 0;
}

.section-pad-sm {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 520px;
    line-height: 1.7;
}

/* Divider accent line */
.accent-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 3px;
    margin: 1rem 0 1.25rem;
}

/* ── Alternating background strips ── */
.bg-soft-strip {
    background: var(--bg);
}

.bg-navy-strip {
    background: var(--navy);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════
   INTERACTIVE VIEWPORT (Floor Plan)
══════════════════════════════════════════════════════════ */
.interactive-viewport {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 2.5rem auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-3d);
    background: #000;
}

.full-width-viewport {
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
}

.interactive-viewport img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.interactive-svg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

/* Hotspots */
.hotspot-area,
.hotspot-polygon {
    fill: transparent;
    stroke: transparent;
    stroke-width: 0.2;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    pointer-events: all;
}

.hotspot-text {
    fill: #ffffff;
    font-size: 2px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: central;
    pointer-events: none;
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.8)) drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.6));
    opacity: 0.95;
    transition: all 0.2s ease;
}

.hotspot-area:hover,
.hotspot-polygon:hover {
    fill: rgba(26, 86, 219, 0.55);
    stroke: #60a5fa;
    stroke-width: 0.3;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(26, 86, 219, 0.4));
}

.hotspot-area.hotspot-visible,
.hotspot-polygon.hotspot-visible {
    fill: rgba(26, 86, 219, 0.35);
    stroke: #2563eb;
    stroke-width: 0.2;
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(26, 86, 219, 0.3));
}

.hotspot-link:focus .hotspot-polygon,
.hotspot-link:focus-visible .hotspot-polygon {
    fill: rgba(26, 86, 219, 0.35);
    stroke: #2563eb;
    stroke-width: 0.2;
    opacity: 1;
}

/* Apartment status coloring */
.hotspot-apt-available {
    fill: transparent;
    stroke: transparent;
    opacity: 0;
}

.hotspot-apt-available:hover,
.hotspot-apt-available.hotspot-visible {
    fill: rgba(16, 185, 129, 0.4);
    stroke: #10b981;
    stroke-width: 0.4;
    opacity: 1;
}

.hotspot-apt-reserved {
    fill: rgba(245, 158, 11, 0.2);
    stroke: var(--reserved);
    stroke-width: 0.4;
    opacity: 1;
}

.hotspot-apt-reserved:hover {
    fill: rgba(245, 158, 11, 0.6);
    stroke-width: 0.8;
}

.hotspot-apt-sold {
    fill: rgba(239, 68, 68, 0.3);
    stroke: var(--sold);
    stroke-width: 0.4;
    cursor: not-allowed;
    opacity: 1;
}

.hotspot-apt-sold:hover {
    fill: rgba(239, 68, 68, 0.65);
}

/* ══════════════════════════════════════════════════════════
   GLASS CARD (for dark overlays)
══════════════════════════════════════════════════════════ */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    padding: 1.75rem;
}

/* ══════════════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════════════ */
.modal-content-glass {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 24px;
}

/* Status badges */
.badge-status-available {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-status-reserved {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-status-sold {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   FORM Styles
══════════════════════════════════════════════════════════ */
.form-control-custom {
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.form-control-custom:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
    outline: none;
}

.form-label-custom {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.65);
    padding: 5rem 0 2rem;
}

.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: #fff;
}

.footer-brand span {
    color: var(--gold);
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.75rem;
    max-width: 280px;
}

.footer-heading {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
    padding-top: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

/* ══════════════════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════════════════ */
.breadcrumb-custom {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-custom .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.35);
}

/* ══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .video-hero {
        height: 70vh;
        min-height: 420px;
    }

    .section-pad {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .card-3d .card-img-wrap {
        height: 190px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn-gold,
    .btn-navy {
        padding: 0.8rem 1.6rem;
        font-size: 0.85rem;
    }
}

/* ═══════════════════════════════════════
   NAVBAR OVERRIDE for fullWidth pages
   (transparent on top of dark hero,
    white/bordered after scroll)
═══════════════════════════════════════ */
.mr-navbar-transparent {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
    transition: var(--mr-transition);
}

.mr-navbar-transparent .brand-title {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.mr-navbar-transparent .brand-title span {
    color: #4ade80 !important;
    -webkit-text-fill-color: #4ade80 !important;
}

.mr-navbar-transparent .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

.mr-navbar-transparent .nav-link:hover {
    color: #4ade80 !important;
    background: rgba(74, 222, 128, 0.1) !important;
}

.mr-navbar-transparent .navbar-toggler-icon {
    filter: invert(1);
}

/* Scrolled: switch to white card */
.mr-navbar-transparent.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 1px solid var(--mr-border) !important;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.1) !important;
    backdrop-filter: blur(20px);
}

.mr-navbar-transparent.scrolled .brand-title {
    color: var(--mr-dark) !important;
    -webkit-text-fill-color: var(--mr-dark) !important;
}

.mr-navbar-transparent.scrolled .nav-link {
    color: var(--mr-text) !important;
}

.mr-navbar-transparent.scrolled .navbar-toggler-icon {
    filter: none;
}

/* ═══════════════════════════════════════════════════════════
   MARKO RESIDENC — GREEN & BLUE HOMEPAGE DESIGN SYSTEM
   Fond: i Bardhë  |  Ngjyra: Jeshile & Blu
═══════════════════════════════════════════════════════════ */

/* ── Green & Blue Tokens ── */
:root {
    --mr-green: #16a34a;
    --mr-green-mid: #15803d;
    --mr-green-light: #dcfce7;
    --mr-green-pale: #f0fdf4;
    --mr-blue: #1d4ed8;
    --mr-blue-mid: #1e40af;
    --mr-blue-light: #dbeafe;
    --mr-blue-pale: #eff6ff;
    --mr-teal: #0d9488;
    --mr-teal-light: #ccfbf1;
    --mr-teal-pale: #f0fdfa;
    --mr-dark: #0f172a;
    --mr-dark-mid: #1e293b;
    --mr-white: #ffffff;
    --mr-soft: #f8fafc;
    --mr-border: #e2e8f0;
    --mr-text: #1e293b;
    --mr-muted: #64748b;
    --mr-shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.06);
    --mr-shadow-md: 0 8px 30px rgba(15, 23, 42, 0.10);
    --mr-shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.14);
    --mr-radius: 16px;
    --mr-radius-lg: 24px;
    --mr-transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── Scroll Reveal (for new classes) ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.mr-hero {
    position: relative;
    height: 92vh;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background: var(--mr-dark);
}

.mr-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.04);
    transition: transform 8s ease;
    filter: brightness(0.65) saturate(0.85);
}

.mr-hero:hover .mr-hero__video {
    transform: scale(1);
}

.mr-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(160deg,
            rgba(15, 23, 42, 0.80) 0%,
            rgba(22, 163, 74, 0.25) 55%,
            rgba(29, 78, 216, 0.45) 100%);
}

.mr-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, #fff 0%, transparent 100%);
    z-index: 2;
}

.mr-hero__content-top {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 2rem 1.5rem;
    padding-top: 5vh;
}

.mr-hero__content-bottom {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 2rem 1.5rem;
    padding-bottom: 12vh;
}

.mr-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(22, 163, 74, 0.18);
    border: 1px solid rgba(22, 163, 74, 0.45);
    color: #86efac;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.mr-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.mr-title-accent {
    background: linear-gradient(135deg, #4ade80, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mr-hero__sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.7;
}

.mr-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.mr-hero__scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mr-scroll-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
    animation: mr-pulse 2s infinite;
}

@keyframes mr-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.5;
    }
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.mr-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.85rem 2rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--mr-transition);
}

.mr-btn--primary {
    background: linear-gradient(135deg, var(--mr-green), #22c55e);
    color: #fff;
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.35);
}

.mr-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(22, 163, 74, 0.5);
    color: #fff;
}

.mr-btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.mr-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    color: #fff;
}

.mr-btn--outline-green {
    background: transparent;
    color: var(--mr-green);
    border: 2px solid var(--mr-green);
}

.mr-btn--outline-green:hover {
    background: var(--mr-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.25);
}

.mr-btn--white {
    background: #fff;
    color: var(--mr-green-mid);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    font-weight: 700;
}

.mr-btn--white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
    color: var(--mr-green-mid);
}

.mr-btn--ghost-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.mr-btn--ghost-white:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.mr-btn--sm {
    padding: 0.65rem 1.4rem;
    font-size: 0.85rem;
}

/* ═══════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════ */
.mr-stats-strip {
    background: var(--mr-white);
    border-bottom: 1px solid var(--mr-border);
    padding: 2.5rem 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.mr-stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.mr-stat {
    text-align: center;
    padding: 1rem 3rem;
    flex: 1;
    min-width: 150px;
}

.mr-stat__num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--mr-dark);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.mr-stat__num span {
    color: var(--mr-green);
}

.mr-stat__label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--mr-muted);
    letter-spacing: 0.5px;
}

.mr-stat-divider {
    width: 1px;
    height: 60px;
    background: var(--mr-border);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   SECTIONS
═══════════════════════════════════════ */
.mr-section {
    padding: 7rem 0;
}

.mr-section--white {
    background: var(--mr-white);
}

.mr-section--soft {
    background: var(--mr-soft);
}

.mr-section--gradient {
    background: linear-gradient(135deg, var(--mr-dark) 0%, #0f2a1e 50%, var(--mr-dark-mid) 100%);
}

/* Labels */
.mr-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mr-green);
    margin-bottom: 0.6rem;
}

.mr-label--blue {
    color: var(--mr-blue);
}

.mr-label--white {
    color: #86efac;
}

/* Section titles */
.mr-section-head {
    margin-bottom: 4rem;
}

.mr-section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--mr-dark);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.mr-section-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--mr-green), var(--mr-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mr-section-title--white {
    color: #fff;
}

.mr-section-title--white em {
    background: linear-gradient(135deg, #4ade80, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mr-section-desc {
    color: var(--mr-muted);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.75;
}

.mr-text-body {
    color: var(--mr-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

/* Underline accent */
.mr-underline {
    width: 55px;
    height: 4px;
    background: linear-gradient(90deg, var(--mr-green), var(--mr-blue));
    border-radius: 4px;
    margin: 1rem auto 1.5rem;
}

.mr-underline--white {
    background: linear-gradient(90deg, #4ade80, #60a5fa);
}

/* ═══════════════════════════════════════
   WHY-BUY GRID
═══════════════════════════════════════ */
.mr-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

@media (max-width: 992px) {
    .mr-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .mr-why-grid {
        grid-template-columns: 1fr;
    }
}

.mr-why-card {
    background: var(--mr-white);
    border: 1.5px solid var(--mr-border);
    border-radius: var(--mr-radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--mr-shadow-sm);
    transition: var(--mr-transition);
    position: relative;
    overflow: hidden;
}

.mr-why-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--mr-green), var(--mr-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--mr-transition);
}

.mr-why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--mr-shadow-lg);
    border-color: transparent;
}

.mr-why-card:hover::before {
    transform: scaleX(1);
}

.mr-why-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: var(--mr-transition);
}

.mr-icon--green {
    background: var(--mr-green-light);
    color: var(--mr-green-mid);
}

.mr-icon--blue {
    background: var(--mr-blue-light);
    color: var(--mr-blue-mid);
}

.mr-icon--teal {
    background: var(--mr-teal-light);
    color: var(--mr-teal);
}

.mr-why-card:hover .mr-why-icon {
    background: var(--mr-dark);
    color: #4ade80;
    transform: rotate(-5deg) scale(1.08);
}

.mr-why-card h3 {
    font-weight: 700;
    color: var(--mr-dark);
    font-size: 1.05rem;
    margin-bottom: 0.55rem;
}

.mr-why-card p {
    color: var(--mr-muted);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

/* ═══════════════════════════════════════
   HARTA / MAP
═══════════════════════════════════════ */
.mr-map-wrapper {
    position: relative;
    border-radius: var(--mr-radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.18);
    border: 2px solid var(--mr-border);
}

.mr-map-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mr-map-wrapper:hover .mr-map-img {
    transform: scale(1.03);
}

.mr-map-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(22, 163, 74, 0.9);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.mr-map-pin {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.88);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(8px);
    white-space: nowrap;
    z-index: 2;
}

.mr-map-pin i {
    color: #f87171;
}

/* Location list */
.mr-location-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.mr-location-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    background: var(--mr-white);
    border: 1px solid var(--mr-border);
    border-radius: 12px;
    transition: var(--mr-transition);
    box-shadow: var(--mr-shadow-sm);
}

.mr-location-item:hover {
    transform: translateX(6px);
    border-color: var(--mr-green);
}

.mr-loc-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--mr-green-light);
    color: var(--mr-green-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.mr-loc-icon--blue {
    background: var(--mr-blue-light);
    color: var(--mr-blue-mid);
}

.mr-loc-icon--teal {
    background: var(--mr-teal-light);
    color: var(--mr-teal);
}

.mr-location-item strong {
    display: block;
    font-weight: 700;
    color: var(--mr-dark);
    font-size: 0.9rem;
}

.mr-location-item span {
    color: var(--mr-muted);
    font-size: 0.82rem;
}

/* ═══════════════════════════════════════
   RESIDENCE CARDS
═══════════════════════════════════════ */
.mr-res-card {
    background: var(--mr-white);
    border-radius: var(--mr-radius-lg);
    border: 1.5px solid var(--mr-border);
    overflow: hidden;
    box-shadow: var(--mr-shadow-md);
    transition: var(--mr-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mr-res-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--mr-shadow-lg);
    border-color: transparent;
}

.mr-res-card__img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.mr-res-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.mr-res-card:hover .mr-res-card__img {
    transform: scale(1.09);
}

.mr-res-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.5) 0%, transparent 55%);
}

.mr-res-card__badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: rgba(22, 163, 74, 0.92);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.mr-res-card__body {
    padding: 1.6rem 1.6rem 1rem;
    flex: 1;
}

.mr-res-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mr-dark);
    margin-bottom: 0.5rem;
}

.mr-res-card__desc {
    color: var(--mr-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.mr-res-card__tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mr-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--mr-green-light);
    color: var(--mr-green-mid);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
}

.mr-tag--blue {
    background: var(--mr-blue-light);
    color: var(--mr-blue-mid);
}

.mr-res-card__footer {
    padding: 1rem 1.6rem 1.6rem;
}

/* ═══════════════════════════════════════
   AMENITIES
═══════════════════════════════════════ */
.mr-amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .mr-amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .mr-amenities-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.mr-amenity {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mr-radius);
    padding: 2rem 1.25rem;
    text-align: center;
    transition: var(--mr-transition);
    backdrop-filter: blur(8px);
}

.mr-amenity:hover {
    background: rgba(74, 222, 128, 0.12);
    border-color: rgba(74, 222, 128, 0.35);
    transform: translateY(-6px);
}

.mr-amenity__icon {
    font-size: 1.9rem;
    background: linear-gradient(135deg, #4ade80, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.85rem;
    display: block;
}

.mr-amenity span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════
   STEPS
═══════════════════════════════════════ */
.mr-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.mr-step {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    text-align: center;
    padding: 2rem 1.25rem;
    position: relative;
}

.mr-step__num {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--mr-green), var(--mr-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.mr-step__content h4 {
    font-weight: 700;
    color: var(--mr-dark);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.mr-step__content p {
    color: var(--mr-muted);
    font-size: 0.87rem;
    line-height: 1.65;
    margin: 0;
}

.mr-step-arrow {
    color: var(--mr-green);
    font-size: 1.3rem;
    padding: 0 0.5rem;
    align-self: center;
    opacity: 0.5;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .mr-step-arrow {
        display: none;
    }
}

/* ═══════════════════════════════════════
   CTA STRIP
═══════════════════════════════════════ */
.mr-cta-strip {
    background: linear-gradient(135deg, var(--mr-green-mid) 0%, var(--mr-blue-mid) 100%);
    padding: 5rem 0;
}

.mr-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.mr-cta-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.mr-cta-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    margin: 0;
}

.mr-cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   FOOTER PREMIUM
═══════════════════════════════════════ */
.mr-footer {
    background: var(--mr-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 5rem 0 0;
}

.mr-footer__brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 2.5px;
    color: #fff;
    text-transform: uppercase;
}

.mr-footer__brand span {
    background: linear-gradient(135deg, #4ade80, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mr-footer__desc {
    font-size: 0.87rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.85rem;
    max-width: 300px;
}

.mr-footer__socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.mr-social {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--mr-transition);
    text-decoration: none;
}

.mr-social:hover {
    background: linear-gradient(135deg, var(--mr-green), var(--mr-blue));
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
}

.mr-footer__heading {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #4ade80;
    margin-bottom: 1.25rem;
}

.mr-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mr-footer__links li {
    margin-bottom: 0.7rem;
}

.mr-footer__links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.87rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--mr-transition);
}

.mr-footer__links a:hover {
    color: #4ade80;
    transform: translateX(5px);
}

.mr-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: 4rem;
    padding: 1.75rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mr-footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.mr-link {
    color: var(--mr-green);
    text-decoration: underline;
}

/* ═══════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════ */
.mr-empty-state {
    padding: 4rem 2rem;
    background: var(--mr-soft);
    border-radius: var(--mr-radius-lg);
    border: 2px dashed var(--mr-border);
}

/* ═══════════════════════════════════════
   RESPONSIVE OVERRIDES
═══════════════════════════════════════ */
@media (max-width: 768px) {
    .mr-hero {
        height: 75vh;
    }

    .mr-section {
        padding: 5rem 0;
    }

    .mr-cta-inner {
        text-align: center;
        justify-content: center;
    }

    .mr-cta-actions {
        justify-content: center;
    }

    .mr-stat {
        padding: 1rem 1.5rem;
    }

    .mr-stat-divider {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .mr-hero__title {
        font-size: 2.4rem;
    }

    .mr-hero__actions {
        flex-direction: column;
    }

    .mr-stats-grid {
        flex-direction: column;
    }

    .mr-stat-divider {
        width: 60px;
        height: 1px;
    }
}

/* ═══════════════════════════════════════════════════════════
   GALLERY SECTION — Swiper Coverflow PREMIUM
   Used in: index.php (dark) & residence.php (light)
═══════════════════════════════════════════════════════════ */

/* ── Dark variant (index.php) ──────────────────────────── */
.mr-gallery-section {
    padding: 7rem 0 5rem;
    background: #080e1a;
    overflow: hidden;
    position: relative;
}

.mr-gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 55% at 15% 60%, rgba(52, 199, 89, 0.10) 0%, transparent 70%),
        radial-gradient(ellipse 60% 55% at 85% 40%, rgba(29, 78, 216, 0.10) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.mr-gallery-section>* {
    position: relative;
    z-index: 1;
}

/* Section header in dark variant */
.mr-gallery-section .mr-section-title--white {
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.mr-gallery-section .mr-section-title--white em {
    background: linear-gradient(135deg, #34C759, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}

.mr-gallery-section .mr-label--white {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    backdrop-filter: blur(6px);
}

.mr-gallery-section .mr-underline--white {
    background: linear-gradient(90deg, #34C759, #1d4ed8);
    height: 3px;
    width: 60px;
    border-radius: 4px;
    margin: 1.2rem auto 0;
}

/* ── Shared Swiper Container ───────────────────────────── */
.mr-gallery-swiper {
    width: 100%;
    padding: 3.5rem 0 5rem !important;
    position: relative;
}

/* ── Slide Base ────────────────────────────────────────── */
.mr-gallery-swiper .swiper-slide {
    width: 400px;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    cursor: grab;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.mr-gallery-swiper .swiper-slide:active {
    cursor: grabbing;
}

.mr-gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), filter 0.4s ease;
    filter: brightness(0.88);
    will-change: transform;
}

/* Active slide: pop forward, glowing ring */
.mr-gallery-swiper .swiper-slide-active {
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.55),
        0 0 0 2.5px rgba(52, 199, 89, 0.7),
        0 0 30px rgba(52, 199, 89, 0.2);
    z-index: 10 !important;
}

.mr-gallery-swiper .swiper-slide-active img {
    filter: brightness(1);
    transform: scale(1.03);
}

.mr-gallery-swiper .swiper-slide:hover img {
    filter: brightness(0.95);
    transform: scale(1.05);
}

.mr-gallery-swiper .swiper-slide-active:hover img {
    transform: scale(1.07);
}

/* ── Slide overlay + name badge (index only) ──────────── */
.mr-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.80) 0%,
            rgba(0, 0, 0, 0.20) 45%,
            transparent 70%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem 1.5rem 1.75rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* Always show name on active slide */
.mr-gallery-swiper .swiper-slide-active .mr-slide-overlay,
.mr-gallery-swiper .swiper-slide:hover .mr-slide-overlay {
    opacity: 1;
}

.mr-slide-name {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 0.4px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px) saturate(1.5);
    -webkit-backdrop-filter: blur(8px) saturate(1.5);
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    transform: translateY(6px);
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.mr-gallery-swiper .swiper-slide-active .mr-slide-name,
.mr-gallery-swiper .swiper-slide:hover .mr-slide-name {
    transform: translateY(0);
}

.mr-slide-name i {
    color: #34C759;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ── Navigation Arrows ─────────────────────────────────── */
.mr-gallery-swiper .swiper-button-prev,
.mr-gallery-swiper .swiper-button-next {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}

/* Dark (index) variant arrows */
.mr-gallery-section .swiper-button-prev,
.mr-gallery-section .swiper-button-next {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mr-gallery-section .swiper-button-prev:hover,
.mr-gallery-section .swiper-button-next:hover {
    background: rgba(52, 199, 89, 0.22);
    border-color: rgba(52, 199, 89, 0.55);
    box-shadow: 0 4px 24px rgba(52, 199, 89, 0.25);
    transform: translateY(-50%) scale(1.08);
}

.mr-gallery-swiper .swiper-button-prev::after,
.mr-gallery-swiper .swiper-button-next::after {
    font-size: 0.95rem;
    font-weight: 800;
}

/* ── Pagination Dots ───────────────────────────────────── */
.mr-gallery-swiper .swiper-pagination {
    bottom: 0.8rem;
}

.mr-gallery-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50px;
    opacity: 1;
    transition: all 0.35s ease;
}

.mr-gallery-section .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.25);
}

.mr-gallery-section .swiper-pagination-bullet-active {
    background: #34C759;
    width: 26px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(52, 199, 89, 0.5);
}

/* ═══════════════════════════════════════════════════════
   RESIDENCE PAGE — Light Coverflow Gallery
═══════════════════════════════════════════════════════ */
.mr-residence-gallery {
    padding: 5rem 0 4rem;
    background: #f4f7fb;
    position: relative;
    overflow: hidden;
}

.mr-residence-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #34C759 30%, #1d4ed8 70%, transparent);
}

.mr-residence-gallery .mr-section-title em {
    background: linear-gradient(135deg, #1d4ed8, #34C759);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}

/* Slides in light variant */
.mr-residence-gallery .mr-gallery-swiper .swiper-slide {
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.10),
        inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.mr-residence-gallery .mr-gallery-swiper .swiper-slide img {
    filter: brightness(0.95);
}

.mr-residence-gallery .mr-gallery-swiper .swiper-slide-active {
    box-shadow:
        0 28px 70px rgba(29, 78, 216, 0.20),
        0 0 0 2.5px #1d4ed8,
        0 0 25px rgba(29, 78, 216, 0.15);
}

.mr-residence-gallery .mr-gallery-swiper .swiper-slide-active img {
    filter: brightness(1);
}

/* Light variant arrows */
.mr-residence-gallery .swiper-button-prev,
.mr-residence-gallery .swiper-button-next {
    color: #1d4ed8;
    background: rgba(29, 78, 216, 0.07);
    border: 1.5px solid rgba(29, 78, 216, 0.18);
    box-shadow: 0 4px 20px rgba(29, 78, 216, 0.12);
}

.mr-residence-gallery .swiper-button-prev:hover,
.mr-residence-gallery .swiper-button-next:hover {
    background: rgba(29, 78, 216, 0.14);
    border-color: rgba(29, 78, 216, 0.45);
    box-shadow: 0 4px 24px rgba(29, 78, 216, 0.22);
    transform: translateY(-50%) scale(1.08);
}

/* Light variant pagination */
.mr-residence-gallery .swiper-pagination-bullet {
    background: rgba(29, 78, 216, 0.2);
}

.mr-residence-gallery .swiper-pagination-bullet-active {
    background: #1d4ed8;
    width: 26px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(29, 78, 216, 0.4);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
    .mr-gallery-swiper .swiper-slide {
        width: 300px;
        height: 220px;
        border-radius: 16px;
    }

    .mr-gallery-section {
        padding: 4rem 0 3rem;
    }

    .mr-residence-gallery {
        padding: 3rem 0;
    }

    .mr-gallery-swiper {
        padding: 2rem 0 4rem !important;
    }
}

@media (max-width: 480px) {
    .mr-gallery-swiper .swiper-slide {
        width: 260px;
        height: 190px;
    }

    .mr-slide-name {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
}

/* end of stylesheet */