/* WhiteDeer-WhiteDeer 自定义样式 */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.site-title-tagline {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.py-120 {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* 平板竖屏：主体内容区容器加宽（Bootstrap md 默认 720px 偏窄） */
@media (min-width: 768px) and (max-width: 991.98px) and (orientation: portrait) {
    .main .container,
    header .main-navigation .container,
    footer .footer-widget .container,
    footer .copyright .container {
        max-width: min(900px, calc(100vw - 40px));
    }

    .footer-widget-wrapper {
        --bs-gutter-x: 12px;
    }

    .footer-widget-wrapper > .col-md-6.col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .footer-widget-wrapper .footer-widget-box {
        margin-bottom: 0;
    }

    .footer-logo-text {
        font-size: 1.15rem;
    }

    .footer-widget-title {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .footer-widget-box p,
    .footer-list li a,
    .footer-contact li,
    .footer-contact li a {
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-list li a i,
    .footer-contact li i {
        font-size: 12px;
    }

    #contact .contact-panel {
        --bs-gutter-x: 12px;
    }
}

.hero-fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeIn 0.8s ease forwards;
    animation-delay: var(--hero-delay, 0s);
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-fade-in {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.hero-wrapper {
    padding-bottom: 80px;
    overflow: hidden;
}

.about-img img {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

@media (min-width: 992px) {
    .about-area .about-row > .col-lg-6:first-child {
        display: flex;
    }

    .about-area .about-left {
        display: flex;
        flex-direction: column;
        flex: 1;
        width: 100%;
        height: 100%;
        min-height: 0;
        justify-content: stretch;
        align-items: stretch;
    }

    .about-area .about-img {
        position: relative;
        flex: 1;
        width: 100%;
        min-height: 0;
        overflow: hidden;
        border-radius: 12px;
    }

    .about-area .about-img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }
}

@media (max-width: 991.98px) {
    .about-area .about-img {
        overflow: hidden;
        border-radius: 12px;
    }

    .about-area .about-img img {
        height: auto;
        min-height: 200px;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
}

.choose-img img {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
}

@media (min-width: 992px) {
    .choose-area .choose-row > .col-lg-6:first-child {
        display: flex;
    }

    .choose-area .choose-img {
        display: flex;
        flex: 1;
        width: 100%;
        min-height: 0;
        overflow: hidden;
        border-radius: 12px;
    }

    .choose-area .choose-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }
}

@media (max-width: 991.98px) {
    .choose-area .choose-img {
        overflow: hidden;
        border-radius: 12px;
    }

    .choose-area .choose-img img {
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
}

#scroll-top.is-visible {
    display: block;
}

.site-breadcrumb .breadcrumb-title {
    margin: 0;
}

.copyright-extra {
    display: inline-block;
    margin-left: 12px;
}

.copyright-extra a {
    color: inherit;
    text-decoration: none;
    opacity: 0.85;
}

.copyright-extra a:hover {
    opacity: 1;
    text-decoration: underline;
}

.news-detail-title,
.case-detail-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #0d1240;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.case-detail-lead {
    color: #5a6278;
    font-size: 1.05rem;
    line-height: 1.75;
}

.case-detail-cover {
    width: 100%;
    height: auto;
    display: block;
}

.case-sidebar-recent-item + .case-sidebar-recent-item {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e7e7e7;
}

.case-sidebar-recent-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1E1660;
    text-decoration: none;
    line-height: 1.45;
}

.case-sidebar-recent-link:hover {
    color: #00D1AB;
}

.case-sidebar-recent-link img {
    flex-shrink: 0;
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
}

.navbar-brand.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.navbar-brand.site-logo,
.navbar-brand.site-logo span {
    color: #fff !important;
}

.navbar-spacer {
    height: 0;
    pointer-events: none;
}

@media (min-width: 992px) {
    [id] {
        scroll-margin-top: 84px;
    }
}

.navbar.fixed-top .navbar-brand.site-logo,
.navbar.fixed-top .navbar-brand.site-logo span {
    color: #1E1660 !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: none;
        overflow: visible;
    }

    .navbar-collapse.collapsing {
        overflow: hidden;
    }
}

.hero-btn .theme-btn-outline {
    margin-left: 15px;
    background: transparent;
    border: 2px solid currentColor;
}

.hero-binary-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-wrapper > .container {
    position: relative;
    z-index: 1;
}

.footer-area {
    background-image: none;
    background: #1E1660;
}

.footer-area::before {
    display: none;
}

.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.footer-widget-box p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
}

