:root {
  --white: #ffffff;
  --yellow: #ffff00;
  --orange: #ff9933;
  --light-blue: #00bfff;
  --cobalt: #0047ab;
  --deep-teal: #00212e;
  --primary: var(--deep-teal);
  --secondary: var(--cobalt);
  --tertiary: var(--yellow);
  --accent: var(--orange);
  --ink: #0b1b24;
  --muted: #5e6d75;
  --line: #d9e6eb;
  --paper: #f3f9fb;
  --panel: #ffffff;
  --teal: var(--deep-teal);
  --teal-dark: var(--deep-teal);
  --solar: var(--yellow);
  --coral: var(--orange);
  --sky: var(--light-blue);
  --shadow: 0 20px 60px rgba(0, 33, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 54px);
  background: rgba(244, 248, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  min-width: 190px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  overflow: hidden;
  border: 2px solid rgba(0, 33, 46, 0.1);
  box-shadow: 0 8px 20px rgba(0, 33, 46, 0.16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  align-items: center;
}

.nav-links a,
.nav-menu-trigger,
.call-button,
.primary-link {
  color: var(--ink);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a.active,
.nav-menu:focus-within .nav-menu-trigger,
.nav-menu:hover .nav-menu-trigger {
  background: #eefbff;
}

.nav-menu {
  position: relative;
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 60;
  display: none;
  width: min(460px, 86vw);
  max-height: min(520px, 70vh);
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(0, 33, 46, 0.18);
}

.nav-menu:hover .nav-menu-panel,
.nav-menu:focus-within .nav-menu-panel {
  display: grid;
  gap: 6px;
}

.nav-menu-panel::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-menu-panel a {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.nav-menu-panel a:hover {
  background: #eefbff;
}

.nav-menu-panel a strong {
  font-size: 0.95rem;
}

.nav-menu-panel a span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-menu {
  width: min(520px, 90vw);
}

.menu-feature {
  border: 1px solid #bde8f7;
  background: #f3fcff;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.status-pill,
.call-button {
  border: 1px solid var(--line);
  background: var(--panel);
}

.status-pill {
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 850;
}

.icon-action {
  display: inline-grid;
  width: 54px;
  height: 48px;
  padding: 0;
  place-items: center;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.icon-action svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.icon-action:hover,
.icon-action.active {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 33, 46, 0.14);
}

.icon-action.whatsapp-action,
.icon-action.login-action {
  background: var(--teal);
  color: #fff;
}

.icon-action.login-action.active {
  background: var(--secondary);
}

.status-pill.online {
  color: #0d6c39;
  border-color: #aad7bd;
  background: #eaf8ef;
}

.status-pill.offline {
  color: #9b4b1e;
  border-color: #f1c8a8;
  background: #fff2e8;
}

.primary-link,
.primary-button {
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  padding: 11px 16px;
  font-weight: 850;
}

.secondary-button,
.text-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 800;
}

.text-button {
  padding: 8px 10px;
}

.full {
  width: 100%;
}

.text-center {
  display: inline-block;
  text-align: center;
}

main {
  padding: 26px clamp(16px, 4vw, 54px) 54px;
}

.route-hidden {
  display: none !important;
}

.page-intro {
  margin: 0 0 24px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(255, 255, 0, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff, #eefbff);
  box-shadow: 0 12px 32px rgba(16, 35, 31, 0.06);
}

.page-intro h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.page-intro p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.commerce-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 28px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-actions,
.catalogue-tools,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-product {
  min-height: 440px;
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(7, 46, 40, 0.94), rgba(15, 143, 132, 0.82)),
    #0b312b;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 32px;
}

.panel-array {
  position: absolute;
  inset: 28px 24px auto;
  height: 220px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.35) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.24) 1px, transparent 1px),
    linear-gradient(135deg, #163d63, #0d223a);
  background-size: 54px 100%, 100% 44px, auto;
  border: 6px solid #c8d5da;
  transform: perspective(900px) rotateX(8deg) rotateY(-10deg);
}

.product-stack {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 8px;
  padding: 22px;
}

.product-stack span,
.product-stack small {
  display: block;
  color: var(--muted);
}

.product-stack strong {
  display: block;
  margin: 8px 0;
  font-size: 26px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0 16px;
}

.section-header h2,
.panel-header h2,
.application-card h2,
.workflow-band h2 {
  margin: 0;
}

.catalogue-tools input,
.catalogue-tools select,
.portal-login input,
.drawer-panel input,
.drawer-panel select,
.drawer-panel textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  min-height: 46px;
}

.commerce-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 16px;
}

