/* Home page (redesign 2026-11-22): intro, releases, about the studio, turnkey projects, catalog, special offers.
   Markup: templates/frontend/tmpl1/home.tpl.html + greetings.tpl.html. Same file on l2-scripts.ru and .com. */

.hm { --hm-gold: #c8922f; --hm-gold-2: #e2b65e; --hm-dark: #171009; --hm-dark-2: #2a1d0f; --hm-line: #e6d4ad; --hm-card: #fffdf8; --hm-soft: #f7eedb; --hm-text: #3f2f1c; --hm-muted: #7d6a4f; color: var(--hm-text); }
.hm a { text-decoration: none; }
.hm h2, .hm h3, .hm p { margin: 0; }

/* ---------- buttons, badges, icons ---------- */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: 10px; font-family: var(--sans); font-size: 15px; font-weight: 700; line-height: 1.2; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.hm-btn:hover { transform: translateY(-1px); }
.hm .hm-btn-gold { color: #fff; background: linear-gradient(180deg, #dba146, #b47a22); box-shadow: 0 6px 16px -8px rgba(150, 95, 20, .8); }
.hm .hm-btn-gold:hover { color: #fff; box-shadow: 0 10px 22px -8px rgba(150, 95, 20, .9); }
.hm .hm-btn-line { color: #f6dfab; border: 1.5px solid rgba(226, 182, 94, .65); }
.hm .hm-btn-line:hover { color: #fff; border-color: var(--hm-gold-2); background: rgba(226, 182, 94, .12); }
.hm .hm-btn-soft { color: #7c4f11; background: #fff; border: 1.5px solid var(--hm-line); }
.hm .hm-btn-soft:hover { color: #7c4f11; border-color: var(--hm-gold); }
.hm-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; background: var(--hm-soft); border: 1px solid var(--hm-line); color: #7c4f11; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hm-badge-new { background: #1d140a; border-color: #1d140a; color: #f2cf86; }
.hm-badge-hot { background: #b8402b; border-color: #b8402b; color: #fff; }
.hm-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: #a8701d; background: linear-gradient(180deg, #fbf1dc, #f1e0bb); border: 1px solid var(--hm-line); flex-shrink: 0; }
.hm-ico svg { width: 22px; height: 22px; }

/* ---------- section heads ---------- */
.hm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 38px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--hm-line); }
.hm-head h2 { position: relative; font-family: var(--serif); font-size: 26px; font-weight: normal; color: var(--hm-text); letter-spacing: .01em; }
.hm-head h2::after { content: ""; position: absolute; left: 0; bottom: -11px; width: 56px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--hm-gold), var(--hm-gold-2)); }
.hm-head a { font-size: 14px; font-weight: 600; color: #9a661b; white-space: nowrap; }
.hm-head a:hover { color: #6e4510; }

/* ---------- intro ---------- */
.hm-hero {
  position: relative; overflow: hidden; border-radius: 18px; padding: 34px 34px 0; color: #eadbc0;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(214, 152, 52, .32), transparent 55%),
    radial-gradient(80% 80% at 0% 100%, rgba(120, 70, 20, .35), transparent 60%),
    linear-gradient(160deg, #241809, #120b05);
  border: 1px solid #3b2a14; box-shadow: 0 18px 40px -24px rgba(40, 25, 5, .9);
}
.hm-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(115deg, rgba(255, 220, 150, .025) 0 2px, transparent 2px 9px); }
.hm-hero-body { position: relative; max-width: 640px; }
.hm-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hm-gold-2); margin-bottom: 10px !important; }
.hm-title { font-family: var(--serif); font-size: 38px; line-height: 1.15; font-weight: normal; color: #fff4dc; margin: 0 0 14px; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hm-lead { font-size: 16.5px; line-height: 1.65; color: #e3d3b6; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 30px; }
.hm-stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0 -34px; padding: 0; border-top: 1px solid rgba(226, 182, 94, .2); background: rgba(0, 0, 0, .22); }
.hm-stats li { padding: 16px 18px 18px 34px; border-left: 1px solid rgba(226, 182, 94, .14); }
.hm-stats li:first-child { border-left: 0; }
.hm-stats b { display: block; font-family: var(--serif); font-size: 22px; font-weight: normal; color: #f2cf86; line-height: 1.2; }
.hm-stats span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: #b8a68a; }

/* ---------- releases ---------- */
.hm-rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hm-rel-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; background: var(--hm-card); border: 1px solid var(--hm-line); box-shadow: 0 10px 26px -20px rgba(70, 45, 10, .7); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.hm-rel-card:hover { transform: translateY(-2px); border-color: #d9bb7c; box-shadow: 0 16px 30px -20px rgba(70, 45, 10, .8); }
.hm-rel-card .hm-badge { align-self: flex-start; }
.hm-rel-card h3 { font-family: var(--serif); font-size: 19px; line-height: 1.3; font-weight: normal; color: #2c2112; }
.hm-rel-card p { font-size: 14.5px; line-height: 1.6; color: var(--hm-muted); }
.hm-link { margin-top: auto; font-size: 14.5px; font-weight: 700; color: #9a661b; }
.hm-link:hover { color: #6e4510; }
.hm .hm-link-sub { margin-top: -4px; font-weight: 600; font-size: 13.5px; color: var(--hm-muted); text-decoration: underline; text-underline-offset: 3px; }
.hm-rel-main { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; background: linear-gradient(160deg, #22170a, #130c05); border-color: #3b2a14; }
.hm-rel-main:hover { border-color: #6b4d1e; }
.hm-rel-pic { display: flex; align-items: center; background: #120b05; }
.hm-rel-pic img { display: block; width: 100%; height: auto; }
.hm-rel-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px 26px 26px 24px; }
.hm-rel-main h3 { font-size: 26px; color: #fff4dc; }
.hm-rel-main p { color: #d9c7a6; font-size: 15px; }
.hm-rel-main .hm-price { font-family: var(--serif); font-size: 22px; color: #f2cf86; }
.hm-rel-main .hm-btn { margin-top: auto; }

/* ---------- about ---------- */
.hm-about-lead { font-size: 17px; line-height: 1.7; color: var(--hm-text); margin-bottom: 18px !important; }
.hm-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hm-svc-item { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 14px; background: var(--hm-card); border: 1px solid var(--hm-line); }
.hm-svc-item h3 { font-family: var(--serif); font-size: 17px; font-weight: normal; color: #2c2112; margin-top: 4px; }
.hm-svc-item p { font-size: 14px; line-height: 1.6; color: var(--hm-muted); }
.hm-chron { margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: var(--hm-soft); border: 1px solid var(--hm-line); }
.hm-chron-title { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8c6420; margin: 0 0 10px !important; }
.hm-chron-note { font-size: 14px; line-height: 1.55; color: var(--hm-muted); margin: -4px 0 12px !important; }
.hm-vacc { display: grid; gap: 10px; }
.hm-vg { border: 1px solid var(--hm-line); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.hm-vg[open] { border-color: #d9bb7c; box-shadow: 0 10px 24px -20px rgba(70, 45, 10, .8); }
.hm-vg summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 12px 48px 12px 14px; position: relative; }
.hm-vg summary::-webkit-details-marker { display: none; }
.hm-vg summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid #b47a22; border-bottom: 2px solid #b47a22; transform: rotate(45deg); transition: transform .2s; }
.hm-vg[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
.hm-vg summary:hover { background: #fffaf0; }
.hm-vg-m { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font: 700 16px var(--serif); color: #fff; background: linear-gradient(180deg, #dba146, #b47a22); }
.hm-vg-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hm-vg-t b { font-family: var(--serif); font-size: 16px; color: #2c2112; }
.hm-vg-t small { font-size: 13px; color: var(--hm-muted); }
.hm-vg-n { flex: none; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: #8c6420; background: var(--hm-soft); border: 1px solid var(--hm-line); }
.hm-vg-list { list-style: none; margin: 0; padding: 2px 16px 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--hm-line); }
.hm-vg-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--hm-line); font-size: 14px; color: var(--hm-text); }
.hm-vg-list li span { min-width: 0; }
.hm-vg-list li em { flex: none; font-style: normal; font-size: 12px; font-weight: 700; color: #9a661b; font-variant-numeric: tabular-nums; }
.hm-vg-list li.hm-pack { padding: 0; }
.hm-vg-list li.hm-pack a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; padding: 7px 0; color: #8a5a14; font-weight: 600; }
.hm-vg-list li.hm-pack a span { border-bottom: 1px solid rgba(200, 146, 47, .45); }
.hm-vg-list li.hm-pack a:hover span { color: #5c3a0c; border-bottom-color: #5c3a0c; }
.hm-packs .hm-vg-n { color: #fff; background: linear-gradient(180deg, #dba146, #b47a22); border-color: #b47a22; white-space: nowrap; }
.hm-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hm-chips li { padding: 5px 12px; border-radius: 20px; background: #fff; border: 1px solid var(--hm-line); font-size: 13.5px; line-height: 1.4; color: var(--hm-text); }
.hm-chips-links li { padding: 0; background: none; border: 0; }
.hm-chips-links li:not(:has(a)) { padding: 5px 12px; border: 1px dashed var(--hm-line); color: var(--hm-muted); }
.hm-chips-links a { display: inline-block; padding: 5px 12px; border-radius: 20px; background: #fff; border: 1px solid var(--hm-line); font-size: 13.5px; color: #7c4f11; transition: border-color .15s, background .15s; }
.hm-chips-links a:hover { border-color: var(--hm-gold); background: #fff8e8; }
.hm-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px !important; }
.hm-pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 10px; border: 1.5px solid var(--hm-line); background: #fff; font-size: 14.5px; font-weight: 700; color: #7c4f11; }
.hm-pills a:hover { border-color: var(--hm-gold); color: #5c3a0c; }

/* ---------- turnkey ---------- */
.hm-turnkey { padding: 24px; border-radius: 18px; background: var(--hm-card); border: 1px solid var(--hm-line); box-shadow: 0 14px 34px -26px rgba(70, 45, 10, .8); }
.hm-tk-top { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.hm-tk-lead { font-size: 16.5px; line-height: 1.65; }
.hm-check { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; list-style: none; margin: 0 0 22px; padding: 0; }
.hm-check li { position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.55; }
.hm-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #c8922f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.hm-check a { color: #8a5a14; font-weight: 600; border-bottom: 1px solid rgba(200, 146, 47, .45); }
.hm-check a:hover { color: #5c3a0c; border-bottom-color: #5c3a0c; }
.hm-tk-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--hm-line); }
.hm-terms { flex: 1 1 280px; }
.hm-terms p { font-size: 14.5px; line-height: 1.6; color: var(--hm-muted); }
.hm-terms b { color: var(--hm-text); }
.hm-tk-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- catalog ---------- */
.hm-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hm-cat { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--hm-card); border: 1px solid var(--hm-line); transition: border-color .15s, box-shadow .15s; }
.hm-cat:hover { border-color: #d9bb7c; box-shadow: 0 10px 22px -18px rgba(70, 45, 10, .8); }
.hm .hm-cat-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--serif); font-size: 16.5px; font-weight: bold; color: #6f470f; }
.hm-cat-name .cnt { flex-shrink: 0; min-width: 28px; padding: 1px 8px; border-radius: 20px; background: var(--hm-soft); border: 1px solid var(--hm-line); font-family: var(--sans); font-size: 12px; font-weight: 700; color: #8c6420; text-align: center; }
.hm .hm-cat .subcat { font-size: 13.5px; color: var(--hm-muted); }
.hm .hm-cat .subcat:hover { color: #6e4510; }

/* ---------- special offers ---------- */
.hm-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 10px; }
.hm-offer { display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: var(--hm-card); border: 1px solid var(--hm-line); transition: transform .15s, box-shadow .15s, border-color .15s; }
.hm-offer:hover { transform: translateY(-2px); border-color: #d9bb7c; box-shadow: 0 14px 26px -20px rgba(70, 45, 10, .8); }
.hm-offer-pic { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: #f3e7cc; }
.hm-offer-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hm .hm-offer-name { padding: 10px 12px 2px; font-family: var(--serif); font-size: 14.5px; font-weight: bold; line-height: 1.35; color: #6f470f; }
.hm-offer-price { padding: 2px 12px 12px; font-size: 14px; font-weight: 700; color: #9a661b; }

/* ---------- content pages built on the same style (aux pages 33 "stages", 34 "FAQ") ---------- */
.hm-page { max-width: 900px; }
.hm-page .hm-hero { margin-bottom: 6px; }
.hm-page .hm-hero .hm-title { font-size: 34px; }
.hm-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.hm-steps::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--hm-gold), rgba(200, 146, 47, .15)); }
.hm-step { position: relative; padding: 0 0 18px 64px; }
.hm-step:last-child { padding-bottom: 0; }
.hm-step-n { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 17px var(--serif); color: #fff; background: linear-gradient(180deg, #dba146, #b47a22); box-shadow: 0 0 0 5px #fbf3e3; }
.hm-step-card { padding: 18px 20px; border-radius: 16px; background: var(--hm-card); border: 1px solid var(--hm-line); box-shadow: 0 10px 26px -22px rgba(70, 45, 10, .7); }
.hm-step-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 6px; }
.hm-step-head h3 { font-family: var(--serif); font-size: 20px; font-weight: normal; color: #2c2112; }
.hm-step-card > p { font-size: 15px; line-height: 1.6; color: var(--hm-muted); margin-bottom: 12px !important; }
.hm-step-card .hm-check { margin: 0; gap: 8px 22px; }
.hm-note { margin-top: 16px !important; padding: 14px 18px; border-radius: 12px; background: var(--hm-soft); border: 1px dashed #d9bb7c; font-size: 14.5px; line-height: 1.6; color: var(--hm-text); }
.hm-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hm-box { padding: 18px 20px; border-radius: 16px; background: var(--hm-card); border: 1px solid var(--hm-line); }
.hm-box h3 { font-family: var(--serif); font-size: 18px; font-weight: normal; color: #2c2112; margin-bottom: 10px; }
.hm-box .hm-check { grid-template-columns: minmax(0, 1fr); margin: 0; }
.hm-cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 26px; padding: 24px; border-radius: 18px; color: #eadbc0;
  background: radial-gradient(120% 120% at 100% 0%, rgba(214, 152, 52, .3), transparent 55%), linear-gradient(160deg, #241809, #120b05); border: 1px solid #3b2a14; }
.hm-cta-box h3 { font-family: var(--serif); font-size: 22px; font-weight: normal; color: #fff4dc; margin-bottom: 4px; }
.hm-cta-box p { font-size: 15px; color: #d9c7a6; }
.hm-cta-box .hm-cta { margin: 0; }
.hm-faq-group { margin: 26px 0 10px !important; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8c6420; }
.hm-faq { display: grid; gap: 10px; }
.hm-faq details { border: 1px solid var(--hm-line); border-radius: 14px; background: var(--hm-card); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.hm-faq details[open] { border-color: #d9bb7c; box-shadow: 0 12px 26px -22px rgba(70, 45, 10, .8); }
.hm-faq summary { list-style: none; cursor: pointer; position: relative; padding: 16px 54px 16px 20px; font-family: var(--serif); font-size: 17px; line-height: 1.4; color: #2c2112; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; display: grid; place-items: center; font: 700 18px/1 var(--sans); color: #fff; background: linear-gradient(180deg, #dba146, #b47a22); transition: transform .2s; }
.hm-faq details[open] summary::after { content: "\2212"; }
.hm-faq summary:hover { background: #fffaf0; }
.hm-faq-a { padding: 0 20px 18px; font-size: 15px; line-height: 1.7; color: var(--hm-text); }
.hm-faq-a p + p { margin-top: 10px !important; }
.hm-faq-a a { color: #8a5a14; font-weight: 600; border-bottom: 1px solid rgba(200, 146, 47, .45); }

/* ---------- clients page (aux 28) ---------- */
.hm-live { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hm .hm-live-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 16px; color: #eadbc0;
  background: radial-gradient(120% 100% at 100% 0%, rgba(214, 152, 52, .25), transparent 60%), linear-gradient(160deg, #22170a, #130c05);
  border: 1px solid #3b2a14; transition: transform .18s ease, border-color .18s ease; }
.hm .hm-live-card:hover { transform: translateY(-2px); border-color: #6b4d1e; color: #eadbc0; }
.hm-live-card b { font-family: var(--serif); font-size: 21px; font-weight: normal; color: #fff4dc; }
.hm-live-card span { font-size: 14.5px; color: #d9c7a6; }
.hm-live-card em { margin-top: auto; font-style: normal; font-size: 13.5px; font-weight: 700; color: #f2cf86; }
.hm-live-card .hm-badge { align-self: flex-start; }
.hm-clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 20px; }
.hm-clients li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px dashed var(--hm-line); font-size: 14px; color: var(--hm-text); min-width: 0; }
.hm-clients li span { min-width: 0; overflow-wrap: anywhere; }
.hm-clients li em { flex: none; font-style: normal; font-size: 12px; font-weight: 700; color: #9a661b; font-variant-numeric: tabular-nums; }
.hm-more-list { margin-top: 12px; }
.hm-more-list > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 10px; background: #fff; border: 1.5px solid var(--hm-line); font-size: 15px; font-weight: 700; color: #7c4f11; }
.hm-more-list > summary::-webkit-details-marker { display: none; }
.hm-more-list > summary:hover { border-color: var(--hm-gold); }
.hm-more-list[open] > summary { margin-bottom: 12px; }
.hm-more-list .hm-less { display: none; }
.hm-more-list[open] .hm-less { display: inline; }
.hm-more-list[open] .hm-more { display: none; }

/* ---------- articles (aux 1 list, 9-17, 35-48) ---------- */
.hm-hero-compact { padding-bottom: 30px; }
.hm-art-meta span::before { content: "\00B7"; margin-right: 14px; color: #6b5a40; }
.hm-arts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hm .hm-art-card { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 16px; background: var(--hm-card); border: 1px solid var(--hm-line); color: var(--hm-text); box-shadow: 0 10px 26px -22px rgba(70, 45, 10, .7); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.hm .hm-art-card:hover { transform: translateY(-2px); border-color: #d9bb7c; box-shadow: 0 16px 30px -22px rgba(70, 45, 10, .8); color: var(--hm-text); }
.hm-art-card b { font-family: var(--serif); font-size: 18px; font-weight: normal; line-height: 1.35; color: #2c2112; }
.hm-art-card span { font-size: 14.5px; line-height: 1.6; color: var(--hm-muted); }
.hm-art-card em { margin-top: auto; font-style: normal; font-size: 13px; font-weight: 700; color: #9a661b; }
.hm-art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 6px !important; font-size: 13px; color: #b8a68a; }
.hm-art-meta a { color: #f2cf86; font-weight: 700; }
.hm-prose { max-width: 820px; }
.hm-prose > h2 { position: relative; margin: 30px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--hm-line); font-family: var(--serif); font-size: 24px; font-weight: normal; color: var(--hm-text); }
.hm-prose > h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 48px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--hm-gold), var(--hm-gold-2)); }
.hm-prose > p { margin: 0 0 14px !important; font-size: 16px; line-height: 1.75; color: var(--hm-text); }
.hm-prose > ul, .hm-prose > ol { margin: 0 0 16px; padding-left: 0; list-style: none; }
.hm-prose > ul > li { position: relative; padding: 5px 0 5px 26px; font-size: 15.5px; line-height: 1.65; }
.hm-prose > ul > li::before { content: ""; position: absolute; left: 6px; top: 14px; width: 7px; height: 7px; border-radius: 2px; background: var(--hm-gold); transform: rotate(45deg); }
.hm-prose > ol { counter-reset: hmol; }
.hm-prose > ol > li { counter-increment: hmol; position: relative; padding: 6px 0 6px 40px; font-size: 15.5px; line-height: 1.65; }
.hm-prose > ol > li::before { content: counter(hmol); position: absolute; left: 0; top: 5px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--sans); color: #fff; background: linear-gradient(180deg, #dba146, #b47a22); }
.hm-prose a { color: #8a5a14; font-weight: 600; border-bottom: 1px solid rgba(200, 146, 47, .45); }
.hm-prose a:hover { color: #5c3a0c; border-bottom-color: #5c3a0c; }
.hm-prose code { padding: 1px 6px; border-radius: 6px; background: #f3e7cc; font-family: Consolas, "Courier New", monospace; font-size: .92em; color: #5c3a0c; }
.hm-code { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; background: #1a130b; border: 1px solid #3b2a14; overflow-x: auto; }
.hm-code code { display: block; padding: 0; background: none; color: #f1e4c8; font-family: Consolas, "Courier New", monospace; font-size: 13.5px; line-height: 1.6; white-space: pre; }
.hm-tbl { margin: 0 0 16px; border-radius: 12px; border: 1px solid var(--hm-line); overflow-x: auto; background: #fff; }
.hm-tbl table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hm-tbl th { padding: 10px 12px; text-align: left; font-weight: 700; color: #fff; background: linear-gradient(180deg, #2a1d0f, #1a130b); }
.hm-tbl td { padding: 9px 12px; border-top: 1px solid var(--hm-line); vertical-align: top; line-height: 1.55; }
.hm-tbl tr:nth-child(even) td { background: #fffaf0; }
.hm-code, .hm-tbl { contain: inline-size; max-width: 100%; }
.hm-tip { margin: 4px 0 18px; padding: 14px 18px; border-radius: 12px; background: var(--hm-soft); border-left: 4px solid var(--hm-gold); }
.hm-tip b { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 16.5px; font-weight: normal; color: #2c2112; }
.hm-tip span { display: block; font-size: 15px; line-height: 1.65; color: var(--hm-text); }
.hm-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

/* ---------- contacts page (feedback.tpl.html): contact cards and the team ---------- */
.hm button.hm-btn-line { background: transparent; cursor: pointer; }
.hm-contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.hm .hm-contact { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 16px; background: var(--hm-card); border: 1px solid var(--hm-line); color: var(--hm-text); box-shadow: 0 10px 26px -22px rgba(70, 45, 10, .7); transition: transform .18s ease, border-color .18s ease; }
.hm .hm-contact:hover { transform: translateY(-2px); border-color: #d9bb7c; color: var(--hm-text); }
.hm-contact .hm-ico { margin-bottom: 4px; }
.hm-contact b { font-family: var(--serif); font-size: 19px; font-weight: normal; color: #2c2112; }
.hm-contact span { font-size: 15px; font-weight: 700; color: #9a661b; overflow-wrap: anywhere; }
.hm-contact em { font-style: normal; font-size: 13.5px; line-height: 1.5; color: var(--hm-muted); }
.hm-info { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 14px 0 0 !important; font-size: 14.5px; color: var(--hm-muted); }
.hm-info b { color: var(--hm-text); font-weight: 600; }
.hm-team { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.hm-person { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 22px; align-items: start; padding: 18px; border-radius: 18px; background: var(--hm-card); border: 1px solid var(--hm-line); box-shadow: 0 12px 28px -24px rgba(70, 45, 10, .8); }
.hm-person-photo { position: relative; aspect-ratio: 15 / 16; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #2a1d0f, #120b05); box-shadow: 0 14px 28px -18px rgba(40, 25, 5, .9); }
.hm-person-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-person-ph { display: grid; place-items: center; background: radial-gradient(120% 100% at 100% 0%, rgba(214, 152, 52, .35), transparent 60%), linear-gradient(160deg, #2a1d0f, #120b05); }
.hm-person-ph span { font: 700 76px var(--serif); color: #f2cf86; text-shadow: 0 4px 18px rgba(0, 0, 0, .5); }
.hm-person-head { margin: 2px 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--hm-line); }
.hm-person-head div b { display: block; font-family: var(--serif); font-size: 23px; font-weight: normal; line-height: 1.2; color: #2c2112; }
.hm-person-head div span { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; line-height: 1.4; color: #9a661b; }
.hm-person .hm-check { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; margin: 0; }
.hm-person .hm-check li { font-size: 14.5px; }

/* ---------- narrower desktop / tablet ---------- */
@media (max-width: 1200px) {
  .hm-title { font-size: 34px; }
  .hm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-stats li:nth-child(3) { border-left: 0; }
  .hm-stats li:nth-child(n+3) { border-top: 1px solid rgba(226, 182, 94, .14); }
  .hm-rel, .hm-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-rel-main { grid-template-columns: minmax(0, 1fr); }
  .hm-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-page .hm-hero .hm-title { font-size: 30px; }
  .hm-live, .hm-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-person { grid-template-columns: 170px minmax(0, 1fr); }
  .hm-person .hm-check { grid-template-columns: minmax(0, 1fr); }
  .hm-clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-vg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phones ---------- */
@media (max-width: 600px) {
  .hm-hero { padding: 24px 18px 0; border-radius: 16px; }
  .hm-title { font-size: 29px; }
  .hm-lead { font-size: 16px; }
  .hm-cta { flex-direction: column; margin: 20px 0 24px; }
  .hm-cta .hm-btn { width: 100%; }
  .hm-stats { margin: 0 -18px; }
  .hm-stats li { padding: 14px 14px 16px 18px; }
  .hm-stats b { font-size: 19px; }
  .hm-head { margin-top: 30px; }
  .hm-head h2 { font-size: 23px; }
  .hm-rel, .hm-svc, .hm-check { grid-template-columns: minmax(0, 1fr); }
  .hm-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hm-cat { padding: 12px; }
  .hm .hm-cat-name { font-size: 15px; align-items: flex-start; }
  .hm-rel-body { padding: 20px 18px 22px; }
  .hm-rel-main h3 { font-size: 23px; }
  .hm-rel-main .hm-btn { width: 100%; }
  .hm-rel-card p, .hm-svc-item p, .hm-check li, .hm-terms p { font-size: 15.5px; }
  .hm-turnkey { padding: 18px 16px; }
  .hm-page .hm-hero .hm-title { font-size: 26px; }
  .hm-step { padding-left: 0; }
  .hm-steps::before { display: none; }
  .hm-step-n { position: static; width: 36px; height: 36px; font-size: 15px; margin: 0 0 -18px 14px; position: relative; z-index: 1; box-shadow: 0 0 0 4px #fbf3e3; }
  .hm-step-card { padding: 24px 16px 16px; }
  .hm-split { grid-template-columns: minmax(0, 1fr); }
  .hm-faq summary { font-size: 16px; padding: 14px 50px 14px 16px; }
  .hm-faq-a { padding: 0 16px 16px; font-size: 15.5px; }
  .hm-cta-box { padding: 20px 16px; }
  .hm-live, .hm-related, .hm-arts { grid-template-columns: minmax(0, 1fr); }
  .hm-contacts { grid-template-columns: minmax(0, 1fr); }
  .hm-person { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 14px; }
  .hm-person-photo { max-width: 260px; }
  .hm-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .hm-prose > h2 { font-size: 21px; }
  .hm-prose > p { font-size: 16px; }
  .hm-code code { font-size: 12.5px; }
  .hm-cta-box .hm-cta, .hm-cta-box .hm-btn { width: 100%; }
  .hm-vg-list { grid-template-columns: minmax(0, 1fr); }
  .hm-chron { padding: 14px 12px; }
  .hm-tk-actions, .hm-tk-actions .hm-btn { width: 100%; }
  .hm-offers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
