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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream-50: #faf9f6;
    --cream-100: #f5f0e8;
    --cream-200: #ede5d5;
    --gold-400: #d4a574;
    --gold-500: #c49a6c;
    --gold-600: #b8894f;
    --text-dark: #1a1a1a;
    --text-medium: #3d3d3d;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: all 0.4s ease;
}

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

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--emerald-900);
    letter-spacing: -0.01em;
}

.nav__logo-icon {
    width: 32px;
    height: 32px;
    background: var(--emerald-900);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-size: 1.2rem;
    font-weight: 300;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: color 0.3s ease, background 0.3s ease;
    letter-spacing: 0.01em;
}

.nav__link:hover {
    color: var(--emerald-700);
    background: rgba(6, 78, 59, 0.06);
}

.nav__link--cta {
    background: var(--emerald-900);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    margin-left: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

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

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

.nav__toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--emerald-900);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.nav__toggle.active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

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

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(6, 78, 59, 0.85) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(4, 120, 87, 0.7) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(5, 150, 105, 0.4) 0%, transparent 60%),
        linear-gradient(160deg, #042e24 0%, #064e3b 30%, #047857 60%, #065f46 100%);
    z-index: 0;
}

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.25) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 120px 24px 80px;
}

.hero__greeting {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.15s forwards;
}

.hero__subheadline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.45s forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.btn--primary {
    background: var(--gold-400);
    color: var(--emerald-900);
}

.btn--primary:hover {
    background: var(--gold-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* ===== Hero Scroll ===== */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--font-sans);
    animation: float 2.5s ease-in-out infinite;
}

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

/* ===== Section Shared ===== */
.section {
    padding: 100px 0;
}

.section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section__label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 16px;
}

.section__label--light {
    color: var(--gold-400);
}

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

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

.section__subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

.section__subtitle--light {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Services ===== */
.services {
    background: var(--cream-50);
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid rgba(6, 78, 59, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-700), var(--gold-400));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.08), rgba(6, 78, 59, 0.04));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.service-card:hover .service-card__icon {
    background: var(--emerald-900);
    color: var(--gold-400);
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.75;
}

/* ===== About ===== */
.about {
    background: var(--cream-100);
}

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

.about__image-wrapper {
    position: relative;
}

.about__image {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.12;
}

.about__content {
    padding: 16px 0;
}

.about__text {
    font-size: 1.02rem;
    color: var(--text-medium);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about__values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.value-item__mark {
    color: var(--gold-400);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.value-item__text {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ===== Approach ===== */
.approach {
    background: linear-gradient(160deg, #042e24 0%, #064e3b 50%, #047857 100%);
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

.approach__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.approach__step {
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

.approach__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 52px;
    right: -16px;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-400), transparent);
    opacity: 0.5;
}

.approach__step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold-400);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 20px;
}

.approach__step-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.approach__step-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
}

/* ===== Contact ===== */
.contact {
    background: var(--cream-50);
}

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

.contact__text {
    font-size: 1.02rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 40px;
}

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

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

.contact__detail-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.08), rgba(6, 78, 59, 0.04));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact__detail-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact__detail-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.contact__detail-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--emerald-700);
    transition: color 0.3s ease;
}

.contact__detail-link:hover {
    color: var(--emerald-900);
    text-decoration: underline;
}

/* ===== Contact Form ===== */
.contact__form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px;
    border: 1px solid rgba(6, 78, 59, 0.08);
    box-shadow: var(--shadow-md);
}

.form__group {
    margin-bottom: 24px;
}

.form__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--cream-50);
    border: 1.5px solid var(--cream-200);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--text-light);
}

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

.form__privacy {
    font-size: 0.82rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
}

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

.form__success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.1), rgba(6, 78, 59, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--emerald-700);
}

.form__success-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.form__success-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
    background: var(--emerald-900);
    padding: 64px 0 32px;
}

.footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.footer__logo-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-size: 1.2rem;
    font-weight: 300;
}

.footer__tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
    line-height: 1.7;
}

.footer__links {
    display: flex;
    gap: 32px;
}

.footer__link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--gold-400);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__location {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .approach__step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }
    
    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid rgba(6, 78, 59, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        pointer-events: none;
    }
    
    .nav__menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav__link--cta {
        margin-left: 0;
        text-align: center;
    }
    
    .hero__content {
        padding: 100px 24px 80px;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        width: 100%;
    }
    
    .section {
        padding: 72px 0;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .about__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about__image {
        height: 360px;
    }
    
    .about__image-accent {
        display: none;
    }
    
    .about__values {
        grid-template-columns: 1fr;
    }
    
    .approach__steps {
        grid-template-columns: 1fr;
    }
    
    .contact__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact__form-wrapper {
        padding: 28px;
    }
    
    .footer__top {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer__links {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero__greeting {
        font-size: 0.75rem;
    }
    
    .service-card {
        padding: 28px 24px;
    }
}
