body { font-family: 'DM Sans', sans-serif; background: #f5f5f0; color: #2f3327; }
.hero { background: linear-gradient(135deg, #3e5641, #2f3327); color: #fff; padding: 120px 0 90px; }
.badge-brand { background: #b99c68; }
.section-title { color: #3e5641; font-weight: 800; }
.card-box { border: 0; border-radius: 14px; box-shadow: 0 8px 20px rgba(0,0,0,.08); height: 100%; }
.icon-wrap { width: 46px; height: 46px; border-radius: 12px; background: #b99c68; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.why { background: linear-gradient(135deg, #3e5641, #2f3327); color: #fff; }
.footer { background: #3e5641; color: #fff; }
.soft { color: rgba(255,255,255,.75); }
.navbar.scrolled { background: #3e5641 !important; box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.navbar {
    padding: 1rem 0;
    transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled {
    padding: 0.7rem 0;
}

.navbar-brand {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.15rem;
}

.navbar-brand::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(185, 156, 104, 0.95), rgba(214, 186, 132, 0.2));
    opacity: 0.85;
    transform: translateY(6px);
}

.navbar.scrolled .navbar-brand::after {
    opacity: 0.65;
}

.navbar-nav .nav-link {
    padding: 0.6rem 0.95rem;
    font-weight: 600;
    opacity: 0.92;
}

.navbar-nav .nav-link:hover {
    opacity: 1;
}

.navbar .btn.btn-warning {
    font-weight: 700;
    padding: 0.55rem 1.05rem;
}
.clients-section {
    position: relative;
    color: #f7f2e4;
    background:
        radial-gradient(circle at 20% 30%, rgba(185, 156, 104, 0.22), transparent 36%),
        radial-gradient(circle at 80% 70%, rgba(185, 156, 104, 0.22), transparent 38%),
        linear-gradient(135deg, #1f2f25 0%, #2d412f 40%, #1f2f25 100%);
    overflow: hidden;
}

.clients-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(185, 156, 104, 0.16) 50%, transparent 100%);
    opacity: 0.45;
    pointer-events: none;
}

.clients-title {
    color: #d6ba84;
    font-weight: 800;
}

.clients-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
}

.clients-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(214, 186, 132, 0.35);
    border-left: 1px solid rgba(214, 186, 132, 0.35);
    margin-top: 2rem;
}

.client-item {
    text-align: center;
    padding: 1.35rem 1rem;
    border-right: 1px solid rgba(214, 186, 132, 0.35);
    border-bottom: 1px solid rgba(214, 186, 132, 0.35);
    backdrop-filter: blur(2px);
    transition: background-color 0.25s ease;
}

.client-item:hover {
    background: rgba(214, 186, 132, 0.08);
}

.client-logo-mark {
    font-size: 2rem;
    font-weight: 800;
    color: #fff7e4;
    line-height: 1.2;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.client-name {
    margin: 0.7rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.clients-footnote {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}
.core-meaning-wrap {
    margin-top: 1rem;
}

.core-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #3e5641, #5d7a59);
}

.core-title {
    font-weight: 800;
    color: #2f3327;
}

.core-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.core-item {
    display: flex;
    align-items: stretch;
    gap: 0.85rem;
}

.core-letter-stack {
    width: 46px;
    min-width: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(160deg, #b99c68 0%, #8f7646 100%);
    box-shadow: 0 8px 18px rgba(185, 156, 104, 0.4);
}

.core-card {
    position: relative;
    flex: 1;
    background: linear-gradient(160deg, #ffffff 0%, #f7faee 55%, #eef5df 100%);
    border: 1px solid rgba(62, 86, 65, 0.14);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    box-shadow: 0 10px 24px rgba(47, 51, 39, 0.07);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.core-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(185, 156, 104, 0.12), rgba(62, 86, 65, 0.1));
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.core-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(185, 156, 104, 0.45);
    box-shadow: 0 16px 34px rgba(47, 51, 39, 0.15);
}

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

.core-card h5 {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: #2f3327;
}

.core-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #5a5a5a;
    font-size: 0.9rem;
    line-height: 1.5;
}

.hero-logo-showcase {
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
    perspective: 1000px;
}

.showcase-logo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0 auto;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.18));
}

.logo-main {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    animation: logo3DFloat 4.8s ease-in-out infinite;
}

@keyframes logo3DFloat {
    0% {
        transform: rotateY(-10deg) rotateX(6deg) translateY(0px) scale(1.18);
    }
    25% {
        transform: rotateY(0deg) rotateX(0deg) translateY(-8px) scale(1.2);
    }
    50% {
        transform: rotateY(10deg) rotateX(-6deg) translateY(-12px) scale(1.22);
    }
    75% {
        transform: rotateY(0deg) rotateX(0deg) translateY(-8px) scale(1.2);
    }
    100% {
        transform: rotateY(-10deg) rotateX(6deg) translateY(0px) scale(1.18);
    }
}

@media (max-width: 991px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .navbar-nav .nav-link {
        padding: 0.55rem 0.75rem;
    }

    .hero-logo-showcase {
        margin-top: 8px;
        width: 280px;
        height: 280px;
    }

    .showcase-logo {
        width: 100%;
        height: 100%;
    }

    .core-card {
        padding: 0.9rem;
    }

    .core-letter-stack {
        width: 42px;
        min-width: 42px;
        font-size: 1rem;
    }

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

    .client-logo-mark {
        font-size: 1.65rem;
    }

    .client-name {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }
}
