/* ============================================================
   MEIDIS 美蒂石 — style.css
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
  --c-teal:        #005676;
  --c-teal-dark:   #005676;
  --c-teal-mid:    #005676;
  --c-red:         #C0392B;
  --c-red-dark:    #A93226;
  --c-maroon:      #821832;
  --c-maroon-dark: #541010;
  --c-dark:        #1A1A2E;
  --c-white:       #FFFFFF;
  --c-light:       #F7F8F9;
  --c-gray:        #6C757D;
  --c-border:      #E5E7EB;
  --font-head:     'Montserrat', sans-serif;
  --font-body:     'Inter', sans-serif;
  --nav-h:         110px;
  --radius:        4px;
  --max-w:         1280px;
  --ease:          cubic-bezier(.4,0,.2,1);
  --trans:         .3s var(--ease);
  --shadow-sm:     0 2px 8px rgba(0,0,0,.08);
  --shadow-md:     0 6px 24px rgba(0,0,0,.13);
  --shadow-lg:     0 12px 48px rgba(0,0,0,.2);
}

/* ---- Reset ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-body);color:var(--c-dark);line-height:1.65;overflow-x:hidden;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit;transition:color var(--trans)}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
address{font-style:normal}
button{font-family:inherit;cursor:pointer}

/* ---- Container ---- */
.container{
  max-width:var(--max-w);
  margin:0 auto;
  padding:0;
}

/* ---- Section Padding ---- */
.section-pad{padding:80px 0}

/* ---- Section Header ---- */
.section-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:40px;
}
.section-title{
  font-family:var(--font-head);
  font-size:clamp(22px,3vw,30px);
  font-weight:700;
}

/* ---- Buttons ---- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 28px;
  font-family:var(--font-head);
  font-size:12px;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  border:2px solid transparent;
  border-radius:var(--radius);
  cursor:pointer;
  transition:background var(--trans),border-color var(--trans),transform .2s var(--ease),box-shadow .2s var(--ease);
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px)}

.btn-red{background: var(--c-teal-mid);color:#fff}
.btn-red:hover{background:#7b1930;border-color:#7b1930;box-shadow:var(--shadow-md)}

.btn-teal{background:var(--c-teal);border-color:var(--c-teal);color:#fff}
.btn-teal:hover{background:var(--c-teal-dark);border-color:var(--c-teal-dark);box-shadow:var(--shadow-md)}

.btn-outline-teal{background:transparent;border-color:var(--c-teal);color:var(--c-teal)}
.btn-outline-teal:hover{background:var(--c-teal);color:#fff}

.btn-outline-white{background:transparent;border-color:#fff;color:#fff}
.btn-outline-white:hover{background:rgba(255,255,255,.12)}

.btn-white-outline{background:transparent;border-color:rgba(255,255,255,.55);color:#fff}
.btn-white-outline:hover{border-color:#fff;background:rgba(255,255,255,.1)}

.btn-sm{padding:9px 20px;font-size:11px}

.btn-pill{
  background:var(--c-teal-mid);
  color:#fff;
  border-radius:50px;
  padding:11px 24px;
  font-size:12px;
}
.btn-pill:hover{
  background:var(--c-teal-dark);
  border-color:var(--c-teal-dark);
  box-shadow:var(--shadow-md);
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-empty{
  text-align:center;
  padding:60px 0;
}
.search-empty h2{
  font-family:var(--font-head);
  font-size:clamp(20px,3vw,28px);
  font-weight:700;
  margin-bottom:12px;
}
.search-empty p{
  color:var(--c-gray);
  font-size:15px;
  margin-bottom:28px;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header{
  position:fixed;top:0;left:0;right:0;
  z-index:900;
  background:transparent;
  box-shadow:none;
  transition:background .35s var(--ease),box-shadow .35s var(--ease);
}
/* White state: triggered by scroll or hover (via JS class) */
.header.is-white{
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.nav-wrap{width:100%}

.nav-inner{
  max-width:var(--max-w);
  margin:0 auto;
  padding:0 ;
  height:var(--nav-h);
  display:flex;
  align-items:center;
  gap:24px;
}

/* Logo */
.logo{flex-shrink:0;display:flex;align-items:center}
.logo img{
  height:80px;width:auto;
  transition:filter .35s var(--ease);
}
/* 透明状态下 logo 加白色投影保持可读性 */

.logo-fallback{
  display:none;
  align-items:center;
  font-family:var(--font-head);
  font-size:20px;
  font-weight:800;
  letter-spacing:.06em;
  color:#fff;
  transition:color .35s var(--ease);
}
.logo-fallback strong{color:#fff;margin-left:4px}
.header.is-white .logo-fallback{color:var(--c-teal)}
.header.is-white .logo-fallback strong{color:var(--c-red)}

/* Nav list */
.nav{flex:1;display:flex;justify-content:center}
.nav-list{display:flex;align-items:center;gap:2px}

.nav-link{
  display:flex;align-items:center;gap:4px;
  padding:8px 10px;
  font-family:var(--font-head);
  font-size:12.5px;
  font-weight:600;
  color:rgba(255,255,255,.92);   /* 默认透明导航：白色文字 */
  border-radius:var(--radius);
  transition:color .35s var(--ease),background var(--trans);
  position:relative;white-space:nowrap;
}
/* 白色导航状态：深色文字 */
.header.is-white .nav-link{color:var(--c-dark)}
.nav-link::after{
  content:'';position:absolute;bottom:2px;left:10px;right:10px;
  height:2px;background:var(--c-red);
  transform:scaleX(0);transform-origin:center;
  transition:transform .25s var(--ease);
}
.nav-link:hover{color:var(--c-red)}
.nav-link:hover::after{transform:scaleX(1)}

.chevron{width:9px;height:6px;flex-shrink:0;transition:transform .25s var(--ease)}

/* Dropdown */
.has-dropdown{position:relative}
.has-dropdown:hover .chevron{transform:rotate(180deg)}
.dropdown{
  position:absolute;top:calc(100% + 6px);left:0;
  min-width:190px;
  background:#fff;
  border-radius:6px;
  box-shadow:var(--shadow-lg);
  border-top:3px solid var(--c-red);
  padding:8px 0;
  opacity:0;visibility:hidden;
  transform:translateY(-8px);
  transition:opacity var(--trans),visibility var(--trans),transform var(--trans);
  z-index:10;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
  opacity:1;visibility:visible;transform:translateY(0)
}
.dropdown li a{
  display:block;padding:10px 20px;
  font-size:13px;font-weight:500;
  color:var(--c-dark);   /* 始终深色，不继承父级白色 */
  transition:background var(--trans),padding-left var(--trans),color var(--trans);
}
.dropdown li a:hover{background:var(--c-light);color:var(--c-red);padding-left:28px}

/* Actions */
.nav-actions{display:flex;align-items:center;gap:4px;flex-shrink:0;margin-left:auto}
.btn-icon{
  display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;
  background:none;border:none;border-radius:50%;
  color:rgba(255,255,255,.92);   /* 默认白色（透明导航） */
  transition:background .35s var(--ease),color .35s var(--ease);
}
.header.is-white .btn-icon{color:var(--c-dark)}
.btn-icon svg{width:18px;height:18px}
.btn-icon:hover{background:rgba(255,255,255,.15);color:#fff}
.header.is-white .btn-icon:hover{background:var(--c-light);color:var(--c-red)}

/* Hamburger */
.hamburger{
  display:none;flex-direction:column;justify-content:center;gap:5px;
  width:40px;height:40px;
  background:none;border:none;border-radius:var(--radius);
  padding:8px;
}
.hamburger span{
  display:block;width:22px;height:2px;
  background:rgba(255,255,255,.92);   /* 默认白色 */
  border-radius:2px;
  transition:transform .3s var(--ease),opacity .3s,background .35s var(--ease);
}
.header.is-white .hamburger span{background:var(--c-dark)}
.hamburger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.is-open span:nth-child(2){opacity:0;transform:scaleX(0)}
.hamburger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Search bar */
.search-bar{
  overflow:hidden;
  max-height:0;
  border-top:1px solid transparent;
  background:#fff;
  transition:max-height .35s var(--ease),border-color .35s;
}
.search-bar.is-open{
  max-height:72px;
  border-top-color:var(--c-border);
}
.search-bar-inner{
  max-width:var(--max-w);margin:0 auto;padding:14px 28px;
  display:flex;align-items:center;gap:12px;
}
.search-bar-inner>svg{width:18px;height:18px;flex-shrink:0;color:var(--c-gray)}
.search-input{
  flex:1;border:none;background:none;
  font-family:var(--font-body);font-size:15px;color:var(--c-dark);
  outline:none;
}
.search-input::placeholder{color:var(--c-gray)}
.search-close{
  background:none;border:none;
  color:var(--c-gray);padding:4px;
  transition:color var(--trans);
}
.search-close svg{width:18px;height:18px}
.search-close:hover{color:var(--c-red)}

/* Main offset — 导航悬浮在 Hero 上方，无需偏移 */
main{padding-top:0}


/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;align-items:flex-end;
  overflow:hidden;
}
.hero-bg{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  object-position:center;
}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(0,0,0,.05) 40%,rgba(0,0,0,.35) 100%);
}


