:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dee8;
  --paper: #f7f8f6;
  --white: #ffffff;
  --teal: #09666f;
  --teal-dark: #06464d;
  --blue: #1f77a5;
  --orange: #e46e31;
  --steel: #344054;
  --shadow: 0 18px 55px rgba(17, 24, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 24px;
  color: var(--steel);
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.cart-button,
.icon-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 700;
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  overflow: hidden;
  background: #12202a;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 26, 0.84) 0%, rgba(7, 20, 26, 0.55) 42%, rgba(7, 20, 26, 0.18) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
  min-height: inherit;
  padding: 64px clamp(20px, 6vw, 76px) 120px;
  color: var(--white);
}

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

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.98;
}

.hero p:not(.eyebrow) {
  max-width: 570px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.1vw, 24px);
}

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

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

.button.primary {
  color: var(--white);
  background: var(--orange);
}

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

.section {
  padding: 72px clamp(18px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: var(--line);
}

.intro div {
  padding: 28px;
  background: var(--white);
}

.intro strong,
.intro span {
  display: block;
}

.intro span {
  margin-top: 8px;
  color: var(--muted);
}

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

.section-heading h2,
.custom-panel h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-heading p:not(.eyebrow),
.custom-panel p:not(.eyebrow),
.contact-section p {
  color: var(--muted);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-art {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), var(--blue));
  font-size: 48px;
  font-weight: 900;
}

.product-card:nth-child(2n) .product-art {
  background: linear-gradient(135deg, #23344c, #62929e);
}

.product-card:nth-child(3n) .product-art {
  background: linear-gradient(135deg, #2e4a45, #d08b49);
}

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

.product-body h3 {
  margin: 0;
  font-size: 20px;
}

.product-body p {
  flex: 1;
  margin: 0;
  color: var(--muted);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 800;
}

.tag {
  color: var(--teal);
  font-size: 13px;
}

.custom-section {
  background: #e9f0ef;
}

.custom-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: 36px;
  align-items: start;
  max-width: 1180px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c9d2df;
  border-radius: 8px;
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-status,
.checkout-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

.steps article {
  padding: 22px;
  background: var(--white);
  border-top: 4px solid var(--teal);
}

.steps span {
  color: var(--orange);
  font-weight: 900;
}

.steps h3 {
  margin: 14px 0 8px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.contact-section {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  color: var(--white);
  background: var(--teal-dark);
}

.contact-section p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  visibility: hidden;
}

.cart-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.cart-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.42);
  opacity: 0;
  transition: opacity 180ms ease;
}

.cart-drawer.is-open .cart-overlay {
  opacity: 1;
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-panel header,
.cart-panel footer {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.cart-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-panel footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.checkout-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checkout-form label {
  font-size: 12px;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  min-height: 40px;
  padding: 9px 10px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  font-weight: 900;
}

.cart-items {
  display: grid;
  gap: 12px;
  overflow: auto;
  padding: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cart-item > strong {
  justify-self: end;
}

.cart-item h3,
.cart-panel h2 {
  margin: 0;
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quantity-controls button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.remove-button {
  justify-self: start;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
}

.cart-summary {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.cart-summary div,
.cart-total {
  display: flex;
  justify-content: space-between;
}

.cart-total {
  font-size: 20px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

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

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand small {
    display: none;
  }

  .cart-button span {
    display: none;
  }

  .hero {
    min-height: 680px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(7, 20, 26, 0.8) 0%, rgba(7, 20, 26, 0.58) 64%, rgba(7, 20, 26, 0.38) 100%);
  }

  .hero-copy {
    justify-content: flex-end;
    padding: 44px 18px 86px;
  }

  .section {
    padding: 48px 18px;
  }

  .intro,
  .product-grid,
  .steps,
  .quote-form,
  .checkout-form,
  .product-actions {
    grid-template-columns: 1fr;
  }

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