:root {
  color-scheme: light;
  --paper: #f7f6f1;
  --ink: #1e211e;
  --muted: #50554d;
  --line: #d8d9d0;
  --accent: #eb502e;
  --brand-orange: #ff7656;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #bf391a; outline-offset: 4px; }
.wrap { width: min(100% - 96px, 1320px); margin-inline: auto; }
.header { background: #222521; color: #fffdf6; border-bottom: 1px solid #3c423a; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 98px;
}
.header :focus-visible, .footer :focus-visible { outline-color: #ff7656; }
.brand { display: inline-flex; justify-self: start; align-items: center; gap: 10px; border-radius: 5px; }
.brand strong { display: block; font-size: 38px; font-weight: 900; letter-spacing: -.055em; line-height: 1; }
.brand strong span { color: var(--brand-orange); }
.brand small {
  display: block;
  margin-top: 7px;
  color: #e1e4da;
  font: 600 12px/1.25 'Cascadia Mono', Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-mark { flex: none; width: 72px; height: 72px; object-fit: contain; }
.header nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: #2b302a;
  border: 1px solid #414940;
  border-radius: 9px;
}
.header nav a {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding-inline: clamp(12px, 1.65vw, 24px);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.header nav a:hover, .header nav a[aria-current="page"] { background: #3b443a; color: #fff; }
.text-link:hover { color: #ae2d14; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 17px; min-height: 45px; border: 1px solid currentColor; border-radius: 3px; font-weight: 700; cursor: pointer; }
.header-cta {
  justify-self: end;
  justify-content: center;
  border-color: var(--brand-orange);
  border-radius: 7px;
  color: var(--brand-orange);
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}
.header-cta:hover { background: #392c27; }
.primary { background: var(--accent); color: #171916; border-color: var(--accent); }
.primary:hover { background: #ff6b49; border-color: #ff6b49; }

.hero { display: grid; grid-template-columns: .89fr 1.11fr; gap: clamp(24px, 4.3vw, 74px); align-items: center; padding-block: clamp(40px, 6vw, 91px); }
h1, h2, h3 { letter-spacing: -.055em; }
h1 { margin: 0 0 22px; font-size: clamp(52px, 6.5vw, 104px); line-height: .96; font-weight: 900; }
h1 span { color: #bd3317; }
.intro { max-width: 40ch; color: var(--muted); font-size: clamp(16px, 1.45vw, 21px); line-height: 1.55; }
.intro strong { color: var(--ink); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; padding: 10px 0; }
.hero-art { border: 1px solid var(--line); background: #ede9e1; border-radius: 4px; overflow: hidden; }
.hero-art img { width: 100%; aspect-ratio: 1.47; object-fit: cover; object-position: 65% 52%; }
.hero-art figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 13px; background: var(--paper); border-top: 1px solid var(--line); font: 12px/1.3 'Courier New', monospace; color: var(--muted); }

.section { padding-block: clamp(47px, 6vw, 88px); }
#servicii { border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px 36px; margin-bottom: 28px; }
h2 { font-size: clamp(37px, 5vw, 70px); line-height: 1; }
.section-heading p { max-width: 34ch; color: var(--muted); line-height: 1.5; }
.catalog { background: #efeee7; }
.catalog h1 { margin-bottom: 16px; font-size: clamp(42px, 7vw, 82px); }
.catalog-order-terms { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-bottom: 30px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); line-height: 1.5; }
.catalog-order-terms strong { display: block; font-size: .875rem; }
.product-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; }
.product-card img { width: 100%; height: auto; max-height: 620px; object-fit: contain; background: #e6e2dc; }
.product-copy { align-self: center; padding: clamp(22px, 4vw, 56px); }
.product-copy h2 { font-size: clamp(32px, 4vw, 58px); line-height: 1.05; }
.product-copy h2 + p { max-width: 39ch; margin-top: 14px; color: var(--muted); line-height: 1.5; }
.product-price { margin: 24px 0 16px; line-height: 1.35; }
.product-price strong { font-size: 1.25rem; }
.product-price span { color: var(--muted); font-size: .875rem; }
.product-request { border-color: #9b331c; color: #8d2914; }
.product-request:hover { background: #f9e6de; }
.catalog-link:hover .product-request { background: #f9e6de; }
.product-path { margin-bottom: 22px; color: var(--muted); line-height: 1.4; }
.product-path a { text-decoration: underline; text-underline-offset: 3px; }
.product-detail h1 { font-size: clamp(36px, 5vw, 68px); }
.product-detail .product-copy > p { max-width: 42ch; line-height: 1.5; }
.product-detail .product-price strong { font-size: 1.75rem; }
.product-detail .catalog-order-terms { margin: 24px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.product-offer { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.product-offer input { width: 7rem; color: var(--ink); background: white; border-color: var(--line); }
.product-photo-details { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 26px; }
.product-photo-details h2 { font-size: clamp(26px, 3vw, 38px); }
.product-photo-details p { max-width: 62ch; margin-top: 10px; line-height: 1.55; color: var(--muted); }
@media (max-width: 680px) {
  .product-card { grid-template-columns: minmax(0, 1fr); }
}
.services, .gallery, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.services { border: 1px solid var(--line); border-radius: 4px; }
.services article { display: flex; flex-direction: column; align-items: start; padding: clamp(22px, 3vw, 38px); }
.services article + article { border-left: 1px solid var(--line); }
h3 { font-size: clamp(22px, 2.6vw, 31px); line-height: 1.1; }
.services p, .steps p { margin-top: 10px; max-width: 35ch; line-height: 1.5; color: var(--muted); }
.services ul { display: grid; gap: 6px; padding-inline-start: 1.2em; margin: 17px 0 14px; line-height: 1.45; }
.services li::marker { color: #ae2d14; }
.services .text-link { margin-top: auto; }
.services .text-link { color: #9b331c; text-decoration: underline; text-underline-offset: 4px; }
.services .text-link:hover { color: var(--ink); }
.examples { background: #efeee7; border-block: 1px solid var(--line); }
.gallery { gap: 18px; }
.gallery figure { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.gallery-image { aspect-ratio: 1.12; background: #e7e2d8 url('assets/gallery.webp') no-repeat; background-size: 300% 100%; }
.gear { background-position: left; }
.enclosure { background-position: center; }
.clips { background-position: right; }
.gallery figcaption { font-weight: 700; padding: 15px; }
.steps { gap: 28px; list-style: none; padding: 0; margin: 0; counter-reset: process; }
.steps li { counter-increment: process; padding-top: 16px; border-top: 1px solid var(--line); }
.steps li::before { content: '0' counter(process); display: block; color: #bd3317; font: 700 14px/1 'Courier New', monospace; margin-bottom: 19px; }

.quote { color: var(--paper); background: #222721; }
.quote-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); padding-block: clamp(46px, 7vw, 95px); }
.quote h2 { margin: 13px 0 19px; }
.quote p { color: #cbd1c7; line-height: 1.5; max-width: 46ch; }
.quote-questions { margin-top: 32px; }
.quote-questions h3 { margin-bottom: 12px; font-size: 20px; letter-spacing: -.025em; }
.quote-questions details { border-bottom: 1px solid #50594e; }
.quote-questions details:first-of-type { border-top: 1px solid #50594e; }
.quote-questions summary { padding-block: 12px; cursor: pointer; font-size: 15px; font-weight: 700; }
.quote-questions summary::marker { color: #ff7656; }
.quote-questions summary:hover { color: #ff957c; }
.quote-questions details p { padding: 0 8px 14px 0; font-size: 15px; }
.quote :focus-visible { outline-color: #ff7656; }
form, label { display: grid; gap: 9px; }
form { gap: 16px; }
form button { justify-self: start; }
label { font-size: 14px; font-weight: 700; }
.field-caption > span { color: #cbd1c7; font-weight: 400; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
input, select, textarea { width: 100%; min-width: 0; padding: 12px; color: var(--paper); border: 1px solid #687266; border-radius: 3px; background: #313830; }
.quote select { color-scheme: dark; }
input::placeholder, textarea::placeholder { color: #b5beb1; }
textarea { resize: vertical; }
.draft-note { font-size: 13px; }
.quote noscript a { color: var(--brand-orange); text-decoration: underline; }
.footer {
  background: #1b1e1b;
  color: #fffdf6;
  border-top: 1px solid #414940;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-block: 24px;
}
.footer .brand-mark { width: 60px; height: 60px; }
.footer .brand strong { font-size: 32px; }
.footer-top {
  justify-content: center;
  padding: 10px 14px;
  border-color: #636c60;
  border-radius: 7px;
  font-size: 14px;
  white-space: nowrap;
}
.footer-top:hover { border-color: #ff7656; color: #ff957c; background: #2b302a; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-art figcaption { flex-wrap: wrap; }
}

@media (max-width: 780px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 12px; padding-block: 12px; }
  .header nav { grid-column: 1 / -1; grid-row: 2; }
  .header nav a { flex: 1; padding-inline: 4px; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .brand { gap: 7px; }
  .brand strong { font-size: 30px; }
  .brand small { margin-top: 5px; font-size: 10px; letter-spacing: .08em; }
  .brand-mark { width: 54px; height: 54px; }
  .header-cta {
    width: clamp(102px, 32vw, 146px);
    padding: 8px;
    white-space: normal;
  }
  .footer-inner { column-gap: 12px; padding-block: 16px; }
  .footer .brand-mark { width: 48px; height: 48px; }
  .footer .brand strong { font-size: 28px; }
  .hero, .quote-inner { grid-template-columns: 1fr; }
  h1 { font-size: clamp(48px, 12vw, 72px); }
  .hero-actions { gap: 14px; }
  .section-heading { display: grid; }
  .services, .gallery, .steps { grid-template-columns: 1fr; }
  .services article + article { border-left: 0; border-top: 1px solid var(--line); }
  .gallery-image { aspect-ratio: 1.24; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
