/*
=========================================================
AURELIUS REAL ESTATE
CORE DESIGN SYSTEM
=========================================================
No Tailwind
No Google Fonts
No external font dependency
Pure CSS + system fonts
=========================================================
*/


/* =======================================================
   01. DESIGN TOKENS
======================================================= */

:root {

    /* ---------- Colors ---------- */

    --aur-color-black: #0a0a0a;
    --aur-color-white: #ffffff;

    --aur-color-bg: #f7f6f2;
    --aur-color-surface: #ffffff;
    --aur-color-surface-soft: #efeee9;

    --aur-color-text: #111111;
    --aur-color-text-secondary: #5f5f5b;
    --aur-color-text-muted: #8b8b85;

    --aur-color-border: rgba(17, 17, 17, 0.12);
    --aur-color-border-light: rgba(17, 17, 17, 0.07);
    --aur-color-border-dark: rgba(255, 255, 255, 0.16);

    --aur-color-gold: #b49a63;
    --aur-color-gold-dark: #927946;

    --aur-color-success: #2f6b4f;


    /* ---------- Typography ---------- */

    --aur-font-sans:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    --aur-font-serif:
        "Times New Roman",
        Times,
        Georgia,
        serif;


    /* ---------- Font Sizes ---------- */

    --aur-text-xs: 12px;
    --aur-text-sm: 14px;
    --aur-text-md: 16px;
    --aur-text-lg: 18px;

    --aur-heading-sm: clamp(28px, 3vw, 40px);
    --aur-heading-md: clamp(38px, 4vw, 58px);
    --aur-heading-lg: clamp(48px, 6vw, 88px);


    /* ---------- Line Heights ---------- */

    --aur-leading-tight: 1.05;
    --aur-leading-snug: 1.2;
    --aur-leading-normal: 1.5;
    --aur-leading-relaxed: 1.75;


    /* ---------- Spacing ---------- */

    --aur-space-1: 8px;
    --aur-space-2: 12px;
    --aur-space-3: 16px;
    --aur-space-4: 24px;
    --aur-space-5: 32px;
    --aur-space-6: 48px;
    --aur-space-7: 64px;
    --aur-space-8: 80px;
    --aur-space-9: 96px;
    --aur-space-10: 128px;
    --aur-space-11: 160px;


    /* ---------- Layout ---------- */

    --aur-container: 1320px;
    --aur-container-wide: 1440px;

    --aur-gutter-desktop: 48px;
    --aur-gutter-tablet: 32px;
    --aur-gutter-mobile: 20px;


    /* ---------- Radius ---------- */

    --aur-radius-sm: 4px;
    --aur-radius-md: 8px;
    --aur-radius-lg: 16px;
    --aur-radius-xl: 24px;

    --aur-radius-pill: 999px;


    /* ---------- Shadows ---------- */

    --aur-shadow-sm:
        0 4px 16px rgba(0, 0, 0, 0.06);

    --aur-shadow-md:
        0 12px 40px rgba(0, 0, 0, 0.08);

    --aur-shadow-lg:
        0 24px 80px rgba(0, 0, 0, 0.12);


    /* ---------- Motion ---------- */

    --aur-ease:
        cubic-bezier(0.22, 1, 0.36, 1);

    --aur-transition-fast:
        180ms var(--aur-ease);

    --aur-transition:
        300ms var(--aur-ease);

    --aur-transition-slow:
        600ms var(--aur-ease);
}


/* =======================================================
   02. GLOBAL RESET
======================================================= */

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;

    background: var(--aur-color-bg);
    color: var(--aur-color-text);

    font-family: var(--aur-font-sans);
    font-size: var(--aur-text-md);
    line-height: var(--aur-leading-normal);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    text-rendering: optimizeLegibility;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

p:last-child {
    margin-bottom: 0;
}


