/* Резерв места под картинки: width/height из файла, высота считается по пропорции.
   :where() даёт нулевую специфичность, поэтому правила Tilda побеждают. */
:where(img[width][height]){height:auto}

/* лайтбокс картинок */
.site-zoom{position:fixed;inset:0;z-index:10000010;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.88)}
.site-zoom_open{display:flex}
.site-zoom img{max-width:92vw;max-height:90vh;object-fit:contain;background:#fff}
.site-zoom button{position:absolute;background:rgba(255,255,255,.9);border:0;border-radius:50%;width:44px;height:44px;font-size:22px;line-height:44px;cursor:pointer;color:#111;padding:0}
.site-zoom__close{top:16px;right:16px}
.site-zoom__prev{left:16px;top:50%;margin-top:-22px}
.site-zoom__next{right:16px;top:50%;margin-top:-22px}
.site-zoom_single .site-zoom__nav{display:none}
.site-zoom_lock{overflow:hidden}
[data-zoomable="yes"]{cursor:zoom-in}

/* бегущая строка: копии готовы в HTML, движение на CSS */
.t1003[data-static-marquee] .t1003__content{display:flex!important;width:max-content!important;animation:site-marquee 45s linear infinite!important}
.t1003[data-static-marquee] .t1003__item{flex:none}
@keyframes site-marquee{to{transform:translateX(calc(-100% / 6))}}

/* запасной шрифт с метриками VelaSans: подмена при загрузке не двигает вёрстку */
@font-face{font-display:swap;font-family:"VelaSans Fallback";src:local("Arial"),local("Helvetica Neue"),local("Liberation Sans"),local("Roboto");size-adjust:104%;ascent-override:106.6%;descent-override:30%;line-gap-override:0%}

.t1003[data-static-marquee] .t1003__content-wrapper{opacity:1!important}

/* ===== первый экран главной, вариант C (свой блок вместо Zero) ===== */
.hero-c{--blue:#0088ff;--ink:#0d1117;--muted:#5b6573;--line:#e3e8ee;--orange:#ff7a1a;font-family:VelaSans,"VelaSans Fallback",Arial,sans-serif;color:var(--ink);padding:28px 20px 28px;background:#ebeef1}
.hero-c__nb{white-space:nowrap}
.hero-c *{box-sizing:border-box}
.hero-c__card{max-width:1200px;margin:0 auto;background:#fff;border-radius:32px;padding:56px}
.hero-c__top{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:30px}
.hero-c__eyebrow{display:inline-block;font-weight:700;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--blue);background:#e8f3ff;border-radius:999px;padding:8px 14px}
.hero-c__title{font-size:46px;line-height:1.08;font-weight:800;letter-spacing:-.02em;margin:16px 0 12px}
.hero-c__sub{font-size:20px;line-height:1.45;color:#27303a;max-width:820px;margin:0}
.hero-c__mini{display:flex;align-items:center;gap:14px;background:#f4f7fa;border-radius:18px;padding:12px 18px 12px 12px;flex:none;text-decoration:none;color:inherit;transition:background .2s}
.hero-c__mini:hover{background:#e8f3ff}
.hero-c__mini img{width:64px;height:64px;border-radius:14px;object-fit:cover;object-position:50% 18%}
.hero-c__mini b{display:block;font-size:16px;font-weight:700}
.hero-c__mini i{font-style:normal;font-size:14px;color:var(--muted)}
.hero-c__plans{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.hero-c__plan{border:1.5px solid var(--line);border-radius:24px;padding:28px;display:flex;flex-direction:column;position:relative}
.hero-c__plan_hot{border-color:var(--blue);background:#f3f9ff}
.hero-c__tag{position:absolute;top:-13px;left:28px;background:var(--blue);color:#fff;font-size:13px;font-weight:700;border-radius:999px;padding:5px 12px}
.hero-c__nm{font-size:15px;color:var(--muted);font-weight:600}
.hero-c__plan-title{font-size:26px;line-height:1.2;margin:4px 0 6px;font-weight:800}
.hero-c__price{font-size:34px;font-weight:800;margin:6px 0 16px}
.hero-c__plan ul{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:10px}
.hero-c__plan li{position:relative;padding-left:36px;font-size:16px;line-height:1.4;min-height:26px;display:flex;align-items:center}
.hero-c__plan li:before{content:"✓";position:absolute;left:0;top:0;width:26px;height:26px;border-radius:50%;background:#e8f3ff;color:var(--blue);font-weight:800;display:flex;align-items:center;justify-content:center}
.hero-c__btn{margin-top:auto;display:flex;align-items:center;justify-content:center;height:58px;border-radius:12px;font-weight:700;font-size:18px;text-decoration:none;transition:transform .15s,box-shadow .2s,background .2s}
.hero-c__btn_b{background:var(--blue);color:#fff;box-shadow:0 10px 24px rgba(0,136,255,.28)}
.hero-c__btn_b:hover{background:#0079e6}
.hero-c__btn_o{background:#fff;color:var(--ink);border:1.5px solid #cfd6de}
.hero-c__btn_o:hover{border-color:var(--blue);color:var(--blue)}
.hero-c__free{margin-top:20px;background:#fff7ef;border:1.5px solid #ffd9b8;border-radius:20px;padding:18px 24px;display:flex;align-items:center;gap:18px;font-size:17px;line-height:1.4}
.hero-c__free b{color:var(--orange)}
.hero-c__free a{margin-left:auto;flex:none;font-weight:700;color:var(--ink);text-decoration:none;border-bottom:2px solid var(--orange)}
.hero-c__article{display:inline-block;margin-top:16px;font-size:15px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.hero-c__article:hover{color:var(--blue)}
@media (max-width:959px){
  .hero-c{padding:12px 10px 16px}
  .hero-c__card{padding:28px 20px;border-radius:24px}
  .hero-c__top{flex-direction:column;align-items:stretch;gap:20px;margin-bottom:26px}
  .hero-c__title{font-size:30px}
  .hero-c__sub{font-size:17px}
  .hero-c__plans{grid-template-columns:1fr;gap:24px}
  .hero-c__plan{padding:22px 18px}
  .hero-c__plan-title{font-size:22px}
  .hero-c__price{font-size:30px}
  .hero-c__free{flex-direction:column;align-items:flex-start;gap:12px;padding:16px 18px;font-size:16px}
  .hero-c__free a{margin-left:0}
}
