/* === reset === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;
  color: #1a1816;
  background: #fbf8f4;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* === header === */
header.site {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: #fbf8f4;
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 44px; height: 44px;
  background: #1a1816; color: #fbf8f4;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px;
  border-radius: 12px;
}
header.site h1 {
  font-size: 18px;
  letter-spacing: -0.01em;
}
.tagline {
  font-size: 12px;
  color: #6b6259;
}
header nav { display: flex; gap: 28px; font-size: 14px; }
header nav a:hover { color: #d97757; }

/* === hero === */
.hero {
  padding: 88px 48px 64px;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.hero h2 {
  font-size: 56px;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.035em;
}
.hero p {
  font-size: 18px;
  color: #4a423a;
  max-width: 620px;
  margin: 0 auto 32px;
}
.cta {
  display: inline-block;
  background: #d97757;
  color: white;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s, background .15s;
}
.cta:hover { background: #c66648; transform: translateY(-1px); }

/* === sections === */
.section-title {
  font-size: 32px;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.gallery, .about, .contact {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 48px;
}

/* === gallery grid === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.card-img {
  aspect-ratio: 4 / 3;
  background-color: #f0eae3;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.placeholder-img {
  display: grid;
  place-items: center;
  color: #a39788;
  font-size: 13px;
  font-weight: 600;
  background: repeating-linear-gradient(
    45deg, #f0eae3, #f0eae3 8px, #e8e1d8 8px, #e8e1d8 16px
  );
}
.placeholder-img-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #a39788;
  font-size: 13px;
  font-weight: 600;
  background: repeating-linear-gradient(
    45deg, #f0eae3, #f0eae3 8px, #e8e1d8 8px, #e8e1d8 16px
  );
}
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover .card-img { filter: brightness(1.04); }
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.like-mini {
  font-size: 13px;
  color: #6b6259;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.brand-link { color: inherit; text-decoration: none; }
.brand-link:hover { opacity: 0.85; }
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b6259;
  background: #f5f0e9;
  padding: 4px 10px;
  border-radius: 999px;
}
.free-badge {
  background: #e3f4ea;
  color: #2d6a48;
}
.price {
  font-size: 18px;
  font-weight: 700;
  color: #1a1816;
}
.card h3 {
  font-size: 19px;
  margin: 4px 0 8px;
}
.card p {
  font-size: 14px;
  color: #4a423a;
  margin-bottom: 12px;
  flex: 1;
}
.specs {
  list-style: none;
  font-size: 12px;
  color: #6b6259;
  margin-bottom: 16px;
}
.specs li {
  padding: 3px 0;
  border-bottom: 1px solid #f0eae3;
}
.specs li:last-child { border: none; }
.buy {
  display: block;
  text-align: center;
  background: #1a1816;
  color: white;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: background .15s;
}
.buy:hover { background: #d97757; }

.placeholder .card-body { opacity: 0.85; }

/* === about, contact === */
.about-content {
  max-width: 720px;
  font-size: 17px;
  color: #4a423a;
}
.about-content p { margin-bottom: 16px; }
.contact a { color: #d97757; font-weight: 600; }
.contact a:hover { text-decoration: underline; }

/* === footer === */
footer {
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 36px 48px;
  text-align: center;
  font-size: 13px;
  color: #8a8175;
  margin-top: 48px;
}
.legal { font-size: 11px; margin-top: 6px; opacity: 0.7; }

/* === responsive === */
@media (max-width: 720px) {
  header.site { padding: 16px 24px; flex-direction: column; gap: 14px; }
  .hero { padding: 56px 24px 40px; }
  .hero h2 { font-size: 36px; }
  .gallery, .about, .contact { padding: 40px 24px; }
  .section-title { font-size: 26px; }
}
