/* Собрано _dev/build_pages.py, руками не править */
    /* ===== TOKENS ===== */
    :root {
      --c-primary:    #5F7055;
      --c-primary-h:  #4f5e45;
      --c-bg:         #F2F4EC;
      --c-surface:    #D9DFCC;
      --c-muted:      #A6B295;
      --c-dark:       #455838;
      --c-text:       #2C3326;
      --c-white:      #FFFFFF;
      --c-border:     rgba(107,124,97,.2);

      --ff: 'Cormorant Garamond', Georgia, serif;
      --ff-heading: 'Cormorant Garamond', Georgia, serif;

      --r-sm: 8px;
      --r:    16px;
      --r-lg: 24px;

      --ease: .3s ease;

      --sp: clamp(64px, 8vw, 120px);
      --wrap: 1200px;
      --px: clamp(20px, 5vw, 48px);

      --sh-sm: 0 2px 8px rgba(44,51,38,.08);
      --sh:    0 4px 24px rgba(44,51,38,.12);
      --sh-lg: 0 8px 40px rgba(44,51,38,.16);
    }

    /* ===== RESET ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 118.75%; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
    body {
      font-family: var(--ff);
      font-size: 21px;
      line-height: 1.75;
      color: var(--c-text);
      background: var(--c-bg);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    img { max-width: 100%; height: auto; display: block; }
    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }
    button { cursor: pointer; font-family: var(--ff); border: none; background: none; }


    /* ===== SMOOTH PAGE TRANSITIONS (MPA View Transitions) ===== */
    @media (prefers-reduced-motion: no-preference) {
      @view-transition { navigation: auto; }
      ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
    }
    /* ===== TYPOGRAPHY POLISH ===== */
    h1, h2, h3 { text-wrap: balance; }
    p { text-wrap: pretty; }

    ::selection { background: rgba(107,124,97,.28); color: var(--c-dark); }

    /* ===== SCROLLBAR ===== */
    html { scrollbar-color: var(--c-muted) var(--c-bg); scrollbar-width: thin; }
    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-track { background: var(--c-bg); }
    ::-webkit-scrollbar-thumb { background: var(--c-muted); border-radius: 5px; border: 2px solid var(--c-bg); }
    ::-webkit-scrollbar-thumb:hover { background: var(--c-primary); }

    /* ===== FOOTER WAVE ===== */
    .footer-wave svg { display: block; width: 100%; height: 56px; margin-bottom: -1px; }
    .footer-wave path { fill: var(--c-text); }

    /* ===== GRAIN ===== */
    body::after {
      content: ''; position: fixed; inset: 0; z-index: 2000;
      pointer-events: none; opacity: .028;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
    }

    @media (prefers-reduced-motion: reduce) {
      .fi { opacity: 1; transform: none; transition: none; }
    }

    /* ===== ACCESSIBILITY ===== */
    .skip-link {
      position: absolute; top: -100%; left: 0;
      padding: 12px 20px;
      background: var(--c-dark); color: var(--c-white);
      font-weight: 600; z-index: 9999;
      border-radius: 0 0 var(--r-sm) 0;
      transition: top var(--ease);
    }
    .skip-link:focus { top: 0; }
    :focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 4px; }
    /* секции, куда site.js переводит фокус после перехода по якорю, без рамки на весь блок */
    [tabindex="-1"]:focus { outline: none; }

    /* ===== SCROLL PROGRESS ===== */
    .scroll-progress {
      position: fixed; top: 0; left: 0; height: 2px;
      background: var(--c-primary); z-index: 1000;
      width: 0; transition: width .1s linear;
    }

    /* ===== SCROLL REVEAL ===== */
    .fi {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity .5s ease, transform .5s ease;
    }
    .fi.vis { opacity: 1; transform: translateY(0); }
    .fi.d1 { transition-delay: .1s; }
    .fi.d2 { transition-delay: .2s; }
    .fi.d3 { transition-delay: .3s; }
    .fi.d4 { transition-delay: .4s; }

    /* ===== LAYOUT ===== */
    .container {
      max-width: var(--wrap);
      margin: 0 auto;
      padding: 0 var(--px);
    }

    /* ===== HEADER ===== */
    .header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      padding: 20px 0; transition: background var(--ease), box-shadow var(--ease), padding var(--ease), backdrop-filter var(--ease), -webkit-backdrop-filter var(--ease);
    }
    .header.scrolled {
      background: rgba(242,244,236,.97);
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      padding: 12px 0;
      box-shadow: 0 2px 24px rgba(44,51,38,.13), 0 1px 4px rgba(44,51,38,.07);
    }
    .header-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
    .logo { font-family: var(--ff-heading); font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 600; color: var(--c-dark); line-height: 1.2; letter-spacing: -0.01em; text-decoration: none; }
    .logo-name { white-space: nowrap; }
    .logo-name span { color: var(--c-dark); }
    .logo-sub { font-family: var(--ff-heading); font-size: 2.2rem; font-weight: 600; color: var(--c-dark); opacity: 0.65; letter-spacing: 0.02em; white-space: nowrap; }
    .header-nav-row { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; }
    .btn.header-cta { display: inline-flex; padding: 10px 24px; font-size: .9rem; flex-shrink: 0; }

    .nav { display: flex; align-items: center; gap: 20px; }
    .nav-link {
      font-size: 1.4rem; font-weight: 600; opacity: .8; white-space: nowrap;
      transition: color var(--ease), opacity var(--ease); position: relative;
    }
    .nav-link::after {
      content: ''; position: absolute; bottom: -2px; left: 0;
      width: 0; height: 2px; background: var(--c-primary);
      transition: width var(--ease); border-radius: 2px;
    }
    .nav-link:hover { opacity: 1; color: var(--c-dark); }
    .nav-link:hover::after { width: 100%; }
    .nav-link.active { opacity: 1; color: var(--c-primary); }
    .nav-link.active::after { width: 100%; }

    .burger {
      display: none; flex-direction: column; gap: 5px;
      padding: 8px; min-width: 48px; min-height: 48px;
      align-items: center; justify-content: center;
    }
    .burger-line { display: block; width: 22px; height: 2px; background: var(--c-dark); border-radius: 2px; transition: transform var(--ease), opacity var(--ease); }
    .burger.active .burger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .burger.active .burger-line:nth-child(2) { opacity: 0; }
    .burger.active .burger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .nav-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,.4);
      z-index: 150; opacity: 0; pointer-events: none; transition: opacity var(--ease);
    }
    .nav-overlay.open { opacity: 1; pointer-events: all; }

    /* ===== SVG LINE ===== */
    .svg-line-wrap {
      display: block; margin: 2px 0 0;
      overflow: visible; height: 22px; width: 400px; max-width: 100%;
    }
    .sec-header--c .svg-line-wrap { margin: 2px auto 0; }
    .svg-line {
      stroke: var(--c-primary); stroke-width: 1.2;
      stroke-linecap: round; fill: none;
      stroke-dasharray: 420; stroke-dashoffset: 420;
      transition: stroke-dashoffset 0.9s cubic-bezier(.4,0,.2,1);
    }
    .svg-line.drawn { stroke-dashoffset: 0; }

    /* ===== SECTION HEADER ===== */
    .sec-header { margin-bottom: 56px; }
    .sec-header--c { text-align: center; }
    .label {
      display: inline-block; font-size: .72rem; font-weight: 700;
      letter-spacing: .14em; text-transform: uppercase;
      color: var(--c-primary-h); margin-bottom: 12px;
    }
    .sec-header h2 {
      font-family: var(--ff-heading);
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 700;
      color: var(--c-dark);
      line-height: 1.15;
      letter-spacing: -.02em;
      text-wrap: balance;
    }
    .sec-header p {
      font-size: 1.05rem; color: var(--c-text); opacity: .75;
      max-width: 640px; margin-top: 16px; line-height: 1.7;
    }
    .sec-header--c p { margin-left: auto; margin-right: auto; }

    /* ===== PAGE HERO ===== */
    .page-hero {
      padding: clamp(56px, 8vw, 100px) 0 clamp(48px, 6vw, 80px);
      padding-top: calc(clamp(56px, 8vw, 100px) + 88px);
      background: var(--c-bg);
      position: relative; overflow: hidden;
    }
    .page-hero-inner { max-width: 760px; }
    .page-hero-back {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: .88rem; font-weight: 600; color: var(--c-primary);
      margin-bottom: 32px; transition: gap var(--ease);
    }
    .page-hero-back:hover { gap: 12px; }
    .page-hero h1 {
      font-family: var(--ff-heading);
      font-size: clamp(2.4rem, 5.5vw, 4rem);
      font-weight: 700; color: var(--c-dark);
      line-height: 1.1; letter-spacing: -.03em;
      text-wrap: balance; margin-bottom: 20px;
    }
    .page-hero-lead {
      font-size: 1.1rem; line-height: 1.75; color: var(--c-text);
      opacity: .8; max-width: 620px;
    }

    /* ===== WHO SECTION ===== */
    .who { padding: var(--sp) 0; background: var(--c-white); }
    .who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
    .who-col { background: var(--c-bg); border-radius: var(--r-lg); padding: 40px 36px; }
    .who-col-no { background: var(--c-surface); }
    .who-col h3 {
      font-family: var(--ff-heading); font-size: 1.4rem; font-weight: 700;
      color: var(--c-dark); margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
    }
    .who-col h3 .who-badge {
      display: inline-flex; align-items: center; justify-content: center;
      width: 28px; height: 28px; border-radius: 50%; font-size: .8rem;
      font-family: var(--ff); font-weight: 700; flex-shrink: 0;
    }
    .who-col h3 .who-badge--yes { background: var(--c-primary); color: var(--c-white); }
    .who-col h3 .who-badge--no { background: var(--c-muted); color: var(--c-white); }
    .who-list { display: flex; flex-direction: column; gap: 0; }
    .who-list li {
      display: flex; gap: 12px; align-items: flex-start;
      font-size: .95rem; line-height: 1.65; padding: 12px 0;
      border-bottom: 1px solid var(--c-border);
    }
    .who-list li:last-child { border-bottom: none; padding-bottom: 0; }
    .who-list li::before {
      content: '-'; color: var(--c-primary); font-weight: 700;
      flex-shrink: 0; margin-top: 1px;
    }
    .who-col-no .who-list li::before { color: var(--c-muted); }

    /* ===== QUOTES SECTION ===== */
    .quotes { padding: clamp(48px, 6vw, 80px) 0; background: var(--c-bg); }
    .quotes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .quote-card {
      background: var(--c-white); border-radius: var(--r-lg);
      padding: 36px 40px; position: relative; overflow: hidden;
    }
    .quote-card::before {
      content: '\201C'; font-family: var(--ff-heading);
      font-size: 8rem; line-height: 1; color: var(--c-surface);
      position: absolute; top: -8px; left: 24px;
      pointer-events: none; font-weight: 700;
    }
    .quote-card blockquote {
      font-family: var(--ff-heading); font-size: 1.25rem;
      font-style: italic; color: var(--c-dark); line-height: 1.6;
      position: relative; z-index: 1; padding-top: 52px;
    }

    /* ===== APPROACH SECTION ===== */
    .approach-sec { padding: var(--sp) 0; background: var(--c-white); }
    .approach-text { max-width: 780px; }
    .approach-text p {
      font-size: 1rem; line-height: 1.8; color: var(--c-text);
      margin-bottom: 20px; opacity: .9;
    }
    .approach-text p:last-child { margin-bottom: 0; }

    /* ===== FOUNDATION SECTION ===== */
    .foundation { padding: var(--sp) 0; background: var(--c-bg); }
    .foundation-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
    .foundation-text p {
      font-size: 1rem; line-height: 1.8; color: var(--c-text);
      margin-bottom: 20px; opacity: .9;
    }
    .foundation-text p:last-child { margin-bottom: 0; }
    .foundation-aside {
      background: var(--c-white); border-radius: var(--r-lg);
      padding: 36px 32px; border-left: 3px solid var(--c-primary);
    }
    .foundation-aside h4 {
      font-family: var(--ff-heading); font-size: 1.1rem; font-weight: 700;
      color: var(--c-dark); margin-bottom: 16px;
    }
    .foundation-aside p { font-size: .9rem; line-height: 1.7; color: var(--c-text); opacity: .8; }

    /* ===== DIRECTIONS SECTION ===== */
    .directions { padding: var(--sp) 0; background: var(--c-surface); }
    .directions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .direction-card {
      background: var(--c-white); border-radius: var(--r-lg);
      padding: 36px 32px; border: 2px solid transparent;
      transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); display: flex; flex-direction: column;
    }
    .direction-card:hover { border-color: var(--c-primary); box-shadow: var(--sh); transform: translateY(-4px); }
    .direction-num {
      font-family: var(--ff-heading); font-size: 3rem; font-weight: 700;
      color: var(--c-surface); line-height: 1; margin-bottom: 20px;
    }
    .direction-card h3 {
      font-family: var(--ff-heading); font-size: 1.3rem; font-weight: 700;
      color: var(--c-dark); margin-bottom: 16px; line-height: 1.25;
    }
    /* без прозрачности: в одной карточке со списком бледный абзац читался как другой шрифт (Ринат 24.10.2026) */
    .direction-card p { font-size: .92rem; line-height: 1.75; color: var(--c-text); }

    /* ===== PRINCIPLES SECTION ===== */
    .principles { padding: var(--sp) 0; background: var(--c-white); }
    .principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .principle-card {
      background: var(--c-bg); border-radius: var(--r-lg);
      padding: 32px 36px; transition: box-shadow var(--ease);
    }
    .principle-card:hover { box-shadow: var(--sh); }
    .principle-card h3 {
      font-family: var(--ff-heading); font-size: 1.25rem; font-weight: 700;
      color: var(--c-dark); margin-bottom: 12px;
    }
    /* без прозрачности: в одной карточке со списком бледный абзац читался как другой шрифт (Ринат 24.10.2026) */
    .principle-card p { font-size: .93rem; line-height: 1.75; color: var(--c-text); }

    /* ===== IMPORTANT / NOTE ===== */
    .note-sec { padding: var(--sp) 0; background: var(--c-bg); }
    .note-inner {
      max-width: 760px; margin: 0 auto;
      background: var(--c-dark); border-radius: var(--r-lg);
      padding: 52px 56px; color: var(--c-white);
    }
    .note-inner h2 {
      font-family: var(--ff-heading); font-size: clamp(1.8rem, 3vw, 2.4rem);
      font-weight: 700; color: var(--c-white); margin-bottom: 24px;
      letter-spacing: -.02em; line-height: 1.2;
    }
    .note-inner p {
      font-size: .97rem; line-height: 1.8; color: rgba(255,255,255,.75);
      margin-bottom: 20px;
    }
    .note-inner p:last-of-type { margin-bottom: 32px; }
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 14px 28px; border-radius: 100px;
      font-size: 1rem; font-weight: 600; font-family: var(--ff);
      cursor: pointer; transition: background .25s cubic-bezier(.4,0,.2,1), border-color .25s cubic-bezier(.4,0,.2,1), color .25s cubic-bezier(.4,0,.2,1), box-shadow .25s cubic-bezier(.4,0,.2,1), transform .25s cubic-bezier(.4,0,.2,1);
      border: 2px solid transparent;
    }
    .btn:active { transform: scale(.97); }
    .btn-primary {
      background: var(--c-primary); color: var(--c-white);
      border: 2px solid var(--c-primary);
      box-shadow: 0 4px 16px rgba(107,124,97,.3);
    }
    .btn-primary:hover { background: var(--c-dark); border-color: var(--c-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(69,88,56,.35); }
    .btn-outline-white {
      background: transparent; color: var(--c-white);
      border-color: rgba(255,255,255,.4);
    }
    .btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); transform: translateY(-1px); }

    /* ===== FOOTER ===== */
    .footer { background: var(--c-text); color: rgba(255,255,255,.7); padding: 48px 0 32px; }
    .footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
    .footer .logo { color: var(--c-white); display: block; margin-bottom: 12px; }
    .footer .logo span { color: var(--c-muted); }
    .footer-brand p { font-size: .84rem; color: rgba(255,255,255,.5); line-height: 1.6; max-width: 260px; margin-bottom: 20px; }
    .socials { display: flex; gap: 10px; }
    .soc {
      width: 40px; height: 40px; background: rgba(255,255,255,.08);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,.6); transition: background var(--ease), color var(--ease);
    }
    .soc:hover { background: var(--c-primary); color: var(--c-white); }
    .foot-col h4 {
      font-family: var(--ff-heading); font-size: 1rem; color: var(--c-white);
      margin-bottom: 16px; font-weight: 700;
    }
    .foot-links { display: flex; flex-direction: column; gap: 8px; }
    .foot-links a { font-size: .84rem; color: rgba(255,255,255,.5); transition: color var(--ease); }
    .foot-links a:hover { color: var(--c-muted); }
    .foot-contact { display: flex; flex-direction: column; gap: 10px; }
    .foot-contact a { font-size: .84rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 8px; transition: color var(--ease); }
    .foot-contact a:hover { color: var(--c-muted); }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
    .copy { font-size: .8rem; color: rgba(255,255,255,.6); }
    .legal { display: flex; gap: 20px; }
    .legal a { font-size: .8rem; color: rgba(255,255,255,.6); transition: color var(--ease); }
    .legal a:hover { color: rgba(255,255,255,.85); }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
      .who-grid { grid-template-columns: 1fr; }
      .quotes-grid { grid-template-columns: 1fr; }
      .foundation-inner { grid-template-columns: 1fr; }
      .directions-grid { grid-template-columns: 1fr 1fr; }
      .footer-inner { grid-template-columns: 1fr 1fr; }
      .nav {
        position: fixed; top: 0; right: -100%; height: 100vh;
        flex-direction: column; background: var(--c-white);
        width: min(320px, 80vw); padding: 80px 40px;
        justify-content: center; gap: 32px;
        box-shadow: var(--sh-lg); transition: right var(--ease); z-index: 250;
      }
      .nav.open { right: 0; }
      .nav-link { font-size: 1.4rem; }
      .btn.header-cta { display: none; }
      /* бургер справа от имени в одну строку; открытое меню поднимает шапку над затемнением */
      .header-inner { flex-direction: row; align-items: center; justify-content: space-between; }
      .header-nav-row { width: auto; }
      .header.nav-open { z-index: 260; }
      .burger { display: flex; z-index: 300; }
      .logo-sub { display: none; }
    }
    @media (max-width: 768px) {
      .principles-grid { grid-template-columns: 1fr; }
      .directions-grid { grid-template-columns: 1fr; }
      .note-inner { padding: 36px 28px; }
      .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    }
    @media (max-width: 480px) {
      .quote-card { padding: 28px 24px; }
      .who-col { padding: 28px 24px; }
      /* ссылки на документы столбиком: на 390 px «Файлы cookie» ломалась на две строки */
      .legal { flex-direction: column; align-items: flex-start; gap: 8px; }
    }

    /* ===== TOKENS (из index.html) ===== */
    :root {
      --c-primary:    #5F7055;  /* до 19.10.2026 #6B7C61, затемнен под контраст WCAG AA */
      --c-primary-h:  #4f5e45;
      --c-bg:         #F2F4EC;
      --c-surface:    #D9DFCC;
      --c-muted:      #A6B295;
      --c-muted-text: #5F6E55;  /* темный sage для мелкого текста - WCAG AA */
      --c-dark:       #455838;
      --c-text:       #2C3326;
      --c-white:      #FFFFFF;
      --c-border:     rgba(107,124,97,.2);

      --ff: 'Cormorant Garamond', Georgia, serif;
      --ff-heading: 'Cormorant Garamond', Georgia, serif;

      --r-sm: 8px;
      --r:    16px;
      --r-lg: 24px;

      --ease: .3s ease;

      --sp: clamp(64px, 8vw, 120px);
      --wrap: 1200px;
      --px: clamp(20px, 5vw, 48px);

      --sh-sm: 0 2px 8px rgba(44,51,38,.08);
      --sh:    0 4px 24px rgba(44,51,38,.12);
      --sh-lg: 0 8px 40px rgba(44,51,38,.16);
    }

    /* ===== BUTTONS (из index.html) ===== */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      padding: 14px 32px; font-size: .95rem; font-weight: 600;
      border-radius: 100px;
      transition: background .25s cubic-bezier(0.16,1,0.3,1),
                  border-color .25s cubic-bezier(0.16,1,0.3,1),
                  color .25s cubic-bezier(0.16,1,0.3,1),
                  box-shadow .25s cubic-bezier(0.16,1,0.3,1),
                  transform .2s cubic-bezier(0.16,1,0.3,1);
      min-height: 48px; white-space: nowrap; cursor: pointer;
    }
    .btn-primary {
      background: var(--c-primary); color: var(--c-white);
      border: 2px solid var(--c-primary);
      box-shadow: 0 4px 16px rgba(107,124,97,.3);
    }
    .btn-primary:hover { background: var(--c-dark); border-color: var(--c-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(69,88,56,.4); }
    .btn-primary:active { background: var(--c-white); color: var(--c-dark); border-color: var(--c-white); transform: translateY(2px); box-shadow: 0 1px 4px rgba(69,88,56,.2); }
    .btn-outline {
      background: transparent; color: var(--c-primary);
      border: 2px solid var(--c-primary);
    }
    .btn-outline:hover { background: var(--c-primary); color: var(--c-white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,124,97,.3); }
    .btn-outline:active { transform: translateY(2px); box-shadow: none; }

    /* ===== DIRECTIONAL HOVER BUTTON (из index.html) ===== */
    .btn-dir { position: relative; overflow: hidden; isolation: isolate; }
    .btn-dir::before {
      content: ''; position: absolute; inset: 0;
      background: var(--c-dark);
      border-radius: inherit;
      transform: translate(var(--dx, 0px), var(--dy, -100%));
      transition: transform .5s cubic-bezier(0.16,1,0.3,1);
      z-index: 0;
    }
    .btn-dir:hover::before { transform: translate(0px, 0px); }
    .btn-dir > * { position: relative; z-index: 1; }
    .btn-dir svg { position: relative; z-index: 1; }
    .btn-primary.btn-dir:hover { background: var(--c-primary); border-color: var(--c-primary); box-shadow: 0 8px 24px rgba(69,88,56,.4); }

    /* ===== SPOTLIGHT BORDER CARD (из index.html) ===== */
    .spotlight-card {
      border: 2px solid transparent !important;
      background-image: linear-gradient(var(--c-white), var(--c-white)),
                        radial-gradient(200px circle at var(--sx, -999px) var(--sy, -999px),
                          rgba(107,124,97,.6) 0%, transparent 70%);
      background-origin: padding-box, border-box;
      background-clip: padding-box, border-box;
    }

    /* ===== PROCESS (из index.html) ===== */
    .process { padding: var(--sp) 0; background: var(--c-white); }
    .process-grid {
      display: grid; grid-template-columns: repeat(3,1fr);
      gap: 32px; position: relative;
    }
    .process-grid::before {
      content: ''; position: absolute;
      top: 35px; left: calc(16.66% + 24px); right: calc(16.66% + 24px);
      height: 2px;
      background: linear-gradient(90deg, var(--c-surface), var(--c-primary), var(--c-surface));
      z-index: 0;
    }
    .process-step { text-align: center; position: relative; z-index: 1; }
    .proc-num {
      width: 70px; height: 70px; background: var(--c-bg);
      border: 3px solid var(--c-surface); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 24px; font-size: 1.4rem; font-weight: 700;
      color: var(--c-primary); transition: background var(--ease), border-color var(--ease), box-shadow var(--ease), color var(--ease), transform var(--ease);
    }
    .process-step { transition: background var(--ease), box-shadow var(--ease), transform var(--ease); border-radius: var(--r); padding: 16px; margin: -16px; }
    .process-step:hover { background: var(--c-white); box-shadow: var(--sh); transform: translateY(-4px); }
    .process-step:hover .proc-num {
      background: var(--c-primary); border-color: var(--c-primary);
      color: var(--c-white); transform: scale(1.08);
      box-shadow: 0 4px 20px rgba(107,124,97,.35);
    }
    .process-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
    .process-step p { font-size: .9rem; opacity: .8; max-width: 240px; margin: 0 auto; }

    /* ===== PRICING (из index.html) ===== */
    .pricing { padding: var(--sp) 0; background: var(--c-surface); }
    .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
    .price-card {
      background: var(--c-white); border-radius: var(--r);
      padding: 36px 32px; box-shadow: var(--sh-sm);
      border: 2px solid transparent; transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
      display: flex; flex-direction: column;
    }
    .price-card:hover { border-color: var(--c-primary); box-shadow: var(--sh); transform: translateY(-4px); }
    .price-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted-text); margin-bottom: 12px; }
    .price-name { font-size: 1.2rem; font-weight: 700; color: var(--c-dark); margin-bottom: 10px; }
    /* без прозрачности: в одной карточке со списком бледный абзац читался как другой шрифт (Ринат 24.10.2026) */
    .price-desc { font-size: .88rem; color: var(--c-text); line-height: 1.65; margin-bottom: 20px; }
    .price-tag { font-size: 2.2rem; font-weight: 700; color: var(--c-primary); line-height: 1; margin: 0 0 8px; }
    .price-tag span { font-size: 1rem; font-weight: 400; color: var(--c-muted-text); }
    .price-note { font-size: .85rem; color: var(--c-muted-text); margin-bottom: 20px; line-height: 1.65; }
    .price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--c-border); }
    .price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; }
    .price-features li svg { flex-shrink: 0; margin-top: 2px; color: var(--c-primary); }
    /* в три колонки части карточек стоят на общих строках сетки: названия, описания, цены и списки на одной высоте */
    /* уже 900px три колонки не помещают длинные названия и дают прокрутку вбок, поэтому одна колонка */
    @media (max-width: 900px) {
      .pricing-grid { grid-template-columns: 1fr; }
    }
    @media (min-width: 901px) {
      .pricing-grid { grid-template-rows: repeat(6, auto); }
      .price-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
      .price-features { margin-top: 0; }
    }

    /* ===== FAQ (из index.html) ===== */
    .faq { padding: var(--sp) 0; background: var(--c-white); }
    .faq-inner { max-width: 760px; margin: 0 auto; }
    .faq-list { display: flex; flex-direction: column; gap: 12px; }
    .faq-more { margin-top: 32px; text-align: center; }
    .faq-item {
      background: var(--c-bg); border-radius: var(--r);
      border: 1px solid var(--c-border); overflow: hidden; transition: background var(--ease), border-color var(--ease), box-shadow var(--ease);
    }
    .faq-item.open { border-color: rgba(107,124,97,.4); box-shadow: var(--sh-sm); background: var(--c-surface); }
    .faq-q {
      display: flex; align-items: center; justify-content: space-between;
      gap: 16px; padding: 20px 24px; font-size: 1rem; font-weight: 600;
      color: var(--c-dark); width: 100%; text-align: left;
      min-height: 48px; transition: color var(--ease);
    }
    .faq-q:hover { color: var(--c-primary); }
    .faq-ico { flex-shrink: 0; width: 22px; height: 22px; color: var(--c-primary); transition: transform .4s cubic-bezier(0.16,1,0.3,1); }
    .faq-item.open .faq-ico { transform: rotate(180deg); }
    .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(0.16,1,0.3,1); }
    .faq-a-inner { overflow: hidden; min-height: 0; padding: 0 24px; font-size: .95rem; line-height: 1.7; opacity: .82; }
    /* нижний отступ внутри обрезаемой области, иначе у закрытого ответа видна первая строка */
    .faq-a-inner::after { content: ''; display: block; height: 20px; }
    .faq-item.open .faq-a { grid-template-rows: 1fr; }

    /* ===== CTA (из index.html) ===== */
    .cta-sec { padding: var(--sp) 0; background: var(--c-dark); position: relative; overflow: hidden; }
    .cta-branch { position: absolute; right: 6%; bottom: -30px; pointer-events: none; }
    @media (max-width: 768px) { .cta-branch { display: none; } }
    .cta-sec::before {
      content: ''; position: absolute; top: -100px; right: -100px;
      width: 400px; height: 400px;
      background: rgba(107,124,97,.15); border-radius: 50%; pointer-events: none;
    }
    .cta-sec::after {
      content: ''; position: absolute; bottom: -80px; left: -60px;
      width: 300px; height: 300px;
      background: rgba(166,178,149,.1); border-radius: 50%; pointer-events: none;
    }
    .cta-inner {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: clamp(40px,6vw,80px); align-items: start; position: relative; z-index: 1;
    }
    .cta-inner .label { color: var(--c-muted); }
    .cta-inner h2 { color: var(--c-white); margin-bottom: 16px; }
    .cta-inner > div > p { color: rgba(255,255,255,.75); margin-bottom: 28px; }
    .cta-features { display: flex; flex-direction: column; gap: 12px; }
    .cta-feat {
      display: flex; align-items: center; gap: 10px;
      color: rgba(255,255,255,.85); font-size: .9rem;
    }
    .cta-feat svg { color: var(--c-muted); flex-shrink: 0; }

    /* ===== FORM (из index.html) ===== */
    .form-card {
      background: var(--c-white); border-radius: var(--r-lg);
      padding: clamp(28px,4vw,40px); box-shadow: var(--sh-lg);
    }
    .form-title { font-size: 1.2rem; font-weight: 700; color: var(--c-dark); margin-bottom: 24px; }
    .form-group { margin-bottom: 16px; }
    .form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--c-dark); margin-bottom: 6px; }
    .form-label .req { color: var(--c-primary); }
    .form-input, .form-select, .form-textarea {
      width: 100%; padding: 12px 16px;
      /* >=16px - иначе iOS Safari зумит страницу при фокусе поля */
      font-family: var(--ff); font-size: 1rem; color: var(--c-text);
      background: var(--c-bg); border: 1.5px solid var(--c-border);
      border-radius: var(--r-sm);
      transition: border-color .2s cubic-bezier(0.16,1,0.3,1),
                  box-shadow .2s cubic-bezier(0.16,1,0.3,1),
                  background .2s cubic-bezier(0.16,1,0.3,1);
      min-height: 48px; -webkit-appearance: none; appearance: none;
    }
    .form-input:focus, .form-select:focus, .form-textarea:focus {
      outline: none; border-color: var(--c-primary);
      background: var(--c-white);
      box-shadow: 0 0 0 4px rgba(107,124,97,.18), 0 1px 4px rgba(107,124,97,.12);
    }
    .form-input.error, .form-select.error, .form-textarea.error {
      border-color: #d94f4f;
      box-shadow: 0 0 0 3px rgba(217,79,79,.12);
    }
    .form-err { font-size: .8rem; color: #d94f4f; margin-top: 4px; display: none; }
    .form-err.show { display: block; }
    .form-textarea { resize: vertical; min-height: 80px; }
    .hint-intro { font-size: .78rem; color: var(--c-muted-text); line-height: 1.5; margin: 0 0 10px; }
    .hint-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
    .hint-chip {
      font-family: var(--ff); font-size: .8rem; line-height: 1.3;
      padding: 7px 14px; border-radius: 999px;
      border: 1px solid var(--c-border); background: transparent;
      color: var(--c-dark); transition: background var(--ease), border-color var(--ease), color var(--ease);
    }
    .hint-chip:hover { background: var(--c-surface); border-color: var(--c-primary); }
    .hint-chip.used { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }
    .sel-wrap { position: relative; }
    .sel-wrap::after {
      content: ''; position: absolute; right: 16px; top: 50%;
      transform: translateY(-50%);
      border-left: 5px solid transparent; border-right: 5px solid transparent;
      border-top: 6px solid var(--c-muted); pointer-events: none;
    }
    .form-submit { width: 100%; margin-top: 8px; font-size: 1rem; padding: 16px; }
    .form-send { display: flex; flex-direction: column; gap: 10px; }
    .form-send .form-submit { justify-content: center; text-align: center; text-decoration: none; }
    .form-note { font-size: .85rem; color: var(--c-muted-text); margin-top: 10px; line-height: 1.5; }
    .form-note:empty { display: none; }
    .form-privacy { font-size: .75rem; color: var(--c-muted-text); text-align: center; margin-top: 12px; line-height: 1.5; }
    .form-privacy a { color: var(--c-primary); text-decoration: none; }

    .form-success {
      display: none; text-align: center; padding: 40px 20px;
      opacity: 0; transform: translateY(12px);
    }
    .form-success.show { display: block; }
    .form-success.animate {
      animation: succ-enter .5s cubic-bezier(0.16,1,0.3,1) forwards;
    }
    @keyframes succ-enter {
      to { opacity: 1; transform: translateY(0); }
    }
    .succ-ico {
      width: 72px; height: 72px; background: rgba(107,124,97,.12);
      border-radius: 50%; display: flex; align-items: center;
      justify-content: center; margin: 0 auto 20px; color: var(--c-primary);
      animation: none;
    }
    .succ-ico.pop {
      animation: succ-pop .45s cubic-bezier(0.16,1,0.3,1) forwards;
    }
    @keyframes succ-pop {
      0%   { transform: scale(0.5); opacity: 0; }
      60%  { transform: scale(1.12); opacity: 1; }
      100% { transform: scale(1); opacity: 1; }
    }
    .succ-check {
      stroke-dasharray: 28;
      stroke-dashoffset: 28;
    }
    .succ-ico.pop .succ-check {
      animation: check-draw .4s cubic-bezier(0.16,1,0.3,1) .2s forwards;
    }
    @keyframes check-draw {
      to { stroke-dashoffset: 0; }
    }
    .form-success h3 { font-size: 1.3rem; margin-bottom: 10px; }
    .form-success p { font-size: .95rem; opacity: .8; }

    /* согласие на обработку данных, ловушка для ботов, ошибка отправки */
    .form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; line-height: 1.5; color: var(--c-text); margin: 4px 0 16px; cursor: pointer; }
    .form-consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--c-primary); flex-shrink: 0; }
    .form-consent a { color: var(--c-primary); text-decoration: underline; }
    .form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
    .form-fail { font-size: .85rem; color: #b23b3b; margin-top: 10px; display: none; }
    .form-fail.show { display: block; }

    /* ===== FLOATING CTA (из index.html) ===== */
    .float-cta {
      /* bottom > .float-socials (28px + toggle 52px + зазор) - иначе перекрытие */
      position: fixed; bottom: 152px; right: 28px; z-index: 200;
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--c-primary); color: #fff;
      padding: 13px 22px; border-radius: 100px;
      font-size: .9rem; font-weight: 600; text-decoration: none;
      box-shadow: 0 4px 20px rgba(107,124,97,.45);
      opacity: 0; pointer-events: none;
      transform: translateY(12px);
      transition: opacity .3s ease, transform .3s ease, background .2s ease;
    }
    .float-cta--visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .float-cta:hover { background: var(--c-primary-h); }
    @media (max-width: 480px) {
      .float-cta span { display: none; }
      .float-cta { padding: 14px; border-radius: 50%; bottom: 84px; right: 16px; }
    }

    /* ===== FLOATING SOCIALS (из index.html) ===== */
    .float-socials {
      position: fixed; bottom: 28px; right: 28px; z-index: 199;
      display: flex; flex-direction: column; gap: 10px;
      align-items: flex-end;
    }
    .float-soc-items {
      display: flex; flex-direction: column; gap: 8px; align-items: flex-end;
      overflow: hidden;
      max-height: 0; opacity: 0;
      transition: max-height .35s ease, opacity .25s ease;
      pointer-events: none;
    }
    .float-socials.open .float-soc-items {
      max-height: 200px; opacity: 1; pointer-events: auto;
    }
    .float-soc {
      display: flex; align-items: center; gap: 10px;
      color: #fff; text-decoration: none;
      padding: 10px 16px 10px 12px; border-radius: 100px;
      font-size: .9rem; font-weight: 600;
      box-shadow: 0 4px 16px rgba(0,0,0,.2);
      transition: transform .2s ease, box-shadow .2s ease;
      white-space: nowrap;
    }
    .float-soc:hover { transform: scale(1.04); box-shadow: 0 6px 24px rgba(0,0,0,.28); }
    .float-soc--tg { background: #29A8EB; }
    .float-soc--wa { background: #25D366; }
    .float-soc-toggle {
      height: 52px; padding: 0 24px; border-radius: var(--r);
      background: var(--c-white); color: var(--c-dark);
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem; font-weight: 700; font-family: var(--ff);
      box-shadow: var(--sh);
      cursor: pointer; border: none; white-space: nowrap;
      transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
    }
    .float-soc-toggle:hover { background: var(--c-primary); color: var(--c-white); transform: scale(1.04); box-shadow: var(--sh-lg); }
    .float-socials.open .float-soc-toggle { color: var(--c-muted); }
    .float-soc-ico { display: none; flex-shrink: 0; }
    @media (max-width: 480px) {
      .float-socials { bottom: 20px; right: 16px; }
      .float-soc-toggle { width: 50px; height: 50px; padding: 0; border-radius: 50%; }
      .float-soc-label { display: none; }
      .float-soc-ico { display: block; }
      .float-socials.open .float-soc-items { max-height: 300px; }
    }

    /* ===== CONTACTS (из index.html) ===== */
    .contacts-sec { padding: var(--sp) 0; background: var(--c-bg); }
    .contacts-sec .sec-header p { color: var(--c-muted-text); font-size: 1rem; margin-top: 12px; }
    .contacts-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 48px;
    }
    .contact-card {
      display: flex; align-items: center; gap: 16px;
      background: var(--c-white); border-radius: 20px;
      padding: 20px 24px;
      border: 1px solid transparent;
      box-shadow: 0 2px 8px rgba(44,51,38,.07);
      transition: border-color var(--ease), box-shadow var(--ease), color var(--ease), transform var(--ease);
      color: var(--c-text);
    }
    .contact-card:hover {
      border-color: var(--c-primary);
      box-shadow: 0 4px 20px rgba(107,124,97,.18);
      transform: translateY(-2px);
      color: var(--c-text);
    }
    .contact-ico {
      flex-shrink: 0;
      width: 48px; height: 48px;
      border-radius: 50%;
      background: var(--c-surface);
      display: flex; align-items: center; justify-content: center;
      color: var(--c-primary);
    }
    .contact-card:hover .contact-ico { background: var(--c-primary); color: var(--c-white); }
    .contact-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
    .contact-label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted-text); }
    .contact-value { font-size: .95rem; font-weight: 500; color: var(--c-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .contacts-hours { text-align: center; margin-top: 32px; font-size: .88rem; color: var(--c-muted-text); }
    /* до 960px в три колонки не влезает почта (nowrap) и страница едет вбок */
    @media (max-width: 960px) { .contacts-grid { grid-template-columns: repeat(2, 1fr); } }
    .contact-card, .contact-info { min-width: 0; }
    @media (max-width: 540px) { .contacts-grid { grid-template-columns: 1fr; } }

    /* ===== FOOTER (из index.html) ===== */
    .footer { background: var(--c-text); color: rgba(255,255,255,.7); padding: 48px 0 32px; }
    .footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
    .footer .logo { color: var(--c-white); display: block; margin-bottom: 12px; }
    .footer .logo span { color: var(--c-muted); }
    .footer-brand p { font-size: .84rem; color: rgba(255,255,255,.5); line-height: 1.6; max-width: 260px; margin-bottom: 20px; }
    .socials { display: flex; gap: 10px; }
    .soc {
      width: 40px; height: 40px; background: rgba(255,255,255,.08);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,.65); transition: background var(--ease), color var(--ease), transform var(--ease);
    }
    .soc:hover { background: var(--c-primary); color: var(--c-white); transform: translateY(-2px); }
    .foot-col h3 { font-size: .82rem; font-weight: 600; color: var(--c-white); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
    .foot-links { display: flex; flex-direction: column; gap: 10px; }
    .foot-links a { font-size: .84rem; color: rgba(255,255,255,.55); transition: color var(--ease); }
    .foot-links a:hover { color: var(--c-muted); }
    .foot-contact { display: flex; flex-direction: column; gap: 10px; }
    .foot-contact a { font-size: .84rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 8px; transition: color var(--ease); }
    .foot-contact a:hover { color: var(--c-muted); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
      display: flex; align-items: center; justify-content: space-between;
      gap: 16px; flex-wrap: wrap;
    }
    .copy { font-size: .78rem; color: rgba(255,255,255,.6); }
    .legal { display: flex; gap: 20px; }
    .legal a { font-size: .78rem; color: rgba(255,255,255,.6); transition: color var(--ease); text-decoration: none; }
    .legal a:hover { color: rgba(255,255,255,.85); }

    /* ===== ANIMATIONS (из index.html) ===== */
    .fi {
      opacity: 0; transform: translateY(28px);
      transition: opacity .65s cubic-bezier(0.16,1,0.3,1), transform .65s cubic-bezier(0.16,1,0.3,1);
    }
    .fi.vis { opacity: 1; transform: none; }
    .fi.d1 { transition-delay: .1s; }
    .fi.d2 { transition-delay: .2s; }
    .fi.d3 { transition-delay: .3s; }
    .fi.d4 { transition-delay: .4s; }
    .fi.d5 { transition-delay: .5s; }

    /* Stagger для grid-карточек: каждая карточка получает --i через JS */
    .fi-card {
      opacity: 0; transform: translateY(32px);
      transition: opacity .6s cubic-bezier(0.16,1,0.3,1), transform .6s cubic-bezier(0.16,1,0.3,1);
      transition-delay: calc(var(--stagger-i, 0) * 90ms);
    }
    .fi-card.vis { opacity: 1; transform: none; }

    /* ===== ОБЩЕЕ ДЛЯ ВНУТРЕННИХ СТРАНИЦ (build_pages.py) ===== */
    h1, h2, h3 { font-family: var(--ff-heading); }
    .prose a { overflow-wrap: anywhere; } /* длинные адреса в тексте политики не распирают экран телефона */
    .subtitle { font-size: 1.05rem; line-height: 1.7; opacity: .8; max-width: 680px; }
    .pricing-tip { max-width: 640px; margin: 32px auto 0; text-align: center; font-size: 1.1rem; line-height: 1.6; color: var(--c-dark); }
    .foot-col h3 { font-family: var(--ff-heading); font-size: 1rem; color: var(--c-white); margin-bottom: 16px; font-weight: 700; }
    .foot-col p { font-size: .84rem; color: rgba(255,255,255,.5); margin: -8px 0 14px; }
    .socials { flex-wrap: wrap; }
    .page-hero-lead + .page-hero-lead { margin-top: 14px; }
    .page-hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
    .quotes-grid--one { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
    .directions .prose .callout { margin-top: 40px; }
    .note-inner p a { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; }
    #who, #steps, #cta { scroll-margin-top: 125px; } /* шапка до 150px на широком экране, 72px на узком; запас дает отступ секции */
    @media (max-width: 900px) { #who, #steps, #cta { scroll-margin-top: 72px; } }
    #cookie { scroll-margin-top: 190px; } /* заголовок раздела cookie в /privacy: у h2 нет своего отступа, как у секций */
    @media (max-width: 900px) { #cookie { scroll-margin-top: 96px; } }

    .prose { max-width: 780px; }
    .prose--c { margin: 0 auto; }
    /* /work: фото кабинета слева от текста (просьба Рината 31.10.2026), на телефоне фото под текстом */
    .work-intro { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
    .work-intro .prose { max-width: 720px; }
    .work-aside { display: flex; flex-direction: column; gap: 20px; }
    .work-photo { margin: 0; }
    .work-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
    .work-card { background: var(--c-bg); border-radius: var(--r); padding: 24px 26px; }
    .work-card ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; color: var(--c-dark); }
    .work-card li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
    .work-card li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: calc(.75em - 3.5px); border-radius: 50%; background: var(--c-primary); } /* точка по первой строке, если пункт переносится */
    .work-card .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
    /* фото с карточкой едут рядом с текстом, только если целиком помещаются по высоте окна, иначе кнопка обрезалась бы снизу */
    @media (min-width: 861px) and (min-height: 880px) { .work-aside { position: sticky; top: 104px; } }
    @media (max-width: 860px) {
      .work-intro { grid-template-columns: 1fr; }
      .work-aside { order: 2; max-width: 420px; }
    }
    .prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: var(--c-dark); line-height: 1.2; letter-spacing: -.01em; margin: 48px 0 16px; }
    .prose h2:first-child { margin-top: 0; }
    .prose h3 { font-size: 1.3rem; font-weight: 700; color: var(--c-dark); margin: 28px 0 10px; }
    /* абзацы того же размера и цвета, что списки и текст сайта (21px); раньше 19px и прозрачность .9 читались как другой шрифт (Ринат 24.10.2026) */
    .prose p { line-height: 1.8; margin-bottom: 16px; }
    .prose a:not(.btn) { color: var(--c-primary-h); text-decoration: underline; text-underline-offset: 3px; }
    .prose .lead { font-size: 1.15rem; opacity: 1; color: var(--c-dark); }
    .prose .callout { background: var(--c-bg); border-left: 3px solid var(--c-primary); border-radius: var(--r); padding: 20px 24px; margin: 20px 0; }
    .prose .callout p:last-child { margin-bottom: 0; }

    .card-list { display: flex; flex-direction: column; margin: 8px 0 16px; }
    /* обычный блок, а не flex: иначе <strong> в начале пункта становится отдельной колонкой */
    .card-list li { position: relative; font-size: .97rem; line-height: 1.65; padding: 8px 0 8px 20px; }
    .card-list li::before { content: '-'; position: absolute; left: 0; color: var(--c-primary); font-weight: 700; }
    .direction-card .card-list li, .principle-card .card-list li { font-size: .92rem; padding: 6px 0 6px 20px; }
    .direction-card p + p, .principle-card p + p { margin-top: 12px; }

    .foundation-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); }
    .foundation-photo img { width: 100%; height: auto; display: block; }
    .page-hero + .foundation { padding-top: clamp(8px, 2vw, 32px); }
    .approach-sec + .principles { padding-top: 0; }
    .approach-sec:has(+ .principles) { padding-bottom: clamp(56px, 6vw, 88px); } /* /work: два белых блока подряд, Ринат просил поднять 19.10.2026 */ /* фон тот же, что у шапки: без этого отступы складывались в ~200px пустоты (замечание Рината 19.10.2026) */

    .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .process-grid--four { grid-template-columns: repeat(4, 1fr); }
    .process-grid--four::before { left: calc(12.5% + 24px); right: calc(12.5% + 24px); }
    .center-actions { margin-top: 48px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
    .center-actions--low { margin-top: 72px; }
    .price-card .btn { margin-top: 24px; align-self: flex-start; }
    .contacts-sec--page { padding-top: 0; }
    .note-inner .btn + .btn { margin-left: 12px; }
    /* высказывание вместо заголовка (на /questions): вид как у h2, разметка абзацем */
    .note-inner p.note-lead {
      font-family: var(--ff-heading); font-size: clamp(1.8rem, 3vw, 2.4rem);
      font-weight: 700; color: var(--c-white); margin-bottom: 24px;
      letter-spacing: -.02em; line-height: 1.2;
    }
    .who-note { margin-top: 20px; font-size: .9rem; line-height: 1.65; opacity: .8; }

    .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

    /* стили формы (согласие, ловушка, ошибка) берутся из блока FORM в index.html */

    @media (max-width: 1280px) and (min-width: 1025px) {
      .nav { gap: 16px; }
      .nav-link { font-size: 1.12rem; }
      .logo-sub { font-size: 1.8rem; }
    }
    @media (max-width: 1024px) {
      .process-grid--four { grid-template-columns: 1fr 1fr; row-gap: 48px; }
      .process-grid--four::before { display: none; }
      .grid-2 { grid-template-columns: 1fr; }
      .cta-inner { grid-template-columns: 1fr; }
      .footer-brand { grid-column: 1 / -1; }
    }
    @media (max-width: 768px) {
      .process-grid--four { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
      .pricing-grid { grid-template-columns: 1fr; }
      .note-inner .btn + .btn { margin: 12px 0 0; }
      /* на 320 px длинная надпись в одну строку вылезала за край */
      .note-inner .btn { white-space: normal; text-align: center; padding-inline: 24px; max-width: 100%; }
    }
    /* подвал внутренних страниц на телефоне в одну колонку, как на главной (блок footer из index.html шел позже и перебивал правило из базы) */
    @media (max-width: 768px) {
      .footer-inner { grid-template-columns: 1fr; gap: 32px; }
      .footer-inner > * { min-width: 0; }
    }

    /* ===== TEXT SIZE ===== */
    /* мелкий текст подтянут к основному (19.10.2026): блок стоит последним и перебивает размеры компонентов и мобильные правила */
    .card-list li, .direction-card .card-list li, .principle-card .card-list li,
    .direction-card p, .problem-card p, .process-step p, .who-note,
    .price-desc, .price-note, .price-features li,
    .approach-card > p, .approach-extra-card p, .approach-extra-list li,
    .approach-about-text p, .approach-about-pos > p, .approach-about-pos li,
    .faq-a-inner, .cta-feat, .hero-note, .about-intro,
    .principle-card p, .note-inner p, .who-list li, .form-success p { font-size: 1rem; }
    .process-step p { max-width: 280px; }
    .page-hero-back, .form-label { font-size: .95rem; }
    .footer-brand p, .foot-links a, .foot-contact a, .foot-col p { font-size: .95rem; }
    .form-consent, .hint-intro, .hint-chip { font-size: .9rem; }
    .copy, .legal a, .badge, .price-label, .marquee-track span { font-size: .85rem; }
    .label, .contact-label { font-size: .8rem; }
