:root {
    --color-dark: #0b0b0b;
    --color-darker: #060606;
    --color-gold: #d4b978;
    --color-gold-light: #e8d5a3;
    --color-gold-dark: #b89d5a;
    --color-text: #f0eeeb;
    --color-text-muted: #b5b0a8;
    --color-accent: #121210;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Raleway', 'Helvetica Neue', sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.45s var(--ease);

    --glass-bg: rgba(255, 255, 255, 0.035);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.09);
    --gold-border: rgba(212, 185, 120, 0.25);
    --gold-border-hover: rgba(212, 185, 120, 0.5);
    --gold-glow: 0 0 50px rgba(212, 185, 120, 0.1);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    background-color: var(--color-darker);
    color: var(--color-text);
    line-height: 1.75;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(212, 185, 120, 0.3);
    color: #fff;
}

/* ==================== 
   BACKGROUND 
   ==================== */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1619856699906-09e1f58c98b1?q=80&w=2940&auto=format&fit=crop') center center/cover no-repeat;
    z-index: -2;
    filter: brightness(0.7) saturate(0.75);
}

.background-contact {
    background: url('bgcontact.jpg') center center/cover no-repeat;
    filter: brightness(0.7) saturate(0.75);
}

.background-overlay-light {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(212, 185, 120, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(212, 185, 120, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, rgba(6, 6, 6, 0.5) 0%, rgba(6, 6, 6, 0.35) 50%, rgba(6, 6, 6, 0.6) 100%);
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(212, 185, 120, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(212, 185, 120, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, rgba(6, 6, 6, 0.55) 0%, rgba(6, 6, 6, 0.3) 50%, rgba(6, 6, 6, 0.6) 100%);
    z-index: -1;
}

.background-solid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(212, 185, 120, 0.035) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 100%, rgba(212, 185, 120, 0.02) 0%, transparent 60%),
        var(--color-darker);
    z-index: -2;
}

/* ==================== 
   CONTAINER 
   ==================== */
.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ==================== 
   HEADER 
   ==================== */
.header {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem 0 1.5rem;
    animation: fadeInDown 1s ease-out;
    text-align: center;
    position: relative;
    gap: 4rem;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-image {
    width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: var(--transition);
    display: block;
}

.logo-image:hover {
    opacity: 1;
}

/* ==================== 
   NAVIGATION 
   ==================== */
.nav {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-bottom: 0.25rem;
    animation: fadeInDown 1s ease-out 0.15s backwards;
}

.nav-left {
    justify-content: flex-end;
    flex: 1;
}

.nav-right {
    justify-content: flex-start;
    flex: 1;
}

.nav-mobile {
    display: none;
}

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.4s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 0;
    top: 2.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 1px;
    background: var(--color-gold);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== 
   HOME HERO 
   ==================== */
.main-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 0 4rem;
}

.content-wrapper {
    max-width: 850px;
    width: 100%;
    text-align: center;
}

.main-heading {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.heading-line {
    display: block;
}

.gold-text {
    color: var(--color-gold);
    font-style: italic;
    font-weight: 300;
}

.subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 300;
    color: var(--color-text-muted);
    margin-bottom: 3.5rem;
    letter-spacing: 0.04em;
    line-height: 2;
    animation: fadeInUp 1s ease-out 0.35s backwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== 
   EMAIL FORM 
   ==================== */
.cta-section {
    margin: 3.5rem 0;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.email-form {
    display: flex;
    max-width: 550px;
    margin: 0 auto 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.email-form:focus-within {
    border-color: var(--gold-border-hover);
    box-shadow: var(--shadow), var(--gold-glow);
}

.email-input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    outline: none;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    letter-spacing: 0.04em;
}

.submit-button {
    padding: 1.25rem 2.5rem;
    background: var(--color-gold);
    border: none;
    color: var(--color-darker);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: var(--color-gold-light);
}

.submit-button:active {
    transform: scale(0.98);
}

.form-note {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.06em;
}

/* ==================== 
   FEATURE CARDS 
   ==================== */
.features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 4rem;
    animation: fadeInUp 1s ease-out 0.65s backwards;
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2.5rem;
    position: relative;
    transition: var(--transition);
}

.feature:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: var(--color-gold);
    opacity: 0.4;
}

.feature-line {
    width: 0;
    height: 0;
}

.feature-text {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: var(--transition);
}

/* ==================== 
   FOOTER 
   ==================== */
.footer {
    padding: 3rem 0 2rem;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.8s backwards;
    position: relative;
}

