:root {
  --page-bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f7f8fa;
  --line: #e4e7eb;
  --line-strong: #d0d5dd;
  --text: #202939;
  --muted: #667085;
  --brand: #0d77b8;
  --brand-dark: #055c93;
  --accent: #0d7a33;
  --accent-dark: #086128;
  --topbar: #0a5e2a;
  --hero-dark: #41443b;
  --container: 1180px;
  --shadow-soft: 0 10px 30px rgba(16, 24, 40, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--page-bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-topbar {
  background: var(--topbar);
  color: #fff;
  font-size: 12px;
}

.topbar-shell,
.topbar-links,
.header-main,
.category-bar,
.hero-grid,
.catalog-layout,
.product-layout,
.about-process,
.contact-columns,
.footer-shell,
.footer-links,
.trust-logos,
.faq-layout {
  display: flex;
}

.topbar-shell {
  min-height: 32px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar-links { gap: 18px; align-items: center; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.header-main {
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
}

.brand strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #17a1eb);
}

.header-search {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 520px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.header-search input {
  flex: 1;
  border: 0;
  padding: 12px 14px;
  min-width: 0;
}

.header-search button {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}

.account-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  white-space: nowrap;
}

.account-links a { color: var(--muted); }

.category-bar {
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
}

.category-bar a {
  color: var(--text);
  white-space: nowrap;
}

.page { padding-bottom: 72px; }
.section { padding-top: 32px; }

.hero-grid {
  gap: 24px;
  padding-top: 18px;
}

.hero-sidebar {
  width: 240px;
  flex: 0 0 240px;
  border: 1px solid var(--line);
  background: #fff;
}

.hero-sidebar h2,
.section-header h2,
.trust-panel h2,
.faq-sidebar h2 {
  font-size: 24px;
  margin: 0;
  letter-spacing: -0.04em;
}

.sidebar-heading,
.hero-content-card,
.section-card,
.trust-panel,
.support-card,
.faq-sidebar,
.faq-content,
.contact-card,
.contact-form-shell,
.product-summary,
.spec-card,
.about-card,
.about-timeline,
.plain-page {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.sidebar-heading,
.section-header,
.contact-hero,
.faq-hero,
.about-hero-copy,
.plain-page {
  padding: 24px;
}

.category-list {
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
}

.category-list li + li { border-top: 1px solid var(--line); }
.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  font-size: 14px;
}

.hero-main { flex: 1; min-width: 0; }

.hero-banner {
  min-height: 310px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  background: #dde6d7;
  box-shadow: var(--shadow-soft);
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 42px;
  background: linear-gradient(90deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.42) 42%, rgba(255,255,255,0.06) 72%);
}

.hero-content-card {
  max-width: 360px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
}

.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.05em;
}

h2 { font-size: 32px; line-height: 1.05; }
h3 { margin: 0; font-size: 20px; line-height: 1.2; }
p {
  color: var(--muted);
  line-height: 1.7;
}

.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.button,
.button-secondary,
.quote-button,
.contact-form-shell button,
.product-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  font-weight: 700;
}

.button,
.contact-form-shell button,
.product-upload {
  background: var(--accent);
  color: #fff;
}

.button-secondary,
.quote-button {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--line-strong);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.product-grid,
.mini-grid,
.support-steps,
.about-checks,
.contact-info-grid,
.faq-cards {
  display: grid;
  gap: 18px;
}

.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.support-steps,
.faq-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.product-card,
.mini-card,
.support-card,
.faq-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.product-thumb,
.mini-card img,
.about-hero-media img,
.about-card img,
.product-photo-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface-alt);
}

.product-thumb--placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.92) 12%, rgba(255,255,255,0.06) 12.5%),
    linear-gradient(135deg, #0d77b8 0%, #17a1eb 48%, #d9edf7 48.5%, #f7f9fb 100%);
  color: #fff;
}

.product-thumb--placeholder span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
}

.product-thumb--placeholder strong {
  font-size: 22px;
  line-height: 1.05;
  max-width: 170px;
}

.product-card-body,
.mini-card-body,
.support-card,
.faq-card,
.contact-card {
  padding: 16px;
}

.mini-card-body span,
.product-card-body span {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.trust-panel {
  padding: 24px;
  background: linear-gradient(180deg, #f7faf7 0%, #fff 100%);
}

.trust-logos {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.trust-logos span {
  min-width: 110px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px;
  color: var(--muted);
  background: #fff;
  font-weight: 700;
}

.catalog-layout,
.product-layout,
.contact-columns,
.faq-layout {
  align-items: start;
  gap: 24px;
}

.catalog-sidebar,
.faq-sidebar {
  width: 280px;
  flex: 0 0 280px;
}

.catalog-content,
.faq-content {
  flex: 1;
  min-width: 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 20px;
}

.mini-chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
}

.product-layout {
  align-items: start;
}

.product-builder-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.product-gallery {
  flex: 0 0 46%;
}

.product-photo-main {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}

.product-photo-main img { aspect-ratio: 1 / 1; }

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.product-thumbs span {
  display: block;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-alt);
}

.product-gallery-note {
  margin-top: 18px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef6fb 100%);
  border: 1px solid #d8e7f2;
}

