
@font-face { font-family: "Philosopher"; src: url("Philosopher.otf") format("opentype"); font-display: swap; }

:root { color-scheme: dark; --bg: #32353e; --bg-deep: #292c34; --panel: #393d47; --panel-soft: #353942; --text: #f4f5f7; --muted: #bfc3ca; --line: rgba(238,240,243,.17); --green: #76c642; --green-dark: #61ad32; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Arial, Helvetica, sans-serif; }
img, .wordmark, .wordmark-crop, .partner-logo-wrap { forced-color-adjust: none; }
a { color: inherit; }
main { overflow: hidden; }
.site-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 78px; display: grid; grid-template-columns: 220px 1fr 150px; align-items: center; padding: 0 5vw; border-bottom: 1px solid var(--line); background: rgba(50,53,62,.92); backdrop-filter: blur(16px); }
.wordmark { display: inline-block; width: 152px; height: 34px; overflow: hidden; }
.wordmark-crop { display: block; width: 152px; height: 34px; overflow: hidden; }
.wordmark img { width: 152px; height: auto; display: block; }
nav { display: flex; justify-content: center; gap: 32px; }
nav a, .footer-links a { text-decoration: none; color: var(--muted); font-size: 14px; transition: color .2s; }
nav a:hover, .footer-links a:hover { color: var(--text); }
.header-contact { justify-self: end; color: var(--green); text-underline-offset: 4px; font-size: 14px; }
.hero { position: relative; min-height: 760px; padding: 160px 7vw 100px; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(330px,.75fr); align-items: center; gap: 8vw; }
.rail { position: absolute; left: 0; right: 0; height: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); pointer-events: none; }
.rail-top { top: 106px; } .rail-bottom { bottom: 27px; }
.eyebrow { margin: 0 0 20px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1,h2,h3,p { text-wrap: pretty; }
h1,h2,h3 { font-family: "Philosopher", Georgia, serif; font-weight: 400; }
h1 { margin: 0; max-width: 830px; font-size: clamp(58px,7vw,105px); letter-spacing: -.05em; line-height: .9; }
h1 span { color: var(--green); }
.hero-text { max-width: 660px; margin: 34px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid var(--green); border-radius: 10px; text-decoration: none; font-size: 15px; transition: .2s; }
.button-primary { background: var(--green); color: #1e2519; font-weight: 700; } .button-primary:hover { background: #84d64e; border-color: #84d64e; }
.button-ghost:hover { background: rgba(118,198,66,.09); }
.partner-card { align-self: end; margin-bottom: 54px; padding-top: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-soft); }
.partner-logo-wrap { color-scheme: light; width: calc(100% - 52px); max-width: 310px; min-height: 116px; margin: 0 auto; padding: 20px 24px; display: grid; place-items: center; border-radius: 13px; background: #f7f7f4; box-shadow: inset 0 0 0 1px rgba(20,22,27,.06); }
.partner-logo-wrap img { width: 100%; max-width: 218px; max-height: 88px; object-fit: contain; }
.partner-card > div:last-child { padding: 22px 27px 27px; }
.partner-card strong { font-family: "Philosopher", Georgia, serif; font-size: 22px; font-weight: 400; }
.partner-card p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.section { padding: 110px 7vw; border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading.compact { max-width: 850px; }
h2 { margin: 0; font-size: clamp(44px,5.2vw,75px); line-height: .97; letter-spacing: -.035em; }
.section-heading > p:last-child, .split-heading > p { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.product-card { position: relative; min-height: 380px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-soft); }
.card-number { position: absolute; right: 30px; top: 24px; color: rgba(255,255,255,.15); font-family: "Philosopher"; font-size: 50px; }
.card-tag { margin: 0 0 34px; color: var(--green); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.product-card h3 { max-width: 600px; margin: 0; padding-right: 32px; font-size: 31px; line-height: 1.08; }
.product-card > p:not(.card-tag) { max-width: 590px; margin: 22px 0 30px; color: var(--muted); line-height: 1.65; }
.card-links { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.card-links a, .its-card a, .about-copy a { color: var(--green); text-underline-offset: 5px; }
.source-link { color: var(--muted)!important; font-size: 13px; text-decoration: none; }
.its-section { background: var(--bg-deep); }
.its-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.its-card { padding: 36px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-soft); }
.its-card.featured { border-color: rgba(118,198,66,.6); }
.its-card h3 { margin: 0; font-size: 34px; }
.its-card ul { margin: 32px 0 34px; padding: 0; list-style: none; }
.its-card li { padding: 14px 0 14px 24px; border-bottom: 1px solid var(--line); color: var(--muted); position: relative; }
.its-card li::before { content: ""; position: absolute; left: 0; top: 21px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.support-note { margin: 28px 0 0; padding-left: 20px; border-left: 2px solid var(--green); color: #aeb2ba; font-size: 13px; line-height: 1.65; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; gap: 9vw; align-items: end; }
.service-list { border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 70px minmax(220px,.7fr) 1fr; gap: 30px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-list span { color: var(--green); font-size: 12px; }
.service-list h3 { margin: 0; font-size: 27px; }
.service-list p { margin: 0; color: var(--muted); line-height: 1.55; }
.service-list-copy a { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--text); font-size: 13px; text-decoration: none; border-bottom: 1px solid rgba(118,198,66,.48); padding-bottom: 3px; }
.service-list-copy a:hover { color: var(--green); border-color: var(--green); }
.service-list-copy a span { font-size: 15px; }
.about-section { position: relative; padding: 110px 7vw; display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; background: var(--bg-deep); color: var(--text); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-section::before { content: ""; position: absolute; top: 0; left: 7vw; width: 72px; height: 2px; background: var(--green); }
.about-section .eyebrow { color: var(--green); }
.about-copy p { color: var(--muted); line-height: 1.7; }
.about-copy .lead { margin-top: 0; color: var(--text); font-family: "Philosopher"; font-size: 27px; line-height: 1.35; }
.about-copy a { display: inline-block; margin-top: 16px; color: var(--green); font-weight: 700; }
.contact-section { padding: 110px 7vw; text-align: center; border-bottom: 1px solid var(--line); }
.contact-section .eyebrow { text-align: center; }
.contact-section h2 { max-width: 900px; margin: 0 auto; }
.contact-section > p:not(.eyebrow) { margin: 25px auto 0; color: var(--muted); font-size: 18px; }
.contact-actions { justify-content: center; }
.phone-link { margin-left: 12px; color: var(--text); font-family: "Philosopher"; font-size: 23px; text-underline-offset: 6px; }
footer { padding: 62px 7vw 30px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; color: var(--muted); }
.footer-brand { color: var(--text); font-family: "Philosopher"; font-size: 32px; }
footer p { margin: 0 0 8px; font-size: 13px; }
.footer-links { display: flex; justify-content: flex-end; gap: 24px; }
.footer-bottom { grid-column: 1 / -1; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 11px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; } nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 170px; }
  .partner-card { width: min(100%,520px); margin: 0; align-self: auto; }
  .product-grid,.its-grid { grid-template-columns: 1fr; }
  .split-heading,.about-section { grid-template-columns: 1fr; gap: 45px; }
}
@media (max-width: 620px) {
  .site-header { height: 68px; padding: 0 20px; }
  .wordmark,.wordmark-crop { width: 127px; height: 28px; } .wordmark img { width: 127px; }
  .header-contact { font-size: 13px; }
  .hero { padding: 130px 20px 82px; gap: 54px; }
  .rail-top { top: 88px; } .rail-bottom { display: none; }
  h1 { font-size: clamp(46px,14vw,66px); }
  .hero-text { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .partner-card { padding-top: 20px; }
  .partner-logo-wrap { width: calc(100% - 40px); min-height: 104px; padding: 17px 20px; }
  .partner-logo-wrap img { max-width: 195px; max-height: 78px; }
  .section,.about-section,.contact-section { padding: 78px 20px; }
  h2 { font-size: 45px; }
  .section-heading { margin-bottom: 38px; }
  .product-card,.its-card { padding: 28px 24px; }
  .product-card { min-height: 410px; }
  .product-card h3 { font-size: 28px; }
  .card-links { align-items: flex-start; flex-direction: column; }
  .service-list article { grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
  .service-list article p { grid-column: 2; }
  .service-list-copy { grid-column: 2; }
  .about-copy .lead { font-size: 24px; }
  .contact-actions .button { width: 100%; }
  .phone-link { margin: 15px 0 0; }
  footer { grid-template-columns: 1fr; padding: 48px 20px 24px; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; margin-top: 12px; }
}

/* Страницы направлений */
.service-page main { overflow: hidden; }
.service-page .site-header { position: fixed; }
.service-nav { display: flex; justify-content: center; gap: 30px; }
.service-hero { min-height: 690px; padding: 158px 7vw 92px; display: grid; grid-template-columns: minmax(0,1.18fr) minmax(300px,.62fr); gap: 7vw; align-items: center; border-bottom: 1px solid var(--line); }
.service-hero h1 { max-width: 900px; font-size: clamp(54px,6.5vw,96px); }
.service-hero h1 span { display: block; }
.service-hero__lead { max-width: 720px; margin: 30px 0 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.service-summary { padding: 32px; border: 1px solid rgba(118,198,66,.42); border-radius: 18px; background: var(--panel-soft); }
.service-summary strong { display: block; margin-bottom: 22px; font-family: "Philosopher",Georgia,serif; font-size: 28px; font-weight: 400; }
.service-summary ul { margin: 0; padding: 0; list-style: none; }
.service-summary li { padding: 13px 0 13px 22px; position: relative; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.45; }
.service-summary li::before { content: ""; position: absolute; left: 1px; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.detail-card { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: 17px; background: var(--panel-soft); }
.detail-card span { color: var(--green); font-size: 11px; }
.detail-card h3 { margin: 42px 0 14px; font-size: 28px; line-height: 1.08; }
.detail-card p { margin: 0; color: var(--muted); line-height: 1.62; }
.signal-section { background: var(--bg-deep); }
.signal-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); }
.signal-list article { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.signal-list article:nth-child(odd) { padding-right: 42px; border-right: 1px solid var(--line); }
.signal-list article:nth-child(even) { padding-left: 42px; }
.signal-list h3 { margin: 0 0 10px; font-size: 25px; }
.signal-list p { margin: 0; color: var(--muted); line-height: 1.58; }
.steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.step { padding: 28px 24px; border-top: 2px solid var(--green); background: rgba(255,255,255,.018); }
.step span { color: var(--green); font-size: 11px; }
.step h3 { margin: 30px 0 12px; font-size: 24px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.source-note { margin-top: 36px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.source-note a { color: var(--text); text-underline-offset: 4px; }
.related-service { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 48px 7vw; border-top: 1px solid var(--line); background: var(--panel-soft); }
.related-service h2 { font-size: clamp(34px,4vw,54px); }
.related-service p { margin: 14px 0 0; color: var(--muted); }
@media (max-width: 980px) {
  .service-hero { grid-template-columns: 1fr; min-height: auto; }
  .detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .service-nav { display: none; }
  .service-hero { padding: 128px 20px 72px; gap: 46px; }
  .service-hero h1 { font-size: clamp(45px,14vw,65px); }
  .service-hero__lead { font-size: 17px; }
  .detail-grid,.signal-list,.steps { grid-template-columns: 1fr; }
  .detail-card { min-height: auto; }
  .signal-list article,.signal-list article:nth-child(odd),.signal-list article:nth-child(even) { padding: 24px 0; border-right: 0; }
  .related-service { grid-template-columns: 1fr; padding: 42px 20px; }
}

/* Согласие на статистику */
[hidden] { display: none !important; }
.cookie-notice {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(238,240,243,.18);
  border-radius: 14px;
  background: rgba(28,30,35,.97);
  box-shadow: 0 18px 55px rgba(0,0,0,.34);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
.cookie-notice__copy { max-width: 500px; }
.cookie-notice__copy strong { display: block; margin-bottom: 6px; font-size: 15px; }
.cookie-notice__copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cookie-notice__copy a { color: var(--green); }
.cookie-notice__actions { display: flex; flex: 0 0 auto; gap: 8px; }
.cookie-notice button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 9px;
  font: 700 12px Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.cookie-accept { border: 1px solid var(--green); background: var(--green); color: #182016; }
.cookie-decline { border: 1px solid rgba(238,240,243,.22); background: transparent; color: var(--text); }

/* Политика конфиденциальности */
.legal-body { min-height: 100vh; background: var(--bg); color: var(--text); }
.legal-page { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 72px; }
.legal-brand { display: inline-block; width: 154px; height: 35px; margin: 0 0 32px; overflow: hidden; }
.legal-brand img { display: block; width: 100%; height: auto; }
.legal-card { padding: clamp(24px, 5vw, 56px); border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.014); }
.legal-back { color: var(--green); font: 700 13px Arial, Helvetica, sans-serif; text-decoration: none; }
.legal-card h1 { max-width: 760px; margin: 24px 0 8px; font-size: clamp(36px, 6vw, 66px); line-height: .98; letter-spacing: -.035em; }
.legal-card h2 { margin: 34px 0 10px; color: var(--green); font: 700 15px Arial, Helvetica, sans-serif; letter-spacing: .03em; text-transform: uppercase; }
.legal-card p { margin: 0; color: var(--muted); font: 16px/1.7 Arial, Helvetica, sans-serif; }
.legal-card a { color: var(--text); text-underline-offset: 3px; }
.legal-card code { color: var(--text); font-size: .92em; }
.legal-card .legal-updated { color: var(--muted); font-size: 13px; }

@media (max-width: 720px) {
  .cookie-notice { align-items: stretch; flex-direction: column; gap: 14px; bottom: 12px; }
  .cookie-notice__actions { width: 100%; }
  .cookie-notice button { flex: 1; }
  .legal-page { padding-top: 26px; }
  .legal-brand { margin-bottom: 22px; }
}

@media (max-width: 440px) {
  .cookie-notice__actions { flex-direction: column; }
}

/* Серверы для 1С — отдельное направление */
.server-section { background: linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,0)); }
.server-heading { max-width: 880px; }
.server-grid { display: grid; grid-template-columns: minmax(320px,.82fr) minmax(0,1.18fr); gap: 16px; align-items: stretch; }
.server-card { border: 1px solid var(--line); border-radius: 18px; background: var(--panel-soft); }
.server-card-main { min-height: 100%; padding: 38px; display: flex; flex-direction: column; border-color: rgba(118,198,66,.42); }
.server-card-main h3 { margin: 0; max-width: 500px; font-size: clamp(34px,3vw,48px); line-height: 1.02; }
.server-card-main > p:not(.card-tag) { margin: 24px 0 34px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.server-card-main a { margin-top: auto; color: var(--green); text-underline-offset: 5px; font-weight: 700; }
.server-features { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel-soft); }
.server-features article { min-height: 158px; padding: 27px 28px; display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.server-features article:nth-child(2n) { border-right: 0; }
.server-features article:nth-last-child(-n+2) { border-bottom: 0; }
.server-features span { padding-top: 4px; color: var(--green); font-size: 11px; }
.server-features h3 { margin: 0; font-size: 23px; line-height: 1.1; }
.server-features p { margin: 11px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

@media (max-width: 900px) {
  .server-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .server-card-main { padding: 28px 24px; }
  .server-features { grid-template-columns: 1fr; }
  .server-features article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line)!important; padding: 24px; }
  .server-features article:last-child { border-bottom: 0!important; }
}


/* Контакты: WhatsApp + Telegram */
.site-header { grid-template-columns: 220px 1fr auto; }
.header-messengers { justify-self: end; display: flex; gap: 8px; align-items: center; }
.msg-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 15px; border: 1px solid rgba(238,240,243,.18); border-radius: 10px; background: rgba(255,255,255,.018); color: var(--text); text-decoration: none!important; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 700; line-height: 1; transition: border-color .18s ease, background .18s ease, transform .18s ease; white-space: nowrap; }
.msg-btn:hover { border-color: rgba(118,198,66,.72); background: rgba(118,198,66,.07); transform: translateY(-1px); }
.msg-btn--whatsapp .msg-icon { color: var(--green); }
.msg-btn--telegram .msg-icon { color: #2aabee; }
.msg-btn--telegram:hover .msg-icon { color: #2aabee; }
.msg-icon { width: 20px; height: 20px; flex: 0 0 20px; fill: currentColor; }
.msg-btn::before { content: ""; width: 20px; height: 20px; flex: 0 0 20px; background-color: currentColor; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; }
.msg-btn .msg-icon { display: none; }
.msg-btn--whatsapp::before { color: var(--green); background-color: var(--green); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M27.2 4.7A15.5 15.5 0 0 0 2.9 23.3L1 31l7.9-2.1a15.5 15.5 0 0 0 18.3-24.2ZM16.1 28.3a12.3 12.3 0 0 1-6.3-1.7l-.45-.27-4.7 1.24 1.26-4.57-.3-.47A12.3 12.3 0 1 1 16.1 28.3Zm6.75-9.2c-.37-.19-2.2-1.08-2.54-1.21-.34-.12-.59-.19-.84.19-.25.37-.96 1.2-1.18 1.45-.22.25-.44.28-.81.09a10.1 10.1 0 0 1-2.97-1.83 11.2 11.2 0 0 1-2.06-2.57c-.22-.37-.02-.57.16-.75.17-.17.37-.44.56-.66.19-.22.25-.37.37-.62.12-.25.06-.47-.03-.66-.09-.19-.84-2.02-1.15-2.77-.3-.73-.61-.63-.84-.64h-.72c-.25 0-.66.09-1 .47-.34.37-1.31 1.28-1.31 3.12 0 1.84 1.34 3.62 1.53 3.87.19.25 2.63 4.02 6.37 5.64.89.38 1.59.61 2.13.78.89.28 1.7.24 2.34.15.71-.11 2.2-.9 2.51-1.77.31-.87.31-1.61.22-1.77-.09-.16-.34-.25-.71-.44Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M27.2 4.7A15.5 15.5 0 0 0 2.9 23.3L1 31l7.9-2.1a15.5 15.5 0 0 0 18.3-24.2ZM16.1 28.3a12.3 12.3 0 0 1-6.3-1.7l-.45-.27-4.7 1.24 1.26-4.57-.3-.47A12.3 12.3 0 1 1 16.1 28.3Zm6.75-9.2c-.37-.19-2.2-1.08-2.54-1.21-.34-.12-.59-.19-.84.19-.25.37-.96 1.2-1.18 1.45-.22.25-.44.28-.81.09a10.1 10.1 0 0 1-2.97-1.83 11.2 11.2 0 0 1-2.06-2.57c-.22-.37-.02-.57.16-.75.17-.17.37-.44.56-.66.19-.22.25-.37.37-.62.12-.25.06-.47-.03-.66-.09-.19-.84-2.02-1.15-2.77-.3-.73-.61-.63-.84-.64h-.72c-.25 0-.66.09-1 .47-.34.37-1.31 1.28-1.31 3.12 0 1.84 1.34 3.62 1.53 3.87.19.25 2.63 4.02 6.37 5.64.89.38 1.59.61 2.13.78.89.28 1.7.24 2.34.15.71-.11 2.2-.9 2.51-1.77.31-.87.31-1.61.22-1.77-.09-.16-.34-.25-.71-.44Z'/%3E%3C/svg%3E"); }
.msg-btn--telegram::before { background-color: #2aabee; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M29.1 3.3 24.7 28c-.33 1.74-1.2 2.17-2.43 1.35l-6.7-4.94-3.23 3.11c-.36.36-.66.66-1.35.66l.48-6.82L23.88 10.1c.54-.48-.12-.75-.84-.27L7.7 19.49l-6.6-2.06c-1.43-.45-1.46-1.43.3-2.12L27.2 5.36c1.2-.45 2.25.27 1.9 1.94Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M29.1 3.3 24.7 28c-.33 1.74-1.2 2.17-2.43 1.35l-6.7-4.94-3.23 3.11c-.36.36-.66.66-1.35.66l.48-6.82L23.88 10.1c.54-.48-.12-.75-.84-.27L7.7 19.49l-6.6-2.06c-1.43-.45-1.46-1.43.3-2.12L27.2 5.36c1.2-.45 2.25.27 1.9 1.94Z'/%3E%3C/svg%3E"); }
.msg-btn--phone::before { background-color: var(--text); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.8 3.5 3.1 4.8 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.8 21 3 13.2 3 3.7c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1l-2.2 2.2Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.8 3.5 3.1 4.8 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.8 21 3 13.2 3 3.7c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1l-2.2 2.2Z'/%3E%3C/svg%3E"); }
.msg-btn--compact { min-height: 38px; padding: 0 12px; font-size: 12px; font-weight: 600; }
.msg-btn--compact .msg-icon { width: 17px; height: 17px; flex-basis: 17px; }
.hero-actions .msg-btn, .contact-actions .msg-btn { min-height: 52px; padding: 0 22px; font-size: 15px; }
.hero-actions .msg-btn--whatsapp, .contact-actions .msg-btn--whatsapp { border-color: rgba(118,198,66,.88); background: transparent; color: var(--text); }
.hero-actions .msg-btn--whatsapp .msg-icon, .contact-actions .msg-btn--whatsapp .msg-icon { color: var(--green); }
.hero-actions .msg-btn--whatsapp:hover, .contact-actions .msg-btn--whatsapp:hover { border-color: var(--green); background: rgba(118,198,66,.08); }
.hero-actions .msg-btn--telegram, .contact-actions .msg-btn--telegram { border-color: rgba(42,171,238,.82); background: transparent; color: var(--text); }
.hero-actions .msg-btn--telegram .msg-icon, .contact-actions .msg-btn--telegram .msg-icon { color: #2aabee; }
.hero-actions .msg-btn--telegram:hover, .contact-actions .msg-btn--telegram:hover { border-color: #2aabee; background: rgba(42,171,238,.08); }
.contact-actions .msg-btn--phone { border-color: rgba(238,240,243,.28); background: transparent; color: var(--text); }
.contact-actions .msg-btn--phone:hover { border-color: rgba(238,240,243,.52); background: rgba(255,255,255,.045); }
.messenger-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.messenger-inline .msg-btn { min-height: 40px; padding: 0 12px; font-size: 12px; }
.card-links { align-items: flex-end; }
.card-links .messenger-inline + .source-link { margin-left: auto; }
.its-card .messenger-inline .msg-btn, .server-card-main .messenger-inline .msg-btn { color: var(--text); text-underline-offset: 0; }
.its-card .messenger-inline, .server-card-main .messenger-inline { margin-top: auto; }
.server-card-main > .messenger-inline { margin-top: auto; }
.server-card-main > .messenger-inline a { margin-top: 0; }

@media (max-width: 1100px) {
  .header-messengers .msg-btn span { display: none; }
  .header-messengers .msg-btn { width: 38px; padding: 0; }
}
@media (max-width: 620px) {
  .header-messengers { gap: 6px; }
  .header-messengers .msg-btn { width: 34px; min-height: 34px; border-radius: 9px; }
  .hero-actions .msg-btn, .contact-actions .msg-btn { width: 100%; }
  .messenger-inline { width: 100%; }
  .messenger-inline .msg-btn { width: 100%; justify-content: flex-start; padding: 0 14px; }
  .card-links .messenger-inline + .source-link { margin-left: 0; }
}


/* Упрощённые CTA: мессенджеры только там, где пользователь уже выбирает канал связи */
.card-cta {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(118,198,66,.62);
  border-radius: 10px;
  background: rgba(118,198,66,.055);
  color: var(--text)!important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none!important;
  white-space: nowrap;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.card-cta::after { content: "→"; color: var(--green); font-size: 16px; transition: transform .18s ease; }
.card-cta:hover { border-color: var(--green); background: rgba(118,198,66,.10); transform: translateY(-1px); }
.card-cta:hover::after { transform: translateX(3px); }

.section-cta {
  width: fit-content;
  min-height: 44px;
  display: inline-flex!important;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(118,198,66,.62);
  border-radius: 10px;
  color: var(--text)!important;
  background: rgba(118,198,66,.055);
  text-decoration: none!important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.section-cta:hover { border-color: var(--green); background: rgba(118,198,66,.10); transform: translateY(-1px); }
.its-card .section-cta, .server-card-main .section-cta { margin-top: auto; }
.server-card-main > .section-cta { color: var(--text)!important; }

.msg-btn--phone .msg-icon { color: var(--text); }
.contact-actions .msg-btn--phone { min-height: 52px; padding: 0 22px; font-size: 15px; }

@media (max-width: 620px) {
  .card-cta { min-height: 40px; }
  .section-cta, .contact-actions .msg-btn--phone { width: 100%; }
}
/* Официальные ресурсы 1С — вторичные outline-кнопки */
.official-link,
.source-link.official-link,
.its-card a.official-link,
.about-copy a.official-link {
  width: fit-content;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid rgba(238,240,243,.28) !important;
  border-radius: 10px;
  background: rgba(255,255,255,.015);
  color: var(--text) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1;
  text-decoration: none !important;
  text-underline-offset: 0 !important;
  white-space: nowrap;
  box-shadow: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.official-link span {
  color: var(--green);
  font-size: 14px;
  line-height: 1;
  transition: transform .18s ease;
}
.official-link:hover {
  border-color: rgba(238,240,243,.48) !important;
  background: rgba(255,255,255,.035);
  color: var(--text) !important;
  transform: translateY(-1px);
}
.official-link:hover span { transform: translate(1px,-1px); }
.card-links .official-link { margin-left: auto; }
.its-card > .official-link { margin-top: auto; }
.about-copy .official-link { margin-top: 16px; }

@media (max-width: 620px) {
  .official-link,
  .source-link.official-link,
  .its-card a.official-link,
  .about-copy a.official-link {
    min-height: 44px;
    padding: 0 14px;
  }
  .card-links .official-link { width: fit-content; margin-left: 0; }
}

/* Каталог программ и сервисов */
.catalog-page main { overflow: hidden; }
.catalog-hero { min-height: 610px; padding: 150px 7vw 90px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(310px,.8fr); gap: 8vw; align-items: center; border-bottom: 1px solid var(--line); }
.catalog-hero h1 { font-size: clamp(58px,7vw,102px); }
.catalog-hero h1 span { color: var(--green); }
.catalog-hero__lead { max-width: 720px; margin: 30px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.catalog-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.catalog-facts span, .delivery-badge { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; }
.catalog-hero__aside { padding: 34px; border: 1px solid rgba(118,198,66,.4); border-radius: 18px; background: var(--panel-soft); }
.catalog-hero__aside h2 { font-size: clamp(34px,3vw,48px); line-height: 1; }
.catalog-hero__aside > p:not(.card-tag) { color: var(--muted); line-height: 1.65; }
.catalog-side-note { margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.catalog-section { background: linear-gradient(180deg,rgba(255,255,255,.012),rgba(255,255,255,0)); }
.catalog-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.catalog-card { min-height: 440px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-soft); }
.catalog-card--featured { border-color: rgba(118,198,66,.5); background: linear-gradient(145deg,rgba(118,198,66,.07),rgba(255,255,255,.012)); }
.catalog-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.catalog-card__top .card-tag { margin: 0; }
.delivery-badge { flex: 0 0 auto; color: var(--green); border-color: rgba(118,198,66,.35); }
.catalog-card h3 { max-width: 660px; margin: 23px 0 0; font-size: clamp(30px,2.7vw,43px); line-height: 1.04; }
.catalog-card > p:not(.catalog-variant) { margin: 19px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.catalog-price { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 6px; }
.catalog-price span { color: var(--green); font-family: "Philosopher",Georgia,serif; font-size: clamp(34px,3vw,48px); line-height: 1; }
.catalog-price small, .service-price small { color: var(--muted); font-size: 12px; }
.catalog-variant { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.5; }
.catalog-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 23px; }
.catalog-actions .official-link { min-height: 44px; }
.price-disclaimer { max-width: 1040px; margin: 26px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.catalog-services { background: var(--bg-deep); }
.service-catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.service-catalog-card { min-height: 530px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-soft); }
.service-catalog-card--new { border-color: rgba(118,198,66,.42); }
.service-card-head { min-height: 30px; display: flex; justify-content: space-between; align-items: flex-start; }
.service-card-head > span { color: var(--green); font-size: 11px; }
.service-card-head em { padding: 6px 9px; border-radius: 999px; background: rgba(118,198,66,.1); color: var(--green); font-size: 11px; font-style: normal; }
.service-catalog-card h3 { margin: 16px 0 0; font-size: clamp(28px,2.2vw,37px); line-height: 1.05; }
.service-catalog-card > p { min-height: 78px; margin: 17px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.service-price { margin-top: 25px; padding: 20px 0; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text); font-family: "Philosopher",Georgia,serif; font-size: 24px; line-height: 1.08; }
.service-price small { font-family: Arial,Helvetica,sans-serif; line-height: 1.4; }
.service-catalog-card ul { margin: 21px 0 26px; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.service-catalog-card .catalog-actions { margin-top: auto; }

.license-section { background: linear-gradient(180deg,rgba(255,255,255,.012),rgba(255,255,255,0)); }
.license-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.license-panel { padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel-soft); }
.license-panel h3 { margin: 0 0 25px; font-size: 30px; }
.license-rows { border-top: 1px solid var(--line); }
.license-rows > div { min-height: 60px; display: flex; justify-content: space-between; gap: 22px; align-items: center; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.license-rows strong { color: var(--text); white-space: nowrap; font-size: 15px; }
.license-panel > .card-cta { margin-top: 24px; }

.catalog-help { padding: 76px 7vw; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: end; border-top: 1px solid var(--line); background: rgba(118,198,66,.045); }
.catalog-help h2 { font-size: clamp(40px,5vw,70px); }
.catalog-help p:not(.eyebrow) { max-width: 760px; margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.catalog-help .msg-btn { min-height: 52px; padding: 0 22px; border-color: rgba(118,198,66,.8); }

@media (max-width: 1100px) {
  .service-catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .catalog-hero { grid-template-columns: 1fr; min-height: auto; gap: 48px; }
  .catalog-grid, .license-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .catalog-hero { padding: 126px 6vw 64px; }
  .catalog-hero h1 { font-size: clamp(50px,15vw,72px); }
  .catalog-hero__aside { padding: 26px 23px; }
  .service-catalog-grid { grid-template-columns: 1fr; }
  .catalog-card, .service-catalog-card { min-height: auto; padding: 26px 23px; }
  .service-catalog-card > p { min-height: 0; }
  .catalog-price { margin-top: 28px; }
  .license-panel { padding: 27px 23px; }
  .license-rows > div { align-items: flex-start; flex-direction: column; gap: 5px; padding: 15px 0; }
  .catalog-help { grid-template-columns: 1fr; align-items: start; }
  .catalog-help .msg-btn { width: 100%; }
}

/* Внутренние описания программ и сервисов */
.detail-page main { overflow: hidden; }
.detail-hero { min-height: 650px; }
.detail-hero .hero-actions { align-items: center; }
.product-detail { scroll-margin-top: 90px; }
.product-detail--alt { background: var(--bg-deep); }
.detail-intro { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr); gap: 7vw; align-items: end; }
.detail-intro h2 { max-width: 900px; font-size: clamp(44px,5vw,74px); line-height: .98; }
.detail-lead { max-width: 820px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.detail-offer { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; border: 1px solid rgba(118,198,66,.4); border-radius: 16px; background: rgba(118,198,66,.045); }
.detail-offer strong { color: var(--green); font-family: "Philosopher",Georgia,serif; font-size: clamp(28px,3vw,42px); line-height: 1.05; }
.detail-offer span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.detail-offer .card-cta { margin-top: 11px; }
.detail-columns { margin-top: 56px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.detail-columns > article { min-height: 290px; padding: 31px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel-soft); }
.detail-columns h3 { margin: 0 0 18px; font-size: 28px; }
.detail-columns p, .detail-columns li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.detail-columns ul { margin: 0; padding-left: 19px; }
.detail-note { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.detail-columns--cards > article { display: flex; flex-direction: column; }
.detail-columns--cards .card-tag { margin: 0 0 14px; }
.detail-columns--cards h3 { font-size: clamp(28px,3vw,40px); }
.detail-columns--cards .inline-price { margin-top: auto; padding-top: 25px; color: var(--green); font-family: "Philosopher",Georgia,serif; font-size: 34px; }
.detail-columns--cards .card-cta { margin-top: 18px; }
.product-detail > .source-note { margin-top: 28px; }

@media (max-width: 900px) {
  .detail-intro { grid-template-columns: 1fr; gap: 32px; }
  .detail-columns { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .detail-hero { min-height: auto; }
  .detail-intro h2 { font-size: clamp(39px,12vw,58px); }
  .detail-offer, .detail-columns > article { padding: 24px 21px; }
  .detail-offer .card-cta { width: 100%; }
}

/* Продающая страница 1С:Бухгалтерии */
.buy-page main { overflow: hidden; }
.buy-hero { min-height: 680px; padding: 154px 7vw 92px; display: grid; grid-template-columns: minmax(0,1.28fr) minmax(300px,.52fr); gap: 8vw; align-items: center; border-bottom: 1px solid var(--line); }
.buy-hero h1 { max-width: 920px; font-size: clamp(55px,6.7vw,98px); }
.buy-hero h1 span { display: block; color: var(--green); }
.buy-hero__lead { max-width: 760px; margin: 30px 0 0; color: var(--muted); font-size: 19px; line-height: 1.68; }
.buy-offer { padding: 34px; border: 1px solid rgba(118,198,66,.52); border-radius: 18px; background: linear-gradient(145deg,rgba(118,198,66,.08),rgba(255,255,255,.012)); }
.buy-offer .card-tag { margin-bottom: 22px; }
.buy-offer > strong { display: block; color: var(--green); font-family: "Philosopher",Georgia,serif; font-size: clamp(42px,4vw,62px); font-weight: 400; line-height: 1; }
.buy-offer > span { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.buy-offer > p:not(.card-tag) { margin: 25px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.buy-offer__cta { width: 100%; margin-top: 22px; }
.buy-offer small { display: block; margin-top: 16px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.buy-trust { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0 7vw; border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.buy-trust article { min-height: 160px; padding: 34px 30px; display: grid; grid-template-columns: 34px 1fr; gap: 17px; border-right: 1px solid var(--line); }
.buy-trust article:first-child { border-left: 1px solid var(--line); }
.buy-trust span, .buy-grid > article > span, .buy-steps > article > span { color: var(--green); font-size: 11px; }
.buy-trust h2 { margin: 0 0 10px; font-size: 26px; line-height: 1.08; }
.buy-trust p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.buy-section--alt { background: var(--bg-deep); }
.buy-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.buy-grid > article { min-height: 300px; padding: 32px; border: 1px solid var(--line); border-radius: 17px; background: var(--panel-soft); }
.buy-grid h3 { margin: 58px 0 15px; font-size: 29px; line-height: 1.08; }
.buy-grid p, .buy-capabilities p, .buy-audience p, .buy-steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.buy-capabilities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.buy-capabilities article { min-height: 220px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buy-capabilities h3 { margin: 0 0 16px; font-size: 27px; line-height: 1.08; }
.its-price-grid > article > strong { display: block; margin: 38px 0 8px; color: var(--green); font-family: "Philosopher",Georgia,serif; font-size: clamp(34px,3vw,48px); font-weight: 400; line-height: 1; }
.its-price-heading { margin-top: 72px; }
.buy-audience { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.buy-audience article { min-height: 290px; padding: 32px; border: 1px solid var(--line); border-radius: 17px; background: var(--panel-soft); }
.buy-audience .card-tag { margin-bottom: 48px; }
.buy-audience h3 { margin: 0 0 17px; font-size: 30px; line-height: 1.08; }
.buy-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.buy-steps article { min-height: 280px; padding: 30px 26px; border-top: 2px solid var(--green); background: rgba(255,255,255,.018); }
.buy-steps h3 { margin: 54px 0 15px; font-size: 27px; }
.buy-license-strip { padding: 70px 7vw; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 50px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(118,198,66,.045); }
.buy-license-strip h2 { font-size: clamp(38px,4.5vw,64px); }
.buy-license-strip p:not(.eyebrow) { max-width: 820px; margin: 18px 0 0; color: var(--muted); line-height: 1.65; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 56px 25px 0; color: var(--text); font-family: "Philosopher",Georgia,serif; font-size: 24px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 20px; color: var(--green); font-family: Arial,Helvetica,sans-serif; font-size: 28px; font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 900px; margin: -3px 0 25px; color: var(--muted); line-height: 1.65; }

@media (max-width: 980px) {
  .buy-hero { grid-template-columns: 1fr; min-height: auto; gap: 48px; }
  .buy-offer { width: min(100%,520px); }
  .buy-grid,.buy-capabilities,.buy-audience { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .buy-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .buy-hero { padding: 126px 20px 70px; }
  .buy-hero h1 { font-size: clamp(47px,14vw,67px); }
  .buy-hero__lead { font-size: 17px; }
  .buy-offer { padding: 27px 23px; }
  .buy-trust,.buy-grid,.buy-capabilities,.buy-audience,.buy-steps { grid-template-columns: 1fr; }
  .buy-trust { padding: 0 20px; }
  .buy-trust article,.buy-trust article:first-child { min-height: auto; padding: 27px 0; border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .buy-trust article:last-child { border-bottom: 0; }
  .buy-grid > article,.buy-audience article,.buy-steps article { min-height: auto; padding: 26px 23px; }
  .buy-grid h3,.buy-audience .card-tag,.buy-steps h3 { margin-top: 34px; }
  .buy-audience .card-tag { margin-bottom: 28px; }
  .buy-capabilities { border-left: 0; }
  .buy-capabilities article { min-height: auto; padding: 26px 0; border-right: 0; }
  .buy-license-strip { grid-template-columns: 1fr; padding: 58px 20px; gap: 30px; }
  .buy-license-strip .official-link { width: fit-content; }
  .faq-list summary { font-size: 21px; }
}


/* v30: единая глобальная навигация, подвал и заметные коммерческие переходы */
.global-header .global-nav { display:flex; justify-content:center; align-items:center; gap:clamp(16px,1.65vw,28px); min-width:0; }
.global-header .global-nav a { white-space:nowrap; }
.global-header .global-nav a[aria-current="page"] { color:var(--text); box-shadow:inset 0 -1px 0 var(--green); padding-bottom:5px; }
.global-header .header-contact { white-space:nowrap; }
.site-footer .footer-links { flex-wrap:wrap; gap:12px 22px; align-content:flex-start; }

/* На главной это точки входа в продаваемые страницы, а не служебные подписи. */
.service-list-copy a {
  min-height:40px;
  margin-top:14px;
  padding:0 14px;
  border:1px solid rgba(118,198,66,.55);
  border-radius:9px;
  background:rgba(118,198,66,.045);
  color:var(--text);
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  transition:border-color .18s ease, background .18s ease, transform .18s ease;
}
.service-list-copy a:hover { border-color:var(--green); background:rgba(118,198,66,.10); transform:translateY(-1px); color:var(--text); }
.service-list-copy a span { color:var(--green); font-size:16px; }

/* Такие же коммерческие переходы внутри карточек сопровождения. */
.detail-card > .official-link {
  width:fit-content;
  min-height:38px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:16px;
  padding:0 13px;
  border:1px solid rgba(118,198,66,.5);
  border-radius:9px;
  background:rgba(118,198,66,.04);
  color:var(--text)!important;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}
.detail-card > .official-link:hover { border-color:var(--green); background:rgba(118,198,66,.09); }
.detail-card > .official-link span { color:var(--green); }

/* Политика теперь использует ту же шапку и подвал, что и остальные страницы. */
.legal-body .legal-page { padding-top:130px; }
.legal-body .site-footer { width:100%; }

@media (max-width:1180px) {
  .global-header .global-nav { gap:14px; }
  .global-header .global-nav a { font-size:13px; }
}
@media (max-width:1040px) {
  .global-header { grid-template-columns:1fr auto; }
  .global-header .global-nav { display:none; }
}
@media (max-width:620px) {
  .legal-body .legal-page { padding-top:104px; }
  .service-list-copy a { width:fit-content; max-width:100%; }
}
\n\n/* v32: явная ссылка «Главная» в десктопной навигации. */
.global-header .global-nav { gap:clamp(11px,1.15vw,20px); }
@media (max-width:1180px) {
  .global-header .global-nav { gap:10px; }
  .global-header .global-nav a { font-size:12.5px; }
}

/* v34: мобильная навигация вместо кнопки «Связаться». */
.mobile-menu-toggle,
.mobile-menu-panel { display:none; }

@media (max-width:1040px) {
  .global-header .header-contact { display:none; }
  .mobile-menu-toggle {
    justify-self:end;
    min-height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:0 13px;
    border:1px solid rgba(118,198,66,.58);
    border-radius:9px;
    background:rgba(118,198,66,.045);
    color:var(--text);
    font:700 13px Arial, Helvetica, sans-serif;
    cursor:pointer;
  }
  .mobile-menu-toggle__icon {
    min-width:15px;
    color:var(--green);
    font-size:19px;
    font-weight:400;
    line-height:1;
    text-align:center;
  }
  .mobile-menu-panel {
    position:fixed;
    z-index:19;
    top:78px;
    right:0;
    bottom:0;
    left:0;
    display:block;
    overflow-y:auto;
    background:rgba(41,44,52,.985);
    backdrop-filter:blur(18px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-10px);
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .mobile-menu-panel.is-open {
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
  }
  .mobile-menu-panel__inner {
    width:min(680px,100%);
    min-height:100%;
    margin:0 auto;
    padding:34px clamp(24px,6vw,54px) 30px;
    display:flex;
    flex-direction:column;
  }
  .mobile-menu-nav {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
  }
  .mobile-menu-nav a {
    display:flex;
    align-items:center;
    min-height:58px;
    border-bottom:1px solid var(--line);
    color:var(--text);
    font-family:"Philosopher", Georgia, serif;
    font-size:27px;
    line-height:1.05;
    text-decoration:none;
  }
  .mobile-menu-nav a[aria-current="page"] { color:var(--green); }
  .mobile-menu-contacts {
    margin-top:auto;
    padding-top:28px;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
  }
  .mobile-menu-contact {
    min-height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 13px;
    border:1px solid rgba(238,240,243,.2);
    border-radius:9px;
    color:var(--text);
    font-size:13px;
    font-weight:700;
    text-decoration:none;
  }
  .mobile-menu-contact--whatsapp { border-color:rgba(118,198,66,.72); }
  .mobile-menu-contact--telegram { border-color:rgba(42,171,238,.72); }
  body.mobile-menu-open { overflow:hidden; }
}

@media (max-width:620px) {
  .mobile-menu-panel { top:68px; }
  .mobile-menu-panel__inner { padding:22px 20px 24px; }
  .mobile-menu-nav a { min-height:55px; font-size:25px; }
  .mobile-menu-contacts { grid-template-columns:1fr; margin-top:24px; }
  .mobile-menu-contact { min-height:44px; }
  .mobile-menu-toggle { min-height:38px; padding:0 11px; }

  /* Главный тезис на телефоне должен читаться одной строкой. */
  .hero h1 { font-size:clamp(36px,10.8vw,46px); }
}


/* v35: раздел «Бухгалтеру» и статьи для органического поиска. */
.accountant-teaser { background:linear-gradient(180deg,rgba(118,198,66,.025),rgba(255,255,255,0)); }
.accountant-feature { display:block; border:1px solid rgba(118,198,66,.38); border-radius:18px; background:var(--panel-soft); color:inherit; text-decoration:none; overflow:hidden; transition:border-color .18s ease, transform .18s ease, background .18s ease; }
.accountant-feature:hover { border-color:var(--green); transform:translateY(-2px); background:#383d45; }
.accountant-feature__meta { min-height:48px; padding:0 30px; display:flex; align-items:center; gap:18px; border-bottom:1px solid var(--line); color:var(--muted); font-size:12px; }
.accountant-feature__meta span:last-child { color:var(--green); }
.accountant-feature__body { padding:36px 32px; display:grid; grid-template-columns:1.05fr .95fr; gap:7vw; }
.accountant-feature h3 { margin:0; max-width:650px; font-size:clamp(31px,3.1vw,46px); line-height:1.02; }
.accountant-feature__body > div:last-child > p { margin:0; color:var(--muted); font-size:16px; line-height:1.65; }
.accountant-feature__cta { margin-top:24px; display:inline-flex; align-items:center; gap:8px; color:var(--text); font-size:14px; font-weight:700; }
.accountant-feature__cta b { color:var(--green); font-size:17px; }
.accountant-teaser__more { margin-top:22px; }
.accountant-teaser__more .official-link { color:var(--green); text-underline-offset:5px; }

.accounting-hero { min-height:650px; padding:158px 7vw 90px; display:grid; grid-template-columns:minmax(0,1.18fr) minmax(300px,.58fr); gap:8vw; align-items:center; border-bottom:1px solid var(--line); }
.accounting-hero h1 { max-width:900px; font-size:clamp(55px,6.4vw,94px); }
.accounting-hero h1 span { display:block; }
.accounting-hero__lead { max-width:760px; margin:28px 0 0; color:var(--muted); font-size:19px; line-height:1.68; }
.accounting-principle { padding:32px; border:1px solid rgba(118,198,66,.45); border-radius:18px; background:linear-gradient(145deg,rgba(118,198,66,.075),rgba(255,255,255,.012)); }
.accounting-principle strong { display:block; font-family:"Philosopher",Georgia,serif; font-size:35px; font-weight:400; line-height:1.04; }
.accounting-principle > p:not(.card-tag) { margin:22px 0 0; color:var(--muted); line-height:1.65; }
.accounting-feed { background:var(--bg-deep); }
.accounting-card { border:1px solid var(--line); border-radius:18px; background:var(--panel-soft); overflow:hidden; }
.accounting-card__meta { min-height:50px; padding:0 30px; display:flex; align-items:center; gap:18px; border-bottom:1px solid var(--line); color:var(--muted); font-size:12px; }
.accounting-card__meta span:last-child { color:var(--green); }
.accounting-card__content { padding:34px; display:grid; grid-template-columns:1.1fr .9fr; gap:8vw; align-items:end; }
.accounting-card h3 { margin:0; max-width:700px; font-size:clamp(36px,4.2vw,61px); line-height:.98; }
.accounting-card h3 + p { max-width:720px; margin:22px 0 0; color:var(--muted); line-height:1.65; }
.accounting-card__side > p { margin:0 0 24px; color:var(--muted); line-height:1.65; }

.article-hero { padding:142px 7vw 76px; border-bottom:1px solid var(--line); }
.breadcrumbs { justify-content:flex-start; gap:10px; margin-bottom:46px; }
.breadcrumbs a,.breadcrumbs span { color:var(--muted); font-size:12px; text-decoration:none; }
.breadcrumbs a:hover { color:var(--text); }
.article-hero h1 { max-width:1080px; font-size:clamp(54px,6.4vw,94px); }
.article-hero h1 span { display:block; }
.article-hero__lead { max-width:880px; margin:30px 0 0; color:var(--muted); font-size:20px; line-height:1.68; }
.article-summary { margin-top:48px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.article-summary > div { min-height:116px; padding:25px 28px; border-right:1px solid var(--line); }
.article-summary > div:first-child { border-left:1px solid var(--line); }
.article-summary strong { display:block; color:var(--green); font-family:"Philosopher",Georgia,serif; font-size:32px; font-weight:400; }
.article-summary span { display:block; margin-top:7px; color:var(--muted); font-size:13px; line-height:1.45; }
.article-body { padding:92px 7vw 105px; display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,340px); gap:8vw; align-items:start; }
.article-main { min-width:0; }
.article-main > section { max-width:880px; padding:0 0 72px; margin:0 0 72px; border-bottom:1px solid var(--line); }
.article-main > section:last-child { margin-bottom:0; }
.article-main h2 { font-size:clamp(40px,4.6vw,64px); }
.article-main h2 + p,.article-main section > p:not(.eyebrow):not(.source-note) { color:var(--muted); font-size:17px; line-height:1.75; }
.article-callout { margin:32px 0 0; padding:24px 26px; border-left:3px solid var(--green); background:rgba(118,198,66,.055); }
.article-callout strong { color:var(--green); }
.article-callout p { margin:8px 0 0; color:var(--text); line-height:1.65; }
.account-change-grid { margin-top:30px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.account-change-grid--single { grid-template-columns:repeat(2,minmax(0,1fr)); }
.account-change-grid article { min-height:210px; padding:25px; border:1px solid var(--line); border-radius:15px; background:var(--panel-soft); }
.account-change-grid article.is-new { border-color:rgba(118,198,66,.48); }
.account-change-grid article > span { color:var(--green); font-size:12px; font-weight:700; }
.account-change-grid h3 { margin:20px 0 0; font-size:25px; }
.account-change-grid p { margin:12px 0 0; color:var(--muted); font-size:14px; line-height:1.6; }
.article-checklist { margin:32px 0 0; padding:0; list-style:none; counter-reset:item; border-top:1px solid var(--line); }
.article-checklist li { counter-increment:item; display:grid; grid-template-columns:44px minmax(180px,.48fr) 1fr; gap:18px; padding:24px 0; border-bottom:1px solid var(--line); }
.article-checklist li::before { content:"0" counter(item); color:var(--green); font-size:11px; padding-top:3px; }
.article-checklist strong { font-family:"Philosopher",Georgia,serif; font-size:21px; font-weight:400; }
.article-checklist span { color:var(--muted); line-height:1.62; }
.article-service-links { margin-top:30px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.article-service-links a { min-height:132px; padding:24px; display:flex; flex-direction:column; justify-content:space-between; border:1px solid rgba(118,198,66,.38); border-radius:15px; background:rgba(118,198,66,.035); color:inherit; text-decoration:none; }
.article-service-links a:hover { border-color:var(--green); }
.article-service-links span { font-family:"Philosopher",Georgia,serif; font-size:26px; }
.article-service-links b { color:var(--green); font-size:13px; }
.article-sources ul { margin:28px 0 0; padding:0; list-style:none; }
.article-sources li { padding:15px 0; border-bottom:1px solid var(--line); }
.article-sources a { color:var(--text); line-height:1.55; text-underline-offset:5px; }
.article-sources a:hover { color:var(--green); }
.article-sources .source-note { margin-top:24px; color:var(--muted); font-size:12px; line-height:1.6; }
.article-aside { position:sticky; top:108px; display:grid; gap:14px; }
.article-aside__card { padding:27px; border:1px solid rgba(118,198,66,.42); border-radius:17px; background:var(--panel-soft); }
.article-aside__card > strong { display:block; font-family:"Philosopher",Georgia,serif; font-size:30px; font-weight:400; line-height:1.08; }
.article-aside__card > p:not(.card-tag) { color:var(--muted); font-size:14px; line-height:1.62; }
.article-aside__card .button { width:100%; margin-top:14px; }
.article-aside__card--quiet { border-color:var(--line); }
.article-aside__card--quiet > span { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.12em; }
.article-aside__card--quiet > strong { margin-top:9px; color:var(--green); }

@media (max-width:900px) {
  .accountant-feature__body,.accounting-hero,.accounting-card__content,.article-body { grid-template-columns:1fr; }
  .accounting-principle { max-width:560px; }
  .article-aside { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .account-change-grid { grid-template-columns:1fr; }
  .account-change-grid--single { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .accountant-feature__meta,.accounting-card__meta { padding:0 21px; }
  .accountant-feature__body,.accounting-card__content { padding:26px 21px; gap:28px; }
  .accounting-hero { min-height:auto; padding:126px 20px 70px; gap:44px; }
  .accounting-hero h1 { font-size:clamp(43px,12.5vw,60px); }
  .accounting-principle { padding:24px 21px; }
  .article-hero { padding:110px 20px 58px; }
  .breadcrumbs { margin-bottom:34px; flex-wrap:wrap; }
  .article-hero h1 { font-size:clamp(43px,12.4vw,60px); }
  .article-hero__lead { font-size:17px; }
  .article-summary { grid-template-columns:1fr; }
  .article-summary > div,.article-summary > div:first-child { min-height:auto; padding:20px 0; border-left:0; border-right:0; border-bottom:1px solid var(--line); }
  .article-summary > div:last-child { border-bottom:0; }
  .article-body { padding:66px 20px 78px; gap:42px; }
  .article-main > section { padding-bottom:54px; margin-bottom:54px; }
  .account-change-grid--single { grid-template-columns:1fr; }
  .article-checklist li { grid-template-columns:34px 1fr; gap:10px 12px; }
  .article-checklist li span { grid-column:2; }
  .article-service-links,.article-aside { grid-template-columns:1fr; }
}


/* v36: «Бухгалтеру» в основной навигации, без отдельной desktop CTA. */
@media (min-width:1041px) {
  .global-header { grid-template-columns:180px minmax(0,1fr); }
  .global-header .global-nav { justify-content:flex-end; gap:clamp(9px,1vw,17px); }
  .global-header .global-nav a { font-size:13px; }
}
@media (min-width:1041px) and (max-width:1180px) {
  .global-header { padding-left:4vw; padding-right:4vw; grid-template-columns:165px minmax(0,1fr); }
  .global-header .global-nav { gap:8px; }
  .global-header .global-nav a { font-size:12px; }
}

/* v36: сравнительная таблица изменений Типового плана счетов. */
.compare-heading { margin:38px 0 16px; font-size:28px; line-height:1.14; }
.account-compare-scroll { width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--line); border-radius:15px; background:var(--panel-soft); }
.account-compare-table { width:100%; min-width:760px; border-collapse:collapse; table-layout:fixed; }
.account-compare-table th { padding:15px 17px; background:rgba(255,255,255,.025); color:var(--muted); font-size:11px; letter-spacing:.08em; text-transform:uppercase; text-align:left; border-bottom:1px solid var(--line); }
.account-compare-table td { padding:17px; vertical-align:top; color:var(--muted); font-size:14px; line-height:1.52; border-bottom:1px solid var(--line); border-right:1px solid var(--line); }
.account-compare-table tr:last-child td { border-bottom:0; }
.account-compare-table td:last-child,.account-compare-table th:last-child { border-right:0; }
.account-compare-table td strong { display:block; margin-bottom:4px; color:var(--green); font-family:"Philosopher",Georgia,serif; font-size:22px; font-weight:400; }
.account-compare-table td span { display:block; color:var(--text); }
.account-compare-table--structure td { line-height:1.72; }
.account-compare-table--structure td strong { color:var(--text); font-size:22px; }
.compare-note { margin:16px 0 0!important; color:var(--muted)!important; font-size:12px!important; line-height:1.6!important; }
.article-aside__card .button-ghost { background:transparent; color:var(--text); border-color:rgba(118,198,66,.48); }
.article-aside__card .button-ghost:hover { background:rgba(118,198,66,.07); border-color:var(--green); }

@media (max-width:700px) {
  .account-compare-scroll { overflow:visible; border:0; background:transparent; }
  .account-compare-table { min-width:0; }
  .account-compare-table thead { display:none; }
  .account-compare-table,.account-compare-table tbody,.account-compare-table tr,.account-compare-table td { display:block; width:100%; }
  .account-compare-table tr { margin-bottom:12px; border:1px solid var(--line); border-radius:14px; background:var(--panel-soft); overflow:hidden; }
  .account-compare-table td { display:grid; grid-template-columns:82px minmax(0,1fr); gap:12px; padding:14px 15px; border-right:0; }
  .account-compare-table td::before { content:attr(data-label); color:var(--muted); font-size:10px; letter-spacing:.06em; text-transform:uppercase; padding-top:4px; }
  .account-compare-table tr:last-child td { border-bottom:1px solid var(--line); }
  .account-compare-table tr td:last-child { border-bottom:0; }
  .account-compare-table td strong { font-size:20px; }
  .compare-heading { margin-top:32px; font-size:25px; }
}