.footer::before {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    opacity: 0.3;
    margin: 0 auto 2rem;
}

.copyright {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ==================== 
   INTERNAL PAGES 
   ==================== */
.page-content {
    flex: 1;
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.page-header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInUp 1s ease-out;
    position: relative;
}

.page-header::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background: var(--color-gold);
    margin: 2rem auto 0;
    opacity: 0.5;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.page-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 300;
    color: var(--color-text-muted);
    letter-spacing: 0.06em;
}

/* ==================== 
   TEAM 
   ==================== */
.team-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.team-member {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 4rem;
    animation: fadeInUp 1s ease-out;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-member:hover {
    border-color: var(--gold-border-hover);
    box-shadow: var(--shadow), var(--gold-glow);
}

.team-member:nth-child(even) {
    grid-template-columns: 1fr 360px;
}

.team-member:nth-child(even) .team-photo-wrapper {
    order: 2;
}

.team-photo-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.team-photo-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212, 185, 120, 0.15);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition);
}

.team-member:hover .team-photo-wrapper::before {
    border-color: rgba(212, 185, 120, 0.35);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: filter 0.8s var(--ease);
    filter: grayscale(10%) brightness(0.95);
}

.team-member:hover .team-photo {
    filter: grayscale(0%) brightness(1);
}

.team-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.team-title {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--color-gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.team-bio {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.team-bio p {
    font-size: 0.9rem;
    line-height: 2;
    color: var(--color-text-muted);
    font-weight: 400;
}

.team-contact-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--gold-border);
    color: var(--color-gold);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: var(--transition);
    align-self: flex-start;
}

.team-contact-btn:hover {
    background: var(--color-gold);
    color: var(--color-darker);
    border-color: var(--color-gold);
    box-shadow: var(--gold-glow);
}

/* ==================== 
   LISTINGS 
   ==================== */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    animation: fadeInUp 1s ease-out;
}

.listing-card,
.listing-card-link {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.listing-card:hover,
.listing-card-link:hover {
    border-color: var(--gold-border-hover);
    box-shadow: var(--shadow-lg), var(--gold-glow);
    transform: translateY(-6px);
}

.listing-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
    filter: brightness(0.88) saturate(0.9);
}

.listing-card:hover .listing-image img,
.listing-card-link:hover .listing-image img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1);
}

.listing-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(6, 6, 6, 0.9), transparent);
    pointer-events: none;
}

.listing-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(212, 185, 120, 0.85);
    backdrop-filter: blur(10px);
    color: var(--color-darker);
    padding: 0.35rem 1rem;
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    z-index: 1;
}

.listing-badge-sold {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.listing-details {
    padding: 1.75rem 2rem 2rem;
    text-align: center;
}

.listing-address {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.35rem;
    letter-spacing: 0;
}

.listing-location {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.listing-price {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.35rem 1rem;
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    z-index: 1;
}

.listing-price-active {
    background: rgba(212, 185, 120, 0.85);
    color: var(--color-darker);
    border: none;
}

.listing-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--gold-border);
    color: var(--color-gold);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: var(--transition);
}

.listing-card:hover .listing-btn,
.listing-card-link:hover .listing-btn {
    background: var(--color-gold);
    color: var(--color-darker);
    border-color: var(--color-gold);
}

.listing-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-darker) 0%, var(--color-dark) 50%, var(--color-darker) 100%);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.gallery-hero-placeholder {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-darker) 0%, var(--color-dark) 50%, var(--color-darker) 100%);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ====================
   TESTIMONIALS
   ==================== */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
    animation: fadeInUp 1s ease-out;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 3rem 2.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--gold-border-hover);
    box-shadow: var(--shadow), var(--gold-glow);
    transform: translateY(-4px);
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-gold);
    opacity: 0.15;
    line-height: 0.6;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    line-height: 2;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.author-name {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.author-location {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

/* ==================== 
   CTA BOX 
   ==================== */
.cta-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--gold-border);
    padding: 5rem 4rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 1s ease-out 0.3s backwards;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.5;
}

.cta-box:hover {
    border-color: var(--gold-border-hover);
    box-shadow: var(--shadow), var(--gold-glow);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.cta-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    letter-spacing: 0.03em;
}

.cta-button {
    display: inline-block;
    padding: 1.1rem 3rem;
    background: var(--color-gold);
    color: var(--color-darker);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--color-gold-light);
    box-shadow: 0 0 50px rgba(212, 185, 120, 0.25);
    transform: translateY(-2px);
}

