/* ==========================================================================
   EV Charging summary / landing page — /products/ev-charging/
   Page-scoped stylesheet, loaded only by page-templates/ev-charging-summary.php.
   Visual language mirrors the Solar Modules (tsm) and Solar Inverters (tsi)
   landing pages: dark gradient hero -> stats bar -> model range cards -> RFQ.
   Every selector is namespaced under .tsev-* so no other page is affected.
   ========================================================================== */

.tsev{--tsev-ink:#0b2130;--tsev-muted:#5e7180;--tsev-green:#389653;--tsev-green-dark:#23763d;--tsev-line:#dfe8ec;--tsev-soft:#f4f8f6;color:var(--tsev-ink);background:#fff}
.tsev *{box-sizing:border-box}
.tsev img{max-width:100%;display:block}
.tsev-wrap{width:min(1180px,calc(100% - 48px));margin:0 auto}
.tsev-kicker{display:flex;align-items:center;gap:10px;color:var(--tsev-green);font-weight:850;font-size:12px;letter-spacing:.16em;text-transform:uppercase}
.tsev-kicker:before{content:"";width:34px;height:2px;background:#75d597}
.tsev h1,.tsev h2,.tsev h3,.tsev p{margin-top:0}
.tsev h1{font-size:clamp(44px,5.4vw,76px);line-height:.98;letter-spacing:-.045em;margin-bottom:22px}
.tsev h2{font-size:clamp(32px,3.6vw,50px);line-height:1.04;letter-spacing:-.035em;margin-bottom:18px}
.tsev h3{font-size:22px;line-height:1.15;letter-spacing:-.02em}
.tsev p{color:var(--tsev-muted);line-height:1.75}

/* Hero */
.tsev-hero{position:relative;padding:82px 0 76px;background:linear-gradient(124deg,#061f2e 0%,#0e3944 58%,#235d55 100%);color:#fff}
.tsev-hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 22%,rgba(118,223,154,.19),transparent 34%);pointer-events:none}
.tsev-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);gap:68px;align-items:center}
.tsev-hero p{color:#d3e2e6;font-size:18px;max-width:660px}
.tsev-hero .tsev-kicker{color:#86e6a6}
.tsev-hero .tsev-kicker:before{background:#86e6a6}
.tsev-chip-row{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0}
.tsev-chip{padding:9px 13px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.08);font-size:13px;font-weight:750;color:#fff}
.tsev-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.tsev-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border-radius:10px;text-decoration:none;font-weight:850;transition:.2s ease}
.tsev-btn-primary{background:#48a960;color:#fff}
.tsev-btn-primary:hover{background:#318a49;color:#fff;transform:translateY(-1px)}
.tsev-btn-ghost{border:1px solid rgba(255,255,255,.5);color:#fff}
.tsev-btn-ghost:hover{background:#fff;color:var(--tsev-ink)}
.tsev-hero-visual{position:relative;border-radius:28px;background:#fff;padding:18px;box-shadow:0 30px 68px rgba(0,0,0,.26)}
.tsev-hero-visual img{width:100%;height:auto;object-fit:contain;border-radius:17px;background:#f4f8fa}

/* Stats */
.tsev-stats{position:relative;z-index:2;margin-top:-34px}
.tsev-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid var(--tsev-line);border-radius:18px;box-shadow:0 18px 55px rgba(12,43,54,.12);overflow:hidden}
.tsev-stat{padding:25px 28px;border-right:1px solid var(--tsev-line)}
.tsev-stat:last-child{border-right:0}
.tsev-stat b{display:block;font-size:27px;color:var(--tsev-ink);margin-bottom:5px}
.tsev-stat span{font-size:13px;color:var(--tsev-muted);font-weight:700}

/* Sections */
.tsev-section{padding:92px 0}
.tsev-section-soft{background:var(--tsev-soft)}
.tsev-section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,460px);gap:54px;align-items:end;margin-bottom:42px}
.tsev-section-head p{margin-bottom:4px}

/* Model range cards (same horizontal card as the Solar Modules landing page) */
.tsev-range-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tsev-range-card{background:#fff;border:1px solid var(--tsev-line);border-radius:17px;overflow:hidden;box-shadow:0 7px 22px rgba(8,38,51,.05);display:grid;grid-template-columns:42% 58%;min-height:292px}
.tsev-range-media{background:#edf3f3;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:16px}
.tsev-range-media img{width:100%;height:100%;max-height:240px;object-fit:contain}
.tsev-range-body{padding:19px;display:flex;flex-direction:column;min-width:0}
.tsev-range-tag{font-size:10px;letter-spacing:1.25px;font-weight:900;text-transform:uppercase;color:var(--tsev-green-dark)}
.tsev-range-body h3{font-size:18px;line-height:1.18;margin:7px 0 10px;overflow-wrap:anywhere}
.tsev-range-body h3 a{color:inherit;text-decoration:none}
.tsev-range-chips{display:flex;gap:6px;flex-wrap:wrap}
.tsev-range-chips span{font-size:10px;font-weight:800;border:1px solid #d9e3e5;background:#f5f8f8;border-radius:18px;padding:5px 8px;color:#38505d}
.tsev-range-body p{font-size:12px;color:var(--tsev-muted);margin:12px 0 14px;line-height:1.5}
.tsev-range-link{margin-top:auto;font-size:13px;font-weight:800;color:var(--tsev-green-dark);text-decoration:none}
.tsev-range-link:hover{text-decoration:underline}

/* RFQ */
.tsev-rfq{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;padding:34px;border-radius:20px;background:linear-gradient(120deg,#eaf7ee,#f8fbf9);border:1px solid #cce7d4}
.tsev-rfq h3{font-size:26px;margin-bottom:8px}
.tsev-rfq p{margin:0}

/* Range overview — numbered feature cards (V2) */
.tsev-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tsev-feature{padding:30px 28px;border:1px solid var(--tsev-line);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(12,43,54,.05)}
.tsev-feature-num{display:block;font-size:12px;font-weight:900;letter-spacing:.14em;color:var(--tsev-green-dark);margin-bottom:12px}
.tsev-feature h3{font-size:19px;margin-bottom:10px}
.tsev-feature p{margin:0;font-size:14px}

/* Technical comparison table (V2) */
.tsev-table-shell{border:1px solid var(--tsev-line);border-radius:18px;overflow-x:auto;background:#fff}
.tsev-table{width:100%;min-width:980px;border-collapse:collapse}
.tsev-table-caption{text-align:left;padding:16px 20px;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--tsev-muted);background:var(--tsev-soft);border-bottom:1px solid var(--tsev-line)}
.tsev-table th,.tsev-table td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--tsev-line);font-size:13px;vertical-align:top}
.tsev-table thead th{background:#082535;color:#fff;font-size:12.5px;font-weight:800}
.tsev-table thead th a{color:#fff;text-decoration:none}
.tsev-table thead th a:hover{text-decoration:underline}
.tsev-table tbody th{width:15%;font-weight:700;color:#3d5360;background:#fff}
.tsev-table tbody td{font-weight:700}
.tsev-table tbody tr:last-child th,.tsev-table tbody tr:last-child td{border-bottom:0}


@media(max-width:1100px){
 .tsev-hero-grid{grid-template-columns:1fr;gap:38px}
 .tsev-hero-visual{max-width:680px}
 .tsev-hero-visual img{height:auto}
 .tsev-stats-grid{grid-template-columns:1fr 1fr}
 .tsev-stat:nth-child(2){border-right:0}
 .tsev-stat:nth-child(-n+2){border-bottom:1px solid var(--tsev-line)}
 .tsev-range-card{grid-template-columns:40% 60%;min-height:250px}
 .tsev-feature-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
 .tsev-wrap{width:min(100% - 28px,1180px)}
 .tsev-hero{padding:56px 0 50px}
 .tsev-section{padding:64px 0}
 .tsev h1{font-size:42px}
 .tsev h2{font-size:34px}
 .tsev-section-head{grid-template-columns:1fr;gap:14px;margin-bottom:28px}
 .tsev-hero-visual{padding:10px;border-radius:18px}
 .tsev-hero-visual img{height:auto}
  .tsev-stats{margin-top:0}
 .tsev-stats-grid{border-radius:0;grid-template-columns:1fr}
 .tsev-stat{border-right:0;border-bottom:1px solid var(--tsev-line);padding:20px}
 .tsev-stat:last-child{border-bottom:0}
 .tsev-range-grid{grid-template-columns:1fr}
 .tsev-range-card{grid-template-columns:38% 62%;min-height:224px}
 .tsev-range-media img{max-height:170px}
 .tsev-rfq{grid-template-columns:1fr;padding:26px}
 .tsev-rfq .tsev-btn{width:100%}
}
