/* ==========================================================
   bizops / aaxenova — общая дизайн-система
   Подключается ПОСЛЕ встроенных стилей каждой страницы.
   Палитра: чёрный #0D0D0B, серый #6B6A65, линии #E0DED9,
   белый, тёплый серый #F5F3F0, акцент синий #0052CC.
   Шрифты: заголовки Times New Roman (курсив на акцентах), текст Inter.
   ========================================================== */

/* Playfair Display -> Times New Roman: заменяет шрифт заголовков везде,
   включая подписи в графиках, без правки каждого правила */
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:100 600;
  src:local('Times New Roman'),local('TimesNewRomanPSMT'),local('Times'),local('Liberation Serif'),local('Tinos')}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:700 900;
  src:local('Times New Roman Bold'),local('TimesNewRomanPS-BoldMT'),local('Times Bold'),local('Liberation Serif Bold'),local('Tinos Bold')}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:100 900;
  src:local('Times New Roman Italic'),local('TimesNewRomanPS-ItalicMT'),local('Times Italic'),local('Liberation Serif Italic'),local('Tinos Italic')}

:root{
  --ink:#0D0D0B; --gray:#6B6A65; --muted:#9E9C97; --line:#E0DED9;
  --soft:#F5F3F0; --blue:#0052CC; --blue-dark:#003F9E;
  --serif-head:'Times New Roman',Times,'Liberation Serif',serif;
  /* переменные подстраниц (калькуляторы, ДДС, CFO) */
  --paper:#FFFFFF; --rule:#E0DED9; --muted:#6B6A65;
  --display:'Times New Roman',Times,'Liberation Serif',serif;
  --serif:'Inter',sans-serif; --mono:'Inter',sans-serif;
}
body{font-variant-numeric:tabular-nums}
em{font-style:italic;font-weight:inherit}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px}

