/* Карлсон, новогодняя посадочная /podarki-s-logotipom/novogodnij/. Перенос ny.css из макета Claude Design один в один, дополняет home.css и page.css. */

/* первый экран */
.hero-main.nyh { height: auto; min-height: 880px; }
.nyh .hero-l { padding-bottom: 72px; }
.h1ny { font-size: min(5.3cqi, 76px); }
.nyh .crumbs { margin-bottom: 22px; }
.nyh .trust { margin-top: 44px; }
.hero-r.vid { background: #B8231C; }
.hero-r.vid video, .hw-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vcap { position: absolute; left: 28px; bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 16px; background: var(--white); padding: 8px 8px 8px 18px; }
.vcap .lbl { white-space: nowrap; }
.vbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; transition: background .25s, color .25s; }
.vbtn:hover { background: var(--ink); color: var(--white); }
.vbtn .ico { width: 18px; height: 18px; }

/* примерка */
.tr { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: stretch; }
.tr-stage { grid-column: 1 / 8; position: relative; min-height: 620px; display: grid; place-items: center; overflow: hidden;
  background-color: var(--steel); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.tr-stage.over { outline: 2px solid var(--red); outline-offset: -2px; }
.ball { position: relative; width: min(78%, 460px); aspect-ratio: 400 / 440; }
.ball svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ball .rg { transform-box: fill-box; transform-origin: center; }
.ball.spin .rg { animation: nyring 5.6s ease-in-out infinite; }
@keyframes nyring { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
.plate-logo { position: absolute; left: 32.5%; top: 50.3%; width: 35%; height: 7.3%; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.plate-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1) brightness(0); }
.plate-logo .tlt { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: #0B232D; font-size: clamp(9px, 1.15cqi, 15px); line-height: 1; }
.tr-hint { position: absolute; left: 14px; top: 14px; z-index: 3; background: var(--white); padding: 7px 10px; }
.tr-sch { position: absolute; left: 16px; bottom: 16px; z-index: 3; color: #B9C6CC; }
.tr-real { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: flex; align-items: center; gap: 12px; background: var(--white); padding: 8px 14px 8px 8px; }
.tr-real img { width: 84px; height: 84px; object-fit: cover; background: var(--ti); }
.tr-real .lbl { max-width: 110px; }
.tr-panel { grid-column: 8 / 13; background: var(--pink); padding: 34px; display: flex; flex-direction: column; gap: 28px; }
.tr-panel .seg { background: var(--white); }
.tr-panel .fdz { background: var(--white); }
.tr-panel .btn { align-self: stretch; margin-top: auto; }

/* как устроена */
.hw { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.hw-media { grid-column: 1 / 8; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #B8231C; }
.hs-dot { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; transform: translate(-22px, -50%); }
.hs-dot .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; font-size: 14px; box-shadow: 0 0 0 6px rgba(255,255,255,.28); }
.hs-dot .lbl { background: var(--white); padding: 7px 10px; }
.hw-list { grid-column: 8 / 13; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.hw-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.hw-list .n { color: var(--corten); font-size: 12px; font-weight: 600; letter-spacing: .08em; padding-top: 6px; }
.hw-list .disp { font-size: 24px; line-height: 1; }
.hw-list .p { margin-top: 10px; font-size: 15px; line-height: 1.5; }
.hw-list .th { width: 76px; height: 76px; object-fit: cover; background: var(--ti); }
.tagmini { width: 76px; height: 76px; display: grid; place-items: center; background: var(--white); }
.tagmini svg { width: 46px; height: 60px; fill: none; stroke: var(--steel); stroke-width: 1.4; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.spec { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--ink); padding-top: 14px; }
.spec .disp { font-size: 24px; line-height: 1; margin-top: 8px; }
.spec .p { font-size: 15px; line-height: 1.5; }
.specs + .frames { margin-top: 56px; }
.frames { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.frame { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ti); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.frame:hover img { transform: scale(1.04); }
.frame figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--white); padding: 7px 10px; }

/* покрытие и упаковка */
.cv { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; }
.cvg-h { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink); padding-top: 14px; margin-bottom: 18px; }
.cvg-c { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cvg-c.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cvc { background: var(--white); display: flex; flex-direction: column; }
.cvc .ph { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ti); }
.cvc .ph img { width: 100%; height: 100%; object-fit: cover; }
.cvc .ph .lbl { position: absolute; left: 12px; top: 12px; background: var(--white); padding: 7px 10px; }
.cvc .bd { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.cvc .disp { font-size: 24px; line-height: 1; }
.cvc .p { font-size: 15px; line-height: 1.5; }
.cvc .tbd { font-size: 13px; color: var(--corten); }
/* упаковка строками: фото бирки и чехла пока нет (проверка 06.10) */
.cvt { list-style: none; margin: 0; padding: 0; background: var(--white); }
.cvt li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 24px 24px 26px; border-bottom: 1px solid var(--line); }
.cvt li:last-child { border-bottom: 0; }
.cvt .n { color: var(--corten); font-size: 12px; font-weight: 600; letter-spacing: .08em; padding-top: 6px; }
.cvt .disp { font-size: 24px; line-height: 1; }
.cvt .p { margin-top: 10px; font-size: 15px; line-height: 1.5; }
.stfig figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--white); padding: 7px 10px; }
.stfig { position: relative; margin: 22px 0 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ti); }
.stfig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stfig-how { grid-column: 7 / 13; margin-top: 44px; }
.cvc .ph.steelv, .sw.steel { display: grid; place-items: center; background-color: #DDE2E4; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.38) 0 1px, rgba(11,35,45,.05) 1px 3px), linear-gradient(135deg, #EEF1F2, #C6CDD1 55%, #E9EDEF); }
.steelv svg, .sw.steel svg { position: absolute; left: 50%; top: 50%; width: auto; aspect-ratio: 120 / 130; transform: translate(-50%, -50%); overflow: visible; }
.steelv svg { height: 88%; }

/* тираж */
.pcards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.runs.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.runs.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.runs.c3 button, .runs.c2 button { font-size: 16px; padding: 0 8px; text-align: center; }
.pcard .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 3 / 2; }
.pcard .duo img { aspect-ratio: auto; height: 100%; }
.pcard .sw { aspect-ratio: 3 / 2; display: grid; overflow: hidden; }
.sw.ral { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sw.ral i { display: block; }
.sw.ral i:nth-child(1) { background: #2A5DA8; }
.sw.ral i:nth-child(2) { background: #3C7A4E; }
.sw.ral i:nth-child(3) { background: #3A4047; }
.sw.ral i:nth-child(4) { background: #E3DCC9; }
.sw.steel { position: relative; }
.sw.steel svg { height: 92%; }
.pcard.fix { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; padding: 8px; cursor: default; }
.pcard.fix .sw { width: 120px; flex: none; }
.pcard.fix .tx b { display: block; font-size: 15px; font-weight: 500; }
.pcard.fix .tx p { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.cnote { margin: 10px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.out-say { font-size: 30px; line-height: 1.02; }
.out-run { font-size: 56px; line-height: .95; letter-spacing: -.035em; }
.tbd-d { color: #FF8A7D; }

/* ещё к Новому году */
.mo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.moi { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 220px; padding: 24px 22px 26px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; text-decoration: none; transition: background .25s; }
.moi:hover { background: var(--pink); }
.moi .ic { width: 44px; height: 44px; stroke-width: 1.3; color: var(--steel); }
.moi .mo-n { font-size: 40px; line-height: 44px; letter-spacing: -.03em; color: var(--corten); }
.moi b { font-size: 19px; font-weight: 500; line-height: 1.25; }
.moi .p { font-size: 14px; line-height: 1.45; margin-top: -6px; }
.moi .ck { position: absolute; right: 20px; top: 24px; width: 20px; height: 20px; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.moi .ck svg { width: 14px; height: 14px; stroke: var(--ink); opacity: 0; }
.moi.on { background: var(--pink); }
.moi.on .ck { background: var(--red); border-color: var(--red); }
.moi.on .ck svg { opacity: 1; }
.moi.cta { background: var(--steel); color: var(--white); justify-content: space-between; }
.moi.cta:hover { background: var(--ink); }
.moi.cta .p { color: #B9C6CC; }
.mo-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- планшет: покрытие и упаковка в одну колонку ---------- */
@container k (min-width: 821px) and (max-width: 1200px) {
  .cv { grid-template-columns: 1fr; gap: 40px; }
  .cvg-c { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- телефон ---------- */
@container k (max-width: 820px) {
  .hero-main.nyh { min-height: 0; }
  .nyh .hero-l { padding-bottom: 44px; }
  .h1ny { font-size: 10.2cqi; }
  .nyh .trust { margin-top: 30px; }
  .hero-r.vid { height: 480px; }
  .vcap { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; padding: 6px 6px 6px 12px; }
  .vcap .lbl { white-space: normal; font-size: 11px; }

  .tr { display: block; }
  .tr-stage { min-height: 420px; }
  .ball { width: 84%; }
  .plate-logo .tlt { font-size: 9px; }
  .tr-real { right: 10px; bottom: 10px; padding: 6px 10px 6px 6px; gap: 8px; }
  .tr-real img { width: 56px; height: 56px; }
  .tr-real .lbl { font-size: 10px; max-width: 80px; }
  .tr-sch { left: 12px; bottom: auto; top: 52px; font-size: 10px; }
  .tr-panel { padding: 22px 16px; gap: 22px; }
  .tr-panel .seg { display: flex; }
  .tr-panel .seg button { flex: 1; }

  .hw { display: block; }
  .hw-media { margin-bottom: 28px; margin-left: -16px; margin-right: -16px; }
  .hs-dot .lbl { font-size: 10px; padding: 5px 7px; }
  .hs-dot .n { width: 34px; height: 34px; font-size: 12px; }
  .hw-list .disp { font-size: 20px; }
  .hw-list li { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; }
  .hw-list .th, .tagmini { width: 60px; height: 60px; }
  .specs { grid-template-columns: 1fr; gap: 26px; margin-top: 36px; }
  .specs + .frames { margin-top: 32px; }
  .spec .disp { font-size: 20px; }
  .spec .p { font-size: 14px; }
  .runs.c3 button, .runs.c2 button { font-size: 15px; }
  .frames { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 32px; }
  .frame figcaption { left: 8px; bottom: 8px; font-size: 10px; padding: 5px 7px; }

  .cv { grid-template-columns: 1fr; gap: 36px; }
  .cvg-c { gap: 8px; }
  .cvg-c.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cvg-c.c3 .cvc:first-child { grid-column: 1 / -1; }
  .cvg-c.c3 .cvc:first-child .ph { aspect-ratio: 2 / 1; }
  .pcards.c3 .pcard span { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pcard.fix { gap: 12px; }
  .pcard.fix .sw { width: 96px; }
  .cvc .bd { padding: 14px 12px 16px; gap: 8px; }
  .cvc .disp { font-size: 18px; }
  .cvc .p { font-size: 13px; }
  .cvc .ph .lbl { font-size: 10px; left: 8px; top: 8px; padding: 5px 7px; }
  .stfig-how { margin-top: 28px; }

  .pcards.c3 { gap: 6px; }
  .pcards.c3 .pcard span { font-size: 13px; padding: 0 2px; }
  .out-say { font-size: 24px; }
  .out-run { font-size: 44px; }

  .mo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moi { min-height: 0; padding: 16px 14px 18px; gap: 10px; }
  .moi .ic { width: 34px; height: 34px; }
  .moi .mo-n { font-size: 30px; line-height: 34px; }
  .cvt li { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 16px 14px 18px; }
  .cvt .disp { font-size: 18px; }
  .cvt .p { font-size: 13px; margin-top: 8px; }
  .moi b { font-size: 16px; }
  .moi .p { font-size: 13px; }
  .moi .ck { right: 12px; top: 16px; }
  .mo-foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ball.spin .rg { animation: none; }
}

/* сайт: знак в карточке «Настенный логотип» берётся из общего svg/mark.paths, толщину линии держим как в макете (vector-effect у path) */
.moi .ic.mk path { vector-effect: non-scaling-stroke; }
