/* drqueen.ru: нежная пудровая палитра, розово-бирюзовые градиенты */
:root {
  --rose: #e8b4bc;
  --rose-soft: #f8e4e6;
  --rose-deep: #c97b89;
  --mint: #a8dcd9;
  --mint-soft: #e2f4f2;
  --mint-deep: #4f9c99;
  --sky: #bcd8ee;
  --sky-soft: #e6f1fa;
  --peach: #f6d5c3;
  --peach-soft: #fcefe7;
  --ink: #4a3f4b;
  --ink-soft: #7c6f7d;
  --bg: #fffafa;
  --card: #ffffff;
  --line: #f0e2e5;
  --grad: linear-gradient(135deg, #f8dfe3 0%, #f3e6f0 40%, #dff1f0 100%);
  --grad-btn: linear-gradient(135deg, #e3a3ae 0%, #8ccfcb 100%);
  --radius: 22px;
  --shadow: 0 10px 30px rgba(201, 123, 137, .12);
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint-deep); text-decoration: none; }
a:hover { color: var(--rose-deep); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.45rem; }
.container { width: min(1140px, 92%); margin: 0 auto; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tint { background: var(--grad); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p { color: var(--ink-soft); margin: 0; }
.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rose-deep); margin-bottom: 10px; font-weight: 600; }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 250, .88);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo__mark { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-btn); display: grid;
  place-items: center; color: #fff; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; flex: none; }
.logo__name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; line-height: 1.1; }
.logo__sub { font-size: .72rem; color: var(--ink-soft); letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--ink); padding: 8px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; }
.nav a:hover, .nav a.active { background: var(--rose-soft); color: var(--rose-deep); }
.nav .btn { margin-left: 6px; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex: none; }
.burger span { display: block; height: 2px; margin: 6px 10px; background: var(--ink); border-radius: 2px; }
@media (max-width: 960px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff;
    padding: 16px 4%; gap: 4px; box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; }
}

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px;
  border-radius: 999px; font-weight: 600; font-size: .95rem; border: 0; cursor: pointer; font-family: var(--font);
  background: var(--grad-btn); color: #fff !important; box-shadow: 0 8px 20px rgba(140, 207, 203, .35);
  transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201, 123, 137, .3); }
.btn--ghost { background: #fff; color: var(--rose-deep) !important; border: 1.5px solid var(--rose);
  box-shadow: none; }
