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

:root {
    --plum-deep:    #3D1F3D;
    --plum:         #5C3D5E;
    --plum-mid:     #7A527A;
    --plum-light:   #9B6F9B;
    --plum-pale:    #E8D5E8;
    --plum-bg:      #F7F0F7;
    --amber:        #C8923A;
    --amber-light:  #D4A84B;
    --amber-pale:   #F5E6C4;
    --cream:        #FDF8F4;
    --warm-white:   #FAF6F2;
    --sand:         #F0E8DC;
    --text:         #2A1F2A;
    --text-mid:     #5C4A5C;
    --text-light:   #8A708A;
    --white:        #FFFFFF;
    --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:    'Lato', 'Segoe UI', Helvetica, Arial, sans-serif;
    --shadow-sm:    0 1px 3px rgba(92,61,94,0.08);
    --shadow-md:    0 4px 20px rgba(92,61,94,0.10);
    --shadow-lg:    0 8px 40px rgba(92,61,94,0.14);
    --radius:       8px;
    --radius-lg:    16px;
    --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--plum);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ── Typography ── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--plum-deep);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 560px;
    line-height: 1.7;
}

.section-header--center { text-align: center; }
.section-header--center .section-subtitle { margin: 0 auto; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--amber {
    background: var(--amber);
    color: var(--white);
    border-color: var(--amber);
}
.btn--amber:hover {
    background: var(--amber-light);
    border-color: var(--amber-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--light {
    background: var(--white);
    color: var(--plum-deep);
    border-color: var(--white);
}
.btn--light:hover {
    background: var(--plum-pale);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}
.btn--outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

.btn--full { width: 100%; justify-content: center; }
.btn--lg { padding: 18px 36px; font-size: 1rem; }

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253,248,244,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(92,61,94,0.08);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(253,248,244,0.97);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    color: var(--plum-deep);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
}

.logo em { font-style: italic; font-weight: 400; color: var(--plum-mid); font-size: 0.9em; }

.logo-icon { color: var(--plum); flex-shrink: 0; }

.logo--light { color: var(--white); }
.logo--light em { color: rgba(255,255,255,0.7); }

/* ── Nav ── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--plum-deep);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger { position: relative; }
.hamburger::before { content: ''; position: absolute; top: -7px; left: 0; }
.hamburger::after { content: ''; position: absolute; top: 7px; left: 0; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

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

.nav-menu a {
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--text-mid);
    position: relative;
    transition: var(--transition);
}

.nav-menu a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber);
    transition: var(--transition);
}

.nav-menu a:not(.btn):hover { color: var(--plum-deep); }
.nav-menu a:not(.btn):hover::after { width: 100%; }

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(61,31,61,0.55) 0%,
        rgba(92,61,94,0.45) 50%,
        rgba(61,31,61,0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    color: var(--amber-light);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Trust Bar ── */
.trust-bar {
    background: var(--plum-deep);
    padding: 0;
}

.trust-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 28px;
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.trust-item svg { color: var(--amber-light); flex-shrink: 0; }

.trust-divider {
    width: 1px;
    background: rgba(255,255,255,0.12);
    align-self: stretch;
}

/* ── Section Base ── */
.section { padding: 100px 0; }

/* ── Residences ── */
.residences { background: var(--warm-white); }

.residences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.residence-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.residence-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.residence-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 6/4;
}

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

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

.residence-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--plum);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
}

.residence-card-body { padding: 28px; }

.residence-card-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--plum-deep);
    margin-bottom: 12px;
}

.residence-card-desc {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 20px;
}

.residence-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.residence-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-mid);
}

.residence-features li svg { color: var(--amber); flex-shrink: 0; }

/* ── Location ── */
.location { background: var(--cream); }

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.location-text {
    font-size: 1.02rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 32px;
}

.location-list { display: flex; flex-direction: column; gap: 16px; }

.location-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--text);
}

.location-list-icon {
    width: 36px;
    height: 36px;
    background: var(--plum-pale);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum);
    flex-shrink: 0;
}

.location-image {
    position: relative;
}

.location-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.location-image-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

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

/* ── Experience ── */
.experience { background: var(--plum-deep); color: var(--white); }

.experience .section-eyebrow { color: var(--amber-light); }
.experience .section-title { color: var(--white); }

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.exp-item {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.exp-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.exp-item-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(212,168,75,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-light);
}

.exp-item-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.exp-item-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* ── Gallery ── */
.gallery { background: var(--warm-white); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
    margin-top: 56px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.gallery-item:hover img { transform: scale(1.04); }

.gallery-item--wide { grid-column: span 6; aspect-ratio: 9/5; }
.gallery-item:not(.gallery-item--wide) { aspect-ratio: 4/3; }

/* ── Testimonial ── */
.testimonial {
    background: var(--plum-pale);
    padding: 80px 0;
}

.testimonial-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    color: var(--plum-light);
    margin-bottom: 24px;
    opacity: 0.6;
}

.testimonial blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--plum-deep);
    margin-bottom: 24px;
}

.testimonial-meta {
    font-size: 0.88rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

/* ── CTA ── */
.cta {
    background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 100%);
    padding: 100px 0;
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.cta-eyebrow { color: var(--amber-light); }

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Contact ── */
.contact { background: var(--cream); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-text {
    font-size: 1.02rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 32px;
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--text);
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    background: var(--plum-pale);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum);
    flex-shrink: 0;
}

.contact-detail a {
    color: var(--plum);
    font-weight: 500;
    transition: var(--transition);
}

.contact-detail a:hover { color: var(--amber); }

/* ── Contact Form ── */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--plum-deep);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--warm-white);
    border: 1.5px solid var(--plum-pale);
    border-radius: var(--radius);
    padding: 12px 16px;
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(92,61,94,0.1);
}

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

.form-success {
    margin-top: 16px;
    padding: 16px;
    background: var(--plum-pale);
    border-radius: var(--radius);
    color: var(--plum-deep);
    font-size: 0.9rem;
    text-align: center;
}

/* ── Footer ── */
.footer {
    background: var(--plum-deep);
    color: var(--white);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

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

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

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

.footer address { font-style: normal; }
.footer address p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer address a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer address a:hover { color: var(--amber-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .residences-grid { grid-template-columns: repeat(2, 1fr); }
    .experience-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .trust-divider { display: none; }
    .trust-item { padding: 20px 28px; }
    .location-image-accent { right: -16px; bottom: -20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.open { right: 0; }

    .nav-menu a {
        font-size: 1.05rem;
        color: var(--text);
    }

    .hero-content { padding: 100px 20px 60px; }
    .hero-actions { flex-direction: column; align-items: center; }

    .trust-bar-inner { grid-template-columns: 1fr; }
    .trust-item { padding: 16px 24px; }

    .section { padding: 72px 0; }

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

    .location-grid { grid-template-columns: 1fr; gap: 40px; }
    .location-image-accent { display: none; }

    .experience-grid { grid-template-columns: 1fr; gap: 16px; }
    .exp-item { text-align: left; display: flex; align-items: flex-start; gap: 16px; padding: 24px; }
    .exp-item-icon { margin: 0; flex-shrink: 0; width: 52px; height: 52px; }

    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item--wide { grid-column: span 2; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrap { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 2rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item--wide { grid-column: span 1; }
}

/* ── Animations ── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
