/* EN Enterprise V29 — cinematic agency polish */
:root {
    --v29-wine: #7b102a;
    --v29-wine-bright: #b12849;
    --v29-gold: #d9b85d;
    --v29-cream: #f4ecdc;
    --v29-night: #09070b;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 8% 8%, rgba(123, 16, 42, 0.12), transparent 31rem),
        radial-gradient(circle at 92% 32%, rgba(217, 184, 93, 0.07), transparent 34rem),
        var(--bg);
}

#nav {
    width: min(1180px, calc(100% - 32px));
    left: 50%;
    right: auto;
    top: 14px;
    transform: translateX(-50%);
    border: 1px solid rgba(244, 236, 220, 0.1);
    border-radius: 18px;
    background: rgba(12, 9, 13, 0.66);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(22px) saturate(130%);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        top 0.35s ease;
}

#nav.scrolled {
    top: 8px;
    background: rgba(9, 7, 11, 0.88);
    border-color: rgba(217, 184, 93, 0.2);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

#nav .nb img {
    filter: drop-shadow(0 0 16px rgba(217, 184, 93, 0.18));
}

#nav .nl a {
    position: relative;
}

#nav .nl a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: -7px;
    height: 1px;
    background: linear-gradient(90deg, var(--v29-wine-bright), var(--v29-gold));
    transition: left 0.25s ease, right 0.25s ease;
}

#nav .nl a:hover::after {
    left: 0;
    right: 0;
}

