/* ============================================================
   stom-pushkino.ru — дизайн v2 (порт превью /new/, accent teal)
   Источник дизайн-системы: превью Claude Design, июнь 2026.
   Файл единый: [1] шрифты  [2] система из превью  [3] адаптив
   и компоненты внутренних страниц (добавлены при порте).
   ============================================================ */

/* ===== [1] Шрифты (Manrope + Unbounded, self-hosted) ===== */
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v2/fonts/5d8e0798a8.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v2/fonts/d8fc94bf7a.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v2/fonts/1cb6f3caae.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v2/fonts/89cd8db6d2.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v2/fonts/1f62546fa0.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v2/fonts/b42951014c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v2/fonts/5d8e0798a8.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v2/fonts/d8fc94bf7a.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v2/fonts/1cb6f3caae.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v2/fonts/89cd8db6d2.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v2/fonts/1f62546fa0.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v2/fonts/b42951014c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v2/fonts/5d8e0798a8.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v2/fonts/d8fc94bf7a.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v2/fonts/1cb6f3caae.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v2/fonts/89cd8db6d2.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v2/fonts/1f62546fa0.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v2/fonts/b42951014c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v2/fonts/5d8e0798a8.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v2/fonts/d8fc94bf7a.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v2/fonts/1cb6f3caae.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v2/fonts/89cd8db6d2.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v2/fonts/1f62546fa0.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets-v2/fonts/b42951014c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets-v2/fonts/5d8e0798a8.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets-v2/fonts/d8fc94bf7a.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets-v2/fonts/1cb6f3caae.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets-v2/fonts/89cd8db6d2.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets-v2/fonts/1f62546fa0.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets-v2/fonts/b42951014c.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v2/fonts/aff1b50f64.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v2/fonts/f4b8aa6351.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v2/fonts/eeef4ff6ac.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v2/fonts/2465c50468.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets-v2/fonts/1924221f8b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v2/fonts/aff1b50f64.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v2/fonts/f4b8aa6351.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v2/fonts/eeef4ff6ac.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v2/fonts/2465c50468.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets-v2/fonts/1924221f8b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v2/fonts/aff1b50f64.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v2/fonts/f4b8aa6351.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v2/fonts/eeef4ff6ac.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v2/fonts/2465c50468.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets-v2/fonts/1924221f8b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ===== [2] Дизайн-система превью ===== */
/* ============================================================
   Стоматология Пушкинская — Redesign
   Медицинский минимализм + свежий/дружелюбный акцент
   ============================================================ */

:root {
  /* Palette — warm whites + mint/teal accent */
  --bg:            #F7FAF9;
  --bg-elev:       #FFFFFF;
  --bg-muted:      #EEF3F1;
  --bg-sunken:     #E6ECEA;

  --ink:           #0E1513;     /* near-black, slight green */
  --ink-2:         #2B3734;
  --ink-3:         #55645F;
  --ink-4:         #8A9691;
  --ink-5:         #B8C0BC;
  --line:          #E2E7E5;
  --line-strong:   #CFD6D3;

  /* Mint / teal accents */
  --mint-50:       #E6F4F3;
  --mint-100:      #C6E6E4;
  --mint-200:      #93CDCA;
  --mint-300:      #60B4B0;
  --mint-400:      #2E9B97;   /* primary fresh */
  --mint-500:      #0E7C79;
  --mint-600:      #075F5C;   /* deep teal */
  --mint-700:      #044644;
  --mint-ink:      #0F3E2F;

  --accent:        var(--mint-500);
  --accent-hover:  var(--mint-600);
  --accent-soft:   var(--mint-50);

  /* Feedback colors */
  --ok:            #0E7C79;
  --warn:          #C78A2B;
  --danger:        #C94A4A;

  /* Typography */
  --font-sans:     'Manrope', 'Onest', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display:  'Unbounded', 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-num:      'Manrope', ui-sans-serif, monospace;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 48px;
  --r-full: 999px;

  /* Shadows — soft, medical */
  --shadow-xs: 0 1px 2px rgba(14,21,19,0.04);
  --shadow-sm: 0 2px 8px rgba(14,21,19,0.04), 0 1px 2px rgba(14,21,19,0.03);
  --shadow-md: 0 8px 24px rgba(14,21,19,0.06), 0 2px 6px rgba(14,21,19,0.04);
  --shadow-lg: 0 24px 48px rgba(14,21,19,0.08), 0 6px 12px rgba(14,21,19,0.04);
  --shadow-mint: 0 16px 40px -12px rgba(46,149,115,0.28);

  /* Layout */
  --container: 1280px;
  --gutter: 40px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01';
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ======== Typography ======== */
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.h-hero-sans {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(44px, 6.2vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
.h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 62ch;
}
.muted { color: var(--ink-3); }

/* ======== Layout ======== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding-top: var(--sp-24); padding-bottom: var(--sp-24); }
.section-sm { padding-top: var(--sp-16); padding-bottom: var(--sp-16); }
.divider { height: 1px; background: var(--line); margin: 0; }

/* ======== Buttons ======== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--mint-600); box-shadow: var(--shadow-mint); }

.btn-accent {
  background: var(--mint-500);
  color: #fff;
}
.btn-accent:hover { background: var(--mint-600); box-shadow: var(--shadow-mint); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-light:hover { border-color: var(--ink); }

.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

.btn-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  transition: all .18s var(--ease);
}
.btn-icon:hover { border-color: var(--ink); }

.arrow-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px;
  color: var(--ink);
}
.arrow-cta svg { transition: transform .2s var(--ease); }
.arrow-cta:hover svg { transform: translateX(4px); }

/* ======== Chips / tags ======== */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-full);
  background: var(--mint-50);
  color: var(--mint-700);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint-400);
  box-shadow: 0 0 0 3px rgba(79,174,137,0.2);
}
.chip-outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

/* ======== Generic card ======== */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-pad { padding: var(--sp-8); }

