/* ==========================================================================
   页脚 / 底部 CTA 专用样式  footer.css
   作用域：.ft- 前缀，与站内其它页面零冲突
   设计基线：主色 #ce010b（品牌红）  深底 #0e1116 → #171b21  次文 #8b95a3
   ========================================================================== */

/* ---------- 1. 底部 CTA（通栏，不再是内容区内的窄卡片） ---------- */
.nl-cta {
    position: relative;
    margin-top: 8px;
    padding: 46px 0 52px;
    background: linear-gradient(120deg, #ffffff 0%, #fdfdfe 54%, #f6f7f9 100%);
    color: #14171c;
    border-top: 1px solid #eceef1;
    overflow: hidden;
}

/* 顶部品牌红细线 + 斜向纹理 */
.nl-cta::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #ce010b 0%, #ff5a5a 32%, rgba(206, 1, 11, 0) 78%);
}

.nl-cta::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -40px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    border: 1px solid rgba(20, 23, 28, .05);
    box-shadow: 0 0 0 40px rgba(20, 23, 28, .014), 0 0 0 90px rgba(20, 23, 28, .008);
    pointer-events: none;
}

.nl-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 1472px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
}

.nl-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #ce010b;
}

.nl-cta__eyebrow::before {
    content: '';
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: #ce010b;
}

.nl-cta__title {
    margin: 0;
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.35;
    font-weight: 800;
    color: #14171c;
    letter-spacing: -.01em;
}

.nl-cta__desc {
    margin: 12px 0 0;
    max-width: 620px;
    font-size: 14.5px;
    line-height: 1.85;
    color: #5d646e;
}

.nl-cta__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nl-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 999px;
    background: #ce010b;
    color: #fff;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.nl-cta__btn:hover {
    background: #b30009;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(206, 1, 11, .42);
}

.nl-cta__btn--ghost {
    background: #fff;
    border: 1px solid #dfe2e7;
    color: #14171c;
}

.nl-cta__btn--ghost:hover {
    background: #f4f5f7;
    box-shadow: none;
}

/* CTA 内的信任标签 */
.nl-cta__points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
}

.nl-cta__points li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #5d646e;
}

.nl-cta__points i {
    color: #ce010b;
    font-size: 12px;
}

/* ---------- 2. 页脚主体 ---------- */
.ft {
    background: #0b0d11;
    color: #8b95a3;
    padding: 56px 0 0;
    font-size: 14px;
}

.ft__wrap {
    max-width: 1472px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 四栏栅格 */
.ft__cols {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
    gap: 36px;
    padding-bottom: 46px;
}

/* 品牌栏 */
.ft__brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.ft__brand-logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .92;
}

.ft__brand-desc {
    margin: 0;
    max-width: 340px;
    font-size: 13.5px;
    line-height: 1.85;
    color: #7d8794;
    /* 避免中文在窄列里断成竖条 */
    word-break: normal;
    overflow-wrap: break-word;
}

.ft__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

.ft__badges li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 5px;
    font-size: 12px;
    color: #8b95a3;
    background: rgba(255, 255, 255, .03);
}

.ft__badges i {
    color: #ce010b;
    font-size: 11px;
}

/* 栏目标题 */
.ft__title {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
}

.ft__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 26px;
    height: 2px;
    border-radius: 1px;
    background: #ce010b;
}

/* 链接列表 */
.ft__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ft__links li + li {
    margin-top: 13px;
}

.ft__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #7d8794;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.ft__links a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #3b4148;
    transition: background .2s ease, transform .2s ease;
    flex: none;
}

.ft__links a:hover {
    color: #fff;
}

.ft__links a:hover::before {
    background: #ce010b;
    transform: scale(1.4);
}

/* 联系方式 */
.ft__contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ft__contact li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.ft__contact li + li {
    margin-top: 16px;
}

.ft__contact i {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(206, 1, 11, .12);
    color: #ff5a5a;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.ft__contact-text {
    font-size: 13.5px;
    line-height: 1.75;
    color: #b3bbc6;
    word-break: break-word;
}

.ft__contact-text a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.ft__contact-text a:hover {
    color: #ff5a5a;
}

.ft__contact-label {
    display: block;
    font-size: 12px;
    color: #626b77;
    margin-bottom: 1px;
}