.hero {
    min-height: 100svh;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(100deg, rgba(8, 6, 9, 0.98) 0%, rgba(8, 6, 9, 0.78) 48%, rgba(22, 6, 13, 0.48) 100%),
        radial-gradient(circle at 74% 48%, rgba(123, 16, 42, 0.24), transparent 30rem);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(217, 184, 93, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(217, 184, 93, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

.hero::after {
    content: "";
    position: absolute;
    width: 55vw;
    height: 55vw;
    max-width: 760px;
    max-height: 760px;
    right: -12vw;
    top: -16vw;
    z-index: 0;
    border-radius: 50%;
    border: 1px solid rgba(217, 184, 93, 0.12);
    box-shadow:
        0 0 0 90px rgba(217, 184, 93, 0.02),
        0 0 0 180px rgba(123, 16, 42, 0.025);
    animation: v29-orbit 16s ease-in-out infinite;
    pointer-events: none;
}

.hero .ctn,
.hero .hg {
    position: relative;
    z-index: 3;
}

.hero .hg-left {
    max-width: 720px;
}

.hero-headline,
.hero h1 {
    max-width: 820px;
    font-size: clamp(3rem, 6.7vw, 7.3rem);
    line-height: 0.94;
    letter-spacing: -0.065em;
    text-wrap: balance;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

.hero-headline strong,
.hero h1 strong,
.hero h1 em {
    color: transparent;
    background: linear-gradient(110deg, var(--v29-cream) 10%, var(--v29-gold) 48%, #fff4c5 65%, var(--v29-gold) 82%);
    background-size: 220% auto;
    background-clip: text;
    -webkit-background-clip: text;
    animation: v29-shine 8s linear infinite;
}

.hero-subtitle,
.hero .hd,
.hero-desc {
    max-width: 620px;
    color: rgba(244, 236, 220, 0.7);
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.85;
}

.hero .btn,
.hero .ha a {
    min-height: 50px;
    border-radius: 999px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.hero .btn:hover,
.hero .ha a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(123, 16, 42, 0.32);
}

.hero-trust-badge {
    border: 1px solid rgba(244, 236, 220, 0.1);
    background: rgba(16, 11, 15, 0.52);
    border-radius: 18px;
    padding: 13px 16px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.mission-card,
.mc,
.why-card,
.wc,
.review-card,
.rc,
.blog-card,
.bc,
.pc {
    position: relative;
    overflow: hidden;
    border-color: rgba(244, 236, 220, 0.1) !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
        rgba(13, 9, 13, 0.72) !important;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition:
        transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease !important;
}

.mission-card::before,
.mc::before,
.why-card::before,
.wc::before,
.pc::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 0%, rgba(217, 184, 93, 0.1), transparent 43%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mission-card:hover,
.mc:hover,
.why-card:hover,
.wc:hover,
.review-card:hover,
.rc:hover,
.blog-card:hover,
.bc:hover,
.pc:hover {
    transform: translateY(-8px);
    border-color: rgba(217, 184, 93, 0.28) !important;
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.36);
}

.mission-card:hover::before,
.mc:hover::before,
.why-card:hover::before,
.wc:hover::before,
.pc:hover::before {
    opacity: 1;
}

.pc .pimg-wrap img,
.product-card img {
    transition:
        transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
        filter 0.65s ease !important;
}

.pc:hover .pimg-wrap img,
.product-card:hover img {
    transform: scale(1.09) rotate(-1deg);
    filter: drop-shadow(0 24px 34px rgba(217, 184, 93, 0.22));
}

.sec-title,
.section-title,
.section-header h2 {
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.rv,
.rv-left,
.rv-right,
.rv-scale {
    transition-duration: 0.9s !important;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes v29-shine {
    to { background-position: 220% center; }
}

@keyframes v29-orbit {
    50% { transform: translate3d(-4vw, 5vw, 0) rotate(16deg) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 760px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: clip !important;
        scrollbar-width: none !important;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar,
    *::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
        background: transparent !important;
    }

    #nav {
        width: calc(100% - 20px);
        top: 8px;
        border-radius: 15px;
    }

    .hero {
        min-height: auto;
        padding-top: 108px !important;
    }

    .hero .ctn,
    .hero .hg,
    .hero .hg-left,
    .hero-headline,
    .hero h1,
    .hero-subtitle,
    .hero-buttons,
    .hero .company-proof-card,
    .hero .hero-trust-badge,
    .hero-countdown,
    .hero-mission-cards {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero .ctn {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .hero .hg {
        display: block !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .hero .hg-left,
    .hero-headline,
    .hero h1,
    .hero-subtitle,
    .hero-buttons {
        min-width: 0 !important;
        width: auto !important;
        overflow: hidden;
    }

    .hero h1 img {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: auto;
    }

    .hero-headline,
    .hero h1 {
        font-size: clamp(2.5rem, 13vw, 4.4rem);
        line-height: 0.98;
        letter-spacing: -0.055em;
    }

    .hero::after {
        width: 88vw;
        height: 88vw;
        right: -48vw;
        top: 12vh;
    }

    .hero-trust-badge {
        overflow-x: auto;
        scrollbar-width: none;
    }

    /* Keep the opening section concise on phones. */
    .hero .company-proof-card,
    .hero .mission-cards {
        display: flex !important;
        gap: 12px !important;
        width: 100%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding-bottom: 6px;
    }

    .hero .company-proof-card::-webkit-scrollbar,
    .hero .mission-cards::-webkit-scrollbar {
        display: none;
    }

    .hero .company-proof-card .proof-item {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }

    .hero .mission-cards .m-card {
        flex: 0 0 82%;
        min-width: 0 !important;
        scroll-snap-align: center;
    }

    .hero .hero-visual,
    .hero .hv {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 300px !important;
        margin-top: 18px !important;
        overflow: hidden !important;
    }

    .hero .hero-visual .carousel,
    .hero .hv .carousel {
        width: min(100%, 340px) !important;
        height: 300px !important;
        margin-inline: auto !important;
    }

    .hero .carousel-item img {
        max-width: 230px !important;
        max-height: 250px !important;
        object-fit: contain !important;
    }

    .hero-countdown {
        margin-top: 14px !important;
    }

    /* One clean action cluster instead of four overlapping widgets. */
    .live-counter,
    .social-proof-toast {
        display: none !important;
    }

    .tbar {
        display: flex !important;
        position: fixed !important;
        left: 50% !important;
        right: auto !important;
        bottom: max(14px, env(safe-area-inset-bottom)) !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        max-width: calc(100vw - 150px) !important;
        padding: 7px 9px !important;
        gap: 7px !important;
        border-radius: 999px !important;
        background: rgba(12, 7, 11, 0.88) !important;
        border: 1px solid rgba(217, 184, 93, 0.2) !important;
        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;
        overflow-x: auto !important;
        scrollbar-width: none;
        z-index: 9997 !important;
    }

    .tbar::-webkit-scrollbar {
        display: none;
    }

    .tbar .tbc {
        display: block !important;
        flex: 0 0 24px !important;
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        padding: 0 !important;
    }

    #chat-bubble {
        right: 14px !important;
        bottom: max(14px, env(safe-area-inset-bottom)) !important;
        z-index: 9998 !important;
    }

    #chat-bubble .chat-label {
        display: none !important;
    }

    #chat-bubble .chat-btn {
        width: 52px !important;
        height: 52px !important;
    }

    #ai-bubble {
        right: 14px !important;
        bottom: calc(max(14px, env(safe-area-inset-bottom)) + 62px) !important;
        width: 46px !important;
        height: 46px !important;
    }

    #btt {
        right: 74px !important;
        bottom: max(17px, env(safe-area-inset-bottom)) !important;
    }

    #ai-chatbot {
        right: 10px !important;
        bottom: calc(max(14px, env(safe-area-inset-bottom)) + 118px) !important;
        width: calc(100vw - 20px) !important;
        max-height: min(62vh, 520px) !important;
    }
}
