:root {
  --bg:        #faf6f0;
  --bg-warm:   #f3eadc;
  --ink:       #2a1e14;
  --ink-soft:  #5a4a3a;
  --accent:    #c96e4a;
  --accent-d:  #a85536;
  --olive:     #8a9a5b;
  --line:      #e5d8c5;
  --radius:    20px;
  --radius-sm: 12px;
  --shadow:    0 10px 40px rgba(120, 80, 50, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, .btn, .contact-btn, label { font-family: 'Inter', -apple-system, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-d); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 640px; }

/* HERO */
.hero { background: linear-gradient(180deg, #f7efe3 0%, var(--bg) 100%); padding: 80px 0 100px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.photo-frame { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-warm); box-shadow: var(--shadow); position: relative; display: flex; align-items: center; justify-content: center; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.photo-frame.empty .photo-placeholder { display: block; }
.photo-placeholder { display: none; text-align: center; color: var(--ink-soft); font-size: 48px; line-height: 1.2; }
.photo-placeholder small { font-size: 14px; font-family: 'Inter', sans-serif; opacity: 0.7; }
.hero-text h1 { font-size: 42px; line-height: 1.2; font-weight: 600; color: var(--ink); margin-bottom: 24px; letter-spacing: -0.5px; }
.hero-sub { font-size: 20px; color: var(--ink-soft); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* КНОПКИ */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; border-radius: var(--radius-sm); font-size: 17px; font-weight: 600; cursor: pointer; border: none; transition: transform .15s, box-shadow .2s, background .2s; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(201, 110, 74, 0.3); }
.btn-primary:hover { background: var(--accent-d); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(168, 85, 54, 0.35); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { background: var(--bg-warm); color: var(--ink); border-color: var(--ink-soft); }
.btn-block { width: 100%; }

/* СЕКЦИИ */

.section-warm { background: var(--bg-warm); }
.section h2 { font-size: 34px; font-weight: 600; margin-bottom: 40px; letter-spacing: -0.3px; color: var(--ink); }
.section-lead { font-size: 19px; color: var(--ink-soft); margin-bottom: 40px; max-width: 720px; }

/* ПОЧЕМУ Я */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-text p { margin-bottom: 20px; color: var(--ink); }
.about-text strong { color: var(--accent-d); }
.about-note { font-style: italic; color: var(--ink-soft); border-left: 3px solid var(--olive); padding-left: 20px; margin-top: 32px; }
.about-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg); box-shadow: var(--shadow); position: relative; display: flex; align-items: center; justify-content: center; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-photo.empty .photo-placeholder { display: block; }

/* ПРИНЦИПЫ */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.principle { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); transition: transform .2s; }
.principle:hover { transform: translateY(-4px); }
.principle-icon { font-size: 36px; margin-bottom: 16px; }
.principle h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.principle p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; }

/* ДОКУМЕНТЫ */
.docs-list { display: flex; flex-direction: column; gap: 60px; max-width: 800px; margin: 0 auto; }
.doc-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s; }
.doc-card:hover { transform: translateY(-4px); }
.doc-img-link { display: block; background: var(--bg-warm); }
.doc-img-link img { width: 100%; height: auto; display: block; transition: opacity .2s; }
.doc-img-link:hover img { opacity: 0.94; }
.doc-caption { padding: 28px 32px 32px; }
.doc-caption h3 { font-family: 'Inter', sans-serif; font-size: 19px; font-weight: 600; color: var(--accent-d); margin-bottom: 12px; line-height: 1.35; }
.doc-caption p { font-size: 17px; color: var(--ink); line-height: 1.65; font-style: italic; }

/* ОТЗЫВЫ */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
blockquote { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); font-style: italic; font-size: 17px; line-height: 1.7; color: var(--ink); position: relative; }
blockquote::before { content: '“'; font-size: 60px; color: var(--accent); opacity: 0.3; position: absolute; top: 8px; left: 20px; font-family: Georgia, serif; line-height: 1; }
blockquote cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; color: var(--ink-soft); font-family: 'Inter', sans-serif; }

