*, *::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: #fdfcf8;
    --cream-100: #faf5eb;
    --cream-200: #f5edd6;
    --cream-300: #ece0bc;
    --cream-400: #e2d0a0;
    --cream-500: #d4b87a;
    --cream-600: #c4a05a;

    --text-dark: #1a1a1a;
    --text-medium: #3d3d3d;
    --text-light: #6b6b6b;
    --text-muted: #999999;

    --white: #ffffff;
    --off-white: #fafaf8;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--cream-50);
    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;
}

ul {
    list-style: none;
}

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

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 252, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--cream-200);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--text-dark);
}

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-medium);
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links a::after:hover {
    width: 100%;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text-dark);
    transition: var(--transition);
}

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

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

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

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 0;
    transition: var(--transition);
    cursor: pointer;
    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(-1px);
    box-shadow: 0 4px 20px rgba(4, 120, 87, 0.25);
}

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

.btn-outline:hover {
    background: var(--emerald-700);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--cream-300);
}

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

.btn-white {
    background: var(--white);
    color: var(--emerald-800);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--cream-100);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding: 4rem 0;
}

.hero-content {
    padding-right: 2rem;
}

.hero-tagline {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

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

.hero-sub {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 480px;
    font-weight: 300;
}

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

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-medium);
}

.hero-detail a {
    color: var(--emerald-700);
    transition: var(--transition);
}

.hero-detail a:hover {
    color: var(--emerald-500);
}

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

.hero-visual {
    position: relative;
}

.hero-image-main {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-main:hover img {
    transform: scale(1.02);
}

.hero-image-accent {
    position: absolute;
    bottom: -2rem;
    left: -3rem;
    width: 55%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 6px solid var(--cream-50);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

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

.hero-badge {
    position: absolute;
    top: 2rem;
    right: -1.5rem;
    background: var(--emerald-700);
    color: var(--white);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 30px rgba(4, 120, 87, 0.3);
}

.hero-badge svg {
    color: var(--emerald-200);
}

/* ─── SECTION COMMON ─── */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-weight: 300;
}

/* ─── SERVICES ─── */
.services {
    padding: 8rem 0;
    background: var(--white);
}

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

.service-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--cream-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--emerald-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--emerald-200);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--emerald-600);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-light);
    font-weight: 300;
}

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

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 120, 87, 0.08) 0%, transparent 60%);
}

.about-content {
    padding: 1rem 0;
}

.about-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin: 2.5rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--cream-200);
    border-bottom: 1px solid var(--cream-200);
}

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

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

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

/* ─── GALLERY ─── */
.gallery {
    padding: 8rem 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(6) { grid-column: span 4; grid-row: span 1; }

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 44, 34, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 400;
    letter-spacing: 0.02em;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ─── CTA SECTION ─── */
.cta-section {
    padding: 8rem 0;
    background: var(--emerald-900);
    text-align: center;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
}

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

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.cta-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--emerald-200);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── CONTACT ─── */
.contact {
    padding: 8rem 0;
    background: var(--cream-50);
}

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

.contact-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cream-300);
    color: var(--emerald-600);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

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

.map-container {
    border: 1px solid var(--cream-200);
    overflow: hidden;
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* ─── CONTACT FORM ─── */
.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border: 1px solid var(--cream-200);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--cream-300);
    outline: none;
    transition: var(--transition);
    border-radius: 0;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--emerald-600);
}

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

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
}

.form-success svg {
    color: var(--emerald-600);
    margin-bottom: 1.25rem;
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 300;
}

/* ─── FOOTER ─── */
.footer {
    padding: 5rem 0 2rem;
    background: var(--emerald-950);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer .logo {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-desc {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--emerald-300);
    font-weight: 300;
    max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-contact a {
    font-size: 0.88rem;
    color: var(--emerald-300);
    font-weight: 300;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact li {
    font-size: 0.88rem;
    color: var(--emerald-300);
    font-weight: 300;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--emerald-400);
    font-weight: 300;
    letter-spacing: 0.04em;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 3rem;
    }

    .hero-image-accent {
        left: -1.5rem;
        bottom: -1rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-rows: repeat(3, 240px);
    }

    .gallery-item:nth-child(1) { grid-column: span 6; grid-row: span 2; }
    .gallery-item:nth-child(2) { grid-column: span 6; grid-row: span 1; }
    .gallery-item:nth-child(3) { grid-column: span 6; grid-row: span 1; }
    .gallery-item:nth-child(4) { grid-column: span 6; grid-row: span 1; }
    .gallery-item:nth-child(5) { grid-column: span 6; grid-row: span 1; }
    .gallery-item:nth-child(6) { grid-column: span 6; grid-row: span 1; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--cream-50);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

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

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 0;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-details {
        align-items: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image-accent {
        left: -1rem;
        bottom: -1rem;
        width: 50%;
    }

    .hero-badge {
        right: 0;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 4/3;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2 !important;
        aspect-ratio: 16/9;
    }

    .about-stats {
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-image-accent {
        display: none;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .services,
    .about,
    .gallery,
    .cta-section,
    .contact {
        padding: 5rem 0;
    }
}

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

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