/* =======================================================
   03. TYPOGRAPHY
======================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 var(--aur-space-4);

    color: var(--aur-color-text);

    font-family: var(--aur-font-sans);

    font-weight: 500;

    line-height: var(--aur-leading-tight);

    letter-spacing: -0.035em;
}

h1 {
    font-size: var(--aur-heading-lg);
}

h2 {
    font-size: var(--aur-heading-md);
}

h3 {
    font-size: var(--aur-heading-sm);
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 16px;
}

p {
    margin: 0 0 var(--aur-space-4);

    color: var(--aur-color-text-secondary);

    line-height: var(--aur-leading-relaxed);
}


/* ---------- Display ---------- */

.aur-display {
    font-size: var(--aur-heading-lg);
    line-height: var(--aur-leading-tight);
    letter-spacing: -0.045em;
}


/* ---------- Serif ---------- */

.aur-serif {
    font-family: var(--aur-font-serif);
    font-weight: 400;
}


/* ---------- Eyebrow ---------- */

.aur-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: var(--aur-space-4);

    color: var(--aur-color-gold-dark);

    font-size: var(--aur-text-xs);
    font-weight: 600;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}


/* =======================================================
   04. LAYOUT
======================================================= */

.aur-container {
    width: min(
        calc(100% - (var(--aur-gutter-desktop) * 2)),
        var(--aur-container)
    );

    margin-inline: auto;
}

.aur-container-wide {
    width: min(
        calc(100% - (var(--aur-gutter-desktop) * 2)),
        var(--aur-container-wide)
    );

    margin-inline: auto;
}

.aur-section {
    position: relative;

    padding-block: var(--aur-space-10);
}

.aur-section-sm {
    padding-block: var(--aur-space-8);
}

.aur-section-lg {
    padding-block: var(--aur-space-11);
}


/* =======================================================
   05. BACKGROUNDS
======================================================= */

.aur-bg-light {
    background: var(--aur-color-bg);
}

.aur-bg-white {
    background: var(--aur-color-white);
}

.aur-bg-dark {
    background: var(--aur-color-black);
    color: var(--aur-color-white);
}

.aur-bg-dark h1,
.aur-bg-dark h2,
.aur-bg-dark h3,
.aur-bg-dark h4,
.aur-bg-dark h5,
.aur-bg-dark h6 {
    color: var(--aur-color-white);
}

.aur-bg-dark p {
    color: rgba(255, 255, 255, 0.68);
}


/* =======================================================
   06. BUTTON SYSTEM
======================================================= */

.aur-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 48px;

    padding: 0 24px;

    border: 1px solid transparent;
    border-radius: var(--aur-radius-pill);

    font-size: var(--aur-text-sm);
    font-weight: 600;

    line-height: 1;

    white-space: nowrap;

    transition:
        transform var(--aur-transition),
        background-color var(--aur-transition),
        color var(--aur-transition),
        border-color var(--aur-transition),
        box-shadow var(--aur-transition);
}

.aur-btn:hover {
    transform: translateY(-2px);
}

.aur-btn:active {
    transform: translateY(0);
}


/* ---------- Primary ---------- */

.aur-btn-primary {
    background: var(--aur-color-black);
    color: var(--aur-color-white);
}

.aur-btn-primary:hover {
    background: #242424;
}


/* ---------- Light ---------- */

.aur-btn-light {
    background: var(--aur-color-white);
    color: var(--aur-color-black);
}

.aur-btn-light:hover {
    background: #eeeeeb;
}


/* ---------- Outline ---------- */

.aur-btn-outline {
    background: transparent;
    color: var(--aur-color-text);
    border-color: var(--aur-color-border);
}

.aur-btn-outline:hover {
    border-color: var(--aur-color-text);
}


/* ---------- Dark Outline ---------- */

.aur-btn-outline-light {
    background: transparent;
    color: var(--aur-color-white);
    border-color: var(--aur-color-border-dark);
}

.aur-btn-outline-light:hover {
    border-color: var(--aur-color-white);
}


/* ---------- Gold ---------- */

.aur-btn-gold {
    background: var(--aur-color-gold);
    color: var(--aur-color-white);
}

