@media (max-width: 1024px) {
  img { max-width: 100% !important; }
  [style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
  *, *::before, *::after { box-sizing: border-box; }
  body { overflow-x: hidden; }
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  [style*="display: flex"] { max-width: 100% !important; flex-wrap: wrap !important; }
  img { max-width: 100% !important; }
  video { max-width: 100% !important; }
}

.w-fab{position:fixed;right:20px;bottom:24px;display:flex;flex-direction:column;gap:10px;z-index:9999;pointer-events:none}.w-fab-btn{pointer-events:auto;display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;border:none;cursor:pointer;box-shadow:0 2px 12px rgba(0,0,0,.15);transition:transform .2s,box-shadow .2s;outline:none}.w-fab-btn:hover{transform:scale(1.1);box-shadow:0 4px 20px rgba(0,0,0,.2)}.w-fab-btn svg{width:22px;height:22px}.w-fab-whatsapp{background:#25d366;color:#fff}.w-fab-contact,.w-fab-top,.w-fab-lang{background:var(--color-primary,var(--color-accent,var(--color-brand,#2563eb)));color:#fff}.w-fab-top{opacity:0;transform:translateY(10px);transition:opacity .3s,transform .3s}.w-fab-top.visible{opacity:1;transform:translateY(0)}.w-fab-lang-wrap{position:relative;pointer-events:auto}.w-lang-panel{position:absolute;right:calc(100% + 10px);top:0;min-width:auto;background:var(--color-primary,var(--color-accent,var(--color-brand,#2563eb)));border-radius:12px;overflow:hidden;display:flex;flex-direction:row;opacity:0;transform:translateX(10px);pointer-events:none;transition:opacity .25s,transform .25s;box-shadow:0 8px 24px rgba(0,0,0,.2)}.w-lang-panel.w-lang-open{opacity:1;transform:translateX(0);pointer-events:auto}.w-lang-opt{display:block;width:auto;flex:1;border:0;background:transparent;color:rgba(255,255,255,0.75);padding:10px 14px;font-weight:600;font-size:13px;text-align:center;cursor:pointer;transition:background .15s,color .15s;white-space:nowrap;border-right:1px solid rgba(255,255,255,0.2)}.w-lang-opt:last-child{border-right:none}.w-lang-opt:hover{background:rgba(255,255,255,0.15);color:#fff}.w-lang-act{color:#fff;background:rgba(255,255,255,0.2)}@media(max-width:640px){.w-fab{right:14px;bottom:16px;gap:8px}.w-fab-btn{width:42px;height:42px}.w-fab-btn svg{width:20px;height:20px}.w-lang-panel{right:0;left:auto;top:auto;bottom:calc(100% + 8px);flex-direction:column;max-height:calc(100vh - 90px);overflow-y:auto;transform:translateY(10px)}.w-lang-panel.w-lang-open{transform:translateY(0)}.w-lang-opt{border-right:none;border-bottom:1px solid rgba(255,255,255,0.2);width:100%}.w-lang-opt:last-child{border-bottom:none}}

/* === Entrance animations === */
@keyframes w-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes w-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes w-fade-down { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes w-fade-left { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes w-fade-right { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes w-zoom-in { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
@keyframes w-zoom-out { from { opacity: 0; transform: scale(1.15); } to { opacity: 1; transform: scale(1); } }
@keyframes w-flip-x { from { opacity: 0; transform: perspective(400px) rotateX(90deg); } to { opacity: 1; transform: perspective(400px) rotateX(0); } }
@keyframes w-flip-y { from { opacity: 0; transform: perspective(400px) rotateY(90deg); } to { opacity: 1; transform: perspective(400px) rotateY(0); } }
@keyframes w-bounce { 0% { opacity: 0; transform: translateY(-40px); } 60% { opacity: 1; transform: translateY(8px); } 80% { transform: translateY(-4px); } 100% { transform: translateY(0); } }
@keyframes w-rotate { from { opacity: 0; transform: rotate(-180deg); } to { opacity: 1; transform: rotate(0); } }
@keyframes w-swing { 20% { transform: rotate(15deg); } 40% { transform: rotate(-10deg); } 60% { transform: rotate(5deg); } 80% { transform: rotate(-5deg); } 100% { transform: rotate(0); } }
@keyframes w-slide-up { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* === Responsive hide === */
@media (max-width: 1024px) { [data-w-hide-tablet="1"] { display: none !important; } }
@media (max-width: 640px) { [data-w-hide-mobile="1"] { display: none !important; } }
@media (min-width: 1025px) { [data-w-hide-desktop="1"] { display: none !important; } }

/* === Scroll effects === */
[data-w-scroll-effect]:not([data-w-scroll-effect^="sticky"]) { will-change: transform, opacity, filter; }
/* 吸顶:top 走变量,运行时按顶部导航实际占的高度赋值(手填 sticky-<px> 时用那个值),否则会被固定导航盖住 */
[data-w-scroll-effect^="sticky"] { position: sticky !important; top: var(--w-sticky-top, 0px) !important; z-index: 40; }


.cert-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.cert-hero{position:relative;overflow:hidden}
.cert-hero-img{width:100%;height:520px;object-fit:cover;display:block}
.cert-hero-overlay{position:absolute;inset:0;background:rgba(18,16,14,0.55)}
.cert-hero-inner{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#fff;padding:48px 24px}
.cert-hero-inner h1{font-size:44px;line-height:1.2;margin:0 0 16px;font-weight:600;letter-spacing:-0.5px}
.cert-hero-inner p{max-width:720px;font-size:18px;line-height:1.7;color:#f3efe9;margin:0}
.cert-eyebrow{font-size:13px;letter-spacing:3px;text-transform:uppercase;color:#d9c9a8;margin:0 0 18px}
.cert-section{padding:80px 0}
.cert-section.alt{background:#f7f5f1}
.cert-center{text-align:center;max-width:820px;margin:0 auto 48px}
.cert-center h2{font-size:32px;line-height:1.3;margin:0 0 16px;color:#1a1a1a;font-weight:600}
.cert-center p{font-size:16px;line-height:1.8;color:#4a4a4a;margin:0}
.cert-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.cert-card{background:#fff;border:1px solid #e7e2da;border-radius:14px;padding:32px 28px;display:flex;flex-direction:column}
.cert-card h3{font-size:19px;margin:0 0 12px;color:#1a1a1a;font-weight:600}
.cert-card p{font-size:15px;line-height:1.75;color:#4a4a4a;margin:0 0 18px;flex:1}
.cert-card .cert-note{font-size:13px;color:#7a6f60;margin:0 0 18px}
.cert-btn{display:inline-block;align-self:flex-start;background:#1a1a1a;color:#fff;padding:12px 22px;border-radius:999px;font-size:14px;text-decoration:none;transition:opacity .2s}
.cert-btn:hover{opacity:.85}
.cert-btn.ghost{background:transparent;color:#1a1a1a;border:1px solid #1a1a1a}
.cert-list{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.cert-item{display:flex;gap:18px;background:#fff;border:1px solid #e7e2da;border-radius:14px;padding:28px 26px}
.cert-item-num{font-size:15px;font-weight:600;color:#b08a4a;letter-spacing:1px}
.cert-item h3{font-size:18px;margin:0 0 8px;color:#1a1a1a;font-weight:600}
.cert-item p{font-size:15px;line-height:1.75;color:#4a4a4a;margin:0}
.cert-media{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.cert-media img{width:100%;border-radius:16px;display:block}
.cert-faq{max-width:900px;margin:0 auto}
.cert-faq details{border-bottom:1px solid #e0dbd3;padding:20px 0}
.cert-faq summary{font-size:17px;font-weight:600;color:#1a1a1a;cursor:pointer;list-style:none;position:relative;padding-right:34px}
.cert-faq summary::after{content:"+";position:absolute;right:0;top:-2px;font-size:24px;color:#b08a4a;font-weight:400}
.cert-faq details[open] summary::after{content:"\2212"}
.cert-faq p{font-size:15px;line-height:1.8;color:#4a4a4a;margin:12px 0 0}
.cert-cta{background:#1a1a1a;color:#fff;padding:72px 0;text-align:center}
.cert-cta h2{font-size:32px;margin:0 0 14px;font-weight:600}
.cert-cta p{font-size:16px;line-height:1.8;color:#e8e4de;max-width:640px;margin:0 auto 28px}
.cert-cta-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.cert-cta .cert-btn{background:#fff;color:#1a1a1a}
.cert-cta .cert-btn.ghost{background:transparent;color:#fff;border-color:#fff}
@media(max-width:900px){.cert-grid,.cert-list,.cert-media{grid-template-columns:1fr}.cert-hero-img{height:380px}.cert-hero-inner h1{font-size:32px}}