:root {
  --ink: #18212b;
  --muted: #5f6974;
  --line: #dfe5e8;
  --paper: #f7f5ef;
  --white: #ffffff;
  --orange: #e86624;
  --green: #19735d;
  --blue: #285f86;
  --amber: #f4b942;
  --shadow: 0 18px 48px rgba(22, 32, 42, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

main {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(230px, auto);
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(223, 229, 232, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(24, 33, 43, 0.18);
}

.brand b {
  display: block;
  line-height: 1.1;
}

.brand small {
  display: block;
  max-width: 320px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.header-actions a,
.language-select select,
.filter-bar input,
.filter-bar select,
.filter-bar button,
.inquiry-form input,
.inquiry-form select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-links a {
  padding: 10px 12px;
  color: #303b45;
  font-size: 14px;
}

.nav-links a:hover,
.card-actions a:hover,
.footer-grid a:hover {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-select {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.language-select select {
  max-width: 142px;
  padding: 0 28px 0 10px;
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.1;
}

.button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(232, 102, 36, 0.28);
  outline-offset: 2px;
}

.button-primary {
  background: var(--orange);
  color: var(--white);
}

.button-secondary {
  border-color: #c7d3d8;
  background: #f9fbfb;
  color: var(--ink);
}

.button-small {
  min-height: 40px;
  padding: 0 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.header-actions .button-small {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.hero,
.page-hero,
.section {
  padding-right: clamp(18px, 4vw, 56px);
  padding-left: clamp(18px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
  min-height: calc(100vh - 72px);
  padding-top: clamp(30px, 5vw, 70px);
  padding-bottom: clamp(44px, 7vw, 90px);
  background: #f7f5ef;
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.hero-metrics span {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  color: var(--muted);
  font-size: 13px;
}

.hero-metrics b {
  display: block;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.05;
}

.hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-split {
  align-items: start;
  min-height: auto;
  padding-top: 48px;
  padding-bottom: 24px;
  background: #f7f5ef;
}

.hero-split .hero-copy {
  align-self: center;
}

.hero-split #product-assistant {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.hero-product-stack {
  grid-column: 1;
}

.hero-split h1 {
  max-width: 720px;
  font-size: 68px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

.product-matrix a {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 104px;
  padding: 14px;
  border: 1px solid #d7dfdc;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.product-matrix a:hover {
  border-color: rgba(25, 115, 93, 0.42);
  background: #ffffff;
}

.product-matrix span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-matrix b {
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}

.product-matrix small {
  color: var(--muted);
  line-height: 1.3;
}

.assistant-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #d6dfdc;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(22, 32, 42, 0.11);
}

.assistant-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.assistant-head h2 {
  max-width: 560px;
  font-size: 32px;
  line-height: 1.08;
}

.assistant-head .eyebrow {
  margin-bottom: 8px;
}

.assistant-head > span {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #cfdadc;
  border-radius: var(--radius);
  background: #f7faf9;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.assistant-thread {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 166px;
  max-height: 300px;
  overflow: auto;
  padding: 14px;
  border: 1px solid #e4ebe9;
  border-radius: var(--radius);
  background: #f7faf9;
}

.assistant-bubble {
  width: fit-content;
  max-width: 88%;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: #2e3b45;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.assistant-bubble-agent {
  border: 1px solid #dce6e2;
  background: #ffffff;
}

.assistant-bubble-buyer {
  justify-self: end;
  background: #1d6e5b;
  color: #ffffff;
}

.assistant-loading {
  color: var(--muted);
}

.assistant-prompts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.assistant-prompts button {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d6dfdc;
  border-radius: var(--radius);
  background: #ffffff;
  color: #33414d;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.assistant-prompts button:hover {
  border-color: rgba(232, 102, 36, 0.55);
}

.assistant-form {
  display: grid;
  gap: 10px;
}

.assistant-form textarea,
.assistant-lead-form input,
.quote-form input,
.inquiry-form input,
.inquiry-form select {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
}

.assistant-form textarea {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
  line-height: 1.45;
}

.assistant-recommendations {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #d8e4e1;
  border-radius: var(--radius);
  background: #f8fbfa;
}

.assistant-rec-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.assistant-rec-heading span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.assistant-rec-heading b {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
}

.assistant-rec-list {
  display: grid;
  gap: 10px;
}

.assistant-rec {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid #dfe7e5;
  border-radius: var(--radius);
  background: #fbfcfc;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.assistant-rec:hover,
.assistant-rec:focus-visible {
  border-color: var(--green);
  box-shadow: 0 12px 28px rgba(20, 55, 48, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.assistant-rec img {
  width: 120px;
  height: 104px;
  border-radius: 6px;
  object-fit: cover;
  background: #eef2f1;
}

.assistant-rec span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.assistant-rec h3 {
  margin-top: 4px;
  font-size: 17px;
}

.assistant-rec h3 a {
  color: var(--ink);
  text-decoration: none;
}

.assistant-rec h3 a:hover {
  color: var(--green);
}

.assistant-rec p {
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.assistant-rec-actions {
  display: grid;
  grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.assistant-rec-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #c7d3d8;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.assistant-rec-link:hover {
  border-color: var(--blue);
  background: #eef4f7;
}

.assistant-lead-form {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(232, 102, 36, 0.32);
  border-radius: var(--radius);
  background: #fffaf6;
}

.assistant-lead-head h3 {
  font-size: 20px;
}

.assistant-lead-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.assistant-lead-form input {
  padding: 0 12px;
}

.assistant-lead-form p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.assistant-lead-form a {
  color: var(--blue);
  font-weight: 800;
}

.scenario-section {
  background: #ffffff;
}

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

.scenario-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.scenario-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef2f1;
}

.scenario-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.scenario-body > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.scenario-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.scenario-score {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e4ebe9;
  border-radius: 6px;
  background: #f7faf9;
}

.scenario-score b {
  color: var(--orange);
  font-size: 24px;
  line-height: 1;
}

.scenario-score small {
  color: var(--muted);
  line-height: 1.25;
}

.scenario-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scenario-products a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid #d5dfdc;
  border-radius: 999px;
  background: #fbfcfc;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.procurement-section {
  background: #f7faf9;
}

.procurement-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.2fr) minmax(0, 0.78fr);
  gap: 18px;
}

.procurement-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.procurement-panel h3 {
  margin-bottom: 12px;
}

.meaning-list {
  display: grid;
  gap: 10px;
}

.meaning-list div {
  padding: 12px;
  border: 1px solid #e6eeee;
  border-radius: 6px;
  background: #fbfcfc;
}

.meaning-list b,
.meaning-list span,
.meaning-list p {
  display: block;
}

.meaning-list span {
  margin-top: 4px;
  color: var(--ink);
  font-weight: 800;
}

.meaning-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.category-hero,
.product-hero {
  min-height: auto;
  padding-top: clamp(38px, 6vw, 82px);
  padding-bottom: clamp(38px, 6vw, 82px);
}

.category-hero h1,
.product-hero h1,
.compact-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.compact-hero {
  max-width: 1180px;
  padding-top: clamp(42px, 7vw, 90px);
  padding-bottom: clamp(28px, 5vw, 58px);
}

.compact-hero .lead {
  max-width: 860px;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.trust-band p {
  margin: 0;
  min-height: 112px;
  padding: 22px clamp(18px, 2.8vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.section {
  padding-top: clamp(54px, 8vw, 96px);
  padding-bottom: clamp(54px, 8vw, 96px);
}

.section-tinted {
  background: #f3f7f6;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2 {
  max-width: 760px;
}

.section-heading a {
  flex: 0 0 auto;
  color: var(--orange);
  font-weight: 800;
}

.category-grid,
.solution-grid,
.product-grid,
.series-grid,
.resource-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card,
.solution-card,
.series-card,
.resource-card,
.product-card,
.aside-panel,
.contact-grid > div,
.faq-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.category-card,
.solution-card,
.series-card,
.resource-card {
  overflow: hidden;
  min-width: 0;
}

.category-card img,
.solution-card img,
.series-card img,
.resource-card img,
.product-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef2f1;
}

.category-card span,
.solution-card span,
.series-card span,
.resource-card span {
  display: block;
  margin: 18px 18px 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-card h3,
.solution-card h3,
.series-card h2,
.series-card h3,
.resource-card h3 {
  margin: 0 18px 10px;
}

.category-card p,
.solution-card p,
.series-card p,
.resource-card p {
  margin: 0 18px 18px;
  color: var(--muted);
  line-height: 1.5;
}

.category-card small,
.resource-card b {
  display: block;
  margin: 0 18px 18px;
  color: var(--blue);
  font-weight: 700;
}

.solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.series-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
}

.product-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 18px;
}

.product-content .eyebrow {
  margin: 0;
  font-size: 12px;
}

.product-content h3 a {
  display: block;
}

.product-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.micro-specs {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.micro-specs span {
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid #e8eeee;
  border-radius: 6px;
  background: #fbfcfc;
  color: var(--muted);
  font-size: 13px;
}

.micro-specs b {
  color: var(--ink);
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  font-weight: 800;
}

.card-actions a {
  color: var(--blue);
  font-size: 14px;
}

.add-quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid #c7d3d8;
  border-radius: var(--radius);
  background: #f9fbfb;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.15;
}

.add-quote-button:hover,
.add-quote-button.is-added {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.quote-hero-row {
  margin-top: 12px;
}

.add-quote-large {
  width: auto;
  min-height: 46px;
  padding: 0 18px;
}

.detail-grid,
.product-detail-grid,
.inquiry-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: start;
}

.detail-grid p,
.inquiry-panel p,
.aside-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: #33414d;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--green);
  transform: translateY(-50%);
}

[dir="rtl"] .check-list li {
  padding-right: 22px;
  padding-left: 0;
}

[dir="rtl"] .check-list li::before {
  right: 0;
  left: auto;
}

.keyword-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.keyword-panel p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.keyword-panel .eyebrow {
  color: var(--amber);
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-cloud a,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #cfdadc;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.keyword-panel .keyword-cloud a {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.keyword-cloud.large a {
  min-height: 44px;
  padding-inline: 16px;
}

.keyword-cloud.compact {
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbfb;
}

.resource-kind-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.resource-kind-nav a,
.resource-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #cfdadc;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
}

.resource-kind-nav a[aria-current="page"] {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.resource-hero .hero-media img {
  aspect-ratio: 4 / 3;
}

.resource-note {
  max-width: 920px;
  margin-top: -8px;
  margin-bottom: 24px;
}

.table-wrap {
  overflow-x: auto;
}

.resource-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.resource-table th,
.resource-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

[dir="rtl"] .resource-table th,
[dir="rtl"] .resource-table td {
  text-align: right;
}

.resource-table th {
  background: #f3f7f6;
  color: var(--ink);
}

.resource-table tr:last-child td {
  border-bottom: 0;
}

.tool-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbfb;
}

.tool-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.tool-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.tool-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.tool-form input {
  min-height: 42px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

.tool-form output {
  display: block;
  min-height: 48px;
  padding: 14px;
  border: 1px solid #cfdadc;
  border-radius: var(--radius);
  background: #f3f7f6;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.5fr) auto auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfc;
}

.filter-bar label,
.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.filter-bar input,
.filter-bar select,
.filter-bar button,
.inquiry-form input,
.inquiry-form select {
  width: 100%;
  padding: 0 12px;
  color: var(--ink);
}

.filter-bar button {
  cursor: pointer;
  font-weight: 800;
}

.filter-bar p {
  margin: 0;
  color: var(--muted);
  white-space: nowrap;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

[dir="rtl"] .spec-table th,
[dir="rtl"] .spec-table td {
  text-align: right;
}

.spec-table th {
  width: 34%;
  background: #f7faf9;
  color: #2f3a44;
  font-weight: 800;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.aside-panel {
  padding: 22px;
}

.aside-panel h2 {
  margin-top: 0;
  font-size: 22px;
}

.aside-panel h2 + .check-list,
.aside-panel .tag-list {
  margin-bottom: 24px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quote-note {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.inquiry-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.inquiry-form {
  display: grid;
  gap: 14px;
}

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

.form-grid .wide {
  grid-column: 1 / -1;
}

.inquiry-form p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

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

.contact-grid > div {
  min-height: 140px;
  padding: 20px;
}

.contact-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-grid a {
  color: var(--blue);
  font-weight: 800;
}

.contact-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-list article {
  padding: 22px;
}

.faq-list h2 {
  font-size: 22px;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  padding: clamp(36px, 6vw, 64px) clamp(18px, 4vw, 56px) 24px;
  background: #111820;
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(0, 0.72fr));
  gap: 30px;
}

.footer-brand {
  margin-top: 0;
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 16px;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

.footer-grid p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.muted {
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.quote-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 26;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(22, 32, 42, 0.18);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.quote-fab span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.quote-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(17, 24, 32, 0.32);
}

.quote-drawer {
  position: fixed;
  top: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 36;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 16px;
  width: min(460px, calc(100vw - 36px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.quote-drawer-header h2 {
  font-size: 24px;
}

.quote-drawer-header button,
.quote-clear,
.quote-item button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbfb;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.quote-drawer-header button {
  min-height: 38px;
  padding: 0 12px;
}

.quote-items {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: auto;
  padding-right: 4px;
}

.quote-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfc;
}

.quote-item b,
.quote-item span {
  display: block;
  overflow-wrap: anywhere;
}

.quote-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.quote-item button,
.quote-clear {
  min-height: 34px;
  padding: 0 10px;
  color: var(--blue);
}

.quote-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #bcc9cd;
  border-radius: var(--radius);
  color: var(--muted);
}

.quote-form {
  display: grid;
  gap: 10px;
}

.quote-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.quote-form input {
  min-height: 42px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

.quote-send-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .header-actions {
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-split {
    align-items: start;
  }

  .hero-split #product-assistant,
  .hero-product-stack {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-split h1 {
    font-size: 56px;
  }

  .product-matrix,
  .scenario-grid,
  .procurement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid,
  .product-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .detail-grid,
  .product-detail-grid,
  .inquiry-panel,
  .keyword-panel,
  .tool-panel {
    grid-template-columns: 1fr;
  }

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

  .assistant-panel {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 12px;
    min-height: auto;
  }

  .brand small {
    max-width: 220px;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .nav-links a {
    flex: 1 1 calc(33.333% - 6px);
    justify-content: center;
    text-align: center;
    padding: 9px 10px;
    font-size: 13px;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .language-select {
    width: 100%;
    justify-content: space-between;
  }

  .language-select select {
    max-width: none;
    flex: 1;
  }

  .hero,
  .page-hero,
  .section {
    padding-right: 16px;
    padding-left: 16px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.02;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-metrics,
  .trust-band,
  .category-grid,
  .solution-grid,
  .product-grid,
  .series-grid,
  .resource-grid,
  .contact-grid,
  .faq-list,
  .footer-grid,
  .form-grid,
  .product-matrix,
  .scenario-grid,
  .procurement-grid,
  .assistant-prompts {
    grid-template-columns: 1fr;
  }

  .hero-split h1 {
    font-size: 40px;
  }

  .hero-cta-row,
  .cta-row {
    display: grid;
  }

  .hero-cta-row .button,
  .cta-row .button {
    width: 100%;
  }

  .assistant-panel {
    padding: 16px;
  }

  .assistant-head {
    display: grid;
  }

  .assistant-head h2 {
    font-size: 26px;
  }

  .assistant-thread {
    max-height: 260px;
  }

  .assistant-bubble {
    max-width: 96%;
  }

  .assistant-rec {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .assistant-rec img {
    width: 92px;
    height: 92px;
  }

  .assistant-recommendations {
    display: grid;
    gap: 12px;
    overflow: hidden;
  }

  .assistant-rec-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .assistant-rec {
    flex: 0 0 min(320px, 86vw);
    grid-template-columns: 1fr;
    scroll-snap-align: start;
  }

  .assistant-rec img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .assistant-rec-actions {
    grid-template-columns: 1fr;
  }

  .trust-band p {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .product-detail-grid,
  .detail-grid,
  .inquiry-panel,
  .tool-panel {
    gap: 18px;
  }

  .inquiry-panel,
  .tool-panel {
    padding: 18px;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
    padding: 12px 14px;
  }

  .spec-table th {
    border-bottom: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .quote-fab {
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: none;
    justify-content: center;
  }

  .quote-drawer {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    max-height: calc(100dvh - 92px);
    padding: 16px;
  }

  .quote-item,
  .quote-send-row {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: relative;
  }

  .header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
  }

  .language-select {
    width: auto;
  }

  .language-select span {
    display: none;
  }

  .hero-media {
    order: 0;
  }
}

/* Long-form resource depth blocks (intro / sections / dataTable note / FAQ) */
.resource-prose-section .resource-prose {
  max-width: 760px;
}
.resource-prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.6rem;
  line-height: 1.25;
}
.resource-prose p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--ink);
}
.resource-prose .check-list {
  margin: 0 0 1.25rem;
}
.resource-table-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 4px 18px;
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-weight: 700;
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-answer {
  padding: 0 0 14px;
}
.faq-answer p {
  margin: 0 0 0.75rem;
  line-height: 1.7;
  color: var(--muted);
}
[dir="rtl"] .faq-item summary::after {
  float: left;
}