/* ============================================================
   HERO BAND（视频下方独立说明带）
   ============================================================ */
.hero-band{
  background:var(--c-teal);
  padding:100px 0;
}
.hero-band-inner{
  max-width:760px;
  margin:0 auto;
  text-align:center;
}
.hero-band-inner p{
  color:rgba(255,255,255,.88);
  font-size:15.5px;
  line-height:1.9;
  margin-bottom:32px;
}
/* 胶囊形下载按钮 */
.btn-band{
  background:var(--c-maroon);
  border-color:var(--c-maroon);
  color:#fff;
  border-radius:50px;
  padding:14px 36px;
  font-size:12.5px;
  letter-spacing:.1em;
  overflow:hidden;
  perspective:500px;
}
/* 取消 .btn 默认的上移 + 阴影 */
.btn-band:hover{
  transform:none;
  box-shadow:none;
  background:var(--c-maroon);
  border-color:var(--c-maroon);
}

/* 翻转容器 */
.flip-wrap{
  display:block;
  position:relative;
  line-height:1;
}
/* 正面：向上翻出，同步淡出 */
.flip-front{
  display:block;
  transform-origin:center top;
  transition:transform .2s ease-in, opacity .15s ease-in;
}
/* 背面：初始不可见，正面离场后再翻入 */
.flip-back{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  transform-origin:center bottom;
  transform:rotateX(90deg);
  opacity:0;
  /* 延迟 .16s（等正面基本消失）才开始出现和翻入 */
  transition:transform .22s ease-out .16s, opacity 0s linear .16s;
}
.btn-band:hover .flip-front{
  transform:rotateX(-90deg);
  opacity:0;
}
.btn-band:hover .flip-back{
  transform:rotateX(0deg);
  opacity:1;
}


/* ============================================================
   BLENDS — 横向滑动卡片
   ============================================================ */
.blends-section{background:#fff}

/* 视口：限制 1280px 居中 */
.blends-viewport{
  overflow:hidden;
  max-width:1280px;
  margin:0 auto;
  padding:4px 0px 8px;
}

/* 可滚动轨道 */
.blends-track{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
  -ms-overflow-style:none;
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
  -webkit-user-drag:none;
  touch-action:pan-y;
  padding-bottom:4px;
}
.blends-track::-webkit-scrollbar{display:none}
.blends-track.is-grabbing{cursor:grabbing;scroll-behavior:auto}

/* 副标题 eyebrow */
.blends-eyebrow{
  font-family:var(--font-head);
  font-size:11px;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;
  color:var(--c-gray);
  margin-bottom:8px;
}

/* 单张卡片：宽 308px，高度 = 图片(308px) + 名称 */
.blend-card{
  flex:0 0 308px;
  width:308px;
  cursor:pointer;
  transition:transform .3s var(--ease);
}
.blend-card:hover{
  transform:translateY(-5px);
}

/* 图片容器：308×308，圆角 16px */
.blend-img{
  width:308px;
  height:308px;
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:box-shadow .3s var(--ease);
}
.blend-card:hover .blend-img{
  box-shadow:var(--shadow-md);
}
.blend-img img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .45s var(--ease);
}
.blend-card:hover .blend-img img{transform:scale(1.06)}

/* 名称：图片下方，深色普通文字 */
.blend-name{
  margin-top:14px;
  font-family:var(--font-head);
  font-size:14px;font-weight:500;
  text-align:center;
  color:var(--c-dark);
  letter-spacing:.02em;
}

/* 细长自定义滚动条 */
.blends-scrollbar{
  margin-top:20px;
  padding:10px 0;   /* 扩大可点击区域 */
}
.blends-sb-track{
  position:relative;
  height:3px;
  background:var(--c-border);
  border-radius:3px;
  cursor:pointer;
}
.blends-sb-thumb{
  position:absolute;
  top:0;left:0;
  height:100%;
  background:var(--c-teal);
  border-radius:3px;
  cursor:grab;
  transition:background .2s;
}
.blends-sb-thumb:hover,
.blends-sb-thumb.is-dragging{
  background:var(--c-teal-dark);
  cursor:grabbing;
}


/* ============================================================
   TRAINING DAYS
   ============================================================ */
