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

:root {
    --emerald-950: #042f23;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream-50: #fafaf8;
    --cream-100: #f5f5f0;
    --cream-200: #e8e8e0;
    --cream-300: #d4d4c8;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--cream-50);
    color: var(--stone-800);
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

/* Typography */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--stone-900);
    margin-bottom: 1.5rem;
}

.section-title em {
    font-style: italic;
    color: var(--emerald-800);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 1rem;
}

.label-line {
    width: 2rem;
    height: 1px;
    background-color: var(--emerald-600);
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--emerald-800);
    color: #fff;
    border-color: var(--emerald-800);
}

.btn-primary:hover {
    background-color: var(--emerald-900);
    border-color: var(--emerald-900);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.25);
}

.btn-ghost {
    background-color: transparent;
    color: var(--stone-700);
    border-color: var(--stone-300);
}

.btn-ghost:hover {
    border-color: var(--emerald-600);
    color: var(--emerald-700);
}

.btn-dark {
    background-color: var(--stone-900);
    color: #fff;
    border-color: var(--stone-900);
}

.btn-dark:hover {
    background-color: var(--stone-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(28, 25, 23, 0.25);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--stone-700);
    border-color: var(--stone-400);
}

.btn-outline-dark:hover {
    border-color: var(--stone-700);
    color: var(--stone-900);
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--stone-900);
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--stone-600);
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--emerald-600);
    transition: width 0.25s ease;
}

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

.nav-cta {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--emerald-700) !important;
    border: 1px solid var(--emerald-600);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease !important;
}

.nav-cta:hover {
    background-color: var(--emerald-800) !important;
    color: #fff !important;
}

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

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

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background-color: var(--stone-700);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background-color: var(--cream-50);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    text-align: center;
}

.mobile-menu-link {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--stone-800);
    padding: 0.75rem 0;
    transition: color 0.2s ease;
}

.mobile-menu-link:hover {
    color: var(--emerald-700);
}

.mobile-menu-divider {
    width: 40px;
    height: 1px;
    background-color: var(--cream-300);
    margin: 1.5rem auto;
}

.mobile-menu-phone {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--emerald-700);
    margin-bottom: 0.75rem;
}

.mobile-menu-address {
    font-size: 0.875rem;
    color: var(--stone-500);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background-color: var(--cream-50);
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-left {
    padding-right: 1rem;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 2rem;
}

.hero-label-line {
    width: 2rem;
    height: 1px;
    background-color: var(--emerald-600);
    flex-shrink: 0;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.05;
    color: var(--stone-900);
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

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

.hero-description {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--stone-600);
    max-width: 480px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--stone-900);
    line-height: 1;
}

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

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--cream-300);
}

.hero-right {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: 900px;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 60%;
    height: 60%;
    border: 1px solid var(--emerald-600);
    border-radius: 6px;
    z-index: -1;
    opacity: 0.3;
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--cream-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.about-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-700);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.about-content {
    padding-top: 0.5rem;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--stone-600);
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--cream-200);
}

.about-value {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--stone-700);
}

.about-value svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background-color: var(--cream-100);
}

.section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 4rem;
}

.section-header .section-label {
    justify-content: center;
}

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

.service-card {
    background-color: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: 6px;
    padding: 2.25rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--emerald-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.08);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cream-300);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    color: var(--emerald-700);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--emerald-800);
    border-color: var(--emerald-800);
    color: #fff;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--stone-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--stone-500);
    font-weight: 300;
}

/* Community Section */
.community {
    padding: 8rem 0;
    background-color: var(--cream-50);
}

.community-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.community-content {
    padding-right: 1rem;
}

.community-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--stone-600);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 520px;
}

.community-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.community-image {
    border-radius: 6px;
    overflow: hidden;
}

.community-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background-color: var(--cream-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding-top: 0.5rem;
}

.contact-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--stone-600);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail svg {
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--stone-400);
    margin-bottom: 0.25rem;
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--stone-800);
    font-weight: 400;
}

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

.contact-detail-value a:hover {
    color: var(--emerald-800);
}

.contact-detail-value.emergency {
    color: var(--amber-600);
    font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: 6px;
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone-500);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--stone-800);
    background-color: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
    color: var(--stone-400);
}

.form-input:focus {
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background-color: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 4px;
    color: var(--emerald-800);
    font-size: 0.9375rem;
    font-weight: 400;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: var(--emerald-950);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.footer-logo svg {
    flex-shrink: 0;
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

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

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    font-size: 0.875rem;
    font-weight: 300;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom strong {
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 2.5rem;
    }
    
    .community-inner {
        gap: 2.5rem;
    }
    
    .contact-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 3rem;
    }
    
    .hero-left {
        padding-right: 0;
        order: 1;
    }
    
    .hero-right {
        order: 2;
    }
    
    .hero-image-wrapper img {
        height: 500px;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-actions {
        margin-bottom: 2rem;
    }
    
    .about {
        padding: 5rem 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-values {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .services {
        padding: 5rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .community {
        padding: 5rem 0;
    }
    
    .community-inner {
        grid-template-columns: 1fr;
    }
    
    .community-content {
        padding-right: 0;
        order: 1;
    }
    
    .community-image {
        order: 2;
    }
    
    .community-image img {
        height: 400px;
    }
    
    .contact {
        padding: 5rem 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .nav-inner {
        padding: 0 1.25rem;
    }
    
    .hero-inner {
        padding: 2.5rem 1.25rem;
    }
    
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .hero-image-wrapper img {
        height: 360px;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .community-actions {
        flex-direction: column;
    }
    
    .community-actions .btn {
        justify-content: center;
    }
}