.aur-btn-gold:hover {
    background: var(--aur-color-gold-dark);
}


/* =======================================================
   07. CARDS
======================================================= */

.aur-card {
    position: relative;

    background: var(--aur-color-surface);

    border: 1px solid var(--aur-color-border-light);

    border-radius: var(--aur-radius-lg);

    overflow: hidden;

    transition:
        transform var(--aur-transition),
        box-shadow var(--aur-transition);
}

.aur-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--aur-shadow-md);
}


/* =======================================================
   08. PROPERTY CARD
======================================================= */

.aur-property-card {
    position: relative;

    background: var(--aur-color-white);

    border: 1px solid var(--aur-color-border-light);

    border-radius: var(--aur-radius-lg);

    overflow: hidden;

    transition:
        transform var(--aur-transition),
        box-shadow var(--aur-transition);
}

.aur-property-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--aur-shadow-md);
}


/* ---------- Image ---------- */

.aur-property-card-image {
    position: relative;

    aspect-ratio: 4 / 3;

    overflow: hidden;
}

.aur-property-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform var(--aur-transition-slow);
}

.aur-property-card:hover
.aur-property-card-image img {
    transform: scale(1.04);
}


/* ---------- Content ---------- */

.aur-property-card-content {
    padding: var(--aur-space-5);
}

.aur-property-card-title {
    margin-bottom: var(--aur-space-2);

    color: var(--aur-color-text);

    font-size: 22px;
    font-weight: 500;

    line-height: 1.25;
}

.aur-property-card-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 16px;

    color: var(--aur-color-text-muted);

    font-size: var(--aur-text-sm);
}


/* =======================================================
   09. FORM ELEMENTS
======================================================= */

.aur-field {
    width: 100%;

    min-height: 52px;

    padding: 0 16px;

    background: var(--aur-color-white);

    border: 1px solid var(--aur-color-border);

    border-radius: var(--aur-radius-sm);

    color: var(--aur-color-text);

    outline: none;

    transition:
        border-color var(--aur-transition-fast),
        box-shadow var(--aur-transition-fast);
}

textarea.aur-field {
    min-height: 140px;

    padding-block: 14px;

    resize: vertical;
}

.aur-field:focus {
    border-color: var(--aur-color-text);

    box-shadow:
        0 0 0 3px rgba(17, 17, 17, 0.06);
}

.aur-field::placeholder {
    color: var(--aur-color-text-muted);
}


/* =======================================================
   10. BADGES
======================================================= */

.aur-badge {
    display: inline-flex;
    align-items: center;

    min-height: 30px;

    padding: 0 12px;

    border-radius: var(--aur-radius-pill);

    background: var(--aur-color-surface-soft);

    color: var(--aur-color-text-secondary);

    font-size: var(--aur-text-xs);
    font-weight: 600;

    letter-spacing: 0.04em;
}

.aur-badge-gold {
    background: rgba(180, 154, 99, 0.12);

    color: var(--aur-color-gold-dark);
}

.aur-badge-success {
    background: rgba(47, 107, 79, 0.1);

    color: var(--aur-color-success);
}


/* =======================================================
   11. DIVIDERS
======================================================= */

.aur-divider {
    width: 100%;
    height: 1px;

    background: var(--aur-color-border);
}

.aur-divider-dark {
    background: var(--aur-color-border-dark);
}


/* =======================================================
   12. UTILITY
======================================================= */

.aur-flex {
    display: flex;
}

.aur-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.aur-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aur-grid {
    display: grid;
}

.aur-hidden {
    display: none !important;
}

.aur-text-center {
    text-align: center;
}

.aur-text-right {
    text-align: right;
}

.aur-overflow-hidden {
    overflow: hidden;
}


/* =======================================================
   13. ACCESSIBILITY
======================================================= */

:focus-visible {
    outline: 2px solid var(--aur-color-gold);

    outline-offset: 3px;
}

::selection {
    background: var(--aur-color-black);
    color: var(--aur-color-white);
}