/* ==================== 
   CONTACT 
   ==================== */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-section {
    margin-bottom: 5rem;
    animation: slideInUp 0.8s ease-out;
}

.contact-card > * {
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-radius: 4px;
}

.contact-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--gold-border-hover);
    box-shadow: var(--shadow), var(--gold-glow);
    transform: translateY(-4px);
    z-index: 1;
}

.contact-card-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.35rem;
    letter-spacing: 0.05em;
}

.contact-card-subtitle {
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 400;
    color: var(--color-gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    transition: var(--transition);
    line-height: 1.6;
}

.contact-link:hover {
    color: var(--color-gold);
}

.contact-form-section {
    max-width: 640px;
    margin: 0 auto;
    animation: slideInUp 0.8s ease-out 0.15s backwards;
}

.contact-form > * {
    animation: fadeIn 0.8s ease-out 0.35s backwards;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    text-align: center;
}

.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 3.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-form:focus-within {
    border-color: var(--gold-border-hover);
    box-shadow: var(--shadow), var(--gold-glow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.form-input,
.form-textarea {
    padding: 0.9rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold-border-hover);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 30px rgba(212, 185, 120, 0.05);
}

select.form-input {
    background-color: rgba(255, 255, 255, 0.02);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b5b0a8' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 2.5rem;
}

select.form-input option {
    background: #111;
    color: var(--color-text);
}

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

.form-submit-btn {
    width: 100%;
    padding: 1.15rem 2.5rem;
    margin-top: 1rem;
    background: var(--color-gold);
    border: none;
    color: var(--color-darker);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit-btn:hover {
    background: var(--color-gold-light);
    box-shadow: 0 0 40px rgba(212, 185, 120, 0.2);
}

.form-submit-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==================== 
   LISTING CARD LINK 
   ==================== */
.listing-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ==================== 
   GALLERY 
   ==================== */
.gallery-back {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.back-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--color-gold);
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 300;
    color: var(--color-text);
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.gallery-location {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--color-gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.gallery-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-text);
    margin-top: 0.75rem;
    letter-spacing: -0.5px;
}

.gallery-hero {
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    position: relative;
}

.gallery-hero::after {
    content: 'Click to enlarge';
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.gallery-hero:hover::after {
    opacity: 1;
}

.gallery-hero img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
    filter: brightness(0.9);
}

.gallery-hero:hover img {
    filter: brightness(1);
    transform: scale(1.02);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.gallery-item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4 / 3;
    transition: var(--transition);
}

.gallery-item:hover {
    z-index: 1;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
    filter: brightness(0.88) saturate(0.9);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1) saturate(1);
}

.gallery-cta {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* ==================== 
   LIGHTBOX 
   ==================== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.lightbox.active .lightbox-img {
    opacity: 1;
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10000;
    font-weight: 200;
}

.lightbox-close:hover {
    color: var(--color-gold);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    font-weight: 200;
    cursor: pointer;
    transition: var(--transition);
    width: 48px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--color-gold);
    border-color: var(--gold-border-hover);
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
}

/* ==================== 
   ANIMATIONS 
   ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
    }
    to {
        transform: translateY(0);
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 
   RESPONSIVE 
   ==================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .header {
        position: relative;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo-image {
        width: 220px;
    }

    .nav-left,
    .nav-right {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-mobile {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: rgba(6, 6, 6, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        z-index: 1000;
        transition: var(--transition);
        border-left: 1px solid var(--gold-border);
        display: flex;
    }
    
    .nav-mobile.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 0.75rem;
    }
    
    .email-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .features {
        flex-direction: column;
        gap: 1.25rem;
        margin-top: 3rem;
        align-items: center;
    }

    .feature {
        padding: 0;
    }

    .feature:not(:last-child)::after {
        display: none;
    }
    
    .team-member {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        padding: 2rem;
    }
    
    .team-member:nth-child(even) .team-photo-wrapper {
        order: 0;
    }
    
    .team-name {
        font-size: 2rem;
    }
    
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 3.5rem 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-hero img {
        height: 280px;
    }

    .gallery-hero-placeholder {
        height: 280px;
    }
    
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
}

@media (max-width: 480px) {
    .logo-image {
        width: 180px;
    }
    
    .email-input,
    .submit-button {
        padding: 1rem 1.25rem;
    }
    
    .page-header {
        margin-bottom: 3rem;
    }
    
    .page-content {
        padding: 2rem 0;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .gallery-hero img {
        height: 200px;
    }

    .gallery-hero-placeholder {
        height: 200px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
    }
}
