/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: #333;
    text-decoration: none;
}



p {
    
    font-size: 1.0rem;
    font-weight: 300;
    line-height: 1.8rem;
}

/* 全局样式 */
:root {
    /* 颜色变量 */
    --red: #d30914;
    --dark-red: #c00018;
    --black: #000000;
    --white: #ffffff;
    --gray: #f5f5f5;
    --light-gray: #e0e0e0;
    --text-gray: #666666;
    
    /* 字体变量 */
    --font-primary: 'Roboto', sans-serif;
    --font-heading: 'Roboto', sans-serif;
    
    /* 间距变量 */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* 过渡变量 */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

/* 标题样式 */
.section-title {
    
    color: #222222;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    /* margin-bottom: var(--spacing-lg); */
    text-transform:  capitalize;
}

.section-subtitle {
        font-size: 14px;
    font-weight: 400;
    color: #ECECEC;
    /* font-size: 1.1rem; */
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.white {
    color: var(--white);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: #EB0046;
    color: var(--white);
}

.btn-primary:hover {
    background-color: #EB0046;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border:0px solid var(--white);
}

.btn-secondary:hover {
    background-color:transparent;
    color: var(--red);
}

/* 背景样式 */
.bg-red {
    background-color: var(--red);
    color: var(--white);
}

/* 导航栏样式 */
.header {
    /* background-color: var(--white); */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0rem var(--spacing-md);
}

.logo {
    text-decoration: none;
}

.logo img{
    width: 100px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--black);
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 0;
    width: 8px;
    height: 100%;
    background-color: var(--red);
}

.nav-list {
    display: flex;
    list-style: none;
    /* gap: var(--spacing-lg); */
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 400;
    text-transform: ;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--red);
}

.social-icons {
        /* right: 3%;
    position: absolute; */
    display: flex;
    gap: var(--spacing-md);
}

.social-icon {
        display: inline-flex;
  align-items: center;
  justify-content: center;
    width: 33px;
    border: 1px solid #e8e8e8;
    /*color: var(--black);*/
        color: #043c77;
    font-size: 1.0rem;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--red);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}
















/* ===== 顶部菜单 ===== */
.nav {
    ;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: ;
}

.nav-link {
    display: block;
    padding: 28px 22px;
    color:#262626;
    text-decoration: none;
}






.nav-item:hover .nav-link {
    background:;
}



/* 基础 */
.nav-link {
    position: relative;
}

/* 动画线 */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0;
    height: 2px;
    background: #db2242;
    transition: width 0.3s ease;
}

/* hover触发 */
.nav-link:hover::after {
    width: 100%;
}






/* ===== 全屏背景 ===== */
.mega-menu {

      left: 50%;
    transform: translateX(-50%);




    max-width: 1760px;
    position: absolute;
    top: 100%;
    /* left: 5vw; */
    width: 90vw;
    background: #ffffff; /* 浅灰背景 */
    padding: 40px 0;
    display: none;
}

/* hover显示 */
.nav-item:hover .mega-menu {
    display: block;
}

/* 内容容器 */
.mega-container {
    padding: 5px 20px 5px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 5%;
}

/* 每列 */
.menu-column {
    width: 30%;
    min-width: 250px;
}

/* 标题 */
.menu-column h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #cfd6df; /* 🔥 横线 */
    color: #262626;
}


.menu-column h4 {
    position: relative;
    padding-bottom: 10px;
}

/* 初始状态：线条宽度为0 */
.menu-column h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #db2242;
    transition: width 0.3s ease;
}

/* hover时展开 */
.menu-column:hover h4::after {
    width: 100%;
}




/* 列表 */
.menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 每一项 */
.menu-column li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 12px;
    color: #262626;
    font-size: 14px;
    cursor: pointer;
}

.menu-column > ul > li {
    margin-bottom: 3px;
}


/* 🔥 小方块（重点） */
.menu-column .has-child::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #cfd6df;
    position: absolute;
    left: 0;
    top: 6px;
}



.menu-column li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #cfd6df;
    position: absolute;
    left: 0;
    top: 6px;
}













/* hover效果 */
.menu-column li:hover {
    color: #000;
}

.menu-column li:hover::before,
.menu-column li:focus-within::before,
.menu-column li:active::before {
    background: #db2242;
}



.menu-column .has-child{

    width: 42%;
}

.menu-column .has-child::after{
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDEwIDEyIj4KICA8cGF0aCBpZD0iUGF0aF8yODY3IiBkYXRhLW5hbWU9IlBhdGggMjg2NyIgZD0iTTYsMGw2LDEwSDBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDEyKSByb3RhdGUoLTkwKSIgZmlsbD0iIzA0M2M3NyIvPgo8L3N2Zz4K) 50% no-repeat;
    content: "";
    opacity: 0;
    position: absolute;
    right: -1px;
    top: calc(50% - 6px);
    transition: opacity .3s;
    width: 12px;
    height: 10px;
}

.menu-column .has-child:hover::after {
   opacity: 1;
}

