/* =========================================================
   BYTECLIC HOME / GLOBAL CSS
   File: public/css/home.css

   负责范围：
   1. 全站基础变量
   2. Reset / Base
   3. Header / Navigation
   4. Header 滚动状态
   5. 通用按钮
   6. 首页 Services 区域
   7. 首页 Work 区域
   8. Why Byteclic 区域
   9. CTA 区域
   10. Footer
   11. 全站内页 Hero 统一
   12. 宽屏容器
   13. Responsive
========================================================= */


:root {
    --bc-red: #e8342f;
    --bc-red-bright: #f24b3f;
    --bc-red-dark: #c91f32;

    --bc-black: #171717;
    --bc-gray: #666666;
    --bc-gray-soft: rgba(20, 20, 20, 0.62);

    --bc-light: #f7f7f7;
    --bc-white: #ffffff;

    --bc-header-height: 88px;

    /*
    |--------------------------------------------------------------------------
    | Global Layout Width
    |--------------------------------------------------------------------------
    |
    | 默认桌面：
    | 最大宽度 1480px
    | 页面两侧最少保留 32px
    |
    */

    --bc-container-max: 1480px;
    --bc-container-gap: 64px;
}


/* =========================================================
   02. Reset / Base
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--bc-black);
    background: var(--bc-white);
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
   Global Responsive Container
========================================================= */

.bc-container {
    width: min(
        var(--bc-container-max),
        calc(100% - var(--bc-container-gap))
    );
    margin-inline: auto;
}


/* Large Desktop */

@media (min-width: 1600px) {
    :root {
        --bc-container-max: 1600px;
        --bc-container-gap: 96px;
    }
}


/* Standard Laptop */

@media (max-width: 1199px) {
    :root {
        --bc-container-max: 1120px;
        --bc-container-gap: 48px;
    }
}


/* Tablet */

@media (max-width: 767px) {
    :root {
        --bc-container-gap: 32px;
    }
}


/* Small Mobile */

@media (max-width: 479px) {
    :root {
        --bc-container-gap: 24px;
    }
}

/* =========================================================
   03. Header / Navigation
   初始状态：红色透明背景 + dark logo
   下滚状态：白色背景 + light logo
========================================================= */

.bc-site-header,
#bcSiteHeader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;

    width: 100% !important;
    height: var(--bc-header-height) !important;
    min-height: var(--bc-header-height) !important;
    max-height: var(--bc-header-height) !important;

    display: flex !important;
    align-items: center !important;

    background: rgba(160, 0, 0, 0.10) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;

    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;

    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 36px rgba(80, 0, 0, 0.06) !important;

    overflow: hidden !important;
    pointer-events: auto !important;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        backdrop-filter 0.25s ease !important;
}

.bc-nav-inner {
    width: calc(100% - 40px) !important;
    max-width: 1240px !important;

    height: var(--bc-header-height) !important;
    min-height: var(--bc-header-height) !important;
    max-height: var(--bc-header-height) !important;

    margin-left: auto !important;
    margin-right: auto !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}


/* =========================================================
   04. Header Logo Image
========================================================= */

.bc-logo {
    position: relative !important;

    height: var(--bc-header-height) !important;

    display: inline-flex !important;
    align-items: center !important;

    color: inherit !important;
    text-decoration: none !important;

    overflow: visible !important;
}

.bc-logo-image {
    display: block !important;

    width: auto !important;
    height: 42px !important;
    max-width: none !important;

    object-fit: contain !important;

    transition:
        opacity 0.24s ease,
        transform 0.24s ease,
        filter 0.24s ease;
}

.bc-logo:hover .bc-logo-image {
    transform: translateY(-1px);
}

/* 初始状态：显示 dark logo */
.bc-logo-image-dark {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 初始状态：隐藏 light logo */
.bc-logo-image-light {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}


/* =========================================================
   05. Header Navigation
========================================================= */

.bc-nav {
    height: var(--bc-header-height) !important;

    display: flex !important;
    align-items: center !important;
    gap: 34px !important;
}

.bc-nav a {
    display: inline-flex !important;
    align-items: center !important;

    color: rgba(255, 255, 255, 0.92) !important;

    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: 0.08em !important;

    text-transform: uppercase !important;
    text-decoration: none !important;

    text-shadow: 0 2px 10px rgba(80, 0, 0, 0.18) !important;

    transition:
        color 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        text-shadow 0.25s ease;
}

.bc-nav a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}