.footer-contact-wechat {
    align-items: flex-start !important;
}

.footer-contact-wechat-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-wechat-qr {
    padding: 6px;
    width: fit-content;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.footer-wechat-qr img {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 6px;
    object-fit: cover;
}

.footer-area .copyright {
    background: #171247;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.choose-content li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 18px;
}

.cta-area {
    background-image: url(../img/bar.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 70px;
    padding-bottom: 70px;
}

.cta-area::before {
    display: none;
}

.choose-content li::after {
    content: none;
}

.choose-content .choose-item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 209, 171, 0.12);
    color: #00D1AB;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

.choose-content li:hover .choose-item-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.choose-content li h5 {
    margin-bottom: 0;
    display: block;
}

.template-demo-area {
    background-color: #F8F9FF;
}

.template-demo-frame {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e6ee;
    box-shadow: 0 8px 24px rgba(30, 22, 96, 0.08);
}

.template-demo-toolbar {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 16px;
    background: #f5f6f8;
    border-bottom: 1px solid #e2e6ee;
}

.template-demo-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.template-demo-dots i {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.template-demo-dots i:nth-child(1) {
    background: #ff5f57;
}

.template-demo-dots i:nth-child(2) {
    background: #febc2e;
}

.template-demo-dots i:nth-child(3) {
    background: #28c840;
}

.template-demo-frame iframe {
    display: block;
    width: 100%;
    height: 900px;
    border: 0;
}

@media (max-width: 767px) {
    .template-demo-frame iframe {
        height: 600px;
    }
}

.portfolio-masonry {
    position: relative;
    width: 100%;
    min-height: 50px;
}

.portfolio-masonry .case-item {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(30, 22, 96, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.portfolio-masonry .case-item:hover {
    border-color: #000;
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(30, 22, 96, 0.12);
}

.portfolio-masonry .case-img::before,
.portfolio-masonry .case-item:hover .case-img::before {
    display: none;
}

.portfolio-masonry .case-content {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    display: block;
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    border-radius: 0;
    box-shadow: none;
}

.portfolio-masonry .case-img {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: #f3f2f8;
}

.portfolio-masonry .case-img a {
    display: block;
    width: 100%;
}

.portfolio-masonry .case-img img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 0;
    vertical-align: top;
}

.portfolio-area .case-content-info h4,
.case-area .case-content-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1E1660;
}

.portfolio-area .case-content-info h4 a,
.case-area .case-content-info h4 a {
    font-size: inherit;
    color: #1E1660;
}

.portfolio-area .case-content-info h4 a:hover,
.case-area .case-content-info h4 a:hover {
    color: #00D1AB;
}

/* FAQ 手风琴：i18n 文本 span 不受图标尺寸样式影响 */
.faq-area .accordion-button {
    display: flex;
    align-items: center;
}

.faq-area .accordion-button > span[data-i18n^="faq.q"] {
    width: auto;
    height: auto;
    margin-right: 0;
    flex: 1;
    line-height: 1.5;
}

/* Language Switcher */
.lang-switcher {
    position: fixed;
    right: 0;
    top: 38%;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 999;
    font-family: inherit;
}

@keyframes langBtnPulse {
    0%,
    100% {
        box-shadow: -2px 3px 14px rgba(0, 0, 0, 0.12), 0 0 0 0 rgba(0, 209, 171, 0.45);
    }

    50% {
        box-shadow: -2px 4px 18px rgba(0, 0, 0, 0.14), 0 0 0 10px rgba(0, 209, 171, 0);
    }
}

@keyframes langGlobeSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes langBtnNudge {
    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}

.lang-switcher-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 64px;
    height: 64px;
    padding: 0 16px;
    border: none;
    border-radius: 50px 0 0 50px;
    background: #00D1AB;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: -2px 3px 16px rgba(0, 0, 0, 0.12);
    animation: langBtnPulse 2.8s ease-in-out infinite, langBtnNudge 3.6s ease-in-out infinite;
    transition: background 0.2s ease;
}

.lang-switcher-toggle i {
    font-size: 24px;
    animation: langGlobeSpin 10s linear infinite;
}

.lang-switcher-toggle:hover,
.lang-switcher.is-open .lang-switcher-toggle {
    animation: none;
    transform: translateX(-3px);
    box-shadow: -3px 4px 20px rgba(0, 0, 0, 0.16);
}

.lang-switcher-toggle:hover i,
.lang-switcher.is-open .lang-switcher-toggle i {
    animation: none;
}

.lang-switcher-toggle:hover {
    background: #00b894;
}

.lang-switcher.is-open .lang-switcher-toggle:hover {
    transform: translateX(-3px);
}

.lang-switcher.is-open .lang-switcher-toggle {
    width: auto;
    min-width: 64px;
    padding-right: 20px;
    background: #1E1660;
}

.lang-switcher-menu {
    position: absolute;
    right: 0;
    left: auto;
    bottom: calc(100% + 12px);
    min-width: 160px;
    padding: 6px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #e9ecef;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transform-origin: bottom right;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.lang-switcher.is-open .lang-switcher-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #1E1660;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lang-switcher-option:hover {
    background: #f5f5f5;
}

.lang-switcher-option.is-active {
    background: #f0faf8;
    color: #00a88a;
    font-weight: 600;
}

.lang-switcher-flag {
    font-size: 18px;
    line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
    .lang-switcher-toggle,
    .lang-switcher-toggle i {
        animation: none !important;
    }
}

@media (max-width: 767px) {
    .lang-switcher {
        top: 36%;
    }

    .lang-switcher-toggle {
        width: 56px;
        height: 56px;
    }

    .lang-switcher-toggle i {
        font-size: 22px;
    }
}

/* Online Message Widget */
.message-widget {
    position: fixed;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    z-index: 10000;
    font-family: inherit;
    pointer-events: none;
    overflow: visible;
}

.message-widget.is-open {
    z-index: 10050;
}

.message-widget-toggle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
    display: block;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.message-widget-toggle-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 56px;
    padding: 16px 12px 14px 14px;
    border-radius: 28px 0 0 28px;
    background: linear-gradient(145deg, #00d1ab 0%, #00a88a 100%);
    color: #fff;
    box-shadow: -4px 6px 24px rgba(0, 168, 138, 0.45);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.message-widget-toggle i {
    font-size: 26px;
    line-height: 1;
}

.message-widget-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    white-space: nowrap;
}

.message-widget-toggle:hover .message-widget-toggle-inner {
    background: linear-gradient(145deg, #00e4bc 0%, #00b896 100%);
    transform: translateX(-4px);
    box-shadow: -6px 8px 28px rgba(0, 168, 138, 0.5);
}

.message-widget-toggle:focus-visible .message-widget-toggle-inner {
    outline: 3px solid rgba(0, 209, 171, 0.45);
    outline-offset: 3px;
}

.message-widget.is-open .message-widget-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.message-widget-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 22, 96, 0.35);
    z-index: 10040;
    pointer-events: auto;
}