.training-section{
  position:relative;
  min-height:480px;
  display:flex;align-items:center;
  overflow:hidden;
  padding:80px 0;
}
.training-bg{
  position:absolute;inset:0;
  background-size:cover;background-position:center 35%;
  will-change:transform;
}
.training-overlay{
  position:absolute;inset:0;
}
.training-section .container{position:relative;z-index:1}
.training-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:center;
}
.training-title{
  font-family:var(--font-head);
  font-size:clamp(40px,5vw,64px);
  font-weight:900;
  color:#fff;
  line-height:1.05;
}
.training-body p{
  color:rgba(255,255,255,.85);
  font-size:15px;line-height:1.85;
  margin-bottom:28px;
}


/* ============================================================
   美蒂石MAC
   ============================================================ */

.mac-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}
.mac-card{
  background:var(--c-teal);
  padding:52px 48px;
  border-radius:8px;
  color:#fff;
}
.eyebrow{
  display:block;
  font-family:var(--font-head);
  font-size:10.5px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;
  color:rgba(255,255,255,.55);
  margin-bottom:10px;
}
.mac-card h2{
  font-family:var(--font-head);
  font-size:clamp(28px,3.5vw,38px);font-weight:800;
  color:#fff;margin-bottom:4px;
}
.mac-subtitle{
  font-size:13px;color:rgba(255,255,255,.6);
  font-style:italic;margin-bottom:24px;
}
.mac-card p{
  color:rgba(255,255,255,.82);
  font-size:14px;line-height:1.85;
  margin-bottom:18px;
}

/* Diagram */
.mac-diagram{
  display:flex;align-items:flex-start;gap:24px;
}
.diagram-wrap{
  flex:1;min-width:0;
}
.diagram-wrap img{width:100%}
.diagram-fallback{
  display:flex;flex-direction:column;gap:3px;
  border-radius:6px;overflow:hidden;
  box-shadow:var(--shadow-md);
}
.layer{
  padding:14px 18px;
  display:flex;align-items:center;
}
.layer span{color:#fff;font-family:var(--font-head);font-size:12px;font-weight:600;letter-spacing:.04em}
.diagram-labels{flex-shrink:0;padding-top:4px}
.diagram-labels ul{display:flex;flex-direction:column;gap:22px}
.diagram-labels li{
  display:flex;align-items:center;gap:10px;
  font-family:var(--font-head);font-size:12.5px;font-weight:600;
  color:var(--c-dark);white-space:nowrap;
}
.dot{
  display:inline-block;width:10px;height:10px;
  border-radius:50%;background:var(--c-teal);flex-shrink:0;
}


/* ============================================================
   BROCHURES
   ============================================================ */

.brochures-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:center;
}
.brochures-img img{
  max-width:632px;
}
.brochures-text h2{
  font-family:var(--font-head);
  font-size:clamp(30px,4vw,44px);font-weight:800;
  color:#fff;line-height:1.15;margin-bottom:18px;
}
.brochures-text p{
  color:rgba(255,255,255,.78);
  font-size:15px;margin-bottom:32px;
  line-height:1.75;
}
.brochures-btns{display:flex;flex-direction:column;gap:14px;max-width:300px}


/* ============================================================
   BECOME AN INSTALLER
   ============================================================ */
.installer-section{
  position:relative;
  min-height:600px;
  display:flex;align-items:center;
  overflow:hidden;
}
.installer-bg{
  position:absolute;inset:0;
  background-size:cover;background-position:center 40%;
  will-change:transform;
}
.installer-overlay{
  position:absolute;inset:0;
}
.installer-content{
  position:relative;z-index:1;width:100%;
  padding:80px 0;text-align:center;
}
.installer-content h2{
  font-family:var(--font-head);
  font-size:clamp(30px,5vw,52px);font-weight:900;
  color:#fff;line-height:1.1;
  margin-bottom:36px;
}


/* ============================================================
   VURION
   ============================================================ */
