:root {
    --primary: #7C1D24;
    --primary-dark: #581117;
    --primary-light: #A12B34;
    --gold: #C8922B;
    --gold-light: #FDE68A;
    --gold-soft: #FEF3C7;
    --bg: #F6F7FB;
    --surface: #FFFFFF;
    --text: #0F172A;
    --muted: #475569;
    --border: #E2E8F0;
    --whatsapp: #16A34A;
    --whatsapp-dark: #15803D;
    --radius: 16px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 55px rgba(15, 23, 42, 0.16);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Tamil", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

.hidden {
    display: none !important;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Smooth Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(18px, -14px) scale(1.06);
    }
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulsePlot {
    0%, 100% { fill-opacity: 0.78; }
    50% { fill-opacity: 0.24; }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s var(--ease);
}

.brand-link:hover {
    transform: translateY(-1px);
}

.brand-logo {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(124, 29, 36, 0.2));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.025em;
    color: var(--primary);
    line-height: 1.15;
}

.brand-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-weight: 700;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    position: relative;
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--text);
    padding: 6px 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s var(--ease);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.94rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.22s var(--ease), background-color 0.2s ease, box-shadow 0.22s var(--ease), border-color 0.2s ease;
    text-align: center;
}

.btn svg {
    transition: transform 0.22s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn:active {
    transform: translateY(0);
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
    border-radius: 10px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(124, 29, 36, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: 0 10px 24px rgba(124, 29, 36, 0.34);
}

.btn-secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.24);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.32);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.65);
}

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, #991B1B 0%, transparent 45%),
                radial-gradient(circle at 88% 75%, rgba(200, 146, 43, 0.28) 0%, transparent 48%),
                linear-gradient(135deg, #1E070A 0%, #63131A 52%, #310A10 100%);
    color: #fff;
    padding: 68px 0 72px;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    opacity: 0.35;
    animation: floatOrb 10s ease-in-out infinite;
}

.hero-section::before {
    width: 340px;
    height: 340px;
    background: #D4A438;
    top: -110px;
    right: -60px;
}

.hero-section::after {
    width: 280px;
    height: 280px;
    background: #FB7185;
    bottom: -100px;
    left: -80px;
    animation-delay: -4s;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 36px;
    align-items: center;
}

.hero-content {
    animation: fadeUp 0.7s var(--ease) both;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    animation: fadeUp 0.85s var(--ease) 0.1s both;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(212, 164, 56, 0.18);
    border: 1px solid rgba(253, 230, 138, 0.45);
    color: #FDE68A;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-eyebrow.dark {
    background: var(--gold-soft);
    color: #92400E;
    border-color: #FCD34D;
}

.hero-section h1 {
    margin: 0 0 16px;
    font-size: clamp(1.85rem, 3.8vw, 3rem);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    margin: 0 0 28px;
    font-size: 1.07rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 56ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    padding: 22px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.25s var(--ease), background-color 0.25s ease, border-color 0.25s ease;
}

.hero-stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}

.hero-stat-card.accent-open {
    background: rgba(22, 163, 74, 0.25);
    border-color: rgba(134, 239, 172, 0.55);
}

.hero-stat-card.accent-open .hero-stat-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-stat-card.accent-open .hero-stat-label::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4ADE80;
    animation: livePulse 2s infinite;
}

.hero-stat-value {
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.88);
    margin-top: 6px;
    font-weight: 500;
}

/* Sections */
.section {
    padding: 64px 0;
}

.section-alt {
    background: #FFFFFF;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 26px;
}

.section-header-center {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.section-title {
    margin: 0 0 6px;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.section-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 0.99rem;
}

/* Filters */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    background: var(--surface);
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
}

.filter-input-wrap {
    position: relative;
    flex: 1 1 250px;
}

.filter-input-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    pointer-events: none;
}

.filter-input-wrap .form-control {
    padding-left: 40px;
}

.filter-select {
    flex: 0 1 190px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    font-size: 0.94rem;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 29, 36, 0.12);
}

.checkbox-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    background: #F8FAFC;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.checkbox-pill:hover {
    background: #F1F5F9;
    border-color: #94A3B8;
}

.checkbox-pill.compact {
    padding: 7px 12px;
    font-size: 0.84rem;
}

