/* Kismet Pros service pages, 2026-11-27 redesign: includes/service-page.php (routine,
   premium, moving) and services.php (the overview). Loaded after frame-2026-11-27.css,
   blocks-2026-11-27.css and, on the three service pages, the older widget styles
   (home-2026-11-24.css, service-2026-11-24b.css) that still drive the checklist
   explorer, the room steppers and the phone booking bar. */

/* ---------- Hero */
.kx-page .ks-hero { background: none; padding: 148px 0 96px; overflow: hidden; }
.ks-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: center; }
.ks-hero__copy { display: flex; flex-direction: column; align-items: flex-start; }

.ks-switch { display: inline-flex; gap: 28px; margin: 0 0 36px; padding: 0 0 2px; border-bottom: 1px solid var(--kx-line); }
.kx-page main .ks-switch a { position: relative; padding: 0 0 14px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--kx-muted); text-decoration: none; transition: color .2s ease; }
.kx-page main .ks-switch a:hover { color: var(--kx-ink); }
.kx-page main .ks-switch a[aria-current="page"] { color: var(--kx-sage-dark); }
.ks-switch a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--kx-sage-dark); }

body.kx-page main .ks-hero h1 { margin: 0 0 28px; font-size: clamp(46px, 6.3vw, 92px); font-weight: 380; line-height: .98; letter-spacing: -0.035em; text-wrap: balance; }
body.kx-page main .ks-hero h1 span { font-style: italic; font-weight: 340; color: var(--kx-purple); white-space: normal; }
.kx-page .ks-hero h1 span::after { content: none; }
.ks-lead { max-width: 540px; margin: 0 0 36px; font-size: 20px; line-height: 1.6; color: var(--kx-muted); }

.ks-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; }
.kx-page main .ks-from { display: inline-flex; align-items: center; gap: 14px; color: var(--kx-ink); text-decoration: none; }
.ks-from strong { font-family: var(--kx-serif); font-weight: 380; font-size: 44px; line-height: 1; letter-spacing: -0.03em; }
.ks-from span { display: flex; flex-direction: column; font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ks-from small { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--kx-muted); text-decoration: none; display: inline-block; }
.kx-page main .ks-from:hover span { color: var(--kx-purple); }

.ks-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 56px 0 0; padding: 22px 0 0; border-top: 1px solid var(--kx-line); width: 100%; font-size: 14.5px; font-weight: 600; color: var(--kx-muted); }
.ks-proof li { display: inline-flex; align-items: center; gap: 8px; }
.ks-proof svg { color: var(--kx-sage-dark); flex: none; }
.ks-stars { color: #e0993b; letter-spacing: 2px; font-weight: 400; }

.ks-hero__art { position: relative; padding: 0 0 48px 44px; }
.ks-hero__photo { aspect-ratio: 4 / 5; box-shadow: 0 40px 80px rgba(35, 28, 80, .14); }
.ks-chip { position: absolute; top: 34%; right: -14px; padding: 8px 16px; border-radius: 999px; background: var(--kx-plum); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; box-shadow: 0 14px 30px rgba(35, 28, 80, .25); }
.ks-list { position: absolute; left: 0; bottom: 104px; width: 268px; padding: 18px 20px 16px; border-radius: 22px; background: rgba(255, 253, 249, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 50px rgba(35, 28, 80, .18); }
.ks-list p { margin: 0 0 12px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--kx-muted); }
.ks-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ks-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--kx-ink); }
.ks-list li i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--kx-sage); color: #fff; }
.ks-list li i svg { width: 13px; height: 13px; }
.ks-list > span { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--kx-line); font-size: 13px; font-weight: 700; color: var(--kx-purple); }
.ks-quotecard { position: absolute; right: -20px; bottom: 0; display: flex; flex-direction: column; padding: 16px 22px 18px; border-radius: 22px; background: rgba(255, 253, 249, .96); box-shadow: 0 24px 50px rgba(35, 28, 80, .18); }
.ks-quotecard span { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--kx-muted); }
.ks-quotecard strong { font-family: var(--kx-serif); font-weight: 380; font-size: 46px; line-height: 1.05; letter-spacing: -0.03em; color: var(--kx-ink); }
.ks-quotecard small { font-size: 13px; color: var(--kx-muted); }

