/* ===== CSS Custom Properties ===== */
:root {
    --plum-50:  #fdf2f8;
    --plum-100: #fce7f3;
    --plum-200: #fbcfe8;
    --plum-300: #f9a8d4;
    --plum-400: #f472b6;
    --plum-500: #db2777;
    --plum-600: #be185d;
    --plum-700: #9d174d;
    --plum-800: #831443;
    --plum-900: #500724;
    --plum-950: #2d0414;
    
    --amber-50:  #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    
    --neutral-50:  #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    --neutral-950: #0a0a0a;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.15;
    color: var(--neutral-900);
}

.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-600);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    margin-bottom: var(--space-lg);
    color: var(--neutral-900);
}

.section-title--light {
    color: #fff;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--neutral-600);
    max-width: 640px;
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-amber {
    background: var(--amber-500);
    color: var(--neutral-900);
    border: 2px solid var(--amber-500);
}

.btn-amber:hover,
.btn-amber:focus-visible {
    background: var(--amber-400);
    border-color: var(--amber-400);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background: #fff;
    color: var(--plum-800);
    border: 2px solid #fff;
}

.btn-light:hover,
.btn-light:focus-visible {
    background: var(--plum-50);
    border-color: var(--plum-200);
    transform: translateY(-1px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-200);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--plum-800);
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--plum-800);
    color: var(--amber-400);
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.main-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
    transition: color 0.2s ease;
}

.main-nav a:not(.btn):hover {
    color: var(--plum-700);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.nav-toggle:hover {
    background: var(--neutral-100);
}

.hamburger {
    display: block;
    width: 20px;
    height: 14px;
    position: relative;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translateY(-50%); }
.hamburger::after { bottom: 0; }

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

.nav-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 50%;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-950);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/8830486/pexels-photo-8830486.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    opacity: 0.35;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 4, 20, 0.92) 0%,
        rgba(80, 7, 36, 0.85) 40%,
        rgba(157, 23, 77, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-5xl) var(--space-lg);
    max-width: 820px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber-400);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
    margin-bottom: var(--space-xl);
}

.hero-sub {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    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); }
}

/* ===== Services ===== */
.services {
    padding: var(--space-5xl) 0;
    background: var(--neutral-50);
}

.services .section-label,
.services .section-title,
.services .section-desc {
    text-align: center;
}

.services .section-desc {
    margin: 0 auto var(--space-3xl);
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--plum-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-50);
    border-radius: var(--radius-md);
    color: var(--plum-700);
    margin-bottom: var(--space-lg);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--neutral-900);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.65;
}

/* ===== About ===== */
.about {
    padding: var(--space-5xl) 0;
    background: #fff;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-content p {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
}

.about-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--neutral-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--plum-700);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== Community ===== */
.community {
    padding: var(--space-5xl) 0;
    background: var(--plum-900);
}

.community-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.community-text .section-label {
    color: var(--amber-400);
}

.community-text .section-title {
    color: #fff;
}

.community-text p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
}

.community-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.community-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

/* ===== Contact ===== */
.contact {
    padding: var(--space-5xl) 0;
    background: var(--neutral-50);
}

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

.contact-info .section-label {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
}

.contact-desc {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.contact-item dt {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-50);
    border-radius: var(--radius-md);
    color: var(--plum-700);
}

.contact-item dd {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--neutral-400);
}

.contact-value {
    font-size: 1rem;
    color: var(--neutral-800);
    line-height: 1.5;
}

.contact-value a {
    color: var(--plum-700);
    transition: color 0.2s;
}

.contact-value a:hover {
    color: var(--plum-500);
    text-decoration: underline;
}

/* ===== Contact Form ===== */
.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
    color: var(--neutral-900);
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--neutral-900);
    background: var(--neutral-50);
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-md);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--plum-400);
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1);
}

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

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

.form-notice {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    margin-top: var(--space-md);
    text-align: center;
}

.form-success {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
}

.form-success svg {
    color: var(--plum-600);
    margin: 0 auto var(--space-md);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--neutral-900);
}

.form-success p {
    color: var(--neutral-600);
}

/* ===== Map ===== */
.map-section {
    background: var(--neutral-200);
}

.map-section iframe {
    filter: grayscale(30%);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--neutral-950);
    color: rgba(255,255,255,0.7);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    color: #fff;
    margin-bottom: var(--space-md);
}

.footer-brand .logo-mark {
    background: var(--plum-600);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--space-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

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

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

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--amber-400);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--amber-300);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-top: var(--space-xl);
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--amber-400);
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--neutral-200);
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }
    
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .main-nav a.btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-layout,
    .community-split,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image-wrap {
        order: -1;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: var(--space-xl);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .service-card {
        padding: var(--space-xl);
    }
    
    .contact-form-wrap {
        padding: var(--space-lg);
    }
}
