/* ============================================================
   IWPG — Industrial Warehaus Property Group
   Main Stylesheet — Premium Metallic Edition
   Colours: Blue & Silver | Feel: Professional, Industrial, Metallic
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Primary Blues */
    --blue-900: #0a1628;
    --blue-800: #0f2240;
    --blue-700: #142d54;
    --blue-600: #1a3a6b;
    --blue-500: #1e4d8c;
    --blue-400: #2a6cb8;
    --blue-300: #4a8fd4;
    --blue-200: #7db3e8;
    --blue-100: #c5ddf5;
    --blue-50:  #eaf2fb;

    /* Silver / Metallic */
    --silver-900: #2d2d2d;
    --silver-800: #444444;
    --silver-700: #5a5a5a;
    --silver-600: #717171;
    --silver-500: #8a8a8a;
    --silver-400: #a3a3a3;
    --silver-300: #bdbdbd;
    --silver-200: #d6d6d6;
    --silver-100: #ebebeb;
    --silver-50:  #f5f5f5;

    /* Semantic */
    --color-primary: var(--blue-700);
    --color-primary-dark: var(--blue-900);
    --color-primary-light: var(--blue-400);
    --color-accent: var(--blue-400);
    --color-text: var(--blue-900);
    --color-text-light: var(--silver-600);
    --color-text-inverse: #ffffff;
    --color-bg: #ffffff;
    --color-bg-alt: var(--silver-50);
    --color-bg-dark: var(--blue-900);
    --color-border: var(--silver-200);
    --color-success: #16a34a;
    --color-error: #dc2626;

    /* Metallic gradients */
    --gradient-metal: linear-gradient(135deg, #e8e8e8 0%, #f8f8f8 25%, #e0e0e0 50%, #f5f5f5 75%, #e8e8e8 100%);
    --gradient-metal-dark: linear-gradient(135deg, #1a2a42 0%, #0f2240 25%, #1a3a6b 50%, #0f2240 75%, #1a2a42 100%);
    --gradient-blue: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(10, 22, 40, 0.93) 0%, rgba(20, 45, 84, 0.82) 50%, rgba(10, 22, 40, 0.90) 100%);
    --gradient-steel: linear-gradient(180deg, rgba(200,210,220,0.15) 0%, rgba(200,210,220,0) 100%);
    --gradient-card-border: linear-gradient(135deg, var(--silver-300), var(--silver-100), var(--silver-300));
    --gradient-shine: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.5) 45%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.5) 55%, transparent 60%);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1280px;
    --container-narrow: 960px;
    --header-height: 80px;

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(10,22,40,0.08), 0 2px 4px rgba(10,22,40,0.04);
    --shadow-lg: 0 12px 40px rgba(10,22,40,0.10), 0 4px 12px rgba(10,22,40,0.06);
    --shadow-xl: 0 20px 60px rgba(10,22,40,0.14), 0 8px 20px rgba(10,22,40,0.08);
    --shadow-metal: 0 2px 8px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.6);
    --shadow-glow: 0 0 30px rgba(42,108,184,0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary);
}

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p + p { margin-top: var(--space-md); }

/* ============================================================
   FULL JUSTIFICATION — Newspaper / Property Brochure Style
   True full justification with clean vertical edges on both sides.
   Applied to all long-form body copy; NOT to headings, buttons,
   navigation, labels, badges, or single-line utility text.
   ============================================================ */

/* Core justified prose rules
   NOTE: .section-header p, .page-hero p, .cta-section p are
   deliberately excluded — they are short centred subtitles,
   not long-form prose. */
.section p,
.about-intro p,
.service-card p,
.property-description p,
.reveal p,
.reveal-left p,
.reveal-right p,
.footer-about p,
.contact-info-text p,
.modal p,
.sidebar-card p,
.key-details p {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    line-height: 1.65;
    word-spacing: -0.02em;
}

/* Prose column constraint — keeps justified text at an optimal
   measure (~65–80 characters) so word-spacing stays tight and
   both edges form strong vertical lines.  Applied to the
   containers that hold long-form paragraphs, NOT to grid parents
   that need full width for layout. */
.about-intro > .reveal-left > p,
.about-intro > .reveal-left,
.property-description,
.container-narrow .reveal > p,
.container-narrow .reveal,
.container-narrow > div[style*="max-width"] {
    max-width: 750px;
}

/* Centre the constrained blocks within container-narrow */
.container-narrow .reveal,
.container-narrow > div[style*="max-width"] {
    margin-left: auto;
    margin-right: auto;
}

/* Explicit exclusions — keep these left- or center-aligned */
.section-header h2,
.section-header .section-label,
.section-header p,
.page-hero p,
.cta-section p,
.text-center p,
.stat-item,
.stat-number,
.stat-label,
.property-card-title,
.property-card-location,
.property-card-details,
.property-badge,
.property-type-badge,
.breadcrumb,
.btn,
.nav-list,
.form-group label,
.sidebar-price,
.sidebar-price-label,
.detail-label,
.detail-value,
.listings-count,
.footer-links,
.footer-services,
.footer-contact address,
.footer-bottom,
.contact-info-card h4 {
    text-align: revert;
    text-justify: auto;
    hyphens: none;
}

