@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #171b18;
  --muted: #6b7069;
  --paper: #f8f6f1;
  --beige: #e9e2d5;
  --beige-dark: #d5c9b6;
  --accent: #a26b43;
  --accent-dark: #805236;
  --line: #ddd8ce;
  --white: #fffdfa;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 246, 241, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 27, 24, .08);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
}
.logo-custom {
  display: block;
  width: auto;
  height: 48px;
  max-width: 285px;
  object-fit: contain;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 13px;
}

.phone { font-weight: 700; }
.address { color: var(--muted); }

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
}

.header-button {
  border: 1px solid var(--ink);
}

.header-button:hover { background: var(--ink); color: var(--paper); }

.hero {
  padding: 82px 0 94px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  letter-spacing: -.055em;
  line-height: 1.05;
}

h1 {
  max-width: 700px;
  font-size: clamp(48px, 6vw, 80px);
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-text {
  max-width: 570px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

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

.button-dark:hover { transform: translateY(-2px); background: var(--accent); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 50px;
  color: var(--muted);
  /*font-size: 11px;*/
font-size: 14px;
}

/*.trust-row span:first-child { color: var(--ink);*/ }

.hero-art {
  position: relative;
}

.hero-art svg {
  display: block;
  width: 100%;
  max-height: 630px;
  filter: drop-shadow(0 25px 35px rgba(25, 25, 20, .08));
}

.section { padding: 96px 0; }

.catalog { background: var(--white); }

.section-heading {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading h2,
.about-copy h2,
.cta h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 4px auto;
  color: var(--muted);
  font-size: 15px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.card {
  min-height: 280px;
  padding: 30px 30px 35px 0;
  border-right: 1px solid var(--line);
}

.card + .card { padding-left: 30px; }
.card:last-child { border-right: 0; }

.card-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.card h3 {
  max-width: 270px;
  margin-top: 65px;
  font-size: 25px;
}

.card p {
  max-width: 300px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.about { background: var(--paper); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-quote {
  min-height: 430px;
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--beige);
  border-radius: 24px;
}

.quote-mark {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: .6;
}

.about-quote p {
  max-width: 480px;
  margin: 28px 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.15;
}

.quote-line {
  width: 38px;
  height: 2px;
  margin-bottom: 12px;
  background: var(--accent);
}

.about-quote strong { font-size: 12px; }

.about-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 25px 0 28px;
  color: var(--muted);
  font-size: 16px;
}

.cta {
  padding: 74px 0;
  color: var(--white);
  background: var(--ink);
}

.cta .eyebrow { color: #c89570; }

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
}

.cta h2 { max-width: 720px; }

.cta-contact {
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #aaa99f;
}

.cta-contact a {
  color: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.site-footer {
  color: #92928b;
  background: var(--ink);
  border-top: 1px solid #30332f;
}

.footer-inner {
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

@media (max-width: 850px) {
  .header-inner { min-height: 70px; }
  /*.header-contacts { display: none; }*/
  .phone { display: none; }
  .header-button { margin-left: auto; }

  .hero { padding: 58px 0 70px; }
  .hero-grid,
  .about-grid { grid-template-columns: 1fr; gap: 46px; }

  .hero-art { max-width: 620px; margin-inline: auto; }
  .section { padding: 72px 0; }

  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading > p { margin: 0; }

  .cards { grid-template-columns: 1fr; }
  .card, .card + .card {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .card h3 { margin-top: 35px; }
  .card:last-child { border-bottom: 0; }

  .about-quote { min-height: 360px; padding: 38px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }

  .logo { font-size: 17px; }
  .header-button { min-height: 40px; padding: 0 15px; }

  h1 { font-size: 46px; }
  .hero-text { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .trust-row { margin-top: 35px; }

  .hero-art svg { min-height: 420px; }

  .about-quote { padding: 30px; border-radius: 18px; }
  .about-quote p { font-size: 28px; }

  .cta { padding: 58px 0; }
  .cta-contact a { font-size: 19px; }

  .footer-inner {
    min-height: 78px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
  }
  .logo-custom {
    height: 40px;
    max-width: 240px;
  }
}


/* === Дополнительные элементы === */
.messenger-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.messenger {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  transition: .2s ease;
}

.messenger svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.messenger:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.catalog-notes {
  max-width: 390px;
  margin: 0 0 4px auto;
}

.catalog-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-notes p + p {
  margin-top: 8px;
}

.hero-art img {
  display: block;
  width: 100%;
  aspect-ratio: 620 / 700;
  object-fit: cover;
  border-radius: 28px;
  background: var(--beige);
  filter: drop-shadow(0 25px 35px rgba(25, 25, 20, .08));
}

.gallery {
  padding-top: 0;
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: var(--beige);
}

.about-notes {
  max-width: 500px;
  margin: 25px 0 28px;
}

.about-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.about-notes p + p {
  margin-top: 14px;
}

@media (max-width: 850px) {
  .header-contacts {
    gap: 10px;
  }

  .header-contacts .address {
    display: none;
  }

  .messenger-links {
    gap: 6px;
  }

  .messenger {
    width: 32px;
    height: 32px;
  }

  .header-button {
    display: none;
  }

  .hero-art {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .catalog-notes {
    margin: 0;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }

  .gallery-grid img {
    border-radius: 10px;
  }
}
