/* tw-lite.css v2 (local minimal utility set) */

/* safety net */
html, body { overflow-x: hidden; }

/* layout */
.block{display:block}
.inline-block{display:inline-block}
.hidden{display:none}

.flex{display:flex}
.inline-flex{display:inline-flex}
.flex-col{flex-direction:column}
.flex-wrap{flex-wrap:wrap}
.items-center{align-items:center}
.items-start{align-items:flex-start}
.justify-between{justify-content:space-between}
.justify-center{justify-content:center}
.gap-2{gap:.5rem}
.gap-3{gap:.75rem}
.gap-4{gap:1rem}
.gap-6{gap:1.5rem}
.gap-8{gap:2rem}

/* grid */
.grid{display:grid}
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}
.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.col-span-1{grid-column:span 1 / span 1}
.col-span-2{grid-column:span 2 / span 2}

/* sizing */
.w-full{width:100%}
.w-auto{width:auto}
.h-auto{height:auto}
.max-w-full{max-width:100%}
.min-w-0{min-width:0}
.flex-1{flex:1 1 0%}

/* spacing */
.p-2{padding:.5rem}
.p-3{padding:.75rem}
.p-4{padding:1rem}
.p-6{padding:1.5rem}
.px-4{padding-left:1rem;padding-right:1rem}
.py-2{padding-top:.5rem;padding-bottom:.5rem}
.mx-auto{margin-left:auto;margin-right:auto}
.my-4{margin-top:1rem;margin-bottom:1rem}
.mt-4{margin-top:1rem}
.mb-4{margin-bottom:1rem}

/* typography */
.text-center{text-align:center}
.font-bold{font-weight:700}

/* media */
.object-contain{object-fit:contain}

/* radius (часто встречается) */
.rounded{border-radius:.25rem}
.rounded-lg{border-radius:.5rem}
.rounded-xl{border-radius:.75rem}
.rounded-2xl{border-radius:1rem}

/* responsive subset md:* (min-width 768px) */
@media (min-width: 768px){
 .md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
 .md\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}
 .md\:col-span-1{grid-column:span 1 / span 1}
 .md\:col-span-2{grid-column:span 2 / span 2}
 .md\:flex{display:flex}
 .md\:block{display:block}
 .md\:hidden{display:none}
}

/* embedded */
img, iframe, video { max-width:100%; }


