/* ============================================================
   Yangzhou Zhongjiao Electric Co., Ltd. — Overseas English Site
   Style: B2B industrial, navy + gold, clean & trustworthy
   ThinkCMF-ready: shared stylesheet for all templates
   ============================================================ */

/* ---------- Design tokens ---------- */
:root{
  --navy:#0B2447;          /* primary deep navy */
  --navy-2:#14345F;        /* lighter navy */
  --navy-3:#1D4477;        /* hover navy */
  --gold:#C9A24B;          /* industrial gold accent */
  --gold-dark:#A98436;
  --gold-light:#E6CE8D;
  --bg:#F5F7FA;            /* page background */
  --white:#FFFFFF;
  --ink:#16232F;           /* main text */
  --muted:#5C6B7A;         /* secondary text */
  --line:#E3E9EF;          /* hairline */
  --green:#1F9D63;         /* success / signal green */
  --red:#D64545;
  --radius:8px;
  --shadow:0 6px 24px rgba(11,36,71,.08);
  --shadow-lg:0 14px 40px rgba(11,36,71,.14);
  --container:1200px;
  --font:"Barlow","Segoe UI",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;
}

/* ---------- Reset & base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font);
  font-size:16px;line-height:1.7;color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{font-family:inherit;cursor:pointer;border:none;background:none}
input,select,textarea{font-family:inherit;font-size:1rem}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}

::selection{background:var(--gold);color:var(--navy)}

/* ---------- Typography ---------- */
h1,h2,h3,h4{line-height:1.25;color:var(--navy);font-weight:700}
.section{padding:84px 0}
.section--gray{background:var(--bg)}
.section--navy{background:var(--navy);color:#C9D4E4}
.section--navy h2{color:#fff}
.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:.82rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--gold);margin-bottom:14px;
}
.eyebrow::before{content:"";width:34px;height:2px;background:var(--gold)}
.section-head{max-width:640px;margin-bottom:44px}
.section-head h2{font-size:2rem;margin-bottom:12px}
.section-head p{color:var(--muted)}
.section-head--center{margin-left:auto;margin-right:auto;text-align:center}
.section-head--center .eyebrow{justify-content:center}
.section-head--center .eyebrow::after{content:"";width:34px;height:2px;background:var(--gold)}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 26px;border-radius:var(--radius);
  font-weight:600;font-size:.95rem;line-height:1.2;
  transition:all .2s ease;white-space:nowrap;
}
.btn--gold{background:var(--gold);color:var(--navy)}
.btn--gold:hover{background:var(--gold-light);transform:translateY(-1px)}
.btn--navy{background:var(--navy);color:#fff}
.btn--navy:hover{background:var(--navy-3);transform:translateY(-1px)}
.btn--outline{border:1.5px solid rgba(255,255,255,.7);color:#fff;background:transparent}
.btn--outline:hover{background:#fff;color:var(--navy)}
.btn--ghost{border:1.5px solid var(--navy);color:var(--navy);background:transparent}
.btn--ghost:hover{background:var(--navy);color:#fff}
.btn--lg{padding:15px 34px;font-size:1.02rem}
.btn svg{width:18px;height:18px;flex:none}

/* ---------- Top bar ---------- */
.topbar{background:var(--navy);color:#B9C7D9;font-size:.85rem}
.topbar__inner{display:flex;align-items:center;justify-content:space-between;min-height:40px;gap:16px}
.topbar__left,.topbar__right{display:flex;align-items:center;gap:22px}
.topbar a{display:inline-flex;align-items:center;gap:7px;transition:color .2s}
.topbar a:hover{color:#fff}
.topbar svg{width:14px;height:14px;color:var(--gold)}
.topbar__lang{display:flex;align-items:center;gap:8px;border-left:1px solid rgba(255,255,255,.18);padding-left:18px}
.topbar__lang a{font-weight:600;color:#fff}
.topbar__lang .sep{opacity:.4}

/* ---------- Header / Nav ---------- */
.header{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 2px 12px rgba(11,36,71,.06)}
.header__inner{display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:24px}
.brand{display:flex;align-items:center;gap:12px}
/* .brand__logo{width:46px;height:46px;flex:none}
.brand__logo svg{width:100%;height:100%} */
.brand__logo{height:55px;flex:none;display:flex}
.brand__logo img{height:100%;width:auto;mix-blend-mode:multiply}
.brand__name{line-height:1.15}
.brand__name strong{display:block;font-size:1.12rem;font-weight:700;color:var(--navy);letter-spacing:.02em}
.brand__name span{display:block;font-size:.68rem;color:var(--muted);letter-spacing:.14em;text-transform:uppercase}

.nav{display:flex;align-items:center;gap:6px}
.nav > li{position:relative}
.nav > li > a{
  display:flex;align-items:center;gap:5px;padding:10px 15px;
  font-weight:600;font-size:.95rem;color:var(--ink);border-radius:6px;
  transition:all .2s;
}
.nav > li > a:hover{color:var(--navy);background:var(--bg)}
.nav > li.active > a{color:var(--navy)}
.nav > li.active > a::after{content:"";position:absolute;left:15px;right:15px;bottom:2px;height:3px;border-radius:3px;background:var(--gold)}
.nav .caret{width:12px;height:12px;transition:transform .2s}
.nav > li:hover .caret{transform:rotate(180deg)}
.nav__drop{
  position:absolute;top:100%;left:0;min-width:250px;padding:10px;margin-top:6px;
  background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow-lg);
  opacity:0;visibility:hidden;transform:translateY(8px);transition:all .22s ease;z-index:50;
}
.nav > li:hover .nav__drop{opacity:1;visibility:visible;transform:translateY(0)}
.nav__drop a{display:block;padding:9px 14px;border-radius:6px;font-size:.92rem;color:var(--ink);transition:all .15s}
.nav__drop a:hover{background:var(--bg);color:var(--navy);padding-left:18px}

.header__actions{display:flex;align-items:center;gap:14px}
.header__wa{
  display:inline-flex;align-items:center;gap:9px;padding:10px 18px;border-radius:50px;
  background:var(--green);color:#fff;font-weight:600;font-size:.9rem;transition:all .2s;
}
.header__wa:hover{background:#178F57;transform:translateY(-1px)}
.header__wa svg{width:18px;height:18px}
.nav-toggle{display:none;width:44px;height:44px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:8px}
.nav-toggle svg{width:22px;height:22px;stroke:var(--navy)}

/* ---------- Mobile nav ---------- */
.mobile-nav{
  position:fixed;inset:0;z-index:200;background:#fff;
  transform:translateX(-100%);transition:transform .3s ease;display:flex;flex-direction:column;
}
.mobile-nav.open{transform:translateX(0)}
.mobile-nav__head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line)}
.mobile-nav__close{width:42px;height:42px;display:flex;align-items:center;justify-content:center}
.mobile-nav__close svg{width:22px;height:22px}
.mobile-nav__list{flex:1;overflow-y:auto;padding:16px 22px 40px}
.mobile-nav__list > li{border-bottom:1px solid var(--line)}
.mobile-nav__list > li > a{display:flex;align-items:center;justify-content:space-between;padding:16px 0;font-weight:600;font-size:1.05rem;color:var(--ink)}
.mobile-nav__list .sub{display:none;padding:0 0 14px}
.mobile-nav__list .sub.open{display:block}
.mobile-nav__list .sub a{display:block;padding:9px 0 9px 16px;color:var(--muted);font-size:.95rem;border-left:2px solid var(--line)}
.mobile-nav__list .sub a:first-child{margin-top:4px}
.mobile-nav__foot{padding:20px 22px;border-top:1px solid var(--line)}
.mobile-nav__foot .btn{width:100%}

/* ---------- Hero slider ---------- */
.hero{position:relative;height:min(640px,78vh);min-height:460px;overflow:hidden;background:var(--navy)}
.hero__slide{
  position:absolute;inset:0;opacity:0;transition:opacity .9s ease;visibility:hidden;
}
.hero__slide.active{opacity:1;visibility:visible}
.hero__slide img{width:100%;height:100%;object-fit:cover}
/* .hero__slide::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(11,36,71,.88) 0%,rgba(11,36,71,.55) 45%,rgba(11,36,71,.18) 100%);
} */
.hero__content{position:absolute;inset:0;z-index:2;display:flex;align-items:center}
.hero__text{max-width:620px}
.hero__text .tag{
  display:inline-block;padding:6px 16px;border-radius:50px;margin-bottom:20px;
  background:rgba(201,162,75,.16);border:1px solid rgba(201,162,75,.5);
  color:var(--gold-light);font-size:.82rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
}
/* .hero__text h1{color:#fff;font-size:clamp(2rem,4.2vw,3.2rem);font-weight:700;margin-bottom:18px;line-height:1.16}
.hero__text p{color:#D7E1EE;font-size:1.08rem;margin-bottom:30px;max-width:520px} */
.hero__text h1{color:#fff;font-size:clamp(2rem,4.2vw,3.2rem);font-weight:700;margin-bottom:18px;line-height:1.16;text-shadow:0 2px 14px rgba(11,36,71,.55)}
.hero__text p{color:#fff;font-size:1.08rem;margin-bottom:30px;max-width:520px;text-shadow:0 1px 10px rgba(11,36,71,.6)}
.hero__btns{display:flex;gap:14px;flex-wrap:wrap}
.hero__dots{position:absolute;bottom:28px;left:0;right:0;z-index:3;display:flex;justify-content:center;gap:10px}
.hero__dots button{width:34px;height:4px;border-radius:4px;background:rgba(255,255,255,.35);transition:all .3s}
.hero__dots button.active{background:var(--gold);width:52px}
.hero__arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff;transition:all .2s;
}
.hero__arrow:hover{background:var(--gold);border-color:var(--gold);color:var(--navy)}
.hero__arrow--prev{left:24px}
.hero__arrow--next{right:24px}
.hero__arrow svg{width:20px;height:20px}

/* ---------- Quick stats strip ---------- */
.stats-strip{background:var(--navy);color:#fff;position:relative;z-index:5;margin-top:-1px}
.stats-strip__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.08)}
.stat{display:flex;align-items:center;gap:18px;padding:34px 30px;background:var(--navy)}
.stat__num{font-size:2.3rem;font-weight:800;color:var(--gold);line-height:1;font-variant-numeric:tabular-nums}
.stat__num small{font-size:1.15rem;margin-left:2px}
.stat__label{color:#B9C7D9;font-size:.9rem;margin-top:6px}

/* ---------- Advantage cards ---------- */
.adv-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.adv-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:30px 26px;transition:all .25s ease;position:relative;overflow:hidden;
}
.adv-card::before{content:"";position:absolute;left:0;top:0;height:4px;width:0;background:var(--gold);transition:width .3s}
.adv-card:hover{box-shadow:var(--shadow);transform:translateY(-4px);border-color:#CBD8E6}
.adv-card:hover::before{width:100%}
.adv-card__icon{
  width:58px;height:58px;border-radius:12px;background:rgba(11,36,71,.06);
  display:flex;align-items:center;justify-content:center;margin-bottom:20px;
}
.adv-card__icon svg{width:30px;height:30px;stroke:var(--navy)}
.adv-card h3{font-size:1.08rem;margin-bottom:10px}
.adv-card p{font-size:.92rem;color:var(--muted)}

/* ---------- Product cards ---------- */
.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.prod-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  transition:all .25s ease;display:flex;flex-direction:column;
}
.prod-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-5px);border-color:#C7D4E2}
.prod-card__img{position:relative;aspect-ratio:4/4.6;overflow:hidden;background:var(--bg)}
.prod-card__img img{width:100%;height:100%;object-fit:contain;transition:transform .4s ease;padding:14px}
.prod-card:hover .prod-card__img img{transform:scale(1.05)}
.prod-card__cat{
  position:absolute;top:12px;left:12px;padding:4px 12px;border-radius:50px;
  background:rgba(11,36,71,.82);color:#fff;font-size:.72rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
}
.prod-card__body{padding:18px 18px 20px;display:flex;flex-direction:column;flex:1}
.prod-card__body h3{font-size:1rem;margin-bottom:8px;line-height:1.35}
.prod-card__body h3 a:hover{color:var(--navy-3)}
.prod-card__body p{font-size:.86rem;color:var(--muted);flex:1;margin-bottom:16px}
.prod-card__foot{display:flex;align-items:center;justify-content:space-between;gap:10px}
.prod-card__more{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.88rem;color:var(--navy)}
.prod-card__more svg{width:15px;height:15px;transition:transform .2s}
.prod-card__more:hover svg{transform:translateX(4px)}
.prod-card__quote{font-size:.8rem;font-weight:600;color:var(--gold-dark)}

/* ---------- Solution / service cards ---------- */
.sol-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.sol-card{position:relative;border-radius:var(--radius);overflow:hidden;min-height:340px;display:flex;align-items:flex-end}
.sol-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.sol-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,36,71,.05) 30%,rgba(11,36,71,.85) 100%)}
.sol-card:hover img{transform:scale(1.06)}
.sol-card__body{position:relative;z-index:2;padding:26px;color:#fff}
.sol-card__body h3{color:#fff;font-size:1.16rem;margin-bottom:8px}
.sol-card__body p{font-size:.88rem;color:#C9D4E4;margin-bottom:14px}
.sol-card__link{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:.9rem;color:var(--gold-light)}
.sol-card__link svg{width:15px;height:15px}

/* ---------- Case cards ---------- */
.case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.case-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:all .25s ease}
.case-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.case-card__img{position:relative;aspect-ratio:16/9.5;overflow:hidden}
.case-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.case-card:hover .case-card__img img{transform:scale(1.06)}
.case-card__body{padding:22px 24px}
.case-card__meta{display:flex;gap:16px;font-size:.78rem;color:var(--muted);margin-bottom:10px}
.case-card__meta span{display:inline-flex;align-items:center;gap:6px}
.case-card__meta svg{width:13px;height:13px;color:var(--gold)}
.case-card__body h3{font-size:1.06rem;margin-bottom:10px;line-height:1.4}
.case-card__body p{font-size:.88rem;color:var(--muted);margin-bottom:14px}
.case-card__more{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.88rem;color:var(--navy)}
.case-card__more svg{width:15px;height:15px}

/* ---------- News cards ---------- */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.news-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:all .25s ease;display:flex;flex-direction:column}
.news-card:hover{box-shadow:var(--shadow);transform:translateY(-4px)}
.news-card__img{aspect-ratio:16/10;overflow:hidden;background:var(--bg)}
.news-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.news-card:hover .news-card__img img{transform:scale(1.06)}
.news-card__body{padding:20px 22px;display:flex;flex-direction:column;flex:1}
.news-card__date{display:inline-flex;align-items:center;gap:7px;font-size:.8rem;color:var(--muted);margin-bottom:10px}
.news-card__date svg{width:14px;height:14px;color:var(--gold)}
.news-card__body h3{font-size:1rem;margin-bottom:8px;line-height:1.45}
.news-card__body h3 a:hover{color:var(--navy-3)}
.news-card__body p{font-size:.87rem;color:var(--muted);flex:1;margin-bottom:14px}
.news-card__more{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:.85rem;color:var(--navy)}
.news-card__more svg{width:14px;height:14px}

/* ---------- News list (list page) ---------- */
.news-list{display:flex;flex-direction:column;gap:22px}
.news-row{
  display:grid;grid-template-columns:270px 1fr;gap:26px;background:#fff;
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:all .25s ease;
}
.news-row:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.news-row__img{min-height:190px;overflow:hidden}
.news-row__img img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.news-row:hover .news-row__img img{transform:scale(1.05)}
.news-row__body{padding:24px 26px 22px 0;display:flex;flex-direction:column;justify-content:center}
.news-row__date{display:inline-flex;align-items:center;gap:7px;font-size:.8rem;color:var(--muted);margin-bottom:8px}
.news-row__date svg{width:14px;height:14px;color:var(--gold)}
.news-row__body h3{font-size:1.18rem;margin-bottom:10px}
.news-row__body h3 a:hover{color:var(--navy-3)}
.news-row__body p{font-size:.9rem;color:var(--muted);margin-bottom:14px}

/* ---------- Pagination ---------- */
.pagination{display:flex;justify-content:center;gap:8px;margin-top:44px}
.pagination a,.pagination span{
  min-width:42px;height:42px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:8px;font-weight:600;font-size:.9rem;color:var(--ink);transition:all .2s;
}
.pagination a:hover{border-color:var(--navy);color:var(--navy)}
.pagination .current{background:var(--navy);color:#fff;border-color:var(--navy)}
.pagination .arrow svg{width:16px;height:16px}

/* ---------- CTA band ---------- */
.cta-band{background:linear-gradient(115deg,var(--navy) 0%,var(--navy-2) 60%,#1B4A82 100%);position:relative;overflow:hidden}
.cta-band::before{
  content:"";position:absolute;right:-80px;top:-80px;width:340px;height:340px;border-radius:50%;
  border:1px solid rgba(201,162,75,.3);
}
.cta-band::after{
  content:"";position:absolute;right:30px;top:30px;width:200px;height:200px;border-radius:50%;
  border:1px solid rgba(201,162,75,.2);
}
.cta-band__inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:64px 0;flex-wrap:wrap}
.cta-band h2{color:#fff;font-size:1.9rem;margin-bottom:10px}
.cta-band p{color:#C9D4E4;max-width:560px}
.cta-band__btns{display:flex;gap:14px;flex-wrap:wrap}

/* ---------- Page hero (inner pages) ---------- */
.page-hero{position:relative;background:var(--navy);padding:86px 0 72px;overflow:hidden}
.page-hero::before{content:"";position:absolute;inset:0;background:url('../images/banner-hero-factory.jpg') center/cover no-repeat;opacity:.28}
.page-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(11,36,71,.95) 20%,rgba(11,36,71,.72) 100%)}
.page-hero__inner{position:relative;z-index:2}
.page-hero .eyebrow{margin-bottom:12px}
.page-hero h1{color:#fff;font-size:clamp(1.8rem,3.4vw,2.6rem);margin-bottom:14px}
.page-hero p{color:#C9D4E4;max-width:640px;font-size:1.02rem}

/* ---------- Breadcrumb ---------- */
.breadcrumb{display:flex;align-items:center;gap:9px;font-size:.86rem;color:#9FB0C5;margin-top:18px;flex-wrap:wrap}
.breadcrumb a{color:#C9D4E4;transition:color .2s}
.breadcrumb a:hover{color:var(--gold-light)}
.breadcrumb svg{width:13px;height:13px;opacity:.6}
.breadcrumb .cur{color:#fff}

/* ---------- About page ---------- */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.about-media{position:relative}
.about-media img{border-radius:12px;box-shadow:var(--shadow-lg)}
.about-media video{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;box-shadow:var(--shadow-lg)}

.about-media__badge{
  position:absolute;right:-18px;bottom:-22px;background:var(--gold);color:var(--navy);
  padding:18px 24px;border-radius:10px;box-shadow:var(--shadow-lg);text-align:center;
}
.about-media__badge strong{display:block;font-size:1.6rem;font-weight:800;line-height:1.1}
.about-media__badge span{font-size:.78rem;font-weight:600;letter-spacing:.05em}
.about-copy h2{font-size:2rem;margin-bottom:18px}
.about-copy p{color:var(--muted);margin-bottom:16px}
.about-points{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0 30px}
.about-points li{display:flex;align-items:flex-start;gap:10px;font-size:.92rem;font-weight:500}
.about-points svg{width:20px;height:20px;color:var(--gold);flex:none;margin-top:2px}

/* ---------- Process / timeline ---------- */
.process{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.process-step{position:relative;padding:28px 22px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);text-align:center}
.process-step__num{
  width:52px;height:52px;margin:0 auto 16px;border-radius:50%;background:var(--navy);color:var(--gold);
  display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:800;
}
.process-step h3{font-size:1.02rem;margin-bottom:8px}
.process-step p{font-size:.85rem;color:var(--muted)}

/* ---------- Product detail ---------- */
.detail-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:52px;align-items:start}
.detail-gallery{position:sticky;top:100px}
.detail-gallery__main{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;aspect-ratio:4/4.8}
.detail-gallery__main img{width:100%;height:100%;object-fit:contain}
.detail-thumbs{display:flex;gap:12px;margin-top:14px}
.detail-thumbs button{width:76px;height:76px;border:2px solid var(--line);border-radius:8px;overflow:hidden;padding:0;background:#fff;transition:all .2s}
.detail-thumbs button.active{border-color:var(--gold)}
.detail-thumbs img{width:100%;height:100%;object-fit:contain}
.detail-info h1{font-size:1.9rem;margin-bottom:8px}
.detail-info .model{color:var(--gold-dark);font-weight:600;font-size:.95rem;letter-spacing:.04em;margin-bottom:16px}
.detail-info .desc{color:var(--muted);margin-bottom:22px}
.detail-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:26px}
.detail-tags span{
  padding:6px 14px;border-radius:50px;background:var(--bg);border:1px solid var(--line);
  font-size:.82rem;font-weight:600;color:var(--navy);
}
.detail-cta{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:24px;display:flex;flex-direction:column;gap:12px}
.detail-cta .btn{width:100%}
.detail-cta small{color:var(--muted);text-align:center;font-size:.78rem}
.spec-table{width:100%;border-collapse:collapse;table-layout:fixed;background:#fff}
.spec-table col:nth-child(1){width:34%}
.spec-table col:nth-child(2){width:66%}
.spec-table th,.spec-table td{padding:13px 18px;border:1px solid var(--line);text-align:left;font-size:.92rem}
.spec-table th{background:var(--navy);color:#fff;font-weight:600;font-size:.9rem}
.spec-table tr:nth-child(even) td{background:var(--bg)}
.spec-table td:first-child{font-weight:600;color:var(--navy)}

/* ---------- Filter tabs ---------- */
.filter-tabs{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:38px}
.filter-tabs button{
  padding:10px 24px;border-radius:50px;border:1.5px solid var(--line);
  font-weight:600;font-size:.92rem;color:var(--muted);transition:all .2s;background:#fff;
}
.filter-tabs button:hover{border-color:var(--navy);color:var(--navy)}
.filter-tabs button.active{background:var(--navy);color:#fff;border-color:var(--navy)}

/* ---------- Article / case detail ---------- */
.article{max-width:820px;margin:0 auto}
.article__head{margin-bottom:34px;text-align:center}
.article__head h1{font-size:clamp(1.7rem,3vw,2.4rem);margin-bottom:14px}
.article__meta{display:flex;justify-content:center;gap:24px;color:var(--muted);font-size:.88rem;flex-wrap:wrap}
.article__meta span{display:inline-flex;align-items:center;gap:7px}
.article__meta svg{width:15px;height:15px;color:var(--gold)}
.article__cover{border-radius:12px;overflow:hidden;margin-bottom:32px;box-shadow:var(--shadow)}
.article__cover img{width:100%}
.article__body p{color:#33424F;margin-bottom:20px}
.article__body h2{font-size:1.4rem;margin:34px 0 14px}
.article__body h3{font-size:1.15rem;margin:28px 0 10px}
.article__body ul{margin:0 0 20px;padding-left:0}
.article__body ul li{position:relative;padding-left:24px;margin-bottom:10px;color:#33424F}
.article__body ul li::before{content:"";position:absolute;left:0;top:10px;width:9px;height:9px;border-radius:2px;background:var(--gold)}
.article__body blockquote{
  border-left:4px solid var(--gold);background:var(--bg);padding:18px 22px;
  margin:24px 0;border-radius:0 8px 8px 0;color:var(--navy);font-weight:500;
}
.article__body table{width:100%;border-collapse:collapse;margin:24px 0;table-layout:fixed}
.article__body table th,.article__body table td{padding:12px 14px;border:1px solid var(--line);text-align:left;font-size:.9rem}
.article__body table th{background:var(--navy);color:#fff}
.article__foot{margin-top:40px;padding-top:24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
.article__foot a{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--navy);font-size:.92rem}
.article__foot a:hover{color:var(--gold-dark)}
.article__foot svg{width:16px;height:16px}

/* ---------- Forms ---------- */
.form-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:36px;box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.form-group{display:flex;flex-direction:column;gap:8px}
.form-group--full{grid-column:1/-1}
.form-group label{font-weight:600;font-size:.88rem;color:var(--navy)}
.form-group label .req{color:var(--red)}
.form-group input,.form-group select,.form-group textarea{
  padding:13px 16px;border:1.5px solid var(--line);border-radius:8px;background:#fff;
  color:var(--ink);transition:border-color .2s;width:100%;
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{
  outline:none;border-color:var(--gold);
}
.form-group textarea{min-height:140px;resize:vertical}
.form-note{font-size:.8rem;color:var(--muted);margin-top:14px;display:flex;align-items:center;gap:7px}
.form-note svg{width:14px;height:14px;color:var(--gold);flex:none}

/* ---------- Contact page ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:40px;align-items:start}
.contact-cards{display:flex;flex-direction:column;gap:16px}
.contact-card{display:flex;gap:16px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:22px}
.contact-card__icon{
  width:50px;height:50px;flex:none;border-radius:10px;background:rgba(11,36,71,.06);
  display:flex;align-items:center;justify-content:center;
}
.contact-card__icon svg{width:24px;height:24px;stroke:var(--navy)}
.contact-card h3{font-size:1rem;margin-bottom:4px}
.contact-card p,.contact-card a{font-size:.9rem;color:var(--muted)}
.contact-card a:hover{color:var(--navy)}
.map-wrap{border-radius:12px;overflow:hidden;border:1px solid var(--line);margin-top:60px}
.map-wrap iframe{display:block;width:100%;height:420px;border:0}
.map-card{border-radius:12px;overflow:hidden;border:1px solid var(--line);background:#fff}
.map-card iframe{display:block;width:100%;height:420px;border:0}
.map-card__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 18px;background:var(--navy);color:#C9D4E4;font-size:.85rem}
.map-card__foot a{color:var(--gold-light);font-weight:600;display:inline-flex;align-items:center;gap:6px}
.map-card__foot a:hover{color:var(--gold)}
.map-card__foot svg{width:15px;height:15px}

/* ---------- Footer ---------- */
.footer{background:var(--navy);color:#A9B8CB;margin-top:0}
.footer__top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.4fr;gap:44px;padding:68px 0 48px}
.footer__brand p{font-size:.9rem;margin:18px 0 22px;max-width:320px}
.footer__social{display:flex;gap:10px}
.footer__social a{
  width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.18);
  display:flex;align-items:center;justify-content:center;transition:all .2s;
}
.footer__social a:hover{background:var(--gold);border-color:var(--gold);color:var(--navy)}
.footer__social svg{width:17px;height:17px}
.footer h4{color:#fff;font-size:1rem;margin-bottom:20px;letter-spacing:.03em}
.footer__links li{margin-bottom:11px}
.footer__links a{display:inline-flex;align-items:center;gap:8px;font-size:.9rem;transition:all .2s}
.footer__links a:hover{color:var(--gold-light);padding-left:4px}
.footer__links svg{width:13px;height:13px;color:var(--gold)}
.footer__contact li{display:flex;gap:12px;margin-bottom:16px;font-size:.9rem}
.footer__contact svg{width:17px;height:17px;color:var(--gold);flex:none;margin-top:4px}
.footer__contact a:hover{color:var(--gold-light)}
.footer__bottom{border-top:1px solid rgba(255,255,255,.1);padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:.83rem;flex-wrap:wrap}
.footer__bottom a{color:#C9D4E4}
.footer__bottom a:hover{color:var(--gold-light)}

/* ---------- Floating WhatsApp ---------- */
.wa-float{
  position:fixed;right:22px;bottom:22px;z-index:90;
  width:58px;height:58px;border-radius:50%;background:var(--green);color:#fff;
  display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(31,157,99,.4);
  transition:all .25s ease;
}
.wa-float:hover{transform:scale(1.08)}
.wa-float svg{width:30px;height:30px}
.wa-float .pulse{position:absolute;inset:0;border-radius:50%;background:var(--green);opacity:.4;animation:waPulse 2s infinite}
@keyframes waPulse{0%{transform:scale(1);opacity:.45}70%{transform:scale(1.7);opacity:0}100%{opacity:0}}

/* ---------- Back to top ---------- */
.to-top{
  position:fixed;right:24px;bottom:92px;z-index:90;width:44px;height:44px;border-radius:50%;
  background:var(--navy);color:var(--gold);display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow);opacity:0;visibility:hidden;transition:all .3s;
}
.to-top.show{opacity:1;visibility:visible}
.to-top:hover{background:var(--navy-3)}
.to-top svg{width:18px;height:18px}

/* ---------- Toast ---------- */
.toast{
  position:fixed;left:50%;bottom:36px;transform:translateX(-50%) translateY(80px);z-index:300;
  background:var(--navy);color:#fff;padding:15px 26px;border-radius:10px;font-weight:600;font-size:.92rem;
  box-shadow:var(--shadow-lg);opacity:0;transition:all .35s ease;display:flex;align-items:center;gap:10px;max-width:90vw;
}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.toast svg{width:20px;height:20px;color:var(--gold);flex:none}

/* ---------- Reveal animation (respect reduced motion) ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s ease}
.reveal.visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  *{animation-duration:.01ms !important;transition-duration:.01ms !important}
}

/* ---------- Sidebar layout (list pages) ---------- */
.list-layout{display:grid;grid-template-columns:1fr 300px;gap:40px;align-items:start}
.sidebar{position:sticky;top:100px;display:flex;flex-direction:column;gap:26px}
.side-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px}
.side-card h3{font-size:1.02rem;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid var(--gold);display:inline-block}
.side-card__cat li{margin-bottom:4px}
.side-card__cat a{display:flex;justify-content:space-between;padding:11px 14px;border-radius:7px;font-size:.92rem;color:var(--ink);transition:all .15s}
.side-card__cat a:hover,.side-card__cat a.active{background:var(--navy);color:#fff}
.side-card__cat span{font-size:.78rem;opacity:.65}
.side-card__contact{background:var(--navy);border-color:var(--navy);color:#C9D4E4}
.side-card__contact h3{color:#fff;border-bottom-color:var(--gold)}
.side-card__contact p{font-size:.88rem;margin-bottom:16px}
.side-card__contact .btn{width:100%;margin-bottom:10px}

/* ---------- Pagination for product count ---------- */
.prod-count{color:var(--muted);font-size:.9rem;margin-bottom:22px}
.prod-count strong{color:var(--navy)}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:1024px){
  .prod-grid{grid-template-columns:repeat(3,1fr)}
  .adv-grid{grid-template-columns:repeat(2,1fr)}
  .process{grid-template-columns:repeat(2,1fr);gap:16px}
  .footer__top{grid-template-columns:1fr 1fr;gap:34px}
  .detail-grid{grid-template-columns:1fr;gap:40px}
  .detail-gallery{position:static}
}

@media (max-width:900px){
  .nav,.header__actions .header__wa{display:none}
  .nav-toggle{display:flex}
  .sol-grid,.case-grid,.news-grid{grid-template-columns:repeat(2,1fr)}
  .list-layout{grid-template-columns:1fr}
  .sidebar{position:static}
  .about-grid{grid-template-columns:1fr;gap:44px}
  .contact-grid{grid-template-columns:1fr}
}

@media (max-width:600px){
  .section{padding:60px 0}
  .prod-grid,.sol-grid,.case-grid,.news-grid{grid-template-columns:1fr}
  .adv-grid{grid-template-columns:1fr}
  .stats-strip__grid{grid-template-columns:repeat(2,1fr)}
  .stat{padding:24px 20px}
  .hero{min-height:420px}
  .hero__arrow{display:none}
  .topbar__left span{display:none}
  .topbar__inner{justify-content:center}
  .form-grid{grid-template-columns:1fr}
  .news-row{grid-template-columns:1fr}
  .news-row__body{padding:20px 22px}
  .process{grid-template-columns:1fr}
  .footer__top{grid-template-columns:1fr;padding:52px 0 36px}
  .cta-band__inner{padding:48px 0}
  .page-hero{padding:66px 0 56px}
  .about-points{grid-template-columns:1fr}
  .about-media__badge{right:8px;bottom:-18px;padding:14px 18px}
  .form-card{padding:26px 20px}
}

/* ---------- Focus visibility (a11y) ---------- */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid rgba(201,162,75,.65);outline-offset:2px;
}
.footer{position:relative}
.footer__qr{position:absolute;right:180px;bottom:170px;display:flex;flex-direction:column;align-items:center;gap:8px}
.footer__qr img{width:110px;height:110px;border-radius:8px;background:#fff;padding:6px;display:block}
.footer__qr span{font-size:.78rem;color:#8CA0B8}
@media (max-width:992px){
  .footer__qr{position:static;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:24px auto 0}
}