/* ---------- Three reasons (the shared band, three across) */
.ks-band.kx-band__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Section intros */
.ks-sub { margin: 18px 0 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--kx-muted); }
.kx-head--center .ks-sub { margin-left: auto; margin-right: auto; }
.kx-page main .ks-sub a { color: var(--kx-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.kx-page .sv-key { color: var(--kx-purple); }
.kx-page .sv-key i { background: var(--kx-purple); }

/* ---------- Price */
.kx-page .ks-calc { display: block; }
.kx-page .ks-calc__inputs { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 40px; max-width: 900px; margin: -16px auto 56px; padding: 10px 28px; border-radius: 999px; background: var(--kx-paper); border: 1px solid var(--kx-line); }
.kx-page .ks-calc__inputs .sv-calc__row { padding: 8px 0; gap: 16px; }
.kx-page .ks-calc__inputs .sv-calc__row + .sv-calc__row { border-top: 0; }
.kx-page .ks-calc__inputs .sv-calc__row b { font-size: 15.5px; font-weight: 800; color: var(--kx-ink); }
.kx-page .ks-calc .sv-step { border-color: var(--kx-line); background: var(--kx-card); }
.ks-calc__results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.kx-page main .ks-tile { display: flex; flex-direction: column; gap: 6px; padding: 32px 32px 28px; border-radius: 32px; border: 1px solid var(--kx-line); background: var(--kx-paper); color: var(--kx-ink); text-decoration: none; transition: border-color .25s ease, translate .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
.kx-page main .ks-tile:hover { border-color: #cfc6b4; translate: 0 -4px; box-shadow: 0 24px 50px rgba(35, 28, 80, .08); }
.ks-tile__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ks-tile__top b { font-family: var(--kx-serif); font-weight: 400; font-size: 28px; letter-spacing: -0.02em; }
.ks-tile__top em { padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(169, 226, 198, .55); font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #a9e2c6; }
.ks-tile__text { font-size: 15.5px; color: var(--kx-muted); }
.ks-tile__price { display: block; margin-top: 26px; font-family: var(--kx-serif); font-weight: 380; font-size: 64px; line-height: 1; letter-spacing: -0.035em; }
.ks-tile__price.is-bump { animation: ks-bump .35s ease; }
@keyframes ks-bump { 0% { opacity: .35; translate: 0 6px; } 100% { opacity: 1; translate: 0 0; } }
.ks-tile__club { font-size: 14.5px; font-weight: 700; }
.ks-tile__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 28px; font-size: 15.5px; font-weight: 700; }
.ks-tile__go svg { transition: transform .25s ease; }
.ks-tile:hover .ks-tile__go svg { transform: translateX(4px); }
.kx-page main .ks-tile.is-current { background: radial-gradient(520px 320px at 100% 0%, #4a4096 0%, var(--kx-plum) 62%); border-color: var(--kx-plum); color: #fff; }
.ks-tile.is-current .ks-tile__text { color: #d6d1ef; }
.ks-tile.is-current .ks-tile__club { color: #a9e2c6; }
.ks-note { margin: 32px 0 0; text-align: center; font-size: 15px; color: var(--kx-muted); }

/* ---------- The one review */
.kx-reviews--one .kx-quote .kx-stars { margin-bottom: 18px; }
.kx-reviews--one .kx-quote::before { content: none; }

/* ---------- How it goes */
.ks-flow { list-style: none; counter-reset: flow; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--kx-line); }
.ks-flow li { counter-increment: flow; padding: 36px 36px 8px 0; }
.ks-flow li + li { padding-left: 36px; border-left: 1px solid var(--kx-line); }
.ks-flow li::before { content: counter(flow, decimal-leading-zero); display: block; margin-bottom: 22px; font-family: var(--kx-serif); font-style: italic; font-weight: 340; font-size: 22px; color: var(--kx-sage-dark); }
.ks-flow b { display: block; margin-bottom: 10px; font-family: var(--kx-serif); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; color: var(--kx-ink); }
.ks-flow p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--kx-muted); }

/* ---------- Questions */
.ks-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 88px; align-items: start; }
.ks-faq__intro { position: sticky; top: 120px; }
.ks-faq__list { border-top: 1px solid var(--kx-line); }
.ks-faq__list details { border-bottom: 1px solid var(--kx-line); }
.ks-faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; list-style: none; cursor: pointer; font-family: var(--kx-serif); font-weight: 400; font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; color: var(--kx-ink); }
.ks-faq__list summary::-webkit-details-marker { display: none; }
.ks-faq__list summary:hover { color: var(--kx-purple); }
.kx-page main .ks-faq__list summary:focus-visible { outline: 3px solid #f17425; outline-offset: 3px; border-radius: 6px; }
.ks-faq__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--kx-line); }
.ks-faq__icon::before, .ks-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--kx-ink); transition: rotate .3s ease, opacity .3s ease; }
.ks-faq__icon::after { rotate: 90deg; }
.ks-faq__list details[open] .ks-faq__icon::after { rotate: 0deg; opacity: 0; }
.ks-faq__list details p { margin: 0; padding: 0 60px 26px 4px; font-size: 17px; line-height: 1.65; color: var(--kx-muted); }