.product-card,
.cart-panel,
.application-card,
.portal-card,
.queue-item,
.drawer-panel,
.workflow-band {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16, 35, 31, 0.06);
}

.product-card {
  overflow: hidden;
}

.product-visual {
  height: 160px;
  border-bottom: 1px solid var(--line);
  background: #eaf0ee;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-visual.has-photo {
  background: #f7fbfc;
}

.product-visual.has-photo::before,
.product-visual.has-photo::after {
  display: none;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-image-status {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(0, 33, 46, 0.82);
  color: #ffffff;
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 800;
}

.product-visual.no-photo .product-image-status {
  display: none;
}

.product-visual.panel::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 5px solid #b7c6cc;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.45) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.35) 1px, transparent 1px),
    linear-gradient(135deg, #164670, #0d263f);
  background-size: 42px 100%, 100% 34px, auto;
}

.product-visual.inverter::before {
  content: "";
  position: absolute;
  width: 118px;
  height: 98px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  background: #f8fbfa;
  border: 7px solid #2e4540;
  box-shadow: inset 0 0 0 12px #e4ece8;
}

.product-visual.battery::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 86px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--primary) 0 72%, var(--tertiary) 72%);
}

.product-visual.cctv::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 62px;
  left: 46%;
  top: 42%;
  transform: translate(-50%, -50%);
  border-radius: 16px 8px 8px 16px;
  background: #eef5f2;
  border: 6px solid #223733;
}

.product-visual.cctv::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  left: 58%;
  top: 42%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #101d21;
  border: 8px solid var(--secondary);
}

.product-visual.service::before {
  content: "";
  position: absolute;
  width: 118px;
  height: 118px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 18px solid var(--teal);
  border-right-color: var(--solar);
}

.product-body {
  padding: 16px;
}

.product-body h3 {
  margin: 0 0 8px;
  min-height: 48px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.price {
  display: block;
  margin: 14px 0;
  font-size: 24px;
  font-weight: 900;
}

.price-uom {
  margin-left: 2px;
  color: var(--muted);
  font-size: 0.58em;
  font-weight: 800;
  vertical-align: baseline;
}

.cart-panel {
  position: sticky;
  top: 86px;
  padding: 16px;
}

.panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cart-item,
.queue-item,
.portal-card {
  padding: 12px;
}

.cart-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.cart-item-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cart-item-controls input {
  width: 76px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 18px;
}

.workflow-band {
  margin: 40px 0 18px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: #fffdf5;
}

.workflow-band p {
  max-width: 760px;
  color: var(--muted);
}

.sela-section {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

.sela-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  padding: clamp(24px, 5vw, 52px);
  border-radius: 8px;
  background:
    linear-gradient(rgba(0, 33, 46, 0.78), rgba(0, 33, 46, 0.58)),
    url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #ffffff;
  overflow: hidden;
}

.sela-hero h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.sela-hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.6;
}

.sela-hero .eyebrow {
  color: var(--yellow);
}

.sela-facts {
  align-self: end;
  display: grid;
  gap: 10px;
}

.sela-facts article,
.sela-curriculum {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 16px;
}

.sela-facts span,
.sela-facts small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.sela-facts strong {
  display: block;
  margin-top: 4px;
  font-size: 1.18rem;
}

.sela-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.sela-info-grid,
.sela-selling-points,
.sela-forms-grid {
  display: grid;
  gap: 14px;
}

.sela-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sela-info-grid article,
.sela-selling-points article,
.payment-card,
.sela-contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(16, 35, 31, 0.06);
}

.sela-info-grid article,
.sela-selling-points article,
.sela-contact-card {
  padding: 18px;
}

.sela-info-grid h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.sela-info-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.sela-selling-points {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sela-selling-points article {
  min-height: 82px;
  display: flex;
  align-items: center;
  border-left: 4px solid var(--green);
}

.sela-forms-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  align-items: start;
}

.sela-curriculum {
  border-color: var(--line);
  box-shadow: 0 12px 32px rgba(16, 35, 31, 0.06);
}

.sela-curriculum ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.sela-curriculum li strong {
  color: var(--ink);
}

.sela-highlight {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 900;
}

.centre-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.centre-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
  font-weight: 900;
}

.payment-card {
  display: grid;
  gap: 4px;
  margin: 12px 0;
  padding: 16px;
  background: #fffdf5;
}

.payment-card span,
.payment-card small {
  color: var(--muted);
  font-weight: 850;
}

.payment-card strong {
  font-size: 1.45rem;
}