/* 三级子菜单默认隐藏 */
.menu-column .child-menu {
    position: absolute;
    top: 0;
    left: 100%;   /* 👉 右侧弹出 */
       border: 1px solid #cfd6df;
    min-width: 180px;
    display: none;
    padding: 0px 0px;
   /* box-shadow: 0 5px 20px rgba(0,0,0,0.1);*/
}

/* hover显示 */
.menu-column li:hover .child-menu {
    display: block;
}

/* 子项样式 */
.menu-column .child-menu li {
        border: 0px solid #cfd6df;
    padding: 6px 10px;
    color: #262626;
}


.menu-column .child-menu:before {
    background-color: #d30914;
    content: "";
    left: 0;
    position: absolute;
    top: 0;
    width: 6px;
    height: 100%;

}

.menu-column .child-menu li:hover {
    color: #000;
}







 /* 基本样式 */
.header-language {
    position: relative;
    display: inline-block;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-dropdown-toggle {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.language-dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    /* left: 0; */

    right: 0; 
    left: auto;


    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 100;
    padding: 5px ;
}


[dir="rtl"] .language-dropdown-options {
  left: 0;
  right: auto;
}


.language-option {

    display: flex;

    /* display: block; */
    padding:5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;

    align-items: center;
    white-space: nowrap;

}


.language-flag {
    width: 15px; /* Adjust the size of the flag */
    height: 11px; /* Adjust the size of the flag */
    margin-right: 3px; /* Adds space between the flag and text */
}

.language-text {
    font-size: 12px; /* Adjust the font size */
    color: #000; /* Text color */
}



.language-option img {
    width: 15px;
    height: 11px;
    margin-right: 3px;
    margin-top: 3px;
}

.language-option:hover {
    background-color: #f1f1f1;
}


.language-dropdown-options.show {
    /* display: block; */

    display: grid;
    grid-template-columns: repeat(2, auto); /* 两列 */
    gap: 4px 10px; /* 行间和列间距 */
    min-width: 160px;

}


.language-dropdown-toggle:hover .language-dropdown-options {
    display: block;
}






/* 页脚样式 */
.footer {
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}





.footer-container a{
	
	color:#ffffff;
	
}	
	
	
	
	
	
.footer-logo img{
    width: auto; 
}


.footer-logo .logo-text {
    color: var(--white);
}

.footer-logo .logo-text::after {
    background-color: var(--white);
}

.footer-address {
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}



.footer-contact {
    padding-left:0px;
font-size: 14px;
    font-weight: 400;
}


.footer-heading {
        font-family: "Helvetica", Sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;

  /*   font-size: 1.2rem;
    font-weight: 700; */
    margin-bottom:20px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}



.footer-links li{
    margin-bottom: var(--kit-widget-spacing, 10px);
    font-size: 14px;
    font-weight: 400;
    color: #E7E7E7;
}



.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--light-gray);
    padding-left: 5px;
}

.footer-hours {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: var(--spacing-sm);
    /* font-size: 0.95rem; */
}

.footer-btn {
    font-size: 0.8rem;
    border: 0;
    background-color:#F4EFE6 !important;
     color:#D30914 !important;
    margin-top: var(--spacing-md);
}

.footer-container a.footer-btn {
    background-color:#F4EFE6 !important;
    color:#D30914 !important;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 0px solid rgba(255,255,255,0.2);
    text-align: center;
}


.copyright {
   text-align: left;
    margin: 0;
    font-size: 1.0rem;
    color: var(--light-gray);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .about-container,
    .why-us-container,
    .contact-container,
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    /* 移动端导航 */
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        background-color: var(--white);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--spacing-md);
        margin-top: 5rem;
    }
    


    .nav-link {
    display: block;
    padding: 8px 22px;
    color: #262626;
    text-decoration: none;
}



    .menu-toggle {
                position: absolute;
        right: 20px;
        float: right;
        display: block;
        z-index: 1002;
    }
    
    .social-icons {
        display: none;
    }
    
    .about-container,
    .why-us-container,
    .contact-container,
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}














.floating-service {
    position: fixed;
    right: 0px;
    top: 35%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #ffffff;
    color: #1f2937;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* 图标 */
.service-item svg {
    width: 18px;
    height: 18px;
    fill: #2563eb;
}

/* WhatsApp 绿色 */
.service-item.whatsapp svg {
    fill: #22c55e;
}

/* hover 仅颜色变化，不位移 */
.service-item:hover {
    background: #f9fafb;
}

/* 手机端 */
@media (max-width: 768px) {
    .floating-service {
        top: auto;
        bottom: 50%;
        right: 12px;
    }

    .service-item {
        font-size: 13px;
        padding: 10px 14px;
    }
}

	
	
	
	
/* ===== WeChat 弹窗 ===== */
.wechat-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.wechat-modal.active {
    display: flex;
}

.wechat-modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    max-width: 300px;
    width: 90%;
    position: relative;
}

.wechat-modal-content img {
    width: 200px;
    max-width: 100%;
    margin: 12px 0;
}

.wechat-modal-content h4 {
    margin: 0;
    font-size: 16px;
}

.wechat-modal-content p {
    font-size: 13px;
    color: #666;
}

