/* Onest, self-hosted (OFL) */
/* cyrillic-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/onest-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/onest-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/onest-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/onest-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* АллоСказка — общие стили. Mobile-first. */
:root {
  --pink: #f7c6d8;
  --pink-soft: #fdeef4;
  --pink-deep: #e891b0;
  --turquoise: #7ec8c4;
  --turquoise-soft: #e8f7f6;
  --turquoise-deep: #4aa9a4;
  --blue: #a8d4f0;
  --blue-soft: #eef6fc;
  --blue-deep: #5ba3d0;
  --yellow: #f5e6a3;
  --yellow-soft: #fdf8e4;
  --yellow-deep: #d4bc4a;
  --purple-logo: #8b6bb5; /* лёгкий акцент под логотип */
  --white: #ffffff;
  --bg: #fafbfd;
  --text: #2c3340;
  --text-muted: #5a6472;
  --border: #e4e9f0;
  --shadow: 0 8px 24px rgba(44, 51, 64, 0.08);
  --shadow-sm: 0 2px 10px rgba(44, 51, 64, 0.06);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --max: 1120px;
  --focus: 0 0 0 3px rgba(126, 200, 196, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--turquoise-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple-logo); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  padding: 0;
}
.nav-toggle-bars {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
  border-radius: 2px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem 1.25rem;
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.site-nav a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--turquoise-soft);
  color: var(--turquoise-deep);
}
.header-phone {
  display: none;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  font-size: 0.95rem;
}
.header-phone:hover { color: var(--turquoise-deep); }

/* Горизонтальное меню только когда все пункты влезают в одну строку.
   До ~1100px — та же кнопка, что на телефоне. Пункты не убираем. */
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .header-inner { gap: 0.5rem; }
  .site-nav {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    flex: 1;
    min-width: 0;
  }
  .site-nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.05rem;
  }
  .site-nav a {
    padding: 0.35rem 0.38rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .header-phone {
    display: inline-block;
    font-size: 0.86rem;
  }
  .logo-text { font-size: 1.02rem; }
  .logo-img { width: 42px; height: 42px; }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  line-height: 1.3;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--turquoise), var(--blue-deep));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { color: var(--white); }
.btn-secondary {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--turquoise); color: var(--turquoise-deep); }
.btn-soft {
  background: var(--pink-soft);
  color: var(--text);
}
.btn-soft:hover { background: var(--pink); color: var(--text); }
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}
.btn-block { width: 100%; }

/* —— Hero —— */
.hero {
  position: relative;
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, var(--pink-soft), transparent 60%),
    radial-gradient(ellipse 60% 45% at 5% 80%, var(--turquoise-soft), transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 100%, var(--yellow-soft), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text);
}
.hero-sub {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 36rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--white);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}
.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue-soft);
  aspect-ratio: 4/3;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .hero { padding: 3.5rem 0 4rem; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; }
}

/* —— Sections —— */
.section { padding: 3rem 0; }
.section-alt { background: var(--white); }
.section-head {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}
.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 0;
  color: var(--text-muted);
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--turquoise-deep);
  margin-bottom: 0.35rem;
}

/* —— Cards —— */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .cards-2, .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .card:hover { transform: none; }
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.card-icon.pink { background: var(--pink-soft); }
.card-icon.turquoise { background: var(--turquoise-soft); }
.card-icon.blue { background: var(--blue-soft); }
.card-icon.yellow { background: var(--yellow-soft); }
.card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  flex: 1;
}
.card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.card-price {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
}
.card-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--turquoise-deep);
  margin-top: 0.25rem;
}
.card-link:hover { color: var(--purple-logo); }

/* —— Soft shapes / accents —— */
.pill {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--blue-soft);
  color: var(--blue-deep);
}
.pill-pink { background: var(--pink-soft); color: #b85a7a; }
.pill-yellow { background: var(--yellow-soft); color: #8a7520; }
.pill-turquoise { background: var(--turquoise-soft); color: var(--turquoise-deep); }

/* —— Picker —— */
.picker {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.picker-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .picker-grid { grid-template-columns: repeat(3, 1fr); }
}
.picker label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.picker select,
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
}
.picker select:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--turquoise);
  background: var(--white);
}
.picker-result {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--turquoise-soft);
  display: none;
}
.picker-result.is-visible { display: block; }
.picker-result p { margin: 0 0 0.75rem; }
.picker-actions { margin-top: 1rem; }

/* —— Photo block —— */
.photo-block {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue-soft);
}
.photo-block img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.photo-caption {
  padding: 0.85rem 1.1rem;
  background: var(--white);
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.photo-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(145deg, var(--pink-soft), var(--blue-soft));
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}
.photo-placeholder.yellow { background: linear-gradient(145deg, var(--yellow-soft), var(--turquoise-soft)); }
.photo-placeholder.turquoise { background: linear-gradient(145deg, var(--turquoise-soft), var(--blue-soft)); }
.photo-placeholder.pink { background: linear-gradient(145deg, var(--pink-soft), var(--yellow-soft)); }
.photo-placeholder.blue { background: linear-gradient(145deg, var(--blue-soft), var(--pink-soft)); }
.card-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
}