body.message-widget-open .message-widget-overlay {
    display: block;
}

.message-widget-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    height: 100dvh;
    padding: 24px;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    z-index: 10041;
    visibility: hidden;
    pointer-events: none;
}

.message-widget-panel .message-success-toast {
    border-radius: 0;
}

.message-widget-panel .message-widget-header {
    flex-shrink: 0;
}

.message-widget-panel .message-form {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.message-success-toast {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.82);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.message-success-toast.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.message-success-toast-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: min(100%, 280px);
    padding: 28px 24px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(30, 22, 96, 0.18);
    border: 2px solid #00D1AB;
    text-align: center;
    transform: scale(0.92);
    animation: messageSuccessPop 0.28s ease forwards;
}

.message-success-toast-card i {
    font-size: 52px;
    color: #00D1AB;
    line-height: 1;
}

.message-success-toast-text {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    color: #1E1660;
}

@keyframes messageSuccessPop {
    to {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .message-success-toast-card {
        animation: none;
        transform: none;
    }
}

body.message-widget-open .message-widget-panel {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

body.message-widget-open {
    overflow: hidden;
}

.message-widget-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.message-widget-header h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #1E1660;
}

.message-widget-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    max-width: 280px;
}

.message-widget-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    color: #1E1660;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.message-widget-close:hover {
    background: #e9ecef;
}

