﻿/* ===== Reset & Base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#333;background:#fff;line-height:1.6;overflow-x:hidden}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
ul{list-style:none}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ===== Navigation ===== */
.navbar{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(255,255,255,.95);backdrop-filter:blur(10px);box-shadow:0 2px 20px rgba(0,0,0,.08);transition:transform .3s}
.nav-container{display:flex;align-items:center;justify-content:space-between;height:68px}
.nav-logo{display:flex;align-items:center;gap:10px;font-size:clamp(.85rem,1.3rem,1.6rem);font-weight:700;color:#002B55;margin-left:-80px;flex-shrink:0}
.nav-logo img{height:36px}
.nav-logo span{white-space:nowrap;font-size:clamp(.7rem,1.3rem,1.6rem)}
.nav-toggle{display:none;font-size:1.5rem;background:none;border:none;cursor:pointer;color:#333;padding:8px}
.nav-menu{display:flex;align-items:center;gap:6px}
.nav-menu li a{display:block;padding:8px 14px;font-size:.88rem;font-weight:500;color:#555;border-radius:6px;transition:all .25s;white-space:nowrap}
.nav-menu li a:hover{color:#002B55;background:#f0f0f5}
.lang-switch-li{margin-left:8px}
.lang-btn{padding:6px 16px;border:2px solid #002B55;border-radius:20px;background:transparent;color:#002B55;font-weight:600;font-size:.82rem;cursor:pointer;transition:all .3s}
.lang-btn:hover{background:#002B55;color:#fff}

/* ===== Banner Carousel ===== */
.banner{position:relative;height:100vh;min-height:500px;overflow:hidden;margin-top:0}
.slides-wrapper{position:relative;width:100%;height:100%}
.slide::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.03) 0%,rgba(0,0,0,.15) 50%,rgba(0,0,0,.30) 100%);z-index:1}
.slide-content{position:relative;z-index:2;text-align:left;color:#fff;background:rgba(0,0,0,.4);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);padding:32px 40px;border-radius:0 16px 0 0;max-width:600px;border-left:4px solid #e94560;box-shadow:0 8px 40px rgba(0,0,0,.3);margin:0 0 80px 0}
.slide{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:flex-start;opacity:0;transition:opacity .8s ease;z-index:1;background-repeat:no-repeat}
.slide.active{z-index:2;opacity:1}

.slide-content h1{font-size:clamp(1.6rem,4vw,3rem);font-weight:800;margin-bottom:8px;text-shadow:0 4px 30px rgba(0,0,0,.5)}
.slide-content p{font-size:clamp(.95rem,1.8vw,1.25rem);opacity:.95;text-shadow:0 2px 20px rgba(0,0,0,.5)}
.banner-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:10;background:rgba(255,255,255,.15);border:none;color:#fff;font-size:2.5rem;width:54px;height:54px;border-radius:50%;cursor:pointer;backdrop-filter:blur(4px);transition:all .3s}
.banner-btn:hover{background:rgba(255,255,255,.3);transform:translateY(-50%) scale(1.08)}
.banner-btn.prev{left:20px}
.banner-btn.next{right:20px}
.banner-dots{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);z-index:10;display:flex;gap:10px}
.banner-dots span{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.4);cursor:pointer;transition:all .3s}
.banner-dots span.active{background:#fff;transform:scale(1.25)}

/* ===== Sections ===== */
.section{padding:80px 0}
.section-alt{background:#f0f5fb}
.section-title{text-align:center;font-size:clamp(1.6rem,3vw,2.4rem);font-weight:700;color:#002B55;margin-bottom:12px}
.section-subtitle{text-align:center;color:#888;font-size:1.05rem;margin-bottom:40px}

/* ===== About ===== */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.about-text p{margin-bottom:16px;color:#555;font-size:1rem;line-height:1.8}
.about-stats{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.stat-card{background:#fff;border-radius:16px;padding:28px 16px;text-align:center;box-shadow:0 4px 20px rgba(0,0,0,.06);transition:transform .3s}
.stat-card:hover{transform:translateY(-4px)}
.stat-num{display:block;font-size:2rem;font-weight:800;color:#e94560;margin-bottom:6px}
.stat-label{font-size:.9rem;color:#888}

/* ===== Products ===== */
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:24px}
.product-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.06);transition:transform .3s,box-shadow .3s;cursor:default}
.product-card:hover{transform:translateY(-6px);box-shadow:0 10px 30px rgba(0,0,0,.1)}
.product-img{height:200px;display:flex;align-items:center;justify-content:center;font-size:3.5rem}
.product-card h3{font-size:1.1rem;margin:16px 16px 8px;color:#002B55}
.product-card p{font-size:.9rem;color:#888;margin:0 16px 20px;line-height:1.5}

/* ===== Services ===== */
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.service-card{background:#fff;border-radius:16px;padding:32px 24px;text-align:center;box-shadow:0 4px 20px rgba(0,0,0,.06);transition:transform .3s}
.service-card:hover{transform:translateY(-4px)}
.service-icon{font-size:2.5rem;margin-bottom:12px}
.service-card h3{font-size:1.05rem;margin-bottom:8px;color:#002B55}
.service-card p{font-size:.9rem;color:#888;line-height:1.5}

/* ===== R&D & Production (merged) ===== */

/* Hero */
.rph-hero{margin-bottom:50px;border-radius:20px;overflow:hidden;box-shadow:0 8px 40px rgba(0,0,0,.15)}
.rph-hero-bg{position:relative;padding:60px 50px;min-height:320px;display:flex;align-items:center}
.rph-hero-overlay{position:absolute;inset:0;background:rgba(0,0,0,.35);z-index:1}
.rph-hero-content{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;width:100%;gap:40px}
.rph-hero-text{flex:1;max-width:480px}
.rph-hero-text h3{font-size:clamp(1.3rem,2.5vw,1.8rem);color:#fff;font-weight:700;margin-bottom:14px}
.rph-hero-text p{font-size:.92rem;color:rgba(255,255,255,.82);line-height:1.7}
.rph-hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;flex-shrink:0}
.rph-stat{background:rgba(255,255,255,.1);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-radius:14px;padding:18px 20px 14px;text-align:center;border:1px solid rgba(255,255,255,.12);transition:transform .3s,background .3s}
.rph-stat:hover{transform:translateY(-3px);background:rgba(255,255,255,.16)}
.rph-stat-num{display:inline;font-size:clamp(1.3rem,2vw,1.6rem);font-weight:800;color:#fff}
.rph-stat-unit{font-size:clamp(.8rem,1vw,.9rem);font-weight:600;color:rgba(255,255,255,.6);margin-left:1px}
.rph-stat-label{display:block;font-size:.75rem;color:rgba(255,255,255,.55);margin-top:3px;letter-spacing:.3px}

/* Dual images */
.rph-dual{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:50px}
.rph-dual-img{position:relative;border-radius:14px;overflow:hidden;min-height:280px;display:flex;align-items:flex-end;justify-content:center;padding:20px;cursor:pointer;transition:transform .4s,box-shadow .4s;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.rph-dual-img:hover{transform:scale(1.03);box-shadow:0 8px 28px rgba(0,0,0,.12)}
.rph-img-label{display:block;background:rgba(0,0,0,.5);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);color:#fff;padding:8px 14px;border-radius:8px;font-size:.82rem;font-weight:500;text-align:center;width:100%}

/* Timeline */
.rph-process{margin-bottom:50px}
.rph-process-title{text-align:center;font-size:clamp(1.15rem,2vw,1.4rem);font-weight:700;color:#002B55;margin-bottom:32px}
.rph-timeline{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;position:relative}
.rph-timeline::before{content:"";position:absolute;top:38px;left:8%;right:8%;height:3px;background:linear-gradient(90deg,#43e97b 0%,#4facfe 20%,#667eea 40%,#f093fb 60%,#e94560 80%,#fa8231 100%);border-radius:2px;z-index:0}
.rph-tl-item{text-align:center;position:relative;z-index:1}
.rph-tl-icon{width:76px;height:76px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.8rem;margin:0 auto 14px;box-shadow:0 4px 20px rgba(0,0,0,.12);transition:transform .3s,box-shadow .3s;cursor:default}
.rph-tl-icon:hover{transform:scale(1.1);box-shadow:0 8px 30px rgba(0,0,0,.18)}
.rph-tl-content h4{font-size:.9rem;font-weight:700;color:#002B55;margin-bottom:5px}
.rph-tl-content p{font-size:.76rem;color:#888;line-height:1.45;max-width:130px;margin:0 auto}

/* Certifications */
.rph-certs{margin-top:10px}
.rph-certs-title{text-align:center;font-size:1.1rem;font-weight:700;color:#002B55;margin-bottom:18px}
.rph-certs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:700px;margin:0 auto}
.cert-badge{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:12px;color:#fff;transition:transform .3s,box-shadow .3s;cursor:default}
.cert-badge:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,.15)}
.cert-icon{font-size:1.1rem;flex-shrink:0}
.cert-name{font-size:.85rem;font-weight:600;letter-spacing:.3px}

/* ===== Advantages ===== */
.advantages-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.advantage-card{background:#fff;border-radius:16px;padding:32px 24px;text-align:center;box-shadow:0 4px 20px rgba(0,0,0,.06);transition:transform .3s}
.advantage-card:hover{transform:translateY(-4px)}
.adv-icon{font-size:2.5rem;margin-bottom:12px}
.advantage-card h3{font-size:1.05rem;margin-bottom:8px;color:#002B55}
.advantage-card p{font-size:.9rem;color:#888;line-height:1.5}

/* ===== Contact ===== */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.contact-info{display:flex;flex-direction:column;gap:20px}
.contact-item{display:flex;gap:14px;align-items:flex-start}
.contact-icon{font-size:1.4rem;flex-shrink:0;margin-top:2px}
.contact-item strong{display:block;font-size:.95rem;color:#002B55;margin-bottom:4px}
.contact-item a{text-decoration:none;color:inherit}
.contact-item p{color:#666;font-size:.92rem;word-break:break-all}
.contact-item a:hover p{color:#e94560}
.contact-map{border-radius:16px;overflow:hidden;min-height:320px;margin-left:-24px}
.contact-map-placeholder{position:relative;width:100%;height:100%;min-height:320px;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;cursor:pointer;transition:transform .4s}
.contact-map-placeholder:hover{transform:scale(1.02)}
.map-pin{font-size:3rem;animation:bounce 2s infinite}
@keyframes bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.map-label{background:rgba(0,0,0,.5);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);color:#fff;padding:10px 20px;border-radius:10px;font-size:.9rem;font-weight:500}
.contact-cta{text-align:center;margin-top:36px;padding-top:30px}
.cta-hint{font-size:.85rem;color:#999;margin-top:12px}

/* ===== Footer ===== */
.footer{background:#002B55;color:rgba(255,255,255,.7);text-align:center;padding:28px 0;font-size:.9rem}

/* ===== Buttons ===== */
.btn{display:inline-block;padding:14px 36px;border-radius:50px;font-size:.95rem;font-weight:600;border:none;cursor:pointer;transition:all .3s}
.btn-primary{background:#e94560;color:#fff;box-shadow:0 4px 15px rgba(233,69,96,.3)}
.btn-primary:hover{background:#d63851;transform:translateY(-2px);box-shadow:0 6px 20px rgba(233,69,96,.4)}
.text-center{text-align:center}

/* ===== Back to Top ===== */
.back-top{position:fixed;bottom:30px;right:30px;z-index:999;width:48px;height:48px;border-radius:50%;background:#002B55;color:#fff;font-size:1.3rem;border:none;cursor:pointer;box-shadow:0 4px 15px rgba(0,0,0,.2);opacity:0;visibility:hidden;transition:all .3s}
.back-top.show{opacity:1;visibility:visible}
.back-top:hover{transform:translateY(-3px)}

/* ===== Products Page Filters ===== */
.product-filters{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:32px}
.filter-btn{padding:8px 24px;border:2px solid #ddd;border-radius:30px;background:transparent;font-size:.92rem;font-weight:500;cursor:pointer;transition:all .3s;color:#666}
.filter-btn.active,.filter-btn:hover{border-color:#e94560;background:#e94560;color:#fff}

/* ===== Page Header ===== */
.page-header{background:#f0f5fb}

/* ===== Responsive ===== */
/* Tablet landscape */
@media(max-width:992px){
  .about-grid,.contact-grid{grid-template-columns:1fr}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .advantages-grid{grid-template-columns:1fr 1fr}
  .rph-hero-bg{padding:40px 28px}
  .rph-hero-content{flex-direction:column;text-align:center}
  .rph-hero-text{max-width:100%}
  .rph-hero-stats{grid-template-columns:repeat(3,1fr)}
  .rph-dual{grid-template-columns:1fr}
  .rph-timeline{grid-template-columns:repeat(3,1fr);gap:24px}
  .rph-timeline::before{top:38px;left:16%;right:16%}
  .rph-certs-grid{grid-template-columns:repeat(3,1fr)}
}
/* Tablet portrait & mobile */
@media(max-width:768px){
  .slide{background-size:contain !important;background-position:center center !important;background-repeat:no-repeat !important;background-color:#002b55}
  .container{padding:0 16px}
  .nav-toggle{display:block}
  .nav-menu{position:fixed;top:68px;left:0;right:0;background:#fff;flex-direction:column;padding:16px 20px;gap:4px;box-shadow:0 10px 20px rgba(0,0,0,.1);transform:translateY(-120%);opacity:0;transition:all .35s;pointer-events:none;z-index:999;max-height:calc(100vh - 68px);overflow-y:auto}
  .nav-menu.open{transform:translateY(0);opacity:1;pointer-events:auto}
  .nav-menu li a{display:block;padding:12px 16px;font-size:1rem}
  .lang-switch-li{margin-left:0;margin-top:6px;text-align:center}
  .nav-logo{margin-left:-12px}
  .nav-logo span{font-size:clamp(.65rem,.9rem,1.1rem);max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .banner{height:45vh;min-height:320px}
  .banner-btn{width:36px;height:36px;font-size:1.5rem}
  .banner-btn.prev{left:6px}
  .banner-btn.next{right:6px}
  .slide-content{padding:18px 20px;max-width:90%;margin:0 0 50px 0}
  .slide-content h1{font-size:clamp(1.1rem,3.5vw,1.6rem)}
  .slide-content p{font-size:clamp(.8rem,2vw,.95rem)}
  .section{padding:40px 0}
  .section-subtitle{font-size:.95rem;margin-bottom:28px;padding:0 10px}
  .products-grid{grid-template-columns:repeat(2,1fr);gap:14px}
  .product-img{height:150px;font-size:2.5rem}
  .product-card h3{font-size:.95rem;margin:12px 12px 6px}
  .product-card p{font-size:.8rem;margin:0 12px 14px}
  .about-stats{grid-template-columns:1fr 1fr;gap:12px}
  .stat-num{font-size:1.6rem}
  .stat-card{padding:20px 12px}
  .service-grid{grid-template-columns:1fr;gap:16px}
  .advantages-grid{grid-template-columns:1fr;gap:16px}
  .rph-hero-bg{padding:24px 16px;min-height:auto}
  .rph-hero-stats{grid-template-columns:repeat(3,1fr);gap:8px}
  .rph-stat{padding:12px 8px 10px}
  .rph-stat-num{font-size:1.3rem}
  .rph-stat-label{font-size:.7rem}
  .rph-dual-img{min-height:200px}
  .rph-timeline{grid-template-columns:repeat(2,1fr);gap:16px}
  .rph-timeline::before{display:none}
  .rph-tl-icon{width:52px;height:52px;font-size:1.2rem}
  .rph-tl-content p{font-size:.7rem}
  .rph-certs-grid{grid-template-columns:repeat(2,1fr);gap:8px}
  .contact-grid{grid-template-columns:1fr;gap:24px}
  .contact-map{margin-left:0}
  .contact-cta{margin-top:20px}
  .product-filters{gap:6px;margin-bottom:20px}
  .filter-btn{padding:6px 14px;font-size:.82rem}
  .page-header .section{padding:16px 0 10px}
}
/* Small mobile */
@media(max-width:480px){
  .container{padding:0 12px}
  .nav-logo{margin-left:-8px}
  .nav-logo img{height:30px}
  .nav-logo span{max-width:140px;font-size:clamp(.55rem,.8rem,1rem)}
  .banner{height:40vh;min-height:280px}
  .banner-dots{bottom:16px}
  .banner-dots span{width:8px;height:8px}
  .products-grid{grid-template-columns:1fr;gap:12px}
  .service-grid{grid-template-columns:1fr;gap:12px}
  .about-stats{grid-template-columns:1fr;gap:10px}
  .section{padding:30px 0}
  .section-title{font-size:1.4rem}
  .slide-content{padding:14px 16px;max-width:92%;margin:0 0 40px 0;border-left-width:3px}
  .slide-content h1{font-size:1.1rem}
  .slide-content p{font-size:.8rem}
  .product-img{height:130px;font-size:2rem}
  .rph-hero-stats{grid-template-columns:repeat(2,1fr);gap:6px}
  .rph-stat{padding:10px 6px 8px}
  .rph-stat-num{font-size:1.1rem}
  .rph-stat-label{font-size:.65rem}
  .rph-timeline{grid-template-columns:1fr;gap:14px}
  .rph-tl-item{display:flex;align-items:center;gap:12px;text-align:left}
  .rph-tl-icon{width:44px;height:44px;font-size:1rem;margin:0;flex-shrink:0}
  .rph-tl-content p{max-width:100%;margin:0}
  .rph-certs-grid{grid-template-columns:1fr;gap:8px}
  .rph-certs-grid img{max-height:50px}
  .contact-item{gap:10px}
  .contact-item strong{font-size:.85rem}
  .contact-item p{font-size:.82rem}
  .contact-map-placeholder{min-height:200px}
  .map-pin{font-size:2rem}
  .map-label{font-size:.8rem;padding:6px 14px}
  .btn{padding:10px 24px;font-size:.85rem}
  .footer{padding:20px 0;font-size:.8rem}
  .back-top{bottom:16px;right:16px;width:40px;height:40px;font-size:1.1rem}
  .product-filters{gap:4px;margin-bottom:16px}
  .filter-btn{padding:5px 12px;font-size:.78rem}
}
/* Extra small devices */
@media(max-width:360px){
  .nav-logo span{max-width:100px;font-size:.7rem}
  .banner{height:35vh;min-height:240px}
  .slide-content{padding:12px 14px;max-width:95%}
  .products-grid{grid-template-columns:1fr;gap:10px}
  .product-img{height:110px}
}