:root {
  --bg: #faf7f3;
  --surface: #ffffff;
  --ink: #1c1917;
  --ink-muted: #57534e;
  --accent: #8b5a3c;
  --accent-hover: #6d452e;
  --border: #e7e2da;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --radius: 12px;
  --shadow: 0 20px 50px rgba(28, 25, 23, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  width: min(1120px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--ink);
}

.logo__img {
  border-radius: 10px;
  object-fit: cover;
}

.logo__text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--header {
  background: var(--ink);
  color: var(--bg);
}

.btn--header:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

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

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 25, 23, 0.85) 0%,
    rgba(28, 25, 23, 0.35) 45%,
    rgba(28, 25, 23, 0.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, 92vw);
  margin-inline: auto;
  padding: 3rem 0 4rem;
  color: #faf7f3;
}

.hero__badge {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  margin: 0 0 0.75rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero__title em {
  font-style: italic;
  font-weight: 700;
}

.hero__lead {
  max-width: 36rem;
  font-size: 1.1rem;
  opacity: 0.95;
  margin: 0 0 1.25rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  opacity: 0.9;
}

.rating {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__actions .btn--primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.hero__actions .btn--primary:hover {
  background: var(--bg);
  border-color: var(--bg);
}

.hero__actions .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero__actions .btn--ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 600;
  margin: 0 0 1rem;
}

.section__subtitle {
  color: var(--ink-muted);
  margin: 0 0 2rem;
  max-width: 40rem;
}

.about__text {
  max-width: 42rem;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.about__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.about__highlights li {
  background: var(--surface);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-weight: 500;
}

.services {
  background: linear-gradient(180deg, #f3eee8 0%, var(--bg) 100%);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.card__desc {
  color: var(--ink-muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.card__link {
  font-weight: 600;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, 260px);
  gap: 1rem;
}

.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__item--feature {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 0;
}

.gallery__more {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}

.works {
  background: linear-gradient(180deg, #ebe6df 0%, var(--bg) 42%, var(--bg) 100%);
}

.contacts {
  padding-bottom: 5rem;
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contacts__address {
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1.5;
  margin: 0 0 0.75rem;
}

.contacts__address a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.contacts__address a:hover {
  color: var(--accent);
}

.contacts__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contacts__list li {
  margin-bottom: 0.5rem;
}

.contacts__list a {
  font-weight: 600;
}

.contacts__hours {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0;
}

.contacts__map iframe {
  display: block;
  width: 100%;
  min-height: 400px;
  box-shadow: var(--shadow);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--surface);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* Mobile */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 56px 0 auto;
    flex-direction: column;
    padding: 1rem 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .btn--header {
    display: none;
  }

  .burger {
    display: flex;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(160px, 200px);
  }

  .gallery__item--feature {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 220px;
  }

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

  .hero__content {
    padding-bottom: 3rem;
  }
}
