:root,
html[data-theme="light"] {
  color-scheme: light;
  --blue: #1e6bff;
  --blue-deep: #1557d6;
  --blue-soft: #e8f0ff;
  --navy: #0b1b3a;
  --navy-2: #122448;
  --heading: #0b1b3a;
  --text: #12203a;
  --muted: #5b6b82;
  --line: #e4eaf3;
  --bg: #f6f8fc;
  --bg-alt: #eef3fa;
  --white: #ffffff;
  --footer-bg: #0b1b3a;
  --shadow: 0 14px 40px rgba(18, 32, 58, 0.08);
  --shadow-lg: 0 28px 56px rgba(18, 32, 58, 0.12);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --header-bg: rgba(255, 255, 255, 0.78);
  --header-bg-scrolled: rgba(255, 255, 255, 0.94);
  --hero-panel: rgba(255, 255, 255, 0.62);
  --input-bg: rgba(255, 255, 255, 0.78);
  --chip-bg: #ffffff;
  --nav-mobile: rgba(255, 255, 255, 0.94);
  --page-hero-from: rgba(232, 240, 255, 0.9);
  --page-hero-to: rgba(244, 247, 251, 0.35);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --container: 1180px;
  --header-h: 88px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --blue: #4d8dff;
  --blue-deep: #3b7af0;
  --blue-soft: rgba(77, 141, 255, 0.16);
  --navy: #0b1b3a;
  --navy-2: #15233f;
  --heading: #f3f6fb;
  --text: #e8eef8;
  --muted: #9aa8bf;
  --line: rgba(255, 255, 255, 0.12);
  --bg: #0b1220;
  --bg-alt: #10192b;
  --white: #152033;
  --footer-bg: #070d18;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.4);
  --glass: rgba(16, 26, 46, 0.72);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-strong: rgba(21, 32, 51, 0.92);
  --header-bg: rgba(11, 18, 32, 0.78);
  --header-bg-scrolled: rgba(11, 18, 32, 0.94);
  --hero-panel: rgba(16, 26, 46, 0.72);
  --input-bg: rgba(255, 255, 255, 0.06);
  --chip-bg: rgba(255, 255, 255, 0.06);
  --nav-mobile: rgba(11, 18, 32, 0.96);
  --page-hero-from: rgba(17, 26, 44, 0.95);
  --page-hero-to: rgba(11, 18, 32, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(30, 107, 255, 0.1), transparent 55%),
    radial-gradient(900px 420px at 100% 12%, rgba(30, 107, 255, 0.06), transparent 50%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease);
}
html[data-theme="dark"] body {
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(77, 141, 255, 0.14), transparent 55%),
    radial-gradient(900px 420px at 100% 12%, rgba(77, 141, 255, 0.08), transparent 50%),
    var(--bg);
}
html[data-theme="dark"] .product-card img,
html[data-theme="dark"] .featured-slide img {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--heading);
}

p { margin: 0 0 1em; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--blue);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link { border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s, color 0.22s, border-color 0.22s;
}
.btn .icon { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(30, 107, 255, 0.28);
}
.btn-primary:hover { background: var(--blue-deep); }
.btn-outline {
  background: var(--chip-bg);
  color: var(--blue);
  border-color: var(--blue);
}
.btn-ghost-white {
  background: #fff;
  color: var(--blue);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-sm { padding: 10px 16px; font-size: 0.85rem; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.88rem;
}
.link-more .icon { width: 15px; height: 15px; transition: transform 0.22s var(--ease); }
.link-more:hover .icon { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 10px 0 8px;
  background: transparent;
  border: 0;
}
.site-header .header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 32px), 1240px);
  margin-inline: auto;
  min-height: 64px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--header-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--heading);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}
.theme-toggle:hover { transform: translateY(-1px); background: var(--glass-strong); }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
.account-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--heading);
  display: grid;
  place-items: center;
  backdrop-filter: blur(12px);
  transition: background 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.account-btn .icon { width: 18px; height: 18px; }