.sela-verification-page {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 42px 0;
}

.sela-verify-card {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 18px 50px rgba(16, 35, 31, 0.09);
}

.sela-verify-card h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 6vw, 48px);
}

.sela-verify-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
}

.sela-verify-card td {
  border-top: 1px solid var(--line);
  padding: 14px 8px;
  vertical-align: top;
}

.sela-verify-card td:first-child {
  width: 34%;
  color: var(--muted);
  font-weight: 850;
}

.verify-status {
  display: inline-block;
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 950;
}

.verify-status.approved {
  background: #dcfce7;
  color: #166534;
}

.verify-status.blocked {
  background: #fee2e2;
  color: #991b1b;
}

.hot-deal-grid,
.category-tree,
.why-grid,
.project-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.hot-deal-card,
.category-card,
.why-grid article,
.project-preview,
.contact-section,
.careers-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(16, 35, 31, 0.06);
}

.hot-deal-card {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.hot-deal-card strong,
.hot-deal-card span {
  display: block;
}

.hot-deal-card span {
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 900;
}

.category-card {
  overflow: hidden;
}

.category-card button {
  width: 100%;
  border: 0;
  background: #eefbff;
  color: var(--ink);
  padding: 14px;
  text-align: left;
  display: grid;
  gap: 4px;
}

.category-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px;
}

.category-card small {
  border-radius: 999px;
  background: #f4f8f6;
  color: var(--muted);
  padding: 5px 8px;
  font-weight: 800;
}

.why-section,
.projects-section,
.contact-section,
.careers-section {
  margin-top: 36px;
}

.why-grid article {
  padding: 16px;
}

.why-grid strong,
.project-preview strong {
  display: block;
  font-size: 1.05rem;
}

.project-preview {
  overflow: hidden;
}

.project-preview span {
  display: block;
  height: 150px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.28) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.22) 1px, transparent 1px),
    linear-gradient(135deg, #164670, #0d263f);
  background-size: 48px 100%, 100% 38px, auto;
}