.checkbox-pill input {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.badge-dark {
    background: rgba(15, 23, 42, 0.86);
    color: #fff;
    backdrop-filter: blur(6px);
}

.badge-gold {
    background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
    color: #1E293B;
}

.badge-soft {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(6px);
}

/* Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
    border-color: #CBD5E1;
}

.project-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #F1F5F9;
    overflow: hidden;
}

.project-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.project-card:hover .project-thumb {
    transform: scale(1.06);
}

.project-thumb-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-card-accent {
    height: 4px;
    width: 100%;
}

.project-card-body {
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-promoter {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
}

.project-title {
    margin: 0 0 3px;
    font-size: 1.24rem;
    font-weight: 800;
    line-height: 1.25;
}

.project-title a {
    transition: color 0.18s ease;
}

.project-card:hover .project-title a {
    color: var(--primary);
}

.project-subtitle {
    font-size: 0.94rem;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.project-location {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: var(--muted);
    font-size: 0.87rem;
    margin-bottom: 18px;
}

.project-location svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

.availability-box {
    margin-top: auto;
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
}

.availability-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.availability-ratio {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    line-height: 1.1;
}

.availability-caption {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
}

.price-pill {
    background: #fff;
    border: 1px solid var(--border);
    padding: 6px 11px;
    border-radius: 9px;
    font-weight: 800;
    font-size: 0.88rem;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.multi-progress {
    height: 10px;
    background: #E2E8F0;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    margin-bottom: 11px;
}

.multi-progress-seg {
    height: 100%;
    transition: width 0.5s var(--ease);
}

.status-mini-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mini-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.73rem;
    background: #fff;
    border: 1px solid var(--border);
    padding: 3px 8px;
    border-radius: 999px;
    color: var(--muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.project-card-footer {
    padding: 0 22px 20px;
    display: flex;
    gap: 8px;
}

/* Status Guide */
.status-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.status-guide-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s ease;
}

.status-guide-card:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.status-swatch {
    display: inline-flex;
    padding: 5px 13px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 10px;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.1);
}

.status-guide-card p {
    margin: 0;
    font-size: 0.89rem;
    color: var(--muted);
}

/* Enquiry Split */
.enquiry-split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 36px;
    align-items: center;
}

.trust-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 11px;
}

.trust-list li {
    position: relative;
    padding-left: 28px;
    font-weight: 600;
}

.trust-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--whatsapp);
    font-weight: 800;
}

.enquiry-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.enquiry-card h3 {
    margin: 0 0 18px;
    font-size: 1.25rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.form-feedback {
    margin-top: 12px;
    font-size: 0.92rem;
    font-weight: 600;
}

.form-feedback.success {
    color: #15803D;
}

.form-feedback.error {
    color: #B91C1C;
}

/* Project Detail Hero */
.project-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 90% 20%, rgba(212, 164, 56, 0.25) 0%, transparent 45%),
                linear-gradient(135deg, #17143A 0%, var(--proj-accent, #7C1D24) 100%);
    color: #fff;
    padding: 36px 0 46px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.breadcrumb a:hover {
    text-decoration: underline;
    color: #fff;
}

.project-hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 30px;
    align-items: start;
    animation: fadeUp 0.65s var(--ease) both;
}

.project-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.project-hero h1 {
    margin: 0;
    font-size: clamp(1.7rem, 3.4vw, 2.55rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.025em;
}

.project-hero-tamil {
    font-size: 1.18rem;
    color: #FDE68A;
    margin-top: 5px;
    font-weight: 700;
}

.project-hero-location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 12px 0 14px;
    color: rgba(255, 255, 255, 0.92);
}

.project-hero-desc {
    color: rgba(255, 255, 255, 0.86);
    margin: 0 0 20px;
    font-size: 0.97rem;
}

.project-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-kpi-panel {
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    padding: 22px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.kpi-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.kpi-big-num {
    font-size: 2.45rem;
    font-weight: 800;
    line-height: 1;
    color: #86EFAC;
}

.kpi-big-num span {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    margin-left: 6px;
    font-weight: 600;
}

.kpi-big-label {
    margin-top: 6px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
}

.kpi-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.kpi-sub-grid small {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.72);
}

.kpi-sub-grid strong {
    font-size: 0.98rem;
}

