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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #0f5c3a;
    --emerald-600: #047857;
    --emerald-500: #10b981;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ed;
    --cream-200: #e8e4d8;
    --cream-300: #d4cfc0;
    --neutral-900: #1a1a1a;
    --neutral-800: #2d2d2d;
    --neutral-700: #3d3d3d;
    --neutral-600: #555555;
    --neutral-500: #6b6b6b;
    --neutral-400: #8a8a8a;
    --neutral-200: #d1d1d1;
    --neutral-100: #f0f0f0;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
}

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

body {
    font-family: var(--font-body);
    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;
}

.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(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}

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

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

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

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

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

.navbar__nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-600);
    transition: color 0.2s;
    position: relative;
}

.navbar__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-600);
    transition: width 0.3s;
}

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

.navbar__nav a:hover::after {
    width: 100%;
}

.navbar__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--neutral-700);
    padding: 8px;
}

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

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

.btn--emerald:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15, 92, 58, 0.35);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

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

.btn--light {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
}

.btn--light:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
}

.btn--ghost-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn--ghost-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn--cream {
    background: var(--cream-200);
    color: var(--neutral-900);
    border-color: var(--cream-200);
}

.btn--cream:hover {
    background: var(--cream-300);
    border-color: var(--cream-300);
    transform: translateY(-1px);
}

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

.hero-bg-pattern {
    position: relative;
}

.hero__grid {
    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;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero__badge svg {
    opacity: 0.8;
}

.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 24px;
    max-width: 560px;
}

.hero__sub {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.hero__stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

.hero__visual {
    position: relative;
    height: 600px;
}

.hero__image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__image-main {
    width: 85%;
    height: 80%;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.hero__image-float {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 50%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255,255,255,0.2);
}

.hero__image-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== SECTION HEADERS ========== */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--neutral-500);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 56px;
}

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

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

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

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

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 92, 58, 0.08);
    border-radius: var(--radius-sm);
    color: var(--emerald-700);
    margin-bottom: 20px;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 10px;
}

.service-card__desc {
    font-size: 0.925rem;
    color: var(--neutral-500);
    line-height: 1.65;
}

/* ========== ABOUT ========== */
.about {
    padding: 100px 0;
    background: #fff;
}

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

.about__images {
    position: relative;
    height: 560px;
}

.about__img-main {
    width: 75%;
    height: 75%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: absolute;
    top: 0;
    left: 0;
}

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

.about__img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #fff;
}

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

.about__text {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
}

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

.about__feature svg {
    flex-shrink: 0;
}

/* ========== CTA STRIP ========== */
.cta-strip {
    padding: 80px 0;
    background: var(--emerald-800);
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 0% 50%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(6, 79, 70, 0.4) 0%, transparent 50%);
}

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

.cta-strip__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-strip__text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

/* ========== GALLERY ========== */
.gallery {
    padding: 100px 0;
    background: var(--cream-100);
}

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

.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    transform: translateY(8px);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery__item:hover .gallery__item-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* ========== CONTACT ========== */
.contact {
    padding: 100px 0;
    background: #fff;
}

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

.contact__text {
    font-size: 1rem;
    color: var(--neutral-500);
    line-height: 1.75;
    margin-bottom: 36px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact__detail {
    display: flex;
    gap: 16px;
}

.contact__detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 92, 58, 0.08);
    border-radius: var(--radius-sm);
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact__detail strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neutral-900);
    margin-bottom: 4px;
}

.contact__detail p,
.contact__detail a {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

.contact__detail a:hover {
    color: var(--emerald-600);
}

.contact__form-wrap {
    background: var(--cream-50);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--cream-200);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neutral-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--neutral-900);
    transition: border-color 0.2s, box-shadow 0.2s;
    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 rgba(16, 185, 129, 0.12);
}

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

.contact__success {
    text-align: center;
    padding: 40px;
}

.contact__success svg {
    margin: 0 auto 16px;
}

.contact__success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.contact__success p {
    color: var(--neutral-500);
    font-size: 0.95rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--neutral-900);
    padding: 64px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer__links,
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links strong,
.footer__contact strong {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}

.footer__links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}

.footer__links a:hover {
    color: #fff;
}

.footer__contact p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

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

.footer__bottom p {
    font-size: 0.825rem;
    color: rgba(255,255,255,0.3);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ========== MOBILE NAV ========== */
.navbar__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(16px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-md);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero__grid {
        gap: 40px;
    }
    
    .hero__visual {
        height: 480px;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about__grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .navbar__nav,
    .navbar__nav.open {
        display: none;
    }
    
    .navbar__nav.open {
        display: flex;
    }
    
    .navbar__toggle {
        display: block;
    }
    
    .navbar__cta {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero__visual {
        height: 360px;
        order: -1;
    }
    
    .hero__image-main {
        width: 100%;
        height: 100%;
    }
    
    .hero__image-float {
        width: 55%;
        bottom: 5%;
        left: 5%;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        justify-content: center;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
    }
    
    .about__images {
        height: 400px;
        order: -1;
    }
    
    .about__img-main {
        width: 80%;
        height: 80%;
    }
    
    .about__img-secondary {
        width: 55%;
    }
    
    .about__features {
        grid-template-columns: 1fr;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact__form-wrap {
        padding: 28px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .cta-strip__actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero__stats {
        gap: 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .services,
    .about,
    .gallery,
    .contact {
        padding: 72px 0;
    }
}