/* Mobile revert — left-align body text below 768px for
   comfortable reading on narrow screens */
@media (max-width: 768px) {
    .section p,
    .about-intro p,
    .service-card p,
    .property-description p,
    .reveal p,
    .reveal-left p,
    .reveal-right p,
    .footer-about p,
    .contact-info-text p,
    .modal p,
    .sidebar-card p,
    .key-details p {
        text-align: left;
        text-justify: auto;
        hyphens: none;
    }

    .about-intro > .reveal-left,
    .property-description,
    .container-narrow .reveal {
        max-width: none;
    }
}

.text-accent { color: var(--color-accent); }
.text-light { color: var(--color-text-light); }
.text-center { text-align: center; }

/* ============================================================
   SCROLL REVEAL ANIMATION SYSTEM
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 100ms; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 200ms; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 300ms; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 400ms; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 500ms; }

.stagger-children.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   OUR APPROACH — Hover-only animations  (v5)
   Pure hover-driven — no scroll triggers, no specificity issues.
   Uses CSS transitions for reliability + animations for pulse.
   ============================================================ */

.approach-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* --- Shared: every step lifts + shadow on hover --- */
.approach-step {
    position: relative;
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
    overflow: visible;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.approach-step:hover {
    box-shadow: 0 12px 32px rgba(20, 45, 84, 0.12);
}

.approach-number {
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                color 0.3s ease;
}

/* --- Animation Keyframes (defined before usage) --- */
@keyframes signalIn {
    0%   { opacity: 0;   transform: translate(-50%, -50%) scale(2.2); }
    30%  { opacity: 0.5; }
    70%  { opacity: 0.3; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 0;   transform: translate(-50%, -50%) scale(0.7); }
}

@keyframes signalOut {
    0%   { opacity: 0.6; transform: translate(-50%, -50%) scale(0.5); }
    50%  { opacity: 0.3; }
    100% { opacity: 0;   transform: translate(-50%, -50%) scale(2.4); }
}

@keyframes deliverBounce {
    0%   { transform: translateY(0) scale(1); }
    25%  { transform: translateY(-14px) scale(1.12); }
    50%  { transform: translateY(0) scale(0.96); }
    70%  { transform: translateY(-6px) scale(1.05); }
    85%  { transform: translateY(0) scale(0.98); }
    100% { transform: translateY(-2px) scale(1.03); }
}

/* --- Step 01: Understand — Incoming signal / radar receive --- */
.approach-understand::before,
.approach-understand::after {
    content: '';
    position: absolute;
    top: 2.6rem;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(2);
}
.approach-understand::after {
    animation-delay: 0.3s;
}
.approach-understand:hover::before {
    animation: signalIn 1s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
.approach-understand:hover::after {
    animation: signalIn 1s cubic-bezier(0.23, 1, 0.32, 1) 0.35s infinite;
}
.approach-understand:hover {
    transform: translateY(-4px);
}
.approach-understand:hover .approach-number {
    transform: scale(1.08);
}

/* --- Step 02: Advise — Outgoing broadcast / signal emit --- */
.approach-advise::before,
.approach-advise::after {
    content: '';
    position: absolute;
    top: 2.6rem;
    left: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.5);
}
.approach-advise:hover::before {
    animation: signalOut 1.1s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}
.approach-advise:hover::after {
    animation: signalOut 1.1s cubic-bezier(0.23, 1, 0.32, 1) 0.35s infinite;
}
.approach-advise:hover {
    transform: translateY(-4px);
}
.approach-advise:hover .approach-number {
    transform: scale(1.08);
}

/* --- Step 03: Deliver — Premium bounce --- */
.approach-deliver:hover {
    transform: translateY(-4px);
}
.approach-deliver:hover .approach-number {
    animation: deliverBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .approach-understand::before,
    .approach-understand::after,
    .approach-advise::before,
    .approach-advise::after {
        animation: none !important;
    }
    .approach-deliver:hover .approach-number {
        animation: none !important;
    }
    .approach-step:hover {
        transform: none;
        box-shadow: none;
    }
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-alt {
    background: var(--gradient-steel), var(--color-bg-alt);
}

.section-dark {
    background: var(--gradient-metal-dark);
    color: var(--color-text-inverse);
    position: relative;
    overflow: hidden;
}

/* Brushed metal texture overlay for dark sections */
.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.015) 2px,
        rgba(255,255,255,0.015) 4px
    );
    pointer-events: none;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-text-inverse);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header p {
    margin-top: var(--space-md);
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-header p {
    color: var(--silver-300);
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    position: relative;
    padding-bottom: var(--space-sm);
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.section-header .section-label::after {
    left: 50%;
    transform: translateX(-50%);
}

/* --- Grid --- */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   BUTTONS — Premium Metallic
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.8rem 1.85rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

/* Shine sweep on hover */
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.btn:hover::after {
    left: 125%;
}

.btn-primary {
    background: linear-gradient(180deg, var(--blue-600), var(--blue-700));
    color: var(--color-text-inverse);
    border-color: var(--blue-600);
    box-shadow: 0 2px 8px rgba(20,45,84,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
    background: linear-gradient(180deg, var(--blue-500), var(--blue-600));
    border-color: var(--blue-500);
    color: var(--color-text-inverse);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20,45,84,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20,45,84,0.25);
}

.btn-white {
    background: linear-gradient(180deg, #ffffff, #f0f0f0);
    color: var(--color-primary);
    border-color: rgba(255,255,255,0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,1);
}

.btn-white:hover {
    background: linear-gradient(180deg, #ffffff, #e8e8e8);
    border-color: #ffffff;
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,1);
}

.btn-accent {
    background: linear-gradient(180deg, var(--blue-300), var(--blue-400));
    color: var(--color-text-inverse);
    border-color: var(--blue-300);
    box-shadow: 0 2px 8px rgba(42,108,184,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-accent:hover {
    background: linear-gradient(180deg, var(--blue-200), var(--blue-300));
    border-color: var(--blue-200);
    color: var(--color-text-inverse);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42,108,184,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
}

.btn-icon svg {
    width: 16px;
    height: 16px;
}

/* ============================================================
   HEADER / NAVIGATION — Glass + Metal
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    height: var(--header-height);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    background: rgba(10, 22, 40, 0.97);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    border-bottom-color: rgba(42,108,184,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: #ffffff;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 135px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.logo-sub {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--silver-400);
    background: linear-gradient(90deg, var(--silver-400), var(--silver-200), var(--silver-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-list a {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--silver-300);
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-base);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-list a:hover,
.nav-list a.active {
    color: #ffffff;
}

.nav-list a.active::after,
.nav-list a:hover::after {
    width: 120%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-phone {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--silver-300);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.header-phone:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(125,179,232,0.4);
}

.header-phone svg {
    flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hide mobile-only nav elements on desktop */
.mobile-nav-footer {
    display: none;
}

/* Mobile nav overlay (created via JS) */
.nav-overlay {
    display: none;
}

@media (max-width: 768px) {
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0);
        z-index: 9998;
        pointer-events: none;
        transition: background 0.4s ease;
    }

    .nav-overlay.active {
        background: rgba(0, 0, 0, 0.55);
        pointer-events: auto;
    }
}

/* ============================================================
   HERO SECTION — Cinematic
   ============================================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: var(--header-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

/* Subtle diagonal metallic lines */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 80px,
        rgba(255,255,255,0.02) 80px,
        rgba(255,255,255,0.02) 81px
    );
    z-index: 1;
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
    animation: heroFadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-content {
    flex: 1;
    max-width: 680px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    flex-shrink: 0;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.65s forwards;
}

.hero-actions .btn {
    white-space: nowrap;
    text-align: center;
    min-width: 200px;
}

.hero-text-secondary {
    margin-bottom: 0;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--blue-200);
    margin-bottom: var(--space-lg);
    padding-left: var(--space-2xl);
    position: relative;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.hero-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.35s forwards;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--blue-200), var(--blue-100));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    max-width: 600px;
    opacity: 0;
    animation: heroFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

