/*
Theme Name: Elumotive B2B
Theme URI: https://www.elumotive.com
Author: Elumotive Tech
Description: Custom B2B power-quality theme replicating www.elumotive.com — Power Quality, SVG, Transformers, EV Chargers.
Version: 1.0.0
Text Domain: elumotive
*/

:root{
  --brand:#f5701f; --brand-2:#f9a83a; --brand-dark:#e05c12;
  --red:#eb4d4d; --red-2:#f25a5a; --orange:#f5a623; --green:#25ba3b;
  --ink:#0f0f0f; --ink-2:#1a1a19; --muted:#6b6b66; --line:#ececea;
  --bg:#ffffff; --bg-soft:#faf8f7; --bg-dark:#0f0f0f;
  --radius:14px; --shadow:0 10px 30px rgba(15,15,15,.08); --shadow-lg:0 20px 50px rgba(15,15,15,.14);
  --maxw:1240px;
  --font-head:"Barlow Condensed",system-ui,sans-serif;
  --font-body:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --font-mono:"Space Mono",ui-monospace,monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body);color:var(--ink);background:var(--bg);line-height:1.6;font-size:16px;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand);text-decoration:none;transition:.2s}
a:hover{color:var(--brand-dark)}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:800;line-height:1.1;letter-spacing:.5px;color:var(--ink);margin:0 0 .5em}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.eyebrow{font-family:var(--font-mono);font-size:13px;letter-spacing:3px;text-transform:uppercase;color:var(--brand);font-weight:700;margin-bottom:12px;display:block}
.section{padding:90px 0}
.section--soft{background:var(--bg-soft)}
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 28px;border-radius:10px;font-weight:600;font-size:15px;cursor:pointer;border:0;transition:.2s;font-family:var(--font-body)}
.btn--primary{background:var(--brand);color:#fff}
.btn--primary:hover{background:var(--brand-dark);color:#fff;transform:translateY(-2px);box-shadow:0 10px 24px rgba(245,112,31,.38)}
.btn--ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.5)}
.btn--ghost:hover{background:#fff;color:var(--brand)}
.btn--dark{background:var(--ink);color:#fff}
.btn--dark:hover{background:#000;color:#fff}

/* ===== Header ===== */
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:88px}
.brand{display:flex;align-items:center}
.brand-logo{display:block;width:auto}
.brand-logo--full{height:62px}
.brand-logo--mark{height:56px;display:none}
.main-nav ul{display:flex;gap:30px;list-style:none;margin:0;padding:0}
.main-nav a{color:var(--ink-2);font-weight:600;font-size:15px}
.main-nav a:hover{color:var(--brand)}
.header-cta{display:flex;align-items:center;gap:14px}
.nav-toggle{display:none;background:none;border:0;font-size:26px;cursor:pointer;color:var(--ink)}

/* ===== Hero ===== */
.hero{position:relative;min-height:88vh;display:flex;align-items:center;color:#fff;overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:100%;object-fit:cover}
.hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(20,18,16,.86) 0%,rgba(20,18,16,.55) 55%,rgba(20,18,16,.3) 100%)}
.hero-inner{position:relative;z-index:2;max-width:760px;padding:60px 0}
.hero h1{font-size:clamp(40px,6vw,76px);color:#fff;margin-bottom:20px}
.hero h1 .accent{color:var(--brand-2)}
.hero p{font-size:19px;color:rgba(255,255,255,.9);margin-bottom:32px;max-width:600px}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap}

/* ===== Stats ===== */
.stats{background:var(--brand);color:#fff}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;padding:54px 0}
.stat{text-align:center}
.stat .num{font-family:var(--font-mono);font-size:46px;font-weight:700;line-height:1}
.stat .label{font-size:14px;opacity:.9;margin-top:8px;text-transform:uppercase;letter-spacing:1px}

/* ===== Section heads ===== */
.sec-head{text-align:center;max-width:760px;margin:0 auto 56px}
.sec-head h2{font-size:clamp(30px,4vw,46px)}
.sec-head.left{text-align:left;margin-left:0}

/* ===== Product lines (3 cards) ===== */
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.line-card{position:relative;border-radius:var(--radius);overflow:hidden;min-height:380px;display:flex;align-items:flex-end;color:#fff;box-shadow:var(--shadow)}
.line-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.5s}
.line-card:hover img{transform:scale(1.07)}
.line-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,18,16,.92),rgba(20,18,16,.15))}
.line-card .lc-body{position:relative;z-index:2;padding:30px}
.line-card h3{color:#fff;font-size:26px;margin-bottom:10px}
.line-card p{font-size:14px;opacity:.9;margin-bottom:14px}
.line-card .lc-link{color:#fff;font-weight:700;font-family:var(--font-mono);font-size:13px;letter-spacing:1px}

/* ===== Featured products ===== */
.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.prod-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.25s;display:flex;flex-direction:column}
.prod-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:transparent}
.prod-card .pc-img{aspect-ratio:1/1;background:var(--bg-soft);overflow:hidden}
.prod-card .pc-img img{width:100%;height:100%;object-fit:cover}
.prod-card .pc-body{padding:20px;display:flex;flex-direction:column;flex:1}
.prod-card .pc-cat{font-family:var(--font-mono);font-size:11px;letter-spacing:1px;color:var(--brand);text-transform:uppercase;margin-bottom:8px}
.prod-card h3{font-size:17px;line-height:1.3;margin-bottom:10px;font-family:var(--font-body);font-weight:700}
.prod-card p{font-size:13px;color:var(--muted);flex:1;margin-bottom:14px}
.prod-card .pc-link{font-weight:700;font-size:14px;color:var(--brand)}

