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

:root {
    --navy: #0a1628;
    --navy-light: #132240;
    --mint: #a7f3d0;
    --mint-light: #d1fae5;
    --mint-dark: #6ee7b7;
    --white: #ffffff;
    --off-white: #f8faf9;
    --gray-50: #f1f5f3;
    --gray-100: #e2e8e5;
    --gray-200: #c8d1cc;
    --gray-400: #8a9a93;
    --gray-600: #5a6b64;
    --gray-800: #2d3a34;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    -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;
}

/* ── Typography ── */
.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mint-dark);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 24px;
}

.section-line {
    width: 48px;
    height: 1px;
    background: var(--mint);
    margin-bottom: 32px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    white-space: nowrap;
}

.btn--primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn--primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.2);
}

.btn--outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn--outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn--ghost {
    background: transparent;
    color: var(--gray-600);
    border-color: var(--gray-200);
}
.btn--ghost:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.btn--light {
    background: var(--mint);
    color: var(--navy);
    border-color: var(--mint);
    font-weight: 400;
}
.btn--light:hover {
    background: var(--mint-light);
    border-color: var(--mint-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(167, 243, 208, 0.3);
}

.btn--ghost-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn--ghost-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

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

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.35s var(--ease);
}
.nav.scrolled {
    box-shadow: 0 1px 0 var(--gray-100);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--navy);
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--gray-600);
    transition: color 0.25s;
    position: relative;
}
.nav-links a:not(.btn):hover { color: var(--navy); }
.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mint-dark);
    transition: width 0.35s var(--ease);
}
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-cta {
    padding: 10px 20px !important;
    font-size: 0.8125rem !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--navy);
    transition: all 0.3s var(--ease);
    transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

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

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(167,243,208,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167,243,208,0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
    max-width: 560px;
}

.hero-sub {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 480px;
}

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

.hero-visual {
    position: relative;
}

.hero-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}
.hero-card img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}
.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(transparent, rgba(10,22,40,0.85));
}
.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--mint);
    line-height: 1;
}
.hero-stat-label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.02em;
}

.hero-floating-card {
    position: absolute;
    bottom: -24px;
    left: -32px;
    background: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: var(--gray-800);
    box-shadow: 0 8px 32px rgba(10,22,40,0.12);
    z-index: 2;
}

.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--mint), transparent 60%);
}

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

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}
.section-header .section-line { margin: 0 auto 32px; }

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

.service-card {
    padding: 40px 32px;
    border: 1px solid var(--gray-100);
    border-radius: 2px;
    transition: all 0.4s var(--ease);
    position: relative;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--mint);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
}
.service-card:hover {
    border-color: var(--mint);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10,22,40,0.06);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--navy);
}

.service-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.1875rem;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.75;
}

/* ── APPROACH ── */
.approach {
    padding: 120px 0;
    background: var(--off-white);
}

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

.approach-visual {
    position: relative;
}
.approach-visual img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 2px;
}
.approach-visual::after {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--mint);
    border-radius: 2px;
    z-index: -1;
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 8px;
}

.approach-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--mint-dark);
    line-height: 1;
    min-width: 36px;
    padding-top: 4px;
}

.approach-step h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--navy);
    margin-bottom: 6px;
}

.approach-step p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.75;
}

/* ── ABOUT ── */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

.about-visual { position: relative; }
.about-visual img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 2px;
}

.about-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.85;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-100);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--navy);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.about-stat-divider {
    width: 1px;
    background: var(--gray-100);
    align-self: stretch;
}

/* ── CTA ── */
.cta {
    position: relative;
    padding: 120px 0;
    background: var(--navy);
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(167,243,208,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167,243,208,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
}

.cta-eyebrow { color: var(--mint) !important; }

.cta-title {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

/* ── CONTACT ── */
.contact {
    padding: 120px 0;
    background: var(--off-white);
}

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

.contact-info p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.85;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.contact-item svg {
    color: var(--mint-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 0.6875rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 0.9375rem;
    color: var(--gray-800);
    line-height: 1.6;
}
.contact-item a:hover { color: var(--navy); text-decoration: underline; }

/* ── Form ── */
.contact-form-wrap {
    background: var(--white);
    padding: 48px;
    border: 1px solid var(--gray-100);
    border-radius: 2px;
}

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

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

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

.form-group label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-800);
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: 2px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.25s;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint-dark);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 64px 32px;
    gap: 16px;
}
.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--navy);
}
.form-success p {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

/* ── FOOTER ── */
.footer {
    background: var(--navy);
    padding: 80px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 64px;
}

.footer-logo {
    margin-bottom: 16px;
}
.footer-logo span { color: var(--white); }

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.75;
    max-width: 260px;
}

.footer-col h5 {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 20px;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
    transition: color 0.25s;
    line-height: 1.5;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

/* ── Scroll Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-inner { gap: 40px; }
    .hero-card img { height: 440px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-layout,
    .about-layout,
    .contact-layout { gap: 48px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--gray-100);
        transform: translateY(-120%);
        transition: transform 0.4s var(--ease);
        box-shadow: 0 16px 32px rgba(10,22,40,0.08);
    }
    .nav-links.open { transform: translateY(0); }
    .nav-toggle { display: flex; }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-headline { max-width: none; }
    .hero-sub { max-width: none; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }

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

    .approach-layout,
    .about-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .approach-visual { order: -1; }
    .approach-visual img { height: 360px; }
    .approach-visual::after { display: none; }

    .about-visual img { height: 320px; }

    .about-stats { flex-wrap: wrap; }

    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 32px 24px; }

    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 280px; }
}
