
    :root {
  --accent: rgb(204, 92, 128);         /* розовый */
  --accent-dark: rgb(185, 73, 111);    /* чуть темнее */
  --accent-blue: rgb(0, 135, 204);     /* голубой */
  --text: #333333;
  --bg: #fff5f5;
  --gray: #777777;
  --max-width: 1200px;
  --header-height: 70px;
  --font-main: "Arial", sans-serif;
}


    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: var(--font-main);
      color: var(--text);
      background: #ffffff;
    }

    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }

    /* Верхняя панель */
    .topbar {
      background: #ffffff;
      border-bottom: 1px solid #f0f0f0;
      font-size: 13px;
    }
    .topbar-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 8px 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .topbar-left,
    .topbar-center,
    .topbar-right {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
    }
    .topbar-btn {
      padding: 8px 18px;
      border-radius: 999px;
      background: var(--accent);
      color: #ffffff;
      font-weight: 600;
      font-size: 13px;
      border: none;
      cursor: pointer;
      transition: background .2s;
    }
    .topbar-btn:hover { background: var(--accent-dark); }

    .phone-main {
      font-weight: 600;
      color: var(--accent-dark);
    }

    /* Шапка / навигация */
    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: #ffffff;
      border-bottom: 1px solid #f0f0f0;
      height: var(--header-height);
    }
    .header-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
      gap: 24px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 18px;
      font-weight: 700;
      text-transform: uppercase;
    }
    .logo-badge {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--accent);
    }
    .nav {
      flex: 1;
    }
    .nav ul {
      display: flex;
      justify-content: center;
      gap: 20px;
      font-size: 14px;
    }
    .nav a {
      padding: 4px 0;
      border-bottom: 2px solid transparent;
    }
    .nav a:hover {
      border-bottom-color: var(--accent);
    }
    .header-cta {
      font-size: 14px;
    }

    /* Лента изделий */
    .products-strip {
      background: #fff7f7;
      border-bottom: 1px solid #f5e4e4;
    }
    .products-strip-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 10px 16px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: space-between;
      font-size: 12px;
    }
    .product-item {
      flex: 1 1 auto;
      min-width: 140px;
      padding: 6px 10px;
      border-radius: 999px;
      background: #ffffff;
      border: 1px solid #f1d6d6;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Герой-блок */
    .hero {
      background: radial-gradient(circle at top, #ffe6e6 0, #fff5f5 45%, #ffffff 100%);
      padding: 60px 16px 70px;
    }
    .hero-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      text-align: center;
    }
    .hero-title {
      font-size: 42px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    .hero-subtitle {
      font-size: 18px;
      text-transform: uppercase;
      margin-bottom: 30px;
    }
    .hero-btn {
      display: inline-block;
      padding: 12px 26px;
      border-radius: 999px;
      background: var(--accent);
      color: #ffffff;
      font-weight: 600;
      font-size: 14px;
    }
    .hero-btn:hover { background: var(--accent-dark); }

    /* Блок разделов клиники */
    .section {
      padding: 40px 16px;
      background: #ffffff;
    }
    .section-alt {
      background: #fff7f7;
    }
    .section-inner {
      max-width: var(--max-width);
      margin: 0 auto;
    }
    .section-title {
      font-size: 26px;
      text-align: left;
      margin-bottom: 18px;
      font-weight: 700;
      text-transform: uppercase;
    }
    .section-text {
      font-size: 15px;
      line-height: 1.6;
      color: var(--gray);
      max-width: 760px;
    }
    .section-list {
      margin-top: 12px;
      padding-left: 18px;
      color: var(--gray);
    }
    .section-list li {
      margin-bottom: 4px;
    }

    /* Три карточки услуг */
    .cards {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
      margin-top: 26px;
    }
    .card {
      background: #ffffff;
      border-radius: 18px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.04);
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .card-label {
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      color: var(--accent-dark);
    }
    .card-title {
      font-size: 18px;
      font-weight: 700;
    }
    .card-text {
      font-size: 14px;
      color: var(--gray);
      flex: 1;
    }
    .card-links {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 8px;
    }
    .chip {
      padding: 4px 10px;
      border-radius: 999px;
      border: 1px solid #f0d1d1;
      font-size: 12px;
      color: var(--gray);
      background: #fff7f7;
    }
    .card-more {
      margin-top: 10px;
      font-size: 13px;
      font-weight: 600;
      color: var(--accent-dark);
    }

    /* Подвал */
    .footer {
      background: #1f1f1f;
      color: #f0f0f0;
      padding: 30px 16px 40px;
      font-size: 13px;
      margin-top: 40px;
    }
    .footer-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 30px;
    }
    .footer-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 10px;
    }
    .footer ul li {
      margin-bottom: 6px;
    }
    /* Модальное окно */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal.is-open { display: flex; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.modal-dialog {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 24px 20px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
  z-index: 1;
}

.modal-title {
  font-size: 20px;
  margin-bottom: 16px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.modal-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}
.modal-form input,
.modal-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #dddddd;
  font-family: inherit;
  font-size: 14px;
}
.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 1px var(--accent-blue, var(--accent));
}

.modal-submit {
  margin-top: 10px;
  width: 100%;
  padding: 10px 0;
  border-radius: 999px;
  border: none;
  background: var(--accent-blue);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}
.modal-submit:hover {
  background: #0060a6;
}

.modal-note {
  margin-top: 8px;
  font-size: 11px;
  color: var(--gray);
}

    @media (max-width: 960px) {
      .nav ul {
        justify-content: flex-start;
        overflow-x: auto;
      }
      .cards {
        grid-template-columns: 1fr;
      }
      .footer-inner {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      .hero-title {
        font-size: 30px;
      }
      .hero-subtitle {
        font-size: 14px;
      }
      .section-title {
        font-size: 22px;
      }
    }
  