/* Мурчащий уголок — один файл стилей, без зависимостей */

:root {
  --bg: #fdf8f2;
  --bg-soft: #f7ece0;
  --card: #fffdfa;
  --ink: #2b2320;
  --muted: #6f6157;
  --accent: #d95f35;
  --accent-soft: #f6c9a8;
  --gold: #e8b23f;
  --line: #ecdfd2;
  --radius: 22px;
  --shadow: 0 18px 40px -24px rgba(74, 48, 32, .45);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1100px 500px at 85% -10%, #fde8d2 0%, transparent 60%),
    radial-gradient(900px 460px at -10% 20%, #f6f1e6 0%, transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.06rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 22px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px; top: 12px; z-index: 99;
  background: var(--card); padding: 8px 14px; border-radius: 10px;
}

/* ---------- шапка ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(253, 248, 242, .82);
  border-bottom: 1px solid rgba(236, 223, 210, .9);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.06rem;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--accent), #f0894f);
  box-shadow: 0 6px 14px -8px rgba(217, 95, 53, .9);
  font-size: 17px;
}
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 550;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .18s, color .18s;
}
.nav a:hover { background: var(--bg-soft); color: var(--ink); }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items: center;
  padding-block: clamp(40px, 7vw, 84px) clamp(36px, 5vw, 64px);
}
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  background: rgba(217, 95, 53, .09);
  border: 1px solid rgba(217, 95, 53, .18);
  padding: 6px 12px;
  border-radius: 999px;
}
.lead { font-size: 1.09rem; color: var(--muted); max-width: 46ch; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 0; }
.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 650;
  text-decoration: none;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: transform .16s, box-shadow .16s, background .16s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 26px -16px rgba(217, 95, 53, .95);
}
.btn--ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: #fff; }

.purr {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0 0;
}
.purr__btn {
  font: inherit;
  font-size: .92rem;
  font-weight: 650;
  cursor: pointer;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px dashed var(--accent-soft);
  background: transparent;
  color: var(--accent);
  transition: background .16s, transform .16s;
}
.purr__btn:hover { background: rgba(217, 95, 53, .07); }
.purr__btn.is-purring { animation: purr .45s ease; }
.purr__count { font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; }

@keyframes purr {
  0% { transform: rotate(0) scale(1); }
  25% { transform: rotate(-3deg) scale(1.05); }
  60% { transform: rotate(3deg) scale(1.05); }
  100% { transform: rotate(0) scale(1); }
}

.hero__media { margin: 0; }
.hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
  background: var(--bg-soft);
}
.hero__media figcaption {
  margin-top: 12px;
  font-size: .86rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- секции ---------- */

section + section { padding-block: clamp(28px, 4vw, 48px); }

.section-head { margin-bottom: 26px; max-width: 62ch; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- факты ---------- */

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: 0 10px 26px -22px rgba(74, 48, 32, .5);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-soft);
  box-shadow: 0 20px 34px -24px rgba(74, 48, 32, .55);
}
.card__num {
  display: block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 8px;
}
.card p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- галерея ---------- */

.gallery__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.shot {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.shot:hover img { transform: scale(1.035); }
.shot figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 42px 18px 16px;
  font-size: .9rem;
  color: #fff;
  background: linear-gradient(to top, rgba(28, 20, 16, .82), rgba(28, 20, 16, 0));
}
.shot figcaption strong { font-weight: 700; }
.shot--wide { grid-column: 1; grid-row: 1; }
.shot--wide img { aspect-ratio: 9 / 7; }
.shot--tall { grid-column: 2; grid-row: 1 / span 2; }
.shot--tall img { aspect-ratio: 900 / 1100; }
.gallery__grid .shot:nth-child(3) { grid-column: 1; grid-row: 2; }
.gallery__grid .shot:nth-child(3) img { aspect-ratio: 9 / 7; }

/* ---------- уход ---------- */

.care__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.care__grid article {
  background: linear-gradient(180deg, #fffdfa, #fdf6ee);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 16px;
}
.care__grid h3 { margin-bottom: .45em; }
.care__grid p { margin: 0; font-size: .94rem; color: var(--muted); }

/* ---------- подвал ---------- */

.footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(247, 236, 224, .55);
}
.footer__inner {
  padding-block: 26px;
  font-size: .9rem;
  color: var(--muted);
}
.footer__inner p { margin: 0 0 4px; }
.footer__tiny { font-size: .82rem; opacity: .8; }

/* ---------- адаптив ---------- */

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 34px; }
  .hero__media { order: -1; }
  .gallery__grid { grid-template-columns: 1fr; }
  .shot--wide, .shot--tall, .gallery__grid .shot:nth-child(3) {
    grid-column: 1; grid-row: auto;
  }
  .shot--tall img { aspect-ratio: 9 / 8; }
  .nav a { padding: 8px 10px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .topbar__inner { min-height: 60px; gap: 10px; }
  .brand span:last-child { display: none; }
  .btn { width: 100%; text-align: center; }
  .actions { gap: 10px; }
  .card, .care__grid article { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