/* 关闭按钮 */
.wechat-close {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 22px;
    cursor: pointer;
    color: #999;
}

	


.float-phone-btn {
    position: fixed;
    right: 30px;
    bottom: 78px;
    z-index: 9999;
    background-color: #25d366;
    border-color: #E8E8E8;
    transition: all 0.3s ease-in-out 0s;
    padding: 14px;
    border-style: none;
    border-radius: 50px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.float-phone-btn i {
    font-size: 14px;
     transform: scaleX(-1);
}











































 
        .header-top-bar {
         /*    width: 100%;
            background-color: #d30914;  */
            padding: 12px 0;
        }
        .top-bar-container {
            max-width: 90vw;
            margin: 0 auto;
             padding: 0 0.5rem; 
            display: flex;
            justify-content: flex-end; 
            align-items: center;
        }

        /* 语言下拉样式（蓝色栏内） */
        .navigation-language {
            position: relative;
        }
        .language-dropdown-toggle {
            background: transparent;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: #fff;
        }
        .language-dropdown-options {
            position: absolute;
            top: 100%;
            right: 0;
            background: #fff;
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
            border: 1px solid #ddd;
            padding: 6px;
            display: none;
            grid-template-columns: repeat(2, auto);
            gap: 4px 10px;
            min-width: 160px;
            z-index: 9999;
        }
        .language-dropdown-options.show {
			
			z-index:1000000;
			
            display: grid;
        }
        [dir="rtl"] .language-dropdown-options {
            left: 0;
            right: auto;
        }
        .language-option {
            display: flex;
            align-items: center;
            padding: 5px;
            color: #333;
            white-space: nowrap;
            font-size: 12px;
        }
        .language-option img {
            width: 15px;
            height: 11px;
            margin-right: 4px;
        }
        .language-option:hover {
            background: #f1f1f1;
        }

        /* 2. 白色主导航栏 */
        .header-main {

                color: #fff;
    position: fixed;
    transform: translateY(0);
    transition: transform .4s, opacity .4s linear 1s;
    width: 100%;
    z-index: 201;
    top: 0;



                /* transition: transform .4s, opacity .4s linear 1s;
            background-color: #d30914;
            box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 5px;
            width: 100%; */
        }

      .header-container {
transition: max-width 0.4s ease, padding-inline 0.4s ease;
            max-width: 90vw;
position: relative;
    z-index: 10000;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem var(--spacing-md);
background-color: #ffffff;


}




/* .header-main::before {


background: transparent linear-gradient(180deg, rgba(211, 9, 20, 0.6), rgba(211, 9, 20, 0)) 0 0 no-repeat padding-box;
  height: 100%; 
  pointer-events: none;
  z-index: 1;
   content: "";
  position: absolute; 

    transition: transform .4s, opacity .4s linear 1s;
    background-color: #d30914; 
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 5px;
    width: 100%;


} */

.header-main::before {

    background-color: #d30914;

/*     background: transparent linear-gradient(180deg, rgba(211, 9, 20, 1.0), rgba(211, 9, 20, 0)) 0 0 no-repeat padding-box;
 */    
 
    content: "";
    opacity: 1;
    pointer-events: none;
    position: absolute;
    transition: opacity .3s;
    width: 100%;
    height: 200px;
}

@media (min-width: 641px) {
    .header-main.is-scrolled-down {
        transform: translateY(-80px);
    }
}



/* 滚动超过50px时，主容器宽度铺满视口 */
.header-main.scrolled .header-container {
    
  max-width: 100vw;
  padding-inline: 20px;
 padding: 0rem var(--spacing-xl);
}

/* 滚动后隐藏顶部栏 */
.header-main.scrolled .header-top-bar {
 /*  display: none; */
   max-height: 0;
  opacity: 0;
  visibility: hidden;
  padding:0 0px;
}


.header-main.scrolled::before {

    height: 0px;

    }



 .floating-service .whatsapp{
    background: #25d366;
    color: #fff;
}

    

/* Shared desktop header proportions, matching the homepage. */
@media (min-width: 768px) {
    .header-main::before { height: 146px; }
    .header-main .header-top-bar {
        height: 32px;
        min-height: 32px;
        box-sizing: border-box;
        padding: 3px 0;
    }
    .header-main .header-container {
        height: 82px;
        min-height: 82px;
        box-sizing: border-box;
    }
}

/* 联系区右侧与左侧文字列等宽，并对齐标准内容版块右边线。 */
@media (min-width: 1024px) {
  #contact-form .contact-form-wrapper { box-sizing: border-box; padding-inline-end: clamp(0px, calc((90vw - 1000px) / 2), 70px); }
}
@media (min-width: 992px) {
  .appointment-section .appointment-form-wrapper { box-sizing: border-box; padding-inline-end: clamp(0px, calc((100vw - 1048px) / 2 + 16px), 86px); }
}

/* 联系表单提交按钮悬停时保持品牌红色。 */
#contact-form .wpcf7 input[type="submit"]:hover,
.appointment-section .wpcf7 input[type="submit"]:hover {
  background-color: #b70711;
  color: #fff;
}
