:root {
  --bg: #f7f1ea;
  --paper: #fffaf5;
  --ink: #251914;
  --muted: #7d6a60;
  --line: rgba(37, 25, 20, 0.12);
  --accent: #9b6b4f;
  --accent-dark: #352017;
  --rose: #ead8ca;
  --shadow: 0 24px 80px rgba(65, 38, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.hero {
  min-height: 100svh;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(135deg, #f9efe6 0%, #ead4c5 48%, #d8b89f 100%);
}

.nav {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 250, 245, 0.78);
  box-shadow: 0 18px 60px rgba(73, 42, 25, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.nav__links,
.hero__actions,
.hero__facts,
.contact-actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.nav__links {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav__links a,
.nav__cta,
.button,
.text-link {
  text-decoration: none;
}

.nav__cta,
.button {
  border-radius: 999px;
  font-weight: 800;
}

.nav__cta {
  padding: 13px 19px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 40px;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100svh - 104px);
  margin: 0 auto;
  padding: 64px 0 24px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 500;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.lead {
  max-width: 620px;
  color: #5d493f;
  font-size: clamp(18px, 2.1vw, 24px);
}

.hero__actions,
.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--line);
}

.button--dark {
  background: var(--ink);
  color: #fff;
}

.button--light {
  background: rgba(255, 255, 255, 0.6);
}

.hero__facts {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__facts span {
  padding: 9px 12px;
  border: 1px solid rgba(37, 25, 20, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  color: #6b554a;
  font-size: 13px;
}

.hero__visual {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-height: 560px;
}

.hero__photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 12px solid rgba(255, 250, 245, 0.68);
  border-radius: 34px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero__photo--main {
  grid-row: span 2;
  border-radius: 42px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px;
}

.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: end;
}

.intro > p,
.service-grid p,
.review-grid p,
.contact-note p,
dd {
  color: var(--muted);
}

.intro > p {
  margin-bottom: 0;
  font-size: 20px;
}

.section__head {
  max-width: 820px;
  margin-bottom: 38px;
}

.section__head--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article,
.review-grid article,
.contact-card,
.contact-note {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(83, 53, 35, 0.08);
}

.service-grid article {
  min-height: 260px;
  padding: 28px;
  border-radius: 30px;
}

.service-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.service-card--accent {
  background: var(--accent-dark) !important;
  color: #fff;
}

.service-card--accent p,
.service-card--accent span {
  color: rgba(255, 255, 255, 0.72);
}

.gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: 310px;
  gap: 16px;
}

figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 32px;
  background: #ddd;
}

.gallery__large {
  grid-row: span 2;
}

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

figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 250, 245, 0.78);
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.text-link {
  color: var(--accent);
  font-weight: 900;
}

.quote {
  margin: 24px auto;
  padding: 88px 24px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.quote p {
  max-width: 920px;
  margin: 0 auto 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.quote span {
  color: rgba(255, 255, 255, 0.68);
}

.review-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.review-grid img,
.review-grid article {
  min-height: 430px;
  border-radius: 30px;
}

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

.review-grid article {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 32px;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.contact-card,
.contact-note {
  border-radius: 34px;
  padding: 36px;
}

dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0 0;
}

dt {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-size: 18px;
}

.contact-note {
  align-self: stretch;
  background: var(--rose);
}

.contact-note img {
  width: 92px;
  height: 92px;
  margin-bottom: 90px;
  border-radius: 50%;
}

.footer {
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px 46px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .nav__links {
    display: none;
  }

  .hero__grid,
  .intro,
  .contacts {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 420px;
  }

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

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

@media (max-width: 640px) {
  .hero {
    padding: 12px;
  }

  .nav {
    top: 8px;
    padding: 10px;
  }

  .brand span {
    display: none;
  }

  .nav__cta {
    padding: 12px 15px;
  }

  .hero__grid {
    gap: 26px;
    padding-top: 42px;
  }

  .hero__visual {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .hero__photo {
    height: 360px;
  }

  .hero__photo--main {
    grid-row: auto;
  }

  h1 {
    font-size: 48px;
  }

  .section {
    padding: 68px 16px;
  }

  .service-grid,
  .gallery,
  .review-grid,
  dl {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-auto-rows: 390px;
  }

  .gallery__large {
    grid-row: span 1;
  }

  .section__head--row {
    align-items: start;
    flex-direction: column;
  }

  .contact-card,
  .contact-note {
    padding: 26px;
  }

  .contact-note img {
    margin-bottom: 42px;
  }

  .button {
    width: 100%;
  }
}