.vurion-section{background:#fff}
.vurion-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-radius:10px;
  overflow:hidden;
  box-shadow:var(--shadow-lg);
}
.vurion-img{
  overflow:hidden;
  min-height:420px;
}
.vurion-img img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .6s var(--ease);
}
.vurion-grid:hover .vurion-img img{transform:scale(1.04)}
.vurion-info{
  background:var(--c-teal-dark);
  display:flex;align-items:center;
}
.vurion-info .reveal{width:100%}
.vurion-info .reveal{padding:52px 48px;color:#fff}
.vurion-logo{height:38px;margin-bottom:20px}
.vurion-info h3{
  font-family:var(--font-head);
  font-size:clamp(22px,3vw,32px);font-weight:800;
  letter-spacing:.08em;color:#fff;
  margin-bottom:18px;
}
.vurion-info p{
  color:rgba(255,255,255,.78);
  font-size:14.5px;line-height:1.85;
  margin-bottom:28px;
}


/* ============================================================
   LATEST PROJECTS
   ============================================================ */
.projects-section{background:var(--c-light)}
.projects-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.project-card{
  display:block;
  background:#fff;border-radius:16px;
  overflow:hidden;box-shadow:var(--shadow-sm);
  cursor:pointer;
  color:inherit;
  text-decoration:none;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.project-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
.project-img{
  aspect-ratio:4/4;overflow:hidden;position:relative;
}
.project-img img{
  width:100%;height:100%;object-fit:cover;
  transition:transform .45s var(--ease);
}
.project-card:hover .project-img img{transform:scale(1.07)}
.project-tag{
  position:absolute;top:14px;left:14px;
  background:var(--c-red);color:#fff;
  font-family:var(--font-head);font-size:10px;font-weight:700;letter-spacing:.07em;
  text-transform:uppercase;
  padding:4px 10px;border-radius:3px;
}
.project-body{padding:22px 24px}
.project-installer{
  display:block;
  font-family:var(--font-head);font-size:11px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;
  color:var(--c-teal);margin-bottom:6px;
}
.project-body h4{
  font-family:var(--font-head);font-size:16px;font-weight:700;
  margin-bottom:6px;line-height:1.3;
}
.project-address{
  display:flex;
  align-items:center;
  gap:4px;
  font-size:12px;
  color:var(--c-gray);
  margin-bottom:6px;
}
.project-body p{font-size:13px;color:var(--c-gray);line-height:1.65}


/* ============================================================
   STAMPEDE / SOCIAL
   ============================================================ */
.stampede-section{background:var(--c-teal-dark)}
.stampede-inner{text-align:center}
.stampede-inner h2{
  font-family:var(--font-head);
  font-size:clamp(28px,4vw,44px);font-weight:900;
  color:#fff;margin-bottom:16px;
}
.stampede-inner>p{
  color:rgba(255,255,255,.72);
  font-size:15px;line-height:1.85;
  max-width:580px;margin:0 auto 44px;
}
.social-icons{
  display:flex;justify-content:center;gap:14px;
  margin-bottom:36px;
}
.social-icon{
  display:flex;align-items:center;justify-content:center;
  width:54px;height:54px;border-radius:50%;
  background:rgba(255,255,255,.1);color:#fff;
  transition:background var(--trans),transform .2s var(--ease);
}
.social-icon:hover{background:rgba(255,255,255,.22);transform:translateY(-3px)}
.social-icon svg{width:22px;height:22px}
.follow-label{
  font-family:var(--font-head);font-size:18px;font-weight:700;
  color:#fff;margin-bottom:10px;
}
.ig-label{color:rgba(255,255,255,.5);font-size:14px}


/* ============================================================
   FOOTER
   ============================================================ */
.footer{background:var(--c-maroon)}

.footer-top{padding:68px 0 52px}
.footer-grid{
  display:grid;
  grid-template-columns:1.8fr 1fr 1fr 1.8fr;
  gap:48px;
}

.footer-logo{height:46px;margin-bottom:20px}
.footer-logo-text{
  font-family:var(--font-head);font-size:18px;font-weight:800;
  letter-spacing:.06em;color:#fff;margin-bottom:20px;
}
.footer-brand address{
  font-size:13px;color:rgba(255,255,255,.58);
  line-height:1.9;margin-bottom:24px;
}
.footer-brand address a{color:rgba(255,255,255,.58)}
.footer-brand address a:hover{color:#fff}

.footer-social{display:flex;gap:10px}
.footer-social-icon{
  display:flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.12);color:#fff;
  transition:background var(--trans),transform .2s var(--ease);
}
.footer-social-icon:hover{background:rgba(255,255,255,.25);transform:translateY(-2px)}
.footer-social-icon svg{width:15px;height:15px}

.footer-heading{
  font-family:var(--font-head);font-size:12px;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;
  color:#fff;margin-bottom:20px;
}
.footer-nav li{margin-bottom:10px}
.footer-nav a{
  font-size:13px;color:rgba(255,255,255,.58);
  transition:color var(--trans),padding-left var(--trans);
  display:inline-block;
}
.footer-nav a:hover{color:#fff;padding-left:5px}

.footer-sub-text{
  font-size:13px;color:rgba(255,255,255,.55);
  line-height:1.75;margin-bottom:18px;
}
.newsletter-form{display:flex;flex-direction:column;gap:10px}
.newsletter-input{
  padding:11px 16px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2);
  border-radius:var(--radius);
  font-family:var(--font-body);font-size:13px;
  color:#fff;outline:none;
  transition:border-color var(--trans),background var(--trans);
}
.newsletter-input::placeholder{color:rgba(255,255,255,.38)}
.newsletter-input:focus{
  border-color:rgba(255,255,255,.5);
  background:rgba(255,255,255,.15);
}
.newsletter-msg{
  font-size:12px;color:rgba(255,255,255,.65);
  min-height:18px;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding:20px 0;
}
.footer-bottom .container{
  display:flex;align-items:center;
  justify-content:space-between;flex-wrap:wrap;gap:12px;
}
.footer-bottom p{font-size:12px;color:rgba(255,255,255,.38)}
.footer-legal{display:flex;gap:20px}
.footer-legal a{font-size:12px;color:rgba(255,255,255,.38);transition:color var(--trans)}
.footer-legal a:hover{color:rgba(255,255,255,.75)}


/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .65s var(--ease),transform .65s var(--ease);
}
.reveal.in-view{
  opacity:1;transform:translateY(0);
}
.brochures-text.reveal.in-view{  background: var(--c-teal-mid);padding: 6.4rem 4rem;border-radius:16px;}
/* stagger siblings automatically */
.projects-grid .reveal:nth-child(2){transition-delay:.1s}
.projects-grid .reveal:nth-child(3){transition-delay:.2s}


/* ============================================================
   PARALLAX HELPER
   ============================================================ */
.parallax-bg{will-change:transform}


/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media(max-width:1024px){
  .nav-link{padding:8px 8px;font-size:12px}
  .mac-grid,
  .brochures-grid,
  .training-inner{grid-template-columns:1fr;gap:40px}
  .training-title{font-size:44px}
  .mac-diagram{justify-content:center}
  .vurion-grid{grid-template-columns:1fr}
  .vurion-img{min-height:320px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px}
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media(max-width:768px){
  :root{--nav-h:64px}


.productlist-hero {margin:18px !important;}

.homeowners-hero{min-height:30vh !important;    margin-top: 65px !important;}


  .hamburger{display:flex}
  .logo img{
    height: 60px;
    padding: 5px 0px;
  }
  .brochures-img img{width: 100%;}
  .header{padding: 0 18px;}
  .nav{
    position:fixed;top:var(--nav-h);left:0;right:0;
    background:#fff;
    flex-direction:column;align-items:stretch;
    border-top:1px solid var(--c-border);
    box-shadow:var(--shadow-md);
    max-height:0;overflow:hidden;
    transition:max-height .38s var(--ease);
    z-index:800;
  }
  .nav.is-open{max-height:600px}
  .nav-list{flex-direction:column;align-items:stretch;gap:0}
  .nav-link{padding:13px 24px;border-radius:0;font-size:14px}
  .nav-link::after{display:none}
  .dropdown{
    position:static;box-shadow:none;border:none;
    opacity:1;visibility:visible;transform:none;
    background:var(--c-light);border-left:3px solid var(--c-red);
    margin:0 24px;border-radius:0;
    max-height:0;overflow:hidden;padding:0;
    transition:max-height .3s var(--ease);
  }
  .has-dropdown.is-open .dropdown{max-height:300px;padding:6px 0}
  .has-dropdown.is-open .chevron{transform:rotate(180deg)}

  .hero{min-height:50svh}
  .hero-band{padding:36px 0}
  .hero-band-inner p{font-size:14px}

  .blends-viewport{padding:4px 18px 8px}

  .training-inner{grid-template-columns:1fr;gap:24px}
  .training-title{font-size:36px}

  .installer-content h2{font-size:30px}

  .projects-grid{grid-template-columns:1fr}

  .brochures-grid{grid-template-columns:1fr;gap: 0px;}
  .brochures-img{display:flex;justify-content:center}
  .brochures-btns{max-width:100%}

  .footer-grid{grid-template-columns:1fr}
  .footer-legal{flex-wrap:wrap;gap:12px}
  .section-header{flex-direction:column;align-items:flex-start}
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media(max-width:480px){
  .container{padding:0 18px}
  .section-pad{padding:56px 0}
  .hero-band{padding:28px 0}
  .hero-band-inner p{font-size:13.5px}
  .mac-card{padding:36px 28px}
  .brochures-text h2{font-size:28px}
  .stampede-inner h2{font-size:26px}
  .training-title{font-size:30px}
  .social-icon{width:46px;height:46px}
  .social-icon svg{width:18px;height:18px}
  section.brochures-section.section-pad{padding:0 0 56px}
  #listp{margin-top: 76px;}
}


/* ============================================================
   PRODUCT LIST PAGE
   ============================================================ */
.productlist-hero{
  position:relative;
  padding:80px 0;
  text-align:center;
  margin-top:var(--nav-h);
  overflow:hidden;
}
.productlist-hero-bg{
  position:absolute;inset:0;
  background-size:cover;
  background-position:center;
  max-width:var(--max-w);
  margin:55px auto 50px;
  border-radius:16px;
}
.productlist-hero-bg::after{
  content:'';
  position:absolute;inset:0;
  background:rgba(29,24,24,.2);
  border-radius:16px;
}
.productlist-hero-overlay{
  position:absolute;inset:0;
}
.productlist-hero .container{position:relative;z-index:1}
.productlist-hero h1{
  font-family:var(--font-head);
  font-size:clamp(24px,3.5vw,36px);
  font-weight:800;
  color:#fff;
  margin-bottom:10px;
}
.productlist-hero .breadcrumb{
  font-size:13px;
  color:rgba(255,255,255,.5);
}
.productlist-hero .breadcrumb a{color:rgba(255,255,255,.7)}
.productlist-hero .breadcrumb a:hover{color:#fff}

/* 列表标题 */
.productlist-title{
  text-align:center;
  padding: 8px 0 18px;
  border-bottom: 1px solid rgba(223, 223, 223);
  margin-bottom: 25px;
}
.productlist-title h2{
  font-family:var(--font-head);
  font-size:clamp(20px,2.5vw,26px);
  font-weight:700;
  color:var(--c-dark);
}

/* 网格：4列，5行 = 20条/页 */
.productlist-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px 24px;
  padding:0 0 60px;
}
.productlist-grid .blend-card{
  width:100%;
  flex:none;
}
.productlist-grid .blend-img{
  width:100%;
  height:auto;
  aspect-ratio:1/1;
}

/* ============================================================
   HOMEOWNERS PAGE
   ============================================================ */
.homeowners-hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  margin-top: 110px;
}
.homeowners-hero-bg{
  position:absolute;inset:0;
  background-size:cover;
  background-position:center;
}
.homeowners-hero-overlay{
  position:absolute;inset:0;
}
.homeowners-hero-content{
  position:relative;z-index:1;
  text-align:center;
  padding:120px 0 80px;
}
.homeowners-hero-content h1{
  font-family:var(--font-head);
  font-size:clamp(28px,4.5vw,52px);
  font-weight:900;
  color:#fff;
  line-height:1.15;
  margin-bottom:24px;
}
.homeowners-hero-sub{
  font-size:clamp(15px,2vw,19px);
  color:rgba(255,255,255,1);
  line-height:1.75;
  max-width:680px;
  margin:0 auto 36px;
}

/* 好处卡片网格 */
.benefits-section{background:#fff}
.benefits-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.benefit-card{
  border-radius:12px;
  overflow:hidden;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.benefit-card:hover{transform:translateY(-6px);}
.benefit-img{
  overflow:hidden;
  }
.benefit-img img{
  width:40%;height:40%;object-fit:cover;
  transition:transform .45s var(--ease);
  margin: 30px auto 0px;
}
.benefit-card:hover .benefit-img img{transform:scale(1.06)}
.benefit-card h3{
  font-family:var(--font-head);
  font-size:15px;font-weight:700;
  padding:20px 20px 0;
  text-align: center;
}
.benefit-card p{
  padding:10px 20px 24px;
  font-size:13.5px;
  color:var(--c-gray);
  line-height:1.8;
}
@media(max-width:1024px){.benefits-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.benefits-grid{grid-template-columns:1fr}}

/* 加入网络 */

.join-section .section-header{justify-content:center}
.join-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
}
.join-eyebrow{
  font-family:var(--font-head);
  font-size:11px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;
  color:rgba(255,255,255,.5);
  margin-bottom:6px;
}
.join-text{
  background:var(--c-teal-mid);
  border-radius:16px;
  padding:70px;
}
.join-text h3{
  font-family:var(--font-head);
  font-size:clamp(22px,3vw,30px);
  font-weight:800;
  color:#fff;
  margin-bottom:16px;
}
.join-text p{
  font-size:14.5px;
  color:rgba(255,255,255,.78);
  line-height:1.85;
  margin-bottom:14px;
}
.join-text .btn-band{margin-top:12px}
.join-img{
  align-self:stretch;
  position:relative;
  min-height:320px;
  border-radius:16px;
  overflow:hidden;
}
.join-img img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.join-video video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;display:block;border-radius:16px}

/* ============================================================
   DOWNLOADS
   ============================================================ */
.downloads-section{background:var(--c-white)}
.downloads-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.download-card{
  border:4px solid #005A7A;
  border-radius:12px;
  padding:28px 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.download-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.download-card__header{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}
.download-card__header svg{
  width:50px;
  height:50px;
  flex-shrink:0;
  fill:none;
  stroke:var(--c-teal);
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.download-card__header h3{
  font-family:var(--font-head);
  font-size:16px;
  font-weight:700;
  color:var(--c-teal-mid);
}
.download-card__link{
  text-decoration: underline;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 24px;
  color:var(--c-teal-mid);
  border-radius:50px;
  font-family:var(--font-head);
  font-size:16px;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  transition:background var(--trans);
}
.download-card__link:hover{}
@media(max-width:1024px){.downloads-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.downloads-grid{grid-template-columns:1fr}}
@media(max-width:768px){
  .join-grid{grid-template-columns:1fr;gap:32px}
}

/* 联系表单 */
.contact-section{
  background:#821832;
  padding:80px 0;
}
.contact-form-wrap{
  max-width:720px;
  margin:0 auto;
  text-align:center;
}
.contact-eyebrow{
  font-family:var(--font-head);
  font-size:11px;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;
  color:rgba(255,255,255,.5);
  margin-bottom:8px;
}
.contact-form-wrap h2{
  font-family:var(--font-head);
  font-size:clamp(24px,3.5vw,34px);
  font-weight:800;
  color:#fff;
  margin-bottom:12px;
}
.contact-desc{
  color:rgba(255,255,255,.7);
  font-size:15px;
  margin-bottom:36px;
}
.contact-form{text-align:left}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.form-group{margin-bottom:18px}
.form-group label{
  display:block;
  font-size:13px;font-weight:600;
  color:rgba(255,255,255,.85);
  margin-bottom:6px;
}
.form-group input,
.form-group textarea{
  width:100%;
  padding:12px 16px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2);
  border-radius:var(--radius);
  font-family:var(--font-body);
  font-size:14px;
  color:#fff;
  outline:none;
  transition:border-color var(--trans),background var(--trans);
}
.form-group input::placeholder,
.form-group textarea::placeholder{color:rgba(255,255,255,.38)}
.form-group input:focus,
.form-group textarea:focus{
  border-color:rgba(255,255,255,.5);
  background:rgba(255,255,255,.15);
}
.form-captcha{
  display:flex;
  gap:12px;
  align-items:center;
}
.form-captcha input{flex:1}
.form-captcha img{
  height:44px;
  border-radius:var(--radius);
  cursor:pointer;
}
.contact-form .btn-band{
  width:100%;
  margin-top:8px;
  background: var(--c-teal-mid);
}
@media(max-width:640px){
  .form-row{grid-template-columns:1fr}
  .contact-section{padding:56px 0}
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro-section{background:#fff}
.about-intro-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}
.about-intro-img{
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow-lg);
}
.about-intro-img img{width:100%;height:100%;object-fit:cover}
.about-intro-text h2{
  font-family:var(--font-head);
  font-size:clamp(26px,3.5vw,36px);
  font-weight:800;
  margin-bottom:16px;
}
.about-intro-text>p{
  color:var(--c-gray);
  font-size:15px;line-height:1.85;
  margin-bottom:14px;
}
.about-features{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:24px;
}
.about-feature{
  display:flex;align-items:center;gap:12px;
  padding:14px 16px;
  background:var(--c-light);
  border-radius:8px;
}
.about-feature-icon{flex-shrink:0;color:var(--c-teal)}
.about-feature strong{
  display:block;
  font-family:var(--font-head);
  font-size:20px;font-weight:700;
  color:var(--c-dark);line-height:1.2;
}
.about-feature span{font-size:13px;color:var(--c-gray)}
.about-mission{
  position:relative;
  padding:100px 0;
  overflow:hidden;
}
.about-mission-bg{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
}
.about-mission-overlay{
  position:absolute;inset:0;
  background:rgba(0,86,118,.85);
}
.about-mission .container{position:relative;z-index:1}
.about-mission-inner{text-align:center;max-width:640px;margin:0 auto}
.about-mission-inner .blends-eyebrow{color:rgba(255,255,255,.5)}
.about-mission-inner h2{
  font-family:var(--font-head);
  font-size:clamp(26px,4vw,40px);font-weight:800;
  color:#fff;margin-bottom:20px;
}
.about-mission-inner>p{
  color:rgba(255,255,255,.78);
  font-size:16px;line-height:1.9;
}
.about-values{background:var(--c-light)}
.values-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.value-card{
  background:#fff;
  border-radius:12px;
  padding:36px 28px;
  box-shadow:var(--shadow-sm);
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.value-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md)}
.value-icon{
  width:56px;height:56px;
  display:flex;align-items:center;justify-content:center;
  border-radius:12px;
  background:rgba(0,86,118,.08);
  color:var(--c-teal);
  margin-bottom:18px;
}
.value-card h3{
  font-family:var(--font-head);
  font-size:16px;font-weight:700;
  margin-bottom:10px;
}
.value-card p{font-size:14px;color:var(--c-gray);line-height:1.75}
.about-cta{
  background:var(--c-teal-dark);
  padding:80px 0;
  text-align:center;
}
.about-cta-inner h2{
  font-family:var(--font-head);
  font-size:clamp(24px,3.5vw,36px);
  font-weight:800;color:#fff;
  margin-bottom:12px;
}
.about-cta-inner>p{color:rgba(255,255,255,.7);font-size:15px;margin-bottom:32px}
.about-cta-btns{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}

@media(max-width:1024px){
  .values-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:768px){
  .about-intro-grid{grid-template-columns:1fr;gap:32px}
  .about-features{grid-template-columns:1fr}
  .about-mission{padding:60px 0}
  .values-grid{grid-template-columns:1fr;gap:16px}
  .value-card{padding:28px 22px}
  .about-cta{padding:56px 0}
}

/* 案例列表网格：3列 */
.caselist-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px 24px;
  padding:0 0 20px;
}
.caselist-grid .project-card{height:100%}

/* 分页 */
.pagination{
  display:flex;
  justify-content:center;
  gap:8px;
  padding:0 0 60px;
}
.pagination a,
.pagination span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:40px;
  padding:0 10px;
  border-radius:var(--radius);
  font-family:var(--font-head);
  font-size:13px;
  font-weight:600;
  border:1px solid var(--c-border);
  color:var(--c-dark);
  transition:background var(--trans),color var(--trans),border-color var(--trans);
}
.pagination a:hover{background:var(--c-teal);color:#fff;border-color:var(--c-teal)}
.pagination .current{background:var(--c-teal);color:#fff;border-color:var(--c-teal)}
.pagination .disabled{color:var(--c-gray);pointer-events:none}

@media(max-width:1024px){
  .productlist-grid{grid-template-columns:repeat(3,1fr);gap:20px}
  .caselist-grid{grid-template-columns:repeat(2,1fr);gap:20px}
  .productlist-hero{padding:60px 0}
  .productlist-hero-bg{margin:35px auto 30px}
}
@media(max-width:768px){
  .productlist-grid{grid-template-columns:repeat(2,1fr);gap:16px}
  .caselist-grid{grid-template-columns:1fr;gap:16px}
  .productlist-hero{padding:48px 0}
  .productlist-hero-bg{max-width:100%;margin:20px 0;border-radius:0}
  .productlist-hero-bg::after{border-radius:0;border-radius: 16px;}
  .productlist-hero h1{font-size:clamp(18px,4vw,28px)}
  .productlist-hero .breadcrumb{font-size:12px}
  .productlist-title{padding:0}
  .productlist-title h2{font-size:clamp(16px,3vw,22px)}
}
@media(max-width:480px){
  .productlist-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .productlist-hero{padding:36px 0}
  .productlist-hero-bg{margin:10px 0; border-radius: 16px;}
  .productlist-hero h1{font-size:20px}
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section{background:#fff}
.faq-section .section-header{justify-content:center}
.faq-list{max-width:860px;margin:0 auto}
.faq-item{border-bottom:1px solid var(--c-border)}
.faq-q{
  display:flex;justify-content:space-between;align-items:center;
  padding:22px 0;
  cursor:pointer;
  font-family:var(--font-head);font-size:16px;font-weight:700;
  user-select:none;
  transition:color .2s;
}
.faq-q:hover{color:var(--c-teal)}
.faq-icon{
  flex-shrink:0;
  width:14px;height:14px;
  position:relative;
  transition:transform .4s var(--ease);
}
.faq-icon::before,.faq-icon::after{
  content:'';
  position:absolute;
  background:var(--c-teal);
  transition:transform .4s var(--ease);
}
.faq-icon::before{
  top:50%;left:0;
  width:100%;height:1px;
  margin-top:-1px;
}
.faq-icon::after{
  top:0;left:50%;
  width:1px;height:100%;
  margin-left:0px;
}
.faq-item.open .faq-icon{transform:rotate(135deg)}
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .45s var(--ease);
}
.faq-a p{
  padding:0 0 22px;
  font-size:14.5px;color:var(--c-gray);line-height:1.9;
}

/* ============================================================
   ABOUT INTRO — centered rich text
   ============================================================ */
.about-intro-center{background:var(--c-white)}
.about-intro-center__inner{text-align:center;max-width:800px;margin:0 auto}
.about-intro-center__heading{
  font-family:var(--font-head);
  font-size:clamp(26px,3.5vw,36px);
  font-weight:800;
  margin-bottom:20px;
  color:var(--c-dark);
}
.about-intro-center__text{
  font-size:16px;
  color:var(--c-gray);
  line-height:1.9;
  max-width:720px;
  margin:0 auto;
}

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.product-section{background:var(--c-white)}

.product-detail{width:100%}

.product__outer{
  display:flex;
  flex-direction:column;
  gap:1.6rem;
  flex-wrap:wrap;
  padding-top:1.2rem;
  align-items:flex-start;
}
@media(min-width:750px){
  .product__outer{align-items:flex-start}
}
@media(min-width:990px){
  .product__outer{
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:flex-start;
    gap:3.2rem;
    margin:0 auto;
  }
}
@media(min-width:1200px){
  .product__outer{gap:4rem}
}
@media(min-width:1440px){
  .product__outer{gap:5.2rem}
}

/* ---- Breadcrumb ---- */
.product__breadcrumb{
  font-size:13px;
  color:var(--c-gray);
  margin-bottom:1.2rem;
}
.product__breadcrumb a{color:var(--c-gray);transition:color var(--trans)}
.product__breadcrumb a:hover{color:var(--c-teal)}
.product__breadcrumb span{color:var(--c-dark)}
.product__breadcrumb--mobile{
  display:flex;
  justify-content:center;
  margin-bottom:1.6rem;
}
@media(min-width:990px){
  .product__breadcrumb--mobile{display:none}
}
.product__breadcrumb--desktop{
  display:none;
  margin-bottom:1.6rem;
}
@media(min-width:990px){
  .product__breadcrumb--desktop{display:flex}
}

/* ---- Left: Gallery ---- */
.product__gallery{
  width:100%;
  flex-shrink:0;
  order:-1;
}
@media(min-width:750px){
  .product__gallery{width:50.5rem}
}
@media(min-width:990px){
  .product__gallery{
    width:50%;
    position:sticky;
    top:calc(var(--nav-h) + .8rem);
    height:fit-content;
  }
}
@media(min-width:1200px){
  .product__gallery{width:50%;margin-top: 110px;}
}

.product__gallery-main{
  width:100%;
  border-radius:12px;
  overflow:hidden;
  position:relative;
}
.product__media-wrap{
  width:100%;
  padding-bottom:100%;
  position:relative;
  overflow:hidden;
  border-radius:12px;
  background:var(--c-light);
}
.product__media-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Swiper pagination */
.product__pagination{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:1.6rem;
}
.product__pagination .swiper-pagination-bullet{
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(0,86,118,.25);
  border:none;
  cursor:pointer;
  transition:background .3s var(--ease),transform .3s var(--ease);
}
.product__pagination .swiper-pagination-bullet-active{
  background:var(--c-teal);
  transform:scale(1.3);
}

/* Thumbnails (desktop) */
.product__thumbs{
  display:none;
  gap:12px;
  margin-top:1.6rem;
}
@media(min-width:990px){
  .product__thumbs{display:flex}
}
.product__thumb{
  flex:0 0 72px;
  width:72px;
  height:72px;
  border-radius:8px;
  overflow:hidden;
  cursor:pointer;
  border:2px solid transparent;
  opacity:.5;
  transition:opacity .3s var(--ease),border-color .3s var(--ease);
}
.product__thumb.is-active{
  opacity:1;
  border-color:var(--c-teal);
}
.product__thumb:hover{opacity:.8}
.product__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ---- Right: Info ---- */
.product__info{
  width:100%;
  flex-grow:1;
  display:flex;
  flex-direction:column;
  gap:2rem;
}
@media(min-width:750px){
  .product__info{max-width:63.2rem}
}
@media(min-width:990px){
  .product__info{
    max-width:41.6rem;
    position:sticky;
    top:calc(var(--nav-h) + .8rem);
  }
}

.product__title{
  font-family:var(--font-head);
  font-size:clamp(24px,3.5vw,36px);
  font-weight:800;
  color:var(--c-dark);
  line-height:1.2;
}

.product__description.rte{
  font-size:15px;
  color:var(--c-gray);
  line-height:1.85;
}
.product__description.rte p{margin-bottom:1.4rem}
.product__description.rte img{
  max-width:100%;
  height:auto;
  border-radius:8px;
  margin:1.5rem 0;
}

.product__actions{
  padding-top:.8rem;
}
.product__cta{
  padding:14px 40px;
  font-size:13px;
}

/* ---- Swiper fallback (no-js) ---- */
.product__gallery-main .swiper-wrapper{
  display:flex;
}
.product__gallery-main .swiper-slide{
  flex:0 0 100%;
  width:100%;
}

/* ============================================================
   PRODUCT CTA BANNER (image-with-text)
   ============================================================ */
.product-cta-banner{
  position:relative;
  min-height:480px;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding:80px 0;
}
.product-cta-banner__bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
}
.product-cta-banner__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,86,118,.82);
}
.product-cta-banner .container{
  position:relative;
  z-index:1;
}
.product-cta-banner__content{
  text-align:center;
  max-width:640px;
  margin:0 auto;
}
.product-cta-banner__eyebrow{
  font-family:var(--font-head);
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
  margin-bottom:8px;
}
.product-cta-banner__heading{
  font-family:var(--font-head);
  font-size:clamp(24px,3.5vw,38px);
  font-weight:800;
  color:#fff;
  margin-bottom:16px;
}
.product-cta-banner__text{
  font-size:15px;
  color:rgba(255,255,255,.75);
  line-height:1.85;
  margin-bottom:32px;
}

