﻿:root {
  --graphite: #20282D;
  --teal: #168C82;
  --sand: #D8C8AD;
  --ink: #20282D;
  --ink-soft: #364147;
  --muted: #364147;
  --line: #D8DEDC;
  --surface: #FFFFFF;
  --soft: #F5F6F4;
  --accent: #168C82;
  --accent-dark: #168C82;
  --success: #168C82;
  --error: #20282D;
  --shadow: 0 14px 34px rgba(32, 40, 45, 0.08);
  --radius: 8px;
  --max: 1160px;
}

* { box-sizing: border-box; }

.trex-landing-page-shortcode {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--soft);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: var(--soft);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
p,
a,
span,
summary,
li,
td,
th {
  overflow-wrap: anywhere;
}

.site-strip {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 10px max(18px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.site-name {
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.strip-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
}

.strip-actions a {
  text-decoration: none;
}

.strip-cta {
  padding: 9px 14px;
  border-radius: 6px;
  color: #FFFFFF;
  background: var(--accent);
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  color: #FFFFFF;
  background: var(--graphite);
}

.hero {
  padding: 74px 0 64px;
}

.hero-grid,
.split-block,
.content-grid,
.steps-cta,
.rfq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 42px;
  align-items: center;
  min-width: 0;
}

.hero-copy,
.hero-media,
.split-block > *,
.content-grid > *,
.steps-cta > *,
.rfq-grid > * {
  min-width: 0;
}

.hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-value {
  max-width: 680px;
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.16;
}

.hero-text {
  max-width: 620px;
  color: #F5F6F4;
  font-size: 18px;
}

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

.section-dark .eyebrow {
  color: var(--sand);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.section-dark p {
  color: #F5F6F4;
}

.tag-row,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag-row span,
.trust-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--graphite);
  background: var(--sand);
  font-size: 13px;
  font-weight: 800;
}

.section-dark .tag-row span {
  color: #FFFFFF;
  background: rgba(216, 200, 173, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: #FFFFFF;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

.hero-media {
  margin: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: #F5F6F4;
}

.hero-media figcaption {
  margin-top: 10px;
  color: #F5F6F4;
  font-size: 12px;
}

.value-grid,
.card-grid,
.record-grid,
.gallery,
.faq-grid {
  display: grid;
  gap: 18px;
}

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

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

.mini-card,
.info-card,
.record-card,
.rfq-form,
details {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mini-card,
.info-card {
  padding: 22px;
}

.section-head {
  margin-bottom: 28px;
}

.section-head.narrow {
  max-width: 760px;
}

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

.record-card {
  overflow: hidden;
}

.record-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  background: #F5F6F4;
}

.record-card__body {
  padding: 18px;
}

.record-card dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px 12px;
  margin: 14px 0 0;
  font-size: 14px;
}

.record-card dt {
  color: var(--muted);
  font-weight: 700;
}

.record-card dd {
  margin: 0;
  color: var(--ink);
}

.safe-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.gallery-item {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FFFFFF;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1.32 / 1;
  object-fit: cover;
}

.content-grid {
  align-items: start;
}

.capability-list {
  display: grid;
  gap: 12px;
}

.capability-item {
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: var(--soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.capability-item p {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  width: 260px;
  color: var(--ink);
  background: var(--soft);
}

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

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #FFFFFF;
  box-shadow: var(--shadow);
  font-weight: 800;
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #FFFFFF;
  background: var(--ink);
  font-size: 13px;
}

.compact-rfq h2,
.final-rfq-section h2 {
  max-width: 680px;
}

.compact-rfq .rfq-grid {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  text-align: center;
}

.compact-rfq-content {
  justify-self: center;
}

.compact-rfq .tag-row {
  justify-content: center;
}
.rfq-form {
  display: grid;
  gap: 13px;
  padding: 22px;
}

.section-dark .compact-rfq .rfq-grid {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  text-align: center;
}

.compact-rfq-content {
  justify-self: center;
}

.compact-rfq .tag-row {
  justify-content: center;
}
.rfq-form {
  color: var(--ink);
}

.rfq-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.rfq-label-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.rfq-required-star {
  font-size: 15px;
  line-height: 1;
}
.rfq-form input,
.rfq-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
}

.rfq-form textarea {
  resize: vertical;
}

.rfq-form input:focus,
.rfq-form textarea:focus {
  outline: 3px solid rgba(22, 140, 130, 0.22);
  border-color: var(--accent);
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--error);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

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

details {
  padding: 18px 20px;
}

summary {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin-top: 12px;
  margin-bottom: 0;
}

.final-trust {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.trust-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rfq-trust-tags {
  margin: 18px 0 18px;
}

.supplier-info {
  padding: 34px 0;
  background: var(--soft);
}

.supplier-card {
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.supplier-card h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.supplier-card p {
  max-width: 760px;
}

.supplier-card a {
  color: var(--teal);
  font-weight: 800;
}

.supplier-name {
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 900;
}

.supplier-contact-list {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.supplier-contact-list p {
  margin: 0;
}

.supplier-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.copy-button {
  min-width: 48px;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--teal);
  background: var(--surface);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: var(--teal);
  outline: none;
}

.copy-button.is-copied {
  color: var(--surface);
  border-color: var(--teal);
  background: var(--teal);
}

.footer {
  padding: 28px 0;
  color: #F5F6F4;
  background: var(--graphite);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  gap: 18px;
  align-items: center;
}

.footer p {
  margin: 4px 0 0;
  color: #D8DEDC;
}

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

.mobile-sticky-cta {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(32, 40, 45, 0.82);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 82vh;
  border-radius: var(--radius);
  background: #FFFFFF;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: #FFFFFF;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 980px) {
  .strip-actions a:not(.strip-cta) {
    display: none;
  }

  .hero-grid,
  .split-block,
  .content-grid,
  .steps-cta,
  .rfq-grid,
  .final-trust {
    grid-template-columns: 1fr;
  }

  .card-grid.four,
  .record-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  body {
    font-size: 15px;
    padding-bottom: 66px;
  }

  .container {
    width: auto;
    max-width: none;
    margin-left: 14px;
    margin-right: 14px;
  }

  .site-strip {
    min-height: 58px;
    padding: 9px 14px;
  }

  .strip-cta {
    display: none;
  }

  .section {
    padding: 50px 0;
  }

  .hero {
    padding: 42px 0 46px;
    overflow: hidden;
  }

  .hero-grid {
    display: block;
    width: 100%;
  }

  .hero-copy,
  .hero-media {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 40px;
  }

  .hero-value {
    max-width: 100%;
    font-size: 22px;
  }

  .hero-text {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-media {
    margin-top: 32px;
    overflow: hidden;
  }

  .hero-media figcaption {
    overflow-wrap: anywhere;
  }

  .tag-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .tag-row span {
    width: fit-content;
    max-width: 100%;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .card-grid.four,
  .record-grid,
  .gallery,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .record-card dl {
    grid-template-columns: 1fr;
  }

  table {
    min-width: 0;
  }

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

  th {
    border-bottom: 0;
  }

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

  .mobile-sticky-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 80;
    display: flex;
    justify-content: center;
    min-height: 48px;
    padding: 13px 16px;
    border-radius: 8px;
    color: #FFFFFF;
    background: var(--accent);
    box-shadow: 0 14px 34px rgba(32, 40, 45, 0.22);
    font-weight: 900;
    text-decoration: none;
  }
}