/* ---------- Where we clean */
.ks-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 56px; }
.ks-areas .kx-region { margin-bottom: 0; padding: 28px 0 0; border-top: 1px solid var(--kx-line); border-bottom: 0; }

/* ---------- Services overview (services.php) */
.ko-hero { padding: 168px 0 88px; text-align: center; }
.ko-hero .kx-kicker { justify-content: center; }
body.kx-page main .ko-hero h1 { margin: 0 auto 26px; max-width: 900px; font-size: clamp(44px, 6vw, 88px); line-height: .98; letter-spacing: -0.035em; text-wrap: balance; }
.ko-hero .kx-wrap > p:not(.kx-kicker) { margin: 0 auto; max-width: 620px; font-size: 20px; line-height: 1.6; color: var(--kx-muted); }
.ko-list { padding: 0 0 136px; }
.ko-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.ko-card { display: flex; flex-direction: column; }
.ko-card:nth-child(2) { margin-top: 64px; }
.ko-card__img { display: block; overflow: hidden; aspect-ratio: 4 / 4.6; border-radius: 999px 999px 28px 28px; background: #e9e2d4; }
.ko-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.ko-card:hover .ko-card__img img { transform: scale(1.04); }
.ko-card > .ko-card__num { margin: 28px 0 12px; font-family: var(--kx-serif); font-style: italic; font-weight: 340; font-size: 22px; color: var(--kx-sage-dark); }
.ko-card__num span { margin-left: 12px; padding: 5px 13px; border-radius: 999px; background: var(--kx-lilac); color: var(--kx-purple); font-family: Nunito, system-ui, sans-serif; font-style: normal; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; vertical-align: middle; }
body.kx-page main .ko-card h2 { margin: 0 0 14px; font-size: clamp(30px, 3vw, 42px); line-height: 1.06; }
.kx-page main .ko-card h2 a { color: inherit; text-decoration: none; }
.kx-page main .ko-card h2 a:hover { color: var(--kx-purple); }
.ko-card > p:not(.ko-card__num) { margin: 0 0 26px; font-size: 17.5px; line-height: 1.6; color: var(--kx-muted); }
.ko-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--kx-line); }
.ko-card__price { display: flex; flex-direction: column; line-height: 1.1; }
.ko-card__price span { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--kx-muted); }
.ko-card__price strong { font-family: var(--kx-serif); font-weight: 380; font-size: 40px; letter-spacing: -0.03em; color: var(--kx-ink); }