.message-form-group {
    margin-bottom: 18px;
}

.message-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #1E1660;
}

.message-form-group input,
.message-form-group select,
.message-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.message-form-group input:focus,
.message-form-group select:focus,
.message-form-group textarea:focus {
    outline: none;
    border-color: #00D1AB;
    box-shadow: 0 0 0 3px rgba(0, 209, 171, 0.15);
}

.message-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.message-form-hint {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #6c757d;
}

.message-captcha-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-captcha-row input {
    flex: 1;
    min-width: 0;
}

.message-captcha-row img {
    flex-shrink: 0;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #dee2e6;
}

.message-captcha-refresh {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    color: #1E1660;
    cursor: pointer;
    transition: background 0.15s ease;
}

.message-captcha-refresh:hover {
    background: #e9ecef;
}

.message-form-feedback {
    min-height: 20px;
    margin-bottom: 12px;
    font-size: 13px;
}

.message-form-feedback.is-error {
    color: #dc3545;
}

.message-form-feedback.is-success {
    color: #00a88a;
}

.message-form-submit {
    width: 100%;
    border: none;
    cursor: pointer;
}

.message-form-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.contact-message-form-wrap {
    position: relative;
}

#contact .contact-panel {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 24px rgb(0 0 0 / 10%);
    overflow: hidden;
}

#contact .contact-panel::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 5px;
    background: #00D1AB;
    border-radius: 8px;
}

#contact .contact-panel-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    min-height: 100%;
}

#contact .contact-panel-info {
    padding: 40px 36px;
    background: #00D1AB;
    color: #fff;
}

#contact .contact-panel-info-title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

#contact .contact-panel-info-desc {
    margin: 0 0 32px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

#contact .contact-info-list {
    margin: 0;
}

#contact .contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

#contact .contact-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

#contact .contact-info-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

#contact .contact-info-content h5 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

#contact .contact-info-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    word-break: break-word;
}

#contact .contact-info-content a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

#contact .contact-info-content a:hover {
    opacity: 0.85;
}

#contact .contact-wechat-qr {
    margin-top: 12px;
    padding: 8px;
    width: fit-content;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

#contact .contact-wechat-qr img {
    display: block;
    width: 140px;
    height: 140px;
    border-radius: 6px;
    object-fit: cover;
}

.widget.social-share .social-wechat-qr {
    margin-top: 20px;
    padding: 12px;
    text-align: center;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(30, 22, 96, 0.06);
}

.widget.social-share .social-wechat-qr img {
    display: block;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: cover;
}

.widget.social-share .social-wechat-qr p {
    margin: 10px 0 0;
    font-size: 13px;
    color: #64748b;
}

#contact .contact-panel-form {
    padding: 40px 40px 48px;
    background: #fff;
}

#contact .contact-message-form-head {
    text-align: left;
    margin-bottom: 24px;
}

#contact .contact-message-form-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #1E1660;
}

#contact .contact-message-form-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    text-align: left;
}

