/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --terracotta: #B85C38;
    --terracotta-dark: #9A4B2C;
    --terracotta-light: #D4845E;
    --sand: #E8D5C4;
    --sand-light: #F5EDE4;
    --sand-dark: #C4A882;
    --cream: #FDF8F4;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --warm-gray: #8A7E76;
    --white: #FFFFFF;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Lato', 'Helvetica Neue', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(184, 92, 56, 0.1);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(44, 36, 32, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.05em;
}

.logo span {
    color: var(--terracotta);
    font-weight: 400;
    font-style: italic;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-light);
}

.nav-links a:hover {
    color: var(--terracotta);
}

.btn-nav {
    background: var(--terracotta);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.8rem !important;
    letter-spacing: 0.08em !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.btn-nav:hover {
    background: var(--terracotta-dark) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--cream);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-content {
    padding-right: 20px;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 24px;
    position: relative;
    padding-left: 40px;
}

.hero-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 1px;
    background: var(--terracotta);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    color: var(--terracotta);
}

.hero-subtext {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 40px;
    max-width: 480px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background: var(--terracotta-dark);
    border-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 92, 56, 0.3);
}

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

.btn-outline:hover {
    background: var(--charcoal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.hero-image-col {
    position: relative;
}

.hero-image-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 36, 32, 0.15);
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    bottom: -40px;
    left: -60px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(44, 36, 32, 0.2);
    border: 4px solid var(--cream);
}

.hero-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--sand);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--terracotta);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-top: 6px;
}

/* ===== SECTION COMMON ===== */
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--warm-gray);
    line-height: 1.8;
    max-width: 560px;
}

.section-header {
    margin-bottom: 64px;
}

.section-center {
    text-align: center;
    margin-top: 48px;
}

/* ===== ABOUT ===== */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    order: 1;
}

.about-body {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--charcoal-light);
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--charcoal);
}

.value-item svg {
    color: var(--terracotta);
    flex-shrink: 0;
}

.about-image {
    order: 2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 36, 32, 0.12);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== SERVICES ===== */
.services {
    padding: 120px 0;
    background: var(--sand-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 48px 40px;
    border-radius: 8px;
    border: 1px solid rgba(184, 92, 56, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(44, 36, 32, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sand-light);
    color: var(--terracotta);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 14px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--warm-gray);
}

/* ===== PROPERTIES ===== */
.properties {
    padding: 120px 0;
    background: var(--cream);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.property-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(184, 92, 56, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(44, 36, 32, 0.12);
}

.property-image {
    position: relative;
    overflow: hidden;
    height: 260px;
}

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

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

.property-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--terracotta);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 3px;
}

.property-info {
    padding: 28px 24px;
}

.property-info h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--warm-gray);
    margin-bottom: 12px;
}

.property-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--warm-gray);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 120px 0;
    background: var(--charcoal);
}

.testimonials .section-eyebrow {
    color: var(--terracotta-light);
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 40px 32px;
}

.testimonial-quote {
    margin-bottom: 20px;
    color: var(--terracotta-light);
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--sand);
    font-style: normal;
}

/* ===== CTA / CONTACT ===== */
.cta {
    padding: 120px 0;
    background: var(--sand-light);
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.cta-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--warm-gray);
    margin-bottom: 40px;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.cta-phone:hover {
    color: var(--terracotta);
}

.cta-address {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--warm-gray);
}

/* ===== FORM ===== */
.cta-form-wrapper {
    background: var(--white);
    border-radius: 12px;
    padding: 48px 40px;
    box-shadow: 0 16px 48px rgba(44, 36, 32, 0.08);
}

.cta-form-wrapper h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--sand);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--cream);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--sand-dark);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 32px 16px;
    color: var(--terracotta);
}

.form-success svg {
    margin: 0 auto 16px;
}

.form-success p {
    font-size: 1rem;
    color: var(--charcoal);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--charcoal);
    color: var(--sand);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(232, 213, 196, 0.6);
    max-width: 320px;
}

.footer-info h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-contact p,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(232, 213, 196, 0.6);
    line-height: 1.8;
}

.footer-contact a:hover {
    color: var(--terracotta-light);
}

.footer-links {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(232, 213, 196, 0.6);
    letter-spacing: 0.05em;
}

.footer-links a:hover {
    color: var(--terracotta-light);
}

.footer-bottom {
    border-top: 1px solid rgba(232, 213, 196, 0.1);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(232, 213, 196, 0.4);
    text-align: center;
}

/* ===== MOBILE MENU ===== */
.nav-links.mobile-open {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(253, 248, 244, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--sand);
    box-shadow: 0 12px 32px rgba(44, 36, 32, 0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-image-accent {
        left: -30px;
        bottom: -20px;
    }

    .about-container {
        gap: 48px;
    }

    .cta-container {
        gap: 48px;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-content {
        padding-right: 0;
        order: 2;
    }

    .hero-image-col {
        order: 1;
        max-width: 500px;
    }

    .hero-image-accent {
        left: -20px;
        bottom: -16px;
    }

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

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
    }

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

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

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

    .cta-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 80px;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-stats {
        gap: 24px;
    }

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

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

    .hero-image-accent {
        display: none;
    }

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

    .about-values {
        flex-direction: column;
        gap: 16px;
    }

    .cta-form-wrapper {
        padding: 32px 24px;
    }

    .cta-phone {
        font-size: 1.2rem;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .property-card,
    .testimonial-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}