/* ===== Why us ===== */
.why-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:50px;align-items:center}
.why-list{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:24px}
.why-item h4{font-family:var(--font-body);font-size:16px;margin-bottom:6px;color:var(--ink)}
.why-item p{font-size:14px;color:var(--muted);margin:0}
.why-media{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-lg)}

/* ===== Applications ===== */
.app-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.app-card{position:relative;border-radius:var(--radius);overflow:hidden;min-height:240px;display:flex;align-items:flex-end;color:#fff}
.app-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.5s}
.app-card:hover img{transform:scale(1.06)}
.app-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(20,18,16,.9),transparent 70%)}
.app-card .ac-body{position:relative;z-index:2;padding:22px}
.app-card h4{color:#fff;font-family:var(--font-body);font-size:18px;margin-bottom:4px}
.app-card p{font-size:13px;opacity:.9;margin:0}

/* ===== Specs ===== */
.specs{background:var(--bg-dark);color:#fff}
.specs .sec-head h2{color:#fff}
.specs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,255,255,.1);border-radius:var(--radius);overflow:hidden}
.spec{background:var(--bg-dark);padding:34px 28px}
.spec .sv{font-family:var(--font-mono);font-size:34px;font-weight:700;color:var(--brand-2)}
.spec .sk{font-weight:700;margin:8px 0 4px;font-family:var(--font-body)}
.spec .sd{font-size:13px;opacity:.7}

/* ===== OEM ===== */
.oem-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:40px}
.oem-item{text-align:center;padding:30px 18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.oem-item .ico{font-size:38px;margin-bottom:14px}
.oem-item h4{font-family:var(--font-body);font-size:16px;margin-bottom:6px}
.oem-item p{font-size:13px;color:var(--muted);margin:0}

/* ===== Certs ===== */
.certs{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin-top:30px}
.cert{padding:12px 26px;background:var(--bg-soft);border:1px solid var(--line);border-radius:50px;font-weight:700;font-family:var(--font-mono);font-size:13px;letter-spacing:1px;color:var(--ink-2)}

/* ===== CTA ===== */
.cta{background:linear-gradient(120deg,var(--brand),var(--brand-dark));color:#fff;text-align:center}
.cta h2{color:#fff;font-size:clamp(30px,4vw,48px)}
.cta p{font-size:18px;opacity:.92;max-width:600px;margin:0 auto 30px}
.cta .hero-actions{justify-content:center}

/* ===== Footer ===== */
.site-footer{background:var(--bg-dark);color:rgba(255,255,255,.75);padding:70px 0 30px}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:40px;margin-bottom:40px}
.footer-grid h4{color:#fff;font-family:var(--font-body);font-size:15px;text-transform:uppercase;letter-spacing:1px;margin-bottom:18px}
.footer-grid ul{list-style:none;padding:0;margin:0}
.footer-grid li{margin-bottom:10px}
.footer-grid a{color:rgba(255,255,255,.7);font-size:14px}
.footer-grid a:hover{color:#fff}
.footer-logo{display:inline-block;margin-bottom:18px}
.footer-logo img{height:58px;width:auto;display:block}
.footer-brand p{font-size:14px;max-width:300px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:13px;opacity:.7}

/* ===== Page / content ===== */
.page-hero{background:var(--bg-dark);color:#fff;padding:80px 0 60px;text-align:center}
.page-hero h1{color:#fff;font-size:clamp(34px,5vw,56px)}
.page-hero p{opacity:.85;max-width:640px;margin:10px auto 0}
.content-area{padding:70px 0;max-width:860px}
.content-area h2{font-size:30px;margin-top:1.5em}
.content-area img{border-radius:var(--radius);margin:1.5em 0}
.breadcrumb{font-size:13px;color:var(--muted);margin-bottom:20px;font-family:var(--font-mono)}

/* ===== News / blog ===== */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.news-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.25s}
.news-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.news-card .nc-img{aspect-ratio:16/10;overflow:hidden;background:var(--bg-soft)}
.news-card .nc-img img{width:100%;height:100%;object-fit:cover}
.news-card .nc-body{padding:22px}
.news-card .nc-date{font-family:var(--font-mono);font-size:12px;color:var(--brand);margin-bottom:8px}
.news-card h3{font-size:18px;font-family:var(--font-body);margin-bottom:10px;line-height:1.35}
.news-card p{font-size:14px;color:var(--muted);margin:0}

/* ===== Inquiry form ===== */
.inq-wrap{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}
.inq-form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:36px;box-shadow:var(--shadow)}
.inq-form .fld{margin-bottom:18px}
.inq-form label{display:block;font-weight:600;font-size:14px;margin-bottom:6px}
.inq-form input,.inq-form textarea,.inq-form select{width:100%;padding:13px 15px;border:1.5px solid var(--line);border-radius:10px;font-size:15px;font-family:var(--font-body)}
.inq-form input:focus,.inq-form textarea:focus{outline:none;border-color:var(--brand)}
.inq-info .ico-row{display:flex;gap:14px;margin-bottom:22px;align-items:flex-start}
.inq-info .ico-row .ic{width:46px;height:46px;border-radius:12px;background:var(--bg-soft);display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.alert-ok{background:#e7f7ec;border:1px solid var(--green);color:#1d7a32;padding:14px;border-radius:10px;margin-bottom:20px}

/* ===== Responsive ===== */
@media(max-width:980px){
  .main-nav{display:none}
  .nav-toggle{display:block}
  .stats-grid,.cards-3,.prod-grid,.app-grid,.specs-grid,.oem-grid,.news-grid{grid-template-columns:1fr 1fr}
  .why-grid,.inq-wrap{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .section{padding:60px 0}
}
@media(max-width:600px){
  .stats-grid,.cards-3,.prod-grid,.app-grid,.specs-grid,.oem-grid,.news-grid,.footer-grid{grid-template-columns:1fr}
  .hero{min-height:80vh}
  .why-list{grid-template-columns:1fr}
  /* 位置不够：页头改用简写 SET logo */
  .brand-logo--full{display:none}
  .brand-logo--mark{display:block}
}

/* ===== Language Switcher (GTranslate) ===== */
.lang-switcher{display:flex;align-items:center}
.lang-switcher .gt-current-lang{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--ink-2);cursor:pointer;padding:6px 10px;border-radius:8px;border:1.5px solid var(--line);background:#fff;transition:.2s}
.lang-switcher .gt-current-lang:hover{border-color:var(--brand);color:var(--brand)}
.lang-switcher select{padding:6px 10px;border:1.5px solid var(--line);border-radius:8px;font-size:14px;font-family:var(--font-body);background:#fff;cursor:pointer;color:var(--ink-2)}
.lang-switcher select:focus{outline:none;border-color:var(--brand)}
/* GTranslate flag widget override */
.goog-te-gadget{font-size:0!important}
.goog-te-gadget .goog-te-combo{padding:6px 10px;border:1.5px solid var(--line);border-radius:8px;font-size:14px;font-family:var(--font-body)!important;color:var(--ink-2);background:#fff;cursor:pointer;margin:0!important}
.goog-logo-link,.goog-te-gadget span{display:none!important}
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf{display:none!important}
/* GTranslate inline flags widget */
.gt_switcher_wrapper{display:flex;align-items:center;gap:6px}
.gt_switcher_wrapper a{display:flex;align-items:center;gap:4px;font-size:13px;color:var(--ink-2);text-decoration:none;padding:4px 8px;border-radius:6px;transition:.15s}
.gt_switcher_wrapper a:hover{background:var(--bg-soft);color:var(--brand)}
.gt_switcher_wrapper img{width:20px;height:14px;object-fit:cover;border-radius:2px}
@media(max-width:980px){
  .lang-switcher{display:none}
}
