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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist', sans-serif;
    background: #FAFAF8;
    color: #1A1A1A;
    overflow-x: hidden;
}

.paper-bg {
    background-color: #FAFAF8;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}

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

.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

.card-3d {
    transform: perspective(1200px) rotateX(1.5deg) rotateY(-.5deg);
    transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 8px rgba(0, 0, 0, .04), 0 12px 24px rgba(0, 0, 0, .06);
}

.card-3d:hover {
    transform: perspective(1200px) rotateX(0) rotateY(0) translateY(-10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 8px 16px rgba(0, 0, 0, .06), 0 24px 48px rgba(0, 0, 0, .1);
}

.card-soft {
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s cubic-bezier(.16, 1, .3, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03), 0 4px 12px rgba(0, 0, 0, .05);
}

.card-soft:hover {
    transform: translateY(-6px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 8px 20px rgba(0, 0, 0, .08), 0 20px 40px rgba(0, 0, 0, .06);
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

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

.float-slow { animation: float-slow 8s ease-in-out infinite; }
.float-slower { animation: float-slower 12s ease-in-out infinite; }
.float-delayed { animation: float-slow 10s ease-in-out 2s infinite; }

.hero-overlay {
    background: linear-gradient(160deg, rgba(12, 26, 46, .96) 0%, rgba(26, 45, 71, .88) 40%, rgba(12, 26, 46, .94) 100%);
}

.gold-line {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, #B8954A, #D4B978);
}

.section-label {
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #B8954A;
}

#navbar {
    background: rgba(12, 26, 46, .14);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 8px 24px rgba(7, 15, 28, .08);
}

.nav-link {
    transition: color .28s ease, transform .28s ease;
}

.nav-link:hover {
    transform: translateY(-1px);
}

.nav-cta {
    position: relative;
    letter-spacing: 0;
    transition: color .28s ease, background-color .28s ease, letter-spacing .35s ease, transform .28s ease;
    backface-visibility: hidden;
}

.nav-cta::before,
.nav-cta::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    border-top: 1px solid rgba(255, 255, 255, 0);
    transition: width .35s ease-in-out, border-color .28s ease-in-out;
    pointer-events: none;
}

.nav-cta::before {
    top: 6px;
}

.nav-cta::after {
    bottom: 6px;
}

.nav-cta:hover,
.nav-cta:active {
    letter-spacing: 1px;
    transform: translateY(-2px);
}

.nav-cta:hover::before,
.nav-cta:hover::after,
.nav-cta:active::before,
.nav-cta:active::after {
    width: 70%;
    border-color: rgba(255, 255, 255, .72);
}

.nav-scrolled {
    background: rgba(250, 250, 248, .52);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 10px 30px rgba(12, 26, 46, .08);
}

.nav-scrolled .nav-link { color: #1A1A1A !important; }
.nav-scrolled .nav-logo { color: #0C1A2E !important; }
.nav-scrolled .nav-cta {
    background: #0C1A2E !important;
    color: #FAFAF8 !important;
}

.nav-scrolled .nav-cta::before,
.nav-scrolled .nav-cta::after {
    border-color: rgba(250, 250, 248, 0);
}

.nav-scrolled .nav-cta:hover::before,
.nav-scrolled .nav-cta:hover::after,
.nav-scrolled .nav-cta:active::before,
.nav-scrolled .nav-cta:active::after {
    border-color: rgba(250, 250, 248, .72);
}



.site-logo {
    display: block;
    width: auto;
    object-fit: contain;
}

.site-logo-nav {
    height: 50px;
    filter: drop-shadow(0 2px 10px rgba(12, 26, 46, .12));
}

.site-logo-mobile {
    height: 54px;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .16));
}

.site-logo-footer {
    height: 26px;
    opacity: .8;
    filter: saturate(.95) brightness(1.04);
}

.btn-primary {
    background: #0C1A2E;
    color: #FAFAF8;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .02em;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background: #1A2D47;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(12, 26, 46, .2);
}

.btn-gold {
    background: linear-gradient(135deg, #B8954A, #D4B978);
    color: #0C1A2E;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .02em;
    transition: all .4s cubic-bezier(.16, 1, .3, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(184, 149, 74, .3);
}

.btn-outline {
    background: transparent;
    color: #FAFAF8;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .02em;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(250, 250, 248, .25);
    cursor: pointer;
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(250, 250, 248, .08);
    border-color: rgba(250, 250, 248, .4);
    transform: translateY(-2px);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 12px rgba(0, 0, 0, .06);
}

.overview-visual {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.overview-visual__frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.overview-visual__image {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.02) contrast(1.01);
}

.hero-visual {
    max-width: 330px;
    margin-left: 0;
    margin-right: 28px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.hero-visual__frame {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 0;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .14);
}

.hero-visual__image {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center top;
    filter: saturate(1.02) contrast(1.02);
}

.services-hero {
    background: linear-gradient(160deg, rgba(12, 26, 46, .97) 0%, rgba(26, 45, 71, .92) 45%, rgba(12, 26, 46, .98) 100%);
}

.services-hero__mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: .55;
    mask-image: radial-gradient(circle at center, black 52%, transparent 92%);
    -webkit-mask-image: radial-gradient(circle at center, black 52%, transparent 92%);
}

.services-hero-panel {
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.services-hero-panel__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: rgba(250, 250, 248, .72);
    font-size: 15px;
}

.services-hero-panel__item strong {
    color: #FAFAF8;
    font-weight: 600;
}

.services-hero-panel__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.service-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 168px;
    justify-content: center;
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(245, 243, 239, .92));
    border: 1px solid rgba(12, 26, 46, .06);
    box-shadow: 0 10px 24px rgba(12, 26, 46, .05), 0 20px 45px rgba(12, 26, 46, .06);
}

.service-stat__value {
    color: #0C1A2E;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1;
}

.service-stat__label {
    color: #5B6677;
    font-size: 14px;
    line-height: 1.75;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 24px;
    padding: 32px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(250, 250, 248, .93));
    border: 1px solid rgba(12, 26, 46, .06);
    box-shadow: 0 10px 24px rgba(12, 26, 46, .05), 0 22px 46px rgba(12, 26, 46, .06);
    transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s cubic-bezier(.16, 1, .3, 1);
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(12, 26, 46, .06), 0 26px 56px rgba(12, 26, 46, .10);
}