/* ============================================================
   ARTICLE / CASE DETAIL
   ============================================================ */
.article-header-section{background:var(--c-white)}

.article-header{
  display:flex;
  flex-direction:column;
  gap:2.4rem;
}
@media screen and (min-width:990px){
  .article-header{
    display:grid;
    grid-template-columns:5fr 7fr;
    align-items:stretch;
    gap:4rem;
  }
}

.article-header__content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:1.6rem;
  padding:clamp(2rem,3vw,4rem);
  background:#005676;
  border-radius:12px;
}
@media screen and (min-width:750px){
  .article-header__content{gap:2rem;padding:3.2rem}
}
@media screen and (min-width:1200px){
  .article-header__content{padding:4rem}
}

.article-header__title{
  font-family:var(--font-head);
  font-size:clamp(22px,3vw,32px);
  font-weight:800;
  color:#fff;
  line-height:1.25;
}

.article-header__meta{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:1.2rem;
}
.article-header__tag{
  display:inline-block;
  background:rgba(255,255,255,.15);
  color:#fff;
  font-family:var(--font-head);
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:4px 12px;
  border-radius:3px;
}
.article-header__date{
  font-size:13px;
  color:rgba(255,255,255,.65);
}

.article-header__excerpt{
  font-size:15px;
  color:rgba(255,255,255,.78);
  line-height:1.85;
}