.account-btn:hover {
  transform: translateY(-1px);
  background: var(--glass-strong);
  box-shadow: 0 8px 18px rgba(30, 107, 255, 0.16);
  color: var(--blue);
}
.account-btn.is-auth {
  position: relative;
}
.account-btn.is-auth::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px var(--header-bg-scrolled, #fff);
}
.logout-meter {
  height: 6px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 14px;
}
.logout-meter span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--blue);
  border-radius: 99px;
  transition: width 0.2s linear;
}
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 107, 255, 0.32);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s, background 0.22s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.back-to-top:hover { background: var(--blue-deep); transform: translateY(-2px); }
.back-to-top .icon { width: 20px; height: 20px; }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  color: var(--heading);
  white-space: nowrap;
}
.logo-mark {
  width: 34px;
  height: 34px;
  color: var(--blue);
  flex: 0 0 auto;
}
.logo-img {
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  flex: 0 0 auto;
}
.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}
.nav a,
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.nav a.is-active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.nav .icon { width: 12px; height: 12px; color: var(--muted); }
.has-drop { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  padding: 10px;
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s var(--ease);
  z-index: 20;
}
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown,
.has-drop.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}
.dropdown a:hover { background: var(--blue-soft); color: var(--blue); }
.dropdown a::after { display: none !important; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--heading);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 48px 0 70px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.7rem);
  font-weight: 800;
  margin-bottom: 18px;
}
.hero-copy h1 .accent { color: var(--blue); }
.hero-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 520px;
}
.hero-copy .slider-dots { margin: 16px 0 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-visual {
  position: relative;
  min-height: 460px;
}
.hero-visual .fade-slider,
.hero-visual .fade-slider__slides,
.hero-visual .fade-slider__slide {
  height: 100%;
  min-height: 460px;
}
.hero-photo {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-sign {
  position: absolute;
  top: 18%;
  right: 18%;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 1.05rem;
  text-shadow: 0 8px 24px rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 18%;
  display: flex;
  gap: 8px;
  z-index: 3;
}

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-radius: var(--radius-lg); margin: 0 16px; }
.eyebrow {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  max-width: 520px;
}
.section-head p { color: var(--muted); max-width: 460px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 42px;
}
.service-card h3 { font-size: 1.05rem; margin: 14px 0 8px; }
.service-card p { color: var(--muted); font-size: 0.9rem; }
.service-card,
.feature-card,
.form-card,
.stat,
.catalog-card {
  border-radius: var(--radius);
  padding: 22px;
}
.icon-wrap {
  width: 48px;
  height: 48px;
  color: var(--blue);
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  display: grid;
  place-items: center;
}
.icon-wrap .icon { width: 24px; height: 24px; }

/* Products split */
.products-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}
.carousel-head {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 16px;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  background: var(--blue);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(30,107,255,0.25);
}
.icon-btn .icon { width: 16px; height: 16px; }
.icon-btn[data-prev] .icon { transform: rotate(90deg); }
.icon-btn[data-next] .icon { transform: rotate(-90deg); }
.product-card {
  padding: 20px 18px 18px;
  border-radius: var(--radius);
  min-height: 280px;
}
.product-card img {
  height: 140px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 16px;
}
.product-card h3 { font-size: 0.98rem; margin-bottom: 2px; }
.product-card .sub { color: var(--muted); font-size: 0.82rem; margin-bottom: 12px; }

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.feature-card { padding: 24px; }
.feature-card h3 { font-size: 1rem; margin: 10px 0 6px; }
.feature-card p { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* Industries */
.industries-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  margin-top: 36px;
  text-align: center;
}
.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-weight: 600;
  font-size: 0.88rem;
}
.industry-disc {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.industry-disc .icon { width: 28px; height: 28px; }

/* CTA */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: linear-gradient(105deg, #1a5cff 0%, #3b82f6 48%, #2563eb 100%);
  box-shadow: 0 18px 40px rgba(30, 107, 255, 0.28);
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.cta-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.cta-copy .icon {
  width: 54px;
  height: 54px;
  padding: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
}
.cta-copy h2 { color: #fff; font-size: 1.45rem; margin: 0; }
.cta-copy p { margin: 4px 0 0; opacity: 0.92; }
.cta-actions { display: flex; gap: 10px; position: relative; z-index: 1; flex-wrap: wrap; }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 0;
  margin-top: 28px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 0.85fr) 1.2fr;
  gap: 22px;
}
.footer-grid > * { min-width: 0; }
[id] { scroll-margin-top: 96px; }
.site-footer h4 {
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.site-footer a { display: block; padding: 4px 0; font-size: 0.86rem; opacity: 0.82; }
.site-footer a:hover { opacity: 1; color: #fff; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 0.86rem; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  padding: 0;
}
.socials .icon { width: 16px; height: 16px; color: #fff; }
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-form button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.newsletter-note {
  font-size: 0.82rem;
  margin-top: 8px;
  color: rgba(255,255,255,0.82);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding: 16px 0 22px;
  font-size: 0.8rem;
}
.footer-bottom nav { display: flex; gap: 16px; }
.footer-bottom a { display: inline; padding: 0; }

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 4px 0 2px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  animation: trustPulse 4.5s ease-in-out infinite;
  max-width: none;
}
.trust-badge:nth-child(2) { animation-delay: 0.4s; }
.trust-badge:nth-child(3) { animation-delay: 0.8s; }
.trust-badge:nth-child(4) { animation-delay: 1.2s; }
.trust-badge .icon {
  width: 14px;
  height: 14px;
  color: #7eb6ff;
  flex-shrink: 0;
}
.trust-badge.is-live .icon { color: #86efac; }
.trust-badge b {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline;
  width: auto;
  line-height: 1;
}
.trust-badge small {
  display: none;
}

.account-wrap { max-width: 720px; }
.account-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.account-tab {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--heading);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
}
.account-tab.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.is-hidden { display: none !important; }
.check-line {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
  font-size: 0.92rem;
}
.check-line input { width: auto; }
.field input[type="checkbox"] { width: auto; margin-right: 8px; }
.field-hint { color: var(--muted); font-size: 0.88rem; margin: 0 0 16px; }

/* Page hero */
.page-hero {
  padding: 72px 0 48px;
  background:
    linear-gradient(180deg, var(--page-hero-from), var(--page-hero-to));
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.page-hero h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); }

.crumbs {
  padding: 10px 0 0;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  opacity: 0.45;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }

.related-links {
  padding: 28px 0 8px;
}
.related-links h2 { font-size: 1.15rem; margin: 0 0 4px; }
.related-links p { color: var(--muted); font-size: 0.88rem; margin: 0 0 12px; }
.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-links a {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}
.related-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.sitemap-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 28px;
}
.sitemap-stats {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.sitemap-stats b {
  color: var(--heading);
  font-size: 1.2rem;
  margin-right: 4px;
}
.sitemap-search {
  flex: 1;
  min-width: 200px;
  margin: 0;
}
.sitemap-search input {
  width: 100%;
  max-width: 360px;
  border: 1px solid var(--line);
  background: var(--input-bg);
  color: var(--heading);
  border-radius: 999px;
  padding: 10px 16px;
}
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.sitemap-card {
  padding: 22px 20px 12px;
  min-height: 100%;
}
.sitemap-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sitemap-card-head h2 {
  margin: 0;
  font-size: 1.1rem;
}
.sitemap-card-head small { color: var(--muted); font-size: 0.78rem; }
.sitemap-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sitemap-card li { border-bottom: 1px solid var(--line); }
.sitemap-card li:last-child { border-bottom: 0; }
.sitemap-card a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 4px;
  color: inherit;
  border-radius: var(--radius-sm);
}
.sitemap-card a:hover {
  color: var(--blue);
  background: var(--blue-soft);
  padding-left: 10px;
  padding-right: 10px;
}
.sitemap-card a small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}
.sitemap-empty { color: var(--muted); margin-top: 18px; }
.legal-body h2 { font-size: 1.2rem; margin-top: 1.4em; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 12px 0 20px; overflow: hidden; border-radius: var(--radius-sm); }
.legal-body th, .legal-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }

