*, *::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;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ee;
    --cream-200: #ece8df;
    --cream-300: #e0dbd0;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --text-light: #888888;
    --white: #ffffff;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

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

.nav__logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--emerald-800);
    letter-spacing: 0.02em;
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav__menu a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.25s ease;
    position: relative;
}

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

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

.nav__menu a:hover::after {
    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: 22px;
    height: 1.5px;
    background: var(--text-dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

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

.nav__toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

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

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
    width: 100%;
}

.hero__tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 24px;
    position: relative;
    padding-left: 40px;
}

.hero__tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 1px;
    background: var(--emerald-600);
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero__sub {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 40px;
}

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

.hero__image {
    position: relative;
}

.hero__image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 2px;
}

.hero__image::before {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--cream-300);
    border-radius: 2px;
    z-index: -1;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.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);
}

.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--full {
    width: 100%;
}

/* ─── SECTION COMMON ─── */
section {
    padding: 120px 0;
}

.section__tag {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 16px;
}

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 56px;
    letter-spacing: -0.01em;
}

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

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

.card {
    padding: 48px 40px;
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: 2px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
    border-color: var(--emerald-300);
    transform: translateY(-2px);
}

.card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--emerald-700);
}

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

.card__text {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-muted);
}

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

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

.about__image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 2px;
}

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

.about__stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--cream-200);
}

.stat__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--emerald-700);
    line-height: 1;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

/* ─── WHY ─── */
.why {
    background: var(--emerald-900);
    color: var(--white);
}

.why .section__tag {
    color: var(--emerald-400);
}

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

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

.why__item {
    position: relative;
    padding-left: 0;
}

.why__number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--emerald-600);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.6;
}

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

.why__text {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
    max-width: 380px;
}

/* ─── CONTACT ─── */
.contact {
    background: var(--white);
}

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

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

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

.contact__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-dark);
    transition: color 0.25s ease;
}

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

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

/* ─── FORM ─── */
.contact__form-wrap {
    background: var(--cream-50);
    padding: 48px;
    border-radius: 2px;
    border: 1px solid var(--cream-200);
}

.form__group {
    margin-bottom: 24px;
}

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

.form__input {
    width: 100%;
    padding: 14px 0;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--cream-300);
    outline: none;
    transition: border-color 0.3s ease;
}

.form__input:focus {
    border-color: var(--emerald-600);
}

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

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

.form__success {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--emerald-700);
    text-align: center;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--cream-100);
    border-top: 1px solid var(--cream-200);
    padding: 48px 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__copy {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.footer__address {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer__phone {
    font-size: 0.8125rem;
    color: var(--emerald-700);
    font-weight: 500;
    transition: color 0.25s ease;
}

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

/* ─── SCROLL REVEAL (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__image {
        order: -1;
    }

    .hero__image img {
        height: 360px;
    }

    .hero__image::before {
        display: none;
    }

    .services__grid,
    .why__grid {
        grid-template-columns: 1fr;
    }

    .about__inner,
    .contact__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__stats {
        gap: 32px;
    }
}

@media (max-width: 640px) {
    section {
        padding: 80px 0;
    }

    .nav__menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream-50);
        flex-direction: column;
        align-items: center;
        gap: 0;
        border-bottom: 1px solid var(--cream-200);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav__menu.open {
        max-height: 320px;
    }

    .nav__menu li {
        width: 100%;
    }

    .nav__menu a {
        display: block;
        padding: 20px 24px;
        border-top: 1px solid var(--cream-200);
        width: 100%;
        text-align: center;
    }

    .nav__toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 48px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .card {
        padding: 36px 28px;
    }

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

    .contact__form-wrap {
        padding: 32px 24px;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }
}