/* =======================================================
   14. AURELIUS HEADER
======================================================= */

.aur-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: rgba(247, 246, 242, 0.92);

    border-bottom: 1px solid var(--aur-color-border-light);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.aur-header-inner {
    width: min(
        calc(100% - (var(--aur-gutter-desktop) * 2)),
        var(--aur-container-wide)
    );

    min-height: 82px;

    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


/* =======================================================
   15. HEADER LOGO
======================================================= */

.aur-logo {
    display: inline-flex;
    align-items: baseline;

    gap: 7px;

    flex-shrink: 0;

    color: var(--aur-color-black);

    line-height: 1;

    transition: opacity var(--aur-transition-fast);
}

.aur-logo:hover {
    opacity: 0.7;
}

.aur-logo-main {
    font-family: var(--aur-font-serif);

    font-size: 25px;
    font-weight: 500;

    letter-spacing: -0.025em;
}

.aur-logo-sub {
    font-family: var(--aur-font-sans);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--aur-color-text-muted);
}


/* =======================================================
   16. DESKTOP NAVIGATION
======================================================= */

.aur-nav {
    margin-left: auto;
}

.aur-nav-list {
    display: flex;
    align-items: center;

    gap: 32px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.aur-nav-list li {
    margin: 0;
    padding: 0;
}

.aur-nav-list a {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 44px;

    color: var(--aur-color-text-secondary);

    font-size: var(--aur-text-sm);
    font-weight: 500;

    transition:
        color var(--aur-transition-fast);
}

.aur-nav-list a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 5px;

    height: 1px;

    background: var(--aur-color-black);

    transform: scaleX(0);

    transform-origin: right;

    transition:
        transform var(--aur-transition);
}

.aur-nav-list a:hover {
    color: var(--aur-color-black);
}

.aur-nav-list a:hover::after,
.aur-nav-list .current-menu-item > a::after,
.aur-nav-list .current-menu-ancestor > a::after {
    transform: scaleX(1);

    transform-origin: left;
}


/* =======================================================
   17. HEADER ACTIONS
======================================================= */

.aur-header-actions {
    display: flex;
    align-items: center;

    gap: 14px;
}

.aur-header-cta {
    min-height: 44px;

    padding-inline: 22px;
}


/* =======================================================
   18. MOBILE MENU BUTTON
======================================================= */

.aur-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;

    background: transparent;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 6px;

    color: var(--aur-color-black);
}

.aur-menu-toggle span {
    display: block;

    width: 22px;
    height: 1px;

    background: currentColor;

    transition:
        transform var(--aur-transition),
        opacity var(--aur-transition);
}


/* =======================================================
   19. MOBILE NAVIGATION
======================================================= */

.aur-mobile-menu {
    display: none;

    width: 100%;

    padding:
        28px
        var(--aur-gutter-desktop)
        36px;

    background: var(--aur-color-bg);

    border-top: 1px solid var(--aur-color-border-light);
}

.aur-mobile-nav-list {
    display: flex;

    flex-direction: column;

    gap: 4px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.aur-mobile-nav-list li {
    margin: 0;
    padding: 0;
}

.aur-mobile-nav-list a {
    display: block;

    padding: 14px 0;

    color: var(--aur-color-text);

    font-size: 20px;
    font-weight: 500;

    transition:
        color var(--aur-transition-fast),
        padding-left var(--aur-transition-fast);
}

.aur-mobile-nav-list a:hover {
    color: var(--aur-color-gold-dark);

    padding-left: 4px;
}

.aur-mobile-cta {
    width: 100%;

    margin-top: 24px;
}


/* =======================================================
   20. MOBILE MENU OPEN STATE
======================================================= */

.aur-mobile-menu.is-open {
    display: block;
}

.aur-menu-toggle.is-active span:first-child {
    transform:
        translateY(3.5px)
        rotate(45deg);
}

.aur-menu-toggle.is-active span:last-child {
    transform:
        translateY(-3.5px)
        rotate(-45deg);
}


/* =======================================================
   21. WORDPRESS CONTENT SAFETY
======================================================= */

.wp-block-image img,
.elementor img {
    max-width: 100%;
}

.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}