/* =========================================================
   06. Header CTA Button
========================================================= */

.bc-nav-button,
.bc-nav a.bc-nav-button {
    min-height: 42px !important;
    padding: 0 22px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 10px !important;

    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.58) !important;

    text-shadow: none !important;
}

.bc-nav-button:hover,
.bc-nav a.bc-nav-button:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.82) !important;
}


/* =========================================================
   07. Header Scrolled State
   JS 会给 header 加 is-scrolled，并给 body 加 bc-header-scrolled
========================================================= */

#bcSiteHeader.is-scrolled,
.bc-site-header.is-scrolled,
body.bc-header-scrolled #bcSiteHeader,
body.bc-header-scrolled .bc-site-header {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;

    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;

    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(0, 0, 0, 0.04) !important;
}

/* 下滚：隐藏 dark logo */
#bcSiteHeader.is-scrolled .bc-logo-image-dark,
.bc-site-header.is-scrolled .bc-logo-image-dark,
body.bc-header-scrolled #bcSiteHeader .bc-logo-image-dark,
body.bc-header-scrolled .bc-site-header .bc-logo-image-dark {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* 下滚：显示 light logo */
#bcSiteHeader.is-scrolled .bc-logo-image-light,
.bc-site-header.is-scrolled .bc-logo-image-light,
body.bc-header-scrolled #bcSiteHeader .bc-logo-image-light,
body.bc-header-scrolled .bc-site-header .bc-logo-image-light {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 下滚：导航黑字 */
#bcSiteHeader.is-scrolled .bc-nav a,
.bc-site-header.is-scrolled .bc-nav a,
body.bc-header-scrolled #bcSiteHeader .bc-nav a,
body.bc-header-scrolled .bc-site-header .bc-nav a {
    color: rgba(20, 20, 20, 0.78) !important;
    text-shadow: none !important;
}

#bcSiteHeader.is-scrolled .bc-nav a:hover,
.bc-site-header.is-scrolled .bc-nav a:hover,
body.bc-header-scrolled #bcSiteHeader .bc-nav a:hover,
body.bc-header-scrolled .bc-site-header .bc-nav a:hover {
    color: var(--bc-red) !important;
}

/* 下滚：按钮黑底白字 */
#bcSiteHeader.is-scrolled .bc-nav-button,
#bcSiteHeader.is-scrolled .bc-nav a.bc-nav-button,
.bc-site-header.is-scrolled .bc-nav-button,
.bc-site-header.is-scrolled .bc-nav a.bc-nav-button,
body.bc-header-scrolled #bcSiteHeader .bc-nav-button,
body.bc-header-scrolled #bcSiteHeader .bc-nav a.bc-nav-button,
body.bc-header-scrolled .bc-site-header .bc-nav-button,
body.bc-header-scrolled .bc-site-header .bc-nav a.bc-nav-button {
    color: #ffffff !important;
    background: #151515 !important;
    border-color: #151515 !important;
    text-shadow: none !important;
}

#bcSiteHeader.is-scrolled .bc-nav-button:hover,
#bcSiteHeader.is-scrolled .bc-nav a.bc-nav-button:hover,
.bc-site-header.is-scrolled .bc-nav-button:hover,
.bc-site-header.is-scrolled .bc-nav a.bc-nav-button:hover,
body.bc-header-scrolled #bcSiteHeader .bc-nav-button:hover,
body.bc-header-scrolled #bcSiteHeader .bc-nav a.bc-nav-button:hover,
body.bc-header-scrolled .bc-site-header .bc-nav-button:hover,
body.bc-header-scrolled .bc-site-header .bc-nav a.bc-nav-button:hover {
    color: #ffffff !important;
    background: var(--bc-red) !important;
    border-color: var(--bc-red) !important;
}


/* =========================================================
   08. General Sections
========================================================= */

.bc-section {
    padding: 110px 0;
}

.bc-section-heading {
    max-width: 780px;
    margin: 0 auto 58px;
    text-align: center;
}

.bc-section-heading h2 {
    margin: 0;

    color: var(--bc-black);

    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 900;
}

.bc-section-heading p {
    margin: 20px auto 0;

    color: var(--bc-gray);

    font-size: 18px;
    line-height: 1.65;
}

.bc-eyebrow {
    margin: 0 0 18px;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    letter-spacing: 0.18em !important;

    text-transform: uppercase !important;
}

.bc-eyebrow.red {
    color: var(--bc-red) !important;
}


/* =========================================================
   09. Buttons
========================================================= */

.bc-btn {
    min-height: 52px;
    padding: 0 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.04em;

    text-transform: uppercase;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.bc-btn:hover {
    transform: translateY(-2px);
}

.bc-btn-primary {
    color: #ffffff;
    background: #ef3a31;
    box-shadow: 0 18px 40px rgba(130, 0, 0, 0.26);
}

.bc-btn-primary:hover {
    color: #ffffff;
    background: #ff4a3f;
}

.bc-btn-outline {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.76);
}

.bc-btn-outline:hover {
    color: var(--bc-red);
    background: #ffffff;
}

.bc-btn-dark {
    color: #ffffff;
    background: var(--bc-black);
}

.bc-btn-dark:hover {
    color: #ffffff;
    background: var(--bc-red);
}

.bc-center-action {
    margin-top: 44px;
    text-align: center;
}


/* =========================================================
   10. Home Services Section
========================================================= */

.bc-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.bc-services {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 94% 5%, rgba(232, 52, 47, .08), transparent 27%),
        linear-gradient(180deg, #f8f6f3 0%, #fff 88%);
}

.bc-services::before {
    content: "SERVICES";
    position: absolute;
    top: 46px;
    right: -12px;
    color: rgba(20, 20, 20, .025);
    font-size: clamp(92px, 12vw, 180px);
    font-weight: 950;
    letter-spacing: -.07em;
    line-height: 1;
    pointer-events: none;
}

.bc-services-heading-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 70px;
    align-items: end;
    margin-bottom: 56px;
}

.bc-services .bc-section-heading {
    max-width: 820px;
    margin: 0;
    text-align: left;
}

.bc-services .bc-section-heading .bc-eyebrow {
    display: flex;
    gap: 18px;
    align-items: center;
}

.bc-services .bc-section-heading .bc-eyebrow span {
    color: #aaa29c;
    font-size: 10px;
    letter-spacing: .14em;
}

.bc-services .bc-section-heading h2 {
    max-width: 760px;
    margin-top: 15px;
    font-size: clamp(48px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.055em;
}

.bc-services .bc-section-heading > p:last-child {
    max-width: 690px;
    margin: 24px 0 0;
}

.bc-services-all-link {
    display: inline-flex;
    gap: 22px;
    align-items: center;
    min-height: 58px;
    padding: 8px 9px 8px 24px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 999px;
    color: var(--bc-black);
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .045);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

.bc-services-all-link b {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--bc-red);
    font-size: 16px;
    transition: transform .25s ease;
}

.bc-services-all-link:hover {
    color: #fff;
    background: var(--bc-black);
    transform: translateY(-3px);
}

.bc-services-all-link:hover b { transform: rotate(45deg); }

.bc-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 34px;

    border-radius: 26px;

    overflow: hidden;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    color: inherit;
    text-decoration: none;

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.bc-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bc-red), #ff746c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.bc-service-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(232, 52, 47, .035);
    transition: transform .35s ease, background .35s ease;
}