#contact .contact-message-form .message-form-group input,
#contact .contact-message-form .message-form-group textarea {
    padding: 12px 16px;
    border-radius: 8px;
    border-color: #e9ecef;
    background: #fafbfc;
}

#contact .contact-message-form .message-form-group input:focus,
#contact .contact-message-form .message-form-group textarea:focus {
    background: #fff;
}

#contact .contact-message-form .message-form-submit {
    width: 100%;
    max-width: none;
    margin: 8px 0 0;
    display: block;
    padding: 14px 32px;
}

@media (max-width: 991px) {
    #contact .contact-panel-inner {
        grid-template-columns: 1fr;
    }

    #contact .contact-panel-info {
        padding: 32px 28px;
    }

    #contact .contact-panel-form {
        padding: 32px 28px 40px;
    }
}

@media (max-width: 767px) {
    #contact .contact-panel-info {
        padding: 28px 20px;
    }

    #contact .contact-panel-form {
        padding: 28px 20px 36px;
    }

    #contact .contact-panel-info-title {
        font-size: 20px;
    }

    #contact .contact-message-form-title {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .message-widget-toggle {
        top: 50%;
        transform: translateY(-50%);
    }

    .message-widget-toggle-inner {
        min-width: 50px;
        padding: 14px 10px 12px 12px;
        border-radius: 24px 0 0 24px;
    }

    .message-widget-toggle i {
        font-size: 22px;
    }

    .message-widget-label {
        font-size: 14px;
    }

    .message-widget-panel {
        max-width: 100%;
        padding: 16px 16px max(16px, env(safe-area-inset-bottom));
    }

    .message-widget-panel .message-widget-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .message-widget-panel .message-widget-header h3 {
        font-size: 18px;
    }

    .message-widget-panel .message-form-group {
        margin-bottom: 10px;
    }

    .message-widget-panel .message-form-group label {
        margin-bottom: 4px;
        font-size: 13px;
    }

    .message-widget-panel .message-form-group input,
    .message-widget-panel .message-form-group textarea {
        padding: 8px 12px;
        font-size: 14px;
    }

    .message-widget-panel .message-form-group textarea {
        min-height: 68px;
    }

    .message-widget-panel .message-form-hint {
        margin-top: 4px;
        font-size: 11px;
        line-height: 1.4;
    }

    .message-widget-panel .message-captcha-row img {
        width: 100px;
        height: 36px;
    }

    .message-widget-panel .message-captcha-refresh {
        width: 36px;
        height: 36px;
    }

    .message-widget-panel .message-form-feedback {
        min-height: 14px;
        margin-bottom: 6px;
        font-size: 12px;
    }

    .message-widget-panel .message-form-submit {
        padding: 11px 20px;
        margin-bottom: 4px;
    }

    .message-widget-panel .message-form {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
}

.service-item-langs .service-lang-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 20px;
}

.service-item-langs .service-lang-tags span {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(30, 22, 96, 0.06);
    color: #1E1660;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.service-item-langs:hover .service-lang-tags span {
    background: rgba(30, 22, 96, 0.1);
}

/* 服务项目卡片统一高度 */
.service-area .container > .row:last-child > [class*="col-"] {
    display: flex;
}

.service-area .service-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.service-area .service-item .service-text {
    flex: 0 0 auto;
}

.service-area .service-item:not(.service-item-langs) .service-text {
    flex: 1;
}

.service-area .service-item-langs .service-lang-tags {
    flex: 1;
    align-content: flex-start;
}

.service-area .service-item .service-arrow {
    margin-top: auto;
}

/* 首页服务项目预览：卡片间距 */
.service-home-preview .service-home-grid > [class*="col-"] {
    display: flex;
}

.service-home-preview .service-item {
    margin-bottom: 0;
    padding: 32px 28px 28px;
    height: 100%;
}

.service-home-preview .service-icon {
    margin-bottom: 22px;
}

.service-home-preview .service-title {
    margin-top: 0;
    margin-bottom: 12px;
}

