:root {
  --bg: #f6f1ea;
  --surface: #ffffff;
  --ink: #1f1a17;
  --muted: #6e6258;
  --accent: #a66e2c;
  --accent-dark: #7f4f1c;
  --line: #e8ddd2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, #fff8f0 0%, var(--bg) 45%, #efe4d8 100%);
}

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

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(255, 250, 245, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(180px, 24vw, 340px);
  height: auto;
  max-height: 82px;
  object-fit: contain;
  filter: saturate(1.08) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.12));
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 8px 10px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.hero {
  padding: 68px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 34px;
  align-items: center;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
}

.hero p {
  font-size: 1.06rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 18px 0 28px;
}

.btn,
button {
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(61, 44, 29, 0.06);
}

.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 24px;
  gap: 18px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.grid {
  display: grid;
  gap: 20px;
}

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

.product-card .body {
  padding: 14px;
}

.product-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.gallery figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fbf7f2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.about p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-card {
  padding: 22px;
}

.contact-meta {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.contact-meta a {
  color: var(--accent-dark);
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding: 20px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

@media (max-width: 720px) {
  .brand-logo {
    width: min(56vw, 240px);
    max-height: 58px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 4vw;
    top: 64px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

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

  .products,
  .gallery {
    grid-template-columns: 1fr;
  }
}
