/* Konigo Services — /uslugi/ хаб, архив категории, карточка услуги, форма. */

.ksvc-tiles-block { margin-bottom: 2rem; }
.ksvc-tiles-block h2 { font-size: 1.1rem; font-weight: 700; color: #0A1C3A; margin-bottom: 1rem; }
.ksvc-tiles { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (min-width: 640px) { .ksvc-tiles { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 768px) { .ksvc-tiles { grid-template-columns: repeat(4,1fr); } }
.ksvc-tile { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem; text-align: center; text-decoration: none; transition: all .2s; }
.ksvc-tile:hover { background: #fef9e6; border-color: #D4AF37; transform: translateY(-3px); }
.ksvc-tile i { font-size: 1.8rem; color: #D4AF37; margin-bottom: .5rem; display: block; }
.ksvc-tile__label { display: block; font-size: .9rem; font-weight: 600; color: #0A1C3A; }
.ksvc-tile__count { display: block; font-size: .75rem; color: #9CA3AF; margin-top: .2rem; }

.ksvc-layout { display: flex; gap: 1.5rem; align-items: flex-start; }
.ksvc-main { flex: 1; min-width: 0; }

.ksvc-filters-desktop { width: 320px; flex-shrink: 0; }
.ksvc-filters-box { background: #fff; border-radius: 12px; border: 1px solid #e5e7eb; overflow: hidden; position: sticky; top: 96px; }
.ksvc-filters-head { background: #0A1C3A; color: #fff; padding: 1rem; font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.ksvc-filters-head i { color: #D4AF37; }
.ksvc-filters-body { padding: 1rem; }
.ksvc-filter-section { border-bottom: 1px solid #e5e7eb; padding-bottom: .9rem; margin-bottom: .9rem; }
.ksvc-filter-section:last-child { border-bottom: none; }
.ksvc-filter-section h4 { font-weight: 600; color: #0A1C3A; margin: 0 0 .5rem; font-size: .95rem; }
.ksvc-filter-section select { width: 100%; border: 1px solid #d1d5db; border-radius: 8px; padding: .5rem .6rem; font-size: .9rem; }
.ksvc-price-row { display: flex; gap: .6rem; }
.ksvc-price-row input { width: 50%; border: 1px solid #d1d5db; border-radius: 8px; padding: .45rem .6rem; font-size: .88rem; }
.ksvc-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.ksvc-chip { display: inline-block; background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; cursor: pointer; text-decoration: none; color: #0A1C3A; transition: all .15s; }
.ksvc-chip.is-active, .ksvc-chip:hover { background: #D4AF37; border-color: #D4AF37; color: #0A1C3A; }
.ksvc-filters-actions { display: flex; gap: .6rem; margin-top: .5rem; }
.ksvc-filters-actions button { flex: 1; background: #0A1C3A; color: #fff; border: none; padding: .6rem; border-radius: 8px; font-weight: 600; cursor: pointer; }
.ksvc-filters-actions a { color: #9CA3AF; font-size: .85rem; align-self: center; text-decoration: none; }
.ksvc-filters-actions a:hover { color: #D4AF37; }

.ksvc-filters-mobile { display: none; margin-bottom: 1rem; }
.ksvc-mobile-head { background: #fff; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); padding: 1rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.ksvc-mobile-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; background: #fff; border-radius: 0 0 12px 12px; }
.ksvc-mobile-body.is-open { max-height: 1400px; padding: 1rem; }
@media (max-width: 1023px) {
	.ksvc-filters-desktop { display: none; }
	.ksvc-filters-mobile { display: block; }
	.ksvc-layout { flex-direction: column; }
}

.ksvc-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; gap: .5rem; }
.ksvc-toolbar p { color: #6B7280; font-size: .9rem; margin: 0; }
.ksvc-sort-form { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: #6B7280; }
.ksvc-sort-form select { border: 1px solid #d1d5db; border-radius: 8px; padding: .35rem .6rem; }

.ksvc-cta { background: linear-gradient(90deg,#0A1C3A,#16305e); border-radius: 12px; padding: 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; color: #fff; }
.ksvc-cta h3 { margin: 0; color: #fff; font-size: 1.1rem; }
.ksvc-cta h3 i { color: #D4AF37; margin-right: .4rem; }
.ksvc-cta p { margin: .3rem 0 0; color: #cbd5e1; font-size: .88rem; }

.ksvc-list { display: flex; flex-direction: column; gap: 1.1rem; }
.ksvc-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; transition: all .2s; display: flex; flex-direction: column; }
.ksvc-item:hover { transform: translateY(-3px); box-shadow: 0 16px 24px -12px rgba(0,0,0,.12); }
@media (min-width: 768px) { .ksvc-item { flex-direction: row; } }
.ksvc-item__img { width: 100%; height: 170px; background: linear-gradient(135deg,#d1fae5,#a7f3d0); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ksvc-item__img img { width: 100%; height: 100%; object-fit: cover; }
.ksvc-item__img i { font-size: 3rem; color: #D4AF37; }
@media (min-width: 768px) { .ksvc-item__img { width: 224px; height: auto; } }
.ksvc-item__body { padding: 1.1rem; flex: 1; }
.ksvc-item__top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; flex-wrap: wrap; }
.ksvc-item__title { font-size: 1.2rem; font-weight: 700; color: #0A1C3A; margin: 0; }
.ksvc-item__title a { color: inherit; text-decoration: none; }
.ksvc-item__title a:hover { color: #D4AF37; }
.ksvc-item__rating { display: flex; align-items: center; gap: .4rem; margin-top: .3rem; font-size: .82rem; color: #6B7280; }
.ksvc-item__rating .stars { color: #D4AF37; font-size: .85rem; }
.ksvc-item__address { font-size: .85rem; color: #6B7280; margin-top: .3rem; }
.ksvc-item__address i { color: #D4AF37; margin-right: .25rem; }
.ksvc-item__club { font-size: .85rem; color: #6B7280; margin-top: .3rem; }
.ksvc-item__club i { color: #D4AF37; margin-right: .25rem; }
.ksvc-item__club a { color: #0A1C3A; font-weight: 600; text-decoration: none; }
.ksvc-item__club a:hover { color: #D4AF37; }
.ksvc-item__desc { font-size: .88rem; color: #4B5563; margin-top: .6rem; line-height: 1.5; }
.ksvc-item__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.ksvc-tag { background: #f3f4f6; color: #4B5563; font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; }
.ksvc-item__footer { display: flex; justify-content: space-between; align-items: center; margin-top: .9rem; }
.ksvc-item__price { color: #D4AF37; font-weight: 700; font-size: 1.05rem; }
.ksvc-item__link { color: #D4AF37; font-weight: 600; font-size: .88rem; text-decoration: none; }
.ksvc-item__link:hover { text-decoration: underline; }

.ksvc-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.ksvc-badge { font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; white-space: nowrap; }
.ksvc-badge--gold { background: rgba(212,175,55,.2); color: #B8922E; }
.ksvc-badge--blue { background: rgba(10,28,58,.1); color: #0A1C3A; }

.ksvc-empty { text-align: center; padding: 3rem 1rem; color: #6B7280; }
.ksvc-pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.ksvc-pagination a, .ksvc-pagination span { padding: .3rem .9rem; border: 1px solid #e5e7eb; border-radius: 8px; text-decoration: none; color: #0A1C3A; }
.ksvc-pagination .is-current { background: #D4AF37; color: #0A1C3A; border-color: #D4AF37; font-weight: 700; }

/* ---------- Форма «Добавить услугу» ---------- */
.ksvc-form { max-width: 720px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 1.5rem; }
.ksvc-form h2 { font-size: 1.05rem; font-weight: 700; color: #0A1C3A; margin: 1.3rem 0 .8rem; }
.ksvc-form h2:first-child { margin-top: 0; }
.ksvc-form label { display: block; font-weight: 600; color: #0A1C3A; font-size: .88rem; margin-bottom: .3rem; }
.ksvc-field { margin-bottom: 1rem; }
.ksvc-form input[type="text"], .ksvc-form input[type="email"], .ksvc-form input[type="number"], .ksvc-form input[type="tel"], .ksvc-form select, .ksvc-form textarea { width: 100%; border: 1px solid #d1d5db; border-radius: 8px; padding: .6rem .75rem; font-size: .92rem; font-family: inherit; }
.ksvc-form textarea { min-height: 90px; resize: vertical; }
.ksvc-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .ksvc-two-col { grid-template-columns: 1fr; } }
.ksvc-club-panel { border: 1px solid rgba(212,175,55,.45); border-radius: 10px; padding: 1rem; background: #fffdf3; }
.ksvc-club-panel h3 { color: #0A1C3A; font-size: 1rem; margin: 0 0 .8rem; }
.ksvc-club-new { margin-top: .8rem; }
.ksvc-club-new[hidden] { display: none; }
.ksvc-club-notice { display: flex; flex-wrap: wrap; gap: .35rem .55rem; align-items: baseline; background: #f8fafc; border-radius: 8px; padding: .75rem; color: #475569; font-size: .88rem; }
.ksvc-club-notice i { color: #D4AF37; }
.ksvc-club-notice strong { color: #0A1C3A; }
.ksvc-club-notice p { flex-basis: 100%; margin: 0; }
.ksvc-club-notice--warning { background: #fff7ed; color: #9a3412; }
.ksvc-club-notice--warning strong { color: #9a3412; }
.ksvc-club-new small { display: block; margin-top: .35rem; color: #6B7280; font-size: .78rem; }
.ksvc-submit { background: #D4AF37; color: #0A1C3A; border: none; padding: .8rem 1.6rem; border-radius: 999px; font-weight: 700; cursor: pointer; }
.ksvc-submit:hover { background: #B8922E; }
.ksvc-form-msg { margin-top: 1rem; padding: .8rem 1rem; border-radius: 8px; font-size: .9rem; display: none; }
.ksvc-form-msg.is-success { display: block; background: #ecfdf5; color: #047857; }
.ksvc-form-msg.is-error { display: block; background: #fef2f2; color: #b91c1c; }

/* ---------- Отдельная услуга ---------- */
.container-custom.ksvc-single-page { max-width: 1120px; color: #172033; }
.ksvc-single-hero { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 2rem; align-items: stretch; margin-bottom: 1.5rem; padding: 1.5rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 8px 24px rgba(10,28,58,.06); }
.ksvc-single-photo { position: relative; width: 100%; min-height: 280px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg,#fff8df,#fef3c7); display: flex; align-items: center; justify-content: center; }
.ksvc-single-photo img { width: 100%; height: 100%; object-fit: cover; }
.ksvc-single-photo i { font-size: 4rem; color: #D4AF37; }
.ksvc-single-photo span { position: absolute; bottom: .9rem; left: 50%; transform: translateX(-50%); padding: .35rem .75rem; border-radius: 999px; background: rgba(255,255,255,.82); color: #0A1C3A; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.ksvc-single-info { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.ksvc-single-category { display: inline-flex; align-items: center; gap: .4rem; color: #B8922E; font-size: .84rem; font-weight: 700; margin-bottom: .4rem; }
.ksvc-single-category i { color: #D4AF37; }
.ksvc-single-info h1 { color: #0A1C3A; font-size: clamp(1.7rem,3vw,2.35rem); line-height: 1.15; margin: 0 0 .55rem; }
.ksvc-single-badges { margin-bottom: .25rem; }
.ksvc-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; }
.ksvc-single-meta p { margin: .2rem 0 0; }
.ksvc-single-price-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.1rem; }
.ksvc-single-price-row .ksvc-item__price { margin: 0; font-size: 1.55rem; }
.ksvc-single-cta { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 42px; padding: .65rem 1rem; border-radius: 8px; background: #0A1C3A; color: #fff; font-size: .88rem; font-weight: 700; text-decoration: none; transition: background .18s, transform .18s; }
.ksvc-single-cta:hover { background: #16305e; color: #fff; transform: translateY(-1px); }
.ksvc-single-cta i { color: #D4AF37; }
.ksvc-single-tags { margin-top: .9rem; }
.ksvc-club-context { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 1.1rem; align-items: center; margin-top: 1.5rem; padding: 1.25rem; background: #fffdf3; border: 1px solid rgba(212,175,55,.35); border-radius: 14px; }
.ksvc-club-context__media { width: 104px; height: 104px; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #eef2ff; }
.ksvc-club-context__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ksvc-club-context__media i { color: #D4AF37; font-size: 2.2rem; }
.ksvc-club-context__body { min-width: 0; }
.ksvc-club-context__kicker { display: flex; align-items: center; gap: .35rem; margin: 0 0 .25rem; color: #B8922E; font-size: .78rem; font-weight: 700; }
.ksvc-club-context__body h2 { margin: 0; color: #0A1C3A; font-size: 1.2rem; }
.ksvc-club-context__body h2 a { color: inherit; text-decoration: none; }
.ksvc-club-context__body h2 a:hover { color: #B8922E; }
.ksvc-club-context__summary { max-width: 760px; margin: .35rem 0 0; color: #475569; font-size: .86rem; line-height: 1.5; }
.ksvc-club-context__facts { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: .65rem; color: #64748b; font-size: .78rem; }
.ksvc-club-context__facts span { display: inline-flex; align-items: center; gap: .3rem; }
.ksvc-club-context__facts i, .ksvc-club-context__facts .stars { color: #D4AF37; }
.ksvc-club-context__link { display: inline-block; margin-top: .7rem; color: #B8922E; font-size: .82rem; font-weight: 700; text-decoration: none; }
.ksvc-club-context__link:hover { text-decoration: underline; }
.ksvc-single-section { margin-top: 1.6rem; padding: 1.35rem 1.5rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; box-shadow: 0 5px 18px rgba(10,28,58,.04); }
.ksvc-single-section h2 { display: flex; align-items: center; gap: .45rem; color: #0A1C3A; font-size: 1.15rem; margin: 0 0 .85rem; padding-bottom: .7rem; border-bottom: 1px solid #e5e7eb; }
.ksvc-single-section h2 i { color: #D4AF37; }
.ksvc-single-section .konigo-content { color: #475569; line-height: 1.65; }
.ksvc-empty-review { margin: 0; color: #64748b; }

.ksvc-reviews-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.ksvc-review { border: 1px solid #e5e7eb; border-radius: 10px; padding: 1rem; }
.ksvc-review__head { display: flex; justify-content: space-between; font-weight: 600; color: #0A1C3A; }
.ksvc-review__stars { color: #D4AF37; font-size: .85rem; margin: .2rem 0; }
.ksvc-review__date { font-size: .78rem; color: #9CA3AF; font-weight: 400; }
.ksvc-review-form { border: 1px solid #e5e7eb; border-radius: 10px; padding: 1.2rem; margin-top: 1rem; background: #f8fafc; }
.ksvc-review-form label { display: block; margin-bottom: .3rem; color: #0A1C3A; font-size: .88rem; font-weight: 600; }
.ksvc-review-form input[type="text"], .ksvc-review-form textarea { display: block; width: 100%; border: 1px solid #d1d5db; border-radius: 8px; padding: .6rem .75rem; font: inherit; font-size: .92rem; color: #1f2937; background: #fff; }
.ksvc-review-form textarea { min-height: 100px; resize: vertical; }
.ksvc-review-form .ksvc-field { margin-bottom: .9rem; }
.ksvc-star-input { display: flex; gap: .3rem; font-size: 1.4rem; color: #D4AF37; margin-bottom: .8rem; }
.ksvc-star-input i { cursor: pointer; }

@media (max-width: 700px) {
	.ksvc-single-hero { grid-template-columns: 1fr; gap: 1.15rem; padding: 1rem; }
	.ksvc-single-photo { min-height: 190px; }
	.ksvc-single-info h1 { font-size: 1.7rem; }
	.ksvc-club-context { grid-template-columns: 80px minmax(0, 1fr); gap: .8rem; padding: 1rem; }
	.ksvc-club-context__media { width: 80px; height: 80px; }
	.ksvc-club-context__body h2 { font-size: 1.05rem; }
	.ksvc-single-section { padding: 1.1rem; }
}