/* ---------- ШАПКА (одинакова на всех страницах) ---------- */
body .top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}
body .top-in{max-width:1280px;margin:0 auto;padding:0 48px;height:76px;display:flex;align-items:center;gap:40px}
body .top .logo{font-family:'Inter',sans-serif;font-weight:700;font-size:16px;letter-spacing:.01em;color:var(--ink);text-decoration:none;white-space:nowrap}
body .top .nav{display:flex;gap:28px;font-size:14px;font-weight:500;flex:1}
body .top .nav a{color:var(--ink);text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
body .top .nav a:hover,body .top .nav a[aria-current]{color:var(--blue);border-color:var(--blue)}
body .top .menu-btn{background:none;border:0;cursor:pointer;padding:8px;display:flex;flex-direction:column;gap:6px}
body .top .menu-btn span{width:24px;height:2px;background:var(--ink);border-radius:2px;transition:all .3s}
body .top .menu-btn.active span:nth-child(1){transform:translateY(8px) rotate(45deg)}
body .top .menu-btn.active span:nth-child(2){opacity:0}
body .top .menu-btn.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
body .top .cta-mini{background:var(--ink);color:#fff;font-size:14px;font-weight:600;padding:12px 20px;border-radius:6px;text-decoration:none;transition:background .2s}
body .top .cta-mini:hover{background:#2C2C2A}
body .top .drop{display:none;position:absolute;top:76px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:20px 48px 28px}
body .top .drop.open{display:flex;flex-wrap:wrap;gap:6px 36px}
body .top .drop a{color:var(--ink);text-decoration:none;font-size:15px;font-weight:500;padding:8px 0}
body .top .drop a:hover{color:var(--blue)}

/* ---------- ОБЩИЕ ЭЛЕМЕНТЫ ГЛАВНОЙ ---------- */
body .section-label{font-size:12px;letter-spacing:.14em;color:var(--blue);margin-bottom:18px}
body .section-title{font-family:var(--serif-head);font-weight:400;font-size:56px;line-height:1.05;letter-spacing:-.012em;max-width:16em;margin-bottom:20px}
body .section-subtitle{font-size:17px;line-height:1.7;color:var(--gray);max-width:36em}

body .quote-section,body .systems-section,body .services-section,body .process-section,
body .audience-section,body .obj-section,body .nofit-section,body .faq-section{padding:112px 48px}
body .quote-section{background:#fff}
body .systems-section{background:var(--soft)}
body .services-section{background:#fff}
body .process-section{background:var(--soft)}
body .audience-section{background:#fff}
body .obj-section{background:var(--soft)}
body .nofit-section{background:#fff}
body .faq-section{background:var(--soft)}

/* ---------- HERO ---------- */
body .hero{background:linear-gradient(180deg,#FFFFFF 0%,#FBFAF8 70%,var(--soft) 100%)}
body .hero-title-block h1{font-family:var(--serif-head);font-weight:400;font-size:84px;line-height:.98;letter-spacing:-.015em}
body .hero-title-block .subtitle{font-size:30px;color:var(--gray)}
body .hero-text-block p{font-weight:400}
body .btn-primary{background:var(--ink);box-shadow:none;border-radius:6px;font-size:15px;padding:17px 28px;font-weight:600}
body .btn-primary:hover{background:#2C2C2A;transform:none;box-shadow:none}
body .btn-secondary{border-radius:6px;border:0;background:transparent;font-size:15px;font-weight:600;padding:17px 4px;border-bottom:1.5px solid var(--ink);border-radius:0}
body .btn-secondary:hover{background:transparent;color:var(--blue);border-color:var(--blue)}

/* ---------- ДОКАЗАТЕЛЬСТВА: список строк вместо плиток ---------- */
body .proof-grid{display:block;margin-top:48px;border-top:1px solid var(--ink)}
body .proof-tile,body .proof-tile-big{display:grid;grid-template-columns:200px 1fr 56px;gap:8px 32px;align-items:start;
  border:0;border-bottom:1px solid var(--line);border-radius:0;padding:30px 0;background:transparent;color:var(--ink);box-shadow:none;transition:none;transform:none}
body .proof-tile:hover,body .proof-tile-big:hover{border-color:var(--line);box-shadow:none;transform:none;background:transparent}
body .proof-tile:hover .proof-title{color:var(--blue)}
body .proof-type,body .proof-tile-big .proof-type{font-size:12px;letter-spacing:.12em;color:var(--gray);padding-top:9px}
body .proof-title,body .proof-tile-big .proof-title{font-family:var(--serif-head);font-weight:400;font-size:32px;line-height:1.15;margin:0;transition:color .2s}
body .proof-desc,body .proof-tile-big .proof-desc{font-size:15px;line-height:1.65;color:var(--gray);margin-top:10px;max-width:40em}
body .proof-arrow,body .proof-tile-big .proof-arrow{font-size:24px;color:var(--ink);align-self:start;text-align:right;padding-top:4px;transition:transform .25s,color .2s}
body .proof-tile:hover .proof-arrow{color:var(--blue);transform:translateX(4px)}
body #cases-tile:hover,body #cases-tile.open{border-color:var(--line)}
body .proof-tile[href] .proof-arrow,body #cases-tile::after{content:"";}
body #cases-tile::after{content:"↓";font-size:24px;text-align:right;padding-top:4px}
body #cases-tile.open::after{content:"↑"}
body #cases-hint{display:none}
body .cases-panel-inner{border:0;border-radius:0;padding:8px 0 0;margin-top:0}
body .case-row{display:grid;grid-template-columns:200px 1fr;gap:6px 32px;padding:30px 0;margin:0;border-bottom:1px solid var(--line)}
body .case-row:last-of-type{border-bottom:1px solid var(--line);padding-bottom:30px}
body .case-tag{grid-row:1/5;background:none;padding:6px 0 0;margin:0;border-radius:0;font-size:12px;letter-spacing:.12em;color:var(--blue);text-transform:uppercase}
body .case-field{grid-column:2;font-size:16px;line-height:1.65;margin:0}
body .case-label{color:var(--gray);font-weight:500}
body .case-result .case-label{color:var(--blue)}
body .cases-more{margin-top:28px;font-size:15px;font-weight:600}

/* ---------- ЧЕТЫРЕ СИСТЕМЫ: без рамок, виджеты остаются ---------- */
body .systems-grid{gap:72px 64px;margin-top:64px}
body .system-card{background:transparent;border:0;border-top:1px solid var(--ink);border-radius:0;padding:28px 0 0;box-shadow:none;transition:none;transform:none}
body .system-card:hover{box-shadow:none;transform:none;border-color:var(--ink)}
body .system-visual{border-radius:6px}
body .system-title{font-family:var(--serif-head);font-weight:400;font-size:32px;line-height:1.15}
body .system-number{font-size:12px;letter-spacing:.12em}
body .system-description{font-size:16px;line-height:1.7}
body .system-tags,body .service-tags{display:none}

/* ---------- ТРИ ФОРМАТА: колонки с вертикальными линиями ---------- */
body .services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:64px;border-top:1px solid var(--ink)}
body .service-card,body .service-card.featured{background:transparent;color:var(--ink);border:0;border-left:1px solid var(--line);border-radius:0;padding:32px 36px 8px;box-shadow:none;transform:none;transition:none}
body .service-card:first-child{border-left:0;padding-left:0}
body .service-card:hover{transform:none;box-shadow:none}
body .service-card.featured .service-description{color:var(--gray)}
body .service-card.featured .service-number{color:var(--blue)}
body .service-number{font-size:12px;letter-spacing:.12em;color:var(--blue)}
body .service-title{font-family:var(--serif-head);font-weight:400;font-size:34px;line-height:1.1;margin:14px 0 16px;color:var(--ink)}
body .service-description{font-size:16px;line-height:1.75;color:var(--gray)}

/* ---------- ЭТАПЫ: горизонтальная шкала ---------- */
body .process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0 40px;margin-top:64px}
body .process-step{background:transparent;border:0;border-top:1px solid var(--ink);border-radius:0;box-shadow:none;transform:none;padding:24px 0 0;text-align:left;transition:none}
body .process-step:hover{transform:none;box-shadow:none;border-color:var(--ink)}
body .step-number{font-family:var(--serif-head);font-weight:400;font-size:56px;line-height:1;color:var(--blue);margin-bottom:12px}
body .step-duration{font-size:13px;color:var(--gray);margin-bottom:18px}
body .step-title{font-family:var(--serif-head);font-weight:400;font-size:28px;line-height:1.15;margin-bottom:12px}
body .step-description{font-size:15px;line-height:1.7;color:var(--gray)}

/* ---------- ДЛЯ КОГО: два столбца строк ---------- */
body .audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 64px;margin-top:56px}
body .audience-card{background:transparent;border:0;border-top:1px solid var(--ink);border-radius:0;box-shadow:none;transform:none;padding:28px 0 36px;transition:none}
body .audience-card:hover{transform:none;box-shadow:none;border-color:var(--ink)}
body .audience-title{font-family:var(--serif-head);font-weight:400;font-size:28px;line-height:1.2;margin:12px 0 12px}
body .audience-description{font-size:16px;line-height:1.7;color:var(--gray)}

/* ---------- ВОЗРАЖЕНИЯ: вопрос слева, ответ справа ---------- */
body .obj-grid{display:block;margin-top:56px;border-top:1px solid var(--ink)}
body .obj-card{display:grid;grid-template-columns:5fr 7fr;gap:12px 64px;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;transform:none;padding:32px 0;transition:none}
body .obj-card:hover{transform:none;box-shadow:none;border-color:var(--line)}
body .obj-q{font-family:var(--serif-head);font-weight:400;font-size:28px;line-height:1.2;margin:0}
body .obj-a{font-size:16px;line-height:1.75;color:var(--gray);margin:0}

/* ---------- ГРАНИЦЫ ---------- */
body .nofit-t{font-family:var(--serif-head);font-weight:400;font-size:26px;line-height:1.2}
body .nofit-mark{font-family:var(--serif-head);font-weight:400;color:var(--blue)}

/* ---------- FAQ: линии вместо рамок ---------- */
body .faq-list{max-width:860px;margin-top:48px;border-top:1px solid var(--ink)}
body .faq-item{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}
body .faq-item summary{font-size:18px;font-weight:600;padding:24px 0}

/* ---------- ФИНАЛЬНЫЙ ПРИЗЫВ: светлый, один главный жест ---------- */
body .cta-section{background:#fff;color:var(--ink);text-align:left;padding:120px 48px;border-top:1px solid var(--ink)}
body .cta-section-inner{display:grid;grid-template-columns:1.2fr 1fr;gap:64px;align-items:end}
body .cta-title{font-family:var(--serif-head);font-weight:400;font-size:84px;line-height:.98;letter-spacing:-.015em;color:var(--ink);margin:0}
body .cta-description{font-size:18px;line-height:1.7;color:var(--gray);margin:0 0 28px}
body .cta-button{background:var(--ink);box-shadow:none;border-radius:6px;font-size:15px;font-weight:600;padding:18px 30px;color:#fff;text-decoration:none}
body .cta-button:hover{background:#2C2C2A;transform:none;box-shadow:none}

/* ---------- ПОДВАЛ (светлый) ---------- */
body .footer{background:#fff;color:var(--ink);border-top:1px solid var(--line);padding:56px 48px 40px}
body .footer-column h3{color:var(--ink);font-size:13px;letter-spacing:.1em;text-transform:uppercase}
body .footer-column p,body .footer-links a{color:var(--gray)}
body .footer-links a:hover{color:var(--blue)}
body .footer-bottom-text{color:var(--muted)}

/* ---------- Полоска «Инструменты» на главной ---------- */
.tools-strip{background:#fff;padding:0 48px;border-top:1px solid var(--line)}
.tools-strip-in{max-width:1280px;margin:0 auto;display:flex;gap:16px 40px;align-items:baseline;flex-wrap:wrap;padding:28px 0}
.tools-strip .lbl{font-size:12px;letter-spacing:.14em;font-weight:700;text-transform:uppercase;color:var(--blue)}
.tools-strip p{font-size:16px;color:var(--gray);flex:1;min-width:260px}
.tools-strip a{font-size:15px;font-weight:600;color:var(--ink);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:6px;transition:color .2s,text-decoration-color .2s}
.tools-strip a:hover{color:var(--blue);text-decoration-color:var(--blue)}

/* ---------- ПОДСТРАНИЦЫ: калькуляторы, ДДС, CFO ---------- */
body .page{max-width:760px}
body .mast{display:none}
body h1{font-family:var(--serif-head);font-weight:400;text-transform:none;letter-spacing:-.015em;line-height:1.02}
body h2{font-family:var(--serif-head);font-weight:400;text-transform:none;letter-spacing:-.01em}
body .btn{background:var(--ink);color:#fff;font-family:'Inter',sans-serif;font-weight:600;font-size:15px;letter-spacing:0;text-transform:none;border-radius:6px}
body .btn:hover{background:#2C2C2A}
body section,body .rules,body footer{border-color:var(--ink)}
body footer{font-family:'Inter',sans-serif;font-size:13px}
body footer a{color:var(--gray)}
body footer a:hover{color:var(--blue)}

/* ---------- АДАПТИВ ---------- */
@media(max-width:1100px){
  body .proof-tile,body .proof-tile-big{grid-template-columns:150px 1fr 40px;gap:8px 24px}
  body .case-row{grid-template-columns:150px 1fr;gap:6px 24px}
  body .process-grid{grid-template-columns:repeat(2,1fr);gap:48px 40px}
}
@media(max-width:900px){
  body .top-in{padding:0 24px;height:64px;gap:16px}
  body .top .drop{top:64px;padding:16px 24px 24px}
  body .top .nav{gap:18px;font-size:13px}
  body .top .cta-mini{padding:10px 14px;font-size:13px}
  body .quote-section,body .systems-section,body .services-section,body .process-section,
  body .audience-section,body .obj-section,body .nofit-section,body .faq-section{padding:64px 24px}
  body .section-title{font-size:38px}
  body .hero-title-block h1{font-size:54px}
  body .hero-title-block .subtitle{font-size:24px}
  body .proof-tile,body .proof-tile-big{grid-template-columns:1fr 32px;padding:24px 0}
  body .proof-type{grid-column:1/-1;padding-top:0}
  body .proof-title,body .proof-tile-big .proof-title{font-size:26px}
  body .proof-arrow{grid-column:2;grid-row:2}
  body #cases-tile::after{grid-column:2;grid-row:2}
  body .case-row{grid-template-columns:1fr;padding:24px 0}
  body .case-tag{grid-row:auto;padding:0 0 6px}
  body .case-field{grid-column:1}
  body .systems-grid{gap:48px}
  body .services-grid{grid-template-columns:1fr;margin-top:40px}
  body .service-card,body .service-card.featured{border-left:0;border-top:1px solid var(--line);padding:28px 0}
  body .service-card:first-child{border-top:0}
  body .process-grid{grid-template-columns:1fr;gap:32px}
  body .audience-grid{grid-template-columns:1fr}
  body .obj-card{grid-template-columns:1fr;gap:10px;padding:26px 0}
  body .obj-q{font-size:24px}
  body .cta-section{padding:72px 24px}
  body .cta-section-inner{grid-template-columns:1fr;gap:28px}
  body .cta-title{font-size:52px}
  body .footer{padding:40px 24px 28px}
  .tools-strip{padding:0 24px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* CTA: заголовок слева, текст и кнопка справа */
body .cta-title{grid-row:1/3}
body .cta-button{justify-self:start;align-self:start}
body .cta-description{align-self:end}

/* ---------- мобильные правки ---------- */
body .line>*,body .field>*{min-width:0}
body .line{grid-template-columns:minmax(0,1fr) 190px}
@media(max-width:520px){body .line{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){
  body .top:has(.menu-btn) .nav{display:none}
  body .top-in{gap:12px}
  body .top .logo{font-size:15px}
  body .top .cta-mini{margin-left:auto}
}
body .cta-section-inner{align-items:center;row-gap:28px}
body .cta-description{margin:0;align-self:end;max-width:460px}
body .cta-button{align-self:start;justify-self:start}
@media(max-width:900px){body .cta-title{grid-row:auto}}
body .btn-primary,body .cta-button{text-decoration:none}
body .service-card.featured .service-title,body .service-card.featured:hover .service-title{color:var(--ink)}
body .service-card.featured:hover,body .service-card:hover{background:transparent;border-color:var(--line);box-shadow:none}
body .service-card.featured:hover{border-left-color:var(--line)}
body .service-card{cursor:default;animation:none}

/* ДДС: таблица на всю ширину экрана */
body .page:has(#grid){max-width:none;padding-left:48px;padding-right:48px}
body .page:has(#grid) .lead,body .page:has(#grid) details.rules,body .page:has(#grid) .explain,body .page:has(#grid) .links{max-width:46em}
body .page:has(#grid) .grid-wrap{max-height:80vh}
@media(min-width:1100px){body .page:has(#grid){--name-w:440px}}
@media(max-width:720px){body .page:has(#grid){padding-left:14px;padding-right:14px}}
body:has(#grid) .top-in{max-width:none}
