:root {
  --tncc-navy: #123653;
  --tncc-ink: #102f4a;
  --tncc-line: #dce3e8;
}

.tncc { width: 100%; max-width: 1320px; margin: 0 auto; padding: 42px 56px 34px; box-sizing: border-box; color: var(--tncc-ink); }
.tncc__header { text-align: center; margin: 0 auto 28px; max-width: 920px; }
.tncc__header h2 { margin: 0 0 10px; color: var(--tncc-ink); font-size: clamp(28px, 3vw, 42px); line-height: 1.15; }
.tncc__header p { margin: 0; color: #405369; font-size: 17px; line-height: 1.6; }
.tncc__shell { position: relative; }
.tncc__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; padding: 8px 2px 16px; }
.tncc__track::-webkit-scrollbar { display: none; }
.tncc__card { scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--tncc-line); border-radius: 4px; box-shadow: 0 5px 18px rgba(15, 46, 70, .08); }
.tncc__image { height: 360px; padding: 22px; display: flex; align-items: center; justify-content: center; background: #fff; box-sizing: border-box; }
.tncc__image img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.tncc__image--empty { background: #f4f6f7; color: #73808b; }
.tncc__body { display: flex; flex: 1; flex-direction: column; align-items: center; padding: 22px 24px 26px; text-align: center; border-top: 1px solid #edf0f2; }
.tncc__body h3 { margin: 0 0 11px; color: var(--tncc-ink); font-size: 23px; line-height: 1.25; }
.tncc__body p { margin: 0 0 22px; color: #435467; font-size: 15.5px; line-height: 1.55; }
.tncc__button { margin-top: auto; display: inline-flex; min-height: 44px; padding: 0 24px; align-items: center; justify-content: center; color: #fff !important; background: var(--tncc-navy); border: 2px solid var(--tncc-navy); font-size: 14px; font-weight: 700; text-decoration: none !important; transition: .18s ease; }
.tncc__button:hover, .tncc__button:focus { color: var(--tncc-navy) !important; background: #fff; }
.tncc__arrow { position: absolute; z-index: 2; top: 180px; transform: translateY(-50%); width: 46px; height: 46px; padding: 0; border: 1px solid #d2dae0; border-radius: 50%; color: var(--tncc-navy); background: #fff; box-shadow: 0 3px 12px rgba(13, 44, 68, .15); cursor: pointer; font-size: 22px; line-height: 1; }
.tncc__arrow--prev { left: -23px; }
.tncc__arrow--next { right: -23px; }
.tncc__arrow:disabled { opacity: .28; cursor: default; }
.tncc__dots { display: flex; justify-content: center; gap: 8px; min-height: 10px; margin-top: 3px; }
.tncc__dot { width: 9px; height: 9px; border: 0; border-radius: 50%; padding: 0; background: #b7c2ca; }
.tncc__dot.is-active { background: var(--tncc-navy); }
.tncc-empty { padding: 20px; text-align: center; background: #fff8dc; }

@media (max-width: 900px) {
  .tncc { padding-left: 44px; padding-right: 44px; }
  .tncc__track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
}
@media (max-width: 600px) {
  .tncc { padding: 32px 28px 28px; }
  .tncc__header { margin-bottom: 20px; }
  .tncc__header p { font-size: 15px; }
  .tncc__track { grid-auto-columns: 100%; gap: 14px; }
  .tncc__image { height: 330px; }
  .tncc__arrow { width: 40px; height: 40px; top: 165px; }
  .tncc__arrow--prev { left: -20px; }
  .tncc__arrow--next { right: -20px; }
}

