:root {
  --green: #1f3f34;
  --mint: #eaf4ee;
  --gold: #d7a85f;
  --dark: #18231f;
  --text: #23332c;
  --radius: 28px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Lato, Arial, sans-serif;
  color: var(--text);
  background: #f7f4ec;
  /*отключение копирования текста*/
  user-select: none;
  -webkit-user-select: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1180px, 94vw);
  margin: auto;
}
.section {
  padding: 78px 0;
}


.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e1ddd0;
}
.nav,
.footer-grid {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}


.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: #758179;
  font-weight: 800;
}
h1,
h2,
h3 {
  margin: 0 0 20px;
  color: var(--dark);
}
h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
}
h2 {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 900;
}
h5 {
  font-weight: 700;
}
p {
  font-size: 18px;
  line-height: 1.55;
}


/* ==== HERO ==== */

.hero {
  min-height: 780px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background:
    radial-gradient(circle at 80% 25%, #fff 0 18%, transparent 38%),
    linear-gradient(135deg, #f7f4ec 0%, #edf4ea 0%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}
.hero-accent {
  color: #5599aa;
}

/* Pill badge */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 999px;
  padding: 10px 20px 10px 10px;
  box-shadow: 0 8px 28px rgba(37,48,43,.10);
  border: 1px solid rgba(31,63,52,.08);
  margin: 28px 0 26px;
  font-size: 15px;
  line-height: 1.35;
}
.hero-pill__icon {
  flex-shrink: 0;
  display: flex;
}

/* Arrow + subtext */
.hero-hint {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 36px;
  font-size: 17px;
  line-height: 1.5;
  color: #4a6058;
}
.hero-hint__arrow {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Large CTA */
.hero-cta {
  display: block;
  width: 100%;
  padding: 26px 32px;
  font-size: 20px;
  text-align: center;
  border-radius: var(--radius);
}

/* Doctor panel (right column, no photo) */
.hero-doctor-panel {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  background:
    radial-gradient(ellipse at 72% 18%, rgba(85,153,170,.30) 0%, transparent 52%),
    radial-gradient(ellipse at 18% 88%, rgba(234,244,238,.9) 0%, transparent 44%),
    linear-gradient(148deg, #e5f1ed 0%, #f1ebe0 100%);
}
.hero-doctor-panel::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  top: -110px;
  right: -70px;
  background: radial-gradient(circle, rgba(85,153,170,.24) 0%, transparent 70%);
  pointer-events: none;
}
.hero-doctor-panel::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
  background: radial-gradient(circle, rgba(31,63,52,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-doctor-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
}
.hero-doctor-info {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: 20px;
  padding: 22px 28px;
  box-shadow: 0 18px 50px rgba(37,48,43,.14);
  width: 100%;
}
.hero-doctor-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  margin-bottom: 14px;
  color: #3d5a52;
}
.hero-doctor-name {
  margin: 0 0 4px;
  font-size: 24px;
  line-height: 1.15;
}
.hero-doctor-role {
  margin: 0;
  font-size: 15px;
  color: #64736b;
}

/* Bottom stats row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.hero-stat {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 8px 28px rgba(37,48,43,.08);
  border: 1px solid rgba(31,63,52,.07);
  font-size: 16px;
}


.hero-stat::before {
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  width: 200%;
  aspect-ratio: 1;

  content: '';
  position: absolute;
  background: conic-gradient(
  transparent,transparent,transparent, #ff007a
  );
  animation: rotate 3s linear infinite;
}

.hero-stat::after {
  z-index: 1;
  content: '';
  position: absolute;
  inset: 4px;
  background: white;
  border-radius: 24px;
}

.hero-stat > * {
  position: relative;
  z-index: 2;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}



.hero-stat__icon {
  flex-shrink: 0;
  display: flex;
}
.hero-rating-score {
  font-size: 17px;
  margin-bottom: 2px;
}
.hero-rating-label {
  font-size: 14px;
  color: #64736b;
}

.cards article,
.quiz,
.chat-card,
.articles-list div,
form {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(37, 48, 43, 0.09);
  border: 1px solid rgba(31, 63, 52, 0.08);
}




/* === GALLERY RESULTS === */
.gallery-results {
  background: #f8faff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.gallery-results__title {
  text-align: center;
  margin-bottom: 48px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-card {
  background: white;
  border-radius: 30px;
  padding: 19px 19px 22px;
  box-shadow: 0 10px 40px 0 #ebedf3;
  border: none;
}
.gallery-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background-color: #e9edf6;
  margin-bottom: 14px;
  overflow: hidden;
}
.gallery-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-card p {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #2b2b2b;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

/* === CALC PICKER === */
.calc-picker {
  background: #f8faff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.calc-picker-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 42px;
  align-items: start;
}
.calc-doc-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 440px;
  background:
    radial-gradient(ellipse at 72% 18%, rgba(85,153,170,.30) 0%, transparent 52%),
    radial-gradient(ellipse at 18% 88%, rgba(234,244,238,.9) 0%, transparent 44%),
    linear-gradient(148deg, #e5f1ed 0%, #f1ebe0 100%);
}
.calc-doc-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
}
.calc-doc-badge {
  position: absolute;
  z-index: 2;
  background: white;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(37,48,43,.12);
}
.calc-doc-badge--stat {
  top: 28px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.calc-doc-badge--name {
  bottom: 24px;
  left: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 15px;
  line-height: 1.25;
}
.calc-doc-badge--name span {
  color: #64736b;
  font-size: 13px;
}
.calc-online-btn {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 14px;
  background: #15c74d;
  color: white;
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.calc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
  padding-top: 8px;
}
.calc-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid #4fc7c0;
  border-radius: 50px;
  padding: 14px 24px;
  font-size: 17px;
  font-weight: 700;
  font-family: Lato, Arial, sans-serif;
  color: #2b2b2b;
  cursor: pointer;
  letter-spacing: -0.5px;
  line-height: 1.2;
  transition: background 0.2s, color 0.2s;
}
.calc-pill:hover,
.calc-pill.active {
  background: #4fc7c0;
  color: white;
}

/* === arcticles === */

.articles-list div {
  padding: 28px;
  margin-bottom: 20px;
}





.calc-section {
  background: white;
}
.quiz {
  padding: 28px;
  display: grid;
  gap: 20px;
}
.quiz fieldset {
  border: 1px solid #e3e0d7;
  border-radius: 20px;
  padding: 20px;
}
.quiz legend {
  font-weight: 800;
  padding: 0 8px;
}
.quiz label {
  display: inline-flex;
  margin: 10px 14px 0 0;
  background: #f5f3ed;
  border-radius: 999px;
  padding: 12px 16px;
}
.quiz input,
form input {
  border: 1px solid #dedbd2;
  border-radius: 999px;
  padding: 16px 18px;
  font-size: 16px;
}
.cards {
  display: grid;
  gap: 22px;
}
.cards.three {
  grid-template-columns: repeat(3, 1fr);
}
.cards.four {
  grid-template-columns: repeat(4, 1fr);
}
.cards.five {
  grid-template-columns: repeat(5, 1fr);
}
.cards article {
  padding: 28px;
  min-height: 150px;
}
.consultation {
  background: var(--mint);
}
.chat-card {
  padding: 26px;
  text-align: center;
}
.chat-card img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 18px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.timeline article {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 18px 50px rgba(37, 48, 43, 0.08);
}
.timeline img {
  height: 160px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  background: #f1eee5;
}
.timeline span,
.implants span {
  display: inline-block;
  margin: 14px 0;
  background: var(--mint);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  color: var(--green);
}

/* === PRICE BAND === */

.price-band {
  background: #f8faff;
  text-align: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.price-band__label {
  color: #ed2000;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.price-band__heading {
  margin-bottom: 40px;
}
.price-band__price {
  color: #59aca8;
}
.price-band__card {
  background: #4fc7c0;
  border-radius: 30px;
  padding: 48px 56px;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.price-band__icon {
  display: block;
  line-height: 0;
}
.price-band__deadline {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: white;
  margin: 0;
  line-height: 1.1;
}
.price-band__subtitle {
  font-size: clamp(17px, 2vw, 22px);
  color: white;
  margin: 0;
  max-width: 560px;
  line-height: 1.45;
}
.price-band__subtitle strong {
  font-weight: 900;
}
.price-band__btn {
  background: #4078fc;
  border-radius: 20px;
  font-size: 20px;
  padding: 22px 48px;
  margin-top: 8px;
}
.benefits {
  background: white;
}

/* === LEADS === */

.lead {
  background: #efe6d2;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.split2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}


form {
  padding: 28px;
  display: grid;
  gap: 14px;
}
.footer {
  background: #17231e;
  color: white;
  padding: 42px 0;
}
.footer .btn {
  background: #d7a85f;
}
.footer b {
  color: #fff;
}
/* ── Ноутбук / планшет-ландшафт ≤ 1024px ── */
@media (max-width: 1024px) {
  .cards.four  { grid-template-columns: repeat(2, 1fr); }
  .cards.five  { grid-template-columns: repeat(3, 1fr); }
  .timeline    { grid-template-columns: repeat(2, 1fr); }

  .section { padding: 60px 0; }
  .hero { min-height: 640px; }
  .hero-doctor-panel { min-height: 380px; }
  .quiz { padding: 22px; }
}

/* ── Планшет-портрет ≤ 768px ── */
@media (max-width: 768px) {
  .nav, .footer-grid { flex-wrap: wrap; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-picker-grid { grid-template-columns: 1fr; }
  .calc-doc-panel { min-height: 450px; }
  .cards.three,
  .cards.four,
  .cards.five  { grid-template-columns: repeat(2, 1fr); }
  .timeline    { grid-template-columns: repeat(2, 1fr); }
  .section     { padding: 52px 0; }
  .address     { display: none; }
  h1  { font-size: 44px; }
  h2  { font-size: clamp(26px, 5vw, 40px); }
  p   { font-size: 16px; }

  /* Секция: отступы */
  .section { padding: 48px 0; }

  /* Hero */
  .hero { min-height: unset; padding: 48px 0 36px; }
  .hero-copy { order: 1; }
  .hero-doctor-panel { order: 2; min-height: 300px; }
  .hero-cta { font-size: 17px; padding: 20px 24px; }

  /* Карточки */
  .cards article { padding: 20px; }

  /* Калькулятор */
  .quiz { padding: 20px; gap: 16px; }
  .quiz label { padding: 10px 14px; margin: 8px 10px 0 0; }

  /* Прайс */
  .price-band { padding: 40px 0; }
  .price-band__card { padding: 36px 28px; }

  /* Консультация */
  .consultation .split > div:first-child { text-align: center; }

  /* Форма */
  form { padding: 20px; }

  /* Таймлайн */
  .timeline article { padding: 16px; }
  .timeline img { height: 120px; }
}

/* ── Мобильный ≤ 480px ── */
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .cards.three,
  .cards.four,
  .cards.five,
  .timeline   { grid-template-columns: 1fr; }


  h1          { font-size: 32px; }
  h2          { font-size: 26px; }
  .badges     { gap: 8px; }
  .badges span { padding: 9px 12px; font-size: 13px; }
  .price-band__card { padding: 28px 20px; }
  .split2 {grid-template-columns: 1fr;}

  /* Глобальный отступ */
  .container { padding: 0 16px; }

  /* Hero */
  .section.hero { padding: 32px 0 28px; }
  .badges { gap: 8px; margin: 18px 0 24px; }
  .badges span { font-size: 13px; padding: 9px 12px; }
  .section    { padding: 36px 0; }
  .hero       { min-height: unset; }
  .hero-grid  { gap: 24px; }

  /* Панель врача */
  .hero-doctor-panel { min-height: 490px; padding: 20px; }
  .hero-doctor-info { padding: 16px 18px; }
  .hero-stats { gap: 12px; }
  .hero-stat { padding: 16px 18px; font-size: 14px; }
  .hero-cta { font-size: 15px; padding: 16px 20px; }

  /* Карточки */
  .cards article { padding: 16px; min-height: unset; }

  /* Калькулятор */
  .calc-section .split { gap: 24px; }
  .quiz { padding: 16px; }
  .quiz fieldset { padding: 14px; }
  .quiz input { padding: 12px 14px; }

  /* Прайс */
  .price-band { padding: 32px 0; }

  /* Форма */
  form { padding: 16px; gap: 10px; }
  form input { padding: 13px 16px; }

  /* Чат-карточка */
  .chat-card { padding: 18px; }
  .chat-card img { height: 180px; }

  /* Таймлайн */
  .timeline { gap: 16px; }
  .timeline article { padding: 14px; }
  .timeline img { height: 100px; }
  .timeline span { margin: 10px 0; padding: 6px 10px; font-size: 13px; }

  /* Футер */
  .footer .btn { width: 100%; text-align: center; justify-content: center; }
}

/* ── Малый мобильный ≤ 360px ── */
@media (max-width: 360px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  p  { font-size: 15px; }
  .btn    { padding: 11px 14px; font-size: 13px; }
  .btn-lg { padding: 12px 16px; font-size: 14px; }
}
