/* MSNAB — elevated paper catalog */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Narrow:wght@500;600;700&family=Archivo:ital,wght@0,400;0,500;0,600;0,650;1,400&display=swap');

:root {
  --paper: #EFE7D6;
  --paper-2: #F6F0E4;
  --paper-3: #E6DCC8;
  --ink: #111111;
  --ink-soft: #2A2622;
  --muted: #6B6358;
  --line: #CDBC9A;
  --line-soft: #D9CDB4;
  --wax: #8C1C13;
  --wax-soft: #A5281E;
  --btn: #1A1714;
  --shadow-sm: 0 1px 2px rgba(40, 28, 12, 0.06), 0 4px 12px rgba(40, 28, 12, 0.04);
  --shadow-md: 0 2px 4px rgba(40, 28, 12, 0.05), 0 12px 28px rgba(40, 28, 12, 0.08);
  --shadow-lg: 0 8px 24px rgba(40, 28, 12, 0.1), 0 24px 48px rgba(40, 28, 12, 0.08);
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Archivo Narrow", "Arial Narrow", sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255,255,255,0.55), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(140, 28, 19, 0.04), transparent 50%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* —— Header —— */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(239, 231, 214, 0.88);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset;
}
.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s var(--ease);
}
.brand:hover { opacity: 0.85; }
.brand__logo {
  width: 28px; height: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.06));
}
.brand__word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.header-messengers {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-messengers a {
  width: 32px; height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  background: #fff;
}
.header-messengers a:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: var(--shadow-md);
}
.header-messengers img {
  width: 32px; height: 32px;
  object-fit: cover;
}
.header-phone-mobile {
  display: none;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 6px 20px 0;
  letter-spacing: 0.02em;
}
@media (max-width: 389.98px) {
  .header-phone-mobile { display: block; }
}

/* —— Layout —— */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}
.layout-with-toc {
  display: grid;
  gap: 28px;
}
@media (min-width: 1024px) {
  .layout-with-toc {
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
  }
}

/* —— TOC sticky —— */
.toc {
  display: none;
}
@media (min-width: 1024px) {
  .toc {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: sticky;
    top: calc(var(--header-h) + 20px);
    max-height: calc(100vh - var(--header-h) - 40px);
    overflow: auto;
    padding: 8px 0;
    font-size: 13px;
    line-height: 1.35;
  }
  .toc a {
    padding: 7px 10px;
    border-radius: 3px;
    color: var(--muted);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
  }
  .toc a:hover,
  .toc a.is-active {
    color: var(--ink);
    background: rgba(140, 28, 19, 0.06);
  }
  .toc a.is-active {
    box-shadow: inset 2px 0 0 var(--wax);
  }
}

/* —— Chips —— */
.chips {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .chips { display: flex; }
}
.chips a {
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-soft);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.chips a:hover {
  border-color: #B8A57E;
  background: #fff;
  transform: translateY(-1px);
}
.chips a.is-active {
  border-color: transparent;
  box-shadow: inset 0 -2px 0 var(--wax);
  background: #fff;
  color: var(--ink);
}

/* —— Hero —— */
.hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
  background: var(--ink);
  min-height: 280px;
}
.hero__media {
  position: absolute; inset: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.92) contrast(1.05);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(17,17,17,0.82) 0%, rgba(17,17,17,0.45) 48%, rgba(17,17,17,0.2) 100%),
    linear-gradient(0deg, rgba(17,17,17,0.55), transparent 55%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 36px 24px 40px;
  color: #F7F1E6;
  max-width: 560px;
}
@media (min-width: 768px) {
  .hero { min-height: 360px; }
  .hero__content { padding: 52px 40px 56px; }
}
.hero h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.hero__sub {
  margin: 0 0 16px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,241,230,0.72);
  font-weight: 500;
}
.hero p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(247,241,230,0.9);
  max-width: 42ch;
}
.hero p:last-child { margin-bottom: 0; }

/* —— Catalog cards —— */
.catalog-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 640px) {
  .catalog-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (min-width: 1024px) {
  .catalog-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
.catalog-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s, background 0.28s;
  min-height: 96px;
}
.catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #C4B08A;
  background: rgba(255,255,255,0.72);
}
.catalog-card__media {
  width: 96px; height: 72px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--paper-3);
  flex-shrink: 0;
}
.catalog-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.catalog-card:hover .catalog-card__media img {
  transform: scale(1.06);
}
.catalog-card__body { min-width: 0; }
.catalog-card__num {
  display: block;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 2px;
}
.catalog-card__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 4px;
}
.catalog-card__sub {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalog-card__open {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wax);
  white-space: nowrap;
  padding-right: 4px;
  transition: transform 0.25s var(--ease);
}
.catalog-card:hover .catalog-card__open {
  transform: translateX(3px);
}
@media (max-width: 479.98px) {
  .catalog-card {
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
  }
  .catalog-card__media { width: 72px; height: 56px; }
  .catalog-card__open {
    grid-column: 2;
    justify-self: start;
    margin-top: -4px;
  }
}