.service-detail-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 26, 46, .04);
}

.service-detail-card__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-detail-card__title {
    color: #0C1A2E;
    font-size: 1.3rem;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -.02em;
}

.service-detail-card__text {
    color: #586272;
    font-size: 15px;
    line-height: 1.85;
}

.service-detail-list {
    list-style: none;
    display: grid;
    gap: 10px;
    color: #0C1A2E;
    font-size: 14px;
    line-height: 1.75;
}

.service-detail-list li {
    position: relative;
    padding-left: 22px;
}

.service-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #B8954A;
}

.service-process {
    display: grid;
    gap: 20px;
}

.service-process__step {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 24px 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(12, 26, 46, .05);
    box-shadow: 0 10px 22px rgba(12, 26, 46, .04);
}

.service-process__index {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0C1A2E, #1A2D47);
    color: #FAFAF8;
    font-family: 'Geist Mono', monospace;
    font-size: 14px;
    letter-spacing: .12em;
}

.service-process__title {
    color: #0C1A2E;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-process__text {
    color: #5B6677;
    font-size: 14px;
    line-height: 1.8;
}

.team-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(245, 243, 239, .92));
    border: 1px solid rgba(12, 26, 46, .06);
    box-shadow: 0 10px 24px rgba(12, 26, 46, .05), 0 22px 46px rgba(12, 26, 46, .06);
}

.team-card__image {
    position: relative;
}

.team-card__portrait {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top right, rgba(184, 149, 74, .18), transparent 30%),
        linear-gradient(160deg, #0C1A2E 0%, #1A2D47 55%, #10263F 100%);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.team-card__portrait::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .10);
    pointer-events: none;
}

.team-card__initials {
    color: rgba(250, 250, 248, .95);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -.04em;
}

.team-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-card__label {
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #B8954A;
}

.team-card__name {
    color: #0C1A2E;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.03em;
}

.team-card__role {
    color: #1A2D47;
    font-size: 15px;
    font-weight: 500;
}