.article-header__image-wrapper{
  width:100%;
  aspect-ratio:1/1;
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow-md);
}
.article-header__image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* ---- Article Body ---- */
.article-body-section{background:var(--c-light)}

.article-body{
  max-width:800px;
  margin:0 auto;
  font-size:15px;
  line-height:1.95;
  color:var(--c-dark);
}
.article-body img{
  max-width:100%;
  height:auto;
  border-radius:8px;
  margin:2rem 0;
}
.article-body p{margin-bottom:1.6rem}
.article-body h2,
.article-body h3{
  font-family:var(--font-head);
  font-weight:700;
  margin:2.4rem 0 1.2rem;
  color:var(--c-dark);
}
.article-body h2{font-size:clamp(18px,2.5vw,24px)}
.article-body h3{font-size:clamp(16px,2vw,20px)}
.article-body ul,
.article-body ol{padding-left:1.5rem;margin-bottom:1.6rem}
.article-body li{margin-bottom:.5rem}
.article-body blockquote{
  border-left:4px solid var(--c-teal);
  padding:1rem 0 1rem 1.5rem;
  margin:2rem 0;
  color:var(--c-gray);
  font-style:italic;
}

/* ---- Back to list ---- */
.article-back-section{
  background:var(--c-white);
  padding:0 0 80px;
  text-align:center;
}
.article-back-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font-head);
  font-size:14px;
  font-weight:600;
  color:var(--c-teal);
  transition:color var(--trans),gap var(--trans);
}
.article-back-link:hover{
  color:var(--c-teal-dark);
  gap:12px;
}