.product-gallery-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.product-gallery-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-summary {
  flex: 1;
  padding: 24px;
}

.product-summary .price {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  font-size: 34px;
  color: var(--accent);
  font-weight: 800;
}

.product-summary .price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.product-highlights {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.product-highlights li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.product-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.product-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.product-meta-strip div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-alt);
}

.product-meta-strip span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-meta-strip strong {
  display: block;
  line-height: 1.5;
}

.product-builder-embed {
  margin-top: 24px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.option-grid label,
.contact-form-grid label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.option-grid select,
.contact-form-grid input,
.contact-form-grid textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: #fff;
}

.contact-form-grid textarea { min-height: 160px; resize: vertical; }

.spec-card,
.review-card,
.about-timeline {
  margin-top: 24px;
  padding: 24px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child { border-bottom: 0; }

.rich-content,
.about-copy {
  color: var(--muted);
  line-height: 1.75;
}

.rich-content h2,
.about-copy h2 {
  font-size: 28px;
  color: var(--text);
  margin: 28px 0 10px;
}

.rich-content h3,
.about-copy h3 {
  margin: 22px 0 10px;
}

.review-card {
  background: #fafafa;
}

.review-summary {
  display: flex;
  gap: 28px;
  align-items: center;
}

.score-box {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}

.about-hero,
.contact-hero,
.faq-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.about-hero-copy {
  background: var(--hero-dark);
  color: #fff;
}

.about-hero-copy p,
.about-hero-copy h1 {
  color: #fff;
}

.about-hero-media img,
.contact-hero img,
.faq-hero img {
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.about-process {
  gap: 22px;
  margin-top: 28px;
  align-items: start;
}

.about-process-media {
  width: 320px;
  flex: 0 0 320px;
  display: grid;
  gap: 16px;
}

.about-card { overflow: hidden; }
.about-card img { aspect-ratio: 16 / 10; }

.about-process-copy {
  flex: 1;
  min-width: 0;
}

.process-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.process-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
}

.process-list strong {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef5fb;
  color: var(--brand);
}

.about-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.timeline-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background: #fcfcfd;
}

.timeline-item span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
}

.contact-columns > * { flex: 1; min-width: 0; }

.contact-card h3,
.faq-card h3,
.timeline-item h3 {
  margin-bottom: 8px;
}

.contact-form-shell {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form-grid .full { grid-column: 1 / -1; }

.faq-layout {
  margin-top: 28px;
}

.faq-menu {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.faq-menu li + li { margin-top: 10px; }
.faq-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  background: #fff;
}

.faq-item + .faq-item { margin-top: 16px; }

.plain-page {
  margin-top: 28px;
}

.footer {
  padding: 44px 0 64px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-trust {
  padding-bottom: 28px;
}

.footer-shell {
  justify-content: space-between;
  align-items: start;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.footer-branding { max-width: 360px; }

.footer-links {
  gap: 48px;
}

.footer-links > div {
  display: grid;
  gap: 10px;
}

.footer-links h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer-meta { margin-top: 14px; }

@media (max-width: 1100px) {
  .product-grid,
  .support-steps,
  .faq-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid,
  .catalog-layout,
  .product-layout,
  .about-process,
  .contact-columns,
  .faq-layout,
  .about-hero,
  .contact-hero,
  .faq-hero {
    display: block;
  }
  .hero-sidebar,
  .catalog-sidebar,
  .faq-sidebar,
  .about-process-media {
    width: auto;
    flex: none;
    margin-bottom: 24px;
  }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 20px), var(--container)); }
  .topbar-shell,
  .header-main,
  .footer-shell,
  .footer-links {
    display: block;
  }
  .topbar-links,
  .account-links {
    margin-top: 8px;
    flex-wrap: wrap;
  }
  .header-search {
    margin: 14px 0;
    max-width: none;
  }
  .product-grid,
  .mini-grid,
  .support-steps,
  .contact-info-grid,
  .faq-cards,
  .product-thumbs,
  .product-meta-strip,
  .about-timeline,
  .contact-form-grid,
  .option-grid {
    grid-template-columns: 1fr;
  }
  .hero-overlay { padding: 22px; }
  .hero-content-card,
  .section-header,
  .sidebar-heading,
  .section-card,
  .support-card,
  .faq-card,
  .faq-item,
  .contact-card,
  .contact-form-shell,
  .product-summary,
  .spec-card,
  .review-card,
  .about-card,
  .about-timeline,
  .plain-page,
  .about-hero-copy {
    padding: 18px;
  }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
}