.amenities-strip {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.amenity-chip {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.81rem;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.amenity-chip:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

/* Legend Bar */
.legend-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.legend-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s var(--ease), border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.legend-pill:hover {
    transform: translateY(-2px);
    border-color: #94A3B8;
    box-shadow: var(--shadow-md);
}

.legend-pill.active {
    border-color: var(--text);
    background: #0F172A;
    color: #fff;
}

.legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Interactive Map */
.map-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.map-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-viewport {
    width: 100%;
    max-height: 82vh;
    overflow: auto;
    background: #E2E8F0;
    -webkit-overflow-scrolling: touch;
}

.map-stage {
    position: relative;
    margin: 0 auto;
    transition: width 0.28s var(--ease);
}

.map-bg-img {
    width: 100%;
    height: 100%;
    display: block;
    user-select: none;
}

.map-svg-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.plot-group {
    cursor: pointer;
    outline: none;
    transition: opacity 0.24s ease;
}

.plot-shape {
    fill: var(--plot-color, #16A34A);
    fill-opacity: 0.36;
    stroke: var(--plot-color, #16A34A);
    stroke-width: 2.1;
    transition: fill-opacity 0.22s ease, stroke-width 0.22s ease, filter 0.22s ease;
}

.plot-group:hover .plot-shape,
.plot-group:focus-visible .plot-shape {
    fill-opacity: 0.68;
    stroke-width: 3.4;
    filter: drop-shadow(0 0 6px rgba(15, 23, 42, 0.35));
}

.plot-group.is-dimmed {
    opacity: 0.14;
    pointer-events: none;
}

.plot-group.is-highlighted .plot-shape {
    fill-opacity: 0.78;
    stroke: #0F172A;
    stroke-width: 4;
    animation: pulsePlot 1.1s ease-in-out 3;
}

.plot-svg-label {
    font-size: 11px;
    font-weight: 800;
    fill: #0F172A;
    paint-order: stroke;
    stroke: #FFFFFF;
    stroke-width: 3px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.show-plot-labels .plot-svg-label {
    opacity: 1;
}

.map-floating-tooltip {
    position: fixed;
    z-index: 60;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.95);
    color: #fff;
    padding: 9px 13px;
    border-radius: 10px;
    font-size: 0.83rem;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.map-help-strip {
    background: #F8FAFC;
    border-top: 1px solid var(--border);
    padding: 11px 16px;
    font-size: 0.83rem;
    color: var(--muted);
}

/* Inventory Table */
.filtered-counter {
    font-size: 0.93rem;
    color: var(--muted);
}

.table-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table th {
    background: #F8FAFC;
    text-align: left;
    padding: 14px 16px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}

.responsive-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.92rem;
    vertical-align: middle;
    transition: background-color 0.15s ease;
}

.responsive-table tbody tr:hover td {
    background: #F8FAFC;
}

.text-right {
    text-align: right;
}

.plot-num-cell {
    font-size: 1.02rem;
    color: var(--primary);
}

.cell-sub {
    font-size: 0.76rem;
    color: var(--muted);
}

.corner-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: #FEF3C7;
    color: #92400E;
    font-size: 0.76rem;
    font-weight: 700;
}

.muted-text {
    color: #94A3B8;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.row-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-dialog {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 590px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalPop 0.28s var(--ease) both;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-eyebrow {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.modal-header h3 {
    margin: 2px 0 0;
    font-size: 1.3rem;
}

.modal-close {
    background: #F1F5F9;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text);
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.modal-close:hover {
    background: #E2E8F0;
    transform: rotate(90deg);
}

.modal-body {
    padding: 22px 24px 26px;
}

.modal-status-banner {
    padding: 11px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.94rem;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.spec-item {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 11px 13px;
}

.spec-item small {
    display: block;
    font-size: 0.74rem;
    color: var(--muted);
    margin-bottom: 2px;
}

.spec-item strong {
    font-size: 0.99rem;
}

.modal-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.modal-enquiry-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

/* Empty state & Toast */
.empty-state {
    text-align: center;
    padding: 52px 20px;
    background: #fff;
    border: 1px dashed #CBD5E1;
    border-radius: var(--radius);
}

.toast-container {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 95;
    display: grid;
    gap: 10px;
}

.toast {
    background: #0F172A;
    color: #fff;
    padding: 13px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-size: 0.91rem;
    font-weight: 600;
    animation: fadeUp 0.25s var(--ease) both;
}

.toast.success {
    background: #15803D;
}

.toast.error {
    background: #B91C1C;
}

/* Footer */
.site-footer {
    background: #0B1120;
    color: #CBD5E1;
    padding-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 36px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-brand-name {
    color: #fff;
    font-weight: 800;
    font-size: 1.08rem;
}

.footer-brand-tag {
    color: #D4A438;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-desc {
    margin: 0;
    font-size: 0.91rem;
    color: #94A3B8;
}

.site-footer h4 {
    color: #fff;
    margin: 0 0 14px;
    font-size: 0.99rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
    font-size: 0.9rem;
}

.footer-links a,
.footer-contact a {
    transition: color 0.15s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    font-size: 0.85rem;
    color: #94A3B8;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-grid,
    .project-hero-grid,
    .enquiry-split {
        grid-template-columns: 1fr;
    }
    .status-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
    }
    .site-nav {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        display: none;
        box-shadow: var(--shadow-md);
    }
    .site-nav.open {
        display: flex;
        animation: fadeUp 0.22s var(--ease) both;
    }
    .projects-grid,
    .status-guide-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-grid-2,
    .modal-cta-row {
        grid-template-columns: 1fr;
    }
    .filter-select {
        flex: 1 1 140px;
    }
    .table-card {
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .responsive-table thead {
        display: none;
    }
    .responsive-table,
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table td {
        display: block;
        width: 100%;
    }
    .responsive-table tbody {
        display: grid;
        gap: 12px;
    }
    .responsive-table tr {
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 14px 16px;
        box-shadow: var(--shadow-sm);
    }
    .responsive-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 7px 0;
        border-bottom: 1px dashed #F1F5F9;
        text-align: right;
    }
    .responsive-table td:last-child {
        border-bottom: none;
        padding-top: 10px;
    }
    .responsive-table td::before {
        content: attr(data-label);
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--muted);
        text-align: left;
    }
    .row-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