/* ======== Utilities ======== */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; }
.grid { display: grid; }
.text-center { text-align: center; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* Fade-in on load */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.fade-in { animation: fadeUp .7s var(--ease) both; }

/* Placeholder image (tooth-clinic atmosphere) */
.ph-image {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--mint-100), var(--mint-50) 40%, #fff 100%);
  color: var(--mint-700);
}
.ph-image::after {
  content: attr(data-label);
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
  border-radius: var(--r-full);
  color: var(--mint-700);
}
.ph-image-stripes::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(46,149,115,0.06) 0 2px,
    transparent 2px 22px
  );
}

/* ======== Header ======== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247,250,249,0.82);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 76px;
}
.phone-link { white-space: nowrap; }
.header-actions { white-space: nowrap; }
.brand { white-space: nowrap; }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
/* размер лого управляется отсюда (не inline), чтобы адаптив мог его менять */
.site-header .brand img { height: 44px; width: auto; display: block; flex: 0 0 auto; max-width: none; }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--mint-500);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.04em;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,0.08);
}
.brand-mark::before {
  content: 'П';
}
.brand-sub { color: var(--ink-4); font-size: 12px; font-family: var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; display: block; margin-top: 2px;}

.nav { display: flex; align-items: center; gap: 6px; justify-self: center;}
.nav a {
  white-space: nowrap;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: var(--r-full);
  color: var(--ink-2);
  transition: background .15s var(--ease), color .15s var(--ease);
  position: relative;
}
.nav a:hover { background: var(--bg-muted); color: var(--ink); }
.nav-has-child::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .6;
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-link {
  font-weight: 600;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.phone-link .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-400); box-shadow: 0 0 0 3px rgba(79,174,137,0.22);}

@media (max-width: 1320px) {
  .nav { gap: 2px; }
  .nav a { padding: 10px 10px; font-size: 14px; }
}

/* Dropdown panel */
.dropdown-wrap { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  min-width: 620px;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .15s var(--ease), transform .15s var(--ease);
}
.dropdown-wrap:hover .dropdown-panel,
.dropdown-wrap:focus-within .dropdown-panel {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown-col h4 {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4); font-weight: 600; margin: 0 0 10px; padding: 0 12px;
}
.dropdown-col a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-size: 14px; color: var(--ink-2);
}
.dropdown-col a:hover { background: var(--mint-50); color: var(--mint-700); }

/* ======== HERO — variants ======== */
.hero { padding-top: 48px; padding-bottom: 96px; position: relative; overflow: hidden; }

/* Variant A — Split editorial */
.hero-a {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.hero-a__left { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 640px;}
.hero-a__title { margin: 0;}
.hero-a__title em { font-style: normal; color: var(--mint-600); position: relative; }
.hero-a__title em::after {
  content:''; position:absolute; left: 0; right: 0; bottom: 2px;
  height: 10px;
  background: var(--mint-100);
  z-index: -1;
  border-radius: 4px;
}
.hero-a__cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; }
.hero-a__sub { margin-top: 24px; }
.hero-a__right {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(115% 85% at 82% 8%, rgba(96,180,176,0.55) 0%, transparent 55%),
    radial-gradient(95% 75% at 5% 98%, rgba(4,70,68,0.65) 0%, transparent 52%),
    linear-gradient(150deg, #0E7C79 0%, #075F5C 52%, #044644 100%);
  min-height: 640px;
  isolation: isolate;
}
.hero-a__right > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-a__right::before {
  content:''; position:absolute; width:340px; height:340px; border-radius:50%;
  top:-90px; right:-60px; z-index:0; pointer-events:none;
  background: radial-gradient(circle, rgba(255,255,255,0.20), transparent 70%);
  filter: blur(10px);
}
.hero-a__right::after {
  content:''; position:absolute; width:420px; height:420px; border-radius:50%;
  bottom:-150px; left:-120px; z-index:0; pointer-events:none;
  background: radial-gradient(circle, rgba(46,155,151,0.45), transparent 70%);
  filter: blur(24px);
}
.hero-a__right .ph-image { position: absolute; inset: 0; border-radius: 0;}
.hero-promo-card {
  position: absolute;
  z-index: 3;
  bottom: 24px; left: 24px; right: 24px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.hero-promo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-mint); }
