:root {
  --green: #18523a;
  --deep: #0f3528;
  --charcoal: #151817;
  --ink: #1a2321;
  --muted: #5b6863;
  --mist: #f3f5f1;
  --line: #dbe2dd;
  --gold: #b29b6f;
  --blue: #1f70a8;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

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

.header {
  align-items: center;
  backdrop-filter: blur(10px);
  background: linear-gradient(90deg, rgba(28, 41, 36, 0.62), rgba(39, 61, 51, 0.42)), rgba(18, 26, 23, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  color: var(--white);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px clamp(18px, 4vw, 60px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand img {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: block;
  max-width: 218px;
  padding: 6px 8px;
  width: 100%;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

nav a {
  border-bottom: 2px solid transparent;
  padding: 6px 0;
}

nav a:hover,
nav a:focus {
  border-color: var(--gold);
}

.hero {
  align-items: center;
  background: linear-gradient(90deg, rgba(4, 8, 7, 0.86), rgba(8, 15, 13, 0.62), rgba(8, 15, 13, 0.14)), url("assets/shop-background.png") center / cover no-repeat;
  color: var(--white);
  display: flex;
  min-height: calc(100vh - 68px);
  overflow: hidden;
}

.hero-copy,
.detail,
.contact-page {
  padding: clamp(44px, 8vw, 110px);
}

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

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.92;
  margin-bottom: 24px;
  text-transform: uppercase;
}

h2 {
  color: var(--deep);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.98;
  margin-bottom: 0;
  text-transform: uppercase;
}

.hero p:not(.eyebrow),
.detail p:not(.eyebrow),
.contact-page p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
  max-width: 720px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border: 1px solid currentColor;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  min-width: 148px;
  padding: 0 20px;
  text-transform: uppercase;
}

.primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.ghost {
  color: var(--white);
}

.industries {
  background: var(--white);
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 58px);
}

.section-heading {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(220px, 0.7fr) minmax(260px, 1fr);
  margin: 0 auto 38px;
  max-width: 1240px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.industry-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1240px;
}

.industry-card {
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  min-height: 500px;
  overflow: hidden;
  position: relative;
}

.industry-card:after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.82));
  content: "";
  inset: 0;
  position: absolute;
}

.card-image {
  inset: 0;
  position: absolute;
}

.card-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.nabrico .card-image,
.wintech .card-image,
.rope .card-image {
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(9, 34, 57, 0.2), rgba(6, 18, 30, 0.78)), repeating-linear-gradient(90deg, #31404a 0 22px, #26333c 22px 44px);
  display: flex;
  justify-content: center;
  padding: 36px 22px;
}

.nabrico .card-image img,
.wintech .card-image img,
.rope .card-image img {
  background: linear-gradient(180deg, rgba(245, 246, 244, 0.96), rgba(202, 207, 205, 0.94));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  height: 136px;
  max-height: none;
  object-fit: contain;
  padding: 18px;
  width: min(86%, 330px);
}

.rope .card-image img {
  object-fit: cover;
  object-position: center;
}

.card-copy {
  align-self: end;
  padding: 26px;
  position: relative;
  z-index: 1;
}

.card-copy h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.card-copy p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.resource,
.cta {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 1fr) auto;
  padding: clamp(52px, 8vw, 90px) clamp(22px, 6vw, 84px);
}

.resource {
  grid-template-columns: minmax(240px, 0.75fr) minmax(260px, 1fr);
}

.resource p {
  color: var(--muted);
  line-height: 1.65;
}

.cta,
.contact-page,
.detail {
  background: linear-gradient(90deg, rgba(5, 10, 9, 0.92), rgba(10, 22, 18, 0.7)), url("assets/shop-background.png") center / cover no-repeat;
  color: var(--white);
}

.cta h2 {
  color: var(--white);
}

.detail {
  min-height: calc(100vh - 68px);
}

.detail-logo {
  background: rgba(255, 255, 255, 0.94);
  margin-bottom: 32px;
  max-width: 430px;
  padding: 22px;
}

.detail-logo img {
  width: 100%;
}

.wintech-logo-panel {
  background: rgba(255, 255, 255, 0.94);
  margin-bottom: 32px;
  max-width: 520px;
  padding: 18px;
}

.wintech-logo-panel img {
  display: block;
  width: 100%;
}

.contact-page {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  min-height: calc(100vh - 68px);
}

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

.contact-person {
  background: rgba(10, 16, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px;
}

.contact-person h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.contact-person a {
  color: rgba(255, 255, 255, 0.82);
  display: block;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.nabrico-products-page {
  background: var(--white);
  min-height: calc(100vh - 68px);
}

.nabrico-products-hero {
  background: linear-gradient(90deg, rgba(5, 10, 9, 0.92), rgba(10, 22, 18, 0.7)), url("assets/shop-background.png") center / cover no-repeat;
  color: var(--white);
  padding: clamp(42px, 7vw, 92px) clamp(22px, 6vw, 84px);
}

.nabrico-products-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
  max-width: 760px;
}

.wintech-products-hero .wintech-logo-panel {
  max-width: 500px;
}

.nabrico-section-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: clamp(34px, 5vw, 68px) clamp(18px, 4vw, 58px);
}