/* —— Inner pages —— */
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 16px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--wax); }
.page-kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.page-title {
  margin: 4px 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  aspect-ratio: 16 / 7;
  background: var(--paper-3);
}
.section-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.section-block {
  margin-bottom: 24px;
  padding: 20px 0 4px;
  border-top: 1px solid var(--line);
}
.section-block h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.015em;
}
.section-block p { margin: 0 0 10px; color: var(--ink-soft); }
.section-block ul {
  margin: 0;
  padding: 0 0 0 1.15em;
  color: var(--ink-soft);
}
.section-block li { margin-bottom: 6px; }
.price-list {
  list-style: none;
  padding: 0 !important;
  margin: 12px 0 !important;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,0.4);
}
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  margin: 0 !important;
}
.price-list li:last-child { border-bottom: 0; }
.price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.note {
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0 0;
}

/* —— Contact buttons —— */
.contact-btns {
  display: grid;
  gap: 8px;
  margin: 28px 0 24px;
}
@media (min-width: 768px) {
  .contact-btns { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
.btn-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 16px 0 8px;
  background: var(--btn);
  color: #fff !important;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), filter 0.22s, box-shadow 0.22s;
}
.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.06);
  color: #fff !important;
}
.btn-contact--max {
  background: linear-gradient(135deg, #4E6BFF 0%, #7C4DFF 100%);
}
.btn-contact--wa {
  background: #128C7E;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}
.btn-contact--tg {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
}
.btn-contact__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
  overflow: hidden;
}
.btn-contact__icon {
  background: rgba(255,255,255,0.16);
}
.btn-contact__icon img {
  width: 28px; height: 28px;
  object-fit: contain;
}
.btn-contact__icon--max img {
  width: 40px; height: 40px;
  object-fit: cover;
}
.btn-contact__text {
  font-size: 16px;
  font-weight: 500;
}

/* —— Forms —— */
.form-block {
  margin: 32px 0 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.42);
  box-shadow: var(--shadow-sm);
}
.form-block h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.msnab-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.form-field { display: grid; gap: 6px; }
.form-field span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.form-field span em { font-style: normal; color: var(--muted); font-weight: 400; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #FFFcf6;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #B89A6E;
  box-shadow: 0 0 0 3px rgba(140, 28, 19, 0.1);
}
.btn-submit {
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 2px;
  background: var(--btn);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover {
  background: #2A2520;
  transform: translateY(-1px);
}
.btn-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.form-status {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
}
.form-status--pending { color: var(--muted); }
.form-status--ok { color: #2f6b3a; font-weight: 500; }
.form-status--err { color: #8C1C13; font-weight: 500; }


/* —— Contacts / prose —— */
.contacts-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 16px;
  margin: 0 0 20px;
}
.contacts-block dt {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.contacts-block dd { margin: 0; }
.email-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--wax);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.email-link:hover { color: var(--wax); }
.prose h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 5vw, 36px);
  margin: 0 0 16px;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin: 28px 0 10px;
  letter-spacing: -0.015em;
}
.prose p { margin: 0 0 12px; color: var(--ink-soft); }

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(230, 220, 200, 0.35);
  margin-top: 24px;
}
.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 36px;
  display: grid;
  gap: 14px;
}
.footer-home {
  font-size: 13px;
  color: #666;
}
.footer-home:hover { color: var(--wax); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
}
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }
.footer-phone {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* —— Hero CTA —— */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #F7F1E6;
  color: #111 !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.btn-hero:hover { background: #fff; color: #111 !important; }
.btn-hero--ghost {
  background: transparent;
  color: #F7F1E6 !important;
  box-shadow: inset 0 0 0 1px rgba(247,241,230,0.45);
}
.btn-hero--ghost:hover { background: rgba(247,241,230,0.12); color: #fff !important; }

/* —— Hook cards —— */
.hook-grid {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}
@media (min-width: 768px) {
  .hook-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
.hook {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 18px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 132px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.hook:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.hook__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wax);
}
.hook__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.hook__sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.hook--glamp {
  background: linear-gradient(180deg, #FFF8EC 0%, #F3E4C4 100%);
  border-color: #D4B56A;
}

.pull-card {
  padding: 18px 18px 8px !important;
  background: linear-gradient(180deg, #FFF8EC 0%, rgba(255,248,236,0.2) 100%);
  border: 1px solid #D4B56A;
  border-radius: 10px;
  border-top: 1px solid #D4B56A !important;
}

.header-messengers a {
  box-shadow: 0 2px 8px rgba(40,28,12,0.12);
}

.section-hero-img--in { aspect-ratio: 16 / 8; margin: 10px 0 14px; box-shadow: none; }
