/* Turnkey projects: section 173 and the three tariff pages (2026-11-24). Used together with home.css (.hm). Scoped to .tk, same file on ru and com. */
.tk { text-align: left; max-width: none; --tk-silver: #6d7c8c; --tk-gold: #c8922f; --tk-plat: #3b4690; }
.tk p, .tk li, .tk div, .tk span, .tk td, .tk th, .tk summary { text-align: left; }
.tk a { font-family: inherit; }
.tk .tk-lead a, .tk .tk-box p a { color: #8a5a14; font-weight: 600; border-bottom: 1px solid rgba(200, 146, 47, .45); }
.tk .tk-lead a:hover, .tk .tk-box p a:hover { color: #5c3a0c; }
.tk .hm-hero .hm-title { font-size: 34px; }
.tk .hm-lead { text-align: left; }
.tk .tk-lead { font-size: 15.5px; line-height: 1.65; margin: 14px 0 0; }
.tk .tk-lead b { color: #2c2112; }
.tk .hm-check { margin-bottom: 0; }
.tk .tk-box { padding: 18px 20px; border-radius: 16px; background: var(--hm-card); border: 1px solid var(--hm-line); }
.tk .tk-box > h3 { font-family: var(--serif); font-size: 19px; font-weight: normal; color: #2c2112; margin-bottom: 10px; }
.tk .tk-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tk .tk-two .hm-check { grid-template-columns: minmax(0, 1fr); }
.tk .tk-note { margin-top: 14px; padding: 12px 16px; border-left: 3px solid #b8402b; border-radius: 0 10px 10px 0; background: #fbefe6; font-size: 14.5px; line-height: 1.55; }
.tk .tk-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---- comparison of the tariffs ---- */
.tk .tk-cmp { border: 1px solid var(--hm-line); border-radius: 16px; overflow: hidden; background: var(--hm-card); }
.tk .tk-r { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); border-top: 1px solid #f0e3c6; }
.tk .tk-r:first-child { border-top: 0; }
.tk .tk-r > * { padding: 9px 12px; font-size: 13.5px; line-height: 1.45; border-left: 1px solid #f0e3c6; }
.tk .tk-r > :first-child { border-left: 0; font-size: 14px; color: #2c2112; }
.tk .tk-r a { color: #8a5a14; border-bottom: 1px solid rgba(200, 146, 47, .4); }
.tk .tk-r a:hover { color: #5c3a0c; }
.tk .tk-top { background: #1d140a; }
.tk .tk-top > * { padding: 14px 12px; border-left-color: rgba(226, 182, 94, .16); }
.tk .tk-top > :first-child { color: #b8a68a; align-self: center; }
.tk .tk-top a { display: block; border: 0; color: #fff4dc; font: normal 18px/1.2 var(--serif); }
.tk .tk-top a:hover { color: #f2cf86; }
.tk .tk-top b { display: block; margin-top: 5px; font: 700 14.5px/1.2 var(--sans); color: #f2cf86; white-space: nowrap; }
.tk .tk-top s { display: block; margin-top: 2px; font: 12px/1.2 var(--sans); color: #8f7f66; }
.tk .tk-g { background: var(--hm-soft); padding: 8px 12px; font: 700 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #7c4f11; border-top: 1px solid var(--hm-line); }
.tk .tk-y::before { content: ""; display: inline-block; width: 11px; height: 6px; margin: 0 8px 3px 2px; border-left: 2.5px solid #b47a22; border-bottom: 2.5px solid #b47a22; transform: rotate(-45deg); }
.tk .tk-n { color: #c9b999; }

/* ---- tariff page ---- */
.tk .tk-plan { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 22px 26px; border-radius: 18px; background: linear-gradient(160deg, #2a1d0f, #171009); border-top: 4px solid var(--tk-c, #c8922f); color: #e3d3b6; }
.tk .tk-plan .tk-sum { flex: 1 1 300px; font-size: 16px; line-height: 1.6; }
.tk .tk-plan .tk-sum b { display: block; margin-bottom: 4px; font: normal 23px/1.25 var(--serif); color: #fff4dc; }
.tk .tk-plan .tk-pr b { display: block; font: normal 30px/1.1 var(--serif); color: #f2cf86; white-space: nowrap; }
.tk .tk-plan .tk-pr s { color: #8f7f66; font-size: 14px; }
.tk .tk-plan .tk-pr span { display: block; margin-top: 4px; font-size: 13px; color: #b8a68a; }
.tk-silver { --tk-c: #a9b7c4; }
.tk-gold { --tk-c: #e2b65e; }
.tk-plat { --tk-c: #7f8ce0; }
.tk .tk-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.tk .tk-facts li { padding: 12px 14px; border-radius: 12px; background: var(--hm-soft); border: 1px solid var(--hm-line); font-size: 13.5px; line-height: 1.45; color: var(--hm-muted); }
.tk .tk-facts b { display: block; font: normal 16.5px/1.3 var(--serif); color: #2c2112; }
.tk .tk-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tk .tk-groups .hm-check { grid-template-columns: minmax(0, 1fr); }
.tk .tk-wide { grid-column: 1 / -1; }
.tk .tk-wide .hm-check { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tk .tk-other { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.tk .tk-other a { display: block; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--hm-line); border-left: 4px solid var(--tk-c); background: var(--hm-card); color: var(--hm-text); font-size: 14px; line-height: 1.5; }
.tk .tk-other a:hover { border-color: var(--hm-gold); }
.tk .tk-other b { display: block; font: normal 18px/1.25 var(--serif); color: #2c2112; }
.tk .tk-other i { font-style: normal; font-weight: 700; color: #8a5a14; white-space: nowrap; }

/* ---- packs to choose from ---- */
.tk .tk-packs { display: grid; gap: 10px; }
.tk .tk-packs > div { padding: 12px 16px; border-radius: 14px; background: var(--hm-card); border: 1px solid var(--hm-line); }
.tk .tk-packs h3 { font-family: var(--serif); font-size: 16px; font-weight: normal; color: #8a5a14; margin-bottom: 8px; }
.tk .tk-packs p { display: flex; flex-wrap: wrap; gap: 6px; }
.tk .tk-packs a { font-size: 13px; line-height: 1.3; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--hm-line); background: #fff; color: #6e4510; }
.tk .tk-packs a:hover { border-color: var(--hm-gold); }

@media (max-width: 760px) {
  .tk .hm-hero .hm-title { font-size: 26px; }
  .tk .tk-two, .tk .tk-groups, .tk .tk-facts, .tk .tk-wide .hm-check, .tk .hm-check { grid-template-columns: minmax(0, 1fr); }
  .tk .tk-box { padding: 16px; }
  .tk .tk-plan { padding: 18px; }
  /* the table becomes blocks: the name of a row on top, three tariffs under it */
  .tk .tk-r { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tk .tk-r > :first-child { grid-column: 1 / -1; padding: 10px 12px 2px; font-weight: 600; }
  .tk .tk-r > :nth-child(2) { border-left: 0; }
  .tk .tk-r > * { padding: 4px 10px 10px; font-size: 12.5px; }
  .tk .tk-r > [data-t]::after { content: none; }
  .tk .tk-r:not(.tk-top) > [data-t] { position: relative; padding-top: 20px; }
  .tk .tk-r:not(.tk-top) > [data-t]::after { content: attr(data-t); position: absolute; left: 10px; top: 3px; font: 11px/1.3 var(--sans); color: #a08c68; }
  .tk .tk-top > * { padding: 10px; }
  .tk .tk-top > :first-child { padding-top: 12px; }
  .tk .tk-top a { font-size: 15px; }
  .tk .tk-top b { font-size: 12.5px; white-space: normal; }
}