/* ФОРМА */
.section-form { background: var(--bg-warm); }
.lead-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 500; color: var(--ink); }
.field .opt { color: var(--ink-soft); font-weight: 400; font-size: 14px; }
.field input, .field textarea { font-family: inherit; font-size: 17px; padding: 14px 18px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; width: 100%; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(201, 110, 74, 0.1); }
.field input.error { border-color: #d04949; }
.form-note { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 4px; font-family: 'Inter', sans-serif; }
.form-success { padding: 20px; background: #e8f0d8; border-radius: var(--radius-sm); color: #4a5a1f; font-family: 'Inter', sans-serif; text-align: center; }

/* ФУТЕР */
.footer { background: var(--ink); color: #e8dcc8; padding: 70px 0 40px; text-align: center; }
.footer-title { color: #fff; font-size: 28px; font-weight: 600; margin-bottom: 12px; }
.footer-lead { color: #b8a88c; margin-bottom: 32px; }
.contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 40px; }
.contact-btn { display: inline-flex; align-items: center; padding: 14px 26px; background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius-sm); color: #fff; font-weight: 500; font-size: 16px; transition: background .2s, border-color .2s, transform .15s; }
.contact-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); color: #fff; transform: translateY(-2px); }
.footer-copy { font-size: 14px; color: #8a7a60; font-family: 'Inter', sans-serif; }
.footer-copy a { color: #b8a88c; }
.footer-copy a:hover { color: #fff; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.section, .hero { animation: fadeUp 0.6s ease both; }

@media (max-width: 820px) {
  .hero-inner, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 50px 0 70px; }
  .hero-text h1 { font-size: 30px; }
  .hero-sub { font-size: 18px; }
  
  .section h2 { font-size: 26px; }
  .photo-frame, .about-photo { max-width: 320px; margin: 0 auto; }
  .btn { padding: 14px 24px; font-size: 16px; }
  .docs-list { gap: 40px; }
  .doc-caption { padding: 20px 22px 24px; }
  .doc-caption h3 { font-size: 17px; }
  .doc-caption p { font-size: 16px; }
}

/* -------- СЕМЬЯ -------- */
.section-family { background: var(--bg); }

/* ===== Меню в hero ===== */
.hero-nav {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  margin-bottom: 24px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.hero-nav a {
  color: var(--ink-soft); text-decoration: none;
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.hero-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
@media (max-width: 720px) {
  .hero-nav { font-size: 14px; gap: 4px 16px; margin-bottom: 18px; padding-bottom: 14px; }
}

/* ===== Отзывы — звёзды и подпись ===== */
.review-stars { color: #e8a417; font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; }
blockquote cite { display: flex; flex-direction: column; gap: 2px; }
blockquote cite b { color: var(--ink); font-weight: 600; }
blockquote cite span { color: var(--ink-soft); font-size: 13px; }

/* Всё внутри .container — прижато к левому краю */

.section h2 {
  font-size: 34px;
  margin: 0 0 24px 0;
  max-width: 900px;
}

.section-lead {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0 0 40px 0;
  max-width: 900px;
  text-align: left;
}

.photo-frame, .about-photo { width: 100%; }

.docs-list {
  max-width: 900px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.reviews {
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.lead-form {
  max-width: 640px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 820px) {
  .section h2 { font-size: 26px; }
  .section-lead { font-size: 17px; }
  .docs-list { gap: 40px; }
}

/* Базовая кнопка */

/* Цвета брендов */
   /* 📞 Позвонить — терракота */

     /* 💬 WhatsApp */

     /* ✈️ Telegram */

     /* 🅱️ ВКонтакте */

    /* 🅼 MAX */

/* Базовая кнопка */
/* Зазор между кнопками мессенджеров */
.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 12px;
}

.contact-opt {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  background: #999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all .2s ease;
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;}

.contact-opt::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left .5s;
}

.contact-opt:hover::before {
  left: 100%;
}

.contact-opt input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  flex: 0 0 18px;
  accent-color: #fff;
  cursor: pointer;
  filter: brightness(2.5) saturate(0);
}
.contact-opt.is-selected input[type="radio"] {
  accent-color: #000;
  filter: brightness(0);
}

.contact-opt span {
  display: inline;
  white-space: nowrap;
}

.contact-opt:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.contact-opt.is-selected {
  outline: 3px solid #000;
  outline-offset: 2px;
  transform: translateY(-2px);
}

/* Цвета брендов */
.contact-opt--call {
  background: linear-gradient(135deg, #c96e4a, #a8553a);
}
.contact-opt--call:hover {
  background: linear-gradient(135deg, #a8553a, #8b4429);
}

.contact-opt--wa {
  background: linear-gradient(135deg, #25D366, #1fa855);
}
.contact-opt--wa:hover {
  background: linear-gradient(135deg, #1fa855, #188f45);
}

.contact-opt--tg {
  background: linear-gradient(135deg, #229ED9, #1b7fb0);
}
.contact-opt--tg:hover {
  background: linear-gradient(135deg, #1b7fb0, #166a94);
}

.contact-opt--vk {
  background: linear-gradient(135deg, #0077FF, #005fcc);
}
.contact-opt--vk:hover {
  background: linear-gradient(135deg, #005fcc, #004aa3);
}

.contact-opt--max {
  background: linear-gradient(135deg, #7B4DFF, #6038cc);
}
.contact-opt--max:hover {
  background: linear-gradient(135deg, #6038cc, #4e2eb3);
}

@media (max-width: 720px) {
  .contact-options { gap: 8px; }
  .contact-opt { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
}

/* ═══ Согласие на обработку ПД ═══ */
.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color .15s;
  margin-top: 8px;
}
.consent-field:hover { border-color: var(--ink-soft); }
.consent-field.error {
  border-color: #d04949;
  background: #fff5f5;
}
.consent-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 2px 0 0 0;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent-field span { display: inline; }
.consent-field a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}
.consent-field a:hover { color: var(--accent-d); }
.form-note--error {
  color: #d04949 !important;
  font-weight: 500;
  margin-top: 6px;
}

/* --- Типографика: крупнее и увереннее --- */
.hero-text h1 { font-size: 52px; line-height: 1.15; letter-spacing: -1px; font-weight: 700; }
.section h2 { font-size: 42px; line-height: 1.15; font-weight: 700; letter-spacing: -0.8px; margin: 0 0 24px 0; }
.section-lead { font-size: 20px; line-height: 1.55; margin: 0 0 56px 0; max-width: 760px; }

/* --- Секции: больше воздуха --- */


/* --- Скругления и тени мягче --- */

/* --- Кнопки: мягче и «живее» --- */
.btn {
  border-radius: 14px !important;
  padding: 18px 36px !important;
  font-weight: 600 !important;
  letter-spacing: -0.2px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05),
              0 8px 24px rgba(201, 110, 74, .28);
  transition: transform .18s ease, box-shadow .25s ease, background .2s !important;
}
.btn-primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,.08),
              0 16px 40px rgba(168, 85, 54, .35) !important;
}

/* --- Принципы и карточки — чуть поднимаются --- */
.principle:hover,
.doc-card:hover,
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(23,29,39,.04),
              0 12px 28px rgba(23,29,39,.08),
              0 32px 64px rgba(23,29,39,.06) !important;
}

.bento-reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 20px;
}

.bento-card {
  position: relative;
  background: #fff;
  padding: 32px 28px 26px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .3s ease;
  overflow: hidden;
}

/* Тонкая верхняя полоска бренда */
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #e8b06f, transparent);
  opacity: .85;
}

/* Крупная декоративная кавычка */
.bento-card::before {
  content: '“';
  position: absolute;
  top: 12px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 92px;
  line-height: 1;
  color: var(--accent);
  opacity: .10;
  pointer-events: none;
}

.bento-stars {
  color: #e8a417;
  font-size: 16px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.bento-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 22px 0;
  position: relative;
  z-index: 1;
}

.bento-cite {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.bento-cite b { color: var(--ink); font-weight: 600; }
.bento-cite span { color: var(--ink-soft); font-size: 13px; }

/* Размеры карточек */
.bento-card--lg {
  grid-column: span 2;
  grid-row: span 2;
  padding: 40px 36px 32px;
}
.bento-card--lg .bento-text { font-size: 20px; line-height: 1.6; }
.bento-card--lg .bento-stars { font-size: 18px; }

.bento-card--md {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-card--sm {
  grid-column: span 1;
  grid-row: span 1;
  padding: 26px 22px 20px;
}
.bento-card--sm .bento-text { font-size: 15.5px; line-height: 1.6; }
.bento-card--sm .bento-stars { font-size: 14px; margin-bottom: 10px; }

/* Сетка раскладки:
   [ LG  LG  MD  MD ]
   [ LG  LG  SM  SM ]
   [ SM  SM  SM  SM ]    ← если будет 8-й отзыв */

/* --- Мобильная версия --- */
@media (max-width: 900px) {
  .bento-reviews { grid-template-columns: repeat(2, 1fr); }
  .bento-card--lg { grid-column: span 2; grid-row: span 1; padding: 32px 26px; }
  .bento-card--lg .bento-text { font-size: 18px; }
  .bento-card--md { grid-column: span 2; }
}

@media (max-width: 600px) {
  
  .section h2 { font-size: 30px; }
  .section-lead { font-size: 17px; margin-bottom: 40px; }
  .hero-text h1 { font-size: 34px; }
  .bento-reviews { grid-template-columns: 1fr; gap: 14px; }
  .bento-card--lg,
  .bento-card--md,
  .bento-card--sm { grid-column: span 1; grid-row: auto; padding: 24px 20px; }
  .bento-card--lg .bento-text { font-size: 17px; }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ═══ Кнопки-мессенджеры: белый текст принудительно ═══ */
.contact-opt,
.contact-opt span,
.contact-opt:has(input:checked),
.contact-opt:hover,
.contact-opt:active {
  color: #ffffff !important;
}
.contact-opt input[type="radio"] {
  filter: brightness(2.5) grayscale(1) !important;
}
.contact-opt.is-selected input[type="radio"] {
  accent-color: #ffffff !important;
  filter: brightness(2.5) grayscale(1) !important;
}

/* Секции — полупрозрачные, чтобы фон «дышал» сквозь них */



/* Hero — лёгкая дымка, не перекрывает фон */
.hero {
  background: linear-gradient(180deg, rgba(247,239,227,0.55) 0%, rgba(250,246,240,0.15) 100%) !important;
}

/* Футер — оставляем тёмным, но с мягким переходом */

/* Для пользователей с отключенной анимацией */
@media (prefers-reduced-motion: reduce) {
  body { animation: none !important; }
}

/* ═══ Полная прозрачность секций, чтобы атлас был виден ═══ */
.hero,
.section,
.section-warm,
.section-family,

/* Лёгкая тень остаётся у карточек — они как бы «лежат» на ткани */

/* Футер — тёмный, но с мягким градиентом для перехода */

/* Уважение к настройкам доступности */
@media (prefers-reduced-motion: reduce) {
  body { animation: none !important; }
}

/* Подложка — градиент из 7 бежевых оттенков */

  50%  { background-position: 80% 60%; }
  75%  { background-position: 50% 20%; }
  100% { background-position: 0% 50%; }
}

/* SVG-фильтр турбулентности — «складки ткани» */

/* Все секции полностью прозрачные, чтобы ткань была видна */
.hero,
.section,
.section-warm,
.section-family,

/* Карточки — полупрозрачное «стекло», лежащее на ткани */

/* Футер — тёмный, отдельно от ткани */

/* Уважение к настройкам доступности */
@media (prefers-reduced-motion: reduce) {
  body,
  
}

/* Секции — полностью прозрачные */
.hero,
.section,
.section-warm,
.section-family,

/* Карточки — полупрозрачное стекло */

/* Футер — тёмный */

@media (prefers-reduced-motion: reduce) {
  body { animation: none !important; }
}

}

.hero,
.section,
.section-warm,
.section-family,

@media (prefers-reduced-motion: reduce) {
  body { animation: none !important; }
}

/* Тканевый слой — отдельный элемент на весь экран, чуть больше вьюпорта */


.hero,
.section-warm,
.section-family,
.section-form { background: transparent; position: relative; z-index: 1; }

.principle,
.doc-card,
.bento-card,
blockquote {
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(3px);
}

.footer { background: linear-gradient(180deg, #2a1e14 0%, #1f150d 100%); position: relative; z-index: 2; }

@media (max-width: 820px) {
  
}

html, body {
  background: #faf2e2 !important;
  margin: 0;
  padding: 0;
}


/* ═══ ПЛАНШЕТЫ И ТЕЛЕФОНЫ ═══ */

/* Планшет: чуть уменьшаем отступы, оставляем анимацию */

/* Мобильные: убираем fixed (iOS Safari с ним глючит) и animation */

/* iOS Safari: отключаем fixed — иначе фон «дёргается» при скролле */
@supports (-webkit-touch-callout: none) {
  body::before {
    position: absolute;
    height: 100vh;

/* Отключение анимации для экономии батареи на мобильных */

/* Пользователь явно просил без анимации */

/* ═══════════════════════════════════════════════════════════
   ФОН — рабочий, светлый, анимированный
   Только CSS-градиенты (без SVG, без PNG — работает везде)
   ═══════════════════════════════════════════════════════════ */

body {
  background: #faf2e2;
  position: relative;
}

/* Секции прозрачные */
.section,
.hero,
.section-warm,
.section-family,
.section-form {
  background: transparent !important;
  position: relative;
  z-index: 1;
}



/* Карточки — светлые, на фоне */
.principle,
.doc-card,
.bento-card,
blockquote {
  background: rgba(255, 253, 248, 0.92) !important;
}

.footer {
  background: linear-gradient(180deg, #2a1e14 0%, #1f150d 100%) !important;
  position: relative;
  z-index: 2;
}

/* Мобильные */
@media (max-width: 820px) {
  
  body::before { animation-duration: 90s; }
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   ФОН и ФОТО — финальные стили
   ═══════════════════════════════════════════════════════════ */

html, body {
  background: #faf2e2 !important;
}

/* Секции прозрачные */
.section,
.hero,
.section-warm,
.section-family,
.section-form {
  background: transparent !important;
  position: relative;
  z-index: 1;
}



/* Карточки — светлые */
.principle,
.doc-card,
.bento-card,
blockquote {
  background: rgba(255, 253, 248, 0.92) !important;
  border-radius: 20px !important;
  box-shadow: 0 1px 2px rgba(23, 29, 39, .04),
              0 6px 16px rgba(23, 29, 39, .06),
              0 20px 44px rgba(23, 29, 39, .05) !important;
}

/* Фото в секциях — скругления и тень */

.footer {
  background: linear-gradient(180deg, #2a1e14 0%, #1f150d 100%) !important;
  position: relative;
  z-index: 2;
}

@media (max-width: 820px) {
  .section { padding: 56px 0 !important; }
  .family-photo-wrap img,
  .photo-frame img,
  .about-photo img,
  .doc-img-link img { border-radius: 16px; }
}

/* Кнопка в футере */
.break-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 16px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.35);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: all .25s;
  letter-spacing: 0.3px;
}
.break-btn:hover {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

/* Оверлей */
#breakOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(250, 242, 226, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  text-align: center;
}
#breakOverlay.active {
  opacity: 1;
  pointer-events: auto;
}
#breakOverlay .break-overlay-text {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.5px;
  animation: overlayPulse 1.8s ease-in-out infinite;
}

@media (max-width: 640px) {
  #breakOverlay .break-overlay-text { font-size: 22px; }
}

.share-block {
  margin: 32px 0 24px;
  text-align: center;
}
.share-block .share-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #b8a88c;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.share-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.share-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: #fff;
  transition: transform .18s, box-shadow .2s, filter .2s;
  text-decoration: none;
  position: relative;
}
.share-btn svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: #fff;
}
.share-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

/* Нативные цвета брендов */
.share-btn--vk  { background: #0077FF; box-shadow: 0 6px 18px rgba(0,119,255,.3); }
.share-btn--vk:hover  { box-shadow: 0 12px 26px rgba(0,119,255,.4); }

.share-btn--tg  { background: #229ED9; box-shadow: 0 6px 18px rgba(34,158,217,.3); }
.share-btn--tg:hover  { box-shadow: 0 12px 26px rgba(34,158,217,.4); }

.share-btn--wa  { background: #25D366; box-shadow: 0 6px 18px rgba(37,211,102,.3); }
.share-btn--wa:hover  { box-shadow: 0 12px 26px rgba(37,211,102,.4); }

.share-btn--max { background: #7B4DFF; box-shadow: 0 6px 18px rgba(123,77,255,.3); }
.share-btn--max:hover { box-shadow: 0 12px 26px rgba(123,77,255,.4); }

.share-btn--copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.share-btn--copy:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Тултип «Скопировано» */
.share-btn--copy.copied::after {
  content: 'Скопировано ✓';
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  animation: tipFade 1.6s ease forwards;
}

@media (max-width: 640px) {
  .share-btn { width: 44px; height: 44px; border-radius: 12px; }
  .share-btn svg { width: 20px; height: 20px; }
  .share-row { gap: 10px; }
}

/* ═══════════════════════════════════════════════════════════
   ФОТО: скругления + мягкая тень, как у карточек
   ═══════════════════════════════════════════════════════════ */

/* Планшет/мобильный */
@media (max-width: 820px) {
  .family-photo-wrap img,
  .photo-frame img,
  .about-photo img,
  .doc-img-link img { border-radius: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   ФОТО СЕМЬИ И ВСЕХ ФОТО — финальные скругления и тени
   Одно чистое правило, всё через !important
   ═══════════════════════════════════════════════════════════ */

.family-photo-wrap,
.photo-frame,
.about-photo,
.doc-img-link {
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 2px rgba(23,29,39,.05),
              0 8px 24px rgba(23,29,39,.08),
              0 24px 48px rgba(23,29,39,.06) !important;
}

.family-photo-wrap img,
.photo-frame img,
.about-photo img,
.doc-img-link img {
  border-radius: 20px !important;
  display: block !important;
  width: 100% !important;
}

/* Планшет/мобильный */
@media (max-width: 820px) {
  .family-photo-wrap,
  .photo-frame,
  .about-photo,
  .doc-img-link { border-radius: 16px !important; }
  .family-photo-wrap img,
  .photo-frame img,
  .about-photo img,
  .doc-img-link img { border-radius: 16px !important; }
}

/* Параметры фото семьи (без скруглений) */
.family-photo-wrap {
  max-width: 900px !important;
  margin: 0 !important;
}
.family-photo-wrap img {
  max-height: 520px !important;
  object-fit: cover !important;
  object-position: center 40% !important;
}

/* ═══ Dropdown «Услуги» в шапке ═══ */
.inner-header__dropdown { position: relative; }
.inner-header__dropdown-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500;
  letter-spacing: .6px; text-transform: uppercase; padding: 6px 2px;
  border-bottom: 2px solid transparent; transition: border-color .2s,color .2s;
  cursor: pointer; white-space: nowrap;
}
.inner-header__dropdown:hover .inner-header__dropdown-trigger,
.inner-header__dropdown-trigger:hover {
  color: var(--accent); border-bottom-color: var(--accent);
}
.inner-header__dropdown-menu { position: absolute;
  display: none;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: #fff;
  border: 1px solid rgba(23,29,39,.08);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(23,29,39,.06), 0 16px 40px rgba(23,29,39,.10);
  padding: 10px;
  z-index: 100;
}
.inner-header__dropdown:hover .inner-header__dropdown-menu { display: block; }
.inner-header__dropdown-menu::before {
  content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}
.inner-header__dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
.inner-header__dropdown-menu a:hover {
  background: #f7efe3;
  color: var(--accent);
}

@media (max-width: 720px) {
  .inner-header__dropdown-menu { position: static; transform: none; min-width: auto; box-shadow: none; border: none; padding: 4px 0 0 0; background: transparent; }
  .inner-header__dropdown:hover .inner-header__dropdown-menu { display: block; }
  .inner-header__dropdown-trigger { font-size: 13px; }
  .inner-header__dropdown-menu a { font-size: 13px; padding: 8px 12px; }
}

/* Dropdown: ссылки в меню — не заглавные */
.inner-header__dropdown-menu a {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 12px 16px !important;
  border-bottom: none !important;
}
/* ─── Отступы для секций главной ─── */
body > section.section,
body > section[id] {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}
body > section.hero,
body > section.section-form {
  padding-top: 0 !important;
}
@media (max-width: 720px) {
  body > section.section,
  body > section[id] {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}
