/* ===== Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@200;300;400;500;600&display=swap');

/* ===== CSS Variables ===== */
:root {
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;

    --green-900: #1a2e12;
    --green-800: #233d18;
    --green-700: #2d5016;
    --green-600: #3a6a1e;
    --green-500: #4a7c2c;
    --green-400: #6b9e48;
    --green-300: #a8c686;
    --green-200: #cde0b4;
    --green-100: #e8f0dc;
    --green-50: #f4f7ef;

    --cream-900: #4a4538;
    --cream-700: #8b7f6a;
    --cream-500: #b8a98c;
    --cream-300: #ddd3c0;
    --cream-200: #ebe4d6;
    --cream-100: #f5f1ea;
    --cream-50: #faf8f4;

    --text-primary: #1c1c1a;
    --text-secondary: #5a5a52;
    --text-tertiary: #8a8a7e;
    --text-inverse: #faf8f4;

    --shadow-xs: 0 1px 2px rgba(26, 46, 18, 0.04);
    --shadow-sm: 0 2px 8px rgba(26, 46, 18, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 46, 18, 0.08);
    --shadow-lg: 0 8px 32px rgba(26, 46, 18, 0.1);
    --shadow-xl: 0 16px 48px rgba(26, 46, 18, 0.12);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--cream-50);
    overflow-x: hidden;
}

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

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

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

/* ===== Grain Overlay ===== */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* ===== Layout ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

.container--narrow {
    max-width: 960px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.4s var(--ease-out),
                box-shadow 0.4s var(--ease-out),
                backdrop-filter 0.4s var(--ease-out);
}

.navbar--scrolled {
    background: rgba(250, 248, 244, 0.88);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(26, 46, 18, 0.06);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-inverse);
    transition: color 0.4s var(--ease-out);
}

.navbar--scrolled .logo {
    color: var(--green-800);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(250, 248, 244, 0.85);
    padding: 0.5rem 1.1rem;
    position: relative;
    transition: color 0.3s var(--ease-out);
}

.navbar--scrolled .nav-link {
    color: var(--text-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.1rem;
    right: 1.1rem;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}

.nav-link:hover {
    color: var(--text-inverse);
}

.navbar--scrolled .nav-link:hover {
    color: var(--green-700);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 1.5px;
    background: var(--text-inverse);
    border-radius: 2px;
    transition: all 0.4s var(--ease-out);
    transform-origin: center;
}

.navbar--scrolled .hamburger span {
    background: var(--green-800);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    position: relative;
    color: var(--text-inverse);
    overflow: hidden;
    background-color: var(--green-900);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
}

.video-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(26, 46, 18, 0.35) 0%,
            rgba(26, 46, 18, 0.25) 30%,
            rgba(26, 46, 18, 0.4) 55%,
            rgba(26, 46, 18, 0.85) 100%
        ),
        radial-gradient(ellipse at 30% 80%,
            rgba(26, 46, 18, 0.6) 0%,
            transparent 70%
        );
    z-index: 1;
}

.hero-content {
    z-index: 2;
    position: relative;
    padding: 0 0 clamp(60px, 10vh, 120px) 0;
    max-width: 800px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-200);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(250, 248, 244, 0.8);
    max-width: 480px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-inverse);
    background: transparent;
    border: 1px solid rgba(250, 248, 244, 0.4);
    border-radius: 0;
    transition: all 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--green-700);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
    z-index: -1;
}

.cta-button:hover {
    border-color: var(--green-700);
}

.cta-button:hover::before {
    transform: scaleX(1);
}

.cta-button .arrow {
    transition: transform 0.4s var(--ease-out);
    font-size: 1.1rem;
}

.cta-button:hover .arrow {
    transform: translateX(4px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    opacity: 0;
    animation: fadeInScroll 1s 2s forwards;
}

.scroll-indicator__line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(250, 248, 244, 0.6));
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50% { transform: scaleY(0.5); opacity: 1; }
}

@keyframes fadeInScroll {
    to { opacity: 1; }
}

/* ===== Section Base ===== */
.section {
    padding: clamp(80px, 10vw, 140px) 0;
    position: relative;
}

.section--cream {
    background: var(--cream-50);
}

.section--white {
    background: #fff;
}

.section--green {
    background: var(--green-900);
    color: var(--text-inverse);
}

/* Section Headers */
.section-header {
    margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.section-header--center {
    text-align: center;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-500);
    margin-bottom: 1rem;
    display: block;
}

.section--green .section-label {
    color: var(--green-300);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--green-900);
    letter-spacing: -0.01em;
}

.section--green .section-title {
    color: var(--cream-100);
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-top: 1.2rem;
    line-height: 1.8;
}

.section-header--center .section-description {
    margin-left: auto;
    margin-right: auto;
}

.section--green .section-description {
    color: rgba(250, 248, 244, 0.7);
}

/* Decorative divider */
.section-divider {
    width: 48px;
    height: 1px;
    background: var(--green-400);
    margin-top: 1.5rem;
}

.section-header--center .section-divider {
    margin-left: auto;
    margin-right: auto;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--green-200);
    z-index: 0;
    transition: all 0.6s var(--ease-out);
}

.about-image-wrapper:hover::before {
    top: -12px;
    left: -12px;
}

.about-image {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.about-image-wrapper:hover .about-image img {
    transform: scale(1.03);
}

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

.about-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}


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

.about-stat {
    text-align: left;
}

