/* ===== 全站基礎 ===== */
body.page-bg {
    background-color: #f7f9f8;
    color: #1f2d2a;
    line-height: 1.8;
}

.logo-img {
    height: 40px;
    width: auto;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.2s, transform 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: #28a745;
    transition: width 0.3s;
}

.nav-link:hover {
    color: #28a745;
    transform: translateY(-1px);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Navbar */
.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.line-float {
    position: fixed;
    left: 20px;
    bottom: 5%;
    z-index: 9999;
    width: 60px;
    height: 60px;
}

.line-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.line-float img:hover {
    transform: scale(1.1);
}

.float-btn {
    position: fixed;
    left: 20px;
    z-index: 9999;
    width: 60px;
    height: 60px;
}

.float-btn img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.float-btn img:hover {
    transform: scale(1.1);
}

.line-btn {
    bottom: 5%;
}

.fb-btn {
    bottom: calc(5% + 70px);
}

section.container {
    max-width: 900px;
}

section.container h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f3d2b;
}

section.container p,
section.container li {
    font-size: 1.05rem;
    color: #2f3f3a;
    font-weight: bolder;
}

section.container ul li {
    padding-left: 0.2rem;
}

section.container ul {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

/* ===== CTA ===== */
section.container .btn-success {
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 50px;
}

/* ===== Banner ===== */
.hero-cut {
    position: relative;
    max-height: 500px;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.8)),
        url("https://cuthouse.tw/img/banner.jpg");
    background-size: cover;
    background-position: center;
}

/* 內容容器 */
.hero-cut-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 90px 20px 60px;
    text-align: center;
}

/* Logo */
.hero-cut-logo img {
    height: 48px;
    margin-bottom: 24px;
}

/* SEO 小字 */
.hero-cut-seo {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-shadow:
            0 2px 6px rgba(0, 0, 0, 0.35),
            0 6px 16px rgba(0, 0, 0, 0.25);
}

/* 主標題 */
.hero-cut-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.25;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.35),
        0 6px 16px rgba(0, 0, 0, 0.25);
}

/* 副標 */
.hero-cut-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255);
    margin-bottom: 36px;
    letter-spacing: 0.5px;
    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.35),
        0 6px 16px rgba(0, 0, 0, 0.25);
}

/* CTA 按鈕 */
.hero-cut-btn {
    display: inline-block;
    background-color: #2f7d5b;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 42px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-cut-btn:hover {
    background-color: #276a4e;
}

/* 底部標語 */
.hero-cut-slogan {
    margin-top: 40px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #42745b;
    letter-spacing: 3px;
    text-shadow:
            0 2px 6px rgba(0, 0, 0, 0.1),
            0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ===== Brand Story ===== */
.brand-story {
    background-color: #f7f9f8;
    padding: 20px 20px;
}

.brand-story-inner {
    max-width: 760px;
    margin: 0 auto;
}

/* 標題 */
.brand-story-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1f3d2b;
    margin-bottom: 32px;
    text-align: center;
    letter-spacing: 1px;
}

/* 內文 */
.brand-story-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #2f3f3a;
    margin-bottom: 26px;
}

/* 強調段落 */
.brand-story-text.highlight {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2f7d5b;
    border-left: 4px solid #2f7d5b;
    padding-left: 16px;
}

/* 關鍵字微強調 */
.brand-story-text span {
    color: #2f7d5b;
    font-weight: 600;
}

/*ul img*/
.ulimg {
    display: flex;
    justify-content: center;
}

.ulimg img {
    width: 100%;
    max-width: 520px;
    height: auto;
}

@media (max-width: 768px) {
    .banner {
        min-height: 300px;
        padding: 2rem 1rem;
    }

    .banner-main-title {
        font-size: 2rem;
    }

    section.container {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

        .navbar-collapse {
        text-align: center;
    }

    .navbar-nav {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .navbar-nav .nav-item {
        margin: 0.6rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.6rem 0;
    }

    .hero-cut-title {
        font-size: 2rem;
        font-weight: 700;
        line-height: 1.25;
    }

    .brand-story {
        padding: 20px 18px;
    }

    .brand-story-title {
        font-size: 1.5rem;
    }

    .brand-story-text {
        font-size: 1rem;
    }

    .brand-story-text.highlight {
        font-size: 1.6rem;
    }

    section.container p,
    section.container li {
        font-size: 0.9rem;
        color: #2f3f3a;
    }
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .navbar-nav .nav-item {
        margin: 0.6rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.6rem 0;
    }

    .hero-cut-title {
        font-size: 2rem;
        font-weight: 700;
        line-height: 1.25;
    }

    .brand-story-text.highlight {
        font-size: 1.6rem;
    }

    section.container p,
    section.container li {
        font-size: 1.02rem;
        color: #2f3f3a;
    }

    .hero-cut-seo {
        font-size: 1.2rem;
    }
}
@media (max-width: 390px) {
    .brand-story-text.highlight {
        font-size: 1.4rem;
    }
}
@media (max-width: 414px) and (min-width: 400px) {
    .brand-story-text.highlight {
        font-size: 1.5rem;
    }
}
@media (max-height: 700px) {
    .brand-story-text.highlight {
        font-size: 1.3rem;
    }
    section.container p,
    section.container li {
        font-size: 0.8rem;
    }
}