/* тексты баннера — в классах (не inline), чтобы адаптив мог их ужимать */
.hpc-kicker { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-600); font-weight: 600; margin-bottom: 8px; }
.hpc-title { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -.015em; line-height: 1.1; }
.hpc-sub { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.hpc-price { font-family: var(--font-display); font-size: 38px; font-weight: 500; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.hpc-price span { font-size: .55em; color: var(--ink-3); }
.hero-float-badge {
  position: absolute;
  z-index: 3;
  top: 24px; right: 24px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-radius: var(--r-full);
  padding: 10px 16px;
  font-weight: 600;
  font-size: 13px;
  display: flex; align-items: center; gap: 8px;
}

/* ======== Stats strip ======== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-cell {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.stat-cell:last-child { border-right: 0; }
.stat-cell .num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--ink);
}
.stat-cell .num sup { font-size: 0.45em; color: var(--mint-500); vertical-align: top; font-weight: 500; }
.stat-cell .lbl { font-size: 14px; color: var(--ink-3); max-width: 20ch;}

/* ======== Promo cards ======== */
.promo-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 20px;
}
.promo-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 40px;
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
  isolation: isolate;
  transition: transform .3s var(--ease);
}
.promo-card:hover { transform: translateY(-2px);}
.promo-card.dark {
  background:
    radial-gradient(130% 120% at 88% -10%, rgba(46,155,151,0.55) 0%, transparent 55%),
    radial-gradient(120% 120% at 0% 120%, rgba(14,124,121,0.35) 0%, transparent 50%),
    linear-gradient(135deg, #0c3f3d 0%, #0E1513 72%);
}
.promo-card.mint {
  background:
    radial-gradient(120% 130% at 100% -10%, rgba(255,255,255,0.30) 0%, transparent 55%),
    linear-gradient(135deg, var(--mint-400) 0%, var(--mint-500) 45%, var(--mint-700) 100%);
}
.promo-card::before {
  content:''; position:absolute; width:280px; height:280px; border-radius:50%;
  top:-130px; right:-70px; z-index:0; pointer-events:none;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  filter: blur(6px);
}
.promo-card .kicker { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; opacity: 0.8;}
.promo-card .title { font-family: var(--font-display); font-size: 36px; font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; margin: 14px 0 12px; max-width: 16ch; }
.promo-card .price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;}
.promo-card .price {
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 72px; font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.promo-card .price .cur { font-size: 0.45em; opacity: 0.7; margin-left: 6px; vertical-align: top; }
.promo-card .price-meta { font-size: 13px; opacity: 0.85; max-width: 18ch;}
.promo-card .promo-bg-img { position: absolute; inset: 0; opacity: 0.14; z-index: -1; object-fit: cover; width: 100%; height: 100%;}
.promo-card .cta-inline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: background .18s var(--ease);
}
.promo-card .cta-inline:hover { background: rgba(255,255,255,0.25);}
.promo-card.light {
  background: var(--bg-elev);
  color: var(--ink);
  border: 1px solid var(--line);
}
.promo-card.light .kicker { color: var(--mint-600); opacity: 1;}
/* на светлой карточке полупрозрачная белая кнопка не видна */
.promo-card.light .cta-inline { background: var(--mint-500); color: #fff; }
.promo-card.light .cta-inline:hover { background: var(--mint-600); }

/* ======== Services filter ======== */
.services-header { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px;}
.services-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.services-tab {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .18s var(--ease);
}
.services-tab:hover { border-color: var(--ink); }
.services-tab .count { font-size: 11px; background: var(--bg-muted); padding: 2px 6px; border-radius: 999px; color: var(--ink-3); font-weight: 600;}
.services-tab.active { background: var(--ink); color: #fff; border-color: var(--ink);}
.services-tab.active .count { background: rgba(255,255,255,0.16); color: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 16px;
  transition: all .22s var(--ease);
  position: relative;
  overflow: hidden;
  min-height: 200px;
}
.service-card:hover {
  border-color: transparent;
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}
.service-card .name { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.15;}
.service-card .desc { font-size: 14px; color: var(--ink-3); line-height: 1.5; flex: 1;}
.service-card:hover .desc { color: rgba(255,255,255,0.7);}
.service-card .price-line { font-size: 13px; color: var(--ink-4); display: flex; align-items: center; justify-content: space-between;}
.service-card:hover .price-line { color: rgba(255,255,255,0.7);}
.service-card .price-line .p { font-family: var(--font-num); font-weight: 600; color: var(--ink); font-size: 15px; }
.service-card:hover .price-line .p { color: #fff;}
.service-card .arrow { position: absolute; top: 28px; right: 28px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-muted); display: flex; align-items: center; justify-content: center; transition: all .22s var(--ease);}
.service-card:hover .arrow { background: var(--mint-500); color: #fff; transform: rotate(-45deg);}

/* ======== Reviews ======== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-stars { color: var(--mint-500); letter-spacing: 2px; font-size: 14px;}
.review-text { font-size: 15px; line-height: 1.6; color: var(--ink-2);}
.review-meta { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto;}
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mint-200), var(--mint-400));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.review-author .name { font-weight: 600; font-size: 14px;}
.review-author .where { font-size: 12px; color: var(--ink-4);}
.review-source { margin-left: auto; font-size: 12px; color: var(--ink-4);}

/* ======== Doctors ======== */
.doctors-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start;}
.doctors-tabs { display: flex; flex-direction: column; gap: 4px;}
.doctor-tab {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  transition: all .18s var(--ease);
}
.doctor-tab:hover { background: #fff; border-color: var(--line);}
.doctor-tab.active { background: var(--ink); color: #fff; border-color: var(--ink);}
.doctor-tab .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mint-200), var(--mint-400));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px;
}
.doctor-tab.active .avatar { background: linear-gradient(135deg, var(--mint-400), var(--mint-600));}
.doctor-tab .name { font-weight: 600; font-size: 15px; line-height: 1.2;}
.doctor-tab .role { font-size: 12px; color: var(--ink-4); margin-top: 2px;}
.doctor-tab.active .role { color: rgba(255,255,255,0.6);}
.doctor-tab .arr { opacity: 0; transition: opacity .18s var(--ease); font-size: 16px;}
.doctor-tab.active .arr, .doctor-tab:hover .arr { opacity: 1;}
.doctor-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  min-height: 440px;
}
.doctor-photo {
  height: 100%;
  min-height: 380px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--mint-100), var(--mint-50));
  position: relative;
}
.doctor-info h3 { font-family: var(--font-display); font-size: 36px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 4px; line-height: 1.05;}
.doctor-info .role-big { font-size: 15px; color: var(--mint-600); font-weight: 600; margin-bottom: 24px;}
.doctor-stats { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px;}
.doctor-stats .n { font-family: var(--font-display); font-size: 32px; font-weight: 500; letter-spacing: -0.02em; line-height: 1;}
.doctor-stats .l { font-size: 12px; color: var(--ink-4); margin-top: 6px;}
.doctor-bio { font-size: 14.5px; line-height: 1.6; color: var(--ink-3); margin-bottom: 20px;}
.doctor-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;}
.doctor-specs .spec-tag { padding: 6px 12px; border-radius: 999px; background: var(--mint-50); color: var(--mint-700); font-size: 12px; font-weight: 600;}