.about-stat__number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--green-700);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.about-stat__label {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

/* ===== Portfolio Section ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 5;
    background: var(--cream-200);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.portfolio-item:hover img {
    transform: scale(1.06);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        transparent 40%,
        rgba(26, 46, 18, 0.85) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}

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

.portfolio-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--cream-100);
    margin-bottom: 0.3rem;
    transform: translateY(10px);
    transition: transform 0.5s var(--ease-out);
}

.portfolio-item:hover .portfolio-overlay h3 {
    transform: translateY(0);
}

.portfolio-overlay p {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-200);
    transform: translateY(10px);
    transition: transform 0.5s var(--ease-out) 0.05s;
}

.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Before/After Comparison */
.comparison-section {
    margin-top: clamp(4rem, 6vw, 6rem);
}

.comparison-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.comparison-item {
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s var(--ease-out);
}

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

.comparison-slider {
    --divider-width: 2px;
    --divider-color: var(--green-500);
    --default-handle-opacity: 1;
    --default-handle-color: var(--green-500);
    width: 100%;
    aspect-ratio: 4 / 3;
}

.comparison-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #fff;
}

.comparison-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
}

.comparison-label.before {
    background: var(--cream-200);
    color: var(--cream-700);
}

.comparison-label.after {
    background: var(--green-100);
    color: var(--green-700);
}

.comparison-project {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ===== Locations Section ===== */
.map-container {
    width: 100%;
    height: 520px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.locations-legend {
    display: flex;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 1.5rem;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.legend-item i {
    font-size: 1.2rem;
    color: var(--green-500);
}

.legend-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* Leaflet popup styles */
.leaflet-popup-content-wrapper {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: none;
}

.leaflet-popup-content {
    margin: 1.2rem 1.5rem;
    font-family: var(--font-body);
}

.leaflet-popup-content h3 {
    font-family: var(--font-display);
    color: var(--green-800);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 500;
}

.leaflet-popup-content p {
    color: var(--text-secondary);
    margin: 0.25rem 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--cream-300);
}

.service-card {
    padding: clamp(2rem, 3vw, 3rem);
    border: 1px solid var(--cream-300);
    margin: -1px;
    transition: all 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--green-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

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

.service-card:hover {
    background: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.service-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--cream-300);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color 0.5s var(--ease-out);
}

.service-card:hover .service-number {
    color: var(--green-400);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--green-900);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

.contact-info {
    background: var(--green-900);
    padding: clamp(3rem, 5vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info .section-label {
    color: var(--green-300);
}

.contact-info .section-title {
    color: var(--cream-100);
    margin-bottom: 0.8rem;
}

.contact-info .section-description {
    color: rgba(250, 248, 244, 0.65);
    margin-bottom: 3rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--cream-100);
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
}

.contact-item:hover {
    transform: translateX(8px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 248, 244, 0.15);
    font-size: 1rem;
    color: var(--green-300);
    flex-shrink: 0;
    transition: all 0.4s var(--ease-out);
}

.contact-item:hover .contact-icon {
    background: rgba(250, 248, 244, 0.08);
    border-color: rgba(250, 248, 244, 0.25);
}

.contact-details h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-300);
    margin-bottom: 0.2rem;
}

.contact-details a {
    font-size: 1.05rem;
    color: var(--cream-100);
    font-weight: 300;
    transition: color 0.3s var(--ease-out);
}

.contact-details a:hover {
    color: var(--green-300);
}

.contact-image {
    position: relative;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.contact-image:hover img {
    transform: scale(1.03);
}

/* ===== Footer ===== */
.footer {
    background: var(--green-900);
    color: var(--cream-100);
    padding: 4rem 0 0;
    border-top: 1px solid rgba(250, 248, 244, 0.06);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(250, 248, 244, 0.08);
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    color: var(--cream-100);
}

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(250, 248, 244, 0.55);
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-300);
    margin-bottom: 1.2rem;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: rgba(250, 248, 244, 0.65);
    margin-bottom: 0.8rem;
    transition: color 0.3s var(--ease-out);
}

.footer-col a:hover {
    color: var(--cream-100);
}

.footer-col a i {
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.82rem;
    color: rgba(250, 248, 244, 0.35);
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 248, 244, 0.1);
    color: rgba(250, 248, 244, 0.55);
    font-size: 0.95rem;
    transition: all 0.4s var(--ease-out);
}

.footer-social a:hover {
    background: rgba(250, 248, 244, 0.08);
    border-color: rgba(250, 248, 244, 0.2);
    color: var(--cream-100);
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(26, 46, 18, 0.96);
    backdrop-filter: blur(8px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s var(--ease-out);
}

.lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    animation: lightboxZoom 0.4s var(--ease-out);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: rgba(250, 248, 244, 0.7);
    font-size: 2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out);
    border: 1px solid rgba(250, 248, 244, 0.15);
}

.lightbox-close:hover {
    color: var(--cream-100);
    background: rgba(250, 248, 244, 0.08);
}

.lightbox-caption {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(250, 248, 244, 0.7);
    text-align: center;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out),
                transform 0.8s var(--ease-out);
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

.reveal--scale {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.8s var(--ease-out),
                transform 0.8s var(--ease-out);
}

.reveal--scale.visible {
    opacity: 1;
    transform: scale(1);
}

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--green-900);
        gap: 0.5rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s var(--ease-out);
        z-index: 1000;
    }

    .nav-menu.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu .nav-link {
        font-size: 1rem;
        letter-spacing: 0.12em;
        padding: 1rem;
        color: var(--cream-100);
    }

    .hero-content {
        padding-left: 0;
        padding-right: 0;
    }

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

    .about-image-wrapper::before {
        display: none;
    }

    .about-stats {
        gap: 2rem;
    }

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

    .portfolio-item {
        aspect-ratio: 3 / 4;
    }

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

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

    .service-card {
        border: 1px solid var(--cream-300);
        margin: 0;
        margin-bottom: -1px;
    }

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

    .contact-image {
        height: 300px;
        order: -1;
    }

    .map-container {
        height: 380px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .section {
        padding: 60px 0;
    }
}
