:root {
  --color-navy: #07172b;
  --color-navy-2: #0d1b2f;
  --color-blue: #0057c2;
  --color-blue-dark: #0046a3;
  --color-bg: #E0E5EB;  /* was f4f6f8 */
  --color-border: #dfe3e8;
  --color-text: #172033;
  --color-muted: #5f6b7a;
  --color-white: #ffffff;

  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.08);
  --radius-sm: 4px;
  --radius-md: 6px;

  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* Header */

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--color-navy);
}

.site-logo-image {
  display: block;
  width: auto;
  height: 80px;
  object-fit: contain;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--color-blue);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: -0.5px;
}

.logo-text {
  font-size: 18px;
  letter-spacing: -0.4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-navy-2);
}

.site-nav a:hover {
  color: var(--color-blue);
}

.site-nav a.active {
  color: var(--color-blue);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--color-blue);
  border-radius: var(--radius-sm);
  color: var(--color-blue);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.header-cta:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.15s ease;
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  border: 1px solid var(--color-blue);
}

.btn-primary:hover {
  background: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-blue);
  border: 1px solid var(--color-blue);
}

.btn-secondary:hover {
  background: #eef5ff;
}

/* Hero */

.hero {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.hero-inner {
  min-height: 390px;
  padding: 48px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  align-items: center;
  gap: 42px;
}

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

.hero h1 {
  margin: 0 0 20px;
  color: var(--color-navy);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -2px;
}

.hero h1 span {
  color: var(--color-blue);
}

.hero-description {
  max-width: 560px;
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image-card {
  height: 355px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #d7dbe0;
  box-shadow: var(--shadow-soft);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

/* Benefits */

.benefits {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 22px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-inline: 24px;
  border-right: 1px solid var(--color-border);
}

.benefit-item:first-child {
  padding-left: 0;
}

.benefit-item:last-child {
  border-right: none;
  padding-right: 0;
}

.benefit-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.benefit-item h2 {
  margin: 0 0 4px;
  color: var(--color-navy);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.benefit-item p {
  margin: 0;
  color: var(--color-text);
  font-size: 13px;
  line-height: 1.35;
}

/* Sections */

.section {
  padding: 34px 0;
}

.section-tight {
  padding-top: 4px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.4px;
}

/* Categories */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--color-navy);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
  transition: 0.15s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.category-image-wrap {
  height: 150px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.3);
}

.category-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

/* Lower grid */

.lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  gap: 10px;
  align-items: center;
}

.step-card {
  position: relative;
  min-height: 190px;
  padding: 18px 12px;
  text-align: center;
}

.step-number {
  position: absolute;
  top: 5px;
  left: 10px;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  background: var(--color-blue);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.step-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin: 8px auto 16px;
}

.step-card h3 {
  margin: 0 0 8px;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.step-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.4;
}

.step-arrow {
  color: #c4cad4;
  font-size: 34px;
  font-weight: 700;
  text-align: center;
}

/* Popular items */

.popular-items {
  border-left: 1px solid var(--color-border);
  padding-left: 34px;
}

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

.product-card {
  display: block;
  padding: 14px;
  color: var(--color-navy);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition: 0.15s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.product-card img {
  width: 100%;
  height: 86px;
  object-fit: contain;
  margin-bottom: 12px;
}

.product-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 900;
}

.product-card p {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.4;
}

.product-card span {
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

/* Quote strip */

.quote-strip {
  background: var(--color-navy);
  color: var(--color-white);
}

.quote-strip-inner {
  min-height: 106px;
  padding-block: 22px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 22px;
}

.quote-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.quote-strip h2 {
  margin: 0 0 5px;
  color: var(--color-white);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-strip p {
  margin: 0;
  color: #d7dde6;
  font-size: 14px;
}

/* Footer */

.site-footer {
  background: #05101f;
  color: #cfd7e3;
}

.footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner a {
  color: #cfd7e3;
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--color-white);
}

/* Responsive */

@media (max-width: 1050px) {
  .site-nav {
    gap: 16px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image-card {
    height: 300px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .benefit-item {
    padding: 0;
    border-right: none;
  }

  .lower-grid {
    grid-template-columns: 1fr;
  }

  .popular-items {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 36px, var(--container));
  }

  .header-inner {
    min-height: auto;
    padding-block: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .header-cta {
    display: none;
  }

  .hero-inner {
    padding: 36px 0;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-image-card {
    height: 240px;
  }

  .benefits-grid,
  .category-grid,
  .popular-grid {
    grid-template-columns: 1fr;
  }

  .benefit-item {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border);
  }

  .benefit-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: auto;
    padding: 18px 12px 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
  }

  .step-arrow {
    display: none;
  }

  .quote-strip-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-inner {
    padding-block: 22px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 16px;
  }

  .site-nav {
    gap: 12px;
    font-size: 13px;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* Interior pages */

.page-hero {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.page-hero-inner {
  padding: 54px 0;
  max-width: 780px;
}

.page-hero h1 {
  margin: 0 0 14px;
  color: var(--color-navy);
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.6px;
}

.page-hero p {
  margin: 0;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.55;
}

.centered {
  text-align: center;
  margin-inline: auto;
}

.centered-actions {
  justify-content: center;
  margin-top: 28px;
}

/* Quote page */

.quote-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.quote-form-card,
.sidebar-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.quote-form-card {
  padding: 30px;
}

.quote-form-card h2,
.sidebar-card h2 {
  margin: 0 0 10px;
  color: var(--color-navy);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.4px;
}

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

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

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.form-field label span {
  color: var(--color-blue);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 12px 13px;
  color: var(--color-text);
  font: inherit;
  font-size: 15px;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(0, 87, 194, 0.18);
  border-color: var(--color-blue);
}

.form-submit {
  margin-top: 4px;
  border: none;
  cursor: pointer;
}

.quote-sidebar {
  display: grid;
  gap: 18px;
}

.sidebar-card {
  padding: 24px;
}

.sidebar-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.sidebar-card p {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
}

.sidebar-card-dark {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.sidebar-card-dark h2 {
  color: var(--color-white);
}

.sidebar-card-dark p {
  color: #d7dde6;
}

.thank-you-hero {
  min-height: 58vh;
  display: flex;
  align-items: center;
}

/* Interior responsive */

@media (max-width: 900px) {
  .quote-page-grid {
    grid-template-columns: 1fr;
  }

  .quote-sidebar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .quote-form-card {
    padding: 22px;
  }

  .form-row,
  .quote-sidebar {
    grid-template-columns: 1fr;
  }
}

/* Product catalog */

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 96px;
}

.filter-card {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.filter-card h2 {
  margin: 0 0 18px;
  color: var(--color-navy);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.filter-group {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.filter-group label {
  color: var(--color-navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.filter-group input,
.filter-group select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 11px 12px;
  color: var(--color-text);
  font: inherit;
  font-size: 14px;
}

.filter-group input:focus,
.filter-group select:focus {
  outline: 2px solid rgba(0, 87, 194, 0.18);
  border-color: var(--color-blue);
}

.catalog-quote-btn {
  width: 100%;
  margin-top: 8px;
}

.catalog-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-border);
}

.catalog-topbar h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-topbar p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

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

.catalog-product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
  transition: 0.15s ease;
}

.catalog-product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.catalog-product-image-link {
  height: 180px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f8fa;
  border-bottom: 1px solid var(--color-border);
}

.catalog-product-image-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-product-body {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.catalog-product-category {
  margin: 0 0 8px;
  color: var(--color-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.catalog-product-body h3 {
  margin: 0 0 8px;
  color: var(--color-navy);
  font-size: 19px;
  line-height: 1.15;
  font-weight: 900;
}

.catalog-product-body h3 a {
  text-decoration: none;
}

.catalog-product-body h3 a:hover {
  color: var(--color-blue);
}

.catalog-product-description {
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.45;
}

.product-spec-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
}

.product-spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 7px;
  border-bottom: 1px solid #edf0f3;
}

.product-spec-list dt {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-spec-list dd {
  margin: 0;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.catalog-product-actions {
  margin-top: auto;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 10px;
}

.catalog-product-actions .btn {
  min-width: auto;
  min-height: auto;
  padding: 9px 14px;
  font-size: 12px;
}

.text-link,
.mini-quote-link {
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.text-link:hover,
.mini-quote-link:hover {
  color: var(--color-blue-dark);
}

.mini-quote-link {
  padding: 9px 10px;
  border: 1px solid var(--color-blue);
  border-radius: var(--radius-sm);
}

.empty-state {
  margin: 28px 0 0;
  padding: 22px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-muted);
  background: #fafbfc;
}

/* Catalog responsive */

@media (max-width: 1050px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
  }

  .catalog-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .mini-quote-link {
    text-align: center;
  }
}

/* Product detail page */

.product-detail-page {
  padding: 34px 0 54px;
}

.breadcrumb {
  margin: 0 0 22px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--color-blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-blue-dark);
}

.breadcrumb span {
  margin-left: 7px;
}

.product-detail-shell {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.loading-message {
  margin: 0;
  padding: 28px;
  color: var(--color-muted);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
}

.product-detail-media {
  padding: 34px;
  background: #f7f8fa;
  border-right: 1px solid var(--color-border);
}

.product-main-image-wrap {
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.product-main-image {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
}

.image-note {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.45;
}

.product-detail-content {
  padding: 38px;
}

.product-detail-content h1 {
  margin: 0 0 14px;
  color: var(--color-navy);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.product-detail-description {
  margin: 0 0 24px;
  max-width: 620px;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.55;
}

.product-detail-specs {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.product-detail-specs div {
  display: grid;
  grid-template-columns: 190px 1fr;
  border-bottom: 1px solid var(--color-border);
}

.product-detail-specs div:last-child {
  border-bottom: none;
}

.product-detail-specs dt,
.product-detail-specs dd {
  margin: 0;
  padding: 13px 15px;
  font-size: 14px;
}

.product-detail-specs dt {
  background: #f7f8fa;
  color: var(--color-muted);
  font-weight: 900;
  text-transform: uppercase;
}

.product-detail-specs dd {
  color: var(--color-navy);
  font-weight: 800;
}

.product-detail-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.product-note-box {
  padding: 20px;
  border-radius: var(--radius-md);
  background: #eef5ff;
  border: 1px solid rgba(0, 87, 194, 0.18);
}

.product-note-box h2 {
  margin: 0 0 8px;
  color: var(--color-navy);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.product-note-box p {
  margin: 0;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-media {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .product-main-image-wrap {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .product-detail-media,
  .product-detail-content {
    padding: 22px;
  }

  .product-detail-specs div {
    grid-template-columns: 1fr;
  }

  .product-detail-specs dt {
    padding-bottom: 4px;
  }

  .product-detail-specs dd {
    padding-top: 4px;
  }

  .product-detail-actions .btn {
    width: 100%;
  }
}

/* Contact page */

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.contact-form-card {
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.contact-form-card h2 {
  margin: 0 0 10px;
  color: var(--color-navy);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.4px;
}

.contact-sidebar {
  display: grid;
  gap: 18px;
}

.sidebar-btn {
  width: 100%;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .contact-form-card {
    padding: 22px;
  }

  .contact-sidebar {
    grid-template-columns: 1fr;
  }
}

/* About page */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.about-main {
  display: grid;
  gap: 22px;
}

.content-card {
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.content-card h2 {
  margin: 0 0 14px;
  color: var(--color-navy);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.4px;
}

.content-card p {
  margin: 0 0 16px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.65;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.about-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.about-audience-grid div {
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #f7f8fa;
}

.about-audience-grid h3 {
  margin: 0 0 8px;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.about-sidebar {
  display: grid;
  gap: 18px;
}

.about-cta-strip {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.about-cta-inner {
  padding: 36px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.about-cta-inner h2 {
  margin: 0 0 8px;
  color: var(--color-navy);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.6px;
}

.about-cta-inner p {
  margin: 0;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.5;
}

.about-cta-inner .eyebrow {
  color: var(--color-blue);
}

.about-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-sidebar {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .content-card {
    padding: 22px;
  }

  .about-audience-grid,
  .about-sidebar {
    grid-template-columns: 1fr;
  }

  .about-cta-actions {
    flex-direction: column;
  }
}

/* Product detail gallery */

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-top: 14px;
}

.product-thumb {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-muted);
  cursor: pointer;
  text-align: center;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.product-thumb img {
  width: 100%;
  height: 68px;
  object-fit: contain;
}

@media (max-width: 560px) {
  .product-thumbs {
    grid-template-columns: 1fr;
  }

  .product-thumb {
    grid-template-columns: 80px 1fr;
    align-items: center;
    text-align: left;
  }

  .product-thumb img {
    height: 54px;
  }
}

/* Enhanced catalog product cards */

.catalog-product-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.catalog-product-meta-row .catalog-product-category {
  margin-bottom: 0;
}

.catalog-product-sku {
  margin: 0;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 14px;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--color-blue);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .catalog-product-meta-row {
    flex-direction: column;
    gap: 4px;
  }

  .catalog-product-sku {
    text-align: left;
  }
}

/* Softer hero image fade */

.hero-image-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  background: transparent;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 8%,
    rgba(0, 0, 0, 0.75) 20%,
    black 25%,
    black 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.15) 8%,
    rgba(0, 0, 0, 0.75) 20%,
    black 25%,
    black 100%
  );
}

.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 42px rgba(244, 246, 248, 0.85);
}

/* Hero image: soft background-style fade */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-image-card {
  position: absolute;
  top: 48px;
  right: 0;
  bottom: 48px;
  width: 55%;
  height: auto;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: transparent;
  pointer-events: none;
}

.hero-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to right,
    #f4f6f8 0%,
    rgba(244, 246, 248, 0.96) 10%,
    rgba(244, 246, 248, 0.55) 22%,
    rgba(244, 246, 248, 0.25) 38%,
    rgba(244, 246, 248, 0) 55%
  );
}

.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow:
    inset 0 0 50px rgba(244, 246, 248, 0.85),
    inset 0 0 100px rgba(244, 246, 248, 0.35);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 520px;
}

@media (max-width: 1050px) {
  .hero-image-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-md);
    pointer-events: auto;
  }

  .hero-image-card::before,
  .hero-image-card::after {
    display: none;
  }
}

.section {
  background: var(--color-bg);
}

/* Quote page image card */

.quote-image-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.quote-image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: grayscale(35%);
}

/* Interior page hero image treatment */

.page-hero-image {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.page-hero-image::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  background-image: var(--page-hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(55%);
  opacity: 0.72;
  z-index: 0;
}

.page-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      var(--color-bg) 0%,
      var(--color-bg) 43%,
      rgba(244, 246, 248, 0.86) 56%,
      rgba(244, 246, 248, 0.38) 76%,
      rgba(244, 246, 248, 0.12) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(244, 246, 248, 0.55) 0%,
      rgba(244, 246, 248, 0) 28%,
      rgba(244, 246, 248, 0) 72%,
      rgba(244, 246, 248, 0.65) 100%
    );
  z-index: 1;
}

.page-hero-image .page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

/* Individual interior hero images */

.page-hero-products {
  --page-hero-image: url("../images/site/bins.jpg");
}

.page-hero-quote {
  --page-hero-image: url("../images/site/drafting.jpg");
}

.page-hero-about {
  --page-hero-image: url("../images/site/employee.jpg");
}

.page-hero-contact {
  --page-hero-image: url("../images/site/screwpad.jpg");
}

/* Mobile: remove faded hero background images for readability */

@media (max-width: 760px) {
  .page-hero-image::before,
  .page-hero-image::after {
    display: none;
  }

  .page-hero-image .page-hero-inner {
    max-width: 100%;
  }
}

/* Homepage hero: match interior faded image style */

.hero-home-image {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-home-image::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  background-image: url("../images/hero/nuts-and-bolts.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  opacity: 0.82;
  z-index: 0;
}

.hero-home-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      var(--color-bg) 0%,
      var(--color-bg) 38%,
      rgba(244, 246, 248, 0.88) 50%,
      rgba(244, 246, 248, 0.38) 72%,
      rgba(244, 246, 248, 0.08) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(244, 246, 248, 0.55) 0%,
      rgba(244, 246, 248, 0) 28%,
      rgba(244, 246, 248, 0) 72%,
      rgba(244, 246, 248, 0.65) 100%
    );
  z-index: 1;
}

.hero-home-image .hero-inner {
  position: relative;
  z-index: 2;
  grid-template-columns: 1fr;
  min-height: 410px;
}

.hero-home-image .hero-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
}

@media (max-width: 760px) {
  .hero-home-image::before,
  .hero-home-image::after {
    display: none;
  }

  .hero-home-image .hero-inner {
    min-height: auto;
  }

  .hero-home-image .hero-copy {
    max-width: 100%;
  }
}

/* Interior hero alignment cleanup */

.page-hero .eyebrow {
  color: var(--color-blue);
}

.page-hero-image .page-hero-inner {
  width: min(100% - 48px, var(--container));
  max-width: var(--container);
  margin-inline: auto;
}

.page-hero-image .page-hero-inner > * {
  max-width: 680px;
}
