:root {
  --section-pad: 5rem;
}
.section-h2 {
  margin-bottom: 2.5rem;
}
/* ══════════════════════════════════════════
   1. КНОПКИ
══════════════════════════════════════════ */
.btn-primary {
  background: var(--sage-dk);
  color: #fff;
  padding: .6rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--sage); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--sage-dk);
  border: 1px solid rgba(62, 94, 68, .4);
  padding: .6rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
}
.btn-outline:hover { background: var(--sage-10); }

.btn-white {
  background: #fff;
  color: var(--sage-dk);
  padding: .75rem 2rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-md);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background .2s;
}
.btn-white:hover { background: var(--ivory); }


/* ══════════════════════════════════════════
   2. HERO
══════════════════════════════════════════ */
.hero {
  background: var(--cream);
  border-bottom: var(--border-sage);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad) 2rem;
  display: flex;
  align-items: stretch;
  gap: 60px;
}

.hero-left {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.hero-left .section-label { text-align: left; }

.hero-title {
  font-family: var(--serif);
  font-size: var(--text-4xl);
  line-height: 1.25;
  color: var(--text);
  margin: 0;
}

.hero-desc {
  font-size: var(--text-body);
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.hero-since {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--warm);
}

.hero-since::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--warm);
  display: block;
  flex-shrink: 0;
}

.hero-right {
  flex: 0 0 60%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════════
   3. SERVICES
══════════════════════════════════════════ */
.services { background: var(--cream); padding: 5rem 2rem; }
.services-inner { max-width: 1200px; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }

/* ══════════════════════════════════════════
   PROMO CARD — меню акций (ресторанный стиль)
══════════════════════════════════════════ */
.promo-card {
  background: #2D5443;
  border-radius: var(--radius-lg);
  padding: 24px 22px 20px;
  grid-column: 1;
  grid-row: auto;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  font-family: Georgia, 'Times New Roman', serif;
  transition: transform .2s ease, box-shadow .2s ease;
}
.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(30,50,34,.35);
}

/* ─── Шапка: только бейдж по центру ─── */
.promo-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

/* ─── Бейдж АКЦИИ — пульсирует ─── */
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  border: .5px solid rgba(255,255,255,.3);
  background: #c0392b;
  animation: badge-heartbeat 1.4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes badge-heartbeat {
  0%   { transform: scale(1);    }
  10%  { transform: scale(1.1);  }
  20%  { transform: scale(1);    }
  30%  { transform: scale(1.06); }
  40%  { transform: scale(1);    }
  100% { transform: scale(1);    }
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  animation: dot-blink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dot-blink {
  0%,100% { opacity: 1; }
  30%,50% { opacity: .2; }
}

/* ─── Разделитель с ромбиком ─── */
.promo-card__divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 8px;
}
.promo-card__divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.15);
}
.promo-card__divider-gem {
  width: 7px;
  height: 7px;
  background: #E07A3A;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ─── Подзаголовок — счётчик внутри ─── */
.promo-card__subtitle {
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  letter-spacing: .12em;
  color: rgb(255 255 255 / 77%);
  margin-bottom: 10px;
}

/* старый счётчик — скрыт, теперь он внутри subtitle ─── */
.promo-card__count {
  display: none;
}

/* ─── Внутренняя рамка ─── */
.promo-card__inner {
  border: .5px solid rgba(255,255,255,.13);
  border-radius: 4px;
  padding: 4px 12px 10px;
  flex: none;
  display: flex;
  flex-direction: column;
}

/* ─── Список акций ─── */
.promo-card__list {
  display: flex;
  flex-direction: column;
  flex: none;
}

/* ─── Одна акция ─── */
.promo-card__item {
  display: flex;
  align-items: baseline;
  padding: 11px 0;
  border-top: .5px solid rgba(255,255,255,.08);
}
.promo-card__item:first-child {
  border-top: none;
}

/* Название — курсив как в меню */
.promo-card__item-name {
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,.92);
  line-height: 1.3;
  flex-shrink: 0;
}

/* Точки между названием и ценой */
.promo-card__item-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(255,255,255,.2);
  margin: 0 8px 4px;
  min-width: 10px;
}

.promo-card__item-right {
  text-align: right;
  flex-shrink: 0;
}

/* Цена/скидка */
.promo-card__item-price {
  font-size: 24px;
  font-weight: 400;
  color: #F5EDD5;
  font-family: Georgia, 'Times New Roman', serif;
  white-space: nowrap;
}

