/* Эварус — оформленные текстовые страницы (src/modules/pages/templates/static/*.twig). 2026 */

.dc { font-family: 'Roboto', 'RobotoRegular', Arial, sans-serif; color: #3a4148; padding-bottom: 50px; }
.dc *, .dc *:before, .dc *:after { box-sizing: border-box; }
.dc p { margin: 0; }
.dc a:link, .dc a:visited { color: #1a8fc4; }
.dc-wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

.dc-hero { background: linear-gradient(180deg, #fff 0%, #f6f8fa 100%); border-bottom: 1px solid #e8ecef; padding: 22px 0 26px; margin-bottom: 24px; }
.dc-kicker { display: inline-block; padding: 5px 12px; border-radius: 14px; background: #e3f5fd; color: #1479a6; font-weight: 700; font-size: 13px; margin-bottom: 12px !important; }
.dc-h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.2; font-weight: 900; color: #2f363d; }
.dc-lead { font-size: 17px; line-height: 1.55; color: #59636d; max-width: 720px; }

.dc-section { margin-bottom: 18px; background: #fff; border-radius: 16px; padding: 22px 24px; border: 1px solid #edf0f2; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.dc-h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 20px; line-height: 1.3; font-weight: 700; color: #2f363d; }
.dc-h2__icon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; background: #e3f5fd; color: #1da8e1; display: flex; align-items: center; justify-content: center; }
.dc-text { font-size: 15px; line-height: 1.6; color: #59636d; }
.dc-text + .dc-text { margin-top: 10px !important; }

.dc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.dc-tile { padding: 14px 16px; border-radius: 12px; background: #f6f8fa; }
.dc-tile b { display: block; color: #2f363d; font-size: 15px; margin-bottom: 4px; }
.dc-tile span { font-size: 14px; line-height: 1.5; color: #6b747c; }

.dc-prices { width: 100%; border-collapse: collapse; font-size: 15px; }
.dc-prices th { text-align: left; font-weight: 700; color: #2f363d; padding: 12px 0 6px; font-size: 15px; }
.dc-prices td { padding: 9px 0; border-bottom: 1px solid #eef1f3; color: #59636d; }
.dc-prices td:last-child { text-align: right; font-weight: 700; color: #2f363d; white-space: nowrap; }
.dc-free { margin-bottom: 4px !important; padding: 12px 14px; border-radius: 10px; background: #e9f8ef; color: #1e6b3a; font-size: 15px; }

.dc-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.dc-steps li { counter-increment: s; position: relative; padding: 46px 14px 14px; border-radius: 12px; background: #f6f8fa; font-size: 14px; line-height: 1.5; color: #6b747c; }
.dc-steps li:before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: #1da8e1; color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.dc-steps b { display: block; color: #2f363d; font-size: 15px; margin-bottom: 2px; }

.dc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dc-list li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.55; color: #59636d; }
.dc-list li:before { content: ''; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #c2cad0; }
.dc-list_ok li:before { content: '✓'; width: auto; height: auto; background: none; top: 0; left: 0; color: #2bb673; font-weight: 700; }

.dc-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: #2f363d; border: 0; color: #c9d1d6; }
.dc-contact .dc-h2 { color: #fff; margin-bottom: 4px; }
.dc-contact .dc-text { color: #c9d1d6; }
.dc a.dc-mail:link, .dc a.dc-mail:visited { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 10px; background: #1da8e1; color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; }
.dc a.dc-mail:hover { background: #1497cd; }

.dc-req { width: 100%; border-collapse: collapse; font-size: 15px; }
.dc-req td { padding: 9px 0; border-bottom: 1px solid #eef1f3; vertical-align: top; line-height: 1.5; }
.dc-req tr:last-child td { border-bottom: 0; }
.dc-req td:first-child { width: 190px; padding-right: 16px; color: #8a939b; }
.dc-req td:last-child { color: #2f363d; }

@media (max-width: 640px) {
  .dc-req td { display: block; width: auto !important; padding: 0; border: 0; }
  .dc-req td:first-child { padding-top: 10px; font-size: 13px; }
  .dc-req tr { display: block; padding-bottom: 8px; border-bottom: 1px solid #eef1f3; }
  .dc-req tr:last-child { border-bottom: 0; }
  .dc-wrap { padding: 0 12px; }
  .dc-hero { padding: 14px 0 18px; margin-bottom: 14px; }
  .dc-h1 { font-size: 26px; }
  .dc-lead { font-size: 15px; }
  .dc-section { padding: 18px 16px; border-radius: 14px; margin-bottom: 12px; }
  .dc-h2 { font-size: 18px; }
  .dc-contact .dc-mail { width: 100%; justify-content: center; }
}

/* Длинные юридические тексты (пользовательское соглашение и т. п.) */
.dc-toc { columns: 2; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.dc-toc li { break-inside: avoid; padding: 4px 0; font-size: 15px; line-height: 1.45; }
.dc-doc { background: #fff; border-radius: 16px; padding: 30px 34px; border: 1px solid #edf0f2; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); }
.dc-doc h2 { margin: 30px 0 12px; padding-top: 18px; border-top: 1px solid #eef1f3; font-size: 20px; line-height: 1.35; font-weight: 700; color: #2f363d; scroll-margin-top: 20px; }
.dc-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.dc-doc p, .dc-doc li { font-size: 15px; line-height: 1.7; color: #4a5560; }
.dc-doc p { margin: 0 0 12px !important; }
.dc-doc ul { margin: 0 0 12px; padding-left: 22px; }
.dc-doc li { margin-bottom: 4px; }
.dc-doc dl { margin: 0; }
.dc-doc dt { font-weight: 700; color: #2f363d; font-size: 15px; margin-top: 10px; }
.dc-doc dd { margin: 2px 0 0; font-size: 15px; line-height: 1.65; color: #4a5560; }
.dc-doc b { color: #2f363d; }
.dc-date { margin-top: 10px !important; font-size: 14px; color: #8a939b; }
@media (max-width: 640px) {
  .dc-toc { columns: 1; }
  .dc-doc { padding: 20px 16px; border-radius: 14px; }
  .dc-doc h2 { font-size: 18px; }
}

/* Помощь (/faq/): поиск, разделы, аккордеон */
.fq-search { display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 18px; padding: 0 16px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid #dfe5e9; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); color: #8a939b; cursor: text; }
.fq-search:focus-within { border-color: #1da8e1; box-shadow: 0 0 0 3px rgba(29, 168, 225, .15); }
.fq-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: #2f363d; }
.fq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dc .fq-nav a:link, .dc .fq-nav a:visited { padding: 7px 13px; border-radius: 18px; background: #fff; border: 1px solid #e3e8ec; color: #3a4148; font-size: 14px; text-decoration: none; }
.dc .fq-nav a:hover { border-color: #1da8e1; color: #1479a6; }
.fq-section { scroll-margin-top: 16px; }
.fq-list { display: flex; flex-direction: column; }
.fq-item { border-top: 1px solid #eef1f3; scroll-margin-top: 80px; }
.fq-item:first-child { border-top: 0; }
.fq-item summary { position: relative; list-style: none; cursor: pointer; padding: 14px 40px 14px 0; font-size: 16px; line-height: 1.45; font-weight: 700; color: #2f363d; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-item summary:after { content: ''; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid #1da8e1; border-bottom: 2px solid #1da8e1; transform: rotate(45deg); transition: transform .2s; }
.fq-item[open] summary:after { transform: rotate(-135deg); margin-top: -2px; }
.fq-item summary:hover { color: #1479a6; }
.fq-a { padding: 0 0 16px; font-size: 15px; line-height: 1.65; color: #59636d; max-width: 780px; }
.fq-empty { padding: 18px 20px; margin-bottom: 18px !important; border-radius: 14px; background: #fff7e6; color: #8a5a00; font-size: 15px; }
[hidden].fq-item, [hidden].fq-section, [hidden].fq-empty { display: none !important; }
@media (max-width: 640px) {
  .fq-search { height: 48px; margin-top: 14px; }
  .fq-nav { flex-wrap: nowrap; overflow-x: auto; margin: 12px -12px 0; padding: 0 12px 4px; }
  .dc .fq-nav a:link, .dc .fq-nav a:visited { white-space: nowrap; }
  .fq-item summary { font-size: 15px; }
}
