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

:root {
    --emerald-950: #042f23;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #faf8f5;
    --cream-100: #f5f0e8;
    --cream-200: #e8dcc8;
    --cream-300: #d4c4a8;
    --cream-400: #c4a87a;
    --gold: #c8a96e;
    --gold-light: #d4b87a;
    --text-dark: #1a1a1a;
    --text-mid: #3a3a3a;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

a {
    color: inherit;
    text-decoration: 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(6, 78, 59, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s var(--ease-out);
}

.nav__inner {
    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;
    color: var(--cream-100);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
}

.nav__logo-icon {
    color: var(--gold);
}

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

.nav__links a {
    color: rgba(250, 248, 245, 0.75);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

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

.nav__cta {
    background: var(--gold) !important;
    color: var(--emerald-950) !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: background 0.2s, transform 0.15s !important;
}

.nav__cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
}

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

.nav__toggle span {
    width: 22px;
    height: 2px;
    background: var(--cream-100);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

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

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

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

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: var(--emerald-900);
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 50% at 70% 40%, rgba(200, 169, 110, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero__bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 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.02'%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");
    pointer-events: none;
}

.hero__content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 56px;
    backdrop-filter: blur(8px);
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero__eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 900;
    color: var(--cream-50);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero__accent {
    color: var(--gold);
    font-style: italic;
}

.hero__sub {
    color: rgba(250, 248, 245, 0.7);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
    white-space: nowrap;
}

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

.btn--primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 169, 110, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--cream-100);
    border: 1.5px solid rgba(250, 248, 245, 0.3);
}

.btn--outline:hover {
    border-color: var(--cream-100);
    background: rgba(250, 248, 245, 0.08);
}

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

/* ===== STAT CARDS ===== */
.hero__stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px 32px;
    backdrop-filter: blur(8px);
    transition: transform 0.3s var(--ease-out), background 0.2s;
}

.stat-card:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-card__number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card__label {
    color: rgba(250, 248, 245, 0.65);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ===== SECTIONS ===== */
.section {
    padding: 120px 0;
}

.section--dark {
    background: var(--emerald-900);
}

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

.section__header {
    text-align: center;
    margin-bottom: 72px;
}

.section__eyebrow {
    display: inline-block;
    color: var(--emerald-600);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

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

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 20px;
}

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

.section__sub {
    color: var(--text-light);
    font-size: 1.0625rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-600), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}

.service-card:hover {
    border-color: var(--emerald-200, #a7f3d0);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(6, 78, 59, 0.08);
}

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

.service-card__icon {
    width: 56px;
    height: 56px;
    background: var(--emerald-50, #ecfdf5);
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: 24px;
    transition: background 0.2s;
}

.service-card:hover .service-card__icon {
    background: var(--emerald-100, #d1fae5);
}

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

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

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__image-wrap {
    position: relative;
}

.about__image-wrap img {
    border-radius: 16px;
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.about__image-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 200px;
    background: var(--gold);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
}

.about__content {
    max-width: 520px;
}

.about__text {
    color: rgba(250, 248, 245, 0.75);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(250, 248, 245, 0.85);
    font-size: 0.9375rem;
    font-weight: 500;
}

.value-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ===== CAPABILITIES ===== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.capability-item {
    padding: 32px;
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    background: var(--white);
    transition: all 0.3s var(--ease-out);
}

.capability-item:hover {
    border-color: var(--emerald-300, #6ee7b7);
    box-shadow: 0 8px 32px rgba(6, 78, 59, 0.08);
    transform: translateY(-4px);
}

.capability-item__number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 900;
    color: var(--cream-200);
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.3s;
}

.capability-item:hover .capability-item__number {
    color: var(--emerald-200, #a7f3d0);
}

.capability-item__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.capability-item__desc {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s var(--ease-out);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(6, 78, 59, 0.08);
}

.testimonial-card__quote {
    margin-bottom: 20px;
}

.testimonial-card__text {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-card__name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.testimonial-card__company {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

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

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

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

.contact-detail__icon {
    width: 48px;
    height: 48px;
    background: var(--emerald-50, #ecfdf5);
    border: 1px solid var(--cream-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-detail__label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-detail__value {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.6;
}

.contact-detail__value a {
    color: var(--emerald-700);
    transition: color 0.2s;
}

.contact-detail__value a:hover {
    color: var(--emerald-500);
}

/* ===== FORM ===== */
.contact-form {
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: 20px;
    padding: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-200);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream-50);
    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.1);
    background: var(--white);
}

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

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--emerald-50, #ecfdf5);
    border: 1px solid var(--emerald-200, #a7f3d0);
    border-radius: 10px;
    color: var(--emerald-800);
    font-weight: 500;
    font-size: 0.9375rem;
    margin-top: 16px;
}

.form-success.visible {
    display: flex;
}

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

/* ===== FOOTER ===== */
.footer {
    background: var(--emerald-950);
    padding: 72px 0 0;
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cream-100);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.0625rem;
    margin-bottom: 16px;
}

.footer__logo-icon {
    color: var(--gold);
}

.footer__tagline {
    color: rgba(250, 248, 245, 0.5);
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer__links h4,
.footer__contact h4 {
    color: var(--cream-100);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.footer__links a {
    color: rgba(250, 248, 245, 0.55);
    font-size: 0.9375rem;
    transition: color 0.2s;
}

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

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgba(250, 248, 245, 0.55);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer__contact a {
    color: var(--gold);
    transition: color 0.2s;
}

.footer__contact a:hover {
    color: var(--gold-light);
}

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

.footer__bottom p {
    color: rgba(250, 248, 245, 0.3);
    font-size: 0.8125rem;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
    }

    .hero__stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1;
        min-width: 160px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image-wrap img {
        height: 480px;
    }

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

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(6, 78, 59, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        transform: translateY(-120%);
        transition: transform 0.4s var(--ease-out);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav__links.open {
        transform: translateY(0);
    }

    .nav__toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .hero__card {
        padding: 36px;
    }

    .hero__stats {
        flex-direction: column;
    }

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

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

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

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

    .contact-form {
        padding: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .section {
        padding: 80px 0;
    }

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

@media (max-width: 480px) {
    .hero__card {
        padding: 28px;
    }

    .hero__actions {
        flex-direction: column;
    }

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

    .stat-card {
        padding: 20px 24px;
    }

    .stat-card__number {
        font-size: 2rem;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }

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

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

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