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

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;
    
    --cream-50: #fefdf8;
    --cream-100: #fefce8;
    --cream-200: #fef9c3;
    --cream-500: #f5f5dc;
    --cream-700: #e8e4c9;
    
    --neutral-50: #fafafa;
    --neutral-100: #f4f4f5;
    --neutral-200: #e4e4e7;
    --neutral-300: #d4d4d8;
    --neutral-400: #a1a1aa;
    --neutral-500: #71717a;
    --neutral-600: #52525b;
    --neutral-700: #3f3f46;
    --neutral-800: #27272a;
    --neutral-900: #18181b;
    --neutral-950: #09090b;
    
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--neutral-800);
    background: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.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(254, 253, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--neutral-200);
    transition: box-shadow 0.3s ease;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--neutral-900);
}

.logo span {
    font-family: var(--font-serif);
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-600);
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-500);
    transition: width 0.2s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-700);
    color: white;
    border: 2px solid var(--emerald-700);
}

.btn-primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--neutral-700);
    border: 2px solid var(--neutral-300);
}

.btn-outline:hover {
    border-color: var(--emerald-500);
    color: var(--emerald-700);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* ─── HERO ─── */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--cream-50) 0%, var(--emerald-50) 100%);
    overflow: hidden;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--emerald-100);
    color: var(--emerald-800);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--neutral-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

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

.hero-visual {
    position: relative;
}

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

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

.stat-card {
    position: absolute;
    background: white;
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--neutral-100);
}

.stat-card--1 {
    bottom: -20px;
    left: -30px;
}

.stat-card--2 {
    top: 40px;
    right: -20px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--emerald-600);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    line-height: 1.4;
    font-weight: 500;
}

/* ─── SECTION COMMON ─── */
.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--neutral-500);
    line-height: 1.7;
}

/* ─── SERVICES ─── */
.services {
    padding: 100px 0;
    background: white;
}

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

.service-card {
    padding: 36px 28px;
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-100);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    color: var(--emerald-700);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--emerald-600);
    color: white;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 10px;
}

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

/* ─── ABOUT ─── */
.about {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--cream-50);
}

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

.about-experience {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--emerald-700);
    color: white;
    padding: 24px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience span:first-child {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.about-experience span:last-child {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

.about-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.about-content p {
    font-size: 1rem;
    color: var(--neutral-500);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 28px 0 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.feature-item svg {
    color: var(--emerald-500);
    flex-shrink: 0;
}

/* ─── COMMUNITY ─── */
.community {
    padding: 100px 0;
    background: white;
}

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

.community-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--cream-50);
    border: 1px solid var(--neutral-100);
    transition: all 0.3s ease;
}

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

.community-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.community-card-content {
    padding: 24px;
}

.community-card-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

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

/* ─── CONTACT ─── */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-950) 100%);
    color: white;
}

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

.contact .section-tag {
    color: var(--emerald-300);
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.contact-info > p {
    font-size: 1rem;
    color: var(--emerald-200);
    line-height: 1.75;
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--emerald-300);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--emerald-200);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

.contact-item a {
    color: var(--emerald-300);
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: white;
}

/* ─── FORM ─── */
.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.contact-form-wrapper h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 24px;
}

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

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px var(--emerald-100);
    background: white;
}

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

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--emerald-500);
    margin-bottom: 16px;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--neutral-500);
}

/* ─── FOOTER ─── */
.footer {
    background: var(--neutral-900);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.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-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: white;
    margin-bottom: 16px;
    font-weight: 600;
}

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

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

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

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

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

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
}

/* ─── SCROLL REVEAL ─── */
.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) {
    .hero-grid {
        gap: 40px;
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .contact-grid {
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--neutral-200);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.open {
        transform: translateY(0);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-visual {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .stat-card--1 {
        left: 0;
        bottom: -16px;
    }
    
    .stat-card--2 {
        right: 0;
        top: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about-img-secondary {
        right: -16px;
        bottom: -24px;
    }
    
    .about-experience {
        left: -16px;
        top: -16px;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stat-card {
        padding: 16px 20px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media not all and (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