/* =======================================================
   22. RESPONSIVE — TABLET
======================================================= */

@media (max-width: 1024px) {

    :root {
        --aur-gutter-desktop: var(--aur-gutter-tablet);
    }

    .aur-section {
        padding-block: var(--aur-space-9);
    }

    .aur-nav-list {
        gap: 22px;
    }

}


/* =======================================================
   23. RESPONSIVE — MOBILE
======================================================= */

@media (max-width: 900px) {

    .aur-header-inner {
        min-height: 74px;
    }

    .aur-nav,
    .aur-header-cta {
        display: none;
    }

    .aur-menu-toggle {
        display: flex;
    }

    .aur-mobile-menu {
        padding:
            28px
            var(--aur-gutter-desktop)
            36px;
    }

}


@media (max-width: 767px) {

    :root {
        --aur-gutter-desktop: var(--aur-gutter-mobile);

        --aur-space-10: 88px;
        --aur-space-11: 104px;
    }

    .aur-section {
        padding-block: var(--aur-space-8);
    }

    .aur-section-sm {
        padding-block: var(--aur-space-7);
    }

    .aur-section-lg {
        padding-block: var(--aur-space-10);
    }

    .aur-container,
    .aur-container-wide {
        width: min(
            calc(100% - (var(--aur-gutter-mobile) * 2)),
            100%
        );
    }

    .aur-header-inner {
        width: min(
            calc(100% - (var(--aur-gutter-mobile) * 2)),
            var(--aur-container-wide)
        );
    }

    .aur-mobile-menu {
        padding-inline: var(--aur-gutter-mobile);
    }

    .aur-btn {
        min-height: 46px;

        padding-inline: 20px;
    }

    .aur-property-card-content {
        padding: var(--aur-space-4);
    }

    .aur-property-card-title {
        font-size: 20px;
    }

}


/* =======================================================
   24. VERY SMALL MOBILE
======================================================= */

@media (max-width: 480px) {

    .aur-logo-main {
        font-size: 22px;
    }

    .aur-logo-sub {
        font-size: 9px;
        letter-spacing: 0.11em;
    }

    .aur-header-inner {
        gap: 16px;
    }

}


/* =======================================================
   25. REDUCED MOTION
======================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}

/* =======================================================
   AURELIUS HEADER — VISIBILITY TEST
======================================================= */

.aur-header {
    display: block !important;
    position: relative;
    z-index: 99999;

    width: 100%;
    min-height: 82px;

    background: #f7f6f2;
    border-bottom: 1px solid #dddddd;
}

.aur-header-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;

    width: min(
        calc(100% - 96px),
        1440px
    );

    min-height: 82px;
    margin: 0 auto;
}

.aur-logo {
    display: inline-flex !important;
    align-items: baseline;
    gap: 7px;

    color: #0a0a0a !important;
    text-decoration: none !important;
}

.aur-logo-main {
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 500;
}

.aur-logo-sub {
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;

    letter-spacing: .14em;
    text-transform: uppercase;

    color: #777777;
}

.aur-nav {
    display: block !important;
    margin-left: auto;
}

.aur-nav-list {
    display: flex !important;
    align-items: center;
    gap: 32px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.aur-nav-list li {
    display: block !important;
}

.aur-nav-list a {
    display: inline-flex !important;
    color: #111111 !important;

    font-family: Arial, sans-serif;
    font-size: 14px;
    text-decoration: none !important;
}

.aur-header-actions {
    display: flex !important;
    align-items: center;
    gap: 14px;
    margin-left: 32px;
}

.aur-header-cta {
    display: inline-flex !important;

    min-height: 44px;
    padding: 0 22px;

    align-items: center;
    justify-content: center;

    background: #0a0a0a !important;
    color: #ffffff !important;

    border-radius: 999px;
}