* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  color: #1a1a1a;
}

.center {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}


header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 28px 0;
}

header .center {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.92;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 1;
}


.hero {
  position: relative;
  height: 420px;
  background-image: url('../images/hero-bg.jpg'),
    linear-gradient(135deg, #8a9e8a 0%, #c4b49a 50%, #a8977e 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 70%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 52px 0;
  width: 100%;
}

.hero-content .center {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  max-width: 480px;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
  font-weight: 400;
}

.hero-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.hero-link:hover {
  color: #fff;
}


.catalog {
  padding: 48px 0 60px;
}

.catalog h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #1a1a1a;
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.product-card {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 200px;
}

.product-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  background: linear-gradient(135deg, #d8d0c8 0%, #c4b49a 100%);
}

.product-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 6px;
  color: #1a1a1a;
}

.product-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
}

.product-card .price {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

footer {
  border-top: 1px solid #e8e8e8;
  padding: 28px 20px;
  text-align: center;
  font-size: 14px;
  color: #555;
}
