/* ==========  Beyond Beauty Concierge  —  pixel-perfect к макету ========== */
/* 1)   Тёплый крем-розовый фон, как на скриншоте                                     */
/* 2)   Глубокий зелено-сине-серый для типографики и иконок                           */
/* 3)   Шрифты:  Playfair Display (заголовок)  +  Inter (остальное)                   */
/* 4)   Кнопки-карточки со светлой поверхностью и лёгкой тенью                        */
/* 5)   Круглый логотип-монограмма “BB”                                               */


@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap");

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

:root {
  /* brand-palette */
  --brand-dark: #143742;          /* глубокий нефритовый (текст, иконки)   */
  --brand-bg:   #faf1ec;          /* тёплый крем-розовый фон               */
  --surface:    #ffffff;          /* плитки-кнопки                         */

  /* geometry & effects */
  --radius: 18px;
  --shadow-s: 0 2px 6px rgba(0, 0, 0, .06);
  --shadow-h: 0 4px 12px rgba(0, 0, 0, .10);
}

*, *::before, *::after { box-sizing: border-box; }

/* ---------- Базовое полотно ---------- */
body {
  margin: 0;
  padding: clamp(20px, 5vh, 40px) clamp(16px, 4vw, 16px);
  background: var(--brand-bg);
  color: var(--brand-dark);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Логотип ---------- */
.brand-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 28px;
  border: 3px solid var(--brand-dark);
  border-radius: 10%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Playfair Display", serif;
  font-size: 2.75rem;
  font-weight: 70;
  line-height: 1;
}

/* ---------- Заголовок и подзаголовок ---------- */

h1, .page-tagline {
  margin: 0 0 10px;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2.1rem;
  line-height: 1.25;
  font-weight: 600;
}

.page-tagline {
  font-size: 1rem;   /* меньше размер шрифта, как было раньше */
}


/* ---------- Навигационные плитки ---------- */
/* ---------- Навигационные плитки ---------- */
.nav-buttons, .page-buttons {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nav-buttons button, .page-buttons button, .primary-btn, .save-btn {
  all: unset;                           /* снимаем user-agent стили */
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 22px;

  display: flex;
  align-items: center;
  gap: 16px;

  color: var(--brand-dark);
  font-size: 1.02rem;
  font-weight: 500;
  cursor: pointer;

  box-shadow: var(--shadow-s);
  transition: box-shadow .18s ease, transform .1s ease;
}

.nav-buttons button:hover, .page-buttons button:hover, .primary-btn:hover, .save-btn:hover   { box-shadow: var(--shadow-h); }
.nav-buttons button:active, .page-buttons button:active, .primary-btn:active, .save-btn:active  { transform: scale(.985); }

/* ---------- Иконки (SVG / IMG) ---------- */
.nav-buttons svg,
.nav-buttons img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}


/* ---------- Респонсив ---------- */
@media (min-width: 768px) {
  .nav-buttons, .page-buttons { gap: 22px; }
}

/* ---------- FINAL LAYOUT FIXES ---------- */
.nav-buttons,
.page-buttons {
  align-items: center;        /* центрируем дочерние кнопки */
}

.nav-buttons button,
.page-buttons button,
.nav-btn,
.primary-btn,
.save-btn {
  width: 100%;
  max-width: 320px;           /* компактнее по ширине */
  margin: 0.3rem auto;        /* чтобы точно по центру */
}

/* Центрирование логотипа */
.logo {
  text-align: center;
  width: 100%;
  margin-bottom: 1rem;
}

/* Центрирование логотипа */
.logo {
  text-align: center;
  width: 100%;
  margin-bottom: 1rem;
}

/* Added rule for .logo img with smaller max-width */
.logo img {
  max-width: 80px;
  height: auto;
  display: inline-block;
}
