@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');
/* Vihaan Technologies – new website design (preview, 01-12-2026) */
/* ACB Selector */
.cfg .steps { display:flex; gap:8px; list-style:none; padding:0; margin:0 0 26px; flex-wrap:wrap; counter-reset:s; }
.cfg .steps li { counter-increment:s; background:var(--paper); border:1px solid var(--line); border-radius:30px; padding:6px 14px; font-weight:600; font-size:14px; }
.cfg .steps li::before { content:counter(s) ". "; color:var(--green); }
.cfg .who { background:#f2fbf4; border:1px solid #cfe9d5; border-radius:10px; padding:10px 14px; font-weight:600; color:var(--green-dk); }
.series { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.sbtn { text-align:left; background:#fff; border:2px solid var(--line); border-radius:14px; padding:22px; cursor:pointer; font:inherit; }
.sbtn b { display:block; font-family:"Barlow Condensed", sans-serif; font-size:28px; color:var(--ink); }
.sbtn span { color:var(--muted); font-size:15px; }
.sbtn:hover { border-color:var(--green); }
.sbtn.on { border-color:var(--green); background:#f2fbf4; box-shadow:0 0 0 3px rgba(2,136,21,.15); }
.cgrid { display:grid; grid-template-columns:repeat(5, 1fr); gap:14px; }
.cgrid label { display:block; font-weight:600; font-size:14px; margin-bottom:4px; }
.cgrid select { width:100%; padding:11px 12px; border:1px solid #c8d3cc; border-radius:10px; font:inherit; background:#fff; }
.result { margin-top:28px; border:2px solid var(--green); border-radius:18px; padding:28px; background:linear-gradient(135deg, #f2fbf4, #fff); }
.result h2 { font-size:clamp(30px, 4vw, 46px); color:var(--green-dk); margin-bottom:4px; }
.result .spec { font-weight:700; font-size:18px; }
.result ul { margin:8px 0 14px; padding-left:20px; }
.result .small { color:var(--muted); font-size:14px; }
@media (max-width:820px) { .series { grid-template-columns:1fr; } .cgrid { grid-template-columns:1fr 1fr; } }
@media (max-width:520px) { .cgrid { grid-template-columns:1fr; } }
/* Service & Retrofit page */
.rgrid.c4 { grid-template-columns:repeat(4, 1fr); }
.rgrid.c2 { grid-template-columns:1fr 1fr; }
.why.steps5 { grid-template-columns:repeat(5, 1fr); }
@media (max-width:1000px) { .rgrid.c4, .why.steps5 { grid-template-columns:1fr 1fr; } }
@media (max-width:520px) { .rgrid.c4, .rgrid.c2, .why.steps5 { grid-template-columns:1fr; } }
/* ABB code search, hero search, price list downloads */
.cs-bar { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.cs-bar input[type=search] { flex:1 1 320px; padding:14px 16px; font:inherit; font-size:17px; border:2px solid var(--green); border-radius:12px; }
.cs-bar select { padding:13px 12px; font:inherit; border:1px solid #c8d3cc; border-radius:12px; background:#fff; max-width:100%; }
.cs-stock { font-weight:700; white-space:nowrap; }
.cs-dates { font-size:13px; color:var(--muted); margin:10px 0 0; }
.cs-info { font-weight:600; margin:12px 0; }
.cs-row { display:flex; gap:16px; justify-content:space-between; align-items:center; border:1px solid var(--line); border-radius:12px; padding:14px 18px; margin-bottom:10px; background:#fff; }
.cs-row .code { font-family:"Barlow Condensed", sans-serif; font-size:21px; }
.cs-row .cat { font-size:13px; color:var(--muted); }
.badge-stock { background:#dff5e3; color:#0b5d18; border-radius:20px; padding:2px 10px; font-size:12.5px; font-weight:700; white-space:nowrap; }
.hsearch { display:flex; gap:8px; margin-top:18px; max-width:620px; }
.hsearch input { flex:1; min-width:0; padding:13px 14px; border-radius:10px; border:0; font:inherit; }
.pl-list { list-style:none; padding:0; margin:12px 0 0; }
.pl-list li { padding:8px 0; font-weight:700; }
@media (max-width:520px) { .cs-row { flex-direction:column; align-items:flex-start; } .hsearch .btn { padding:12px 14px; } }
/* Genuine ABB spares gallery */
.gallery { display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; margin-top:22px; }
.gallery figure { margin:0; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:#fff; }
.gallery img { width:100%; height:220px; object-fit:cover; display:block; }
.gallery figcaption { padding:10px 14px; font-size:14px; font-weight:600; }
.gallery .ph div { height:220px; display:flex; align-items:center; justify-content:center; font-size:46px; background:var(--paper); color:#9aa9a0; }
@media (max-width:1000px) { .gallery { grid-template-columns:1fr 1fr; } }
@media (max-width:520px) { .gallery { grid-template-columns:1fr; } }
:root {
  --ink:#0a1410; --panel:#0f1d16; --panel2:#132a1d; --green:#028815; --green-dk:#016510; --volt:#3ddc63;
  --paper:#f5f8f6; --line:#e1e8e3; --muted:#5a6a61; --white:#fff; --amber:#ffd24a;
  --r:14px; --shadow:0 10px 30px rgba(10,20,16,.10);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; font-family:Inter, Arial, sans-serif; color:var(--ink); background:var(--white); line-height:1.65; font-size:16px; }
h1,h2,h3,h4 { font-family:"Barlow Condensed", Arial Narrow, sans-serif; line-height:1.08; margin:0 0 .45em; letter-spacing:.2px; }
h1 { font-size:clamp(38px, 6vw, 68px); font-weight:800; }
h2 { font-size:clamp(30px, 4vw, 44px); font-weight:700; }
h3 { font-size:24px; font-weight:700; }
p { margin:0 0 1em; }
a { color:var(--green); }
img { max-width:100%; display:block; }
.wrap { max-width:1200px; margin:0 auto; padding:0 16px; }
.kicker { display:inline-flex; gap:8px; align-items:center; font-weight:700; font-size:13px; letter-spacing:1.6px; text-transform:uppercase; color:var(--green); margin-bottom:12px; }
.kicker::before { content:""; width:26px; height:3px; background:currentColor; border-radius:2px; }
.dark .kicker, .hero .kicker { color:var(--volt); }
.lead { font-size:19px; color:var(--muted); max-width:760px; }
.dark .lead, .hero .lead { color:#c9d8cf; }

/* preview bar */
.pv { background:#fff7d1; color:#5a4500; font-size:13px; padding:7px 16px; text-align:center; border-bottom:1px solid #f0e2a0; }
.pv a { color:#5a4500; font-weight:700; margin:0 4px; }
.decide { background:var(--amber); color:#3d2f00; border-radius:4px; padding:0 6px; font-size:.8em; font-weight:700; font-family:Inter, sans-serif; white-space:nowrap; vertical-align:middle; }

/* top contact bar + header */
.topbar { background:var(--ink); color:#b9cbbf; font-size:13px; }
.topbar .wrap { display:flex; gap:18px; justify-content:flex-end; align-items:center; min-height:36px; flex-wrap:wrap; }
.topbar a { color:#e6f3ea; text-decoration:none; }
.topbar .sp { margin-right:auto; }
header.site { background:#fff; position:sticky; top:0; z-index:20; box-shadow:0 1px 0 var(--line); }
header.site .wrap { display:flex; align-items:center; gap:22px; min-height:76px; }
header.site .logo { flex:none; }
header.site .logo img { height:42px; width:auto; }
header.site nav { display:flex; gap:22px; font-weight:600; font-size:15px; }
header.site nav a { color:var(--ink); text-decoration:none; padding:6px 0; border-bottom:2px solid transparent; white-space:nowrap; }
header.site nav a:hover, header.site nav a.cur { color:var(--green); border-bottom-color:var(--green); }
header.site .act { margin-left:auto; display:flex; gap:10px; }
.menu-btn { display:none; margin-left:auto; background:none; border:1px solid var(--line); border-radius:8px; padding:8px 12px; font-weight:700; }

.btn { display:inline-flex; align-items:center; gap:8px; background:var(--green); color:#fff; text-decoration:none; font-weight:700; font-size:15px;
  padding:12px 22px; border-radius:10px; border:0; cursor:pointer; transition:transform .12s, background .12s; white-space:nowrap; }
.btn:hover { background:var(--green-dk); transform:translateY(-1px); }
.btn.wa { background:#25d366; color:#06331a; }
.btn.wa:hover { background:#1fbe5a; }
.btn.line { background:transparent; color:#fff; border:2px solid rgba(255,255,255,.55); }
.btn.line:hover { background:rgba(255,255,255,.1); }
.btn.dark { background:var(--ink); }
.btn.sm { padding:9px 16px; font-size:14px; }

/* hero */
.hero { position:relative; color:#fff; background:var(--ink); overflow:hidden; }
.hero::before { content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(10,20,16,.97) 0%, rgba(10,20,16,.88) 45%, rgba(10,20,16,.35) 100%),
  url("images/uploads/2025/12/vth-home5.jpg") right center/cover; }
.hero::after { content:""; position:absolute; inset:0; opacity:.13;
  background-image:linear-gradient(rgba(61,220,99,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(61,220,99,.6) 1px, transparent 1px);
  background-size:48px 48px; mask-image:linear-gradient(90deg, #000 0%, transparent 60%); -webkit-mask-image:linear-gradient(90deg, #000 0%, transparent 60%); }
.hero .wrap { position:relative; z-index:1; display:grid; grid-template-columns:1.35fr .9fr; gap:40px; align-items:center; padding-top:84px; padding-bottom:84px; }
.hero h1 span { color:var(--volt); }
.hero .btns { display:flex; gap:12px; flex-wrap:wrap; margin:26px 0 22px; }
.chips { display:flex; flex-wrap:wrap; gap:8px; }
.chips a, .chips span { font-size:14px; font-weight:600; text-decoration:none; color:#e8f5ec; border:1px solid rgba(255,255,255,.25); border-radius:30px; padding:6px 14px; background:rgba(255,255,255,.05); }
.chips a:hover { border-color:var(--volt); color:var(--volt); }
.statcard { background:rgba(15,29,22,.82); border:1px solid rgba(61,220,99,.35); border-radius:18px; padding:26px; backdrop-filter:blur(6px); }
.statcard .row { display:flex; gap:14px; align-items:flex-start; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.1); }
.statcard .row:last-child { border-bottom:0; }
.statcard b { font-family:"Barlow Condensed", sans-serif; font-size:34px; color:var(--volt); line-height:1; min-width:84px; }
.statcard small { color:#c9d8cf; font-size:14px; }

/* brand bar */
.brands { background:var(--paper); border-bottom:1px solid var(--line); }
.brands .wrap { display:flex; align-items:center; gap:34px; flex-wrap:wrap; justify-content:center; padding-top:20px; padding-bottom:20px; }
.brands small { color:var(--muted); font-weight:600; letter-spacing:1px; text-transform:uppercase; font-size:12px; }
.brands span.b { font-family:"Barlow Condensed", sans-serif; font-weight:800; font-size:26px; color:#33423a; letter-spacing:.5px; }
.brands span.b.abb { color:#ff000f; }

section { padding:84px 0; }
section.soft { background:var(--paper); }
section.dark { background:var(--ink); color:#fff; }
.head { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; flex-wrap:wrap; margin-bottom:34px; }

/* product cards */
.pgrid { display:grid; gap:20px; grid-template-columns:repeat(3, 1fr); }
.pgrid.p4 { grid-template-columns:repeat(4, 1fr); }
.pcard { position:relative; background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:22px; text-decoration:none; color:var(--ink);
  display:flex; flex-direction:column; transition:box-shadow .15s, transform .15s, border-color .15s; }
.pcard:hover { box-shadow:var(--shadow); transform:translateY(-3px); border-color:var(--green); }
.pcard .img { background:var(--paper); border-radius:10px; height:150px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.pcard .img img { max-height:130px; width:auto; }
.pcard h3 { font-size:23px; margin-bottom:6px; }
.tile { font-family:"Barlow Condensed", sans-serif; font-weight:800; font-size:30px; color:var(--green-dk); text-align:center; padding:20px; }
.pcard p { color:var(--muted); font-size:14.5px; margin-bottom:14px; }
.pcard .go { margin-top:auto; font-weight:700; color:var(--green); font-size:14px; }

/* why / numbers */
.why { display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; }
.why div { background:var(--panel); border:1px solid rgba(61,220,99,.18); border-radius:var(--r); padding:26px; }
.why b { display:block; font-family:"Barlow Condensed", sans-serif; font-size:44px; color:var(--volt); line-height:1; margin-bottom:10px; }
.why h3 { color:#fff; font-size:22px; }
.why p { color:#b9cbbf; font-size:15px; margin:0; }

/* price list band */
.band { background:linear-gradient(120deg, var(--green) 0%, #04a51e 100%); color:#fff; border-radius:20px; padding:40px; display:flex; gap:24px; align-items:center; flex-wrap:wrap; }
.band h2 { color:#fff; margin-bottom:6px; }
.band p { margin:0; color:#e7ffe9; max-width:620px; }
.band .btns { margin-left:auto; display:flex; gap:10px; flex-wrap:wrap; }
.band .btn { background:#fff; color:var(--green-dk); }

/* industries */
.igrid { display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; }
@media (max-width:1100px) { .igrid { grid-template-columns:repeat(2, 1fr); } }
.job .meta span.open { background:#e8f6eb; color:var(--green-dk); }
.icard { border:1px solid var(--line); border-radius:var(--r); padding:22px; background:#fff; }
.icard .ic { font-size:28px; }
.icard h3 { font-size:22px; margin:8px 0 6px; }
.icard p { color:var(--muted); font-size:15px; margin:0; }

/* clients */
.logos { display:grid; grid-template-columns:repeat(5, 1fr); gap:14px; }
.logos div { background:#fff; border:1px solid var(--line); border-radius:12px; height:96px; display:flex; align-items:center; justify-content:center; padding:12px; }
.logos img { max-height:70px; width:auto; filter:grayscale(1); opacity:.85; transition:.15s; }
.logos div:hover img { filter:none; opacity:1; }

/* faq */
.faq details { border:1px solid var(--line); border-radius:12px; padding:16px 20px; margin-bottom:10px; background:#fff; }
.faq summary { font-weight:700; cursor:pointer; font-size:17px; }
.faq details p { margin:10px 0 0; color:var(--muted); }

/* locations */
.loc { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.loc .card { background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:28px; }
.loc .card h3 { font-size:26px; }
.loc .card p { color:var(--muted); }

/* product page */
.phero { background:var(--ink); color:#fff; padding:60px 0; position:relative; overflow:hidden; }
.phero::after { content:""; position:absolute; inset:0; opacity:.1; background-image:linear-gradient(rgba(61,220,99,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(61,220,99,.6) 1px, transparent 1px); background-size:48px 48px; }
.phero .wrap { position:relative; z-index:1; display:grid; grid-template-columns:1.4fr .8fr; gap:40px; align-items:center; }
.phero .pic { background:#fff; border-radius:18px; padding:20px; display:flex; justify-content:center; }
.phero .pic img { max-height:220px; width:auto; }
.crumb { font-size:14px; color:#9fb5a7; margin-bottom:12px; }
.crumb a { color:#cfe3d5; text-decoration:none; }
.rgrid { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.rcard { border:1px solid var(--line); border-radius:var(--r); padding:22px; background:#fff; }
.rcard h3 { font-size:22px; margin-bottom:6px; }
.rcard p { color:var(--muted); font-size:15px; margin:0; }
.rcard .tag { display:inline-block; background:#e8f6eb; color:var(--green-dk); font-size:12px; font-weight:700; border-radius:20px; padding:2px 10px; margin-bottom:10px; }
.asks { display:flex; flex-wrap:wrap; gap:8px; }
.asks span { background:#fff; border:1px solid var(--line); border-radius:30px; padding:6px 14px; font-size:14px; font-weight:600; }
.two { display:grid; grid-template-columns:1.2fr .8fr; gap:34px; align-items:start; }
.box { border:1px solid var(--line); border-radius:var(--r); padding:26px; background:#fff; }
.box.green { border-color:var(--green); background:#f2fbf4; }
table.t { width:100%; border-collapse:collapse; font-size:15px; }
table.t th, table.t td { border-bottom:1px solid var(--line); padding:10px 12px; text-align:left; vertical-align:top; }
table.t th { background:var(--paper); font-family:"Barlow Condensed", sans-serif; font-size:17px; }

.stockline { display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:26px; padding:16px 20px; border-radius:12px; background:#f2fbf4; border:1px solid #cfe9d5; font-weight:600; font-size:15px; color:var(--green-dk); }
.trust { display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.trust div { border:1px dashed #b9d6c1; border-radius:12px; padding:18px; text-align:center; background:#fff; }
.trust b { display:block; font-family:"Barlow Condensed", sans-serif; font-size:22px; }
.trust small { color:var(--muted); }
article.guide { max-width:820px; }
article.guide h2 { margin-top:1.2em; }
@media (max-width:820px) { .trust { grid-template-columns:1fr 1fr; } }

/* forms */
form.enq { display:grid; gap:12px; }
form.enq .g2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
form.enq label { font-weight:600; font-size:14px; display:block; margin-bottom:4px; }
form.enq input, form.enq select, form.enq textarea { width:100%; padding:11px 12px; border:1px solid #c8d3cc; border-radius:10px; font:inherit; background:#fff; }

/* jobs */
.job { border:1px solid var(--line); border-radius:var(--r); padding:28px; margin-bottom:22px; background:#fff; }
.job .meta { display:flex; flex-wrap:wrap; gap:8px; margin:6px 0 16px; }
.job .meta span { background:var(--paper); border-radius:20px; padding:3px 12px; font-size:14px; font-weight:600; }
.job ul { padding-left:20px; margin:.3em 0 1.1em; }

/* footer */
footer { background:var(--ink); color:#aebfb4; padding:64px 0 26px; font-size:15px; }
footer .cols { display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:30px; }
footer h4 { color:#fff; font-size:20px; margin-bottom:12px; }
footer a { color:#d8eadf; text-decoration:none; display:block; padding:3px 0; }
footer a:hover { color:var(--volt); }
footer .logo img { height:40px; width:auto; background:#fff; padding:6px 10px; border-radius:8px; margin-bottom:14px; }
footer .base { border-top:1px solid rgba(255,255,255,.1); margin-top:40px; padding-top:20px; font-size:13px; color:#7f9387; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
footer .base a { display:inline; color:#9fb5a7; }

.wa-float { position:fixed; right:18px; bottom:18px; z-index:30; background:#25d366; color:#06331a; font-weight:800; text-decoration:none;
  border-radius:40px; padding:13px 20px; box-shadow:0 8px 24px rgba(0,0,0,.28); display:flex; gap:8px; align-items:center; }

/* plan page */
.st { display:inline-block; border-radius:4px; padding:1px 8px; font-size:12.5px; font-weight:700; white-space:nowrap; }
.st.ok { background:#dff5e3; color:#0b5d18; } .st.q { background:var(--amber); color:#3d2f00; } .st.b { background:#dbe7ff; color:#173a8a; }
code { background:#eef2ef; padding:1px 6px; border-radius:4px; word-break:break-all; font-size:.92em; }

@media (max-width:1000px) {
  .pgrid, .pgrid.p4 { grid-template-columns:repeat(2, 1fr); }
  .why { grid-template-columns:repeat(2, 1fr); }
  .logos { grid-template-columns:repeat(3, 1fr); }
  footer .cols { grid-template-columns:1fr 1fr; }
  header.site nav { gap:14px; font-size:14px; }
  header.site .act .btn.call { display:none; }
}
@media (max-width:1300px) {   /* 9 menu items: switch to the Menu button before they squeeze the logo / buttons */
  header.site nav { display:none; }
  header.site nav.open { display:flex; flex-direction:column; position:absolute; top:76px; left:0; right:0; background:#fff; padding:12px 16px 18px; box-shadow:0 10px 20px rgba(0,0,0,.1); gap:4px; }
  .menu-btn { display:block; margin-left:10px; }
}
@media (max-width:820px) {
  .hero .wrap, .phero .wrap, .two { grid-template-columns:1fr; }
  .hero .wrap { padding-top:56px; padding-bottom:56px; }
  header.site .act { display:none; }
  .menu-btn { margin-left:auto; }
  .igrid, .rgrid, .loc { grid-template-columns:1fr; }
  section { padding:56px 0; }
  .band { padding:28px; }
  .band .btns { margin-left:0; }
  .topbar .sp { display:none; }
  form.enq .g2 { grid-template-columns:1fr; }
  table.t { display:block; overflow-x:auto; }
}
@media (max-width:520px) {
  .pgrid, .pgrid.p4, .why { grid-template-columns:1fr; }
  .logos { grid-template-columns:repeat(2, 1fr); }
  footer .cols { grid-template-columns:1fr; }
  .wa-float span { display:none; }
  .btn { white-space:normal; }
}
p.decide { white-space:normal; }
@media (max-width:520px) { .decide { white-space:normal; } }

/* clickable range tiles + write-up panel (MCB & DB page, 02-12-2026) */
.ptile { text-align:left; font:inherit; color:inherit; cursor:pointer; position:relative; transition:border-color .15s, box-shadow .15s;
         display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; }
.ptile p { margin-bottom:12px; }
.ptile .go { display:inline-block; margin-top:auto; font-weight:700; font-size:14px; color:var(--green-dk); }
.ptile:hover, .ptile.on { border-color:var(--green-dk); box-shadow:0 6px 20px rgba(0,0,0,.08); }
.ptile.on .go { color:#fff; background:var(--green-dk); border-radius:20px; padding:2px 12px; }
.ppanes { margin-top:16px; }
.ppane { border:1px solid var(--green-dk); border-radius:var(--r); padding:22px; background:#fbfefb; }
.ppane h3 { font-size:22px; margin-bottom:8px; }
.ppane > p { margin:0 0 14px; }
.ppane .pnote { font-size:14px; margin:10px 0 0; }
.ppane .t { margin-top:4px; }
@media (max-width:700px) { .ppane { padding:16px; } .ppane .t { display:block; overflow-x:auto; } }