/* Дни — оранжевые */
.promo-card__item-days {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: #E07A3A;
  margin-top: 2px;
  white-space: nowrap;
  text-align: right;
}

/* Бессрочно — приглушённо */
.promo-card__item-days--endless {
  color: rgba(255,255,255,.32);
}

/* Последний день — ярче */
.promo-card__item-days--last {
  color: #f39c12;
  font-weight: 700;
}

@media (max-width: 500px) {
  .promo-card__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .promo-card__item-dots {
    display: none;
  }

  .promo-card__item-right {
    text-align: left;
  }

  .promo-card__item-name {
    font-size: 18px;
  }

  .promo-card__item-price {
    font-size: 20px;
  }

  .promo-card__item-days {
    text-align: left;
  }
}




/* ─── Футер ─── */
.promo-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: .5px solid rgba(255,255,255,.1);
}

.promo-card__cta {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #E07A3A;
  border-bottom: .5px solid #E07A3A;
  padding-bottom: 1px;
}

.promo-card__arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: .5px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  transition: background .2s, color .2s;
}

.promo-card:hover .promo-card__arrow {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* Старые классы — скрыты */
.promo-discount,
.promo-title,
.promo-desc,
.promo-cond { display: none; }

/* Старые классы promo — оставлены для совместимости, скрыты */
.promo-discount,
.promo-title,
.promo-desc,
.promo-cond { display: none; }


.service-card { background: var(--white); border: var(--border-sage); border-radius: var(--radius-lg); padding: 1.6rem; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--sage-lt); transition: background .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(42,36,32,.07); }
.service-card:hover::before { background: var(--sage-dk); }
.service-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}


.service-icon { width: 90px; height: 90px; background: transparent; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 0rem; }
.service-icon svg { width: 85px; height: 85px; }

.service-title { font-family: var(--serif); font-size: var(--text-xl); font-weight: 600; color: var(--text); margin-bottom: 0rem; }
.service-desc  { font-size: var(--text-base); color: var(--muted); line-height: 1.65; }
.service-price { margin-top: .85rem; font-size: var(--text-sm); font-weight: 700; color: var(--sage-dk); }