/* ============================================================
   FULL-WIDTH IMAGE
   ============================================================ */
.fullwidth-img-section{
  width:100%;
  overflow:hidden;
}
.fullwidth-img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* ============================================================
   TIMELINE — interactive company history
   ============================================================ */
.timeline-section{background:#821832}
.timeline-section .section-title{color:#fff}
.timeline-section .section-header .btn{color:rgba(255,255,255,.75);border-color:rgba(255,255,255,.35)}
.timeline-section .section-header .btn:hover{color:#fff;border-color:#fff;background:rgba(255,255,255,.1)}
.timeline-section .section-header{margin-bottom:48px}

.timeline-wrapper{
  display:flex;
  gap:clamp(32px,5vw,80px);
  align-items:flex-start;
}

/* Left nav: sticky sidebar */
.timeline-nav{
  flex:0 0 200px;
  width:200px;
  position:sticky;
  top:calc(var(--nav-h) + 40px);
  display:flex;
  flex-direction:column;
  gap:0;
  z-index:2;
  padding:0 0 0 20px;
}
.timeline-nav__line{
  position:absolute;
  left:21px;
  top:18px;
  bottom:18px;
  width:2px;
  background:rgba(255,255,255,.15);
  border-radius:1px;
}
.timeline-nav__progress{
  position:absolute;
  left:21px;
  top:18px;
  width:2px;
  background:rgba(255,255,255,.55);
  border-radius:1px;
  transition:height .5s var(--ease);
}
.timeline-nav__item{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:16px;
  padding:36px 0 36px 16px;
  background:none;
  border:none;
  cursor:pointer;
  font-family:var(--font-head);
  font-size:13px;
  font-weight:600;
  color:rgba(255,255,255,.55);
  text-align:left;
  opacity:.5;
  transition:opacity .35s var(--ease),color .35s var(--ease);
}
.timeline-nav__item:hover,
.timeline-nav__item.is-active{
  opacity:1;
  color:#fff;
}
.timeline-nav__dot{
  position:absolute;
  left:-21px;
  top:50%;
  transform:translateY(-50%);
  width:10px;
  height:10px;
  border-radius:50%;
  background:transparent;
  border:2px solid rgba(255,255,255,.3);
  transition:border-color .35s var(--ease),background .35s var(--ease),box-shadow .35s var(--ease);
}
.timeline-nav__item.is-active .timeline-nav__dot{
  border-color:#fff;
  background:#fff;
  box-shadow:0 0 0 4px rgba(255,255,255,.15);
}
.timeline-nav__label{white-space:nowrap}

/* Right content panels */
.timeline-content{
  flex:1;
  min-width:0;
}
.timeline-panel{
  display:flex;
  flex-direction:column;
  gap:24px;
  padding:0 0 80px;
  opacity:.25;
  transition:opacity .6s var(--ease);
}
.timeline-panel.is-visible{
  opacity:1;
}
.timeline-panel:first-child{padding-top:0}
.timeline-panel:last-child{padding-bottom:0}
.timeline-panel__img{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  border-radius:12px;
  overflow:hidden;
  background:var(--c-light);
  box-shadow:var(--shadow-sm);
}
.timeline-panel__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s var(--ease);
}
.timeline-panel.is-visible .timeline-panel__img img{
  transform:scale(1.03);
}
.timeline-panel__body{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.timeline-panel__heading{
  font-family:var(--font-head);
  font-size:clamp(18px,2.5vw,22px);
  font-weight:700;
  color:#fff;
  line-height:1.3;
}
.timeline-panel__desc{
  font-size:15px;
  color:rgba(255,255,255,.72);
  line-height:1.85;
  max-width:600px;
}

/* Mobile timeline: show year label above each panel */
.timeline-panel__year-label{
  display:none;
  font-family:var(--font-head);
  font-size:13px;
  font-weight:700;
  color:var(--c-teal);
  letter-spacing:.04em;
}

@media(max-width:990px){
  .timeline-wrapper{flex-direction:column;gap:32px}
  .timeline-nav{
    display:none;
  }
  .timeline-panel{
    opacity:1;
    gap:16px;
    padding:0 0 40px;
    border-left:2px solid rgba(255,255,255,.35);
    padding-left:24px;
    position:relative;
  }
  .timeline-panel::before{
    content:'';
    position:absolute;
    left:-7px;
    top:0;
    width:12px;
    height:12px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 0 0 4px rgba(255,255,255,.15);
  }
  .timeline-panel__year-label{
    display:block;
    margin-bottom:4px;
    color:rgba(255,255,255,.7);
  }
  .timeline-panel__img{aspect-ratio:16/9}
  .timeline-panel__desc{font-size:14px;color:rgba(255,255,255,.65)}
}