.service-home-preview .service-text {
    margin-bottom: 20px;
    line-height: 1.75;
    color: #64748b;
}

.service-home-preview .service-arrow {
    margin-top: auto;
    padding-top: 4px;
}

@media (max-width: 991.98px) {
    .service-home-preview .service-item {
        padding: 28px 24px 24px;
    }
}

/* 首页服务项目预览：卡片间距 */
.service-home-preview .service-home-grid > [class*="col-"] {
    display: flex;
}

.service-home-preview .service-item {
    margin-bottom: 0;
    padding: 32px 28px 28px;
    height: 100%;
}

.service-home-preview .service-icon {
    margin-bottom: 22px;
}

.service-home-preview .service-title {
    margin-top: 0;
    margin-bottom: 12px;
}

.service-home-preview .service-text {
    margin-bottom: 20px;
    line-height: 1.75;
    color: #64748b;
}

.service-home-preview .service-arrow {
    margin-top: auto;
    padding-top: 4px;
}

@media (max-width: 991.98px) {
    .service-home-preview .service-item {
        padding: 28px 24px 24px;
    }
}

/* 服务项目列表页：拉开卡片与内部间距 */
.service-page-list.service-area2 {
    padding-top: 100px;
    padding-bottom: 120px;
}

.service-page-list .service-page-grid > [class*="col-"] {
    display: flex;
}

.service-page-list.service-area2 .service-item {
    margin: 0;
    padding: 32px 28px 28px;
    height: 100%;
    text-align: left;
}

.service-page-list.service-area2 .service-icon {
    position: relative;
    top: auto;
    right: auto;
    margin: 0 0 24px;
    width: 72px;
    height: 72px;
    line-height: 72px;
}

.service-page-list.service-area2 .service-icon i {
    font-size: 42px;
}

.service-page-list.service-area2 .service-title {
    margin: 0 0 14px;
}

.service-page-list.service-area2 .service-title a {
    display: block;
    margin-bottom: 0;
    line-height: 1.35;
}

.service-page-list.service-area2 .service-text {
    margin: 0 0 20px;
    line-height: 1.75;
    color: #64748b;
}

.service-page-list.service-area2 .service-arrow {
    margin-top: auto;
    padding-top: 4px;
}

@media (max-width: 991.98px) {
    .service-page-list.service-area2 .service-item {
        padding: 28px 24px 24px;
    }
}

/* 服务项目页：取消面包屑背景图遮罩 */
.service-page .site-breadcrumb::before {
    display: none;
}

.service-page .site-breadcrumb .breadcrumb-title,
.service-page .site-breadcrumb .breadcrumb-menu li,
.service-page .site-breadcrumb .breadcrumb-menu li a,
.service-page .site-breadcrumb .breadcrumb-menu li::before {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

/* 客户评价页 */
.testimonial-page .testimonial-quote::before {
    display: none;
}

.testimonial-page-intro {
    color: #64748b;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-stats .testimonial-stat-card {
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(13, 18, 64, 0.06);
    border: 1px solid rgba(0, 209, 171, 0.15);
    height: 100%;
}

.testimonial-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #0d1240;
    line-height: 1.2;
}

.testimonial-stat-label {
    display: block;
    margin-top: 6px;
    font-size: 0.95rem;
    color: #64748b;
}

.testimonial-page .testimonial-grid > [class*="col-"] {
    display: flex;
}

.testimonial-page .testimonial-single {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0;
}