.bc-service-card > b {
    position: absolute;
    top: 34px;
    right: 34px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: var(--bc-black);
    background: #f4f2ef;
    font-size: 17px;
    transition: color .24s ease, background .24s ease, transform .24s ease;
}

.bc-service-card:hover {
    transform: translateY(-8px);

    border-color: rgba(232, 52, 47, 0.32);
    box-shadow: 0 28px 80px rgba(184, 20, 20, 0.10);
}

.bc-service-card:hover::before { transform: scaleX(1); }
.bc-service-card:hover::after { background: rgba(232, 52, 47, .075); transform: scale(1.18); }

.bc-service-card:hover > b {
    color: #fff;
    background: var(--bc-red);
    transform: rotate(45deg);
}

.bc-service-card span {
    width: 42px;
    height: 42px;
    margin-bottom: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;
    background: var(--bc-red);

    font-size: 13px;
    font-weight: 900;
}

.bc-service-card h3 {
    position: relative;
    z-index: 1;
    margin: 0;

    color: var(--bc-black);

    font-size: 25px;
    line-height: 1.15;
}

.bc-service-card p {
    position: relative;
    z-index: 1;
    margin: 16px 0 0;

    color: var(--bc-gray);

    font-size: 16px;
    line-height: 1.65;
}

.bc-service-card small {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 22px;
    color: var(--bc-black);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.bc-service-card small::after {
    content: " →";
    color: var(--bc-red);
}


/* =========================================================
   11. Home Work Section
========================================================= */

.bc-work-section {
    background: #f8f8f8;
}

.bc-work-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.bc-work-card {
    display: block;

    overflow: hidden;

    border-radius: 24px;
    background: #ffffff;

    color: #151515;
    text-decoration: none;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(0, 0, 0, 0.04);

    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
}

.bc-work-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.10),
        0 1px 0 rgba(0, 0, 0, 0.05);
}

