/* Native CSS brand poster. DESIGN_VARIANCE: 6, MOTION_INTENSITY: 4,
   VISUAL_DENSITY: 2. Alternating left/right footprints follow the curve in walking order. */
@font-face {
  font-family: "Golos Text";
  src: url("/assets/fonts/golostext/GolosText[wght].ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/sourcesans3/SourceSans3[wght].ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
/* Текущая палитра сайта; песочные цвета внутри логотипа сохранены. */
:root {
  color-scheme: light;
  --sand: #f7f3ec;   /* фон сайта Sand 75 */
  --sand-300: #dbcfb4;
  --forest: #4f5c1e;   /* цвет знака: ландшафт, значки */
  --brand: #3e4917;    /* фирменный Olive 800: название, фокус, выделение */
  --ink: #1d2013;     /* Ink: тёплый почти-чёрный */
  --muted: #1d2013;
  --ink-muted: #5c604b; /* Ink muted: вторичный текст, 5,9:1 на фоне */
  --sage: #4f5c1e;
  --cream: #FFFFFF;
  --inset: clamp(32px, 4.5vw, 88px);
}
* { box-sizing: border-box; }
html { min-width: 280px; background: var(--sand); }
body {
  margin: 0;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  isolation: isolate;
  background: var(--sand);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { color: var(--cream); background: var(--brand); }
/* Layer -1 is decorative. Page content is at the normal stacking level. */
.background { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; background: #ffffff; }
.background::before { content: ""; position: absolute; inset: 68% 0 0; background: var(--sand-300); mask: url("/assets/beige-shape.svg") center / 100% 100% no-repeat; -webkit-mask: url("/assets/beige-shape.svg") center / 100% 100% no-repeat; }
.landscape {
  position: absolute;
  inset: 0;
  background: var(--brand);
  mask: url("/assets/green-shape.svg") center / 100% 100% no-repeat;
  -webkit-mask: url("/assets/green-shape.svg") center / 100% 100% no-repeat;
}
.giant-paw {
  position: absolute;
  width: clamp(330px, 39vw, 670px);
  aspect-ratio: 1;
  right: -3vw;
  bottom: 2%;
  background: var(--sand);
  opacity: .43;
  transform: rotate(-20deg);
  mask: url("/assets/icons/paw.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/icons/paw.svg") center / contain no-repeat;
}
.tracks { position: absolute; inset: 0; }
/* Steps advance along the path; two narrow lanes alternate left and right.
   Placement and rotation live on the wrapper so animation cannot move a print. */
.footstep { position: absolute; width: var(--paw-size); height: var(--paw-size); }
.print {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--sage);
  opacity: .18;
  mask: url("/assets/icons/paw.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/icons/paw.svg") center / contain no-repeat;
}
.print.right { scale: -1 1; }
.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(36px, 6vh, 68px) var(--inset) 0;
  width: fit-content;
}
.brand-mark { color: var(--forest); display: flex; }
.brand-mark img { display: block; width: clamp(60px, 5.6vw, 84px); height: clamp(60px, 5.6vw, 84px); object-fit: contain; }
.icon { display: inline-block; flex: 0 0 auto; background: currentColor; }
.icon-paw {
  width: clamp(56px, 5.2vw, 78px);
  height: clamp(56px, 5.2vw, 78px);
  mask: url("/assets/icons/paw.svg") center / contain no-repeat;
  -webkit-mask: url("/assets/icons/paw.svg") center / contain no-repeat;
}
.brand-name { color: var(--brand); font-family: "Golos Text", sans-serif; font-weight: 400; font-size: clamp(28px, 2.8vw, 43px); line-height: 1.18; letter-spacing: -.05em; }
.brand-description { margin: 5px 0 0; font-size: clamp(15px, 1.5vw, 22px); line-height: 1.4; color: var(--muted); }
.opening { align-self: center; padding: 52px var(--inset) 62px; width: fit-content; max-width: 69%; }
.headline { font-family: "Golos Text", sans-serif; font-weight: 700; font-size: clamp(58px, 7.6vw, 118px); line-height: .96; letter-spacing: -.045em; margin: 0 0 22px; }
.headline span { display: block; }
.subheading { color: var(--ink-muted); margin: 0 0 32px; font-size: clamp(20px, 2vw, 29px); line-height: 1.4; }
/* Блок «Следите за новостями»: плашка светлого песочного Sand — светлее волны фона (Sand 300), чтобы не сливаться с ней; кнопки Telegram и VK одного вида — белые с оливковой обводкой и официальными значками */
.news { display: grid; gap: 14px; width: fit-content; max-width: 100%; padding: 20px 22px 22px; border-radius: 28px; background: var(--sand); }
.news-title { margin: 0; font-family: "Golos Text", sans-serif; font-weight: 600; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.news-links { display: flex; flex-wrap: wrap; gap: 12px; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 28px 14px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: inset 0 0 0 1.5px rgba(62, 73, 23, .25);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow .25s ease, transform .25s ease;
}
.social-link img { display: block; flex: 0 0 auto; width: 34px; height: 34px; transition: transform .25s ease; }
.social-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.social-link:active { transform: scale(.98); }
.footer { display: grid; gap: 7px; padding: 0 var(--inset) 32px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-row { display: flex; align-items: flex-start; gap: 9px; }
.footer-icon { display: block; flex: 0 0 auto; color: var(--forest); margin-top: 2px; }
/* Кнопки карт над адресом — уменьшенные кнопки Telegram и VK: белые с оливковой обводкой и официальными значками */
.map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: inset 0 0 0 1.5px rgba(62, 73, 23, .25);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow .25s ease, transform .25s ease;
}
.map-link img { display: block; flex: 0 0 auto; width: 18px; height: 18px; transition: transform .25s ease; }
.map-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.map-link:active { transform: scale(.98); }
@media (hover: hover) {
  .social-link:hover, .map-link:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--brand); }
  .social-link:hover img, .map-link:hover img { transform: scale(1.06); }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal .8s cubic-bezier(.22, 1, .36, 1) backwards; }
  .headline { animation-delay: .12s; }
  .news { animation-delay: .24s; }
  .print { animation: footprint .55s ease-out backwards; animation-delay: calc(.4s + var(--step) * .19s); }
  .landscape { animation: landscape 1s cubic-bezier(.22, 1, .36, 1) backwards; }
  @keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes footprint { from { opacity: 0; transform: scale(.82); } }
  @keyframes landscape { from { opacity: 0; transform: translateX(26px); } }
}
@media (prefers-reduced-motion: reduce) { .social-link, .social-link img, .map-link, .map-link img { transition: none; } }
@media (max-width: 1023px) and (min-width: 768px) {
  .brand { gap: 14px; }
  .opening { padding-top: 40px; padding-bottom: 48px; max-width: 73%; }
  .social-link { min-height: 58px; padding: 12px 22px 12px 14px; gap: 10px; }
  .social-link img { width: 30px; height: 30px; }
}
@media (max-width: 767px) {
  :root { --inset: 26px; }
  body { grid-template-rows: auto auto 1fr; }
  .brand { padding-top: 34px; gap: 12px; }
  .brand-name { font-size: clamp(24px, 5.6vw, 35px); letter-spacing: -.055em; }
  .brand-description { font-size: 14px; }
  .icon-paw { width: 48px; height: 48px; }
  .brand-mark img { width: 60px; height: 60px; }
  .opening { width: 100%; max-width: none; align-self: start; padding-top: clamp(60px, 12vh, 110px); padding-bottom: 32px; }
  .headline { font-size: clamp(36px, 8.8vw, 67px); margin-bottom: 30px; line-height: 1; letter-spacing: -.04em; }
  .subheading { font-size: 20px; margin-bottom: 26px; }
  .news { width: 100%; padding: 16px 16px 18px; gap: 12px; border-radius: 24px; }
  .news-title { font-size: 17px; }
  .news-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .social-link { font-size: 15px; min-height: 54px; gap: 10px; padding: 10px 14px; }
  .social-link img { width: 28px; height: 28px; }
  .landscape { inset: auto -3% -55px auto; width: 103%; height: clamp(280px, 44vh, 390px); mask-image: url("/assets/green-shape-mobile.svg"); -webkit-mask-image: url("/assets/green-shape-mobile.svg"); }
  .giant-paw { width: 270px; right: -5%; bottom: 3%; opacity: .34; }
  .print { opacity: .15; }
  .footer { align-self: start; padding-bottom: 24px; font-size: 12px; gap: 6px; }
  .footer-icon { width: 16px; height: 16px; }
  .map-links { gap: 6px; margin-bottom: 4px; }
  .map-link { min-height: 36px; gap: 6px; padding: 6px 10px 6px 8px; font-size: 13px; }
  .map-link img { width: 16px; height: 16px; }
}
@media (max-width: 359px) {
  :root { --inset: 20px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 22px; }
  .brand-description { font-size: 12px; }
  .icon-paw { width: 42px; height: 42px; }
  .brand-mark img { width: 48px; height: 48px; }
  .headline { font-size: clamp(29px, 8.7vw, 32px); }
  .opening { padding-bottom: 28px; }
  .news-links { grid-template-columns: 1fr; }
}
@media (max-height: 700px) and (min-width: 768px) {
  .brand { padding-top: 26px; }
  .headline { font-size: clamp(58px, 7.6vw, 100px); margin-bottom: 26px; }
  .opening { padding-top: 30px; padding-bottom: 30px; }
  .footer { padding-bottom: 20px; }
}
/* Невысокие смартфоны: текст выше, волна и зелёная форма ниже — кнопки карт и адрес остаются на белом */
@media (max-height: 760px) and (max-width: 767px) {
  .opening { padding-top: 40px; padding-bottom: 28px; }
  .background::before { inset: 76% 0 0; }
  .landscape { height: 290px; bottom: -100px; }
}
@media (max-width: 374px) {
  .map-link { font-size: 12px; padding: 6px 9px 6px 7px; }
}
@media (max-height: 660px) and (max-width: 767px) {
  .opening { padding-top: 30px; }
  .background::before { inset: 80% 0 0; }
  .landscape { height: 270px; bottom: -100px; }
  .giant-paw { width: 210px; }
}
@media (max-height: 660px) and (max-width: 359px) {
  .background::before { inset: 86% 0 0; }
  .landscape { bottom: -150px; }
}