.testimonial-page .testimonial-quote {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 24px;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-page .testimonial-single:hover .testimonial-quote {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(13, 18, 64, 0.12);
}

.testimonial-page .testimonial-author-top {
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(13, 18, 64, 0.08);
}

.testimonial-page .testimonial-author-top .testimonial-author-img {
    flex-shrink: 0;
}

.testimonial-page .testimonial-author-top .testimonial-author-info h4 {
    margin-bottom: 0;
    font-size: 1.05rem;
    color: #0d1240;
}

.testimonial-page .testimonial-quote-icon {
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

.testimonial-page .testimonial-quote-icon i {
    font-size: 36px;
    color: #00d1ab;
    opacity: 0.85;
}

.testimonial-page .testimonial-rate {
    margin-bottom: 14px;
    font-size: 14px;
    letter-spacing: 2px;
}

.testimonial-page .testimonial-quote p {
    flex: 1;
    margin-bottom: 16px;
    color: #475569;
    line-height: 1.75;
    font-size: 15px;
}

.testimonial-service-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #00a88a;
    background: rgba(0, 209, 171, 0.12);
    border-radius: 50px;
}

.testimonial-page .testimonial-author-info span {
    display: block;
    font-size: 14px;
    color: #64748b;
    margin-top: 4px;
    font-weight: 400;
}

.testimonial-page .testimonial-content:not(.testimonial-author-top) {
    margin-top: 24px;
    margin-left: 12px;
}

.testimonial-cta {
    padding: 48px 32px;
    background: linear-gradient(135deg, rgba(0, 209, 171, 0.08) 0%, rgba(13, 18, 64, 0.04) 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 209, 171, 0.2);
}

.testimonial-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #0d1240;
}

.testimonial-cta p {
    color: #64748b;
    margin-bottom: 24px;
}

@media (max-width: 767.98px) {
    .testimonial-page .testimonial-quote {
        padding: 22px 20px 20px;
    }

    .testimonial-cta .theme-btn-outline {
        display: inline-block;
        margin-left: 0 !important;
    }
}

/* 首页新闻资讯 */
.index-news-intro {
    color: #64748b;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.index-news-grid > [class*="col-"] {
    display: flex;
}

.index-news-area .blog-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0;
    overflow: hidden;
}

.index-news-area .blog-item-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f1f5f9;
}

.index-news-area .blog-item-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    transition: transform 0.4s ease;
}

.index-news-area .blog-item:hover .blog-item-thumb img {
    transform: scale(1.05);
}

.index-news-area .blog-item-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 26px;
}

.index-news-area .blog-item-info p {
    flex: 1;
    margin-bottom: 20px;
    color: #64748b;
    line-height: 1.7;
    font-size: 15px;
}

.index-news-area .blog-item-info .theme-btn {
    align-self: flex-start;
    padding: 10px 22px;
    font-size: 14px;
}

.index-news-area .blog-title a {
    color: inherit;
    transition: color 0.2s ease;
}

.index-news-area .blog-title a:hover {
    color: #00d1ab;
}

/* 资讯列表页 */
.news-list-page {
    background: #f8fafc;
}

.news-list-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.news-filter-btn {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-filter-btn:hover,
.news-filter-btn.active {
    color: #fff;
    background: #00d1ab;
    border-color: #00d1ab;
}

.news-list-grid > [class*="col-"].is-hidden {
    display: none !important;
}

.blog-item-meta li:has(.news-tag-text:empty) {
    display: none;
}

.news-pagination {
    padding: 8px 0 16px;
}

.news-pagination .page-status {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: #64748b;
}

.news-pagination .page-index,
.news-pagination .page-pre,
.news-pagination .page-numbar,
.news-pagination .page-next,
.news-pagination .page-last {
    display: inline-block;
    vertical-align: middle;
    margin: 0 4px;
}

.news-pagination a {
    display: inline-block;
    min-width: 36px;
    padding: 8px 12px;
    margin: 2px;
    border-radius: 6px;
    font-size: 14px;
    color: #0d1240;
    background: #fff;
    border: 1px solid rgba(13, 18, 64, 0.12);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-pagination a:hover {
    color: #00a88a;
    border-color: rgba(0, 209, 171, 0.45);
    background: rgba(0, 209, 171, 0.08);
}

.news-pagination .page-num-current {
    color: #fff !important;
    background: #00d1ab !important;
    border-color: #00d1ab !important;
    font-weight: 600;
}

.news-pagination .page-num {
    color: #64748b;
    padding: 0 4px;
}

.news-list-cta {
    padding: 40px 24px;
    background: linear-gradient(135deg, rgba(0, 209, 171, 0.08) 0%, rgba(13, 18, 64, 0.04) 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 209, 171, 0.2);
}

.news-list-cta p {
    color: #64748b;
    margin-bottom: 20px;
}

/* 资讯详情页（对齐 blog-single.html 布局） */
.blog-single-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 40px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.blog-single-content {
    padding: 28px 32px 36px;
}

.blog-thumb-img img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: 8px;
}

.news-detail-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #66788a;
}