.bc-work-image {
    width: 100%;
    height: 230px;

    background-size: cover;
    background-position: center;
}

.bc-work-image-1 {
    background:
        linear-gradient(135deg, rgba(235, 35, 35, 0.86), rgba(255, 156, 68, 0.72)),
        url("/images/portfolio/miniso.jpg");
}

.bc-work-image-2 {
    background:
        linear-gradient(135deg, rgba(30, 30, 30, 0.86), rgba(235, 35, 35, 0.72)),
        url("/images/portfolio/influencer.jpg");
}

.bc-work-image-3 {
    background:
        linear-gradient(135deg, rgba(20, 20, 20, 0.82), rgba(245, 68, 45, 0.72)),
        url("/images/portfolio/website.jpg");
}

.bc-work-content,
.bc-work-body {
    padding: 26px 26px 30px;
}

.bc-work-content p,
.bc-work-body p {
    margin: 0 0 10px;

    color: var(--bc-red);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.bc-work-content h3,
.bc-work-body h3 {
    margin: 0 0 12px;

    color: #141414;

    font-size: 25px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.bc-work-content span {
    display: block;

    color: rgba(20, 20, 20, 0.62);

    font-size: 15px;
    line-height: 1.55;
}

.bc-work-body a {
    margin-top: 22px;

    display: inline-flex;

    color: var(--bc-black);

    font-size: 14px;
    font-weight: 900;
}

.bc-work-body a:hover {
    color: var(--bc-red);
}

.bc-empty {
    grid-column: 1 / -1;

    padding: 55px;

    text-align: center;

    border-radius: 24px;

    background: #ffffff;
    color: var(--bc-gray);
}


/* =========================================================
   12. Why Byteclic Section
========================================================= */

.bc-why {
    background: #ffffff;
}

.bc-why-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.bc-why-layout h2 {
    margin: 0;

    color: var(--bc-black);

    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.04;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.bc-why-list {
    display: grid;
    gap: 22px;
}

.bc-why-list div {
    padding: 26px 0 26px 28px;
    border-left: 4px solid var(--bc-red);
}

.bc-why-list h3 {
    margin: 0;
    color: var(--bc-black);
    font-size: 22px;
}

.bc-why-list p {
    margin: 12px 0 0;
    color: var(--bc-gray);
    font-size: 16px;
    line-height: 1.65;
}


/* =========================================================
   13. CTA Section
========================================================= */

.bc-cta {
    padding: 110px 0;

    text-align: center;

    color: #ffffff;

    background:
        radial-gradient(circle at 50% 0%, rgba(255,255,255,0.14), transparent 34%),
        linear-gradient(135deg, #e8342f 0%, #be1730 100%);
}

.bc-cta h2 {
    margin: 0;

    font-size: clamp(42px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.bc-cta p {
    max-width: 680px;
    margin: 22px auto 0;

    color: rgba(255, 255, 255, 0.90);

    font-size: 19px;
    line-height: 1.6;
}


/* =========================================================
   14. Footer
========================================================= */

.bc-footer {
    color: #ffffff;
    background: #111111;
}

.bc-footer-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.bc-footer-main {
    padding: 82px 0 78px;

    background:
        radial-gradient(circle at 12% 0%, rgba(232, 52, 47, 0.18), transparent 32%),
        linear-gradient(180deg, #151515 0%, #101010 100%);
}

.bc-footer-main .bc-footer-container {
    display: grid;
    grid-template-columns: 1.35fr 0.7fr 0.95fr 1fr;
    gap: 62px;
    align-items: start;
}

.bc-footer-brand p {
    max-width: 390px;
    margin: 28px 0 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 16px;
    line-height: 1.72;
}

.bc-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #ffffff;
    text-decoration: none;
}

.bc-footer-logo:hover {
    color: #ffffff;
}

.bc-footer-logo-mark {
    width: 46px;
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 46px;

    border-radius: 13px;

    color: #ffffff;
    background: linear-gradient(135deg, #ff4b3f 0%, #e4211d 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);

    font-size: 27px;
    font-weight: 950;
    line-height: 1;

    box-shadow:
        0 14px 34px rgba(232, 52, 47, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.bc-footer-logo-text {
    display: flex;
    flex-direction: column;

    color: #ffffff;

    font-size: 21px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0.15em;
}

.bc-footer-logo-text small {
    margin-top: 6px;

    color: rgba(255, 255, 255, 0.64);

    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.42em;
}

.bc-footer-col h3,
.bc-footer-contact h3 {
    margin: 0 0 24px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 950;
    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.bc-footer-col nav {
    display: grid;
    gap: 14px;
}

.bc-footer-col nav a,
.bc-footer-contact-list a {
    color: rgba(255, 255, 255, 0.62);

    font-size: 15px;
    line-height: 1.35;
    text-decoration: none;

    transition:
        color 0.24s ease,
        transform 0.24s ease;
}

.bc-footer-col nav a:hover,
.bc-footer-contact-list a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.bc-footer-contact-list {
    display: grid;
    gap: 14px;
}

.bc-footer-button {
    min-height: 46px;
    margin-top: 28px;
    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #ffffff;
    background: #e8342f;
    border: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.06em;

    text-transform: uppercase;
    text-decoration: none;

    box-shadow:
        0 16px 36px rgba(232, 52, 47, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);

    transition:
        transform 0.24s ease,
        background 0.24s ease,
        box-shadow 0.24s ease;
}

.bc-footer-button:hover {
    color: #ffffff;
    background: #ff4b3f;
    transform: translateY(-2px);

    box-shadow:
        0 20px 46px rgba(232, 52, 47, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.bc-footer-bottom {
    padding: 26px 0;

    background: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bc-footer-bottom .bc-footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.bc-footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.42);

    font-size: 14px;
    line-height: 1.4;
}

.bc-site-version {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 7px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.34);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
    vertical-align: 1px;
}

.bc-footer-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.bc-footer-social a {
    color: rgba(255, 255, 255, 0.46);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;

    text-transform: uppercase;
    text-decoration: none;

    transition: color 0.24s ease;
}

.bc-footer-social a:hover {
    color: #ffffff;
}

.site-footer .container {
    width: var(--bc-container);
    margin: 0 auto;
}


/* =========================================================
   15. Inner Page Hero Global Polish
========================================================= */

.bc-services-hero,
.bc-work-hero,
.bc-about-hero,
.bc-blog-hero {
    min-height: 520px !important;

    display: flex !important;
    align-items: center !important;

    padding-top: 170px !important;
    padding-bottom: 110px !important;
}

.bc-services-hero h1,
.bc-work-hero h1,
.bc-about-hero h1,
.bc-blog-hero h1 {
    max-width: 980px !important;

    font-size: clamp(62px, 6.2vw, 104px) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.07em !important;
}

.bc-services-hero > div > p:last-child,
.bc-work-hero > div > p:last-child,
.bc-about-hero > div > p:last-child,
.bc-blog-hero > div > p:last-child {
    max-width: 760px !important;
    margin-top: 30px !important;

    font-size: 20px !important;
    line-height: 1.55 !important;
}


/* =========================================================
   16. Global Card Polish
========================================================= */

.bc-service-card,
.bc-service-page-card,
.bc-portfolio-card,
.bc-blog-card,
.bc-about-values-grid article,
.bc-process-grid div,
.bc-work-capability-grid div,
.bc-blog-topic-grid div {
    will-change: transform, box-shadow;
}

.bc-service-card:hover,
.bc-service-page-card:hover,
.bc-portfolio-card:hover,
.bc-blog-card:hover,
.bc-about-values-grid article:hover,
.bc-process-grid div:hover,
.bc-work-capability-grid div:hover,
.bc-blog-topic-grid div:hover {
    transform: translateY(-8px) !important;
}


/* =========================================================
   17. Safe Wide Container System
========================================================= */

.bc-services-container,
.bc-work-container,
.bc-about-container,
.bc-blog-container,
.bc-footer-container {
    width: calc(100% - 40px) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (min-width: 1440px) {
    .bc-services-container,
    .bc-work-container,
    .bc-about-container,
    .bc-blog-container,
    .bc-footer-container {
        width: calc(100% - 96px) !important;
        max-width: 1320px !important;
    }

    .bc-nav-inner {
        width: calc(100% - 96px) !important;
        max-width: 1320px !important;
    }
}

@media (min-width: 1664px) {
    .bc-services-container,
    .bc-work-container,
    .bc-about-container,
    .bc-blog-container,
    .bc-footer-container {
        width: calc(100% - 224px) !important;
        max-width: 1440px !important;
    }

    .bc-nav-inner {
        width: calc(100% - 224px) !important;
        max-width: 1440px !important;
    }
}

@media (min-width: 1920px) {
    .bc-services-container,
    .bc-work-container,
    .bc-about-container,
    .bc-blog-container,
    .bc-footer-container {
        width: calc(100% - 320px) !important;
        max-width: 1520px !important;
    }

    .bc-nav-inner {
        width: calc(100% - 320px) !important;
        max-width: 1520px !important;
    }
}


/* =========================================================
   18. Responsive - Tablet
========================================================= */

@media (max-width: 1200px) {
    :root {
        --bc-header-height: 82px;
    }

    .bc-nav-inner {
        width: min(1120px, 90vw) !important;
    }

    .bc-nav {
        gap: 24px !important;
    }

    .bc-nav a {
        font-size: 12px !important;
        letter-spacing: 0.07em !important;
    }

    .bc-nav-button {
        min-height: 40px !important;
        padding: 0 18px !important;
    }
}

@media (max-width: 1024px) {
    .bc-services-heading-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .bc-services-all-link {
        justify-self: start;
    }

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

    .bc-why-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bc-footer-main .bc-footer-container {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 42px;
    }

    .bc-footer-brand {
        grid-column: 1 / -1;
    }

    .bc-footer-brand p {
        max-width: 620px;
    }
}

@media (max-width: 980px) {
    :root {
        --bc-header-height: 72px;
    }

    .bc-nav-inner {
        width: calc(100% - 36px) !important;
    }

    .bc-nav {
        display: none !important;
    }

    .bc-logo-image {
        height: 36px !important;
    }

    .bc-work-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bc-work-image {
        height: 260px;
    }
}


/* =========================================================
   19. Responsive - Mobile
========================================================= */

@media (max-width: 680px) {
    :root {
        --bc-header-height: 68px;
    }

    .bc-container,
    .site-footer .container {
        width: min(100% - 28px, 1180px);
    }

    .bc-nav-inner {
        width: calc(100% - 28px) !important;
    }

    .bc-logo-image {
        height: 34px !important;
    }

    .bc-section {
        padding: 76px 0;
    }

    .bc-section-heading {
        margin-bottom: 42px;
    }

    .bc-section-heading h2 {
        font-size: 38px;
    }

    .bc-section-heading p {
        font-size: 16px;
    }

    .bc-service-grid,
    .bc-work-grid {
        grid-template-columns: 1fr;
    }

    .bc-services-heading-row {
        margin-bottom: 38px;
    }

    .bc-services .bc-section-heading h2 {
        font-size: 43px;
    }

    .bc-services-all-link {
        width: 100%;
        justify-content: space-between;
    }

    .bc-service-card {
        min-height: 275px;
        padding: 28px;
    }

    .bc-service-card > b {
        top: 28px;
        right: 28px;
    }

    .bc-work-image {
        height: 210px;
    }

    .bc-work-content,
    .bc-work-body {
        padding: 22px;
    }

    .bc-work-content h3,
    .bc-work-body h3 {
        font-size: 22px;
    }

    .bc-btn {
        width: 100%;
    }

    .bc-cta {
        padding: 80px 0;
    }

    .bc-cta h2 {
        font-size: 42px;
    }

    .bc-cta p {
        font-size: 17px;
    }

    .bc-footer-container {
        width: min(100% - 28px, 1180px);
    }

    .bc-footer-main {
        padding: 64px 0 58px;
    }

    .bc-footer-main .bc-footer-container {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .bc-footer-bottom .bc-footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .bc-footer-social {
        flex-wrap: wrap;
    }
}

.bc-work-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:28px;
}

.bc-work-grid .bc-work-card{
    grid-column:auto!important;
    grid-row:auto!important;
}

.bc-work-grid .bc-work-card:first-child{
    grid-column:auto!important;
    grid-row:auto!important;
}

.bc-work-grid .bc-work-card:first-child .bc-work-image{
    aspect-ratio:16/9!important;
}

.bc-work-image{
    aspect-ratio:16/9;
    overflow:hidden;
}

.bc-work-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

@media(max-width:991px){
    .bc-work-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:640px){
    .bc-work-grid{
        grid-template-columns:1fr;
    }
}

/* Mobile navigation */
.bc-mobile-menu-toggle,.bc-mobile-nav-backdrop{display:none}

@media(max-width:980px){
    body.bc-mobile-menu-open{overflow:hidden}
    .bc-site-header,#bcSiteHeader{overflow:visible!important}
    .bc-mobile-menu-toggle{position:relative;z-index:4;width:46px;height:46px;padding:0;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid rgba(255,255,255,.42);border-radius:12px;background:rgba(255,255,255,.1);cursor:pointer}
    .bc-mobile-menu-toggle span{width:21px;height:2px;display:block;border-radius:10px;background:#fff;transition:transform .22s ease,opacity .22s ease,background .22s ease}
    .bc-site-header.is-scrolled .bc-mobile-menu-toggle{border-color:rgba(0,0,0,.14);background:rgba(0,0,0,.04)}
    .bc-site-header.is-scrolled .bc-mobile-menu-toggle span{background:#171717}
    .bc-site-header.is-mobile-menu-open .bc-mobile-menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
    .bc-site-header.is-mobile-menu-open .bc-mobile-menu-toggle span:nth-child(2){opacity:0}
    .bc-site-header.is-mobile-menu-open .bc-mobile-menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
    .bc-nav{position:fixed!important;top:var(--bc-header-height)!important;left:14px!important;right:14px!important;z-index:3!important;width:auto!important;height:auto!important;max-height:calc(100vh - var(--bc-header-height) - 28px)!important;padding:18px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;overflow-y:auto!important;border:1px solid rgba(0,0,0,.08)!important;border-radius:18px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 28px 80px rgba(0,0,0,.2)!important;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-12px) scale(.98);transform-origin:top center;transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
    .bc-site-header.is-mobile-menu-open .bc-nav{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1)}
    .bc-nav a,#bcSiteHeader.is-scrolled .bc-nav a{width:100%!important;min-height:48px!important;padding:0 16px!important;justify-content:flex-start!important;border-radius:10px!important;color:#171717!important;font-size:14px!important;text-shadow:none!important}
    .bc-nav a:hover{color:var(--bc-red)!important;background:#f7f7f7!important;transform:none!important}
    .bc-nav a.bc-nav-button,#bcSiteHeader.is-scrolled .bc-nav a.bc-nav-button{margin-top:7px!important;justify-content:center!important;color:#fff!important;background:var(--bc-red)!important;border-color:var(--bc-red)!important}
    .bc-mobile-nav-backdrop{position:fixed;inset:var(--bc-header-height) 0 0;z-index:2;width:100%;height:calc(100vh - var(--bc-header-height));padding:0;border:0;background:rgba(0,0,0,.4);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease}
    .bc-site-header.is-mobile-menu-open .bc-mobile-nav-backdrop{display:block;opacity:1;visibility:visible;pointer-events:auto}
}
