:root {
  --sg-blue-950: #071c3f;
  --sg-blue-900: #0a2d63;
  --sg-blue-700: #075da8;
  --sg-cyan: #16bfd0;
  --sg-teal: #087f94;
  --sg-ink: #102033;
  --sg-muted: #617086;
  --sg-line: #dce8f3;
  --sg-soft: #f4f8fb;
  --sg-white: #ffffff;
  --sg-shadow: 0 18px 46px rgba(7, 28, 63, .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;
  color: var(--sg-ink);
  background: var(--sg-white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1 { color: var(--sg-blue-950); font-size: clamp(2.25rem, 5.8vw, 4.8rem); line-height: 1.02; margin-bottom: 20px; letter-spacing: 0; }
h2 { color: var(--sg-blue-950); font-size: clamp(1.7rem, 3.2vw, 2.55rem); line-height: 1.12; margin-bottom: 14px; }
h3 { color: var(--sg-blue-900); font-size: 1.12rem; line-height: 1.25; margin-bottom: 8px; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,232,243,.92);
}
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand strong { display: block; color: var(--sg-blue-950); line-height: 1.1; }
.brand span span { display: block; color: var(--sg-muted); font-size: .82rem; margin-top: 2px; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: 18px; color: #24364d; font-size: .94rem; font-weight: 650; flex-wrap: wrap; }
.nav-links a {
  position: relative;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--sg-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--sg-blue-700); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a[href="login.html"] {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(7,93,168,.24);
  border-radius: 8px;
  color: var(--sg-blue-900);
  background: #f8fcff;
}
.nav-links a[href="login.html"]::after { display: none; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sg-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--sg-blue-950);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-nav.is-open .nav-toggle span { background: transparent; }
.site-nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-nav.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); filter: saturate(1.05); }
.btn-primary { color: var(--sg-white); background: linear-gradient(135deg, var(--sg-blue-700), var(--sg-cyan)); box-shadow: 0 14px 28px rgba(7, 93, 168, .24); }
.btn-secondary { color: var(--sg-blue-900); background: var(--sg-white); border-color: var(--sg-line); }
.btn-dark { color: var(--sg-white); background: var(--sg-blue-950); }
.eyebrow { color: var(--sg-teal); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lead { color: #405168; font-size: 1.08rem; max-width: 720px; }
.hero { padding: 58px 0 54px; overflow: hidden; }
.business-hero h1,
.page-hero h1 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
}
.page-hero {
  padding: 44px 0;
  background: linear-gradient(145deg, #f8fcff, #eef7fb);
  border-bottom: 1px solid var(--sg-line);
}
.hero-split { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr); gap: 48px; align-items: center; }
.hero-panel {
  min-height: 430px;
  border-radius: 8px;
  padding: 18px;
  background: linear-gradient(145deg, #eef9fc, #ffffff 45%, #e8f1fb);
  border: 1px solid var(--sg-line);
  box-shadow: var(--sg-shadow);
  animation: floatPanel 6s ease-in-out infinite;
}
.hero-panel img { width: 100%; height: 394px; object-fit: contain; border-radius: 8px; background: linear-gradient(145deg, #ffffff, #e9f7fa); }
.hero h1,
.hero .lead,
.hero .tag-list,
.hero .btn,
.hero-panel {
  animation: heroUp .72s ease both;
}
.hero .lead { animation-delay: .08s; }
.hero .tag-list { animation-delay: .14s; }
.hero .btn { animation-delay: .2s; }
.hero-panel { animation: heroUp .72s ease .12s both, floatPanel 6s ease-in-out 1s infinite; }
.template-corporate .hero { background: linear-gradient(115deg, rgba(7,28,63,.96), rgba(10,45,99,.92) 52%, rgba(8,127,148,.84)); }
.template-corporate .hero h1, .template-corporate .hero .lead, .template-corporate .hero .eyebrow { color: var(--sg-white); }
.template-corporate .hero .lead { color: rgba(255,255,255,.84); }
.template-vending .hero { background: linear-gradient(145deg, #e9fbff, #ffffff 58%, #eaf4ff); }
.template-minimal .hero { background: #ffffff; border-bottom: 1px solid var(--sg-line); }
.section { padding: 56px 0; }
.section.compact { padding: 46px 0; }
.section.tight { padding: 34px 0; }
.section.soft { background: var(--sg-soft); }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 30px; }
.section-head p { max-width: 560px; color: var(--sg-muted); margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--sg-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--sg-white);
}
.service-row article {
  padding: 24px;
  border-right: 1px solid var(--sg-line);
}
.service-row article:last-child { border-right: 0; }
.card {
  background: var(--sg-white);
  border: 1px solid var(--sg-line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(7,28,63,.06);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(22,191,208,.45);
  box-shadow: var(--sg-shadow);
}
.product-card { display: flex; flex-direction: column; }
.product-card .btn { margin-top: auto; }
.catalogue-card { padding: 18px; }
.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.card-actions .btn { min-height: 40px; padding: 0 14px; }
.product-img { width: 100%; height: 210px; border-radius: 8px; object-fit: contain; margin-bottom: 18px; background: linear-gradient(145deg, #ffffff, #e9f7fa); transition: transform .28s ease; }
.product-card:hover .product-img { transform: scale(1.025); }
.detail-img { width: 100%; min-height: 430px; max-height: 520px; border-radius: 8px; object-fit: contain; border: 1px solid var(--sg-line); box-shadow: var(--sg-shadow); background: linear-gradient(145deg, #ffffff, #e9f7fa); }
.gallery-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 12px; margin-bottom: 24px; }
.gallery-grid img { width: 100%; height: 170px; border-radius: 8px; object-fit: contain; border: 1px solid var(--sg-line); background: linear-gradient(145deg, #ffffff, #e9f7fa); transition: transform .22s ease, box-shadow .22s ease; }
.gallery-grid img:first-child { height: 352px; }
.gallery-grid img:hover { transform: translateY(-3px) scale(1.015); box-shadow: var(--sg-shadow); }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.tag, .status { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: .78rem; font-weight: 850; }
.tag { background: #e9f7fa; color: var(--sg-teal); }
.status-new { color: #075da8; background: #e8f3ff; }
.status-contacted { color: #087f94; background: #e9f7fa; }
.status-quoted { color: #7a4b00; background: #fff3d8; }
.status-closed, .status-active { color: #17613a; background: #e7f7ed; }
.status-rejected, .status-inactive { color: #8c1d1d; background: #fde8e8; }
.feature-list { list-style: none; padding: 0; margin: 16px 0 0; }
.feature-list li { position: relative; padding-left: 24px; margin: 8px 0; color: #405168; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--sg-cyan); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--sg-line); border: 1px solid var(--sg-line); border-radius: 8px; overflow: hidden; }
.stats div { background: var(--sg-white); padding: 22px; transition: transform .22s ease, box-shadow .22s ease; }
.stats div:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(7,28,63,.08); }
.stats strong { display: block; font-size: 1.8rem; color: var(--sg-blue-700); line-height: 1; margin-bottom: 6px; }
.stats strong {
  animation: counterPop .7s ease both;
}
.cred-strip {
  border-top: 1px solid var(--sg-line);
  border-bottom: 1px solid var(--sg-line);
  background: #ffffff;
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cred-grid div {
  padding: 18px 18px;
  border-right: 1px solid var(--sg-line);
}
.cred-grid div:last-child { border-right: 0; }
.cred-grid strong {
  display: block;
  color: var(--sg-blue-950);
  margin-bottom: 4px;
}
.cred-grid span {
  display: block;
  color: var(--sg-muted);
  font-size: .9rem;
}
.partner-section {
  position: relative;
  overflow: hidden;
  padding: 48px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfe 100%);
  border-top: 1px solid var(--sg-line);
}
.partner-section .section-head {
  align-items: center;
  margin-bottom: 22px;
}
.partner-marquee {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}
.partner-marquee::before,
.partner-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 92px;
  pointer-events: none;
}
.partner-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f6fbfe, rgba(246,251,254,0));
}
.partner-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f6fbfe, rgba(246,251,254,0));
}
.partner-track {
  display: flex;
  width: max-content;
  animation: partnerMarquee 34s linear infinite;
  will-change: transform;
}
.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}
.partner-set {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding-right: 16px;
  flex: 0 0 auto;
}
.partner-logo-card {
  width: 190px;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--sg-line);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(7,28,63,.06);
}
.partner-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--sg-blue-900);
  background: linear-gradient(145deg, #eef9fc, #ffffff);
  border: 1px solid var(--sg-line);
  font-weight: 900;
  letter-spacing: 0;
}
.partner-logo-card strong {
  display: block;
  color: var(--sg-blue-950);
  font-size: .94rem;
  line-height: 1.2;
}
.partner-logo-card span {
  display: block;
  color: var(--sg-muted);
  font-size: .78rem;
  line-height: 1.25;
  margin-top: 3px;
}
.partner-note {
  margin: 18px 0 0;
  color: var(--sg-muted);
  font-size: .88rem;
}
.partner-admin-hint {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(22,191,208,.28);
  border-left: 4px solid var(--sg-cyan);
  border-radius: 8px;
  background: rgba(233,247,250,.72);
  color: var(--sg-blue-900);
  font-weight: 760;
}
.cta-band { background: var(--sg-blue-950); color: var(--sg-white); border-radius: 8px; padding: 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cta-band h2, .cta-band p { color: var(--sg-white); }
.form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form label { display: grid; gap: 8px; color: var(--sg-blue-900); font-weight: 780; }
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid var(--sg-line);
  border-radius: 8px;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--sg-ink);
  background: var(--sg-white);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--sg-cyan);
  box-shadow: 0 0 0 4px rgba(22,191,208,.13);
}
.form textarea { min-height: 140px; resize: vertical; }
.full { grid-column: 1 / -1; }
.site-footer { padding: 42px 0; background: #061733; color: rgba(255,255,255,.74); }
.site-footer strong, .site-footer h3 { color: var(--sg-white); }
.footer-grid { display: grid; grid-template-columns: 1.15fr .65fr .9fr .85fr; gap: 24px; }
.footer-links { display: grid; gap: 6px; color: rgba(255,255,255,.78); }
.footer-links a:hover { color: var(--sg-cyan); }
.copyright { font-size: .82rem; color: rgba(255,255,255,.55); }
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 16px 34px rgba(9, 94, 84, .26);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #1ebe5d;
  box-shadow: 0 20px 42px rgba(9, 94, 84, .34);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  display: block;
}
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: linear-gradient(135deg, #071c3f, #0a2d63 56%, #087f94); }
.login-card { width: min(460px, 100%); background: var(--sg-white); border-radius: 8px; padding: 30px; box-shadow: var(--sg-shadow); }
.admin-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; background: var(--sg-soft); }
.admin-sidebar { background: #061733; color: var(--sg-white); padding: 24px; }
.admin-sidebar .brand { min-width: 0; margin-bottom: 24px; }
.admin-sidebar .brand strong, .admin-sidebar .brand span span { color: var(--sg-white); }
.admin-menu { display: grid; gap: 8px; }
.admin-menu a {
  position: relative;
  padding: 11px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,.78);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.admin-menu a:hover, .admin-menu a.active { background: rgba(22,191,208,.18); color: var(--sg-white); transform: translateX(3px); }
.admin-menu a.logout-link {
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,.16);
  color: #ffffff;
}
.admin-menu a.logout-link:hover {
  background: rgba(255,255,255,.12);
}
.admin-menu a.active::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: var(--sg-cyan);
}
.admin-content { padding: 30px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--sg-line); border-radius: 8px; background: var(--sg-white); box-shadow: 0 10px 24px rgba(7,28,63,.06); }
.data-table { width: 100%; border-collapse: collapse; background: var(--sg-white); }
.data-table th, .data-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--sg-line); font-size: .92rem; vertical-align: top; }
.data-table th { color: var(--sg-blue-900); background: #eef7fb; }
.data-table tr { transition: background .18s ease; }
.data-table tr:hover td { background: #f7fbfe; }
.settings-preview { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; align-items: center; }
.logo-placeholder { height: 88px; border-radius: 8px; display: grid; place-items: center; color: var(--sg-white); font-weight: 900; background: linear-gradient(135deg, var(--sg-blue-700), var(--sg-cyan)); }
.product-showcase {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.showcase-bg {
  position: absolute;
  inset: 36px 18px 20px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(233,247,250,.95)),
    radial-gradient(circle at 78% 18%, rgba(22,191,208,.25), transparent 34%);
  border: 1px solid rgba(220,232,243,.95);
  box-shadow: var(--sg-shadow);
}
.product-showcase img {
  position: relative;
  z-index: 2;
  max-height: 390px;
  width: min(88%, 430px);
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(7,28,63,.18));
  animation: floatPanel 6s ease-in-out 1s infinite;
}
.feature-badges {
  position: absolute;
  z-index: 3;
  inset: auto 0 10px 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.feature-badges span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--sg-blue-900);
  background: rgba(255,255,255,.94);
  border: 1px solid var(--sg-line);
  font-size: .78rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(7,28,63,.08);
}
.vending-commercial .business-hero {
  background: linear-gradient(145deg, #f7fbfe 0%, #e9f7fa 100%);
}
.vending-commercial .product-showcase {
  min-height: 460px;
}
.catalogue-clean .business-hero {
  background: #ffffff;
}
.catalogue-clean .hero-split {
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
}
.catalogue-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.catalogue-filter a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--sg-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--sg-blue-900);
  font-weight: 800;
}
.anchor-target {
  position: relative;
  top: -92px;
  height: 0;
  pointer-events: none;
}
.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: 34px;
  align-items: start;
}
.product-info h1 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}
.enquiry-form {
  max-width: 920px;
  margin: 0 auto;
}
.partner-card .logo-placeholder {
  margin-bottom: 14px;
}
.thumb {
  width: 62px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--sg-line);
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.upload-box {
  border: 1px dashed rgba(7,93,168,.42);
  background: linear-gradient(145deg, #f8fcff, #eef9fc);
  border-radius: 8px;
  min-height: 132px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 8px;
  color: var(--sg-muted);
}
.upload-box strong { color: var(--sg-blue-900); }
.image-preview {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--sg-line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbfd;
}
.image-preview img {
  width: 110px;
  height: 88px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
}
.management-note {
  border-left: 4px solid var(--sg-cyan);
  background: linear-gradient(145deg, #f8fcff, #eef9fc);
}
@keyframes heroUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes counterPop {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes partnerMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .partner-track { animation: none; }
}
@media (max-width: 920px) {
  .hero-split, .grid-2, .grid-3, .grid-4, .footer-grid, .admin-shell, .form-grid, .gallery-grid, .settings-preview, .cred-grid, .service-row, .product-detail-layout { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .section-head, .toolbar, .cta-band { display: block; }
  .nav-inner { min-height: 68px; padding: 10px 0; }
  .brand { min-width: 0; padding-right: 54px; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: .95rem; }
  .nav-toggle { display: inline-flex; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--sg-line);
    border-radius: 0 0 8px 8px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 36px rgba(7,28,63,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .site-nav.is-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links a,
  .nav-links a[href="login.html"] {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #172a43;
  }
  .nav-links a:hover,
  .nav-links a.is-active,
  .nav-links a[href="login.html"]:hover {
    background: #eef7fb;
    color: var(--sg-blue-700);
  }
  .nav-links a::after { display: none; }
  .service-row article, .cred-grid div { border-right: 0; border-bottom: 1px solid var(--sg-line); }
  .service-row article:last-child, .cred-grid div:last-child { border-bottom: 0; }
  .admin-content { padding: 20px; }
  .gallery-grid img, .gallery-grid img:first-child { height: 220px; }
  .partner-section .section-head { display: block; }
  .partner-logo-card { width: 174px; min-height: 76px; }
  .partner-marquee::before,
  .partner-marquee::after { width: 42px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero, .section { padding: 52px 0; }
  .stats { grid-template-columns: 1fr; }
  h1 { font-size: 2.35rem; }
}