/* ======== Why us ======== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.why-cell {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--line);
  padding-right: 32px;
}
.why-cell:last-child { border-right: 0; padding-right: 0;}
.why-cell:not(:first-child) { padding-left: 32px;}
.why-cell .n { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--mint-600); margin-bottom: 24px; display: flex; align-items: center; gap: 8px; letter-spacing: .04em;}
.why-cell .n::before { content: ''; width: 24px; height: 1px; background: var(--mint-500);}
.why-cell h4 { font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 14px;}
.why-cell p { font-size: 14.5px; line-height: 1.55; color: var(--ink-3); margin: 0;}
.why-cell .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--mint-50); color: var(--mint-600); display: flex; align-items: center; justify-content: center; margin-bottom: 24px;}

/* ======== Big about block ======== */
.about-wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 64px;
  padding: 64px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-2xl);
  position: relative;
  overflow: hidden;
}
.about-wrap::before {
  content:'';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, rgba(79,174,137,0.3), transparent);
  filter: blur(20px);
}
.about-wrap h2 { font-family: var(--font-display); font-size: 48px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; margin: 20px 0 28px;}
.about-wrap .eyebrow { color: var(--mint-300);}
.about-wrap .body { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.76); margin: 0;}
.about-wrap .body + .body { margin-top: 16px; }
.about-props { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; margin-top: 32px;}
.about-props .prop { padding: 16px; background: rgba(255,255,255,0.04); border-radius: var(--r-md); border: 1px solid rgba(255,255,255,0.08);}
.about-props .prop .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--mint-300); margin-bottom: 6px;}
.about-props .prop .val { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.01em;}

/* ======== Partners ======== */
.partners-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding: 32px 0;
}
.partner-cell {
  aspect-ratio: 5/2;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  padding: 12px 20px;
  transition: all .2s var(--ease);
  filter: grayscale(1);
  opacity: 0.7;
  overflow: hidden;
}
.partner-cell img { max-height: 100%; max-width: 100%; object-fit: contain; }
.partner-cell:hover { filter: none; opacity: 1; border-color: var(--line-strong);}

/* ======== Final CTA ======== */
.final-cta {
  position: relative;
  padding: 96px 64px;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, var(--mint-500), var(--mint-700));
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.final-cta h2 { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.02; margin: 0 0 20px;}
.final-cta p { font-size: 18px; max-width: 52ch; margin: 0 auto 32px; opacity: 0.9;}
.final-cta .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;}
.final-cta .btn-primary { background: #fff; color: var(--ink);}
.final-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35);}
.final-cta .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1);}

/* ======== Footer ======== */
.footer { background: var(--ink); color: rgba(255,255,255,0.66); padding: 80px 0 40px; margin-top: 64px;}
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.08);}
.footer-top .brand { color: #fff; }
.footer-top .brand-sub { color: rgba(255,255,255,0.5);}
.footer h5 { font-family: var(--font-sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); font-weight: 600; margin: 0 0 20px;}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px;}
.footer ul a { font-size: 14px; color: rgba(255,255,255,0.75); transition: color .15s var(--ease);}
.footer ul a:hover { color: #fff;}
.footer-bottom { padding-top: 32px; display: flex; justify-content: space-between; align-items: center; font-size: 12px;}
.footer-bottom .license { max-width: 60ch; line-height: 1.5;}
.footer .contact-line { font-size: 15px; margin-bottom: 10px; color: #fff; font-weight: 500;}

/* ======== Modal ======== */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(14,21,19,0.5);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease);
}
.modal-backdrop.open { opacity: 1; pointer-events: auto;}
.modal {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  width: 90%;
  max-width: 480px;
  /* не выше экрана: высокая форма скроллится внутри, а не вылезает */
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(.98);
  transition: transform .2s var(--ease);
}
.modal-backdrop.open .modal { transform: none;}
.modal h3 { font-family: var(--font-display); font-size: 28px; font-weight: 500; margin: 0 0 8px; letter-spacing: -0.015em;}
.modal .sub { font-size: 14px; color: var(--ink-3); margin-bottom: 24px; line-height: 1.5;}
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-muted);
  transition: all .15s var(--ease);
}
.modal-close:hover { background: var(--ink); color: #fff;}
.modal-content-pos { position: relative;}

.form-field { margin-bottom: 16px;}
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 6px;}
.form-field input, .form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 15px;
  transition: border-color .15s var(--ease);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--mint-500); box-shadow: 0 0 0 3px rgba(79,174,137,0.15);}
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--ink-3); line-height: 1.4; margin: 16px 0;}
.form-check input { margin-top: 2px; accent-color: var(--mint-500);}
.form-submit { width: 100%; padding: 16px; border-radius: var(--r-full); background: var(--ink); color: #fff; font-weight: 600; font-size: 15px;  transition: background .15s var(--ease);}
.form-submit:hover { background: var(--mint-600);}
.form-success { text-align: center; padding: 20px 0;}
.form-success .check { width: 72px; height: 72px; border-radius: 50%; background: var(--mint-50); color: var(--mint-500); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;}

/* ======== Scroll anim ======== */
/* Скрываем до скролла только при работающем JS (html.js ставит head-v2),
   иначе контент обязан быть виден сразу — и пользователям, и роботам */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js [data-reveal].revealed { opacity: 1; transform: none;}

/* Pulse for CTA */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(79,174,137,0.35);}
  50% { box-shadow: 0 0 0 14px rgba(79,174,137,0);}
}
.pulse { animation: pulse 2.4s infinite;}

