:root {
  --bg: #faf7f2;
  --soft: #f0e9dd;
  --ink: #1c1712;
  --muted: #7c7267;
  --accent: #a8643f;
  --line: #e2d9cc;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead { margin-top: 16px; max-width: 560px; color: var(--muted); }

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 30px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

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

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(20px, 5vw, 60px);
}

.logo {
  font-family: var(--serif);
  font-size: 26px;
  color: #fff;
  text-decoration: none;
}

.logo span { color: var(--accent); }

.header nav { display: flex; gap: 26px; }
.header nav a {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
.header nav a:hover { opacity: 0.7; }

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: 120px clamp(20px, 5vw, 60px) 80px;
  overflow: hidden;
  color: #fff;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 11, 8, 0.82), rgba(15, 11, 8, 0.35) 60%, rgba(15, 11, 8, 0.15));
}

.hero__text { position: relative; z-index: 1; max-width: 620px; }
.hero .label { color: #d9a67f; }
.hero h1 { margin-top: 10px; font-size: clamp(52px, 9vw, 108px); font-weight: 400; }
.hero h1 em { color: #d9a67f; }
.hero p:not(.label) {
  margin-top: 26px;
  max-width: 470px;
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}
.hero .btn { background: #f8f2e9; color: var(--ink); }
.hero .btn:hover { background: var(--accent); color: #fff; }

/* Sections */
.section {
  padding: 90px clamp(20px, 5vw, 60px);
  max-width: 1240px;
  margin: 0 auto;
}

.section--soft {
  max-width: none;
  background: var(--soft);
}

.section--soft > * { max-width: 1240px; margin-inline: auto; }

.section h2 { font-size: clamp(32px, 4.5vw, 54px); }

.group {
  margin: 52px 0 24px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  padding-bottom: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

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

.card h4 { margin: 20px 24px 0; font-size: 27px; }
.card p { margin: 8px 24px 0; font-size: 14px; color: var(--muted); }
.card .price {
  display: inline-block;
  margin: 16px 24px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

/* Contacts */
.contacts {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  max-width: 560px;
}

.contacts li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contacts span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contacts a, .contacts p { font-family: var(--serif); font-size: 21px; }
.contacts a { text-decoration: none; }
.contacts a:hover { color: var(--accent); }

/* Footer */
.footer {
  padding: 36px clamp(20px, 5vw, 60px);
  background: #14100c;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .header nav { gap: 16px; }
  .header nav a { font-size: 10px; }
  .hero { min-height: 88vh; padding-top: 140px; }
  .section { padding: 64px 20px; }
  .cards { grid-template-columns: 1fr; }
  .gallery { gap: 10px; }
  .contacts li { grid-template-columns: 90px 1fr; gap: 10px; }
  .contacts a, .contacts p { font-size: 18px; }
}