.project-preview.cctv span {
  background:
    radial-gradient(circle at 58% 46%, #101d21 0 12%, var(--secondary) 13% 20%, transparent 21%),
    linear-gradient(135deg, #eef5f2, #c7dbe4);
}

.project-preview.service span {
  background:
    radial-gradient(circle at 50% 50%, #fff 0 15%, transparent 16%),
    linear-gradient(135deg, var(--orange), var(--yellow));
}

.project-preview strong,
.project-preview p {
  margin: 14px;
}

.contact-section:not(.contact-page),
.careers-section {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-page {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-hero {
  max-width: 860px;
  margin-bottom: 18px;
}

.contact-hero h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.contact-hero p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.contact-info-card {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(16, 35, 31, 0.06);
}

.contact-info-card h3 {
  margin: 8px 0 6px;
}

.contact-info-card p {
  color: var(--muted);
  line-height: 1.5;
}

.contact-info-card a {
  color: var(--secondary);
  font-weight: 850;
  text-decoration: none;
}

.compact-actions {
  margin-top: 16px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.map-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(16, 35, 31, 0.06);
}

.map-panel {
  min-height: 520px;
  overflow: hidden;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.contact-form h2 {
  margin: 0;
}

.contact-form p {
  margin: 0;
  color: var(--muted);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 850;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 750;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input[type="file"] {
  padding: 10px;
  background: #f8fafc;
}

.certificate-form {
  position: sticky;
  top: 88px;
}

.product-actions {
  display: grid;
  gap: 8px;
}

.variant-strip,
.variant-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 10px 0;
}

.variant-strip span,
.variant-detail strong {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.variant-strip button,
.variant-detail button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--secondary);
  padding: 6px 9px;
  font-size: 0.78rem;
  font-weight: 850;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 14px 0;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.application-card {
  padding: 16px;
}

.card-visual {
  height: 130px;
  border-radius: 8px;
  margin-bottom: 16px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.22) 1px, transparent 1px),
    linear-gradient(135deg, var(--primary), var(--tertiary));
  background-size: 40px 100%, auto;
}

.installer-visual {
  background:
    linear-gradient(135deg, transparent 46%, rgba(255,255,255,0.8) 47% 53%, transparent 54%),
    linear-gradient(135deg, var(--primary), var(--secondary));
}

.support-visual {
  background:
    radial-gradient(circle at 55% 45%, #fff 0 11%, transparent 12%),
    radial-gradient(circle at 45% 55%, #fff 0 11%, transparent 12%),
    linear-gradient(135deg, var(--accent), var(--tertiary));
}

.portal-dashboard,
.queue-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.portal-card h3,
.queue-item h3 {
  margin: 0 0 8px;
}

.portal-card p,
.queue-item p,
.application-card p {
  color: var(--muted);
}

.queue-section {
  margin-top: 28px;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.hidden {
  display: none;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 20, 18, 0.45);
}

.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: min(560px, 100%);
  height: 100%;
  overflow: auto;
  padding: 28px;
  border-radius: 0;
}

.close-button {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  font-size: 24px;
}

.drawer-form {
  display: grid;
  gap: 14px;
}

.drawer-form label,
.drawer-form .check-row {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.drawer-form textarea {
  min-height: 110px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  font-weight: 700;
}

.notice {
  padding: 12px;
  border: 1px solid #f2d3a9;
  background: #fff7e8;
  color: #6e3b0e;
  border-radius: 8px;
}

.compact {
  margin: 0;
  font-size: 0.92rem;
}

.success {
  padding: 12px;
  border: 1px solid #a7d8bd;
  background: #edf9ef;
  color: #0d6c39;
  border-radius: 8px;
}

.login-section {
  margin-top: 28px;
}

.login-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 24px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.login-card h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.login-card p {
  color: var(--muted);
  line-height: 1.55;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 850;
}

.login-form input {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 750;
}

.mobile-site-nav {
  display: none;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
  }

  .nav-menu-panel {
    position: static;
    width: 100%;
    max-height: 300px;
    margin-top: 6px;
  }

  .commerce-hero,
  .commerce-grid,
  .contact-info-grid,
  .contact-layout,
  .sela-hero,
  .sela-layout,
  .sela-info-grid,
  .sela-forms-grid,
  .application-grid {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    position: static;
  }

  .certificate-form {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 82px;
  }

  .section-header,
  .workflow-band,
  .contact-section:not(.contact-page),
  .careers-section {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar {
    position: sticky;
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    display: none;
  }

  .top-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(3, 52px);
    width: 100%;
  }

  .mobile-site-nav {
    position: fixed;
    z-index: 50;
    inset: auto 0 0 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px rgba(0, 33, 46, 0.12);
  }

  .mobile-site-nav a,
  .mobile-site-nav button {
    display: grid;
    place-items: center;
    gap: 3px;
    min-height: 56px;
    text-align: center;
    padding: 7px 5px;
    border: 0;
    border-radius: 8px;
    background: #eef6ff;
    color: var(--secondary);
    text-decoration: none;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
    cursor: pointer;
  }

  .mobile-site-nav svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex: 0 0 auto;
  }

  .mobile-site-nav a.active,
  .mobile-site-nav button[aria-expanded="true"] {
    background: var(--primary);
    color: #ffffff;
  }

  .mobile-more-panel {
    position: fixed;
    z-index: 60;
    left: 10px;
    right: 10px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    display: grid;
    gap: 13px;
    max-height: min(68vh, 560px);
    overflow: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 -22px 65px rgba(0, 33, 46, 0.24);
    text-align: left;
  }

  .mobile-more-panel[hidden] {
    display: none;
  }

  .mobile-more-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink);
  }

  .mobile-more-header button {
    width: 40px;
    min-height: 40px;
    padding: 0;
    background: #f4fbfd;
    color: var(--secondary);
    border: 1px solid var(--line);
  }

  .mobile-more-group {
    display: grid;
    gap: 6px;
  }

  .mobile-more-group p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mobile-more-group a,
  .mobile-more-actions a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7fbfc;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 850;
  }

  .mobile-more-group a span {
    color: var(--secondary);
    font-size: 12px;
  }

  .mobile-more-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-more-actions a {
    justify-content: center;
    background: var(--primary);
    color: #ffffff;
  }

  .status-pill,
  .primary-link {
    text-align: center;
    padding: 9px 8px;
    font-size: 14px;
  }

  .icon-action {
    width: 52px;
    height: 44px;
    padding: 0;
  }

  main {
    padding-top: 16px;
  }

  .commerce-hero {
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .sela-hero {
    min-height: auto;
    padding: 22px;
  }

  .sela-hero h1 {
    font-size: 38px;
  }

  .sela-selling-points,
  .centre-grid {
    grid-template-columns: 1fr;
  }

  .login-card {
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: 330px;
  }

  .product-grid,
  .hot-deal-grid,
  .category-tree,
  .why-grid,
  .project-preview-grid,
  .portal-dashboard,
  .queue-list {
    grid-template-columns: 1fr;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}