.btn--sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- Главный экран ---------- */
.hero { background: var(--grad); position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero::before { width: 420px; height: 420px; background: var(--rose); top: -120px; right: -80px; }
.hero::after { width: 380px; height: 380px; background: var(--mint); bottom: -160px; left: -100px; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px;
  align-items: center; padding: clamp(48px, 8vw, 110px) 0; }
.hero__text p { font-size: 1.08rem; color: var(--ink-soft); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__badge { display: inline-flex; gap: 8px; align-items: center; background: #fff; padding: 8px 16px;
  border-radius: 999px; font-size: .85rem; box-shadow: var(--shadow); margin-bottom: 18px; color: var(--ink-soft); }
.photo-frame { aspect-ratio: 4/5; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden;
  background: linear-gradient(160deg, #fbe9ec, #e4f5f3); box-shadow: var(--shadow); position: relative;
  border: 8px solid rgba(255, 255, 255, .7); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: var(--rose-deep); padding: 24px; }
.photo-placeholder svg { width: 90px; height: 90px; opacity: .55; margin: 0 auto 12px; }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero__inner > * { min-width: 0; }
  .hero__actions { justify-content: center; }
  .photo-frame { width: 100%; max-width: 340px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .logo__name { font-size: 1rem; }
  .logo__sub { display: none; }
  .logo__mark { width: 36px; height: 36px; font-size: 1.1rem; }
  .hero__actions .btn { width: 100%; }
  .card { padding: 22px; }
}
html, body { overflow-x: hidden; }
.logo { min-width: 0; }
.logo > span:last-child { min-width: 0; }

/* ---------- Карточки ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.card { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; color: var(--ink); display: block; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(201, 123, 137, .18); color: var(--ink); }
.card h3 { margin-bottom: .3em; }
.card p { margin: 0; color: var(--ink-soft); }
.icon-bubble { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--rose-soft); color: var(--rose-deep); margin-bottom: 16px; }
.icon-bubble svg { width: 26px; height: 26px; }

.age-card { position: relative; overflow: hidden; padding: 30px 28px 26px; min-height: 210px;
  display: flex; flex-direction: column; }
.age-card__num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; line-height: 1; margin-bottom: 8px; }
.age-card__more { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .9rem; }
.tone-rose { background: linear-gradient(150deg, #fdf0f2, #f8dfe3); }
.tone-rose .age-card__num, .tone-rose .age-card__more { color: var(--rose-deep); }
.tone-mint { background: linear-gradient(150deg, #effaf9, #d5efed); }
.tone-mint .age-card__num, .tone-mint .age-card__more { color: var(--mint-deep); }
.tone-sky { background: linear-gradient(150deg, #f2f8fd, #d9e9f6); }
.tone-sky .age-card__num, .tone-sky .age-card__more { color: #5b8db5; }
.tone-peach { background: linear-gradient(150deg, #fff6f1, #f9e1d4); }
.tone-peach .age-card__num, .tone-peach .age-card__more { color: #c4805f; }

/* ---------- Отзывы ---------- */
.review { position: relative; padding-top: 44px; }
.review::before { content: "“"; position: absolute; top: 4px; left: 24px; font-family: var(--font-head);
  font-size: 4.5rem; line-height: 1; color: var(--rose); }
.review__author { margin-top: 16px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.empty { text-align: center; padding: 40px; border: 2px dashed var(--rose); border-radius: var(--radius);
  color: var(--ink-soft); background: rgba(255, 255, 255, .6); }

/* ---------- Списки ---------- */
.list { display: grid; gap: 12px; }
.list-item { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 20px; color: var(--ink); transition: background .2s, border-color .2s; }
a.list-item:hover { background: var(--rose-soft); border-color: var(--rose); color: var(--ink); }
.list-item__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--mint-soft); color: var(--mint-deep);
  display: grid; place-items: center; flex: none; }
.list-item__icon svg { width: 22px; height: 22px; }
.list-item__body { flex: 1; min-width: 0; }
.list-item__title { font-weight: 600; }
.list-item__desc { font-size: .88rem; color: var(--ink-soft); }
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--mint-soft);
  color: var(--mint-deep); font-size: .78rem; font-weight: 600; }
.tag--rose { background: var(--rose-soft); color: var(--rose-deep); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.tabs a { padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-size: .9rem; }
.tabs a.active, .tabs a:hover { background: var(--rose-soft); border-color: var(--rose); color: var(--rose-deep); }

/* ---------- Текст статей ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose img { border-radius: 16px; margin: 20px 0; }
.prose h2 { margin-top: 1.4em; }
.prose blockquote { margin: 1.5em 0; padding: 16px 24px; background: var(--mint-soft); border-left: 4px solid var(--mint);
  border-radius: 0 16px 16px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; }
.page-hero { background: var(--grad); padding: clamp(40px, 7vw, 80px) 0 clamp(32px, 5vw, 56px); text-align: center; }
.page-hero p { color: var(--ink-soft); max-width: 680px; margin: 0 auto; }
.breadcrumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 14px; }
.breadcrumbs a { color: var(--ink-soft); }

/* ---------- Сертификаты ---------- */
.cert { padding: 0; overflow: hidden; }
.cert__img { aspect-ratio: 4/3; background: var(--rose-soft); display: grid; place-items: center; overflow: hidden; }
.cert__img img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.cert__body { padding: 18px 22px; }
.lightbox { position: fixed; inset: 0; background: rgba(74, 63, 75, .85); display: none; place-items: center;
  z-index: 100; padding: 20px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 92vh; border-radius: 12px; }

/* ---------- Формы ---------- */
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input[type=text], .field input[type=number], .field input[type=date], .field input[type=email],
.field input[type=password], .field textarea, .field select {
  width: 100%; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.field textarea { min-height: 96px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; cursor: pointer; font-weight: 400 !important; }
.choice input { margin-top: 5px; accent-color: var(--rose-deep); width: 18px; height: 18px; flex: none; }
.choices-inline { display: flex; gap: 24px; flex-wrap: wrap; }
.errorlist { color: #c0392b; margin: 4px 0 0; padding: 0; list-style: none; font-size: .85rem; }
.alert { padding: 16px 20px; border-radius: 16px; background: var(--mint-soft); color: var(--mint-deep);
  margin-bottom: 20px; font-weight: 500; }
.disclaimer { background: var(--rose-soft); border-radius: var(--radius); padding: 20px 24px; font-size: .9rem;
  color: var(--ink-soft); border: 1px solid var(--rose); }

/* ---------- Анкета ---------- */
.q-sheet { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 44px);
  max-width: 820px; margin: 0 auto; }
.q-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 22px; }
.q-number { font-size: .9rem; color: var(--ink-soft); }
.q-number b { color: var(--ink); font-size: 1.1rem; letter-spacing: .08em; }
.q-section { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--rose-deep);
  margin: 26px 0 6px; padding-top: 12px; border-top: 1px dashed var(--line); }