.team-card__credential {
    color: #6A7280;
    font-size: 14px;
    line-height: 1.7;
}

.team-card__bio {
    color: #586272;
    font-size: 14px;
    line-height: 1.85;
    margin-top: 6px;
}

.team-card__link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 6px;
    color: #0C1A2E;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(184, 149, 74, .45);
    transition: color .25s ease, border-color .25s ease;
}

.team-card__link:hover {
    color: #B8954A;
    border-color: #B8954A;
}

.reviews-hero {
    background: linear-gradient(160deg, rgba(12, 26, 46, .97) 0%, rgba(26, 45, 71, .92) 45%, rgba(12, 26, 46, .98) 100%);
}

.reviews-hero__mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: .55;
    mask-image: radial-gradient(circle at center, black 52%, transparent 92%);
    -webkit-mask-image: radial-gradient(circle at center, black 52%, transparent 92%);
}

.reviews-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 168px;
    justify-content: center;
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(245, 243, 239, .92));
    border: 1px solid rgba(12, 26, 46, .06);
    box-shadow: 0 10px 24px rgba(12, 26, 46, .05), 0 20px 45px rgba(12, 26, 46, .06);
}

.reviews-stat__value {
    color: #0C1A2E;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1;
}

.reviews-stat__label {
    color: #5B6677;
    font-size: 14px;
    line-height: 1.75;
}

.review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 32px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(250, 250, 248, .92));
    border: 1px solid rgba(12, 26, 46, .06);
    box-shadow: 0 10px 24px rgba(12, 26, 46, .05), 0 22px 46px rgba(12, 26, 46, .06);
    overflow: hidden;
    transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s cubic-bezier(.16, 1, .3, 1);
}

.review-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #D4B978, #B8954A);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(12, 26, 46, .06), 0 26px 56px rgba(12, 26, 46, .10);
}

.review-card-featured {
    background:
        radial-gradient(circle at top right, rgba(184, 149, 74, .12), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(245, 243, 239, .96));
}

.review-card__top,
.review-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.review-stars {
    color: #B8954A;
    font-size: 14px;
    letter-spacing: .2em;
}

.review-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(12, 26, 46, .06);
    color: #0C1A2E;
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.review-card__quote {
    color: #0C1A2E;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: -.02em;
}

.review-card__quote--compact {
    color: #55606F;
    font-size: 15px;
    line-height: 1.85;
    font-weight: 400;
}

.review-card__name {
    color: #0C1A2E;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.review-card__role,
.review-card__impact {
    color: #6C7481;
    font-size: 13px;
    line-height: 1.6;
}

.review-card__impact {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(184, 149, 74, .12);
    color: #8F7231;
}

.reviews-panel {
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.reviews-panel__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: rgba(250, 250, 248, .7);
    font-size: 15px;
}

.reviews-panel__row strong {
    color: #FAFAF8;
    font-weight: 600;
}

.reviews-panel__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #FAFAF8; }
::-webkit-scrollbar-thumb {
    background: #D4D0C8;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: #B8B4AC; }

.mobile-menu {
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

*:focus-visible {
    outline: 2px solid #B8954A;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: opacity .3s ease;
        transform: none;
    }

    .reveal.revealed {
        transform: none;
    }

    .card-3d {
        transition: box-shadow .3s ease;
        transform: none;
    }

    .card-3d:hover {
        transform: none;
    }

    .float-slow,
    .float-slower,
    .float-delayed {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }
}

@media (max-width: 640px) {
    .site-logo-nav {
        height: 42px;
    }

    .site-logo-mobile {
        height: 46px;
    }

    .reviews-stat,
    .review-card,
    .reviews-panel,
    .service-stat,
    .services-hero-panel,
    .service-detail-card,
    .service-process__step,
    .team-card {
        padding: 24px;
    }

    .overview-visual__image {
        height: 320px;
    }

    .hero-visual {
        max-width: 280px;
        margin-right: 0;
    }

    .hero-visual__image {
        height: 380px;
    }

    .service-detail-card,
    .service-process__step,
    .team-card {
        grid-template-columns: 1fr;
    }
}

.strength-item {
    position: relative;
    padding-left: 24px;
}

.strength-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #B8954A;
}
