/* ==========================================================================
   Gursons India — Professional Broadcast Equipment
   Design System / Global Stylesheet
   Style: formal, institutional (Indian PSU / government portal aesthetic)
   ========================================================================== */

:root {
  /* Brand palette — sober institutional */
  --brand: #103a6b;          /* official navy blue */
  --brand-2: #0d2f56;        /* darker navy */
  --brand-3: #1b4d86;        /* mid navy for hovers */
  --accent: #9c1c2e;         /* deep maroon (formal, sarkari) */
  --accent-2: #7c1523;       /* darker maroon */
  --gold: #b8860b;           /* dark ashoka-gold, used sparingly */

  /* Neutrals */
  --ink: #1a2433;
  --body: #33404f;
  --muted: #5d6b7a;
  --line: #d8dfe7;
  --line-strong: #b9c4d0;
  --bg: #ffffff;
  --bg-soft: #f2f5f8;
  --bg-alt: #eef2f6;
  --bg-dark: #0d2f56;

  /* Utility — flat, formal */
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: 0 1px 3px rgba(16, 58, 107, 0.10);
  --shadow-lg: 0 4px 16px rgba(16, 58, 107, 0.14);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  --font: "Roboto", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-head: "Roboto Slab", "Georgia", "Times New Roman", serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1rem; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(40px, 6vw, 72px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #d4deea; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 760px; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .6rem;
  border-left: 3px solid var(--accent);
  padding-left: .6rem;
}
.eyebrow--light { color: #ffd9a0; border-left-color: #ffd9a0; }
.section-title { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }

/* Formal section heading with underline */
.section-heading { position: relative; padding-bottom: .75rem; margin-bottom: 2rem; }
.section-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: var(--accent); }
.center .section-heading::after { left: 50%; transform: translateX(-50%); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Icons (inline SVG) ---------- */
.ico { display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font); font-weight: 600; font-size: .93rem;
  padding: .7rem 1.5rem; border-radius: var(--radius-sm); cursor: pointer;
  border: 1px solid transparent; transition: .15s ease; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--ghost { background: #fff; color: var(--brand); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); background: var(--bg-soft); }
.btn--light { background: #fff; color: var(--accent); border-color: #fff; }
.btn--light:hover { background: var(--bg-soft); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--line); }
.topbar { background: var(--brand-2); color: #cdd9e8; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .45rem; flex-wrap: wrap; }
.topbar a { color: #eaf1f8; }
.topbar .topbar-tag { color: #fff; font-weight: 600; letter-spacing: .01em; }
.topbar-links { display: flex; gap: 1.25rem; align-items: center; }

.navbar { display: flex; align-items: center; justify-content: space-between; padding-block: .7rem; gap: 1rem; border-top: 3px solid var(--accent); }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 3px;
  background: var(--brand); border: 1px solid var(--brand-2);
  display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
}
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--brand); line-height: 1.1; }
.brand-sub { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav-menu { display: flex; align-items: center; gap: .1rem; }
.nav-menu > li > a {
  display: block; padding: .55rem .85rem; border-radius: 2px;
  font-weight: 500; font-size: .93rem; color: var(--ink); transition: .12s;
}
.nav-menu > li > a:hover { color: var(--accent); background: var(--bg-soft); text-decoration: none; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 270px;
  background: #fff; border: 1px solid var(--line-strong); border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-lg); padding: .35rem; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: .15s; z-index: 50;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .55rem .75rem; border-radius: 2px; font-size: .9rem; color: var(--ink); font-weight: 500; }
.dropdown a:hover { background: var(--bg-soft); color: var(--accent); text-decoration: none; }
.dropdown a small { display: block; color: var(--muted); font-size: .76rem; font-weight: 400; }

.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 3px; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--brand); border-bottom: 4px solid var(--accent); }
.hero .container { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.hero p { color: #cdd9e8; font-size: 1.08rem; max-width: 580px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0; }
.hero-badge { font-size: .8rem; padding: .3rem .75rem; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; color: #e4edf6; }
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-visual { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 24px; }
.hero-stat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.hero-stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 3px; padding: 16px; }
.hero-stat b { font-family: var(--font-head); font-size: 1.6rem; color: #fff; display: block; }
.hero-stat span { font-size: .82rem; color: #b6c5d8; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; transition: .15s; display: flex; flex-direction: column; height: 100%; }
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--brand-3); text-decoration: none; }
.card-media { aspect-ratio: 16/10; background: var(--bg-alt); display: grid; place-items: center; position: relative; border-bottom: 1px solid var(--line); }
.card-media .icon { color: var(--brand); }
.card-media .icon .ico { width: 46px; height: 46px; stroke-width: 1.5; }
.card-tag { position: absolute; top: 10px; left: 10px; font-size: .7rem; font-weight: 600; background: var(--brand); color: #fff; padding: .2rem .55rem; border-radius: 2px; letter-spacing: .02em; text-transform: uppercase; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-body h3 { font-size: 1.12rem; margin: 0; color: var(--brand); }
.card-body p { font-size: .9rem; color: var(--muted); margin: 0; }
.card-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--ink); font-weight: 600; margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--line); }
.card-link { color: var(--accent); font-weight: 600; font-size: .88rem; margin-top: .4rem; display: inline-flex; gap: .3rem; }
.card:hover .card-link { text-decoration: underline; }

/* Category card */
.cat-card { position: relative; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-strong); border-left: 4px solid var(--brand); transition: .15s; height: 100%; display: block; }
.cat-card:hover { box-shadow: var(--shadow-lg); border-left-color: var(--accent); text-decoration: none; }
.cat-icon { width: 52px; height: 52px; border-radius: 3px; display: grid; place-items: center; background: var(--bg-alt); color: var(--brand); margin-bottom: .9rem; }
.cat-icon .ico { width: 26px; height: 26px; }
.cat-card h3 { font-size: 1.15rem; color: var(--brand); }
.cat-card p { font-size: .92rem; color: var(--muted); }
.cat-card .card-link { margin-top: .9rem; }

/* Feature item */
.feature { display: flex; gap: 1rem; align-items: flex-start; padding: .5rem 0; }
.feature-ico { flex: none; width: 44px; height: 44px; border-radius: 3px; display: grid; place-items: center; background: var(--bg-alt); color: var(--brand); border: 1px solid var(--line); }
.feature-ico .ico { width: 22px; height: 22px; }
.feature h4 { font-size: 1.02rem; margin: 0 0 .2rem; color: var(--ink); }
.feature p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: var(--brand); color: #fff; border-bottom: 4px solid var(--accent); }
.page-hero .container { padding-block: clamp(32px, 5vw, 56px); }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.page-hero p { color: #cdd9e8; max-width: 720px; }
.breadcrumb { font-size: .84rem; color: #a9bbd0; margin-bottom: .9rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.breadcrumb a { color: #dbe6f2; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #fff; font-weight: 600; }

/* ---------- Filters ---------- */
.toolbar { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.chip { font-family: var(--font); font-weight: 500; font-size: .87rem; padding: .45rem 1rem; border-radius: 2px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; transition: .12s; color: var(--ink); }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.search-box { margin-left: auto; position: relative; display: flex; align-items: center; }
.search-box .ico { position: absolute; left: .7rem; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search-box input { padding: .55rem 1rem .55rem 2.2rem; border: 1px solid var(--line-strong); border-radius: 2px; font-size: .9rem; min-width: 240px; font-family: var(--font); }
.search-box input:focus { outline: 2px solid var(--brand); border-color: transparent; }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-media { position: sticky; top: 100px; }
.pd-hero-img { border-radius: var(--radius); background: var(--bg-alt); aspect-ratio: 4/3; display: grid; place-items: center; color: var(--brand); border: 1px solid var(--line-strong); }
.pd-hero-img .ico { width: 96px; height: 96px; stroke-width: 1.2; }
.pd-series { color: var(--accent); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .8rem; }
.pd-title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: var(--brand); margin-top: .3rem; }
.pill-row { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.pill { font-size: .8rem; padding: .3rem .75rem; border-radius: 2px; background: var(--bg-soft); border: 1px solid var(--line-strong); color: var(--ink); font-weight: 600; }
.spec-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; border: 1px solid var(--line-strong); }
.spec-table th, .spec-table td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { width: 42%; color: var(--ink); font-weight: 600; background: var(--bg-soft); border-right: 1px solid var(--line); }
.check-list li { display: flex; gap: .6rem; padding: .3rem 0; font-size: .93rem; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55rem; background: var(--accent); border-radius: 1px; }

/* ---------- Steps / process ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 1.1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step-num { counter-increment: step; flex: none; width: 42px; height: 42px; border-radius: 3px; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.step-num::before { content: counter(step); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.info-item { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .87rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; padding: .7rem .9rem; border: 1px solid var(--line-strong); border-radius: 2px; font-family: var(--font); font-size: .94rem; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-success { background: #eaf3ec; border: 1px solid #b7d8c0; border-left: 4px solid #2e7d46; color: #1c5c32; padding: 1rem; border-radius: 2px; margin-top: 1rem; display: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: #fff; border-radius: var(--radius); border-left: 5px solid var(--accent); padding: clamp(28px, 4vw, 48px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdd9e8; max-width: 640px; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #a9bbd0; padding-top: 52px; border-top: 4px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: .98rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer a { color: #cdd9e8; }
.site-footer a:hover { color: #fff; }
.footer-links li { margin-bottom: .55rem; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .84rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-brand p { font-size: .9rem; margin-top: 1rem; }
.footer-brand .brand-name { color: #fff; }
.social { display: flex; gap: .5rem; margin-top: 1rem; }
.social a { width: 34px; height: 34px; border-radius: 3px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cdd9e8; }
.social a .ico { width: 18px; height: 18px; }
.social a:hover { background: var(--accent); color: #fff; }

/* ---------- Logos / partner strip ---------- */
.partner-strip { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.partner-strip span { font-family: var(--font-head); font-weight: 700; color: var(--muted); font-size: 1rem; }
.partner-strip .divider { color: var(--line-strong); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }
.reveal { opacity: 0; transform: translateY(16px); transition: .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .pd-grid, .contact-grid { grid-template-columns: 1fr; }
  .pd-media { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 84px 18px 20px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: .3s; overflow-y: auto; }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu > li > a { padding: .85rem .55rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-top: none; padding: 0 0 .5rem 1rem; }
  .nav-toggle { display: block; z-index: 200; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-links { display: none; }
}

/* ==========================================================================
   Additions: logo image, WhatsApp button, Google Translate, mobile polish
   ========================================================================== */

/* ---------- Logo image ---------- */
.brand-img { height: 46px; width: auto; display: block; }
.footer-brand .brand-img { height: 52px; background: #fff; padding: 6px 10px; border-radius: 4px; }
@media (max-width: 620px) {
  .brand-img { height: 38px; }
}

/* ---------- Top bar address line ---------- */
.topbar .topbar-address { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .ico { width: 14px; height: 14px; }

/* ---------- Google Translate widget ---------- */
.gtranslate-wrap { display: inline-flex; align-items: center; gap: .4rem; }
.gtranslate-wrap .ico { width: 15px; height: 15px; color: #cdd9e8; }
/* Hide Google's default banner + tidy the dropdown */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon { display: none !important; }
body { top: 0 !important; }
#google_translate_element .goog-te-gadget { font-size: 0; color: transparent; }
#google_translate_element .goog-te-gadget .goog-te-combo {
  margin: 0; font-family: var(--font); font-size: .82rem; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 2px; padding: .25rem .4rem; background: #fff; cursor: pointer;
}
#google_translate_element .goog-te-gadget span { display: none; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: inline-flex; align-items: center; gap: .55rem;
  background: #25d366; color: #fff; font-weight: 600; font-family: var(--font);
  padding: .7rem 1.1rem; border-radius: 50px; box-shadow: 0 6px 20px rgba(0,0,0,.22);
  transition: .18s; font-size: .92rem;
}
.wa-float:hover { background: #1ebe5b; text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.wa-float svg { width: 22px; height: 22px; fill: #fff; stroke: none; flex: none; }
.wa-float .wa-label { white-space: nowrap; }
@media (max-width: 620px) {
  .wa-float { right: 14px; bottom: 14px; padding: .7rem; }
  .wa-float .wa-label { display: none; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ---------- Mobile polish ---------- */
@media (max-width: 960px) {
  .nav-cta .btn { padding: .55rem 1rem; font-size: .85rem; }
}
@media (max-width: 480px) {
  /* Give the logo room on small phones: drop the header quote button (WhatsApp float + menu remain) */
  .nav-cta { display: none; }
}
@media (max-width: 620px) {
  .topbar { font-size: .76rem; }
  .topbar .container { flex-direction: column; gap: .35rem; padding-block: .5rem; }
  .topbar .topbar-address { justify-content: center; text-align: center; }
  /* Keep the translate widget visible on mobile, hide only phone/email text links */
  .topbar-links { display: flex !important; justify-content: center; gap: .75rem; flex-wrap: wrap; }
  .topbar-links > a { display: none; }
  .gtranslate-wrap { display: inline-flex; }
  .hero-actions .btn, .cta-band .btn { width: 100%; justify-content: center; }
  .spec-table th { width: 48%; }
}

/* ==========================================================================
   Catalog: product photos, category banner, product detail, datasheet prose
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.btn--sm { padding: .45rem .9rem; font-size: .84rem; }
.btn--whatsapp { background: #1f9e4f; color: #fff; border-color: #1f9e4f; }
.btn--whatsapp:hover { background: #17843f; border-color: #17843f; }
.btn .ico { width: 18px; height: 18px; }

/* Photo card media */
.card-media--photo { background: #fff; padding: 18px; }
.card-media--photo img { width: 100%; height: 100%; object-fit: contain; }
.card-media--wide { aspect-ratio: 16/9; }
.img-missing { color: var(--brand); }
.img-missing .ico { width: 56px; height: 56px; stroke-width: 1.4; }
.card-series { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.product-card .card-tag { z-index: 1; }
.category-card .card-body h3 { font-size: 1.2rem; }

/* Home: hero photo, feature split */
.hero-visual--photo { padding: 14px; }
.hero-visual--photo > img { width: 100%; height: auto; border-radius: 3px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,.15); }
.hero-visual--photo .hero-stat { padding: 12px; }
.hero-visual--photo .hero-stat b { font-size: 1.3rem; }
.feature-split { align-items: center; gap: 48px; }
.feature-media { display: grid; gap: 20px; }
.feature-media figure, .prose-fig { margin: 0; }
.feature-media img { width: 100%; height: auto; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.feature-media figcaption, .prose-fig figcaption { font-size: .82rem; color: var(--muted); margin-top: .4rem; }

/* Data tables */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line-strong); background: #fff; font-size: .93rem; }
.data-table th, .data-table td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--brand); color: #fff; font-weight: 600; white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.data-table a { font-weight: 600; }

/* Catalog toolbar */
.chip-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.toolbar { justify-content: space-between; }
.toolbar-right { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.toolbar .search-box { margin-left: 0; }
.sort-box select { padding: .55rem .8rem; border: 1px solid var(--line-strong); border-radius: 2px; font-family: var(--font); font-size: .9rem; background: #fff; color: var(--ink); }
.result-count { font-size: .88rem; color: var(--muted); margin: -1rem 0 1.25rem; }
.group-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin: 2.5rem 0 1.25rem; padding-bottom: .6rem; border-bottom: 2px solid var(--brand); }
.group-head:first-child { margin-top: 0; }
.group-head h2 { font-size: 1.35rem; margin: 0; color: var(--brand); }
.group-head small { display: block; font-family: var(--font); font-size: .85rem; font-weight: 500; color: var(--muted); margin-top: .2rem; }

/* Category banner */
.cat-banner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--line-strong); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 28px; margin-bottom: 2.5rem; }
.cat-banner-media { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 3px; padding: 16px; display: grid; place-items: center; max-height: 420px; overflow: hidden; }
.cat-banner-media img { max-width: 100%; max-height: 380px; width: auto; height: auto; object-fit: contain; }
.cat-banner h2 { font-size: 1.5rem; color: var(--brand); }
.fact-row { display: flex; gap: 0; margin: 1rem 0; border: 1px solid var(--line-strong); }
.fact-row div { flex: 1; padding: .6rem .9rem; border-right: 1px solid var(--line); }
.fact-row div:last-child { border-right: none; }
.fact-row dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fact-row dd { margin: 0; font-weight: 700; color: var(--ink); }
.check-list--2col { columns: 2; column-gap: 24px; }
.check-list--2col li { break-inside: avoid; }

/* Product detail */
.pd-main { background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 20px; display: grid; place-items: center; min-height: 260px; max-height: 560px; overflow: hidden; }
.pd-main img { max-width: 100%; max-height: 520px; width: auto; height: auto; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumb { width: 84px; height: 64px; padding: 4px; background: #fff; border: 1px solid var(--line-strong); border-radius: 3px; cursor: pointer; display: grid; place-items: center; }
.pd-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-thumb.is-active, .pd-thumb:hover { border: 2px solid var(--accent); }
.pd-thumb:focus-visible, .tab:focus-visible, .chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pd-power { display: inline-block; font-family: var(--font); font-size: .9rem; font-weight: 700; color: #fff; background: var(--accent); padding: .15rem .55rem; border-radius: 2px; vertical-align: middle; }
.pd-subtitle { font-size: 1.05rem; margin-top: 1.4rem; }
.pd-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1rem 0 .75rem; }
#pd-sub { margin: 0; }

/* Tabs */
.tabs { margin-top: 3rem; }
.tab-list { display: flex; gap: 0; border-bottom: 2px solid var(--brand); flex-wrap: wrap; }
.tab { font-family: var(--font); font-weight: 600; font-size: .95rem; padding: .75rem 1.25rem; border: 1px solid var(--line-strong); border-bottom: none; background: var(--bg-soft); color: var(--ink); cursor: pointer; margin-right: 4px; border-radius: 3px 3px 0 0; }
.tab.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.tab-panel { border: 1px solid var(--line-strong); border-top: none; padding: clamp(18px, 3vw, 32px); background: #fff; }

/* Datasheet prose */
.prose { max-width: none; }
.prose h3 { font-size: 1.35rem; color: var(--brand); margin: 2rem 0 .75rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.prose h4 { font-size: 1.12rem; color: var(--ink); margin: 1.8rem 0 .6rem; padding-left: .6rem; border-left: 3px solid var(--accent); }
.prose h5 { font-family: var(--font); font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--brand-2); margin: 1.4rem 0 .5rem; }
.prose h5.subhead { text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose p { max-width: 900px; }
.prose .lede { font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.prose .check-list { margin-bottom: 1rem; }
.prose .spec-table { margin: .5rem 0 1.25rem; }
.prose .spec-table td[colspan] { background: var(--bg-soft); font-weight: 600; }
.prose-fig { margin: 1rem 0 1.5rem; }
.prose-fig img { max-width: min(100%, 760px); height: auto; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.prose-fig--captioned img { max-width: 280px; }
.notice { background: #fff8e6; border: 1px solid #ecd9a3; border-left: 4px solid var(--gold); padding: 1rem 1.2rem; border-radius: 2px; margin-bottom: 1.5rem; }

@media (max-width: 960px) {
  .cat-banner { grid-template-columns: 1fr; padding: 20px; }
  .feature-split { gap: 28px; }
}
@media (max-width: 620px) {
  .check-list--2col { columns: 1; }
  .toolbar-right, .toolbar .search-box, .sort-box, .sort-box select { width: 100%; }
  .search-box input { min-width: 0; width: 100%; }
  .fact-row { flex-direction: column; }
  .fact-row div { border-right: none; border-bottom: 1px solid var(--line); }
  .fact-row div:last-child { border-bottom: none; }
  .tab { flex: 1 1 100%; margin-right: 0; border-radius: 0; }
  .pd-actions .btn { width: 100%; justify-content: center; }
  .spec-table th, .spec-table td { padding: .55rem .65rem; font-size: .85rem; }
  .spec-table th { width: 44%; }
  .prose-fig--captioned img { max-width: 100%; }
  .group-head .btn { width: 100%; justify-content: center; }
}

/* Fixed-height photo area so tall cabinet and wide rack photos align in a grid */
.card-media--photo { aspect-ratio: auto; height: 230px; }
.card-media--photo img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.section-heading.center::after { left: 50%; transform: translateX(-50%); }
@media (max-width: 620px) { .card-media--photo { height: 200px; } }
.card-media--photo img { max-height: 194px; }
.pd-thumb img { max-width: 74px; max-height: 54px; }
@media (max-width: 620px) { .card-media--photo img { max-height: 164px; } }
@media (max-width: 620px) {
  .partner-strip { gap: .4rem; flex-direction: column; }
  .partner-strip .divider { display: none; }
  .cat-banner-media img { max-height: 260px; }
  .pd-main { max-height: 380px; min-height: 200px; }
  .pd-main img { max-height: 340px; }
}
.form-error { background: #fdecec; border: 1px solid #f0c2c2; border-left: 4px solid var(--accent); color: #7c1523; padding: 1rem; border-radius: 2px; margin-top: 1rem; display: none; }
.btn:disabled { opacity: .7; cursor: wait; }

/* ==========================================================================
   Homepage: mission/vision, services, sectors, process
   ========================================================================== */
html { scroll-padding-top: 130px; }
.mv-card { background: #fff; border: 1px solid var(--line-strong); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 28px; height: 100%; }
.mv-card:nth-child(2) { border-top-color: var(--accent); }
.mv-card:nth-child(3) { border-top-color: var(--gold); }
.mv-card h3 { color: var(--brand); font-size: 1.25rem; }
.mv-card p { color: var(--body); margin: 0; }

.service-card { background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 24px; height: 100%; transition: .15s; }
.service-card:hover { border-color: var(--brand-3); box-shadow: var(--shadow-lg); }
.service-card .feature-ico { margin-bottom: 1rem; }
.service-card h3 { font-size: 1.08rem; color: var(--brand); margin-bottom: .4rem; }
.service-card p { font-size: .92rem; color: var(--muted); margin: 0; }

.sector-grid { gap: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: #fff; }
.sector { display: flex; gap: 1rem; align-items: flex-start; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sector:nth-child(3n) { border-right: none; }
.sector:nth-last-child(-n+3) { border-bottom: none; }
.sector > span { flex: none; color: var(--accent); }
.sector > span .ico { width: 28px; height: 28px; }
.sector h4 { margin: 0 0 .2rem; font-size: 1.02rem; color: var(--ink); }
.sector p { margin: 0; font-size: .88rem; color: var(--muted); }

.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: none; }
.process li { position: relative; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 22px 18px; text-align: center; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -17px; width: 18px; height: 2px; background: var(--accent); }
.process-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: .75rem; }
.process h4 { margin: 0 0 .3rem; font-size: 1rem; color: var(--brand); }
.process p { margin: 0; font-size: .86rem; color: var(--muted); }

@media (max-width: 960px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .process li::after { display: none; }
  .sector:nth-child(3n) { border-right: 1px solid var(--line); }
  .sector:nth-child(2n) { border-right: none; }
  .sector:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .sector:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 620px) {
  .process { grid-template-columns: 1fr; }
  .process li { display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; text-align: left; align-items: center; }
  .process-num { grid-row: span 2; margin: 0; }
  .sector { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .sector:last-child { border-bottom: none !important; }
}