/* ---- Видео-отзывы ---- */
.videos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.video-card { display: flex; flex-direction: column; gap: 14px; }
.video-frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-sunken); box-shadow: var(--shadow-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; cursor: pointer; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; transition: transform .4s var(--ease); }
.video-poster::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(14,21,19,0.05) 0%, rgba(14,21,19,0.45) 100%); }
.video-card:hover .video-poster { transform: scale(1.04); }
.video-play { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--mint-600); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(14,21,19,0.25); transition: transform .25s var(--ease); }
.video-play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-card:hover .video-play { transform: scale(1.08); }
.video-dur { position: absolute; z-index: 1; bottom: 12px; right: 12px; background: rgba(14,21,19,0.7); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.video-title { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink-2); }
@media (max-width: 980px) { .videos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .videos-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-elev); overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq-item.open { border-color: var(--mint-200); box-shadow: var(--shadow-lg); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.faq-ico { flex: 0 0 auto; position: relative; width: 22px; height: 22px; }
.faq-ico::before, .faq-ico::after { content:''; position: absolute; background: var(--mint-500); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.faq-ico::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq-ico::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq-item.open .faq-ico::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a p { padding: 0 26px 24px; color: var(--ink-3); font-size: 15px; line-height: 1.6; max-width: 70ch; }

/* ===== [3] Адаптив + компоненты внутренних страниц ===== */

/* ---- Шапка: бургер и мобильное меню ---- */
.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 39;
  overflow-y: auto;
  padding: 20px var(--gutter) 48px;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 13px 4px; font-size: 17px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 4px; font-size: 17px; font-weight: 600; color: var(--ink);
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after {
  content: ''; width: 8px; height: 8px;
  border-right: 2px solid var(--ink-4); border-bottom: 2px solid var(--ink-4);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.mobile-nav details[open] summary::after { transform: rotate(-135deg); }
.mobile-nav details a { font-size: 15px; font-weight: 500; color: var(--ink-2); border-bottom: 0; padding: 10px 4px 10px 16px; }
.mobile-nav details a:first-of-type { padding-top: 2px; }
.mobile-nav .mobile-nav-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
/* CTA-кнопки меню: generic .mobile-nav a перебивает .btn по специфичности — возвращаем вид кнопок */
.mobile-nav .mobile-nav-cta a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px; font-size: 15px; font-weight: 600; border-bottom: 0;
}
.mobile-nav .mobile-nav-cta a.btn-accent { color: #fff; }
.mobile-nav .mobile-nav-cta a.btn-ghost { color: var(--ink); }
body.nav-open { overflow: hidden; }

/* ---- Фотогалерея клиники (information.php) ----
   у сетки свой класс (не tailwind grid-cols), чтобы её не перехватывал шим .prose */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.gallery-item { border-radius: var(--r-md); overflow: hidden; }
/* специфичность выше, чем у .prose img (тот даёт margin 8/18 и radius 24) */
.gallery-grid .gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; margin: 0; border-radius: 0; transition: transform .3s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-grid .gallery-item img { height: 128px; }
}

/* ---- Шапка секции: заголовок слева, ссылка справа ---- */
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 40px; gap: 32px; }

/* ---- Хлебные крошки ---- */
.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-4);
  margin-bottom: 28px;
}
.breadcrumbs a { color: var(--ink-3); transition: color .15s var(--ease); }
.breadcrumbs a:hover { color: var(--mint-600); }
.breadcrumbs .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-5); }
.breadcrumbs [aria-current] { color: var(--ink-4); }

/* ---- Внутренний hero (страницы услуг, врачей и т.д.) ---- */
.page-hero { padding-top: 40px; }
.page-hero .h1 { font-size: clamp(31px, 3.4vw, 48px); }
.page-hero .lead { margin-top: 20px; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}
.page-hero-grid > .side { position: sticky; top: 100px; }
.page-hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.page-hero .fact-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* Карточка-инфо справа в hero услуги */
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.info-card .kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-600); font-weight: 600; margin-bottom: 10px; }
.info-card .price-big { font-family: var(--font-display); font-size: 44px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.info-card .price-big .cur { font-size: .5em; color: var(--ink-3); }
.info-card .price-note { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.info-rows { margin: 24px 0; border-top: 1px solid var(--line); }
.info-rows .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-rows .row .k { color: var(--ink-3); }
.info-rows .row .v { font-weight: 600; text-align: right; }
.info-card .btn { width: 100%; justify-content: center; }
.info-card .under-btn { text-align: center; font-size: 12.5px; color: var(--ink-4); margin-top: 12px; }

/* ---- Этапы лечения ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step-cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
}
.step-cell .n {
  font-family: var(--font-display); font-size: 14px; font-weight: 500;
  color: var(--mint-600);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 18px; letter-spacing: .04em;
}
.step-cell .n::before { content: ''; width: 24px; height: 1px; background: var(--mint-500); }
.step-cell h4 { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 10px; }
.step-cell p { font-size: 14px; line-height: 1.55; color: var(--ink-3); margin: 0; }

/* ---- Таблица цен ---- */
.price-section + .price-section { margin-top: 48px; }
.price-section > h2, .price-section > h3 { margin-bottom: 20px; }
.price-table-wrap { overflow-x: auto; }
.price-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.price-table td { padding: 16px 22px; font-size: 15px; vertical-align: top; }
.price-table tr + tr td { border-top: 1px solid var(--line); }
.price-table tr:hover td { background: var(--mint-50); }
.price-table td.pp {
  text-align: right; white-space: nowrap;
  font-weight: 600; font-variant-numeric: tabular-nums;
  width: 1%;
}
.price-table td .sub { display: block; font-size: 13px; color: var(--ink-4); margin-top: 4px; font-weight: 400; }
.price-table tr.hot td { background: var(--mint-50); }
.price-table tr.hot td:first-child::before { content: 'Акция'; display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--mint-500); border-radius: 999px; padding: 2px 8px; margin-right: 10px; vertical-align: 1px; }

/* Якорная навигация по разделам цен */
.anchor-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 32px 0 48px;
  position: sticky; top: 77px;
  z-index: 5;
  background: linear-gradient(var(--bg) 85%, transparent);
  padding: 12px 0;
}
.anchor-nav a {
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: all .18s var(--ease);
}
.anchor-nav a:hover { border-color: var(--ink); }
.anchor-nav a.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---- Врач: карточка в списке ---- */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.doctor-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.doctor-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.doctor-card .photo {
  aspect-ratio: 4 / 4.6;
  background: linear-gradient(145deg, var(--mint-100), var(--mint-50));
  background-size: cover; background-position: center top;
}
.doctor-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.doctor-card h3 { font-family: var(--font-display); font-size: 23px; font-weight: 500; letter-spacing: -0.015em; margin: 0; }
.doctor-card .role { font-size: 14px; color: var(--mint-600); font-weight: 600; }
.doctor-card .exp { font-size: 13px; color: var(--ink-4); }
.doctor-card .specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.doctor-card .arrow-cta { margin-top: auto; }