/* ══════════════════════════════════════════
   4. ADVANTAGES
══════════════════════════════════════════ */
.advantages { background: var(--sage-dk); padding: 5rem 2rem; }
.advantages-inner { max-width: 1200px; margin: 0 auto; }
.advantages .section-label { color: rgba(255,255,255,.5); border-bottom: .5px solid rgba(255,255,255,.12); }
.advantages .section-h2    { color: #fff; margin-top: .5rem; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 2.5rem; }
.adv-card { background: rgba(255,255,255,.06); border: .5px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
.adv-card .stat-number    { color: #fff; }
.adv-card .stat-number em { color: var(--sage-lt); }
.adv-card-lbl { font-size: var(--text-sm); color: rgba(255,255,255,.65); margin-top: .75rem; line-height: 1.5; }


/* ══════════════════════════════════════════
   5. TEAM
══════════════════════════════════════════ */
.team { background: var(--cream); padding: 5rem 2rem; }
.team-inner { max-width: 1200px; margin: 0 auto; }

.cork-board {
  background-color: #b8845a;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent, transparent 2px,
      rgba(0,0,0,0.025) 2px, rgba(0,0,0,0.025) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent, transparent 3px,
      rgba(255,255,255,0.03) 3px, rgba(255,255,255,0.03) 5px
    );
  border-radius: var(--radius-lg);
  border: 6px solid #7a4f2a;
  padding: 40px 32px 32px;
  position: relative;
  box-shadow:
    inset 0 3px 10px rgba(0,0,0,0.2),
    inset 0 -2px 6px rgba(0,0,0,0.1);
}

/* ─── Сетка стикеров ─── */
.cork-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ─── Один стикер ─── */
.cork-sticker {
  background: #fffef0;
  border-radius: 3px;
  padding: 32px 28px 36px;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.18), 0 1px 2px rgba(0,0,0,0.1);
  margin-top: 20px;
}

/* Чередуем цвета и углы */
.cork-sticker--1 { transform: rotate(-1.5deg); background: #fffef0; }
.cork-sticker--2 { transform: rotate(1.2deg);  background: #f0fdf4; }
.cork-sticker--3 { transform: rotate(-0.8deg); background: #fff5f0; }
.cork-sticker--4 { transform: rotate(1.8deg);  background: #f0f8ff; }
.cork-sticker--5 { transform: rotate(-1.2deg); background: #fefff0; }
.cork-sticker--6 { transform: rotate(0.9deg);  background: #f5f0ff; }
.cork-sticker--7 { transform: rotate(-1.6deg); background: #fff0f8; }
.cork-sticker--8 { transform: rotate(1.4deg);  background: #f0fffc; }

.cork-sticker:hover {
  transform: rotate(0deg) scale(1.05) !important;
  box-shadow: 4px 8px 20px rgba(0,0,0,0.25);
  z-index: 2;
}

/* ─── Булавка с ножкой ─── */
.cork-pin {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 2px 5px rgba(0,0,0,0.35),
              inset 0 -2px 3px rgba(0,0,0,0.2),
              inset 0 2px 3px rgba(255,255,255,0.3);
}

.cork-pin::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 12px;
  background: linear-gradient(to bottom, #999, #555);
  border-radius: 0 0 2px 2px;
}

/* Каждая булавка своего цвета */
.cork-sticker--1 .cork-pin { background: #c0392b; } /* красная    */
.cork-sticker--2 .cork-pin { background: #2D5443; } /* зелёная    */
.cork-sticker--3 .cork-pin { background: #E07A3A; } /* оранжевая  */
.cork-sticker--4 .cork-pin { background: #2980b9; } /* синяя      */
.cork-sticker--5 .cork-pin { background: #8e44ad; } /* фиолетовая */
.cork-sticker--6 .cork-pin { background: #c0392b; } /* красная    */
.cork-sticker--7 .cork-pin { background: #2D5443; } /* зелёная    */
.cork-sticker--8 .cork-pin { background: #E07A3A; } /* оранжевая  */

/* ─── Аватар ─── */
.cork-avatar {
  width: 180px;
  height: 180px;
  border-radius: 10%;
  overflow: hidden;
  border: 3px solid rgba(45, 84, 67, 0.25);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.cork-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.cork-avatar__placeholder {
  width: 100%;
  height: 100%;
  background: #d8ead9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a7a52;
}

.cork-avatar__placeholder svg {
  width: 60px;
  height: 60px;
}

/* ─── Текст ─── */
.cork-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  color: #1a2a1a;
  line-height: 1.3;
  margin: 0 0 6px;
}

.cork-role {
  font-size: 18px;
  text-align: center;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.cork-divider {
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,0.07);
  margin: 14px 0;
}

.cork-exp {
  font-size: 14px;
  text-align: center;
  color: #2D5443;
  font-weight: 600;
  margin: 0;
  letter-spacing: .04em;
}

/* ─── Кнопка внизу ─── */
.cork-footer {
  text-align: center;
  margin-top: 28px;
}

.cork-btn {
  display: inline-block;
  padding: .7rem 2rem;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(45, 84, 67, 0.4);
  border-radius: var(--radius-pill);
  color: #2D5443;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.cork-btn:hover {
  background: #2D5443;
  color: #fff;
  border-color: #2D5443;
}

/* ══════════════════════════════════════════
   АДАПТИВ ПРОБКОВОЙ ДОСКИ
══════════════════════════════════════════ */
/* ══════════════════════════════════════════
   АДАПТИВ ПРОБКОВОЙ ДОСКИ
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .cork-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .cork-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cork-board {
    padding: 28px 16px 24px;
    border-width: 4px;
  }
  .cork-sticker {
    padding: 22px 16px 24px;
  }
  .cork-avatar {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 767px) {
  .cork-board   { padding: 28px 16px 24px; border-width: 4px; }
  .cork-grid    { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cork-sticker { padding: 22px 16px 24px; }
  .cork-avatar  { width: 100px; height: 100px; }
  .cork-name    { font-size: 16px; }
  .cork-role    { font-size: 13px; }
}

@media (max-width: 480px) {
  .cork-grid    { grid-template-columns: 1fr; gap: 12px; }
  .cork-avatar  { width: 90px; height: 90px; }
  .cork-name    { font-size: 15px; }
  .cork-role    { font-size: 12px; }
}

/* ══════════════════════════════════════════
   6. BEFORE / AFTER
══════════════════════════════════════════ */
.portfolio { padding: 4rem 2rem; background: var(--cream); }
.portfolio-inner { max-width: 1200px; margin: 0 auto; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }

.ba-card { background: var(--white); border: var(--border-sage); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.ba-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(42,36,32,.07); }

.ba-slider { position: relative; height: 260px; overflow: hidden; cursor: ew-resize; user-select: none; }
.ba-after { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; }
.ba-label-after { position: absolute; top: .75rem; right: .75rem; font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); padding: .2rem .6rem; border-radius: var(--radius-sm); background: var(--sage-dk-85); pointer-events: none; }
.ba-before { position: absolute; top: 0; left: 0; bottom: 0; width: 20%; z-index: 3; overflow: hidden; }
.ba-before-img { position: absolute; top: 0; left: 0; bottom: 0; width: 500px; background-size: cover; background-position: left center; }
.ba-label-before { position: absolute; top: .75rem; left: .75rem; font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); padding: .2rem .6rem; border-radius: var(--radius-sm); background: var(--text-55); z-index: 4; pointer-events: none; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 20%; width: 2px; background: rgba(255,255,255,.9); z-index: 5; transform: translateX(-50%); }
.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(42, 36, 32, .25);
  color: var(--sage-dk);
  border: 1.5px solid var(--sage-20);
}
.ba-info { padding: 1.25rem; border-top: var(--border-sage); }
.ba-title { font-family: var(--serif); font-size: var(--text-lg); font-weight: 600; color: var(--text); margin-bottom: .35rem; }
.ba-desc { font-size: var(--text-sm); color: var(--muted); line-height: 1.65; }

.ba-card--hidden { display: none; }
.ba-card--hidden.ba-card--visible { display: block; }

.portfolio-more { text-align: center; margin-top: 2rem; }

.btn-portfolio-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .7rem 2rem;
  border: 1.5px solid rgba(62, 94, 68, .4);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--sage-dk);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-portfolio-more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; transition: transform .3s; }
.btn-portfolio-more:hover { background: var(--sage-dk); color: #fff; }
.btn-portfolio-more.is-open svg { transform: rotate(180deg); }


/* ══════════════════════════════════════════
   7. REVIEWS
══════════════════════════════════════════ */
.reviews { background: var(--ivory); padding: 5rem 2rem; }
.reviews-inner { max-width: 1200px; margin: 0 auto; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }

.review-card { background: var(--white); border: var(--border-sage); border-radius: var(--radius-lg); padding: 1.75rem; }
.review-stars { display: flex; gap: 4px; margin-bottom: 1rem; }
.review-stars--center { justify-content: center; margin-top: .25rem; margin-bottom: 0; }
.star { width: 14px; height: 14px; fill: var(--warm); }
.review-text { font-size: var(--text-md); line-height: 1.75; color: var(--text); margin-bottom: 1.25rem; font-family: var(--serif); font-style: italic; }
.review-author { display: flex; align-items: center; gap: .75rem; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sage-10); border: 1px solid var(--sage-25); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: var(--text-md); color: var(--sage-dk); flex-shrink: 0; }
.review-name   { font-weight: 600; font-size: var(--text-sm); }
.review-source { font-size: var(--text-xs); color: var(--muted); }

.reviews-rating { display: flex; align-items: center; gap: 2rem; justify-content: center; margin-top: 2.5rem; padding-top: 2rem; border-top: var(--border-sage); }
.rating-block   { text-align: center; }
.rating-val     { font-family: var(--serif); font-size: var(--text-4xl); color: var(--sage-dk); }
.rating-src     { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .15em; color: var(--muted); margin-top: .3rem; }
.rating-divider { width: 1px; height: 60px; background: var(--sage-20); flex-shrink: 0; }


/* ══════════════════════════════════════════
   8. DIAGNOSTICS CTA
══════════════════════════════════════════ */
.diagnostics { background: linear-gradient(135deg, var(--sage-dk) 0%, #2a4030 100%); padding: 4rem 2rem; }
.diagnostics-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.diagnostics-text h2 { color: #fff; font-size: var(--text-4xl); margin-bottom: 1rem; }
.diagnostics-text p  { color: rgba(255,255,255,.7); font-size: var(--text-md); line-height: 1.8; margin-bottom: 1.5rem; }
.diagnostics-label   { color: rgba(255,255,255,.5) !important; }

.diag-features { list-style: none; display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
.diag-features li { display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.85); font-size: var(--text-md); }
.diag-check { width: 20px; height: 20px; background: var(--sage); border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.diag-check svg { width: 11px; height: 11px; stroke: #fff; stroke-width: 2.5; fill: none; }

.diag-visual { background: rgba(255,255,255,.06); border: .5px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
.diag-visual svg { width: 100px; height: 100px; stroke: rgba(255,255,255,.3); fill: none; stroke-width: 1; margin: 0 auto; }
.diag-note { font-size: var(--text-sm); color: rgba(255,255,255,.45); margin-top: 1rem; }


/* ══════════════════════════════════════════
   9. TECHNOLOGIES
══════════════════════════════════════════ */
.technologies { padding: 5rem 2rem; background: var(--ivory); }
.technologies-inner { max-width: 1200px; margin: 0 auto; }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.tech-item { text-align: center; padding: 2rem 1rem; background: var(--white); border: var(--border-sage); border-radius: var(--radius-lg); }
.tech-icon { width: 56px; height: 56px; margin: 0 auto 1rem; background: var(--sage-10); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.tech-icon svg { width: 80px; height: 80px; fill: none; stroke-width: 1.5; }
.tech-name { font-family: var(--serif); font-size: var(--text-xl); margin-bottom: .4rem; }
.tech-desc { font-size: var(--text-sm); color: var(--muted); line-height: 1.6; }


/* ══════════════════════════════════════════
   10. FINANCING
══════════════════════════════════════════ */
.financing { padding: var(--section-pad) 2rem; background: var(--sage-10); border-top: var(--border-sage); border-bottom: var(--border-sage); }
.financing-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 4rem; flex-wrap: wrap; }
.financing-text  { flex: 1; min-width: 280px; }

.financing-title { font-family: var(--serif); font-size: var(--text-3xl); color: var(--text); margin: .75rem 0 1rem; font-weight: 400; }
.financing-desc  { color: var(--muted); max-width: 420px; font-size: var(--text-md); }

.financing-options { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.fin-option { background: var(--white); border: var(--border-sage); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; text-align: center; min-width: 140px; }
.fin-option-val { font-family: var(--serif); font-size: var(--text-2xl); color: var(--sage-dk); }
.fin-option-lbl { font-size: var(--text-xs); color: var(--muted); margin-top: .25rem; }


/* ══════════════════════════════════════════
   11. FAQ
══════════════════════════════════════════ */
.faq { padding: 5rem 2rem; background: var(--cream); }
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-list  { margin-top: 2.5rem; display: flex; flex-direction: column; gap: .75rem; }

.faq-item { background: var(--white); border: .5px solid var(--sage-28); border-radius: var(--radius-md); overflow: hidden; }
.faq-q    { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; cursor: pointer; gap: 1rem; font-size: var(--text-lg); font-family: var(--serif); color: var(--text); list-style: none; }
.faq-q::-webkit-details-marker { display: none; }

.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; background: var(--sage-10); border: .5px solid var(--sage-40); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform .25s, background .2s; }
.faq-chevron svg { width: 10px; height: 10px; stroke: var(--sage-dk); fill: none; stroke-width: 2.5; }
details[open] .faq-chevron { transform: rotate(180deg); background: var(--sage-dk); }
details[open] .faq-chevron svg { stroke: #fff; }

.faq-a { padding: 1rem 1.5rem 1.25rem; font-size: var(--text-md); color: var(--muted); line-height: 1.8; border-top: .5px solid var(--sage-18); }


/* ══════════════════════════════════════════
   12. CERTIFICATES
══════════════════════════════════════════ */
.certificates { padding: 5rem 2rem; background: var(--ivory); }
.certificates-inner { max-width: 1200px; margin: 0 auto; }

.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.5rem; }
.cert-item { background: var(--white); border: .5px solid var(--sage-28); border-radius: var(--radius-md); padding: 1rem; text-align: center; }

.cert-photo { width: 100%; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: .75rem; border: .5px solid var(--sage-20); }
.cert-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.cert-item:hover .cert-photo img { transform: scale(1.04); }
.cert-title { font-size: var(--text-sm); font-weight: 600; color: var(--text); line-height: 1.4; }
.cert-year  { font-size: var(--text-xs); color: var(--muted); margin-top: .3rem; }

.cert-slider-wrap { display: flex; align-items: center; gap: 12px; margin-top: 2.5rem; }
.cert-viewport { flex: 1; overflow: hidden; min-width: 0; }
.cert-slider { display: flex; gap: 12px; transition: transform .35s ease; will-change: transform; }
.cert-slider .cert-item { flex-shrink: 0; }

.cert-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(62, 94, 68, .4); background: var(--white); color: var(--sage-dk); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background .15s, color .15s; }
.cert-arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cert-arrow:hover { background: var(--sage-dk); color: #fff; }
.cert-arrow:disabled { opacity: .3; cursor: default; }

.cert-dots { display: flex; gap: 6px; justify-content: center; margin-top: 1rem; }
.cert-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage-20); cursor: pointer; transition: background .2s, transform .2s; border: none; padding: 0; }
.cert-dot.active { background: var(--sage-dk); transform: scale(1.3); }

@media (max-width: 1100px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .cert-grid { grid-template-columns: 1fr; } }




/* ══════════════════════════════════════════
   14. SCROLL-REVEAL
══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible  { opacity: 1; transform: none; }
.reveal-delay-1  { transition-delay: .1s; }
.reveal-delay-2  { transition-delay: .2s; }
.reveal-delay-3  { transition-delay: .3s; }
.reveal-delay-4  { transition-delay: .4s; }


/* ══════════════════════════════════════════
   15. АДАПТИВ
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .adv-grid,
  .team-grid,
  .tech-grid     { grid-template-columns: repeat(2, 1fr); }
  .cert-grid     { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .promo-card    { grid-row: auto; }
}

@media (max-width: 991px) {
  .dh-wrap,
  .diagnostics-inner,
  .contacts-inner { grid-template-columns: 1fr; }
  .portfolio-grid,
  .reviews-grid   { grid-template-columns: repeat(2, 1fr); }
  .dh-scene       { max-width: 320px; }
  .dh-r1          { width: 280px; height: 280px; }
  .dh-r2          { width: 220px; height: 220px; }
  .dh-r3          { width: 166px; height: 166px; }
  .dh-rspin       { width: 258px; height: 258px; }
  .dh-rspin2      { width: 142px; height: 142px; }
  .dh-tooth-anchor { width: 150px; height: 150px; }
}

@media (max-width: 767px) {
  .services-grid,
  .portfolio-grid,
  .reviews-grid,
  .adv-grid,
  .team-grid,
  .tech-grid,
  .cert-grid      { grid-template-columns: 1fr; }
  .financing-inner { flex-direction: column; gap: 2rem; }
  .reviews-rating  { flex-direction: column; gap: 1.5rem; }
  .rating-divider  { width: 60px; height: 1px; }
  .contacts-inner  { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
  .dh-wrap       { padding: 28px 16px; gap: 24px; }
  .dh-scene-wrap { display: none; }
}


/* ══════════════════════════════════════════
   LAB BLOCK
══════════════════════════════════════════ */
.lab-wrap {
  background: #3E5E44;
  border-radius: 18px;
  padding: var(--section-pad) 3rem;
  display: flex;
  gap: 48px;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #fff;
}
.lab-text { flex: 1; min-width: 0; }
.lab-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #A8C5AD;
  margin-bottom: 16px;
  display: block;
}
.lab-h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 14px;
  color: #fff;
}
.lab-desc {
  line-height: 1.75;
  color: rgba(255,255,255,0.62);
  margin: 0 0 26px;
}
.lab-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.lab-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-base);
  color: rgba(255,255,255,0.88);
}
.lab-chk { width: 18px; height: 18px; border-radius: 50%; background: rgba(168,197,173,0.15); border: 1px solid rgba(168,197,173,0.5); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lab-chk svg { width: 9px; height: 9px; stroke: #A8C5AD; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.btn-lab {
  display: inline-block;
  padding: 12px 28px;
  background: rgba(168,197,173,0.18);
  border: 1px solid rgba(168,197,173,0.55);
  color: #fff;
  border-radius: 100px;
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}
.btn-lab:hover { background: rgba(168,197,173,0.3); }

.lab-visual {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  position: relative;
}
.lab-note {
  text-align: center;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.38);
  margin-top: 12px;
  line-height: 1.5;
}

/* SVG animations */
@keyframes spin-slow  { to { transform: rotate(360deg);  transform-origin: 150px 150px; } }
@keyframes spin-rev   { to { transform: rotate(-360deg); transform-origin: 150px 150px; } }
@keyframes pulse-ring { 0%,100% { opacity: .25; } 50% { opacity: .6; } }
@keyframes scan-line  { 0% { transform: translateY(-60px); opacity: 0; } 30% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(60px); opacity: 0; } }
@keyframes blink-dot  { 0%,100% { opacity: 1; } 50% { opacity: .15; } }

#ring1 { animation: spin-slow 18s linear infinite; transform-origin: 150px 150px; }
#ring2 { animation: spin-rev  12s linear infinite; transform-origin: 150px 150px; }
#ring3 { animation: spin-slow  8s linear infinite; transform-origin: 150px 150px; }
#pulse1 { animation: pulse-ring 3s ease-in-out infinite; }
#pulse2 { animation: pulse-ring 3s ease-in-out infinite .8s; }
#pulse3 { animation: pulse-ring 3s ease-in-out infinite 1.6s; }
#scanl  { animation: scan-line 3.5s ease-in-out infinite; }

.d1 { animation: blink-dot 2.4s ease-in-out infinite; }
.d2 { animation: blink-dot 2.4s ease-in-out infinite .4s; }
.d3 { animation: blink-dot 2.4s ease-in-out infinite .8s; }
.d4 { animation: blink-dot 2.4s ease-in-out infinite 1.2s; }
.d5 { animation: blink-dot 2.4s ease-in-out infinite 1.6s; }
.d6 { animation: blink-dot 2.4s ease-in-out infinite 2.0s; }

/* ─── Адаптив ─── */
@media (max-width: 991px) {
  .lab-wrap {
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 32px;
    border-radius: 14px;
  }
  .lab-visual {
    width: 220px;
    height: 220px;
    margin: 0 auto;
  }
  .lab-visual svg {
    width: 220px !important;
    height: 220px !important;
  }
}

@media (max-width: 767px) {
  .lab-wrap {
    padding: 2.5rem 1.5rem;
    gap: 24px;
    border-radius: 12px;
  }
  .lab-h2 {
    font-size: 1.4rem;
  }
  .lab-desc {
    font-size: var(--text-sm);
  }
  .lab-visual {
    width: 180px;
    height: 180px;
  }
  .lab-visual svg {
    width: 180px !important;
    height: 180px !important;
  }
  .lab-note {
    font-size: var(--text-xs);
  }
}

@media (max-width: 480px) {
  .lab-wrap {
    padding: 2rem 1.25rem;
    border-radius: 10px;
  }
  .lab-h2 {
    font-size: 1.2rem;
  }
  .lab-list li {
    font-size: var(--text-sm);
  }
  .lab-list {
    margin-bottom: 20px;
  }
  .lab-visual {
    width: 150px;
    height: 150px;
  }
  .lab-visual svg {
    width: 150px !important;
    height: 150px !important;
  }
}

/* ══════════════════════════════════════════
   КАРУСЕЛЬ ВРАЧЕЙ
══════════════════════════════════════════ */
.doctors-carousel-wrap { position: relative; display: flex; align-items: center; gap: 12px; margin: 2rem 0 1.5rem; }
.doctors-carousel { display: flex; gap: 18px; overflow: hidden; scroll-behavior: smooth; flex: 1; }

.doc-slide { flex: 0 0 calc(33.333% - 12px); background: var(--white); border: 1px solid var(--sage-dk-18); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.doc-slide:hover { box-shadow: 0 8px 32px rgba(62,94,68,.13); transform: translateY(-4px); }

.doc-slide__photo { position: relative; width: 100%; height: 260px; overflow: hidden; background: var(--ivory); flex-shrink: 0; }
.doc-slide__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .35s ease; }
.doc-slide:hover .doc-slide__photo img { transform: scale(1.04); }
.doc-slide__no-photo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: var(--text-5xl); }
.doc-slide__badge { position: absolute; top: 12px; left: 12px; background: var(--sage-dk); color: var(--white); font-size: var(--text-xs); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); }

.doc-slide__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.doc-slide__name { font-family: var(--serif); font-size: var(--text-md); font-weight: 600; color: var(--text); line-height: 1.2; }
.doc-slide__pos  { font-size: var(--text-xs); color: var(--muted); letter-spacing: .04em; margin-top: -6px; }
.doc-slide__specs { display: flex; flex-wrap: wrap; gap: 5px; }

.doc-slide__stats { display: flex; gap: 0; margin-top: auto; border-top: .5px solid var(--sage-20); padding-top: 10px; }
.doc-slide__stat { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 4px 8px; border-right: .5px solid var(--sage-15); }
.doc-slide__stat:last-child { border-right: none; }
.doc-slide__stat-val { font-family: var(--serif); font-size: var(--text-xl); font-weight: 700; color: var(--sage-dk); line-height: 1; }
.doc-slide__stat-lbl { font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; text-align: center; }

.carousel-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--sage-dk-40); background: var(--white); color: var(--sage-dk); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background .15s, color .15s; }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover { background: var(--sage-dk); color: var(--white); }
.carousel-btn:disabled { opacity: .3; cursor: default; }


/* ══════════════════════════════════════════
   TEAM SECTION
══════════════════════════════════════════ */
.team-section {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(168,210,160,0.7) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(200,225,170,0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(140,190,150,0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(210,230,185,0.6) 0%, transparent 50%),
    #deecd8;
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.5rem);
  margin: 2rem 0 1.5rem;
}

.team-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
.team-left { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.team-heading { color: #1a3a20; font-family: var(--serif); font-size: clamp(1rem, 4vw, 2rem); font-weight: 700; line-height: 1.05; letter-spacing: -.5px; margin: 0 0 16px; align-self: flex-start; }

.team-card {
  background: linear-gradient(145deg, #2d5235 0%, #3e6b46 50%, #2a4a32 100%);
  border-radius: var(--radius-lg);
  padding: 14px 12px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 3px 16px rgba(30,70,35,.2);
  max-height: 280px;
}
.team-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 45%; background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.08) 0%, transparent 70%); pointer-events: none; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(30,70,35,.3); }
.team-card.featured { padding: 20px 14px 18px; background: linear-gradient(145deg, #243d2a 0%, #3a6040 50%, #2a4a30 100%); max-height: none; }
.team-grid .team-card:nth-child(even) { background: linear-gradient(145deg, #2a4d38 0%, #3d6648 50%, #284530 100%); }

.avatar { width: 75%; aspect-ratio: 1; border-radius: 50%; border: 3px solid rgba(255,255,255,.3); overflow: hidden; flex-shrink: 0; box-shadow: 0 3px 12px rgba(0,0,0,.2); }
.avatar.large { width: 80%; aspect-ratio: 1; border-width: 4px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .35s ease; }
.team-card:hover .avatar img { transform: scale(1.07); }
.avatar-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #4a7a52, #3a6040); display: flex; align-items: center; justify-content: center; }
.avatar-placeholder svg { width: 55%; height: 55%; fill: rgba(255,255,255,.55); }

.team-badge { display: inline-block; background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); font-size: var(--text-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 3px 12px; border-radius: var(--radius-pill); border: .5px solid rgba(255,255,255,.3); }

.member-name { font-family: var(--serif); font-size: var(--text-sm); font-weight: 400; color: #fff; text-align: center; line-height: 1.25; margin: 0; }
.member-name.large { font-size: var(--text-md); }
.member-role { font-size: var(--text-xs); color: rgba(168,210,160,.85); text-align: center; margin: 0; letter-spacing: .03em; }
.member-exp  { font-size: var(--text-xs); font-weight: 700; color: rgba(255,255,255,.4); letter-spacing: .05em; margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 14px; justify-content: space-around; }

.team-footer-inner { text-align: center; margin-top: 1.4rem; }
.btn-team-all { display: inline-block; padding: .7rem 2rem; border: 1.5px solid rgba(30,70,35,.4); border-radius: var(--radius-pill); color: #1a3a20; font-size: var(--text-sm); font-weight: 600; letter-spacing: .04em; text-decoration: none; transition: background .2s, color .2s; }
.btn-team-all:hover { background: #2d5235; color: #fff; border-color: #2d5235; }

@media (max-width: 900px) {
  .team-layout { grid-template-columns: 180px 1fr; }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .team-layout { grid-template-columns: 1fr; }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
  .team-heading { text-align: center; }
  .team-card.featured { max-width: 220px; margin: 0 auto; }
}


/* ══════════════════════════════════════════
   HERO MOBILE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    gap: 24px;
    padding: 2rem 1.25rem;
  }

  .hero-left {
    flex: none;
    width: 100%;
    gap: 14px;
  }

  .hero-title {
    font-size: var(--text-2xl);
  }

  .hero-desc {
    font-size: var(--text-sm);
  }

  .hero-right {
    flex: none;
    width: 100%;
    height: 260px;
    border-radius: var(--radius-md);
  }

  .hero-right img {
    object-position: center top;
  }
}

@media (max-width: 767px) {
  .hero-right {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .hero-right {
    height: 180px;
  }

  .hero-title {
    font-size: var(--text-xl);
  }
}


@media (max-width: 600px) {
  .service-card__top {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }
}