.q-item { padding: 12px 0; break-inside: avoid; }
.q-item > label, .q-item > .q-label { font-weight: 600; display: block; margin-bottom: 6px; }
.q-n { color: var(--rose-deep); margin-right: 4px; }
.q-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.privacy-note { display: flex; gap: 12px; align-items: flex-start; background: var(--mint-soft); border-radius: 16px;
  padding: 14px 18px; font-size: .88rem; margin-bottom: 22px; }
.print-only { display: none; }

/* ---------- QR-карточка ---------- */
.qr-card { width: 100%; max-width: 420px; margin: 30px auto; background: #fff; border-radius: 28px; padding: 32px;
  text-align: center; box-shadow: var(--shadow); border: 2px solid var(--rose-soft); }
.qr-card svg { width: 240px; height: 240px; margin: 18px auto; display: block; }

/* ---------- Коллегам ---------- */
.ad { border: 1px dashed var(--mint); background: var(--mint-soft); }
.ad__label { font-size: .72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .12em; }
.colleagues-bar { background: linear-gradient(90deg, #dff1f0, #f3e6f0); padding: 10px 0; font-size: .9rem; }
.colleagues-bar .container { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.chat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column;
  height: 70vh; min-height: 420px; overflow: hidden; }
.chat__log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: #fffafa; }
.msg { max-width: 75%; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: #fff; border: 1px solid var(--line); }
.msg--mine { align-self: flex-end; background: var(--rose-soft); border-color: var(--rose); border-radius: 18px 18px 4px 18px; }
.msg__meta { font-size: .74rem; color: var(--ink-soft); margin-bottom: 2px; }
.msg__text { white-space: pre-wrap; word-wrap: break-word; }
.chat__form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.chat__form textarea { flex: 1; resize: none; height: 48px; border-radius: 14px; border: 1.5px solid var(--line);
  padding: 12px 14px; font: inherit; }
.search { display: flex; gap: 10px; max-width: 520px; margin: 0 auto 28px; }
.search input { flex: 1; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line); font: inherit; }

/* ---------- Подвал ---------- */
.footer { background: #4a3f4b; color: #e9dde2; padding: 56px 0 28px; margin-top: 0; }
.footer a { color: #f3cdd4; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer h4 { font-family: var(--font-head); font-size: 1.3rem; color: #fff; margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: .82rem;
  color: #bfaeb6; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Печать ---------- */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11.5pt; }
  .header, .footer, .no-print, .page-hero, .colleagues-bar { display: none !important; }
  .print-only { display: block; }
  .section { padding: 0; }
  .q-sheet { box-shadow: none; padding: 0; max-width: none; }
  .field input, .field textarea { border: 0; border-bottom: 1px solid #999; border-radius: 0; padding: 4px 0; }
  .field textarea { min-height: 60px; }
  .q-section { color: #000; }
  a { color: #000; }
  .qr-card { box-shadow: none; border: 1px solid #ccc; }
}
