:root {
  --bg: #eff5f7;
  --card: #ffffff;
  --ink: #072b3b;
  --navy-hover: #124459;
  --mute: #496371;
  --line: #d4e2e8;
  --line-strong: #698591;
  --accent: #da6638;
  --accent-dark: #9a3919;
  --accent-tint: #fff0ea;
  --radius: 14px;
  --shadow: 0 2px 10px rgb(7 43 59 / 6%);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.5 var(--sans);
  font-variant-numeric: tabular-nums;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: block; min-width: 0; }
.brand img {
  display: block;
  width: clamp(126px, 23vw, 180px);
  max-width: 100%;
  height: auto;
}
.catalog-link {
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.catalog-link:hover { border-color: var(--navy-hover); background: var(--bg); }
:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

.intro { padding: clamp(28px, 4vw, 52px) 0 22px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}
h1, h2 { margin: 0; font-family: var(--serif); line-height: 1.12; }
h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: 23px; }
.lead { margin: 10px 0 0; color: var(--mute); font-size: 16px; }
.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.card, .order {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { display: flex; flex-direction: column; overflow: hidden; }
figure { position: relative; margin: 0; }
figcaption {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--card);
  color: var(--mute);
  font-size: 11px;
}
.product-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg);
}
.card-body { flex: 1; display: flex; flex-direction: column; padding: 16px; }
.card-body p { color: var(--mute); margin: 8px 0 16px; }
.offer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 12px;
}
.offer strong { font-size: 25px; white-space: nowrap; }
.offer small { margin-left: 2px; font-size: 14px; font-weight: 600; }
.offer span {
  padding: 3px 9px;
  border-radius: 999px;
  background: #e5eff3;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0 36px;
  padding: 18px 20px;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--card);
}
.order p { margin: 5px 0 0; color: var(--line); }
.order p a { color: var(--card); white-space: nowrap; }
.order a:focus-visible { outline-color: var(--accent); }
.order-button {
  background: var(--ink);
  color: var(--card);
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.order-button:hover { background: var(--navy-hover); }
.order .order-button { background: var(--card); color: var(--ink); }
.order .order-button:hover { background: var(--accent-tint); }

@media (max-width: 700px) {
  .container { padding-inline: 16px; }
  .products { grid-template-columns: 1fr; }
  .order-button { width: 100%; }
}

.request {
  margin: 22px 0 0;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.request form { display: grid; gap: 16px; margin-top: 16px; }
.request fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.request legend { padding: 0 0 10px; color: var(--mute); }
.request-products, .request-contacts { display: grid; gap: 12px; }
.request-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.request-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.request label { display: grid; gap: 5px; align-content: start; font-weight: 600; }
.request input, .request textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--card);
  color: var(--ink);
  font: 400 16px/1.4 var(--sans);
}
.request :is(input, textarea)::placeholder { color: var(--mute); }
.request textarea { resize: vertical; }
.request button { justify-self: start; border: 0; cursor: pointer; font: 700 15px/1.5 var(--sans); }
.request button:disabled { opacity: .65; cursor: wait; }
.request-status { margin: 0; color: var(--accent-dark); }
.request-status:empty { margin-top: -16px; }

@media (max-width: 700px) {
  .request-products, .request-contacts { grid-template-columns: 1fr; }
}

.intro {
  margin: 24px 0;
  padding: clamp(24px, 5vw, 56px);
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
}
.intro .eyebrow { color: #ffb598; }
.intro .lead { color: #e0edf2; max-width: 50ch; }
.intro .order-button { display: inline-flex; width: auto; margin-top: 20px; background: var(--card); color: var(--ink); }
.intro .order-button:hover { background: var(--accent-tint); }
.request { scroll-margin-top: 16px; }
.request label small { color: var(--mute); font-size: 13px; font-weight: 500; }
.offer strong { color: var(--ink); }
.offer span {
  padding: 4px 8px;
  border-radius: 6px;
  background: #e5eff3;
}