.news-detail-body {
    font-size: 16px;
    line-height: 1.85;
    color: #334155;
}

.news-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.news-detail-body h2,
.news-detail-body h3,
.news-detail-body h4 {
    color: #1e1660;
    margin-top: 1.75em;
    margin-bottom: 0.75em;
    font-weight: 700;
}

.news-detail-body p {
    margin-bottom: 1rem;
}

.news-detail-body blockquote,
.news-detail-body .blockqoute {
    border-left: 5px solid #00d1ab;
    padding: 24px 28px;
    font-style: italic;
    background: #f8f9ff;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.news-detail-tag {
    display: inline-block;
    background: #f8f9ff;
    color: #00d1ab;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.blog-nav-posts {
    border-top: 1px solid #e9ecef;
}

.blog-nav-post-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 18px 20px;
    background: #f8f9ff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-nav-post-item:hover {
    background: #00d1ab;
    color: #fff;
}

.blog-nav-post-item:hover .blog-nav-post-label,
.blog-nav-post-item:hover .blog-nav-post-title {
    color: #fff;
}

.blog-nav-post-label {
    font-size: 13px;
    font-weight: 600;
    color: #00d1ab;
}

.blog-nav-post-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e1660;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-nav-post-next {
    text-align: right;
}

.blog-nav-post-prev[href="javascript:;"],
.blog-nav-post-next[href="javascript:;"] {
    opacity: 0.5;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .blog-single-content {
        padding: 20px 18px 28px;
    }

    .blog-nav-post-next {
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .blog-details-title {
        font-size: 26px;
    }
}

/* 搜索页 */
.search-page-form .search-form-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.search-page-form .search-form-inline .form-control {
    flex: 1 1 280px;
    max-width: 100%;
    padding: 12px 18px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
}

.search-page-form .search-form-inline .form-control:focus {
    border-color: #00d1ab;
    box-shadow: 0 0 0 3px rgba(0, 209, 171, 0.15);
}

.search-page-form .search-form-inline .theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
}

.search-empty {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 48px 24px;
}

.template-showcase-container {
    max-width: 1200px;
}

.template-showcase-desc {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: #64748b;
    line-height: 1.8;
}

.template-showcase-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.template-showcase-tags li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #1e1660;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(30, 22, 96, 0.04);
}

.template-showcase-tags li i {
    color: #00d1ab;
    font-size: 13px;
}

.template-showcase-area .template-demo-frame {
    margin-top: 0;
}

.template-demo-url {
    flex: 1;
    margin: 0 16px;
    padding: 6px 14px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e2e6ee;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.template-embed-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(30, 22, 96, 0.1);
}

.template-embed-frame {
    display: block;
    width: 100%;
    min-height: calc(100vh - 280px);
    height: 1200px;
    border: 0;
    background: #fff;
}

.template-embed-fallback {
    color: #64748b;
    font-size: 14px;
}

.template-embed-fallback a {
    color: #00d1ab;
    font-weight: 600;
}

.template-embed-fallback a:hover {
    color: #1e1660;
}

@media (max-width: 767px) {
    .template-showcase-tags {
        gap: 8px;
        margin-bottom: 24px;
    }

    .template-showcase-tags li {
        padding: 6px 12px;
        font-size: 13px;
    }

    .template-demo-url {
        margin: 0 8px;
        font-size: 11px;
    }

    .template-embed-frame {
        min-height: calc(100vh - 240px);
        height: 900px;
    }
}