/* Catalog & cards */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 28px;
}
.filter-chip {
  border: 1px solid var(--line);
  background: var(--chip-bg);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--muted);
}
.filter-chip.is-active,
.filter-chip:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.catalog-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.spec-list { padding-left: 18px; color: var(--muted); }
.spec-list li { margin: 8px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}
.info-list { display: grid; gap: 14px; }
.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.info-item .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }

.form-card { padding: 28px; border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--input-bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30,107,255,0.12);
}
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.alert-success { background: var(--blue-soft); color: var(--heading); }
html[data-theme="dark"] .alert-success { background: rgba(34, 197, 94, 0.16); color: #86efac; }
.alert-error { background: #fdecec; color: #991b1b; }
html[data-theme="dark"] .alert-error { background: rgba(239, 68, 68, 0.16); color: #fca5a5; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.stat {
  text-align: center;
  padding: 22px 12px;
}
.stat b {
  display: block;
  font-size: 1.8rem;
  color: var(--blue);
}
.stat span { color: var(--muted); font-size: 0.86rem; }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.featured-slide {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
}
.rounded-media {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

@media (max-width: 1180px) {
  .nav a, .nav-btn { padding: 10px 8px; font-size: 0.82rem; }
  .logo { font-size: 0.8rem; letter-spacing: 0.02em; }
}

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-row { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
  .menu-toggle { display: grid; place-items: center; z-index: 61; }
  .nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: var(--header-h);
    background: var(--nav-mobile);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 20px;
    display: none;
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .site-header .header-inner { border-radius: var(--radius); }
  .nav.open { display: flex; z-index: 60; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; padding: 0 0 0 12px; }
  .has-drop.open .dropdown { display: block; }
  .account-menu .dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .account-menu.open .dropdown,
  .account-menu:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .hero-grid, .products-split, .why-grid, .detail-grid, .contact-grid, .two-col, .form-row, .featured-slide {
    grid-template-columns: 1fr;
  }
  .site-header .header-inner { grid-template-columns: 1fr auto; }
  .hero-visual { min-height: 320px; }
  .hero-photo { height: 320px; border-radius: var(--radius); }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .services-grid, .feature-grid, .catalog-grid, .card-grid, .card-grid-3, .industries-row, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-actions, .cta-actions { width: 100%; }
  .btn { justify-content: center; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .sitemap-search input { max-width: none; }
}

@media (max-width: 480px) {
  .header-cta { padding: 8px 10px; font-size: 0.75rem; }
  .logo { font-size: 0.72rem; }
}
