:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #63615e;
  --line: #dfddd8;
  --red: #8f1d21;
  --red-dark: #5f1115;
  --gold: #bd8a2f;
  --teal: #0f6c68;
  --shadow: 0 16px 36px rgba(21, 17, 12, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(23, 23, 23, 0.92);
  color: #fff;
  backdrop-filter: blur(14px);
}

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

.brand-mark img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  object-fit: cover;
}

.brand-mark span {
  display: grid;
  min-width: 0;
}

.brand-mark strong,
.brand-mark small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark strong {
  font-size: 1rem;
}

.brand-mark small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.main-nav a {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.94rem;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  min-height: min(650px, calc(100vh - 76px));
  display: grid;
  align-items: end;
  isolation: isolate;
}

.home-hero {
  background:
    linear-gradient(90deg, rgba(15, 15, 14, 0.88), rgba(15, 15, 14, 0.52) 48%, rgba(15, 15, 14, 0.24)),
    url("products/brand-cover.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(56vw, 660px);
  height: min(62vh, 560px);
  background:
    linear-gradient(to left, rgba(247, 247, 245, 0.1), transparent 78%),
    url("products/product-16.jpg") right bottom / contain no-repeat;
  content: "";
  z-index: -1;
}

.hero-inner {
  width: min(100%, 1180px);
  padding: 92px clamp(18px, 5vw, 64px) 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.35rem, 6vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.section .button.secondary,
.location-section .button.secondary {
  background: var(--surface);
  color: var(--ink);
}

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

.quick-strip a {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  color: var(--red);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

.quick-strip a:last-child {
  border-right: 0;
}

.quick-strip a:hover {
  background: #f1f0ed;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 94px) 0;
}

.intro-grid,
.location-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy p {
  color: var(--muted);
  font-size: 1rem;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--red);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

.feature-grid article,
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(21, 17, 12, 0.08);
  overflow: hidden;
}

.feature-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.feature-grid h3 {
  min-height: 54px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 12px;
  font-size: 1rem;
}

.location-section {
  border-top: 1px solid var(--line);
}

address {
  margin-bottom: 14px;
  color: var(--muted);
  font-style: normal;
}

.contact-line a {
  color: var(--red);
  font-weight: 800;
}

.map-panel {
  min-height: 410px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-panel iframe {
  width: 100%;
  height: 410px;
  border: 0;
}

.catalog-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(44px, 7vw, 84px) clamp(18px, 5vw, 64px) clamp(30px, 5vw, 56px);
  background:
    linear-gradient(90deg, rgba(23, 23, 23, 0.96), rgba(23, 23, 23, 0.78)),
    url("products/product-30.jpg") center / cover no-repeat;
  color: #fff;
}

.catalog-hero h1 {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.75rem);
}

.catalog-contact {
  display: grid;
  gap: 10px;
  flex: 0 0 auto;
  text-align: right;
  font-weight: 800;
}

.catalog-contact a {
  color: #fff;
  text-underline-offset: 4px;
}

.catalog-tools {
  position: sticky;
  top: 76px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 245, 0.96);
  backdrop-filter: blur(12px);
}

.search-field {
  display: grid;
  gap: 6px;
  width: min(420px, 100%);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-transform: none;
}

.search-field input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(15, 108, 104, 0.16);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-tabs button {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.filter-tabs button:hover,
.filter-tabs button.active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.catalog-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 64px) 0;
  color: var(--muted);
  font-weight: 800;
}

.catalog-status a {
  color: var(--red);
  text-align: right;
  text-underline-offset: 5px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 64px) 72px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.product-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #eceae6;
  object-fit: cover;
  object-position: center top;
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.product-body h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.32;
  letter-spacing: 0;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: #fafafa;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.price {
  color: var(--red);
  font-size: 1.12rem;
  font-weight: 900;
}

.product-footer a {
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 900;
  text-underline-offset: 4px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 46px 20px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 64px);
  border-top: 1px solid #333;
  background: #171717;
  color: #fff;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.site-footer a {
  color: #fff;
  text-underline-offset: 5px;
}

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

  .main-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    justify-content: stretch;
  }

  .main-nav a {
    min-width: 0;
    padding-inline: 8px;
    text-align: center;
  }

  .hero {
    min-height: 600px;
  }

  .hero::after {
    width: 78vw;
    height: 46vh;
    opacity: 0.36;
  }

  .hero-inner {
    padding-top: 62px;
  }

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

  .intro-grid,
  .location-section {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-hero,
  .catalog-tools,
  .catalog-status,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-tools {
    position: static;
  }

  .catalog-contact {
    text-align: left;
  }

  .filter-tabs {
    justify-content: flex-start;
  }

  .catalog-status a {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 20px;
  }

  .brand-mark {
    width: 100%;
    max-width: 350px;
  }

  .main-nav {
    max-width: 350px;
  }

  .brand-mark strong {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero::after {
    display: none;
  }

  .hero-inner {
    width: min(100%, 390px);
    padding-inline: 24px;
  }

  .eyebrow {
    overflow-wrap: break-word;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions .button,
  .inline-actions .button {
    width: 100%;
  }

  .section {
    width: min(calc(100% - 48px), 342px);
    margin-right: 0;
    margin-left: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid img {
    aspect-ratio: 16 / 11;
  }

  .quick-strip {
    grid-template-columns: 1fr;
  }

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

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

  .catalog-tools,
  .catalog-status,
  .product-grid {
    width: min(calc(100% - 48px), 342px);
    margin-right: 0;
    margin-left: 24px;
    padding-inline: 0;
  }

  .catalog-hero > * {
    max-width: 342px;
  }

  .filter-tabs,
  .search-field {
    width: 100%;
  }

  .filter-tabs button {
    flex: 1 1 calc(33.333% - 8px);
    padding-inline: 8px;
  }
}