/* Page Hero (inner pages) */
.page-hero {
    background: var(--gradient-metal-dark);
    padding: var(--space-4xl) 0 var(--space-3xl);
    margin-top: var(--header-height);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Brushed metal lines on page hero */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(255,255,255,0.01) 2px,
        rgba(255,255,255,0.01) 4px
    );
    pointer-events: none;
}

.page-hero h1 {
    color: #ffffff;
    margin-bottom: var(--space-md);
    position: relative;
    animation: heroFadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-hero p {
    color: var(--silver-300);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-lg);
    font-size: 0.85rem;
    position: relative;
}

.breadcrumb a {
    color: var(--blue-200);
    transition: all var(--transition-base);
}

.breadcrumb a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(125,179,232,0.3);
}

.breadcrumb span {
    color: var(--silver-400);
}

/* ============================================================
   PROPERTY CARDS — Metallic Glass
   ============================================================ */
.property-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(200,210,220,0.5);
    position: relative;
}

/* Metallic top edge */
.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-600), var(--blue-400), var(--blue-600));
    z-index: 2;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.property-card:hover::before {
    opacity: 1;
}

.property-card-image {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--silver-100);
    text-decoration: none;
    color: inherit;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .property-card-image img {
    transform: scale(1.08);
}

/* Image overlay on hover */
.property-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,22,40,0.4) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.property-card:hover .property-card-image::after {
    opacity: 1;
}

.property-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 0.35rem 0.85rem;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    color: #ffffff;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.badge-to-let {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
}

.badge-for-sale {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.badge-under-offer {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.property-type-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 0.3rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    background: rgba(10,22,40,0.7);
    color: #ffffff;
    backdrop-filter: blur(8px);
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.1);
}

.property-card-body {
    padding: var(--space-lg);
}

.property-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.property-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

.property-card-title a:hover {
    color: var(--color-accent);
}

.property-card-location {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.property-card-location svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.property-card-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.property-card-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-primary);
}