/* —— Advantages —— */
.adv-list {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .adv-list { grid-template-columns: repeat(2, 1fr); }
}
.adv-item {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.adv-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--turquoise);
  margin-top: 0.45rem;
  flex-shrink: 0;
}
.adv-item h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.adv-item p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

/* —— Empty / honest states —— */
.empty-state {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.empty-state h3 { margin: 0 0 0.5rem; }
.empty-state p { margin: 0 auto 1rem; max-width: 28rem; color: var(--text-muted); }

/* —— Steps —— */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--turquoise-soft);
  color: var(--turquoise-deep);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.step h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* —— Form —— */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
}
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.form-field .hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}
.form-note {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--yellow-soft);
  font-size: 0.92rem;
  color: var(--text);
}
.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--turquoise-soft);
  border: 1px solid var(--turquoise);
}
.form-success.is-visible { display: block; }
.form-success strong { display: block; margin-bottom: 0.35rem; }

/* —— Filters —— */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text);
}
.filter-btn:hover { border-color: var(--turquoise); }
.filter-btn.is-active {
  background: var(--turquoise);
  border-color: var(--turquoise);
  color: var(--white);
}

/* —— Contacts —— */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.contact-item strong { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.contact-item a { font-size: 1.15rem; font-weight: 700; text-decoration: none; color: var(--text); }
.contact-item a:hover { color: var(--turquoise-deep); }

/* —— Page hero (inner) —— */
.page-hero {
  padding: 2rem 0 1.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--pink-soft), transparent 55%),
    radial-gradient(ellipse 50% 50% at 0% 100%, var(--turquoise-soft), transparent 50%);
}
.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
  font-size: 1.05rem;
}
.breadcrumbs {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}
.breadcrumbs a { text-decoration: none; color: var(--turquoise-deep); font-weight: 600; }

/* —— Two-col layout —— */
.split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .split-wide-left { grid-template-columns: 1.2fr 0.8fr; }
}

/* —— List check —— */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--turquoise);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* —— Footer —— */
.site-footer {
  background: var(--text);
  color: #c8d0dc;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: #e8eef6; text-decoration: none; }
.site-footer a:hover { color: var(--turquoise); }
.footer-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
}
.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
}
.footer-brand p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
}
.footer-nav h3,
.footer-contacts h3 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 0.95rem;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

/* —— Utilities —— */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--text-muted); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Character cards from JS */
.char-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .char-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .char-grid { grid-template-columns: repeat(3, 1fr); }
}
.char-card .photo-placeholder,
.char-card img {
  border-radius: var(--radius-sm);
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.char-card[hidden] { display: none !important; }

/* Product cards */
.product-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Полный кадр, без обрезки: на уличном фото в углу знак «Территория жизни». */
.gallery-grid .photo-block img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: var(--blue-soft);
}
.photo-pair {
  display: grid;
  gap: 1rem;
}
.photo-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.photo-strip a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--blue-soft);
  box-shadow: var(--shadow-sm);
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-strip img.pos-top { object-position: top center; }
@media (min-width: 700px) {
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .photo-strip { grid-template-columns: repeat(6, 1fr); }
}

/* Фото с подписью внутри карточки (мастер-классы) */
.card-figure { margin: 0; }
.card-figure .photo-caption { padding: 0.5rem 0 0; background: none; }