/* ---------- 3. 底部版权条 ---------- */
.ft__bottom {
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.ft__bottom-inner {
    max-width: 1472px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}

.ft__copy {
    margin: 0;
    font-size: 13px;
    color: #626b77;
    line-height: 1.8;
}

.ft__copy a {
    color: #8b95a3;
    text-decoration: none;
    transition: color .2s ease;
}

.ft__copy a:hover {
    color: #ff5a5a;
}

.ft__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: #626b77;
}

.ft__legal a {
    color: #8b95a3;
    text-decoration: none;
    transition: color .2s ease;
}

.ft__legal a:hover {
    color: #ff5a5a;
}

/* ---------- 4. 回到顶部按钮 ---------- */
.ft__totop {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: #ce010b;
    color: #fff;
    font-size: 19px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(206, 1, 11, .4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease, transform .25s ease, background .25s ease;
    z-index: 50;
}

.ft__totop.is-on {
    opacity: 1;
    visibility: visible;
}

.ft__totop:hover {
    background: #b30009;
    transform: translateY(-3px);
}

/* ---------- 5. 内页 banner ----------
   纯排版深色圆角 Hero 卡片（技术博客风格），不使用任何产品照片：
   顶部品牌红→冷蓝亮线、右上同心圆环、超大 SAINTCOOK 水印、
   眉标 / 渐变双色大标题 / 说明文字 / 胶囊标签。
   .banner-sub 本身就是卡片，border-radius + overflow:hidden 负责裁切。
--------------------------------------- */

/* fixed 导航补偿：桌面 80 + 18 间距，移动 72 + 14 间距 */
.banner-sub {
    position: relative;
    width: calc(100% - 48px);
    max-width: 1472px;
    height: 296px;
    margin: 98px auto 22px;
    border-radius: 20px;
    overflow: hidden;
    line-height: normal;
    border: 1px solid rgba(17, 20, 24, .085);
    box-shadow: 0 12px 34px rgba(17, 20, 24, .07);
    background:
        linear-gradient(90deg, #ce010b 0%, #e8322a 18%, #1b1e23 58%, rgba(27, 30, 35, 0) 90%) 0 0 / 100% 3px no-repeat,
        radial-gradient(680px 340px at 86% 6%, rgba(17, 20, 24, .022), transparent 72%),
        radial-gradient(520px 300px at 8% 118%, rgba(17, 20, 24, .04), transparent 72%),
        linear-gradient(120deg, #ffffff 0%, #fdfdfe 54%, #f6f7f9 100%);
}

/* 右上角柔光圆晕（不用硬边框：大圆弧只露一小段时会像一条生硬竖线） */
.banner-sub::before {
    content: "";
    position: absolute;
    right: -110px;
    top: -150px;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(17, 20, 24, .022) 0%,
        rgba(17, 20, 24, .008) 55%,
        transparent 72%);
    z-index: 1;
    pointer-events: none;
}

/* 超大品牌水印字 */
.banner-sub::after {
    content: "SAINTCOOK";
    position: absolute;
    right: -26px;
    bottom: -46px;
    z-index: 1;
    font-size: 148px;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1;
    color: rgba(17, 20, 24, .055);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* 模板里即使残留 banner 图片也不显示、不占位 */
.banner-sub img {
    display: none !important;
}

/* 内容区：眉标 → 渐变双色大标题 → 说明 → 胶囊标签（垂直居中） */
.banner-sub__label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    margin: 0;
    padding: 0 46px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
    line-height: normal;
}

.banner-sub__label::before {
    content: "SAINTCOOK  ·  BUFFET EQUIPMENT";
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .26em;
    line-height: 1.2;
    color: #ce010b;
    border-left: 3px solid #ce010b;
    padding-left: 12px;
    margin-bottom: 18px;
}

/* 白→亮蓝渐变，模拟参考图的双色大标题；不支持时回退纯白 */
.banner-sub__label b,
.banner-sub__label h1 {
    margin: 0;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.18;
    color: #14171c;
    background: linear-gradient(96deg, #14171c 40%, #ce010b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-sub__label > span {
    margin-top: 12px;
    font-size: 14px;
    letter-spacing: .03em;
    color: #5d646e;
}

.banner-sub__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.banner-sub__tags span {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(17, 20, 24, .035);
    border: 1px solid rgba(17, 20, 24, .12);
    color: #434a54;
    font-size: 12.5px;
    letter-spacing: .04em;
    line-height: 1.2;
}

/* 首枚标签用品牌红点缀 */
.banner-sub__tags span:first-child {
    background: rgba(206, 1, 11, .055);
    border-color: rgba(206, 1, 11, .28);
    color: #ce010b;
}

/* ---------- 6. 响应式 ---------- */
@media (max-width: 1024px) {
    .ft__cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 40px;
    }

    .nl-cta__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }
}

@media (max-width: 640px) {
    .ft {
        padding-top: 40px;
    }

    .ft__cols {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding-bottom: 32px;
    }

    .ft__wrap,
    .nl-cta__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nl-cta {
        padding: 34px 0 38px;
    }

    .nl-cta__btns {
        width: 100%;
    }

    .nl-cta__btn {
        flex: 1 1 auto;
        justify-content: center;
        padding: 12px 18px;
    }

    .ft__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 16px;
    }

    .ft__totop {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }

    .banner-sub {
        width: calc(100% - 28px);
        height: 232px;
        margin: 86px auto 16px;
        border-radius: 16px;
    }

    .banner-sub::before {
        width: 300px;
        height: 300px;
        right: -120px;
        top: -120px;
    }

    /* 窄屏水印再收小、压淡，避免盖住说明文字和标签 */
    .banner-sub::after {
        font-size: 62px;
        right: -10px;
        bottom: -16px;
        color: rgba(17, 20, 24, .022);
    }

    .banner-sub__label {
        padding: 0 22px;
    }

    .banner-sub__label::before {
        font-size: 9px;
        letter-spacing: .16em;
        padding-left: 9px;
        margin-bottom: 12px;
    }

    .banner-sub__label b,
    .banner-sub__label h1 {
        font-size: 27px;
    }

    .banner-sub__label > span {
        margin-top: 8px;
        font-size: 11.5px;
        max-width: 92%;
        line-height: 1.65;
    }

    .banner-sub__tags {
        margin-top: 16px;
        gap: 7px;
    }

    .banner-sub__tags span {
        padding: 5px 11px;
        font-size: 10.5px;
    }

    /* 窄屏只保留前 3 个标签，避免挤满卡片 */
    .banner-sub__tags span:nth-child(n+4) {
        display: none;
    }
}


