:root {
    --gold: #d8b255;
    --gold-light: #e8c875;
    --gold-dark: #b8923a;
    --charcoal: #323131;
    --black: #0d0d0d;
    --white: #ffffff;
    --off-white: #fafafa;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    max-width: 65ch;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
}

.nav.scrolled {
    padding: var(--space-xs) var(--space-md);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav.nav-dark {
    background: rgba(13, 13, 13, 0.95);
    border-bottom-color: rgba(255,255,255,0.1);
}

.nav.nav-dark .nav-links a {
    color: var(--white);
}

.nav.nav-dark .nav-toggle span {
    background: var(--white);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 50px;
    transition: height 0.3s ease;
}

.nav.scrolled .nav-logo {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
    text-decoration: none;
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.nav-cta {
    background: var(--gold) !important;
    color: var(--black) !important;
    padding: 0.75rem 1.5rem !important;
    margin-left: var(--space-sm);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--black) 0%, var(--charcoal) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(216, 178, 85, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(216, 178, 85, 0.1) 0%, transparent 40%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
    max-width: 900px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero h1 span {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

/* Page Header (for inner pages) */
.page-header {
    padding: calc(var(--space-2xl) + 80px) var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--black) 0%, var(--charcoal) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(216, 178, 85, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(216, 178, 85, 0.1) 0%, transparent 40%);
}

.page-header-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-header .eyebrow {
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-dark {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}

.btn-dark:hover {
    background: var(--black);
    border-color: var(--black);
}

/* Stats Bar */
.stats-bar {
    background: var(--white);
    padding: var(--space-lg) var(--space-md);
    border-bottom: 1px solid var(--gray-medium);
}

.stats-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.stat {
    text-align: center;
    padding: var(--space-sm);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal);
}

/* Section Styles */
.section {
    padding: var(--space-xl) var(--space-md);
}

.section-dark {
    background: var(--charcoal);
    color: var(--white);
}

.section-light {
    background: var(--gray-light);
}

.section-inner {
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-header .eyebrow,
.eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
    display: block;
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: rgba(50, 49, 49, 0.7);
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.7);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--gray-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal);
    font-size: 0.875rem;
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-md);
}

.about-image-accent .stat-number {
    font-size: 3rem;
    color: var(--black);
}

.about-image-accent .stat-label {
    font-size: 0.7rem;
    color: var(--black);
}

.about-content .eyebrow {
    color: var(--gold);
}

.about-content h2 {
    margin-bottom: var(--space-md);
}

.about-content p {
    margin-bottom: var(--space-md);
    color: rgba(50, 49, 49, 0.8);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

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

.service-card {
    background: var(--white);
    padding: var(--space-lg);
    border: 1px solid var(--gray-medium);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gold);
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    color: var(--gold);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.service-card p {
    font-size: 0.95rem;
    color: rgba(50, 49, 49, 0.7);
}

/* Properties */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.property-card {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-medium);
    cursor: pointer;
}

.property-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.property-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.property-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.property-address {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.property-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--black) 100%);
    color: var(--gold);
    font-size: 0.75rem;
    text-align: center;
    padding: var(--space-sm);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.team-card {
    text-align: center;
}

.team-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--gray-medium);
    margin-bottom: var(--space-sm);
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.team-card:hover .team-photo {
    filter: grayscale(0%);
}

.team-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    margin-bottom: var(--space-sm);
    color: var(--charcoal);
    font-size: 0.75rem;
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.team-title {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.team-bio {
    font-size: 0.875rem;
    color: rgba(50, 49, 49, 0.7);
}

/* Partners (Featured Team) */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.partner-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    align-items: center;
}

.partner-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    background: var(--gray-medium);
}

.partner-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    color: var(--charcoal);
    font-size: 0.75rem;
}

.partner-info h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-xs);
}

.partner-info .team-title {
    margin-bottom: var(--space-sm);
}

.partner-info p {
    font-size: 0.9rem;
    color: rgba(50, 49, 49, 0.7);
}

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

.contact-info h2 {
    margin-bottom: var(--space-md);
    color: var(--white);
}

.contact-info p {
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-md);
}

.contact-details {
    margin-top: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item-content {
    color: var(--white);
}

.contact-item-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.contact-form {
    background: var(--white);
    padding: var(--space-lg);
}

.contact-form-light {
    background: var(--gray-light);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--gray-medium);
    background: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

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

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: var(--space-lg) var(--space-md);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
}

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

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    max-width: 300px;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--space-xs);
}

.footer-column a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1400px;
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page indicator for prototype */
.page-indicator {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--gold);
    color: var(--black);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 999;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .about-image-accent {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        height: auto;
        padding: var(--space-md);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .properties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-card {
        grid-template-columns: 200px 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .services-preview {
        grid-template-columns: 1fr;
    }
    
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-card {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}
