:root {
  color-scheme: light;
  --ink: #14272d;
  --muted: #5f6f76;
  --line: #d7e2e5;
  --surface: #ffffff;
  --soft: #edf5f4;
  --brand: #08747b;
  --brand-dark: #104b50;
  --blue: #315c92;
  --accent: #b66f2d;
  --success: #2f7658;
  --danger: #a33c31;
  --shadow: 0 18px 45px rgba(13, 43, 52, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #f7faf9;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(215, 226, 229, 0.92);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand);
}

.header-action,
.primary,
.secondary,
.filter,
.submit,
.select-btn,
.clear-selection {
  min-height: 42px;
  border-radius: 8px;
  font-weight: 780;
  cursor: pointer;
}

.header-action,
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0 18px;
  color: white;
  background: var(--brand);
  box-shadow: 0 10px 22px rgba(8, 116, 123, 0.18);
}

.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.86);
}

.hero {
  position: relative;
  min-height: min(650px, calc(100vh - 42px));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 250, 249, 0.99) 0%, rgba(247, 250, 249, 0.86) 40%, rgba(247, 250, 249, 0.28) 74%),
    linear-gradient(0deg, rgba(247, 250, 249, 0.78), rgba(247, 250, 249, 0.08) 34%);
}

.hero-content {
  width: min(700px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 72px 0 126px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 7.7rem);
  line-height: 0.9;
}

h2,
h3 {
  color: var(--ink);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: #30464d;
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.quick-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1120px, calc(100% - 32px));
  margin: -70px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-stats div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.quick-stats div:last-child {
  border-right: 0;
}

.quick-stats strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1.85rem;
}

.quick-stats span {
  color: var(--muted);
  line-height: 1.35;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 92px auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.split-heading,
.catalogue-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
  gap: 28px;
  align-items: end;
  max-width: none;
}

.section-heading h2,
.contact-copy h2,
.quality-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow),
.contact-copy p,
.quality-list {
  color: var(--muted);
  line-height: 1.65;
}

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

.process-grid article,
.product-card,
.contact-form,
.quote-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(13, 43, 52, 0.06);
}

.process-grid article {
  padding: 24px;
}

.process-grid span {
  color: var(--accent);
  font-weight: 900;
}

.process-grid h3,
.product-card h3 {
  margin: 12px 0 8px;
}

.process-grid p,
.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.catalogue-summary {
  justify-self: end;
  min-width: 210px;
  padding: 18px;
  background: #eaf3f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.catalogue-summary strong {
  display: block;
  color: var(--brand-dark);
  font-size: 2rem;
}

.catalogue-summary span {
  color: var(--muted);
}

.catalogue-bar {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 14px;
  align-items: end;
  margin-bottom: 20px;
}

.search-field {
  display: grid;
  gap: 7px;
  color: #284046;
  font-size: 0.92rem;
  font-weight: 760;
}

.catalogue-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.filter {
  border: 0;
  padding: 0 16px;
  color: var(--brand-dark);
  background: #e7f1f2;
}

.filter.active {
  color: white;
  background: var(--brand);
}

.product-card {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.tag,
.availability {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 830;
  white-space: nowrap;
}

.tag {
  color: var(--brand-dark);
  background: var(--soft);
}

.availability {
  color: var(--success);
  background: #e9f5ee;
}

.availability.limited {
  color: #90621d;
  background: #fff2dc;
}

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

.product-meta span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px;
  color: var(--ink);
  background: #f7faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.86rem;
}

.product-meta small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.docs {
  color: var(--muted);
  font-size: 0.9rem;
}

.select-btn {
  width: 100%;
  border: 0;
  color: var(--brand-dark);
  background: #e9f4f5;
}

.select-btn.selected {
  color: white;
  background: var(--brand-dark);
}

.empty-state {
  padding: 28px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed #b9c9cd;
  border-radius: 8px;
}

.empty-state strong,
.empty-state span {
  display: block;
}

.empty-state span {
  margin-top: 5px;
  color: var(--muted);
}

.quality-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
  padding: clamp(36px, 6vw, 62px) clamp(18px, 7vw, 96px);
  color: white;
  background: #123b42;
}

.quality-band .eyebrow,
.quality-band h2 {
  color: white;
}

.quality-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #dcebed;
}

.quality-list li {
  padding-left: 22px;
  position: relative;
}

.quality-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8bd2c7;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.quote-panel {
  margin-top: 24px;
  padding: 20px;
}

.quote-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.clear-selection {
  min-height: 34px;
  border: 1px solid var(--line);
  padding: 0 12px;
  color: var(--muted);
  background: #f7faf9;
}

.quote-panel ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: var(--brand-dark);
  font-weight: 760;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
}

label {
  display: grid;
  gap: 7px;
  color: #284046;
  font-size: 0.92rem;
  font-weight: 760;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9d8dc;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfefe;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(8, 116, 123, 0.18);
  outline-offset: 2px;
  border-color: var(--brand);
}

.submit {
  width: fit-content;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--brand-dark);
  font-weight: 760;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #d9eeee;
  background: #102f35;
}

.site-footer span:first-child {
  color: white;
  font-weight: 900;
}

@media (max-width: 980px) {
  .process-grid,
  .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalogue-bar,
  .contact-section,
  .quality-band {
    grid-template-columns: 1fr;
  }

  .catalogue-tools {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(247, 250, 249, 0.98), rgba(247, 250, 249, 0.76));
  }

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

  .quick-stats div:nth-child(2) {
    border-right: 0;
  }

  .quick-stats div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .split-heading,
  .catalogue-heading,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .catalogue-summary {
    justify-self: stretch;
  }
}

@media (max-width: 620px) {
  .process-grid,
  .catalogue-grid,
  .quick-stats {
    grid-template-columns: 1fr;
  }

  .quick-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-stats div:last-child {
    border-bottom: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero-content {
    margin-left: 18px;
    padding-bottom: 106px;
  }

  .hero-actions a,
  .submit {
    width: 100%;
  }

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

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