.property-card-size {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* --- Property Listings Page --- */
.listings-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.listings-count {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.listings-count strong {
    color: var(--color-text);
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.sort-group {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.sort-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-light);
    white-space: nowrap;
}

.sort-group select {
    padding: 0.45rem 2rem 0.45rem 0.65rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--color-text);
    background: linear-gradient(180deg, #ffffff, var(--silver-50));
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    box-shadow: var(--shadow-sm);
}

.sort-group select:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}

.view-toggles {
    display: flex;
    gap: var(--space-xs);
}

.view-toggle {
    padding: 0.5rem 0.85rem;
    background: linear-gradient(180deg, #ffffff, var(--silver-50));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--color-text-light);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.view-toggle.active,
.view-toggle:hover {
    background: linear-gradient(180deg, var(--blue-600), var(--blue-700));
    color: #ffffff;
    border-color: var(--blue-600);
    box-shadow: 0 2px 8px rgba(20,45,84,0.25);
}

/* Filters — Metallic bar */
.filters-bar {
    background: linear-gradient(180deg, #ffffff, #fafbfc);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(200,210,220,0.5);
    position: relative;
    overflow: hidden;
}

/* Subtle metallic sheen on filter bar */
.filters-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

.filters-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr 0.9fr 0.9fr 0.9fr 0.9fr auto;
    gap: 0.6rem;
    align-items: end;
}

.filter-group label {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
    white-space: nowrap;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--color-text);
    background: #ffffff;
    transition: all var(--transition-base);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(42, 108, 184, 0.1), inset 0 1px 3px rgba(0,0,0,0.04);
}

.filter-actions {
    display: flex;
    gap: var(--space-sm);
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-xl);
}

/* Map View */
.map-container {
    height: 600px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(200,210,220,0.5);
    box-shadow: var(--shadow-md);
}

#properties-map {
    width: 100%;
    height: 100%;
}

.map-popup {
    min-width: 250px;
}

.map-popup img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.map-popup h4 {
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
}

.map-popup p {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin: 0;
}

.map-popup .popup-price {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.95rem;
    margin-top: var(--space-sm);
}

/* No results */
.no-results {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
    color: var(--color-text-light);
}

.no-results svg {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-lg);
    opacity: 0.4;
}

/* ============================================================
   INDIVIDUAL PROPERTY PAGE
   ============================================================ */
.property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-sm);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-2xl);
    box-shadow: var(--shadow-lg);
}

.property-gallery-main {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.property-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-gallery-main img:hover {
    transform: scale(1.03);
}

.property-gallery-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-sm);
}

.property-gallery-side a {
    display: block;
    overflow: hidden;
    position: relative;
}

.property-gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-gallery-side a:hover img {
    transform: scale(1.05);
}

.gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(2px);
    transition: background var(--transition-base);
}

.gallery-more:hover {
    background: rgba(10, 22, 40, 0.5);
}

.property-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-3xl);
    align-items: start;
}

.property-main h2 {
    margin-bottom: var(--space-md);
}

.property-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--silver-700);
}

.property-description p + p {
    margin-top: var(--space-md);
}

/* Key Details Table — Metallic */
.key-details {
    margin: var(--space-2xl) 0;
}

.key-details h3 {
    margin-bottom: var(--space-lg);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: linear-gradient(135deg, var(--silver-200), var(--silver-100));
    border: 1px solid var(--silver-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.detail-item {
    background: linear-gradient(180deg, #ffffff, #fcfcfc);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    transition: background var(--transition-base);
}

.detail-item:hover {
    background: linear-gradient(180deg, var(--blue-50), #ffffff);
}

.detail-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
}

.detail-value {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1.05rem;
}

/* Property Sidebar — Premium card */
.property-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
}

.sidebar-card {
    background: linear-gradient(180deg, #ffffff, #fafbfc);
    border: 1px solid rgba(200,210,220,0.5);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
}

/* Top metallic accent */
.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-600), var(--blue-400), var(--blue-600));
}

.sidebar-price {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.sidebar-price-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}

.sidebar-card .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.sidebar-agent {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.sidebar-agent-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--color-border);
}

.sidebar-agent-info h4 {
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
}