/* ---- Врач: страница-профиль ---- */
.doctor-hero {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
}
.doctor-hero .photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(145deg, var(--mint-100), var(--mint-50));
  aspect-ratio: 4/5;
}
.doctor-hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ---- Статья (блог) ---- */
.prose { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-family: var(--font-display); font-size: 30px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); margin: 48px 0 18px; }
.prose h3 { font-family: var(--font-display); font-size: 23px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); margin: 36px 0 14px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--mint-500); }
.prose a { color: var(--mint-600); text-decoration: underline; text-decoration-color: var(--mint-200); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--mint-600); }
.prose img { border-radius: var(--r-lg); margin: 8px 0 18px; }
.prose blockquote {
  margin: 24px 0; padding: 20px 26px;
  background: var(--mint-50); border-left: 3px solid var(--mint-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--ink-2);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.prose table td, .prose table th { border: 1px solid var(--line); padding: 12px 16px; text-align: left; }
.prose table th { background: var(--bg-muted); font-weight: 600; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-4); margin-top: 20px; }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-5); }

/* Карточка статьи в листинге */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.article-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); transform: translateY(-2px); }
.article-card .tag { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--mint-600); }
.article-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; margin: 0; }
.article-card p { font-size: 14px; line-height: 1.55; color: var(--ink-3); margin: 0; flex: 1; }

/* ---- Контакты ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: stretch; }
.map-frame { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); min-height: 460px; background: var(--bg-sunken); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 36px; display: flex; flex-direction: column; gap: 4px; }
.contact-card .block { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-card .block:last-of-type { border-bottom: 0; }
.contact-card .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-4); font-weight: 600; margin-bottom: 8px; }
.contact-card .val { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.contact-card .val.big { font-family: var(--font-display); font-size: 26px; font-weight: 500; letter-spacing: -0.015em; }
.contact-card .note { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }

/* ---- Узкие/служебные страницы ---- */
.page-narrow { max-width: 840px; }
.doc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.doc-item {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 24px;
  font-weight: 600; font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.doc-item:hover { border-color: var(--mint-300); box-shadow: var(--shadow-sm); }
.doc-item .ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--mint-50); color: var(--mint-600); display: flex; align-items: center; justify-content: center; }
.doc-item .sub { display: block; font-size: 12.5px; color: var(--ink-4); font-weight: 400; margin-top: 3px; }

/* ---- Секция «связанные услуги» ---- */
.related-note { font-size: 14px; color: var(--ink-4); margin-top: 10px; }

/* ---- Фикс из превью: длинный заголовок карточки не лезет под стрелку ---- */
.service-card .name { padding-right: 44px; overflow-wrap: break-word; hyphens: auto; }

/* ---- Sticky-CTA на мобильных (страницы услуг) ---- */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { width: 100%; justify-content: center; }

/* ============================================================
   Адаптив (в превью его не было — добавлен при порте)
   ============================================================ */