/* —— Прайс-лист —— */
.price-lists { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .price-lists { grid-template-columns: repeat(2, 1fr); } }
.price-group { background: #fff; border-radius: 16px; padding: 1rem 1.25rem; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.price-group h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem 1rem; padding: .55rem 0; border-bottom: 1px dashed rgba(0,0,0,.12); }
.price-list li:last-child { border-bottom: 0; }
.price-name { flex: 1 1 12rem; }
.price-value { font-weight: 700; white-space: nowrap; }
.price-value.is-muted { font-weight: 400; color: var(--text-muted); }
.price-note { flex-basis: 100%; font-size: .85rem; color: var(--text-muted); }
.price-date { font-size: .9rem; color: var(--text-muted); margin-top: .75rem; }

/* =====================================================================
   REDESIGN 2026-10 — брендовая палитра: фиолетовый / жёлтый / маджента / циан.
   Слой переопределений поверх базовых стилей.
   ===================================================================== */
:root {
  --purple: #5b1f8f;
  --purple-900: #3a1260;
  --purple-700: #4a1876;
  --sun: #f5c518;
  --magenta: #d81b78;      /* текст/акцент на белом (AA) */
  --magenta-bright: #ec2f8b;
  --cyan: #1fb5e5;
  --cyan-ink: #0a6f93;     /* текст циан на белом (AA) */
  --lime: #8cc63f;
  --ink: #1d1530;
  --text: #241a35;
  --text-muted: #5c5470;
  --bg: #ffffff;
  --tint: #f5f1fa;
  --border: #e7e1ef;
  --shadow: 0 18px 40px -18px rgba(58, 18, 96, 0.35);
  --shadow-sm: 0 4px 14px -6px rgba(58, 18, 96, 0.18);
  --radius: 28px;
  --radius-sm: 16px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Unbounded", "Montserrat", "Manrope", system-ui, sans-serif;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--cyan);
  --max: 1200px;
}
body { background: var(--bg); color: var(--text); font-size: 1.0625rem; }
h1, h2, h3, .logo-text { font-family: var(--display); }
h1, h2 { letter-spacing: -0.035em; line-height: 1.05; }
h3 { letter-spacing: -0.015em; line-height: 1.25; font-weight: 700; }
a { color: var(--purple); text-decoration-color: var(--magenta-bright); text-decoration-thickness: 2px; }
a:hover { color: var(--magenta); }
::selection { background: var(--sun); color: var(--purple-900); }

/* Header */
.site-header { background: rgba(255,255,255,0.94); border-bottom: 1px solid var(--border); }
.logo-img { background: transparent; box-shadow: none; }
.logo-text { color: var(--purple); font-weight: 800; font-size: 1.05rem; }
.logo-text span { font-family: var(--font); font-weight: 700; color: var(--text-muted); }
.nav-toggle { border: 0; background: var(--purple); border-radius: 14px; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { background: #fff; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.site-nav { background: var(--purple-900); border: 0; padding: 1rem; }
.site-nav a { color: #fff; font-weight: 700; font-size: 1.05rem; border-radius: 12px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255,255,255,0.1); color: var(--sun); }
.header-phone { color: var(--purple); font-weight: 800; }
.header-phone:hover { color: var(--magenta); }
@media (min-width: 1100px) {
  .site-nav { background: transparent; padding: 0; }
  .site-nav a { color: var(--ink); font-size: 0.8rem; padding: 0.4rem 0.45rem; background: none !important; position: relative; }
  .site-nav a::after { content: ""; position: absolute; left: 0.45rem; right: 0.45rem; bottom: 0.1rem; height: 2px; background: var(--magenta-bright); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--purple); }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .header-phone { background: var(--purple); color: #fff; padding: 0.55rem 1rem; border-radius: 999px; }
  .header-phone:hover { background: var(--purple-900); color: var(--sun); }
}

/* Buttons */
.btn { font-weight: 800; padding: 0.95rem 1.5rem; letter-spacing: -0.005em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 22px -10px rgba(91,31,143,.7); }
.btn-primary:hover { background: var(--purple-900); color: #fff; }
.btn-secondary { background: #fff; color: var(--purple); border-color: var(--purple); }
.btn-secondary:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-soft { background: var(--sun); color: var(--purple-900); }
.btn-soft:hover { background: #ffd43b; color: var(--purple-900); }
/* на тёмном фоне */
.hero .btn-primary, .page-hero .btn-primary, .section-dark .btn-primary { background: var(--sun); color: var(--purple-900); box-shadow: 0 10px 24px -10px rgba(245,197,24,.6); }
.hero .btn-primary:hover, .page-hero .btn-primary:hover, .section-dark .btn-primary:hover { background: #fff; color: var(--purple-900); }
.hero .btn-secondary, .page-hero .btn-secondary, .section-dark .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn-secondary:hover, .page-hero .btn-secondary:hover, .section-dark .btn-secondary:hover { background: #fff; color: var(--purple); border-color: #fff; }

/* Hero */
.hero { background: var(--purple); color: #fff; padding: 3rem 0 3.5rem; isolation: isolate; }
.hero::before {
  background:
    radial-gradient(circle at 100% 0%, rgba(236,47,139,.35), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(31,181,229,.22), transparent 38%);
  z-index: -1;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 8.5vw, 4.4rem); font-weight: 800; line-height: 1.02; margin-bottom: 1.1rem; }
.hero h1::after { content: ""; display: block; width: 72px; height: 6px; border-radius: 6px; background: var(--sun); margin-top: 1.1rem; }
.hero-sub { color: rgba(255,255,255,.88); font-size: 1.15rem; }
.hero-badge { background: rgba(255,255,255,.1); color: var(--sun); box-shadow: inset 0 0 0 1px rgba(245,197,24,.45); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.hero-visual { margin: 0; border-radius: var(--radius); background: var(--purple-700); box-shadow: 14px 14px 0 0 var(--sun); aspect-ratio: 4/3.2; overflow: hidden; }
.hero-visual img { transition: transform .8s ease; }
.hero-visual:hover img { transform: scale(1.03); }
@media (min-width: 768px) {
  .hero { padding: 5rem 0 5.5rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; }
  .hero-visual { box-shadow: 20px 20px 0 0 var(--sun); }
}
@media (max-width: 767px) { .hero-visual { margin-right: 14px; } .hero-actions .btn { flex: 1 1 100%; } }

/* Inner page hero */
.page-hero { background: var(--purple); color: #fff; padding: 2.5rem 0 3rem; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid var(--magenta-bright); opacity: .9; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 800; margin-bottom: .9rem; max-width: 18ch; }
.page-hero p { color: rgba(255,255,255,.88); font-size: 1.1rem; }
.page-hero a { color: #fff; }
.breadcrumbs, .page-hero .breadcrumbs { color: rgba(255,255,255,.75); font-weight: 600; }
.page-hero .breadcrumbs a { color: var(--sun); text-decoration: none; }
@media (min-width: 768px) { .page-hero { padding: 4rem 0 4.5rem; } .page-hero::after { width: 360px; height: 360px; right: -90px; top: -120px; border-width: 44px; } }
@media (max-width: 767px) { .page-hero::after { width: 140px; height: 140px; right: -70px; top: -70px; border-width: 20px; } }

/* Sections */
.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section-alt { background: var(--tint); }
.section-dark { background: var(--purple-900); color: #fff; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: rgba(255,255,255,.85); }
.section-dark .section-label { color: var(--sun); }
.section-head { margin-bottom: 2.25rem; max-width: 46rem; }
.section-head h2 { font-size: clamp(1.8rem, 5.5vw, 3rem); font-weight: 800; color: var(--ink); margin-bottom: .8rem; }
.section-head p { font-size: 1.08rem; }
.section-label { color: var(--magenta); font-weight: 800; letter-spacing: .12em; font-size: .75rem; display: inline-flex; align-items: center; gap: .55rem; margin-bottom: .8rem; }
.section-label::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }

/* Cards */
.cards, .char-grid, .product-grid { gap: 1.5rem; }
.card { border: 1px solid var(--border); box-shadow: none; border-radius: var(--radius); padding: 1.6rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.section-alt .card { border-color: transparent; }
.card h3 { font-size: 1.2rem; color: var(--ink); }
.card p { color: var(--text-muted); font-size: 1rem; }
/* эмодзи-иконки заменяем на строгий цветной маркер */
.card-icon { font-size: 0 !important; width: 44px; height: 6px; border-radius: 6px; background: var(--purple) !important; }
.card-icon.pink { background: var(--magenta-bright) !important; }
.card-icon.turquoise, .card-icon.blue { background: var(--cyan) !important; }
.card-icon.yellow { background: var(--sun) !important; }
.card-link { color: var(--purple); font-weight: 800; text-decoration: none; }
.card-link:hover { color: var(--magenta); }
.card-price { color: var(--purple); font-weight: 800; }
.card-photo, .char-card img, .char-card .photo-placeholder { border-radius: 20px; }
.pill { font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .8rem; background: #e3f5fc; color: var(--cyan-ink); }
.pill-pink { background: #fde6f1; color: #a3115a; }
.pill-yellow { background: #fff3c4; color: #6b4f00; }
.pill-turquoise { background: #e3f5fc; color: var(--cyan-ink); }

/* Photos */
.photo-block { border-radius: var(--radius); box-shadow: none; background: var(--tint); }
.photo-block img { transition: transform .6s ease; }
.photo-block:hover img { transform: scale(1.03); }
.photo-caption { background: #fff; color: var(--text-muted); border-top: 0; font-weight: 600; }
.photo-placeholder { background: var(--tint) !important; color: var(--purple); border: 2px dashed #cdbfe0; }
.photo-strip a { border-radius: 20px; box-shadow: none; background: var(--tint); }
.photo-strip img { transition: transform .5s ease; }
.photo-strip a:hover img { transform: scale(1.06); }
.gallery-grid .photo-block img { background: var(--tint); }
.split .photo-block { box-shadow: 14px 14px 0 0 var(--cyan); }
.split .photo-block:nth-of-type(even) { box-shadow: -14px 14px 0 0 var(--magenta-bright); }

/* Picker & forms */
.picker, .form-card { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem; }
.picker label, .form-field label { color: var(--ink); font-weight: 800; }
.picker select, .form-field input, .form-field select, .form-field textarea { border: 2px solid var(--border); border-radius: 14px; background: #fff; padding: .85rem 1rem; }
.picker select:focus, .form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--purple); }
.picker-result { background: var(--purple); color: #fff; border-radius: 20px; padding: 1.25rem 1.4rem; }
.picker-result p { color: #fff; }
.form-note { background: #fff7d6; border-left: 4px solid var(--sun); border-radius: 12px; }
.form-success { background: #e3f5fc; border: 0; border-left: 4px solid var(--cyan); }

/* Prices */
.price-group { border-radius: var(--radius); box-shadow: none; border: 2px solid var(--purple); padding: .5rem 1.5rem; background: #fff; }
.price-group h3 { color: var(--purple); padding-top: 1rem; }
.price-list li { border-bottom: 1px solid var(--border); padding: .9rem 0; }
.price-value { color: var(--purple); font-weight: 800; font-family: var(--display); font-size: .98rem; }
.price-value.is-muted { font-family: var(--font); }

/* Advantages / steps */
.adv-item, .step, .contact-item, .empty-state { border-radius: var(--radius); border: 1px solid var(--border); padding: 1.4rem; }
.section-alt .adv-item, .section-alt .step, .section-alt .contact-item { border-color: transparent; }
.adv-dot { width: 10px; height: 28px; border-radius: 6px; background: var(--magenta-bright); margin-top: .1rem; }
.adv-item:nth-child(3n+2) .adv-dot { background: var(--cyan); }
.adv-item:nth-child(3n) .adv-dot { background: var(--sun); }
.step::before { width: 44px; height: 44px; background: var(--purple); color: var(--sun); font-family: var(--display); font-size: 1rem; border-radius: 14px; }
.step h3 { font-size: 1.1rem; }
.contact-item strong { color: var(--magenta); font-weight: 800; }
.contact-item a { color: var(--purple); font-family: var(--display); }
.contact-item a:hover { color: var(--magenta); }
.filter-btn { border: 2px solid var(--border); font-weight: 800; color: var(--ink); }
.filter-btn:hover { border-color: var(--purple); }
.filter-btn.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }

/* Footer */
.site-footer { background: var(--purple-900) !important; color: rgba(255,255,255,.85) !important; border-top: 6px solid var(--sun); }
.site-footer h3 { color: var(--sun) !important; font-family: var(--display); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer a { color: #fff !important; text-decoration: none; }
.site-footer a:hover { color: var(--sun) !important; }
.footer-brand img { object-fit: contain; }
.footer-brand strong { color: #fff; font-family: var(--display); }
.footer-bottom { border-top-color: rgba(255,255,255,.15) !important; color: rgba(255,255,255,.7) !important; }

/* Reveal on scroll */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; }
  .card:hover, .btn:hover { transform: none; }
  .hero-visual:hover img, .photo-block:hover img, .photo-strip a:hover img { transform: none; }
}
.hero-grid > *, .split > * { min-width: 0; }
@media (max-width: 767px) {
  .hero h1 { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .section-head h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
}
h1, h2 { overflow-wrap: break-word; hyphens: manual; }
.card .pill { align-self: flex-start; }
@media (max-width: 767px) { .hero h1 { font-size: clamp(1.7rem, 7.3vw, 2.6rem); } }
.section-dark .step, .section-dark .card { color: var(--text); border-color: transparent; }
.section-dark .step h3, .section-dark .card h3 { color: var(--ink); }

/* fix: hero heading must not split words on desktop */
@media (min-width: 768px) {
  .hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); overflow-wrap: normal; word-break: normal; }
}

/* =====================================================================
   CONCEPT B — 2026-10-12. Жёлтый фон, крупные скруглённые цветные блоки
   (розовый / циан / лайм / фиолетовый), чёрные акценты, шрифт Onest.
   Контраст: белый текст только на --b-pink (#e0187f, 4.6:1) и --b-purple
   (#6a2bd9, 7.1:1); на циане/лайме/жёлтом — чёрный текст.
   ===================================================================== */
:root {
  --b-yellow: #ffd23f;
  --b-pink: #e0187f;
  --b-pink-bright: #ff3d9a;
  --b-cyan: #22c7e8;
  --b-lime: #9be22d;
  --b-purple: #6a2bd9;
  --b-ink: #111111;
  --text: #111111;
  --text-muted: #3a3a3a;
  --ink: #111111;
  --purple: #6a2bd9;
  --purple-900: #111111;
  --magenta: #b0105f;
  --border: #111111;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 28px;
  --radius-sm: 18px;
  --focus: 0 0 0 3px #fff, 0 0 0 6px #111;
}
@media (max-width: 767px) { :root { --radius: 22px; } }
body { background: var(--b-yellow); color: var(--b-ink); font-family: var(--font); font-weight: 500; overflow-x: hidden; }
h1, h2, h3, .logo-text { font-family: var(--display); font-weight: 800; }
h1, h2 { letter-spacing: -0.03em; line-height: 1; }
a { color: var(--b-ink); text-decoration-color: var(--b-ink); }
a:hover { color: var(--b-purple); }
::selection { background: var(--b-ink); color: var(--b-lime); }
.skip-link { background: #111; color: #fff; }

/* Header */
.site-header { background: var(--b-yellow); border-bottom: 0; backdrop-filter: none; }
.logo-img { border-radius: 50%; border: 3px solid #111; background: #fff; }
.logo-text { color: #111; font-size: 1.25rem; font-weight: 800; }
.logo-text span { color: #111; font-weight: 600; font-family: var(--font); }
.nav-toggle { background: #111; border: 0; border-radius: 14px; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { background: #fff; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.site-nav { background: var(--b-yellow); border-top: 3px solid #111; border-bottom: 3px solid #111; box-shadow: none; padding: 1rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.site-nav ul { gap: .45rem; }
.site-nav a { background: #fff; color: #111; border: 2px solid #111; border-radius: 999px; font-weight: 700; font-size: 1.05rem; padding: .7rem 1.1rem; }
.site-nav a:hover { background: var(--b-lime); color: #111; }
.site-nav a[aria-current="page"] { background: #111; color: var(--b-lime); }
.header-phone { color: #111; font-weight: 800; }
@media (min-width: 1100px) {
  .site-nav { background: transparent; border: 0; padding: 0; max-height: none; overflow: visible; }
  .site-nav ul { gap: .3rem; }
  .site-nav a { font-size: .8rem; padding: .4rem .62rem; background: #fff !important; border: 2px solid #111; }
  .site-nav a::after { display: none; }
  .site-nav a:hover { background: var(--b-lime) !important; color: #111; }
  .site-nav a[aria-current="page"] { background: #111 !important; color: var(--b-lime); }
  .header-phone { background: none; color: #111; padding: 0; font-size: .95rem; }
  .header-phone:hover { background: none; color: var(--b-purple); }
}

/* Buttons */
.btn { border-radius: 16px; font-weight: 800; border: 2px solid #111; box-shadow: none !important; }
.btn-primary, .hero .btn-primary, .page-hero .btn-primary, .section-dark .btn-primary { background: #111; color: #fff; border-color: #111; }
.btn-primary:hover, .hero .btn-primary:hover, .page-hero .btn-primary:hover, .section-dark .btn-primary:hover { background: var(--b-purple); color: #fff; border-color: #111; }
.btn-secondary, .hero .btn-secondary, .page-hero .btn-secondary, .section-dark .btn-secondary { background: #fff; color: #111; border-color: #111; }
.btn-secondary:hover, .hero .btn-secondary:hover, .page-hero .btn-secondary:hover, .section-dark .btn-secondary:hover { background: var(--b-lime); color: #111; border-color: #111; }
.btn-soft { background: var(--b-lime); color: #111; }
.btn-soft:hover { background: #fff; color: #111; }

/* Index hero (порт концепции B) */
.hero { background: transparent; color: #111; padding: .5rem 0 1rem; }
.hero::before { display: none; }
.hero-grid { gap: 12px; align-items: stretch; }
.hero-main { background: var(--b-pink); border-radius: var(--radius); padding: 4.5rem 1.4rem 1.6rem; position: relative; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-main::before { content: ""; position: absolute; right: -60px; top: -60px; width: 170px; height: 170px; border-radius: 50%; background: var(--b-cyan); }
.hero-main > * { position: relative; }
.hero-badge { position: absolute; top: 1.3rem; left: 1.4rem; margin: 0; background: #111; color: var(--b-lime); box-shadow: none; text-transform: none; letter-spacing: 0; font-size: .82rem; font-weight: 700; padding: .4rem .9rem; max-width: calc(100% - 2.8rem); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 10.5vw, 4.6rem); line-height: .98; font-weight: 800; margin: 0 0 1rem; overflow-wrap: normal; hyphens: manual; }
.hero h1::after { display: none; }
.hero-sub { color: #fff; font-size: 1.05rem; font-weight: 500; margin-bottom: 1.4rem; }
.hero-actions .btn { flex: 1 1 100%; }
.hero-more { margin: 1rem 0 0; font-weight: 600; font-size: .95rem; }
.hero-more a { color: #fff; text-decoration-color: #fff; }
.hero-more a:hover { color: #111; }
.hero-tiles { order: -1; display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; height: 220px; }
.hero .hero-visual { margin: 0; border-radius: var(--radius); box-shadow: none; aspect-ratio: auto; background: #111; height: 100%; min-height: 0; }
.hero .hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.tile-block { display: none; }
@media (min-width: 768px) {
  .hero { padding: .5rem 0 2rem; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 20px; min-height: min(calc(100vh - 110px), 720px); }
  .hero-main { padding: 5.5rem 2.6rem 2.6rem; }
  .hero-main::before { width: 240px; height: 240px; }
  .hero-badge { top: 2.2rem; left: 2.6rem; }
  .hero-sub { font-size: 1.15rem; max-width: 30rem; }
  .hero-actions .btn { flex: 0 0 auto; }
  .hero-tiles { order: 0; height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; gap: 20px; }
  .tile-main { grid-column: 1 / 3; }
  .tile-block { display: flex; align-items: center; justify-content: center; text-align: center; background: var(--b-cyan); color: #111; border-radius: var(--radius); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; line-height: 1; text-decoration: none; }
  .tile-block:hover { background: var(--b-lime); color: #111; }
  .hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
}

/* Inner page hero — розовый блок */
.page-hero { background: transparent; color: #fff; padding: .5rem 0 1rem; overflow: visible; }
.page-hero::after { display: none; }
.page-hero .container { background: var(--b-pink); border-radius: var(--radius); padding: 2rem 1.4rem 2.2rem; position: relative; overflow: hidden; }
.page-hero .container::before { content: ""; position: absolute; right: -50px; top: -50px; width: 140px; height: 140px; border-radius: 50%; background: var(--b-cyan); }
.page-hero .container > * { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 9vw, 3.8rem); line-height: 1; max-width: 16ch; overflow-wrap: normal; }
.page-hero p { color: #fff; font-weight: 500; }
.page-hero a { color: #fff; }
.breadcrumbs, .page-hero .breadcrumbs { color: #fff; font-weight: 600; max-width: calc(100% - 90px); }
.page-hero .breadcrumbs a { color: #fff; text-decoration: underline; }
@media (min-width: 768px) {
  .page-hero .container { padding: 3.2rem 2.6rem 3.4rem; }
  .page-hero .container::before { width: 240px; height: 240px; right: -70px; top: -80px; }
}

/* Sections: жёлтый фон, контент в цветных/белых блоках */
.section { padding: 2.5rem 0; }
@media (min-width: 768px) { .section { padding: 4rem 0; } }
.section-alt { background: transparent; }
.section-alt > .container { background: var(--b-purple); color: #fff; border-radius: var(--radius); padding: 2rem 1.2rem; }
.section-alt > .container > .section-head h2,
.section-alt > .container > .section-head p,
.section-alt > .container > h2, .section-alt > .container > p { color: #fff; }
.section-alt > .container > .section-head .section-label { background: var(--b-lime); color: #111; }
.section-alt > .container > p a, .section-alt > .container > .section-head p a { color: #fff; text-decoration-color: #fff; }
@media (min-width: 768px) { .section-alt > .container { padding: 3.2rem 2.6rem; } }
.section-dark { background: transparent; color: #fff; }
.section-dark > .container { background: #111; border-radius: var(--radius); padding: 2rem 1.2rem; }
@media (min-width: 768px) { .section-dark > .container { padding: 3.2rem 2.6rem; } }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #fff; }
.section-dark .section-label { background: var(--b-lime); color: #111; }
.section-head h2 { color: #111; font-size: clamp(1.9rem, 8vw, 3.2rem); font-weight: 800; }
.section-head p { color: #111; }
.section-label { background: #111; color: var(--b-lime); padding: .35rem .85rem; border-radius: 999px; font-size: .78rem; letter-spacing: .04em; }
.section-label::before { display: none; }
.text-muted { color: #3a3a3a; }

/* Cards */
.card { background: #fff; border: 2px solid #111; border-radius: var(--radius); box-shadow: none; }
.card:hover { transform: translateY(-3px); box-shadow: 6px 6px 0 #111; border-color: #111; }
.section-alt .card, .section-dark .card { border-color: #111; }
.card h3 { color: #111; font-size: 1.25rem; font-weight: 800; }
.card p { color: #2b2b2b; }
.cards > .card:nth-child(4n+1) .card-icon { background: var(--b-pink) !important; }
.card-icon { width: 52px; height: 10px; border-radius: 10px; background: #111 !important; }
.card-icon.pink { background: var(--b-pink) !important; }
.card-icon.turquoise, .card-icon.blue { background: var(--b-cyan) !important; }
.card-icon.yellow { background: var(--b-lime) !important; }
.card-link { color: #111; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card-link:hover { color: var(--b-purple); }
.card-price { color: #111; font-weight: 800; }
.pill { background: var(--b-cyan); color: #111; }
.pill-pink { background: #ffd0e6; color: #111; }
.pill-yellow { background: var(--b-yellow); color: #111; }
.pill-turquoise { background: var(--b-cyan); color: #111; }
.section-dark .step, .section-dark .card { color: #111; }

/* Photos: плитки */
.photo-block { border-radius: var(--radius); background: #111; box-shadow: none !important; border: 0; }
.photo-caption { background: #111; color: #fff; font-weight: 600; }
.split .photo-block { box-shadow: none !important; }
.photo-strip { gap: 12px; }
.photo-strip a { border-radius: 22px; background: #111; }
.gallery-grid .photo-block img { background: #111; }
.photo-placeholder { background: #fff !important; color: #111; border: 2px dashed #111; }
.card-photo, .char-card img, .char-card .photo-placeholder { border-radius: 18px; }

/* Picker & forms */
.picker, .form-card { background: #fff; color: #111; border: 2px solid #111; box-shadow: none; }
.picker label, .form-field label { color: #111; }
.picker select, .form-field input, .form-field select, .form-field textarea { border: 2px solid #111; background: #fff; color: #111; }
.picker select:focus, .form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--b-purple); }
.form-field .hint { color: #3a3a3a; }
.picker-result { background: var(--b-lime); color: #111; border: 2px solid #111; }
.picker-result p { color: #111; }
.form-note { background: var(--b-yellow); border: 2px solid #111; border-left-width: 2px; color: #111; }
.form-success { background: var(--b-lime); border: 2px solid #111; color: #111; }
.form-card a, .picker a:not(.btn) { color: #111; }

/* Prices */
.price-group { background: #fff; border: 2px solid #111; }
.price-group h3 { color: #111; }
.price-list li { border-bottom: 2px dashed rgba(17,17,17,.25); }
.price-value { color: #111; font-family: var(--display); font-weight: 800; }
.price-value.is-muted { color: #3a3a3a; }
.price-note, .price-date { color: #3a3a3a; }
.section-alt > .container > .price-date, .section-alt .price-date { color: #fff; }
.section-alt .price-date a { color: #fff; }

/* Advantages / steps / contacts */
.adv-item, .step, .contact-item, .empty-state { background: #fff; border: 2px solid #111; color: #111; }
.section-alt .adv-item, .section-alt .step, .section-alt .contact-item { border-color: #111; }
.adv-item p, .step p, .empty-state p { color: #2b2b2b; }
.adv-dot { background: var(--b-pink); }
.adv-item:nth-child(3n+2) .adv-dot { background: var(--b-cyan); }
.adv-item:nth-child(3n) .adv-dot { background: var(--b-lime); }
.step::before { background: #111; color: var(--b-lime); font-family: var(--display); }
.step:nth-child(4n+1) { background: var(--b-cyan); }
.step:nth-child(4n+2) { background: var(--b-lime); }
.step:nth-child(4n+3) { background: #fff; }
.step:nth-child(4n+4) { background: #ffd0e6; }
.step p { color: #111; }
.contact-item strong { color: #111; }
.contact-item a { color: #111; font-family: var(--display); font-weight: 800; }
.contact-item a:hover { color: var(--b-purple); }
.check-list li::before { background: var(--b-pink); border: 2px solid #111; width: 12px; height: 12px; }
.section-alt .check-list li::before { background: var(--b-lime); }
.filter-btn { background: #fff; border: 2px solid #111; color: #111; }
.filter-btn:hover { background: var(--b-lime); border-color: #111; }
.filter-btn.is-active { background: #111; border-color: #111; color: var(--b-lime); }

/* Footer — чёрный блок */
.site-footer { background: #111 !important; color: #e6e6e6 !important; border-top: 0; margin-top: 1rem; border-radius: var(--radius) var(--radius) 0 0; }
.site-footer h3 { color: var(--b-lime) !important; font-family: var(--display); }
.site-footer a:hover { color: var(--b-yellow) !important; }
.footer-brand img { background: #fff; border: 3px solid #fff; }
.footer-bottom { color: #cfcfcf !important; }

/* safety */
.hero-grid > *, .split > *, .contact-grid > * { min-width: 0; }
img { max-width: 100%; }
@media (min-width: 1100px) {
  .header-inner { gap: .75rem; }
  .site-nav ul { gap: .2rem; }
  .site-nav a { font-size: .76rem; padding: .32rem .5rem; }
  .logo-text { font-size: 1.05rem; }
}
@media (min-width: 1100px) and (max-width: 1359px) { .logo-text span { display: none; } }

/* Hero tiles: photos must not dictate tile height (portrait images) */
.hero .hero-visual { position: relative; }
.hero .hero-visual img { position: absolute; inset: 0; }

/* Reviews */
.reviews-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.reviews-grid.reviews-single { grid-template-columns: 1fr; max-width: 760px; }
.review-card { margin: 0; background: #fff; border: 2px solid #111; border-radius: 24px; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 12px; }
.review-card blockquote { margin: 0; font-size: 1.05rem; line-height: 1.5; color: #111; flex: 1; }
.review-card figcaption { font-weight: 700; font-size: .9rem; color: #111; }
.review-tag { align-self: flex-start; background: #111; color: #c6f432; font-weight: 700; font-size: .78rem; padding: 4px 12px; border-radius: 999px; }

.review-card[hidden] { display: none; }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 480px) { .reviews-actions .btn { flex: 1 1 100%; text-align: center; } }

/* LEGAL 2026-10-13 — страницы оферты/политики, юр. подвал, согласие в форме */
.legal-doc { max-width: 780px; background: #fff; border: 2px solid var(--border); border-radius: 24px; padding: 1.5rem 1.25rem; line-height: 1.6; }
.legal-doc h2 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; }
.legal-doc h2.legal-title { font-size: 1.35rem; margin-top: .25rem; margin-bottom: .25rem; }
.legal-doc p { margin: 0 0 .7rem; overflow-wrap: anywhere; }
.legal-doc ul { margin: 0 0 .7rem 1.1rem; padding: 0; }
.legal-doc .legal-meta { color: var(--text-muted); font-size: .92rem; }
.legal-doc .legal-break { border: 0; border-top: 2px dashed var(--border); margin: 2rem 0; }
@media (min-width: 720px) { .legal-doc { padding: 2.25rem 2.5rem; } }
.footer-legal { display: block; font-size: .85rem; line-height: 1.5; }
.footer-legal p { margin: .2rem 0; }
.footer-legal a { color: inherit; text-decoration: underline; }
.price-legal { font-size: .9rem; margin-top: .5rem; }
.consent-check { display: flex; gap: .6rem; align-items: flex-start; margin: .9rem 0 .25rem; font-size: .92rem; line-height: 1.4; font-weight: 500; }
.consent-check input { width: 1.2rem; height: 1.2rem; margin-top: .1rem; flex: none; accent-color: #e0187f; }

.consent-check.err{color:#b0124f}.consent-check.err input{outline:2px solid #e0187f;outline-offset:2px}