/* tw-lite-base-colors-v1 */
/* background/text */
.bg-white{background:#fff}
.bg-neutral-50{background:#fafafa}
.text-neutral-900{color:#111827}

/* container-ish */
.container{width:100%;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}
@media (min-width: 1024px){.container{max-width:1100px}}

/* shadow */
.shadow{box-shadow:0 1px 2px rgba(0,0,0,.08)}
.shadow-lg{box-shadow:0 10px 25px rgba(0,0,0,.12)}

/* buttons/links (минимально) */
.underline{text-decoration:underline}



/* tw-lite-contacts-utils-v1 */
/* Breakpoints (Tailwind-like): sm>=640, lg>=1024 */

/* spacing */
.py-12{padding-top:3rem;padding-bottom:3rem}
.pb-12{padding-bottom:3rem}
.mt-2{margin-top:.5rem}
.mt-5{margin-top:1.25rem}
.space-y-6 > :not([hidden]) ~ :not([hidden]){margin-top:1.5rem}

/* max width */
.max-w-6xl{max-width:72rem} /* 1152px */
@media (min-width: 640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width: 1024px){
 .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* borders */
.border{border:1px solid rgba(0,0,0,.12)}

/* padding used in cards */
.p-5{padding:1.25rem}

/* typography */
.text-2xl{font-size:1.5rem;line-height:2rem}
.text-sm{font-size:.875rem;line-height:1.25rem}
.font-semibold{font-weight:600}
.font-medium{font-weight:500}
.tracking-tight{letter-spacing:-.025em}

/* neutral text helpers */
.text-neutral-700{color:#374151}



/* tw-lite-home-utils-v1 */
/* HOME: минимальный набор утилит Tailwind-подобных классов */

/* spacing */
.p-0{padding:0}
.p-2{padding:.5rem}
.p-3{padding:.75rem}
.p-4{padding:1rem}
.p-6{padding:1.5rem}
.px-4{padding-left:1rem;padding-right:1rem}
.py-10{padding-top:2.5rem;padding-bottom:2.5rem}
.py-12{padding-top:3rem;padding-bottom:3rem}
.pb-10{padding-bottom:2.5rem}
.pb-12{padding-bottom:3rem}
.pt-10{padding-top:2.5rem}
.mt-1{margin-top:.25rem}
.mt-2{margin-top:.5rem}
.mt-3{margin-top:.75rem}
.mt-4{margin-top:1rem}
.mt-5{margin-top:1.25rem}
.mb-2{margin-bottom:.5rem}
.mb-3{margin-bottom:.75rem}
.gap-2{gap:.5rem}
.gap-3{gap:.75rem}
.gap-4{gap:1rem}
.gap-6{gap:1.5rem}

/* layout */
.block{display:block}
.inline-block{display:inline-block}
.flex{display:flex}
.inline-flex{display:inline-flex}
.grid{display:grid}
.items-start{align-items:flex-start}
.items-center{align-items:center}
.items-end{align-items:flex-end}
.justify-start{justify-content:flex-start}
.justify-center{justify-content:center}
.justify-between{justify-content:space-between}
.flex-wrap{flex-wrap:wrap}
.w-full{width:100%}
.min-w-0{min-width:0}
.max-w-6xl{max-width:72rem} /* 1152px */
.mx-auto{margin-left:auto;margin-right:auto}

/* grid cols */
@media (min-width: 640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width: 768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width: 1024px){
 .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* typography */
.text-xs{font-size:.75rem;line-height:1rem}
.text-sm{font-size:.875rem;line-height:1.25rem}
.text-base{font-size:1rem;line-height:1.5rem}
.text-lg{font-size:1.125rem;line-height:1.75rem}
.text-xl{font-size:1.25rem;line-height:1.75rem}
.text-2xl{font-size:1.5rem;line-height:2rem}
.font-medium{font-weight:500}
.font-semibold{font-weight:600}
.leading-snug{line-height:1.375}
.tracking-tight{letter-spacing:-.025em}

/* colors */
.bg-white{background:#fff}
.bg-neutral-50{background:#fafafa}
.text-neutral-900{color:#111827}
.text-neutral-700{color:#374151}
.text-neutral-600{color:#4b5563}

/* borders/shadow/radius */
.border{border:1px solid rgba(0,0,0,.12)}
.rounded{border-radius:.25rem}
.rounded-lg{border-radius:.5rem}
.rounded-xl{border-radius:.75rem}
.rounded-2xl{border-radius:1rem}
.shadow{box-shadow:0 1px 2px rgba(0,0,0,.08)}
.shadow-lg{box-shadow:0 10px 25px rgba(0,0,0,.12)}

/* misc */
.underline{text-decoration:underline}
/* медиа внутрь карточек/iframe */
img, iframe, video{max-width:100%;height:auto}


/* tw-lite-fixpack-v1 */
/* FIXPACK: недостающие утилиты + ресет формы */

/* display */
.hidden{display:none}

/* width */
.w-auto{width:auto}

/* spacing (missing) */
.p-5{padding:1.25rem}
.p-7{padding:1.75rem}
.py-2{padding-top:.5rem;padding-bottom:.5rem}
.py-3{padding-top:.75rem;padding-bottom:.75rem}
.py-8{padding-top:2rem;padding-bottom:2rem}
.px-5{padding-left:1.25rem;padding-right:1.25rem}
.pb-2{padding-bottom:.5rem}
.mt-6{margin-top:1.5rem}

/* typography (missing) */
.text-3xl{font-size:1.875rem;line-height:2.25rem}
.text-white{color:#ffffff}
.leading-tight{line-height:1.25}
.leading-relaxed{line-height:1.625}

/* borders */
.border-t{border-top:1px solid rgba(0,0,0,.12)}

/* radius */
.rounded-3xl{border-radius:1.5rem}

/* bg */
.bg-neutral-900{background:#111827}

/* space-y utilities */
.space-y-4 > :not([hidden]) ~ :not([hidden]){margin-top:1rem}
.space-y-6 > :not([hidden]) ~ :not([hidden]){margin-top:1.5rem}

/* FORM RESET: чтобы форма не вылезала за card */
form{max-width:100%}
input, textarea, select, button{
 box-sizing:border-box;
 max-width:100%;
}
input, textarea, select{
 width:100%;
}
textarea{min-height:120px}

/* --- compact vertical rhythm (because utilities now реально применились) --- */
/* делаем плотнее ключевые отступы, чтобы не раздувало блоки */
.py-12{padding-top:32px!important;padding-bottom:32px!important}
.pb-12{padding-bottom:32px!important}
.py-8{padding-top:24px!important;padding-bottom:24px!important}
.py-3{padding-top:10px!important;padding-bottom:10px!important}
.py-2{padding-top:8px!important;padding-bottom:8px!important}

.mt-6{margin-top:24px!important}
.mt-5{margin-top:18px!important}
.mt-3{margin-top:12px!important}
.mt-2{margin-top:10px!important}
.mt-1{margin-top:6px!important}

.gap-6{gap:18px!important}
.gap-4{gap:14px!important}
.gap-3{gap:12px!important}
.gap-2{gap:10px!important}

/* карточки/контейнеры: страхуем ширины, чтобы ничего не вылезало */
.card, .container, .mx-auto, .max-w-6xl{min-width:0}
img, iframe, video{max-width:100%;height:auto}

/* --- forms: fix "форма шире блока" --- */
input, textarea, select, button {
 box-sizing: border-box;
 max-width: 100%;
}
input, textarea, select {
 width: 100%;
 min-width: 0;
 display: block;
}
/* если где-то row/кнопка в строку — не раздуваем */
.row{min-width:0;flex-wrap:wrap}

/* cache-bust marker */

/* tw-lite-compact-v6 */
/* 1) Сжимаем большие отступы/гэпы под твой дизайн (меньше “воздуха”) */
.py-12{padding-top:32px;padding-bottom:32px} /* было слишком жирно */
.pb-12{padding-bottom:32px}
.py-8{padding-top:24px;padding-bottom:24px}
.py-3{padding-top:10px;padding-bottom:10px}
.py-2{padding-top:8px;padding-bottom:8px}

.p-7{padding:24px}
.p-5{padding:18px}
.p-4{padding:16px}
.px-5{padding-left:18px;padding-right:18px}
.px-4{padding-left:16px;padding-right:16px}

.mt-6{margin-top:20px}
.mt-5{margin-top:18px}
.mt-3{margin-top:12px}
.mt-2{margin-top:10px}

.gap-6{gap:18px}
.gap-4{gap:14px}
.gap-3{gap:12px}
.gap-2{gap:10px}

/* space-y-* (вертикальные интервалы между детьми) */
.space-y-6 > :not([hidden]) ~ :not([hidden]){margin-top:16px}
.space-y-4 > :not([hidden]) ~ :not([hidden]){margin-top:12px}

/* 2) Формы/инпуты: никогда не распирают карточки */
input, textarea, select, button { max-width: 100%; box-sizing: border-box; }
form { min-width: 0; }
.card { min-width: 0; overflow: hidden; }

/* 3) Безопасность от горизонтального скролла из-за длинных строк */
.cs-menu__brand, .pill, .row { min-width: 0; }