.nabrico-section-card {
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.nabrico-section-card:after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.84));
  content: "";
  inset: 0;
  position: absolute;
}

.section-photo,
.category-hero-photo {
  inset: 0;
  position: absolute;
}

.section-photo img,
.category-hero-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.photo-left img {
  object-position: 34% center;
}

.photo-right img {
  object-position: 72% center;
}

.photo-front img {
  object-position: 58% center;
}

.photo-center img {
  object-position: center;
}

.photo-product {
  align-items: center;
  background: #eef0ef;
  display: flex;
  justify-content: center;
  padding: 22px;
}

.photo-product img {
  height: 86%;
  object-fit: contain;
  width: 86%;
}

.section-card-copy {
  align-self: end;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.section-card-copy span {
  color: var(--gold);
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-card-copy h2 {
  color: var(--white);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1;
  margin-bottom: 14px;
}

.section-card-copy p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.nabrico-category-page {
  background: var(--mist);
}

.category-hero {
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  gap: clamp(26px, 5vw, 60px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1fr);
  min-height: 560px;
  padding: clamp(34px, 6vw, 86px);
}

.category-hero > div:last-child {
  align-self: center;
}

.category-hero-photo {
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.category-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 760px;
}

.product-lists {
  display: grid;
  gap: 38px;
  padding: clamp(40px, 7vw, 86px) clamp(20px, 6vw, 84px);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-list span {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--deep);
  font-weight: 800;
  padding: 12px 14px;
}

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

.product-item {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(21, 24, 23, 0.08);
  display: grid;
  font-weight: 800;
  overflow: hidden;
}

.product-photo {
  align-items: center;
  background: #eef0ef;
  display: flex;
  height: 190px;
  justify-content: center;
  padding: 16px;
}

.product-photo img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.product-name {
  border-top: 4px solid var(--green);
  min-height: 86px;
  padding: 16px;
}

.nabrico-product-page {
  background: var(--mist);
}

.product-detail-hero {
  background: linear-gradient(90deg, rgba(5, 10, 9, 0.88), rgba(10, 22, 18, 0.68)), url("assets/shop-background.png") center / cover no-repeat;
  color: var(--white);
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(280px, 0.7fr) minmax(320px, 1fr);
  padding: clamp(34px, 6vw, 86px);
}

.product-detail-image {
  align-items: center;
  background: #eef0ef;
  display: flex;
  justify-content: center;
  min-height: 460px;
  padding: clamp(22px, 4vw, 48px);
}

.product-detail-image img {
  max-height: 420px;
  object-fit: contain;
  width: 100%;
}

.product-detail-copy {
  align-self: center;
}

.product-detail-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

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

.button.secondary {
  background: var(--white);
  border-color: var(--white);
  color: var(--deep);
}

.product-detail-content {
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.38fr);
  padding: clamp(40px, 7vw, 86px) clamp(20px, 6vw, 84px);
}

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

.rope-product-content > section {
  grid-column: 1;
}

.product-detail-content > div,
.product-meta-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(21, 24, 23, 0.08);
  min-width: 0;
  padding: clamp(22px, 4vw, 38px);
}

.spec-photo-section {
  grid-column: 1;
}

.spec-photo {
  align-items: center;
  background: #f7f8f6;
  border: 1px solid var(--line);
  display: flex;
  justify-content: center;
  margin-top: 18px;
  overflow: auto;
  padding: clamp(12px, 3vw, 26px);
}

.spec-photo img {
  height: auto;
  max-height: 780px;
  object-fit: contain;
  width: 100%;
}

.spec-table-wrap {
  border: 1px solid var(--line);
  margin-top: 18px;
  overflow-x: auto;
}

.spec-table {
  border-collapse: collapse;
  color: var(--ink);
  font-size: 0.96rem;
  min-width: 560px;
  table-layout: fixed;
  width: 100%;
}

.rope-product-content .spec-table {
  min-width: 0;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  background: #f3f5f2;
  color: var(--deep);
  font-weight: 900;
}

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

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

.rope-reference-grid img {
  background: #f7f8f6;
  border: 1px solid var(--line);
  height: 100%;
  object-fit: contain;
  padding: 10px;
  width: 100%;
}

.detail-text {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.detail-text p {
  margin-bottom: 14px;
}

.detail-bullet {
  padding-left: 18px;
  position: relative;
}

.detail-bullet:before {
  color: var(--green);
  content: "-";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.product-meta-card dl {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
}

.product-meta-card h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.product-meta-card dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-meta-card dd {
  color: var(--ink);
  font-weight: 800;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.product-meta-card a {
  color: var(--green);
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.reference-links {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

@media (max-width: 980px) {
  .section-heading,
  .resource,
  .cta,
  .contact-page {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .product-detail-hero,
  .product-detail-content {
    grid-template-columns: 1fr;
  }

  .rope-reference-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    min-height: 390px;
  }

  .card-copy {
    padding: 20px;
  }

  .nabrico .card-image img,
  .wintech .card-image img,
  .rope .card-image img {
    height: 122px;
    width: min(88%, 300px);
  }
}

@media (max-width: 760px) {
  .header {
    align-items: flex-start;
    flex-direction: column;
  }

  .industry-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .nabrico-section-grid {
    grid-template-columns: 1fr;
  }

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

  .industry-card {
    min-height: 430px;
  }
}
