:root {
  --ink: #15110d;
  --muted: #6e655c;
  --surface: #f8f5ef;
  --surface-strong: #eee6db;
  --line: #ded4c7;
  --wood: #a66c3f;
  --wood-dark: #6f4326;
  --accent: #c58a45;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(21, 17, 13, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 78px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(248, 245, 239, 0.96);
  box-shadow: 0 10px 30px rgba(21, 17, 13, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--wood-dark);
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  font-size: 0.82rem;
}

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

.brand small {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.82;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  background: var(--surface-strong);
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--wood);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 17, 13, 0.9) 0%, rgba(21, 17, 13, 0.64) 44%, rgba(21, 17, 13, 0.18) 100%),
    linear-gradient(0deg, rgba(21, 17, 13, 0.38), rgba(21, 17, 13, 0.06));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 88px);
  padding-top: 78px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.15rem);
  line-height: 1.05;
}

.hero-content > p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 2vw, 1.26rem);
}

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

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

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

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

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.section {
  padding: clamp(68px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.section-about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 560px);
  gap: clamp(30px, 7vw, 86px);
  align-items: center;
  background: var(--white);
}

.about-copy {
  max-width: 760px;
}

.about-copy h3 {
  margin: 18px 0 0;
  color: var(--wood-dark);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.about-copy p,
.section-heading p,
.contact-form-wrap > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.about-copy .button {
  margin-top: 28px;
}

.about-media {
  margin: 0;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-products {
  background: var(--surface);
}

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

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card div {
  padding: 24px;
}

.product-card h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.25;
}

.product-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.section-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 560px);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  background: var(--surface-strong);
}

.contact-form-wrap,
.contact-details {
  min-width: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(166, 108, 63, 0.22);
  border-color: var(--wood);
}

.checkbox-label {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.contact-form .button {
  width: 100%;
}

.contact-details {
  display: grid;
  gap: 16px;
}

.map-card,
.detail-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-card {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(111, 67, 38, 0.92), rgba(21, 17, 13, 0.7)),
    url("assets/b12-hero.jpeg") center / cover;
  text-align: center;
}

.map-card a {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
}

.detail-block {
  padding: 24px;
}

.detail-block h3 {
  margin: 0 0 10px;
  color: var(--wood-dark);
  font-size: 1.05rem;
}

.detail-block a,
.detail-block p {
  display: block;
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 980px) {
  .section-about,
  .section-contact {
    grid-template-columns: 1fr;
  }

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

  .about-media img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .hero {
    min-height: 92vh;
    align-items: flex-end;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(21, 17, 13, 0.94) 0%, rgba(21, 17, 13, 0.72) 58%, rgba(21, 17, 13, 0.16) 100%);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 46px;
    padding-top: 84px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .section {
    padding: 58px 18px;
  }

  .map-card {
    min-height: 210px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}