@media (max-width: 1180px) {
  :root { --gutter: 28px; }
  /* цифры 72px не влезают в 4 колонки уже на ~1180 — переходим на 2x2 */
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-cell:nth-child(2n) { border-right: 0; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services-grid, .reviews-grid, .articles-grid, .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-cell { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .why-cell:not(:first-child) { padding-left: 0; }
  .why-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .partners-row { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .nav { display: none; }
  /* без .nav блок действий попадает в растянутую 1fr-колонку — прижимаем вправо */
  .header-actions { justify-self: end; }
  .burger { display: inline-flex; }
  .hero-a { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-a__left { min-height: 0; gap: 32px; }
  .hero-a__right { min-height: 480px; }
  .hero { padding-top: 24px; padding-bottom: 64px; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .page-hero-grid > .side { position: static; }
  .services-header { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .doctors-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .doctors-tabs { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; }
  .doctor-tab { flex: 0 0 auto; grid-template-columns: 40px 1fr; }
  .doctor-tab .arr { display: none; }
  .doctor-tab .avatar { width: 40px; height: 40px; }
  .about-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 44px 36px; }
  .doctor-hero { grid-template-columns: 320px 1fr; gap: 36px; }
  .footer-top { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --sp-24: 64px; --sp-16: 48px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-cell { padding: 28px 20px; }
  .stat-cell:nth-child(2n) { border-right: 0; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat-cell .num { font-size: 44px; }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; }
  .h1 br, .h2 br, .h-display br, .about-wrap h2 br, .final-cta h2 br { display: none; }
  .h1 { font-size: clamp(26px, 7.2vw, 48px); }
  /* hero-заголовок главной: у .h-display пол clamp = 40px и «Стоматология» (длинное слово) вылезала из блока на мобиле — даём свой мобильный кегль. Авто-переносов НЕ ставим (hyphens:auto рубил «зу-бов»); единственная точка переноса — &shy; внутри «Стоматология» в разметке */
  .hero-a__title { font-size: clamp(28px, 9vw, 40px); }
  .promo-grid { grid-template-columns: minmax(0, 1fr); }
  .promo-card { padding: 32px 28px; min-height: 300px; }
  .promo-card .price { font-size: 56px; }
  .promo-card .title { font-size: 28px; }
  /* низ карточки в столбик: текст не зажат, кнопка — настоящая кнопка во всю ширину */
  .promo-card .price-row { flex-direction: column; align-items: stretch; gap: 20px; }
  .promo-card .price-meta { max-width: none; }
  .promo-card .cta-inline { justify-content: center; padding: 15px 22px; font-size: 15px; background: #fff; color: var(--ink); }
  .promo-card.light .cta-inline { background: var(--mint-500); color: #fff; }
  .hero-a__right { min-height: 460px; }
  /* декоративное свечение на 420px-блоке накрывает всю нижнюю треть фото */
  .hero-a__right::after { display: none; }
  /* компактная карточка, чтобы фото кабинета оставалось видно */
  .hero-promo-card { padding: 14px 18px; gap: 6px; bottom: 12px; left: 12px; right: 12px; grid-template-columns: 1fr; }
  .hpc-kicker { font-size: 11px; margin-bottom: 4px; }
  .hpc-title { font-size: 17px; }
  .hpc-sub { display: inline; font-size: 12px; margin-top: 2px; }
  .hpc-price { font-size: 24px; }
  .hero-float-badge { top: 16px; right: 16px; font-size: 12px; padding: 8px 12px; }
  .doctor-panel { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 24px; }
  .doctor-photo { min-height: 320px; }
  .doctor-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .final-cta { padding: 56px 24px; border-radius: var(--r-xl); }
  /* «Запишитесь» при 40px шире экрана — ужимаем под мобилку */
  .final-cta h2 { font-size: clamp(27px, 8.6vw, 40px); }
  .about-wrap { padding: 36px 24px; border-radius: var(--r-xl); }
  /* «Стоматологическая» шире экрана — меньше кегль; перенос даёт &shy; в разметке */
  .about-wrap h2 { font-size: clamp(24px, 7vw, 48px); hyphens: auto; }
  /* плитки в одну колонку: «Набережная, 35к6» не влезает в половину ширины */
  .about-props { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .about-props .prop .val { font-size: 18px; }
  .footer { padding: 56px 0 32px; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
  /* Шапка на мобиле: лого + телефон + бургер (кнопка «Записаться» уходит в меню/hero) */
  .site-header__inner { height: 62px; gap: 10px; }
  .site-header .brand img { height: 36px; }
  .header-actions { gap: 10px; }
  .header-actions .btn { display: none; }
  .phone-link { font-size: 14px; gap: 6px; }
  .phone-link .dot { display: none; }
  .burger { width: 40px; height: 40px; }
  .mobile-nav { top: 62px; }
  .modal { padding: 24px 20px; }
  .modal h3 { font-size: 23px; padding-right: 40px; }
  .modal .sub { margin-bottom: 16px; }
  .modal .form-field { margin-bottom: 12px; }
  .modal-close { top: 14px; right: 14px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .map-frame { min-height: 340px; }
  .doc-list { grid-template-columns: minmax(0, 1fr); }
  .anchor-nav { position: static; }
  .prose { font-size: 16px; }
  .btn-lg { padding: 15px 22px; font-size: 15px; }
  .sticky-cta.enabled { display: block; }
  body.has-sticky-cta { padding-bottom: 76px; }
}

@media (max-width: 374px) {
  /* совсем узкие экраны: чтобы лого + номер + бургер влезали без переноса */
  .site-header .brand img { height: 30px; }
  .phone-link { font-size: 13px; }
}

@media (max-width: 560px) {
  .services-grid, .reviews-grid, .articles-grid, .doctors-grid, .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-cell { border-bottom: 1px solid var(--line); }
  .why-cell:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .why-cell:last-child { border-bottom: 0; }
  .partners-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-a__cta-row .btn { width: 100%; justify-content: center; }
  .page-hero .cta-row .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Компоненты страниц услуг (v2)
   ============================================================ */

/* ---- Контентная сетка: текст + липкий сайдбар ---- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.content-grid > aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 1100px) {
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .content-grid > aside { position: static; }
}

/* ---- Врезка (заметный блок в тексте) ---- */
.callout { background: var(--mint-50); border-left: 3px solid var(--mint-500); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 22px 26px; margin: 24px 0; }
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout h2, .callout h3, .callout h4 { margin: 0 0 12px; font-size: 21px; }

/* ---- FAQ на <details> (работает без JS) ---- */
.faq-list details { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-elev); overflow: hidden; margin-bottom: 12px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq-list details[open] { border-color: var(--mint-200); box-shadow: var(--shadow-lg); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; font-family: var(--font-display); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: 0 0 12px; width: 12px; height: 12px; border-right: 2px solid var(--mint-500); border-bottom: 2px solid var(--mint-500); transform: rotate(45deg); transition: transform .25s var(--ease); margin-right: 4px; }
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list details > div { padding: 0 24px 22px; color: var(--ink-3); font-size: 15px; line-height: 1.65; max-width: 74ch; }

/* ---- Заголовочная строка таблицы цен ---- */
.price-table th { text-align: left; padding: 14px 22px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); background: var(--bg-muted); font-weight: 600; }
.price-table th:last-child { text-align: right; }
.price-table tbody tr:first-child td { border-top: 1px solid var(--line); }

/* ---- Мини-сетка «другие услуги» ---- */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1100px) { .mini-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .mini-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.mini-card { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; font-weight: 600; font-size: 14.5px; text-align: center; transition: all .2s var(--ease); }
.mini-card:hover { border-color: var(--mint-300); box-shadow: var(--shadow-sm); color: var(--mint-700); }
.mini-card.accent { border-color: var(--mint-400); color: var(--mint-700); }

/* ---- Факты внутри финального CTA ---- */
.final-cta .cta-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 880px; margin: 0 auto 32px; text-align: left; }
.final-cta .cta-facts > div { background: rgba(255,255,255,0.12); border-radius: var(--r-md); padding: 16px 20px; }
.final-cta .cta-facts p { margin: 0; font-size: 13.5px; opacity: .85; max-width: none; }
.final-cta .cta-facts p:first-child { font-weight: 600; font-size: 15px; opacity: 1; margin-bottom: 2px; }
@media (max-width: 640px) { .final-cta .cta-facts { grid-template-columns: minmax(0, 1fr); } }

/* ---- Шим совместимости со старой разметкой контента (Tailwind-классы инертны) ---- */
.prose ul[class*="list-none"] { list-style: none; padding-left: 0; }
.prose ul[class*="list-none"] li { display: flex; gap: 10px; align-items: flex-start; }
.prose ul[class*="list-none"] li svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--mint-500); margin-top: 2px; }
.prose svg { max-width: 22px; max-height: 22px; }
.prose [class*="overflow-x-auto"] { overflow-x: auto; }
.prose div[class*="grid-cols"] { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; margin: 0 0 18px; }
@media (max-width: 640px) { .prose div[class*="grid-cols"] { grid-template-columns: minmax(0, 1fr); } }
.prose div[class*="grid-cols"] > div, .prose div[class*="border-l-4"], .prose div[class*="bg-white border"] { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--mint-400); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 20px 22px; }
.prose div[class*="grid-cols"] h4, .prose div[class*="border-l-4"] h4, .prose div[class*="bg-white border"] h4 { margin: 0 0 10px; font-family: var(--font-sans); font-weight: 600; font-size: 16.5px; color: var(--ink); }
.prose div[class*="grid-cols"] p, .prose div[class*="border-l-4"] p { font-size: 14px; margin: 0 0 8px; }
.prose table th { text-align: left; padding: 12px 16px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); background: var(--bg-muted); font-weight: 600; border: 1px solid var(--line); }

/* ---- Список врачей: широкие карточки ---- */
.doctor-list-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
@media (max-width: 1100px) { .doctor-list-grid { grid-template-columns: minmax(0, 1fr); } }
.doctor-row-card { display: grid; grid-template-columns: 190px 1fr; gap: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; transition: box-shadow .25s var(--ease); }
.doctor-row-card:hover { box-shadow: var(--shadow-md); }
@media (max-width: 640px) { .doctor-row-card { grid-template-columns: minmax(0, 1fr); } .doctor-row-card > img { max-width: 240px; } }
.doctor-row-card > img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; border-radius: var(--r-md); background: linear-gradient(145deg, var(--mint-100), var(--mint-50)); }
.doctor-row-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 4px; }
.doctor-row-card .role { color: var(--mint-600); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.doctor-row-card .facts { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; margin-bottom: 10px; }
.doctor-row-card .facts strong { color: var(--ink); }
.doctor-row-card ul { font-size: 13.5px; color: var(--ink-3); margin: 6px 0 14px; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.doctor-row-card ul li::marker { color: var(--mint-500); }
.doctor-row-card .cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

/* ---- Шим для сайдбара (та же старая разметка, что и в .prose) ---- */
.content-grid aside ul[class*="list-none"] { list-style: none; padding-left: 0; margin: 0; }
.content-grid aside li { font-size: 14px; color: var(--ink-3); line-height: 1.5; margin-bottom: 10px; }
.content-grid aside li[class*="flex"] { display: flex; gap: 10px; align-items: flex-start; }
.content-grid aside svg { flex: 0 0 20px; max-width: 20px; max-height: 20px; color: var(--mint-500); }
.content-grid aside h3, .content-grid aside h4 { font-family: var(--font-display); font-weight: 500; font-size: 19px; margin: 0 0 10px; }
.content-grid aside p { font-size: 14px; color: var(--ink-3); line-height: 1.55; margin: 0 0 14px; }
.content-grid aside img { border-radius: var(--r-md); }

/* ---- Страница акций ---- */
.promo-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1100px) { .promo-grid-3 { grid-template-columns: minmax(0, 1fr); } }
.promo-card .badge { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,0.18); border-radius: 999px; padding: 5px 12px; }
.promo-card.light .badge { background: var(--mint-50); color: var(--mint-700); }
.promo-card .feat { font-size: 13px; opacity: .85; margin-top: 10px; }
.promo-card .till { font-size: 12.5px; opacity: .75; margin-top: 6px; }
.promo-card .old-price { font-size: .45em; opacity: .6; text-decoration: line-through; margin-left: 10px; }
/* FAQ-ответ прямым <p> внутри details */
.faq-list details > p { padding: 0 24px 22px; margin: 0; color: var(--ink-3); font-size: 15px; line-height: 1.65; max-width: 74ch; }

/* ---- Фото-карточки (контакты, «наша клиника») ---- */
.prose div[class*="photo-hover"] { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; padding: 0; }
.prose div[class*="photo-hover"] img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; border-radius: 0; }
.prose div[class*="photo-hover"] > div { padding: 18px 22px; }
.prose div[class*="photo-hover"] h3 { margin: 0 0 6px; font-size: 18px; }
.prose div[class*="photo-hover"] p { font-size: 14px; margin: 0; color: var(--ink-3); }

/* ---- Шаги в статьях (нумерованные кружки старой вёрстки) ---- */
.prose .step-number { background: var(--mint-500); color: #fff; border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: 0 0 28px; }

/* ---- Карточки листинга блога ---- */
.blog-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: minmax(0, 1fr); } }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card .cover { aspect-ratio: 16 / 8.5; background-size: cover; background-position: center; background-color: var(--bg-sunken); position: relative; }
.blog-card .cover .tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.92); color: var(--mint-700); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.blog-card .body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; margin: 0; }
.blog-card .sub { font-size: 14px; color: var(--ink-3); }
.blog-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-3); margin: 0; flex: 1; }
.blog-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.blog-card .foot .time { font-size: 12.5px; color: var(--ink-4); }

/* Широкие таблицы в тексте скроллятся сами на узких экранах */
@media (max-width: 760px) {
  .prose table { display: block; overflow-x: auto; }
}

/* Трёхколоночный вариант сетки шагов (на десктопе) */
@media (min-width: 1181px) { .steps-3 { grid-template-columns: repeat(3, 1fr); } }