/* ===== 产品页选购指南 / 联系页在线表单（白底黑红，与 1472px Hero 同体系） ===== */
.pro-guide { padding: 56px 0 64px; background: #fff; border-top: 1px solid #eceef1; }
.pro-guide__inner { width: calc(100% - 48px); max-width: 1472px; margin: 0 auto; }
.pro-guide__head { margin-bottom: 26px; }
.pro-guide__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .22em; color: #ce010b; border-left: 3px solid #ce010b; padding-left: 12px; margin: 0 0 14px; }
.pro-guide__head h2 { font-size: 26px; font-weight: 800; color: #14171c; margin: 0 0 8px; }
.pro-guide__head p { font-size: 14px; color: #5d646e; margin: 0; }
.pro-guide__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pro-guide__card { display: block; background: #fff; border: 1px solid #e8eaee; border-radius: 14px; overflow: hidden; text-decoration: none; transition: box-shadow .2s, border-color .2s, transform .2s; }
.pro-guide__card:hover { box-shadow: 0 12px 30px rgba(20, 23, 28, .08); border-color: #ce010b; transform: translateY(-2px); }
.pro-guide__card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pro-guide__card span { display: block; padding: 14px 16px 18px; font-size: 14px; line-height: 1.6; color: #14171c; font-weight: 600; }

.cf-wrap { padding: 48px 0 24px; background: #fff; }
.cf-inner { width: calc(100% - 48px); max-width: 1472px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.cf-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .22em; color: #ce010b; border-left: 3px solid #ce010b; padding-left: 12px; margin: 0 0 16px; }
.cf-head h2 { font-size: 28px; font-weight: 800; color: #14171c; margin: 0 0 14px; }
.cf-head p { font-size: 14px; line-height: 1.9; color: #5d646e; margin: 0; }
.cf-form { background: #fafbfc; border: 1px solid #e8eaee; border-radius: 16px; padding: 26px; }
.cf-form label { display: block; font-size: 13px; font-weight: 600; color: #14171c; margin-bottom: 14px; }
.cf-form input, .cf-form textarea { display: block; width: 100%; margin-top: 7px; padding: 11px 13px; border: 1px solid #dfe2e7; border-radius: 8px; background: #fff; color: #14171c; font-size: 14px; font-weight: 400; outline: none; transition: border-color .2s; }
.cf-form input:focus, .cf-form textarea:focus { border-color: #ce010b; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-row--code { grid-template-columns: 1fr 130px; align-items: end; }
.cf-req { color: #ce010b; }
.cf-code { height: 42px; width: 122px; object-fit: contain; cursor: pointer; border: 1px solid #dfe2e7; border-radius: 8px; background: #fff; }
.cf-submit { display: inline-flex; align-items: center; gap: 8px; background: #ce010b; color: #fff; border: 0; border-radius: 8px; padding: 12px 28px; font-size: 15px; font-weight: 600; cursor: pointer; transition: opacity .2s; }
.cf-submit:hover { opacity: .88; }
.cf-note { font-size: 12px; color: #8b929c; margin: 14px 0 0; }

@media (max-width: 900px) {
  .pro-guide__grid { grid-template-columns: repeat(2, 1fr); }
  .cf-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 767px) {
  .pro-guide__inner, .cf-inner { width: calc(100% - 28px); }
  .pro-guide { padding: 40px 0 44px; }
  .cf-row, .cf-row--code { grid-template-columns: 1fr; }
  .cf-form { padding: 18px; }
}

/* ============ 全站头部电话按钮（唯一来源：template/default/phone.html） ============
   桌面：白底描边胶囊 + 红色圆形图标 + 双行「咨询热线 / 号码」
   移动端顶部：只保留红色圆形图标按钮
   移动菜单内（#mobileMenu）：恢复完整胶囊并全宽居中
   改样式只需改本段与 phone.html，全站同步生效
*/
.nav-call {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 20px 6px 6px;
  border: 1px solid rgba(20,23,28,.18);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(20,23,28,.05);
  text-decoration: none;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.nav-call:hover {
  border-color: rgba(206,1,11,.55);
  box-shadow: 0 6px 20px rgba(206,1,11,.12);
  transform: translateY(-1px);
}
.nav-call__icon {
  width: 36px; height: 36px; flex: 0 0 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #ce010b; color: #fff; font-size: 15px;
  transition: transform .25s;
}
.nav-call:hover .nav-call__icon { transform: rotate(-15deg); }
.nav-call__txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.3; }
.nav-call__label { font-size: 11px; letter-spacing: .1em; color: #8b9099; }
.nav-call__num { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: #14171c; font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 767px) {
  /* 顶部导航：紧凑的红色圆形图标按钮 */
  .nav-call {
    width: 40px; height: 40px; padding: 0; gap: 0;
    justify-content: center;
    border: none; border-radius: 50%;
    background: #ce010b;
    box-shadow: 0 3px 10px rgba(206,1,11,.22);
  }
  .nav-call:hover { border-color: transparent; box-shadow: 0 5px 14px rgba(206,1,11,.3); }
  .nav-call__icon {
    width: 40px; height: 40px; flex-basis: 40px;
    background: transparent; color: #fff; font-size: 17px;
  }
  .nav-call__txt { display: none; }

  /* 移动菜单内：完整双行、全宽、白底 */
  #mobileMenu .nav-call {
    width: 100%; height: auto; padding: 6px 16px 6px 6px; gap: 12px;
    justify-content: flex-start;
    border: 1px solid rgba(20,23,28,.18); border-radius: 999px;
    background: #fff; box-shadow: 0 2px 10px rgba(20,23,28,.05);
  }
  #mobileMenu .nav-call:hover { border-color: rgba(206,1,11,.55); box-shadow: 0 6px 20px rgba(206,1,11,.12); }
  #mobileMenu .nav-call__icon {
    width: 36px; height: 36px; flex-basis: 36px;
    background: #ce010b; color: #fff; font-size: 15px;
  }
  #mobileMenu .nav-call__txt { display: flex; }
  #mobileMenu .nav-call__num { font-size: 15px; }
}
