:root {
  --ink: #1f2427;
  --muted: #65706f;
  --line: #dfe4df;
  --paper: #f7f7f3;
  --panel: #ffffff;
  --sage: #9fae9a;
  --clay: #c99c70;
  --blue: #92aac0;
  --charcoal: #2e3333;
  --shadow: 0 18px 50px rgba(27, 31, 29, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 48px;
  background: rgba(247, 247, 243, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-size: 24px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand span {
  color: var(--muted);
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 13px;
  white-space: nowrap;
}

.nav a {
  color: #343a3a;
}

.header-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  min-width: 0;
  gap: 14px;
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.language-button.active {
  color: #fff;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
  min-height: calc(100vh - 72px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 48px 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.3vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 5px;
  font-weight: 700;
}

.button-dark {
  color: white;
  background: var(--ink);
}

.button-light {
  background: transparent;
  border: 1px solid #9fa5a2;
}

.hero-media {
  min-height: 620px;
  background:
    linear-gradient(90deg, rgba(247, 247, 243, 0.12), rgba(247, 247, 243, 0)),
    url("assets/site/hero.jpg") center / cover;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.feature-strip article {
  min-height: 136px;
  padding: 26px 34px;
  border-right: 1px solid var(--line);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip span {
  color: var(--clay);
  font-weight: 800;
}

.feature-strip strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 16px;
}

.feature-strip p,
.intro-section > p,
.section-heading > p,
.panel p,
.contact-section p,
.product-card p {
  color: var(--muted);
}

.intro-section,
.products-section,
.patterns-section,
.colors-section,
.technical-section,
.installation-section,
.quote-section,
.contact-section {
  padding: 78px 48px;
}

.products-section {
  padding-bottom: 52px;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: 80px;
  align-items: start;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.intro-section > p {
  max-width: 720px;
  font-size: 20px;
}

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

.section-heading p {
  max-width: 620px;
}

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

.filter {
  min-height: 40px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.filter.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: 300px 1fr;
  height: 100%;
  min-height: 390px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 36, 39, 0.05);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.product-card::after {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(31, 36, 39, 0.88);
  border-radius: 4px;
  content: attr(data-hover-label);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: var(--charcoal);
  box-shadow: 0 18px 42px rgba(31, 36, 39, 0.16);
  transform: translateY(-4px);
  outline: none;
}

.product-card:hover::after,
.product-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.product-card figure {
  height: 300px;
  margin: 0;
  background: #f0f1ee;
}

.product-visual {
  position: relative;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.product-card:hover img,
.product-card:focus-visible img {
  transform: scale(1.035);
}

.product-card-content {
  display: grid;
  grid-template-rows: auto minmax(150px, 1fr) auto minmax(144px, auto) auto;
  align-content: start;
  padding: 18px;
}

.product-card h3 {
  margin-bottom: 6px;
}

.product-card p {
  margin-bottom: 14px;
  font-size: 14px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-self: end;
  gap: 6px;
}

.price {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 144px;
  margin-top: 14px;
  padding: 10px 12px;
  color: var(--ink);
  background: #f4efe8;
  border: 1px solid #e0d2bf;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 800;
}

.price-row {
  display: grid;
  gap: 2px;
}

.price-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.price-row strong,
.price-row em {
  display: block;
  font-style: normal;
  line-height: 1.25;
}

.price-row em {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.chip {
  padding: 5px 8px;
  background: #eef0eb;
  border-radius: 4px;
  color: #4b5351;
  font-size: 12px;
}

.open-product {
  width: 100%;
  min-height: 44px;
  align-self: end;
  margin-top: 16px;
  color: #fff;
  background: var(--charcoal);
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  pointer-events: none;
  transition: background 0.18s ease;
}

.product-card:hover .open-product,
.product-card:focus-visible .open-product {
  background: #111414;
}

.patterns-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.patterns-carousel {
  display: grid;
  grid-auto-columns: 220px;
  grid-auto-flow: column;
  gap: 34px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 8px 0 22px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.pattern-tile {
  display: grid;
  grid-template-rows: 280px auto;
  overflow: visible;
  background: #fff;
  border: 0;
  border-radius: 0;
  scroll-snap-align: start;
  box-shadow: none;
}

.pattern-tile figure {
  display: grid;
  margin: 0;
  padding: 0;
  place-items: end center;
  background: #fff;
}

.pattern-tile img {
  width: auto;
  max-width: 180px;
  max-height: 258px;
  object-fit: contain;
}

.pattern-tile-copy {
  display: grid;
  gap: 0;
  padding: 8px 0 0;
  text-align: center;
}

.pattern-tile span {
  display: block;
  color: #697070;
  font-size: 16px;
  font-weight: 500;
}

.colors-section {
  background: #fff;
  border-block: 1px solid var(--line);
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
}

.color-swatch {
  overflow: hidden;
  background: #f5f5f0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.color-swatch img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  image-rendering: auto;
}

.color-swatch span {
  display: block;
  padding: 8px 10px 10px;
  color: #4b5351;
  font-size: 12px;
  text-align: center;
}

.swatch-card {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(280px, 1fr);
  gap: 34px;
  align-items: center;
  margin-top: 40px;
  padding: 26px;
  background: #f7f7f3;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.swatch-card img {
  width: 100%;
  max-height: 620px;
  border-radius: 8px;
  object-fit: contain;
  background: #ded9cc;
  box-shadow: 0 18px 40px rgba(31, 36, 39, 0.12);
}

.swatch-card p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
  scroll-margin-top: 120px;
}

.download-card {
  display: grid;
  gap: 8px;
  min-height: 118px;
  align-content: center;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 36, 39, 0.05);
}

.download-card span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.download-card strong {
  font-size: 20px;
}

.technical-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.panel {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

dl {
  margin: 0;
}

dt {
  color: var(--muted);
  font-size: 13px;
}

dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.panel dl div,
.data-list div,
.modal-specs div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.panel dl div:last-child,
.data-list div:last-child,
.modal-specs div:last-child {
  border-bottom: 0;
}

.data-list dd {
  line-height: 1.35;
}

.installation-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  align-items: start;
  background:
    linear-gradient(rgba(247, 247, 243, 0.88), rgba(247, 247, 243, 0.88)),
    url("assets/site/hero2.jpg") center / cover;
  border-block: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  display: grid;
  grid-template-rows: auto 52px minmax(56px, auto) 1fr;
  min-height: 170px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  color: var(--clay);
  font-weight: 900;
}

.step-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: #f4efe8;
  border: 1px solid #e4d4bf;
  border-radius: 50%;
}

.step-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--charcoal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.steps strong {
  display: block;
  align-self: end;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.15;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.quote-section {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.quote-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 36, 39, 0.05);
}

.quote-form {
  background: #f7f7f3;
}

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

.quote-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.quote-field-wide {
  grid-column: 1 / -1;
}

.quote-field input,
.quote-field select {
  width: 100%;
  min-width: 0;
  padding: 15px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  outline: none;
}

.quote-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-repeat: no-repeat;
  background-size: 6px 6px;
}

.quote-input-unit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.quote-input-unit input {
  border: 0;
}

.quote-input-unit span {
  padding: 0 14px;
  color: var(--muted);
  white-space: nowrap;
}

.quote-submit,
.quote-copy,
.quote-send {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
}

.quote-submit {
  width: 100%;
  margin-top: 20px;
}

.quote-copy {
  padding: 0 18px;
}

.quote-send {
  padding: 0 18px;
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.quote-note,
.quote-placeholder p {
  color: var(--muted);
}

.quote-note {
  margin: 18px 0 0;
  font-size: 14px;
}

.quote-placeholder {
  display: flex;
  min-height: 322px;
  flex-direction: column;
  justify-content: center;
}

.quote-results div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.quote-results div:last-child {
  border-bottom: 0;
}

.quote-results dd {
  text-align: right;
  overflow-wrap: anywhere;
}

.quote-total dt,
.quote-total dd {
  color: var(--ink);
  font-size: 18px;
}

.quote-output {
  margin-top: 18px;
}

.quote-output-heading {
  display: flex;
  gap: 20px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.quote-send-status {
  min-height: 24px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.quote-send-status.success {
  color: #2f6f45;
}

.quote-send-status.error {
  color: #a6352c;
}

.quote-output textarea {
  display: block;
  width: 100%;
  min-height: 250px;
  resize: vertical;
  padding: 18px;
  color: var(--ink);
  background: #f7f7f3;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  line-height: 1.55;
  outline: none;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  gap: 50px;
  align-items: center;
  background: var(--charcoal);
  color: #fff;
}

.contact-section .eyebrow,
.contact-section p {
  color: #cdd6cf;
}

.contact-card {
  display: grid;
  gap: 0;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.contact-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.contact-icon.whatsapp {
  color: #dfffe8;
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.35);
}

.contact-icon.map-pin {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.contact-icon.map-pin::after {
  content: none;
}

.contact-icon.map-pin svg {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.28));
  stroke: #9f1a16;
  stroke-width: 1.4;
}

.contact-icon.map-pin .pin-body {
  fill: #e53935;
}

.contact-icon.map-pin .pin-dot {
  fill: #b71c1c;
  stroke: none;
}

.contact-row small,
.contact-row em {
  display: block;
  color: #cdd6cf;
  font-style: normal;
}

.contact-row small {
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-row strong {
  display: block;
  color: #fff;
  font-size: 22px;
  line-height: 1.18;
}

.contact-row em {
  margin-top: 6px;
  font-size: 14px;
}

.company-details {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.company-label {
  margin-bottom: 8px;
  color: #cdd6cf;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-details h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 22px;
}

.company-details address {
  margin-bottom: 14px;
  color: #e8ede8;
  font-style: normal;
}

.company-details dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.company-details dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
}

@media (max-width: 720px) {
  .company-details dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.company-details dt {
  color: #cdd6cf;
}

.company-details dd {
  margin: 0;
  color: #fff;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.product-modal {
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.product-modal::backdrop {
  background: rgba(18, 22, 21, 0.55);
}

.modal-close {
  position: sticky;
  top: 14px;
  float: right;
  z-index: 3;
  width: 42px;
  height: 42px;
  margin: 14px 14px 0 0;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(340px, 1.05fr);
  gap: 34px;
  padding: 28px;
  background: #fff;
}

.modal-media {
  display: grid;
  align-content: start;
  gap: 26px;
}

.modal-layout > .modal-media > img {
  width: 100%;
  min-height: 420px;
  border-radius: 8px;
  object-fit: cover;
  background: #f0f0ec;
}

.modal-layout p {
  color: var(--muted);
}

.modal-pattern-panel {
  display: grid;
  grid-template-columns: minmax(92px, 150px) 1fr;
  gap: 18px;
  align-items: center;
  margin: 22px 0 24px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.modal-pattern-panel img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: transparent;
}

.modal-pattern-panel figcaption {
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
}

.modal-colours {
  padding: 0 22px 8px;
}

.modal-colours h3 {
  margin-bottom: 8px;
  font-size: 15px;
}

.modal-colours p {
  max-width: 420px;
  margin-bottom: 16px;
  font-size: 12px;
}

.modal-colour-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(48px, 1fr));
  gap: 9px;
  max-width: 430px;
}

.modal-colour-swatch {
  min-width: 0;
}

.modal-colour-swatch img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  border: 1px solid var(--line);
  border-radius: 2px;
  object-fit: cover;
}

.modal-colour-swatch span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.modal-specs {
  margin: 22px 0 26px;
}

.seo-main {
  background: #fff;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  gap: 42px;
  align-items: center;
  padding: 86px 48px;
  border-bottom: 1px solid var(--line);
}

.seo-hero h1 {
  font-size: clamp(42px, 5vw, 74px);
}

.seo-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.seo-hero img {
  width: 100%;
  min-height: 420px;
  border-radius: 8px;
  object-fit: cover;
}

.seo-section {
  padding: 72px 48px;
  border-bottom: 1px solid var(--line);
}

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

.seo-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 36, 39, 0.05);
}

.seo-card p,
.seo-text p,
.seo-list li {
  color: var(--muted);
}

.seo-links-section {
  padding: 72px 48px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.seo-link-grid a {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: #f7f7f3;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}

.seo-link-grid a:hover,
.seo-link-grid a:focus-visible {
  border-color: var(--ink);
  transform: translateY(-2px);
  outline: none;
}

.seo-link-grid span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-link-grid strong {
  font-size: 20px;
}

.seo-text {
  max-width: 980px;
}

.seo-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  padding-left: 20px;
}

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

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.collection-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 36, 39, 0.05);
}

.collection-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  background: #fff;
}

.product-page-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(320px, 1.2fr);
  gap: 42px;
  align-items: start;
}

.product-page-grid img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-list a {
  display: grid;
  gap: 10px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 36, 39, 0.05);
}

.article-list span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 24px;
  }

  .nav {
    display: none;
  }

  .header-action {
    display: none;
  }

  .hero,
  .seo-hero,
  .intro-section,
  .installation-section,
  .quote-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy,
  .seo-hero,
  .seo-section,
  .intro-section,
  .products-section,
  .patterns-section,
  .colors-section,
  .technical-section,
  .installation-section,
  .quote-section,
  .contact-section {
    padding-inline: 24px;
  }

  .hero-media {
    min-height: 430px;
    order: -1;
  }

  .feature-strip,
  .seo-grid,
  .article-list,
  .seo-link-grid,
  .technical-grid,
  .steps,
  .quote-fields,
  .swatch-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .patterns-carousel {
    grid-auto-columns: 190px;
  }

  .pattern-tile {
    grid-template-rows: 250px auto;
  }

  .pattern-tile img {
    max-width: 160px;
    max-height: 232px;
  }

  .product-card {
    grid-template-rows: 260px 1fr;
  }

  .product-card figure {
    height: 260px;
  }
}

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

  .brand {
    font-size: 20px;
  }

  .header-tools {
    gap: 8px;
  }

  .language-button {
    min-height: 28px;
    padding: 0 7px;
  }

  .hero-copy {
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .hero-copy > p:not(.eyebrow),
  .intro-section > p {
    font-size: 17px;
  }

  .feature-strip,
  .seo-grid,
  .article-list,
  .seo-link-grid,
  .product-page-grid,
  .technical-grid,
  .steps,
  .quote-layout,
  .quote-fields,
  .modal-layout,
  .swatch-card,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .modal-layout > .modal-media > img {
    min-height: 280px;
  }

  .modal-pattern-panel {
    grid-template-columns: 1fr;
  }

  .modal-pattern-panel img {
    max-height: 260px;
  }

  .modal-colours {
    padding-inline: 0;
  }

  .modal-colour-grid {
    grid-template-columns: repeat(4, minmax(54px, 1fr));
    max-width: none;
  }

  .quote-section {
    padding: 54px 22px;
  }

  .quote-output-heading {
    display: grid;
  }

  .quote-actions,
  .quote-copy,
  .quote-send {
    width: 100%;
  }

  .panel dl div,
  .modal-specs div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .product-card {
    grid-template-rows: 240px 1fr;
  }

  .product-card figure {
    height: 240px;
  }

  .product-card-content {
    grid-template-rows: auto auto auto auto auto;
  }
}