.sidebar-agent-info p {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Property Map */
.property-map-section {
    margin: var(--space-2xl) 0;
}

.property-map {
    height: 400px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(200,210,220,0.5);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ============================================================
   FORMS — Refined
   ============================================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: #ffffff;
    transition: all var(--transition-base);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(42, 108, 184, 0.08), inset 0 1px 3px rgba(0,0,0,0.04);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* Honeypot */
.ohnohoney {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Form messages */
.form-success {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}

.form-error {
    background: linear-gradient(135deg, #fef2f2, #fff1f2);
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: linear-gradient(135deg, #ffffff, var(--silver-50));
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    border: 1px solid rgba(200,210,220,0.3);
    transition: all var(--transition-base);
}

.contact-info-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(42,108,184,0.2);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(20,45,84,0.25);
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
}

.contact-info-text h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.contact-info-text p,
.contact-info-text a {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.contact-info-text a:hover {
    color: var(--color-primary);
}

.contact-map {
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: var(--space-xl);
    border: 1px solid rgba(200,210,220,0.5);
    box-shadow: var(--shadow-md);
}

/* Make right column stretch & push social to bottom */
.contact-grid > .reveal-right {
    display: flex;
    flex-direction: column;
}

.contact-grid > .reveal-right .sidebar-card {
    flex: 0 0 auto;
}

/* --- Contact Page Social Icons --- */
.contact-social {
    margin-top: auto;
    padding-top: var(--space-xl);
}

.contact-social h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.contact-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--blue-500);
}

.contact-social-icons {
    display: flex;
    gap: var(--space-sm);
}

.contact-social-icons .social-icon-btn {
    flex: 1;
    min-width: 0;
}

.social-icon-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(145deg, #ffffff, var(--silver-50));
    border: 1px solid rgba(200,210,220,0.4);
    border-radius: var(--radius-lg);
    color: var(--silver-500);
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    opacity: 0;
    transform: translateY(16px);
    animation: socialFadeIn 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-delay: calc(var(--i, 0) * 0.08s + 0.3s);
}

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

.social-icon-btn svg {
    width: 22px;
    height: 22px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 1;
}

.social-icon-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 1;
}

.social-icon-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.social-icon-btn:hover {
    transform: translateY(-4px);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(20,45,84,0.2), 0 0 0 1px rgba(42,108,184,0.3);
}

.social-icon-btn:hover .social-icon-glow {
    opacity: 1;
}

.social-icon-btn:hover svg {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Platform-specific hover colours */
.social-icon-btn:nth-child(1):hover { background: linear-gradient(135deg, #1877f2, #0d65d9); box-shadow: 0 8px 24px rgba(24,119,242,0.35); }
.social-icon-btn:nth-child(1) .social-icon-glow { background: radial-gradient(circle at 50% 120%, rgba(24,119,242,0.15), transparent 70%); }

.social-icon-btn:nth-child(2):hover { background: linear-gradient(135deg, #e4405f, #c13584, #833ab4); box-shadow: 0 8px 24px rgba(228,64,95,0.35); }
.social-icon-btn:nth-child(2) .social-icon-glow { background: radial-gradient(circle at 50% 120%, rgba(228,64,95,0.15), transparent 70%); }

.social-icon-btn:nth-child(3):hover { background: linear-gradient(135deg, #1a1a2e, #000000); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.social-icon-btn:nth-child(3) .social-icon-glow { background: radial-gradient(circle at 50% 120%, rgba(255,255,255,0.08), transparent 70%); }

.social-icon-btn:nth-child(4):hover { background: linear-gradient(135deg, #ff0000, #cc0000); box-shadow: 0 8px 24px rgba(255,0,0,0.35); }
.social-icon-btn:nth-child(4) .social-icon-glow { background: radial-gradient(circle at 50% 120%, rgba(255,0,0,0.15), transparent 70%); }

.social-icon-btn:nth-child(5):hover { background: linear-gradient(135deg, #000000, #25f4ee, #fe2c55); box-shadow: 0 8px 24px rgba(37,244,238,0.3); }
.social-icon-btn:nth-child(5) .social-icon-glow { background: radial-gradient(circle at 50% 120%, rgba(37,244,238,0.15), transparent 70%); }

.social-icon-btn:nth-child(6):hover { background: linear-gradient(135deg, #0a66c2, #004182); box-shadow: 0 8px 24px rgba(10,102,194,0.35); }
.social-icon-btn:nth-child(6) .social-icon-glow { background: radial-gradient(circle at 50% 120%, rgba(10,102,194,0.15), transparent 70%); }

.social-icon-btn:active {
    transform: translateY(-1px) scale(0.97);
}

/* ============================================================
   SERVICES PAGE — Metallic Cards
   ============================================================ */
.service-card {
    background: linear-gradient(180deg, #ffffff, #fafbfc);
    border: 1px solid rgba(200,210,220,0.5);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

/* Metallic shimmer on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shine);
    transition: left 0.8s ease;
    pointer-events: none;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(42,108,184,0.2);
}

.service-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-50), #e8f0fb);
    border-radius: var(--radius-xl);
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(42,108,184,0.1);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(20,45,84,0.3);
    transform: scale(1.05);
}

.service-icon svg {
    width: 36px;
    height: 36px;
    transition: transform var(--transition-base);
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: var(--space-md);
    white-space: nowrap;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

/* Metallic frame effect */
.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    z-index: 1;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
    transform: scale(1.03);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(180deg, #ffffff, var(--silver-50));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(200,210,220,0.4);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-400), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* ============================================================
   CTA SECTION — Premium Dark
   ============================================================ */
.cta-section {
    text-align: center;
    padding: var(--space-4xl) 0;
    position: relative;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: var(--space-md);
    position: relative;
}

.cta-section p {
    color: var(--silver-300);
    font-size: 1.1rem;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    position: relative;
}

/* ============================================================
   FOOTER — Deep Metal
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, var(--blue-900), #060f1d);
    color: var(--silver-400);
    padding: var(--space-4xl) 0 0;
    position: relative;
}

/* Subtle top border glow */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(42,108,184,0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo-img {
    height: 120px;
    margin-bottom: var(--space-lg);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    color: var(--silver-400);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--blue-600);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.site-footer h4 {
    color: #ffffff;
    font-size: 0.85rem;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: var(--space-sm);
}

.site-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--blue-400);
}

.site-footer ul li {
    margin-bottom: var(--space-sm);
}

.site-footer ul a {
    color: var(--silver-400);
    font-size: 0.9rem;
    transition: all var(--transition-base);
    position: relative;
}

.site-footer ul a:hover {
    color: #ffffff;
    padding-left: 6px;
}

.footer-contact address p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--silver-400);
    transition: color var(--transition-base);
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: var(--silver-500);
    transition: color var(--transition-base);
}

.footer-legal a:hover {
    color: var(--silver-300);
}

/* ============================================================
   ENQUIRY MODAL — Glass
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 15, 29, 0.75);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: #ffffff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    border: 1px solid rgba(200,210,220,0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.modal-header h3 {
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    color: var(--color-text-light);
    transition: all var(--transition-base);
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--color-text);
    background: var(--silver-100);
    transform: rotate(90deg);
}

/* ============================================================
   RESPONSIVE — Epic Mobile Experience
   ============================================================ */

/* ---------- Tablet (max 1024px) ---------- */
@media (max-width: 1024px) {
    .property-layout {
        grid-template-columns: 1fr;
    }

    .property-sidebar {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .filters-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }
}

/* ---------- Mobile (max 768px) ---------- */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    /* --- Global spacing & typography --- */
    .container {
        padding: 0 var(--space-lg);
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    .section-header p {
        font-size: 0.95rem;
    }

    h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
    h2 { font-size: clamp(1.4rem, 5.5vw, 2rem); }
    h3 { font-size: clamp(1.15rem, 4vw, 1.5rem); }

    /* --- Header & Navigation (Full Redesign) --- */
    .site-header {
        z-index: 10000;
        /* Remove backdrop-filter on mobile — it creates a containing block
           that traps position:fixed children (the nav panel) inside the header */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(10, 22, 40, 0.97);
    }

    .logo {
        position: relative;
        z-index: 3;
    }

    .logo-img {
        height: 50px;
    }

    .header-actions {
        position: relative;
        z-index: 3;
    }

    .mobile-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        width: 44px;
        height: 44px;
        padding: 10px;
        border-radius: var(--radius-sm);
    }

    .mobile-toggle:active {
        background: rgba(255,255,255,0.08);
    }

    .hamburger {
        width: 24px;
        gap: 5px;
        display: flex;
        flex-direction: column;
    }

    .hamburger span {
        display: block;
        height: 2.5px;
        background: #ffffff;
        border-radius: 2px;
        transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    }

    /* Slide-over nav panel */
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 85%;
        max-width: 360px;
        background: linear-gradient(180deg, #0a1628 0%, #0d1b30 100%);
        padding: 0;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 2;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
        display: flex;
        flex-direction: column;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    /* Nav links */
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: calc(var(--header-height) + 1.5rem) 1.75rem 1.5rem;
        flex: 1;
    }

    .nav-list li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .main-nav.open .nav-list li {
        opacity: 1;
        transform: translateX(0);
    }

    .main-nav.open .nav-list li:nth-child(1) { transition-delay: 0.08s; }
    .main-nav.open .nav-list li:nth-child(2) { transition-delay: 0.12s; }
    .main-nav.open .nav-list li:nth-child(3) { transition-delay: 0.16s; }
    .main-nav.open .nav-list li:nth-child(4) { transition-delay: 0.20s; }
    .main-nav.open .nav-list li:nth-child(5) { transition-delay: 0.24s; }

    .nav-list a {
        display: flex;
        align-items: center;
        padding: 1rem 0;
        font-size: 1.35rem;
        font-weight: 600;
        letter-spacing: 2px;
        color: var(--silver-300);
        border: none;
        position: relative;
    }

    .nav-list a::before {
        content: '';
        position: absolute;
        left: -1.75rem;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--blue-400);
        border-radius: 0 2px 2px 0;
        opacity: 0;
        transform: scaleY(0);
        transition: all 0.3s ease;
    }

    .nav-list a::after {
        display: none;
    }

    .nav-list a.active {
        color: #ffffff;
    }

    .nav-list a.active::before {
        opacity: 1;
        transform: scaleY(0.6);
    }

    /* Divider between links */
    .nav-list li + li {
        border-top: 1px solid rgba(255,255,255,0.04);
    }

    /* Mobile nav footer (contact + social) */
    .mobile-nav-footer {
        display: block;
        padding: 1.25rem 1.75rem 2rem;
        border-top: 1px solid rgba(255,255,255,0.06);
        margin-top: auto;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
    }

    .main-nav.open .mobile-nav-footer {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-nav-contact {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .mobile-nav-contact-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: var(--silver-400);
        font-size: 0.8rem;
        text-decoration: none;
        transition: color 0.2s ease;
        padding: 0.25rem 0;
    }

    .mobile-nav-contact-item:hover,
    .mobile-nav-contact-item:active {
        color: #ffffff;
    }

    .mobile-nav-contact-item svg {
        flex-shrink: 0;
        opacity: 0.6;
    }

    .mobile-nav-social {
        display: flex;
        gap: 0.5rem;
    }

    .mobile-nav-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: var(--radius-sm);
        background: rgba(255,255,255,0.05);
        color: var(--silver-400);
        transition: all 0.2s ease;
    }

    .mobile-nav-social a:active {
        background: var(--blue-600);
        color: #ffffff;
        transform: scale(0.95);
    }

    /* Header phone icon */
    .header-phone span {
        display: none;
    }

    .header-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: var(--radius-sm);
    }

    .header-phone svg {
        width: 20px;
        height: 20px;
    }

    .header-actions {
        gap: 0.25rem;
    }

    /* --- Hero --- */
    .hero {
        min-height: 85vh;
        min-height: 85dvh;
        align-items: flex-end;
        padding-bottom: var(--space-3xl);
    }

    .hero h1 {
        font-size: clamp(1.85rem, 8vw, 2.75rem);
        line-height: 1.12;
    }

    .hero-label {
        font-size: 0.65rem;
        letter-spacing: 3px;
        margin-bottom: var(--space-md);
        padding-left: var(--space-xl);
    }

    .hero-label::before {
        width: 18px;
    }

    .hero-text {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: var(--space-md);
    }

    .hero-layout {
        flex-direction: column;
        gap: var(--space-xl);
        align-items: flex-start;
    }

    .hero-actions {
        flex-direction: row;
        width: 100%;
    }

    .hero-actions .btn {
        flex: 1;
        min-width: auto;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
    }

    /* --- Page Hero (inner pages) --- */
    .page-hero {
        padding: var(--space-3xl) 0 var(--space-xl);
    }

    .page-hero h1 {
        font-size: clamp(1.65rem, 7vw, 2.25rem);
    }

    .breadcrumb {
        font-size: 0.75rem;
        margin-bottom: var(--space-md);
    }

    /* --- Buttons — larger touch targets --- */
    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.82rem;
        min-height: 48px;
    }

    .btn-lg {
        padding: 1rem 1.75rem;
        font-size: 0.85rem;
    }

    /* --- Stats (homepage & about) --- */
    .stat-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: var(--space-md);
    }

    .stat-item {
        padding: var(--space-lg) var(--space-md);
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    /* --- Service Cards --- */
    .service-card {
        padding: var(--space-xl) var(--space-lg);
    }

    .service-card h3 {
        white-space: normal;
        font-size: 1.15rem;
    }

    .service-icon {
        width: 64px;
        height: 64px;
    }

    .service-icon svg {
        width: 28px;
        height: 28px;
    }

    /* --- Property Cards --- */
    .property-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .property-card {
        border-radius: var(--radius-md);
    }

    .property-card:hover {
        transform: none;
    }

    .property-card-image {
        aspect-ratio: 16/9;
    }

    .property-card-body {
        padding: var(--space-md) var(--space-lg);
    }

    .property-card-title {
        font-size: 1rem;
    }

    .property-card-location {
        font-size: 0.8rem;
    }

    .property-card-price {
        font-size: 1.05rem;
    }

    .property-card-details {
        flex-direction: row;
        align-items: center;
    }

    /* --- Property Filters Bar --- */
    .filters-bar {
        padding: var(--space-md);
        border-radius: var(--radius-md);
    }

    .filters-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .filter-group label {
        font-size: 0.6rem;
    }

    .filter-group select,
    .filter-group input {
        padding: 0.55rem 0.5rem;
        font-size: 0.8rem;
        min-height: 44px;
    }

    .filter-actions {
        grid-column: 1 / -1;
    }

    .filter-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Listings Toolbar --- */
    .listings-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }

    .toolbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .sort-group select {
        min-height: 44px;
    }

    .view-toggle {
        min-height: 44px;
        padding: 0.5rem 1rem;
    }

    /* --- Map --- */
    .map-container {
        height: 350px;
        border-radius: var(--radius-md);
    }

    .property-map {
        height: 300px;
    }

    /* --- Property Detail Page --- */
    .property-gallery {
        grid-template-columns: 1fr;
        border-radius: var(--radius-md);
        margin-bottom: var(--space-xl);
    }

    .property-gallery-main {
        aspect-ratio: 16/9;
    }

    .property-gallery-side {
        grid-template-columns: 1fr 1fr;
    }

    .property-gallery-side a {
        aspect-ratio: 16/10;
    }

    .property-layout {
        gap: var(--space-xl);
    }

    .details-grid {
        grid-template-columns: 1fr 1fr;
        border-radius: var(--radius-md);
    }

    .detail-item {
        padding: var(--space-md);
    }

    .detail-label {
        font-size: 0.6rem;
    }

    .detail-value {
        font-size: 0.95rem;
    }

    /* Sidebar card (enquiry box) */
    .sidebar-card {
        padding: var(--space-lg);
        border-radius: var(--radius-md);
    }

    .sidebar-price {
        font-size: 1.6rem;
    }

    .sidebar-agent {
        gap: var(--space-sm);
    }

    .sidebar-agent-avatar {
        width: 44px;
        height: 44px;
    }

    /* --- Forms --- */
    .form-group {
        margin-bottom: var(--space-md);
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem 0.85rem;
        font-size: 16px; /* Prevents iOS zoom on focus */
        min-height: 48px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* --- Contact Page --- */
    .contact-info-card {
        padding: var(--space-md);
        gap: var(--space-md);
    }

    .contact-info-icon {
        width: 44px;
        height: 44px;
        border-radius: var(--radius-md);
    }

    .contact-info-icon svg {
        width: 18px;
        height: 18px;
    }

    .contact-info-text h4 {
        font-size: 0.9rem;
    }

    .contact-info-text p,
    .contact-info-text a {
        font-size: 0.85rem;
    }

    .contact-map {
        height: 250px;
    }

    /* --- Contact Social Icons --- */
    .contact-social-icons {
        flex-wrap: wrap;
    }

    .contact-social-icons .social-icon-btn {
        flex: 0 0 calc(33.333% - 0.35rem);
        min-width: 0;
        padding: 0.75rem 0.5rem;
    }

    .social-icon-btn svg {
        width: 18px;
        height: 18px;
    }

    .social-icon-label {
        font-size: 0.55rem;
        letter-spacing: 0.5px;
    }

    /* --- About Page --- */
    .about-image {
        max-height: 300px;
    }

    /* --- Approach Steps (How We Work) --- */
    .approach-step {
        padding: 1.5rem 1rem;
    }

    .approach-number {
        font-size: 2rem;
    }

    /* --- CTA Section --- */
    .cta-section {
        padding: var(--space-3xl) 0;
    }

    .cta-section p {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Footer --- */
    .site-footer {
        padding-top: var(--space-3xl);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-logo-img {
        height: 80px;
        margin-bottom: var(--space-md);
    }

    .footer-about p {
        font-size: 0.85rem;
    }

    .footer-social {
        margin-top: var(--space-md);
    }

    .footer-social a {
        width: 40px;
        height: 40px;
    }

    .site-footer h4 {
        font-size: 0.8rem;
        margin-bottom: var(--space-md);
    }

    .site-footer ul a {
        font-size: 0.85rem;
        padding: 0.2rem 0;
        display: inline-block;
    }

    .footer-contact address p {
        font-size: 0.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
        padding: var(--space-lg) 0;
    }

    .footer-legal {
        justify-content: center;
    }

    /* --- Modal --- */
    .modal-overlay {
        padding: var(--space-md);
        align-items: flex-end;
    }

    .modal {
        max-height: 85vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding: var(--space-xl) var(--space-lg);
    }

    /* --- Privacy & Terms Pages --- */
    .section .container[style*="max-width: 800px"] {
        padding: 0 var(--space-lg);
    }

    .section .container[style*="max-width: 800px"] h2 {
        font-size: 1.2rem;
        margin-top: var(--space-xl);
    }

    .section .container[style*="max-width: 800px"] p {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .section .container[style*="max-width: 800px"] ul {
        padding-left: var(--space-lg);
    }

    .section .container[style*="max-width: 800px"] li {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: var(--space-sm);
        list-style: disc;
    }

    /* --- Reduce animation distance on mobile --- */
    .reveal { transform: translateY(20px); }
    .reveal-left { transform: translateX(-20px); }
    .reveal-right { transform: translateX(20px); }

    /* Disable hover effects on mobile (touch devices) */
    .property-card:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }

    .service-card:hover {
        transform: none;
    }

    .stat-item:hover {
        transform: none;
    }

    .contact-info-card:hover {
        transform: none;
    }
}

/* ---------- Small phones (max 480px) ---------- */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero {
        min-height: 80vh;
        min-height: 80dvh;
    }

    .hero h1 {
        font-size: clamp(1.65rem, 8vw, 2.25rem);
    }

    .hero-text {
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .page-hero {
        padding: var(--space-2xl) 0 var(--space-lg);
    }

    .page-hero h1 {
        font-size: clamp(1.5rem, 7vw, 1.85rem);
    }

    /* Filters fully stacked */
    .filters-grid {
        grid-template-columns: 1fr;
    }

    /* Property card price stays inline */
    .property-card-details {
        flex-direction: row;
        align-items: center;
    }

    /* Details grid: full width single column */
    .details-grid {
        grid-template-columns: 1fr;
    }

    /* Stats 2 col still works on small phones */
    .stat-grid {
        gap: var(--space-sm);
    }

    .stat-number {
        font-size: 1.85rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    /* Social icons: 3 per row */
    .contact-social-icons .social-icon-btn {
        flex: 0 0 calc(33.333% - 0.35rem);
    }

    /* Footer logo smaller */
    .footer-logo-img {
        height: 65px;
    }

    /* Gallery side images stack on very small screens */
    .property-gallery-side {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- Tall phones landscape fix ---------- */
@media (max-width: 768px) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding: var(--space-3xl) 0 var(--space-xl);
    }

    .main-nav {
        padding-top: var(--space-md);
    }

    .nav-list a {
        padding: 0.6rem 0;
        font-size: 1rem;
    }
}

/* ---------- Touch device optimisations ---------- */
@media (hover: none) and (pointer: coarse) {
    /* Larger tap targets */
    .nav-list a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .footer-social a {
        width: 44px;
        height: 44px;
    }

    /* Disable hover transforms on touch */
    .property-card:hover,
    .service-card:hover,
    .stat-item:hover,
    .contact-info-card:hover {
        transform: none;
    }

    .property-card:hover .property-card-image img {
        transform: none;
    }

    /* Active states for touch feedback */
    .btn:active {
        transform: scale(0.97);
        transition-duration: 100ms;
    }

    .property-card:active {
        box-shadow: var(--shadow-lg);
        transition-duration: 100ms;
    }

    /* Tap highlight */
    a, button, .btn {
        -webkit-tap-highlight-color: rgba(42,108,184,0.1);
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-left, .reveal-right, .reveal-scale,
    .stagger-children > * {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hidden { display: none !important; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
