
    :root {
      --bg: #ece6dc;        /* greige */
      --bg-2: #e5ddd0;      /* services band */
      --panel: #f4f0e8;     /* cards */
      --line: #d6ccbd;
      --ink: #2e2820;
      --muted: #8a8175;
      --sage: #8a9a7b;
      --sage-dark: #6c7b5b;
      --espresso: #3b3027;
      --cream: #f4f0e8;
      --radius: 4px;
      --serif: "Cormorant Garamond", Georgia, serif;
      --sans: "Manrope", -apple-system, "Segoe UI", sans-serif;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--sans);
      background: var(--bg);
      color: var(--ink);
      line-height: 1.7;
      font-weight: 300;
      -webkit-font-smoothing: antialiased;
    }
    .container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
    a { color: inherit; text-decoration: none; }
    .ph { color: var(--sage-dark); border-bottom: 1px dashed var(--sage); }

    .eyebrow {
      color: var(--sage-dark); font-family: var(--sans); font-weight: 600;
      letter-spacing: 3px; text-transform: uppercase; font-size: 12px;
    }
    h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: 0.5px; color: var(--espresso); }

    /* Header */
    header {
      position: sticky; top: 0; z-index: 50;
      background: rgba(236, 230, 220, 0.8);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
    }
    .nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
    .logo { font-family: var(--serif); font-size: 22px; letter-spacing: 1px; color: var(--espresso);
            white-space: nowrap; flex: 0 0 auto; }
    .logo span { color: var(--sage-dark); }
    /* пунктов меню девять — расстояние между ними сжимается вместе с окном,
       иначе на ноутбучных ширинах строка не помещается и ломается на две */
    .btn {
      display: inline-block; background: var(--espresso); color: var(--cream);
      padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 13px;
      letter-spacing: 1px; text-transform: uppercase; transition: all .25s;
    }
    .btn:hover { background: #4a3d31; transform: translateY(-1px); }
    .btn-ghost { background: transparent; color: var(--espresso); border: 1px solid var(--sage-dark); }
    .btn-ghost:hover { background: rgba(138,154,123,.16); }
    .nav-right { display: flex; align-items: center; gap: 14px; }
    .nav-phones { display: flex; flex-direction: column; line-height: 1.32; }
    .nav-phones a { color: var(--espresso); font-size: 13px; font-weight: 500; letter-spacing: .2px; white-space: nowrap; transition: color .2s; }
    .nav-phones a:hover { color: var(--sage-dark); }
    .nav-social { display: flex; align-items: center; gap: 9px; }
    .nav-social a {
      width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line);
      display: flex; align-items: center; justify-content: center; color: var(--espresso);
      background: transparent; transition: all .2s;
    }
    .nav-social a:hover { border-color: var(--sage-dark); color: var(--sage-dark); background: rgba(138,154,123,.12); transform: translateY(-1px); }
    .nav-social svg { width: 18px; height: 18px; display: block; fill: currentColor; }
    .nav-social .ic-max { font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: .3px; }
    .nav-right { flex: 0 0 auto; }

    /* ── меню разделов ─────────────────────────────────────────────
       Разделов девять, в строку они не помещаются (контейнер 1140px),
       а на узких экранах навигации не было вовсе. Поэтому единая
       кнопка «Меню» на всех ширинах и выпадающая панель с разделами. */
    .menu-btn { display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
      font-family: inherit; font-size: 13px; letter-spacing: .5px; color: var(--espresso);
      background: transparent; border: 1px solid var(--line); border-radius: 999px;
      padding: 10px 18px; transition: border-color .2s, background .2s; }
    .menu-btn:hover { border-color: var(--sage-dark); background: rgba(138,154,123,.10); }
    .menu-ico { display: flex; flex-direction: column; gap: 3px; width: 15px; }
    .menu-ico i { display: block; height: 1.5px; background: currentColor; border-radius: 2px;
      transition: transform .25s, opacity .2s; }
    .menu-btn[aria-expanded="true"] .menu-ico i:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
    .menu-btn[aria-expanded="true"] .menu-ico i:nth-child(2) { opacity: 0; }
    .menu-btn[aria-expanded="true"] .menu-ico i:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

    .menu-panel { border-top: 1px solid var(--line); background: var(--cream, #f4f0e8);
      animation: menuIn .22s ease; }
    @keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
    .menu-inner { padding-top: 30px; padding-bottom: 26px; }
    .menu-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 34px; }
    .menu-col { display: flex; flex-direction: column; gap: 11px; }
    .menu-h { font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
      color: var(--sage-dark); font-weight: 600; }
    .menu-col a { font-family: var(--serif); font-size: 20px; line-height: 1.2;
      color: var(--espresso); transition: color .2s; }
    .menu-col a:hover { color: var(--sage-dark); }
    .menu-foot { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 26px; padding-top: 18px;
      border-top: 1px solid var(--line); font-size: 14px; }
    .menu-foot a { color: var(--muted); transition: color .2s; }
    .menu-foot a:hover { color: var(--sage-dark); }
    @media (max-width: 720px) {
      .menu-cols { grid-template-columns: 1fr; gap: 22px; }
      .menu-col a { font-size: 18px; }
      .menu-word { display: none; }
      .menu-btn { padding: 10px 12px; }
    }
    @media (prefers-reduced-motion: reduce) { .menu-panel { animation: none; } }
    @media (max-width: 900px) { .nav-phones { display: none; } }
        @media (max-width: 460px) { .nav-right .btn { display: none; } .logo { font-size: 18px; } .nav-phones a { font-size: 12px; } .nav-social a { width: 34px; height: 34px; } }

    /* Hero */
    .hero { padding: 96px 0 88px; border-bottom: 1px solid var(--line); }
    .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
    .hero h1 { font-size: 58px; line-height: 1.05; margin: 18px 0 10px; }
    .hero .role { font-family: var(--sans); font-weight: 300; color: var(--muted); font-size: 18px; letter-spacing: 1px; margin-bottom: 26px; }
    .hero p.lead { font-size: 18px; color: #5c554b; margin-bottom: 36px; max-width: 480px; font-weight: 300; }
    .hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
    .portrait {
      aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
      background: linear-gradient(160deg, #f0ebe2, #ddd3c2);
      border: 1px solid var(--line);
      display: flex; align-items: center; justify-content: center;
      color: var(--muted); font-size: 14px; text-align: center; padding: 24px; letter-spacing: 1px;
      position: relative;
    }
    .portrait::after { content:""; position:absolute; inset:10px; border:1px solid var(--sage); opacity:.5; border-radius: var(--radius); pointer-events:none; z-index:2; }
    .portrait img, .about-photo img { width:100%; height:100%; object-fit:cover; object-position:center top; display:block; }
    .stats { display: flex; gap: 48px; margin-top: 44px; flex-wrap: wrap; }
    .stat .num { font-family: var(--serif); font-size: 40px; color: var(--sage-dark); line-height: 1; }
    .stat .lbl { color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; }
    @media (max-width: 820px) {
      .hero-grid { grid-template-columns: 1fr; gap: 44px; }
      .hero h1 { font-size: 42px; }
    }

    section.block { padding: 100px 0; border-bottom: 1px solid var(--line); }
    h2 { font-size: 40px; margin: 10px 0 36px; }

    /* About */
    .about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: stretch; }
    .about-photo {
      border-radius: var(--radius); background: linear-gradient(160deg, #f0ebe2, #ddd3c2);
      border: 1px solid var(--line); min-height: 360px;
      display:flex; align-items:center; justify-content:center; color: var(--muted); padding: 24px; text-align:center; letter-spacing: 1px;
    }
    .about p { color: #5c554b; font-size: 17px; margin-bottom: 18px; }
    .quals { display: flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
    .qual .k { font-family: var(--serif); font-size: 22px; color: var(--sage-dark); }
    .qual .v { color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
    @media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

    /* Services */
    .services { background: var(--bg-2); }
    .svc-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
    .svc-head p { color: var(--muted); max-width: 360px; font-size: 15px; }
    .svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 24px; }
    .svc {
      background: var(--panel); padding: 34px 30px; transition: background .25s;
      display: flex; flex-direction: column; gap: 10px; min-height: 178px;
      cursor: pointer; text-align: left; border: none; width: 100%; color: inherit; font-family: inherit;
    }
    .svc:hover, .svc:focus-visible { background: #fbf8f2; outline: none; }
    .svc .no { font-family: var(--serif); color: var(--sage-dark); font-size: 15px; letter-spacing: 2px; }
    .svc h3 { font-size: 23px; line-height: 1.2; }
    .svc p { color: var(--muted); font-size: 14px; }
    .svc-more { margin-top: auto; padding-top: 8px; color: var(--sage-dark); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .55; transition: opacity .25s, transform .25s; }
    .svc:hover .svc-more, .svc:focus-visible .svc-more { opacity: 1; transform: translateX(3px); }
    .cat-title { font-family: var(--serif); font-weight: 500; color: var(--espresso); font-size: 26px; margin: 52px 0 0; }
    .cat-title:first-of-type { margin-top: 44px; }
    .svc-grid + .cat-title { margin-top: 56px; }
    .svc-note { color: var(--muted); font-size: 14px; margin-top: 26px; }
    @media (max-width: 820px) { .svc-grid { grid-template-columns: 1fr; } }

    /* Modal — service detail */
    .modal-overlay {
      position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
      padding: 24px; background: rgba(46, 40, 32, .55); backdrop-filter: blur(5px);
      opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
    }
    .modal-overlay.open { opacity: 1; visibility: visible; }
    .modal {
      background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
      max-width: 640px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 52px 52px 48px;
      position: relative; transform: translateY(14px) scale(.98); transition: transform .3s;
      box-shadow: 0 30px 90px rgba(46, 40, 32, .3);
    }
    .modal-overlay.open .modal { transform: translateY(0) scale(1); }
    .modal-close {
      position: absolute; top: 18px; right: 20px; width: 38px; height: 38px; border-radius: 999px;
      border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 20px;
      cursor: pointer; line-height: 1; transition: all .2s; display: flex; align-items: center; justify-content: center;
    }
    .modal-close:hover { background: var(--bg-2); color: var(--espresso); }
    .modal .m-no { font-family: var(--serif); color: var(--sage-dark); font-size: 14px; letter-spacing: 3px; }
    .modal h3 { font-size: 32px; line-height: 1.15; margin: 6px 0 16px; }
    .modal .m-lead { color: #5c554b; font-size: 17px; margin-bottom: 26px; }
    .modal .m-sec { margin-top: 22px; }
    .modal .m-sec h4 { font-family: var(--sans); font-weight: 600; color: var(--sage-dark); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
    .modal .m-sec p { color: #5c554b; font-size: 15px; }
    .modal .m-sec ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .modal .m-sec li { color: #5c554b; font-size: 15px; padding-left: 20px; position: relative; }
    .modal .m-sec li::before { content: "—"; position: absolute; left: 0; color: var(--sage-dark); }
    .modal .m-cta { margin-top: 32px; }
    /* Before / After block inside modal */
    .m-ba { margin-top: 24px; }
    .m-ba .ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .ba-cell {
      position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden;
      border: 1px solid var(--line); background: linear-gradient(160deg, #f0ebe2, #ddd3c2);
      display: flex; align-items: center; justify-content: center; color: var(--muted);
      font-size: 12px; text-align: center; padding: 14px;
    }
    .ba-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .ba-cell .ba-tag {
      position: absolute; top: 10px; left: 10px; background: rgba(46, 40, 32, .82); color: var(--cream);
      font-size: 10px; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
    }
    .m-ba .ba-note { color: var(--muted); font-size: 12px; margin-top: 9px; font-style: italic; }
    @media (max-width: 560px) { .modal { padding: 44px 26px 32px; } .modal h3 { font-size: 26px; } }

    /* Services layout — sidebar selector + catalog */
    .svc-layout { display: grid; grid-template-columns: 290px 1fr; gap: 40px; align-items: start; margin-top: 44px; }
    .svc-filter { position: sticky; top: 100px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
    .svc-filter h3 { font-size: 22px; margin-bottom: 4px; }
    .svc-filter .sub { color: var(--muted); font-size: 13px; margin-bottom: 22px; line-height: 1.5; }
    .filter-group { margin-bottom: 22px; }
    .filter-group > .lbl { display: block; color: var(--sage-dark); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
    .chips { display: flex; flex-wrap: wrap; gap: 8px; }
    .chip { border: 1px solid var(--line); background: transparent; color: #5c554b; font-family: inherit; font-size: 13px; padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: all .2s; }
    .chip:hover { border-color: var(--sage); }
    .chip.active { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--cream); }
    .filter-reset { background: none; border: none; color: var(--muted); font-family: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; padding: 0; }
    .filter-reset:hover { color: var(--espresso); }
    .filter-count { color: var(--sage-dark); font-size: 14px; letter-spacing: .5px; margin-bottom: 6px; }
    .svc-main .cat-title:first-of-type { margin-top: 0; }
    .svc-empty { color: var(--muted); font-size: 15px; padding: 26px 0; }
    @media (max-width: 980px) {
      .svc-layout { grid-template-columns: 1fr; gap: 28px; }
      .svc-filter { position: static; }
    }

    /* Approach */
    .approach-lead { color: #5c554b; font-size: 18px; max-width: 680px; margin-bottom: 42px; font-weight: 300; }
    .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
    .step .s-no { font-family: var(--serif); font-size: 34px; color: var(--sage-dark); line-height: 1; margin-bottom: 12px; }
    .step h3 { font-size: 21px; margin-bottom: 8px; }
    .step p { color: var(--muted); font-size: 14px; }
    .principle { margin-top: 48px; border-left: 3px solid var(--sage); padding: 4px 0 4px 26px; }
    .principle p { font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.4; color: var(--espresso); max-width: 640px; }
    @media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; gap: 24px; } }
    @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

    /* Reviews */
    .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
    .review .stars { color: var(--sage-dark); margin-bottom: 16px; letter-spacing: 4px; }
    .review p { font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink); margin-bottom: 16px; font-style: italic; }
    .review .who { color: var(--muted); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
    @media (max-width: 980px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }
    .reviews-sub { color: var(--muted); font-size: 15px; margin: -16px 0 30px; }
    .reviews-sub a { color: var(--sage-dark); border-bottom: 1px solid var(--sage); }

    /* Contact — dark espresso band for premium contrast */
    .contact { background: var(--espresso); border-bottom: none; }
    .contact h2 { color: var(--cream); }
    .contact .eyebrow { color: var(--sage); }
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
    .contact-info .row { margin-bottom: 22px; }
    .contact-info .label { display:block; color: var(--sage); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
    .contact-info .val { font-size: 19px; color: var(--cream); }
    .contact-info .val a:hover { color: var(--sage); }
    .contact-info .ph { color: #b9c4a8; border-color: var(--sage); }
    .contact .btn { background: var(--cream); color: var(--espresso); }
    .contact .btn:hover { background: #fff; }
    .contact .btn-ghost { background: transparent; color: var(--cream); border-color: var(--sage); }
    .contact .btn-ghost:hover { background: rgba(138,154,123,.18); }
    .contact-cta { display:flex; flex-direction: column; gap: 14px; }
    /* Booking form */
    .book-form { display: flex; flex-direction: column; gap: 13px; }
    .book-form .bf-row { display: flex; gap: 13px; }
    .book-form input, .book-form select, .book-form textarea {
      width: 100%; font-family: inherit; font-size: 15px; color: var(--cream);
      background: rgba(255,255,255,.06); border: 1px solid rgba(138,154,123,.45);
      border-radius: var(--radius); padding: 13px 15px; transition: border-color .2s;
    }
    .book-form input::placeholder, .book-form textarea::placeholder { color: #b3aa9c; }
    .book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: none; border-color: var(--sage); }
    .book-form select { appearance: none; -webkit-appearance: none; cursor: pointer;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%238a9a7b' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
      background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
    .book-form option, .book-form optgroup { color: #2e2820; }
    .book-form textarea { resize: vertical; min-height: 52px; }
    .book-form input[type=date] { color-scheme: dark; }
    .book-form button.btn { border: none; cursor: pointer; margin-top: 2px; }
    .bf-alt { color: #b3aa9c; font-size: 13px; margin-top: 4px; }
    .bf-alt a { color: var(--sage); border-bottom: 1px solid rgba(138,154,123,.5); }
    .bf-alt a:hover { color: var(--cream); }
    @media (max-width: 560px) { .book-form .bf-row { flex-direction: column; } }
    /* Leave-a-review form (light, in reviews section) */
    .rev-invite { margin-top: 48px; max-width: 640px; }
    .rev-invite h3 { font-family: var(--serif); font-size: 26px; color: var(--ink); margin-bottom: 8px; }
    .rev-invite > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
    .rev-form { display: flex; flex-direction: column; gap: 13px; }
    .rev-form .rf-row { display: flex; gap: 13px; }
    .rev-form input, .rev-form select, .rev-form textarea {
      width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
      background: var(--panel); border: 1px solid var(--line);
      border-radius: var(--radius); padding: 13px 15px; transition: border-color .2s;
    }
    .rev-form input::placeholder, .rev-form textarea::placeholder { color: var(--muted); }
    .rev-form input:focus, .rev-form select:focus, .rev-form textarea:focus { outline: none; border-color: var(--sage); }
    .rev-form select { appearance: none; -webkit-appearance: none; cursor: pointer;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%238a9a7b' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
      background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
    .rev-form textarea { resize: vertical; min-height: 70px; }
    .rev-form button.btn { border: none; cursor: pointer; align-self: flex-start; margin-top: 2px; }
    .rf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; }
    .rf-consent input { width: auto; margin-top: 3px; flex-shrink: 0; }
    .rf-consent a { color: var(--sage-dark); border-bottom: 1px solid var(--sage); }
    @media (max-width: 560px) { .rev-form .rf-row { flex-direction: column; } }
    @media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

    /* Education — paid courses for cosmetologists */
    .education { background: var(--bg-2); }
    .edu-head p { color: var(--muted); max-width: 460px; font-size: 15px; margin-top: 6px; }
    .edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
    .course {
      background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
      padding: 34px 30px; display: flex; flex-direction: column;
    }
    .course .tag {
      align-self: flex-start; font-family: var(--sans); font-weight: 600; font-size: 11px;
      letter-spacing: 1.5px; text-transform: uppercase; color: var(--sage-dark);
      border: 1px solid var(--sage); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px;
    }
    .course h3 { font-size: 24px; line-height: 1.2; margin-bottom: 12px; }
    .course .c-desc { color: #5c554b; font-size: 15px; margin-bottom: 20px; }
    .course .c-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
    .course .c-list li { color: #5c554b; font-size: 14px; padding-left: 24px; position: relative; }
    .course .c-list li::before {
      content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 6px;
      border-left: 1.5px solid var(--sage-dark); border-bottom: 1.5px solid var(--sage-dark);
      transform: rotate(-45deg);
    }
    .course .c-meta { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 13px; letter-spacing: .5px; margin-bottom: 22px; }
    .course .c-meta b { color: var(--espresso); font-weight: 600; }
    .course .c-foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
    .course .price { font-family: var(--serif); font-size: 30px; color: var(--sage-dark); line-height: 1; }
    .course .price small { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 400; }
    .course .btn { padding: 11px 22px; }
    .edu-note { color: var(--muted); font-size: 14px; margin-top: 30px; max-width: 720px; }
    .edu-note a { color: var(--sage-dark); border-bottom: 1px solid var(--sage); }
    .edu-portal { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; margin-top: 40px;
      background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 44px; }
    .edu-portal .ep-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
    .edu-portal .ep-tags span { font-size: 12px; color: var(--sage-dark); border: 1px solid var(--sage); border-radius: 999px; padding: 5px 13px; letter-spacing: .3px; }
    .edu-portal h3 { font-size: 26px; line-height: 1.25; margin-bottom: 14px; }
    .edu-portal p { color: #5c554b; font-size: 16px; margin-bottom: 22px; }
    .edu-portal .ep-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
    .edu-portal .ep-locked { color: var(--muted); font-size: 13px; }
    .edu-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
    .edu-list li { position: relative; padding-left: 26px; color: #5c554b; font-size: 15px; }
    .edu-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 6px;
      border-left: 1.5px solid var(--sage-dark); border-bottom: 1.5px solid var(--sage-dark); transform: rotate(-45deg); }
    @media (max-width: 760px) { .edu-portal { grid-template-columns: 1fr; padding: 32px 28px; } }

    /* Anatomy — interactive skin cross-section */
    .anat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 40px; }
    .anat-figure { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
    .anat-figure svg { width: 100%; height: auto; display: block; }
    .anat-layer { cursor: pointer; transition: opacity .3s; }
    .anat-figure.dimmed .anat-layer:not(.active) { opacity: .25; }
    .anat-layer .layer-band { transition: stroke .25s; }
    .anat-layer.active .layer-band { stroke: var(--sage-dark); stroke-width: 2.5; }
    .layer-tabs { display: flex; flex-direction: column; gap: 10px; }
    .layer-tab {
      text-align: left; border: 1px solid var(--line); background: var(--panel); color: #5c554b;
      font-family: inherit; font-size: 15px; padding: 13px 18px; border-radius: var(--radius);
      cursor: pointer; transition: all .2s; display: flex; align-items: baseline; gap: 12px;
    }
    .layer-tab:hover { border-color: var(--sage); }
    .layer-tab.active { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--cream); }
    .layer-tab .lt-no { font-family: var(--serif); font-size: 16px; opacity: .65; }
    .layer-tab .lt-name { font-family: var(--serif); font-size: 19px; }
    .anat-desc { margin-top: 24px; border-left: 3px solid var(--sage); padding-left: 22px; min-height: 130px; }
    .anat-desc h4 { font-family: var(--serif); color: var(--espresso); font-size: 23px; margin-bottom: 8px; }
    .anat-desc p { color: #5c554b; font-size: 15px; margin-bottom: 14px; }
    .anat-desc .ad-proc { color: var(--sage-dark); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 9px; }
    .anat-desc .ad-tags { display: flex; flex-wrap: wrap; gap: 8px; }
    .anat-desc .ad-tags span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 12px; color: #5c554b; background: var(--bg); }
    .anat-hint { color: var(--muted); font-size: 13px; margin-top: 16px; font-style: italic; }
    @media (max-width: 820px) { .anat-grid { grid-template-columns: 1fr; gap: 30px; } }

    footer { padding: 40px 0; text-align: center; color: var(--muted); font-size: 13px; letter-spacing: 1px; }
    footer .logo { font-size: 18px; margin-bottom: 8px; }
    footer .legal { margin-top: 10px; }
    footer .legal a { color: var(--muted); border-bottom: 1px solid var(--line); }
    footer .legal a:hover { color: var(--espresso); }
    footer .disclaimer { max-width: 640px; margin: 14px auto 0; font-size: 11.5px; line-height: 1.6; letter-spacing: .3px; color: var(--muted); opacity: .85; }

    /* Consent checkbox in booking form (dark band) */
    .bf-consent { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; margin-top: 2px; }
    .bf-consent input { appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px;
      border: 1px solid rgba(138,154,123,.6); border-radius: 4px; background: rgba(255,255,255,.06); cursor: pointer; transition: all .2s; position: relative; }
    .bf-consent input:checked { background: var(--sage-dark); border-color: var(--sage-dark); }
    .bf-consent input:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--cream); border-width: 0 2px 2px 0; transform: rotate(45deg); }
    .bf-consent span { color: #b3aa9c; font-size: 12.5px; line-height: 1.5; }
    .bf-consent a { color: var(--sage); border-bottom: 1px solid rgba(138,154,123,.5); }
    .bf-consent a:hover { color: var(--cream); }

    /* Cookie banner */
    .cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 720px; margin: 0 auto;
      background: var(--espresso); color: var(--cream); border: 1px solid var(--sage-dark); border-radius: var(--radius);
      box-shadow: 0 14px 40px rgba(46,40,32,.3); padding: 18px 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
      transform: translateY(140%); transition: transform .4s ease; }
    .cookie-bar.show { transform: translateY(0); }
    .cookie-bar p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #d8d0c2; flex: 1 1 320px; }
    .cookie-bar a { color: var(--sage); border-bottom: 1px solid rgba(138,154,123,.5); }
    .cookie-bar a:hover { color: var(--cream); }
    .cookie-bar button { background: var(--cream); color: var(--espresso); border: none; cursor: pointer; font-family: inherit;
      font-weight: 600; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding: 12px 24px; border-radius: 999px; transition: background .2s; white-space: nowrap; }
    .cookie-bar button:hover { background: #fff; }
    @media (max-width: 560px) { .cookie-bar { padding: 16px; gap: 12px; } .cookie-bar button { width: 100%; } }
/* PRICE:START */
  /* --- PRICE --- */
  .price .price-lead{max-width:640px;color:var(--muted)}
  .price-groups{margin-top:34px;border-top:1px solid var(--line)}
  .price-group{border-bottom:1px solid var(--line)}
  .price-group summary{list-style:none;cursor:pointer;padding:20px 0;display:flex;
    align-items:baseline;justify-content:space-between;gap:20px;transition:color .2s}
  .price-group summary::-webkit-details-marker{display:none}
  .price-group summary:hover .pg-name{color:var(--gold,#a9895a)}
  .pg-name{font-family:var(--serif);font-size:23px;color:var(--ink);line-height:1.2}
  .pg-meta{font-size:13px;color:var(--muted);white-space:nowrap;display:flex;
    align-items:center;gap:14px}
  .pg-meta .chev{width:9px;height:9px;border-right:1.5px solid var(--muted);
    border-bottom:1.5px solid var(--muted);transform:rotate(45deg);transition:transform .25s;
    margin-top:-4px}
  .price-group[open] .pg-meta .chev{transform:rotate(-135deg);margin-top:2px}
  .price-group[open] .pg-name{color:var(--gold,#a9895a)}
  .pg-body{padding:0 0 26px}
  .pg-note{font-size:14px;color:var(--muted);font-style:italic;margin:0 0 16px;max-width:620px}
  .price-table{width:100%;border-collapse:collapse;font-size:15px}
  .price-table th{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);
    font-weight:600;text-align:left;padding-bottom:10px;border-bottom:1px solid var(--line)}
  .price-table th:last-child{text-align:right}
  .price-table td{padding:13px 0;vertical-align:top;border-bottom:1px solid rgba(0,0,0,.05)}
  .price-table tr:last-child td{border-bottom:none}
  .price-table .t{color:var(--ink);font-weight:600}
  .price-table .d{color:var(--muted)}
  .price-table td.v{color:var(--muted);font-size:13px;padding-left:18px;white-space:nowrap}
  .price-table td.p{text-align:right;font-family:var(--serif);font-size:21px;color:var(--ink);
    white-space:nowrap;padding-left:18px}
  .price-table td.p .u{font-family:inherit;font-size:12px;color:var(--muted)}
  .price-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:32px}
  .price-foot{margin-top:18px;font-size:13px;color:var(--muted);max-width:640px}
  @media(max-width:720px){
    .pg-name{font-size:19px}
    .price-table thead{display:none}
    .price-table td{display:block;padding:4px 0;border:none}
    .price-table tr{display:block;padding:14px 0;border-bottom:1px solid rgba(0,0,0,.07)}
    .price-table td.v{padding-left:0}
    .price-table td.p{text-align:left;padding-left:0;font-size:19px}
  }
  /* PRICE:END */
/* PICKER:START */
  .pk-ask{font-family:var(--serif);font-size:26px;color:var(--ink, #2e2820);margin:0 0 4px}
  .pk-hint{font-size:14px;color:var(--muted, #8a8175);margin:0 0 18px}
  .pk-quick{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 30px}
  .pk-q{font:inherit;font-size:14.5px;padding:10px 17px;cursor:pointer;display:inline-flex;
    align-items:baseline;gap:8px;background:var(--card, var(--cream, #f7f3ec));border:1px solid var(--line, #d6ccbd);
    border-radius:100px;color:var(--ink, #2e2820);transition:border-color .2s,background .2s}
  .pk-q:hover{border-color:var(--gold,#a9895a)}
  .pk-q b{font-weight:400;font-size:12.5px;color:var(--muted, #8a8175)}
  .pk-q[aria-pressed="true"]{background:var(--ink, #2e2820);border-color:var(--ink, #2e2820);color:var(--bg, #ece6dc)}
  .pk-q[aria-pressed="true"] b{color:var(--bg, #ece6dc);opacity:.65}

  /* 78px — высота липкой шапки сайта, иначе строка уезжает под неё */
  .pk-bar{position:sticky;top:78px;z-index:20;display:flex;flex-wrap:wrap;gap:10px;
    align-items:center;padding:14px 0;margin-bottom:22px;background:var(--bg, #ece6dc);
    border-bottom:1px solid var(--line, #d6ccbd)}
  .pk-dd{position:relative}
  .pk-dd>button{font:inherit;font-size:13.5px;padding:9px 15px;cursor:pointer;white-space:nowrap;
    background:transparent;border:1px solid var(--line, #d6ccbd);border-radius:100px;color:var(--body, var(--espresso, #5c554b));
    display:inline-flex;align-items:center;gap:8px;transition:border-color .2s,color .2s}
  .pk-dd>button:hover{border-color:var(--gold,#a9895a);color:var(--ink, #2e2820)}
  .pk-dd>button[aria-expanded="true"]{border-color:var(--ink, #2e2820);color:var(--ink, #2e2820)}
  .pk-dd>button .n{background:var(--ink, #2e2820);color:var(--bg, #ece6dc);border-radius:100px;
    font-size:11px;padding:1px 7px}
  .pk-dd>button i{width:6px;height:6px;border-right:1.4px solid currentColor;
    border-bottom:1.4px solid currentColor;transform:rotate(45deg);margin-top:-3px}
  /* сайт не объявляет --card и --body, поэтому у каждой
     переменной есть запасной цвет — иначе фон меню выходит прозрачным */
  /* у .pk-pop и кнопок свой display, он перебивает атрибут hidden — возвращаем */
  .pk-pop[hidden],.pk-more[hidden],.pk-reset[hidden]{display:none}
  /* фон страницы уже песочный, а --cream от него почти не отличается,
     поэтому меню делаем светлее фона и с заметной тенью */
  .pk-pop{position:absolute;top:calc(100% + 8px);left:0;z-index:30;min-width:260px;
    padding:16px;background:#fffdf8;border:1px solid #cfc3b0;border-radius:13px;
    box-shadow:0 18px 44px rgba(46,40,32,.22);display:flex;flex-wrap:wrap;gap:7px}
  @media(max-width:640px){.pk-pop{left:auto;right:0;min-width:min(300px,86vw)}}
  .pk-chip{font:inherit;font-size:12.5px;padding:7px 13px;border-radius:100px;cursor:pointer;
    background:transparent;color:var(--body, var(--espresso, #5c554b));border:1px solid var(--line, #d6ccbd);transition:.18s}
  .pk-chip:hover{border-color:var(--gold,#a9895a);color:var(--ink, #2e2820)}
  .pk-chip[aria-pressed="true"]{background:var(--ink, #2e2820);border-color:var(--ink, #2e2820);color:var(--bg, #ece6dc)}
  .pk-count{font-size:13px;color:var(--muted, #8a8175);margin-left:auto}
  .pk-reset{font:inherit;font-size:13px;color:var(--muted, #8a8175);background:none;border:none;
    cursor:pointer;text-decoration:underline;padding:6px 0}

  /* без нижней границы высоты страница схлопывается при фильтрации
     и браузер сдвигает вид — это читается как «прокрутка отскакивает» */
  .pk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(268px,1fr));gap:14px;
    min-height:78vh;align-content:start}
  .pk-card{background:var(--card, var(--cream, #f7f3ec));border:1px solid var(--line, #d6ccbd);border-radius:13px;
    padding:20px 21px;display:flex;flex-direction:column;gap:9px}
  .pk-card .m{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold,#a9895a)}
  .pk-card h4{font-size:15.5px;color:var(--ink, #2e2820);margin:0;font-weight:700}
  .pk-card p{margin:0;font-size:13.5px}
  .pk-card .res{color:var(--ink, #2e2820)}
  .pk-card details{margin-top:2px}
  .pk-card summary{list-style:none;cursor:pointer;font-size:12.5px;color:var(--muted, #8a8175);
    padding:8px 0 0;border-top:1px solid var(--line, #d6ccbd);transition:color .2s}
  .pk-card summary::-webkit-details-marker{display:none}
  .pk-card summary:hover{color:var(--gold,#a9895a)}
  .pk-plan{margin-top:8px;
    display:grid;grid-template-columns:auto 1fr;gap:5px 12px;font-size:12.5px}
  .pk-plan .k{color:var(--muted, #8a8175);white-space:nowrap}
  .pk-plan .v{color:var(--ink, #2e2820)}
  .pk-card .price{margin-top:auto;padding-top:12px;font-family:var(--serif);font-size:19px;
    color:var(--ink, #2e2820)}
  .pk-card .price small{font-family:var(--sans);font-size:12px;color:var(--muted, #8a8175)}
  .pk-more{display:block;margin:22px auto 0;font:inherit;font-size:14px;padding:12px 26px;
    cursor:pointer;background:transparent;border:1px solid var(--line, #d6ccbd);border-radius:100px;
    color:var(--ink, #2e2820);transition:border-color .2s}
  .pk-more:hover{border-color:var(--gold,#a9895a)}
  .pk-empty{padding:34px;text-align:center;color:var(--muted, #8a8175);background:var(--card, var(--cream, #f7f3ec));
    border:1px dashed var(--line, #d6ccbd);border-radius:13px}
  /* PICKER:END */
  
  /* --- карточки разделов на главной --- */
  .routes-lead { max-width: 640px; color: var(--muted); }
  .routes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
  @media (max-width: 1000px) { .routes-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 700px) { .routes-grid { grid-template-columns: 1fr; } }
  .routes-price { margin-top: 26px; }
  .routes-price a { color: var(--espresso); border-bottom: 1px solid var(--line);
    padding-bottom: 2px; font-size: 15px; }
  .routes-price a:hover { color: var(--sage-dark); border-color: var(--sage-dark); }
  .route { display: flex; flex-direction: column; gap: 12px; padding: 34px 34px 30px;
    background: var(--cream, #f4f0e8); border: 1px solid var(--line); border-radius: 16px;
    transition: border-color .25s, transform .25s; }
  .route:hover { border-color: var(--sage-dark); transform: translateY(-2px); }
  .route-k { font-family: var(--serif); font-size: 13px; letter-spacing: .2em; color: var(--sage-dark); }
  .route h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--espresso);
    margin: 0; line-height: 1.15; }
  .route p { margin: 0; color: var(--muted); font-size: 15px; }
  .route-go { margin-top: auto; padding-top: 12px; font-size: 13px; letter-spacing: .06em;
    color: var(--espresso); border-bottom: 1px solid var(--line); align-self: flex-start;
    padding-bottom: 3px; }
  .route:hover .route-go { border-color: var(--sage-dark); color: var(--sage-dark); }

  .sub-title { font-family: var(--serif); font-size: 19px; font-weight: 500;
    color: var(--espresso); margin: 40px 0 16px; padding-bottom: 8px;
    border-bottom: 1px solid var(--line); }
  .sub-title:first-child { margin-top: 0; }
  .svc-layout.no-filter { grid-template-columns: 1fr; }
  .svc-layout.no-filter .svc-main .cat-title:first-of-type { margin-top: 0; }

  /* --- шапка страницы раздела --- */
  .page-head { padding: 60px 0 10px; }
  .page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 52px);
    color: var(--espresso); margin: 10px 0 14px; line-height: 1.08; }
  .page-head .lead { max-width: 680px; color: var(--muted); font-size: 17px; }
  .page-back { display: inline-block; margin-top: 26px; font-size: 13px; color: var(--muted);
    border-bottom: 1px solid var(--line); padding-bottom: 2px; }
  .page-back:hover { color: var(--sage-dark); border-color: var(--sage-dark); }
  /* якоря не должны уезжать под липкую шапку */
  section[id], div[id] { scroll-margin-top: 96px; }

  /* --- отправка форм --- */
  /* honeypot: невидим для человека, но боты заполняют его и выдают себя.
     display:none не годится — часть ботов такие поля пропускает. */
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
  .form-status { font-size: 14px; margin-top: 10px; color: var(--muted); min-height: 1px; }
  .form-status.is-ok { color: var(--sage-dark); }
  .form-status.is-err { color: #a4553f; }

  /* --- трихология: содержательные блоки --- */
  .tri-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 48px; margin-top: 30px; }
  .tri-group h4 { font-family: var(--serif); font-weight: 500; font-size: 19px;
    color: var(--espresso); margin-bottom: 10px; }
  .tri-list { list-style: none; }
  .tri-list li { position: relative; padding-left: 20px; color: #5c554b; font-size: 15px;
    margin-bottom: 7px; }
  .tri-list li::before { content: "—"; position: absolute; left: 0; color: var(--sage-dark); }
  .tri-list b { font-weight: 500; color: var(--espresso); }
  .tri-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
  .tri-card { padding: 28px 28px 26px; background: var(--cream); border: 1px solid var(--line);
    border-radius: 16px; }
  .tri-card h4 { font-family: var(--serif); font-weight: 500; font-size: 21px;
    color: var(--espresso); margin-bottom: 10px; line-height: 1.2; }
  .tri-card p { color: var(--muted); font-size: 15px; }
  .tri-note { margin-top: 34px; padding: 24px 28px; border-left: 2px solid var(--sage);
    background: rgba(138, 154, 123, .09); color: #5c554b; font-size: 15px; max-width: 760px; }
  @media (max-width: 900px) { .tri-cards { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 700px) { .tri-cols, .tri-cards { grid-template-columns: 1fr; } }