/* ---------- Tablet */
@media (max-width: 1080px) {
    .ks-hero__grid { gap: 48px; }
    .ks-quotecard { right: 0; }
    .ks-chip { right: 0; }
    .ks-faq { gap: 56px; }
    .ks-calc__results { gap: 16px; }
    .kx-page main .ks-tile { padding: 26px 24px 24px; }
    .ks-tile__price { font-size: 52px; }
    .ko-cards { gap: 28px; }
}
@media (max-width: 900px) {
    .kx-page .ks-hero { padding: 124px 0 72px; }
    .ks-hero__grid, .ks-faq { grid-template-columns: minmax(0, 1fr); }
    .ks-hero__art { max-width: 500px; width: 100%; margin: 0 auto; }
    .ks-faq__intro { position: static; }
    .ks-calc__results, .ks-areas { grid-template-columns: minmax(0, 1fr); }
    .kx-page .ks-calc__inputs { border-radius: 28px; }
    .ks-flow { grid-template-columns: minmax(0, 1fr); }
    .ks-flow li, .ks-flow li + li { padding: 30px 0; border-left: 0; }
    .ks-flow li + li { border-top: 1px solid var(--kx-line); }
    .ko-hero { padding: 132px 0 64px; }
    .ko-list { padding-bottom: 96px; }
    .ko-cards { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; gap: 64px; }
    .ko-card:nth-child(2) { margin-top: 0; }
    .ks-band.kx-band__row { grid-template-columns: minmax(0, 1fr); }
    .ks-band.kx-band__row li, .ks-band.kx-band__row li:first-child { padding: 24px 0; border-left: 0; border-top: 0; }
    .ks-band.kx-band__row li + li { border-top: 1px solid rgba(255, 255, 255, .14); }
}

/* ---------- Phone */
@media (max-width: 640px) {
    .kx-page .ks-hero { padding: 108px 0 56px; }
    .ks-switch { gap: 22px; margin-bottom: 28px; }
    .kx-page main .ks-switch a { font-size: 12px; letter-spacing: .12em; }
    body.kx-page main .ks-hero h1 { margin-bottom: 20px; }
    .ks-lead { font-size: 18px; margin-bottom: 28px; }
    .ks-hero__actions .kx-btn { width: 100%; }
    .ks-proof { margin-top: 40px; gap: 10px 20px; }
    .ks-hero__art { padding: 0 0 36px 0; }
    .ks-list { display: none; }
    .ks-chip { top: 20px; right: 12px; }
    .ks-quotecard { right: 12px; padding: 12px 18px 14px; }
    .ks-quotecard strong { font-size: 36px; }
    .ks-quotecard small { display: none; }
    .ks-sub { font-size: 17px; }
    .kx-page .ks-calc__inputs { margin: -8px 0 36px; padding: 6px 20px; border-radius: 24px; flex-direction: column; align-items: stretch; gap: 0; }
    .kx-page .ks-calc__inputs .sv-calc__row { padding: 12px 0; }
    .kx-page .ks-calc__inputs .sv-calc__row + .sv-calc__row { border-top: 1px solid var(--kx-line); }
    .kx-page main .ks-tile { border-radius: 26px; }
    .ks-flow b { font-size: 26px; }
    .ks-faq__list summary { font-size: 20px; padding: 20px 2px; gap: 16px; }
    .ks-faq__list details p { padding: 0 8px 22px 2px; font-size: 16.5px; }
    .ko-hero { padding: 112px 0 48px; }
    .ko-hero .kx-wrap > p:not(.kx-kicker) { font-size: 18px; }
    .ko-list { padding-bottom: 76px; }
    .ko-card__img { aspect-ratio: 4 / 3.8; }
}

/* ---------- Motion */
@media (prefers-reduced-motion: no-preference) {
    .ks-hero__copy > *, .ko-hero .kx-wrap > * { animation: kx-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
    .ks-hero__copy > :nth-child(2), .ko-hero .kx-wrap > :nth-child(2) { animation-delay: .06s; }
    .ks-hero__copy > :nth-child(3), .ko-hero .kx-wrap > :nth-child(3) { animation-delay: .12s; }
    .ks-hero__copy > :nth-child(4) { animation-delay: .18s; }
    .ks-hero__copy > :nth-child(5) { animation-delay: .26s; }
    .ks-hero__photo { animation: kx-rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
    .ks-list, .ks-quotecard, .ks-chip { animation: kx-rise 1s .45s cubic-bezier(.2, .7, .2, 1) both; }
}
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .ks-tile, .ks-flow li, .ks-faq__list, .ko-card {
            animation: kx-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 34%;
        }
    }
}
@media (prefers-reduced-motion: reduce) {
    .ks-tile, .ks-tile__go svg, .ko-card__img img, .ks-faq__icon::before, .ks-faq__icon::after { transition: none; }
    .kx-page main .ks-tile:hover { translate: none; }
    .ks-tile__price.is-bump { animation: none; }
}
