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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;
    --cream-50:   #faf9f6;
    --cream-100:  #f5f3ee;
    --cream-200:  #ece8df;
    --cream-300:  #e0dbd0;
    --stone-900:  #1c1917;
    --stone-800:  #292524;
    --stone-700:  #44403c;
    --stone-600:  #57534e;
    --stone-500:  #78716c;
    --stone-400:  #a8a29e;
    --stone-300:  #d6d3cd;
    --stone-200:  #e7e5e0;
    --stone-100:  #f2f1ee;
    --white:       #ffffff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --shadow-sm:   0 1px 2px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:   0 4px 6px rgba(0,0,0,0.06), 0 10px 24px rgba(0,0,0,0.08);
    --shadow-lg:   0 10px 30px rgba(0,0,0,0.10), 0 20px 50px rgba(0,0,0,0.08);
    --radius-sm:   6px;
    --radius-md:   10px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--stone-800);
    background: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    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 24px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 249, 246, 0.97);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--emerald-800);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo-icon {
    color: var(--emerald-700);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--stone-700);
    transition: color var(--transition);
    position: relative;
}

.nav-links a:not(.btn):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-600);
    transition: width var(--transition);
}

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

.btn-nav {
    background: var(--emerald-700);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    transition: background var(--transition), transform var(--transition);
}

.btn-nav:hover {
    background: var(--emerald-800);
    transform: translateY(-1px);
}

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

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--stone-700);
    border-radius: 2px;
    transition: var(--transition);
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 14px 28px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-700);
    color: var(--white);
    border-color: var(--emerald-700);
}
.btn-primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(4, 120, 87, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--stone-800);
    border-color: var(--stone-300);
}
.btn-secondary:hover {
    border-color: var(--emerald-600);
    color: var(--emerald-700);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--white);
    color: var(--emerald-800);
    border-color: var(--white);
}
.btn-accent:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

/* ===== SECTION LABELS ===== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-700);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-label.light {
    color: var(--emerald-100);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.25);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--stone-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--stone-600);
    max-width: 560px;
    line-height: 1.7;
}

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

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(4, 120, 87, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(4, 120, 87, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(4, 120, 87, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--emerald-700);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--stone-900);
    margin-bottom: 24px;
}

.text-accent {
    color: var(--emerald-700);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--stone-600);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

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

/* Hero Cards */
.hero-cards {
    position: relative;
    min-height: 480px;
}

.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-card--main {
    width: 100%;
    max-width: 440px;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 400/260;
}

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    color: var(--white);
}

.hero-card-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--emerald-600);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.hero-card-overlay p {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

/* Floating Stats */
.floating-stat {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.floating-stat--1 {
    top: 20px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.floating-stat--2 {
    bottom: 60px;
    left: -30px;
    animation: float 4s ease-in-out infinite 1s;
}

.floating-stat--3 {
    bottom: -10px;
    right: 30px;
    animation: float 4s ease-in-out infinite 2s;
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 14px 18px;
}

.floating-stat--3 svg {
    color: #f59e0b;
}

.floating-stat--3 span:last-child {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--stone-800);
    line-height: 1.3;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-700);
}

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

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

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

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

.about-images {
    position: relative;
}

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

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 500/600;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 400/300;
}

.about-accent-box {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--emerald-800);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.about-accent-box .accent-number {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-300);
    margin-bottom: 4px;
}

.about-accent-box .accent-year {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.about-content .section-title {
    margin-bottom: 20px;
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

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

.feature-icon {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* ===== SPACES ===== */
.spaces {
    padding: 100px 0;
    background: var(--cream-50);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

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

.space-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cream-200);
    transition: all var(--transition);
}

.space-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-100);
}

.space-card-img {
    overflow: hidden;
    aspect-ratio: 500/320;
}

.space-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.space-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 10px;
}

.space-card-body p {
    font-size: 0.9375rem;
    color: var(--stone-600);
    line-height: 1.7;
}

/* ===== EXPERIENCE ===== */
.experience {
    padding: 100px 0;
    background: var(--white);
}

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

.experience-text {
    font-size: 1.0625rem;
    color: var(--stone-600);
    line-height: 1.75;
    margin-bottom: 36px;
}

.experience-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 36px;
}

.exp-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.exp-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--emerald-700);
}

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

.exp-img-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.exp-img-grid img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exp-img-grid img:first-child {
    aspect-ratio: 400/500;
}

.exp-img-grid img:last-child {
    aspect-ratio: 400/300;
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    background: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.04) 0%, transparent 40%);
    pointer-events: none;
}

.cta-card {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-card .section-title {
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    margin-bottom: 36px;
}

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

/* ===== CONTACT ===== */
.contact {
    padding: 100px 0;
    background: var(--cream-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-text {
    font-size: 1rem;
    color: var(--stone-600);
    line-height: 1.75;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

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

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

.contact-item .contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--stone-500);
    margin-bottom: 4px;
}

.contact-item a {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--stone-800);
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--emerald-700);
}

.contact-item span {
    font-size: 1rem;
    color: var(--stone-700);
    line-height: 1.5;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cream-200);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cream-200);
}

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

.form-note {
    font-size: 0.875rem;
    color: var(--stone-500);
    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.8125rem;
    font-weight: 600;
    color: var(--stone-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--stone-800);
    background: var(--cream-50);
    border: 1.5px solid var(--cream-300);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-sm);
    color: var(--emerald-800);
    font-size: 0.9375rem;
    font-weight: 500;
}

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

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

/* ===== FOOTER ===== */
.footer {
    background: var(--stone-900);
    color: var(--stone-400);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--stone-800);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--emerald-500);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--stone-500);
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stone-300);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.9375rem;
    color: var(--stone-500);
    padding: 4px 0;
    transition: color var(--transition);
}

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

.footer-links span {
    display: block;
    font-size: 0.9375rem;
    color: var(--stone-500);
    padding: 4px 0;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--stone-600);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-cards {
        max-width: 500px;
        min-height: 400px;
    }
    
    .about-grid,
    .experience-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-images {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--cream-200);
        transform: translateY(-120%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.open {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .hero-cards {
        min-height: 320px;
        order: -1;
    }
    
    .hero-card--main {
        max-width: 100%;
    }
    
    .floating-stat--1 { right: 0; }
    .floating-stat--2 { left: 0; }
    
    .spaces-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-secondary {
        right: 0;
        bottom: -20px;
    }
    
    .about-accent-box {
        left: 0;
        top: -16px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .experience-stats {
        gap: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .floating-stat {
        padding: 12px 14px;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
}
