/* Kinnisvarakanal – disainikiht Flex Home teema peal. Laaditakse pärast teema style.css-i. */
:root {
  --kk-ink: #0D1417;
  --kk-ink-2: #1A252A;
  --kk-paper: #F6F3EE;
  --kk-card: #FFFFFF;
  --kk-line: #E4DED3;
  --kk-muted: #5D686D;
  --kk-accent: #FF5A1F;
  --kk-accent-d: #E2460E;
  --kk-gold: #FFB547;
  --kk-forest: #12372F;
  --kk-radius: 18px;
  --kk-shadow: 0 1px 2px rgba(13,20,23,.06), 0 12px 32px -12px rgba(13,20,23,.18);
  --kk-display: "Fraunces", Georgia, "Times New Roman", serif;
  --kk-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --primary-color: var(--kk-accent);
  --primary-color-hover: var(--kk-accent-d);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--kk-ui) !important;
  background: var(--kk-paper) !important;
  color: var(--kk-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--kk-display); letter-spacing: -.02em; color: var(--kk-ink); }
h4, h5, h6 { font-family: var(--kk-ui); letter-spacing: -.01em; }
a { color: var(--kk-ink); }
a:hover { color: var(--kk-accent); }
::selection { background: var(--kk-accent); color: #fff; }

.container-fluid.w90 { max-width: 1320px; width: 100%; padding-left: 24px; padding-right: 24px; }
@media (max-width: 575px) { .container-fluid.w90 { padding-left: 16px; padding-right: 16px; } }

/* ---------- Nupud ---------- */
.btn-primary, .btn.btn-primary, .add-property {
  background: var(--kk-accent) !important; border-color: var(--kk-accent) !important; color: #fff !important;
  border-radius: 999px !important; font-weight: 600; letter-spacing: .01em;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px -8px rgba(255,90,31,.7);
}
.btn-primary:hover, .add-property:hover { background: var(--kk-accent-d) !important; transform: translateY(-1px); }
.kk-btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  padding: .95em 1.5em; border-radius: 999px; font-weight: 650; font-size: 1rem; line-height: 1;
  text-decoration: none !important; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  border: 1.5px solid transparent; white-space: nowrap;
}
.kk-btn:hover { transform: translateY(-2px); }
.kk-btn--accent { background: var(--kk-accent); color: #fff !important; box-shadow: 0 10px 28px -10px rgba(255,90,31,.85); }
.kk-btn--accent:hover { background: var(--kk-accent-d); }
.kk-btn--ghost { border-color: rgba(255,255,255,.45); color: #fff !important; backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.kk-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.14); }
.kk-btn--dark { background: var(--kk-ink); color: #fff !important; }
.kk-btn--dark:hover { background: var(--kk-ink-2); }
.kk-btn--line { border-color: var(--kk-ink); color: var(--kk-ink) !important; }
.kk-btn--line:hover { background: var(--kk-ink); color: #fff !important; }

/* ---------- Ülariba ---------- */
.bravo_topbar { background: var(--kk-ink) !important; border: 0 !important; font-size: 13px; }
.bravo_topbar, .bravo_topbar a, .bravo_topbar .ae-anno-announcement__text { color: rgba(246,243,238,.82) !important; }
.bravo_topbar a:hover { color: #fff !important; }
.bravo_topbar .content { min-height: 38px; align-items: center; }
.ae-anno-announcement-wrapper { background: transparent !important; }

/* ---------- Päis ---------- */
header.topmenu { background: rgba(246,243,238,.86) !important; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease; z-index: 1030; }
header.topmenu.kk-scrolled, header.topmenu.sticky { box-shadow: 0 8px 30px -18px rgba(13,20,23,.35); border-bottom-color: var(--kk-line); }
header.topmenu .navbar { padding: 14px 0; }
.kk-brand { display: inline-flex !important; align-items: center; gap: 12px; text-decoration: none !important; margin-right: 24px; }
.kk-brand .kk-mark { width: 40px; height: 40px; flex: none; transition: transform .25s ease; }
.kk-brand:hover .kk-mark { transform: rotate(-6deg) scale(1.04); }
.kk-word { font-family: var(--kk-display); font-size: 25px; font-weight: 600; color: var(--kk-ink); letter-spacing: -.03em; line-height: 1; }
.kk-word b { font-weight: 600; color: var(--kk-accent); font-style: italic; }
@media (max-width: 400px) { .kk-word { font-size: 21px; } .kk-brand .kk-mark { width: 34px; height: 34px; } }

header.topmenu .navbar-nav > li > a, header.topmenu .menu > li > a {
  font-family: var(--kk-ui); font-weight: 550; font-size: 15px; color: var(--kk-ink) !important; padding: 10px 14px !important; border-radius: 999px;
  text-transform: none !important; transition: background .15s ease;
}
header.topmenu .navbar-nav > li > a:hover, header.topmenu .menu > li.active > a { background: rgba(13,20,23,.06); color: var(--kk-ink) !important; }
header.topmenu .menu > li > a[href*="turunduspaketid"] { color: var(--kk-accent) !important; }
header.topmenu .add-property { margin-left: 10px; padding: 11px 18px !important; font-size: 14px; }
.navbar-toggler { border: 0 !important; width: 44px; height: 44px; border-radius: 12px; background: var(--kk-ink) !important; color: #fff !important; }
.navbar-toggler .fa-bars { color: #fff; }

@media (max-width: 991px) {
  .main-menu-content { background: var(--kk-paper) !important; }
  .main-menu-content .bg-primary { background: var(--kk-ink) !important; padding: 16px !important; }
  .main-menu-nav .navbar-nav > li > a { font-size: 18px !important; padding: 14px 18px !important; border-bottom: 1px solid var(--kk-line); border-radius: 0 !important; }
  header.topmenu .add-property { margin: 16px; display: block; text-align: center; padding: 14px 18px !important; }
}

/* ---------- Avaleht: kangelane ---------- */
#ismain-homes { background: var(--kk-paper); }
.kk-hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.kk-hero__bg { position: absolute; inset: 0; z-index: -2; background: #0D1417 center/cover no-repeat; transform: scale(1.06); animation: kkKen 22s ease-out forwards; }
.kk-hero__bg { background-image: image-set(url("/kk/img/hero.webp") type("image/webp")); }
@media (max-width: 767px) { .kk-hero__bg { background-image: url("/kk/img/hero-m.webp"); } }
.kk-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,20,23,.55) 0%, rgba(13,20,23,.15) 35%, rgba(13,20,23,.72) 72%, rgba(13,20,23,.94) 100%); }
.kk-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .09; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes kkKen { to { transform: scale(1); } }
.kk-hero__inner { width: 100%; padding: 140px 0 56px; }
.kk-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.kk-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--kk-accent); box-shadow: 0 0 0 0 rgba(255,90,31,.7); animation: kkPulse 1.8s infinite; }
@keyframes kkPulse { 70% { box-shadow: 0 0 0 10px rgba(255,90,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,31,0); } }
.kk-hero h1 { color: #fff; font-size: clamp(40px, 7vw, 92px); line-height: .98; font-weight: 600; margin: 22px 0 18px; max-width: 13ch; }
.kk-hero h1 em { font-style: italic; color: var(--kk-gold); font-weight: 500; }
.kk-hero__lead { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: rgba(255,255,255,.86); max-width: 46ch; margin-bottom: 28px; }
.kk-hero__lead strong { color: #fff; }
.kk-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.kk-search { background: rgba(255,255,255,.97); border-radius: 22px; padding: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); color: var(--kk-ink); max-width: 1080px; }
.kk-search__tabs { display: flex; gap: 6px; padding: 4px 4px 10px; flex-wrap: wrap; }
.kk-search__tabs label { margin: 0; cursor: pointer; }
.kk-search__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.kk-search__tabs span { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--kk-muted); transition: all .15s; }
.kk-search__tabs input:checked + span { background: var(--kk-ink); color: #fff; }
.kk-search__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 8px; }
.kk-field { position: relative; display: flex; flex-direction: column; justify-content: center; background: #F4F1EB; border-radius: 14px; padding: 10px 16px; min-height: 62px; }
.kk-field small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kk-muted); }
.kk-field input, .kk-field select { border: 0; background: transparent; font-size: 16px; font-weight: 550; color: var(--kk-ink); padding: 2px 0 0; outline: none; width: 100%; -webkit-appearance: none; appearance: none; }
.kk-search__go { border: 0; border-radius: 14px; background: var(--kk-accent); color: #fff; font-weight: 700; font-size: 16px; padding: 0 28px; display: inline-flex; align-items: center; gap: 10px; transition: background .15s; }
.kk-search__go:hover { background: var(--kk-accent-d); }
@media (max-width: 991px) { .kk-search__row { grid-template-columns: 1fr 1fr; } .kk-search__row .kk-field:first-child { grid-column: 1 / -1; } .kk-search__go { grid-column: 1 / -1; min-height: 56px; justify-content: center; } }
@media (max-width: 575px) { .kk-search__row { grid-template-columns: 1fr; } .kk-hero__inner { padding: 110px 0 28px; } .kk-hero__ctas .kk-btn { flex: 1 1 100%; } .kk-hero { min-height: auto; } }

.kk-proof { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 26px; color: rgba(255,255,255,.78); font-size: 14px; }
.kk-proof b { color: #fff; font-family: var(--kk-display); font-size: 22px; font-weight: 600; margin-right: 6px; }

/* ---------- Sektsioonid ---------- */
.kk-sec { padding: clamp(64px, 9vw, 120px) 0; }
.kk-sec--dark { background: var(--kk-ink); color: rgba(246,243,238,.82); }
.kk-sec--dark h2, .kk-sec--dark h3 { color: #fff; }
.kk-sec--white { background: #fff; }
.kk-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--kk-accent); margin-bottom: 14px; }
.kk-h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.02; font-weight: 600; margin: 0 0 18px; max-width: 18ch; }
.kk-h2 em { font-style: italic; color: var(--kk-accent); font-weight: 500; }
.kk-sec--dark .kk-h2 em { color: var(--kk-gold); }
.kk-lead { font-size: 18px; line-height: 1.6; color: var(--kk-muted); max-width: 58ch; }
.kk-sec--dark .kk-lead { color: rgba(246,243,238,.72); }
.kk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }

/* Tasuta vs tasuline */
.kk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .kk-split { grid-template-columns: 1fr; } }
.kk-plan { border-radius: 26px; padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.kk-plan--free { background: #fff; border: 1px solid var(--kk-line); }
.kk-plan--paid { background: var(--kk-ink); color: rgba(246,243,238,.8); }
.kk-plan--paid::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,31,.45), transparent 65%); }
.kk-plan__tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.kk-plan--free .kk-plan__tag { background: #E3F2EA; color: #146C43; }
.kk-plan--paid .kk-plan__tag { background: var(--kk-accent); color: #fff; }
.kk-plan h3 { font-size: clamp(28px, 3.2vw, 40px); margin: 0 0 8px; font-weight: 600; }
.kk-plan--paid h3 { color: #fff; }
.kk-plan__price { font-family: var(--kk-display); font-size: clamp(40px, 5vw, 64px); font-weight: 600; line-height: 1; margin: 18px 0 6px; }
.kk-plan--free .kk-plan__price { color: #146C43; }
.kk-plan--paid .kk-plan__price { color: #fff; }
.kk-plan__price small { font-family: var(--kk-ui); font-size: 15px; font-weight: 500; opacity: .7; margin-left: 6px; }
.kk-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; position: relative; }
.kk-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.kk-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: #E3F2EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23146C43' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.kk-plan--paid .kk-list li::before { background-color: rgba(255,90,31,.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5A1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Paketid */
.kk-packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1199px) { .kk-packs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .kk-packs { grid-template-columns: 1fr; } }
.kk-pack { background: #fff; border: 1px solid var(--kk-line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; position: relative; }
.kk-pack:hover { transform: translateY(-6px); box-shadow: var(--kk-shadow); }
.kk-pack__img { aspect-ratio: 16/10; background: var(--kk-ink) center/cover no-repeat; position: relative; }
.kk-pack__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13,20,23,.55)); }
.kk-pack__badge { position: absolute; z-index: 1; left: 14px; top: 14px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(13,20,23,.72); color: #fff; backdrop-filter: blur(6px); }
.kk-pack--hot { border: 2px solid var(--kk-accent); }
.kk-pack--hot .kk-pack__badge { background: var(--kk-accent); }
.kk-pack__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.kk-pack h3 { font-size: 26px; margin: 0 0 6px; font-weight: 600; }
.kk-pack p { color: var(--kk-muted); font-size: 15px; line-height: 1.5; margin: 0 0 14px; }
.kk-pack__price { font-family: var(--kk-display); font-size: 36px; font-weight: 600; line-height: 1; margin: 6px 0 4px; }
.kk-pack__price small { font-family: var(--kk-ui); font-size: 13px; color: var(--kk-muted); font-weight: 500; }
.kk-pack .kk-list { margin: 14px 0 20px; gap: 9px; }
.kk-pack .kk-list li { font-size: 14.5px; }
.kk-pack .kk-btn { margin-top: auto; width: 100%; }
.kk-note { margin-top: 22px; font-size: 14px; color: var(--kk-muted); }

/* Kategooriad */
.kk-cats { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 220px; gap: 16px; }
.kk-cat { position: relative; border-radius: 22px; overflow: hidden; display: flex; align-items: flex-end; padding: 22px; color: #fff !important; text-decoration: none !important; background: var(--kk-ink) center/cover no-repeat; isolation: isolate; }
.kk-cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,20,23,0) 30%, rgba(13,20,23,.82)); transition: background .25s; }
.kk-cat:hover::before { background: linear-gradient(180deg, rgba(255,90,31,.15) 0%, rgba(13,20,23,.88)); }
.kk-cat > span { position: absolute; inset: 0; z-index: -2; background: inherit; transition: transform .6s ease; }
.kk-cat:hover > span { transform: scale(1.05); }
.kk-cat h3 { color: #fff; font-size: 28px; margin: 0; font-weight: 600; }
.kk-cat small { display: block; font-size: 14px; color: rgba(255,255,255,.8); margin-top: 4px; }
.kk-cat--big { grid-row: span 2; }
.kk-cat--plain { background: var(--kk-forest); }
@media (max-width: 860px) { .kk-cats { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } .kk-cat--big { grid-column: 1 / -1; grid-row: span 1; } }
@media (max-width: 480px) { .kk-cats { grid-template-columns: 1fr; grid-auto-rows: 160px; } }

/* Sammud */
.kk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 860px) { .kk-steps { grid-template-columns: 1fr; } }
.kk-step { border-top: 1.5px solid rgba(246,243,238,.18); padding-top: 22px; }
.kk-step::before { counter-increment: s; content: "0" counter(s); font-family: var(--kk-display); font-size: 54px; font-weight: 500; color: var(--kk-accent); line-height: 1; display: block; margin-bottom: 14px; }
.kk-step h3 { font-size: 26px; margin: 0 0 8px; }
.kk-step p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(246,243,238,.7); }

/* 5 kanalit */
.kk-channels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 36px; }
@media (max-width: 860px) { .kk-channels { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .kk-channels { grid-template-columns: repeat(2, 1fr); } }
.kk-ch { background: #fff; border: 1px solid var(--kk-line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.kk-ch svg { width: 30px; height: 30px; }
.kk-ch b { font-size: 16px; }
.kk-ch small { color: var(--kk-muted); font-size: 13px; }

/* Lõpu-CTA */
.kk-cta { border-radius: 32px; padding: clamp(36px, 6vw, 72px); background: var(--kk-accent) url("/kk/img/droon.webp") center/cover; position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.kk-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(13,20,23,.92) 20%, rgba(13,20,23,.35)); }
.kk-cta h2 { color: #fff; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; margin: 0 0 16px; max-width: 16ch; }
.kk-cta p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 48ch; margin: 0 0 26px; }

/* ---------- Teema plokid (kuulutuste kaardid jne) ---------- */
.homehouse, .projecthome { padding-top: 64px !important; }
.homehouse h2, .projecthome h2, #ismain-homes h2 { font-weight: 600; }
.box_shadow, .item .blii { border-radius: var(--kk-radius) !important; }
.item { background: #fff; border-radius: var(--kk-radius); overflow: hidden; box-shadow: none !important; border: 1px solid var(--kk-line); transition: transform .2s ease, box-shadow .2s ease; }
.item:hover { transform: translateY(-4px); box-shadow: var(--kk-shadow) !important; }
.item .blii { border-radius: 0 !important; }
.item .img img.thumb { transition: transform .6s ease; }
.item:hover .img img.thumb { transform: scale(1.04); }
.item .description { padding: 16px 18px 18px !important; }
.item .description h5 { font-family: var(--kk-ui); font-weight: 700; font-size: 17px; }
.item .item-price-wrap .item-price span { background: var(--kk-accent) !important; }
.item .item-price-wrap .h-type span { background: var(--kk-ink) !important; }
.item .status span, .item .status .label { border-radius: 999px !important; font-weight: 700; }
.item .heart { color: var(--kk-accent) !important; }

/* Lehe päis (alamlehed) */
.bgheadproject { background: var(--kk-ink) url("/kk/img/tallinn.webp") center/cover !important; position: relative; isolation: isolate; }
.bgheadproject::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,20,23,.55), rgba(13,20,23,.88)); }
.bgheadproject h1 { font-family: var(--kk-display) !important; font-weight: 600 !important; color: #fff !important; letter-spacing: -.02em; }

/* Vormid */
.form-control { border-radius: 12px !important; border-color: var(--kk-line) !important; min-height: 48px; }
.form-control:focus { border-color: var(--kk-accent) !important; box-shadow: 0 0 0 4px rgba(255,90,31,.15) !important; }
textarea.form-control { min-height: 140px; }

/* Jalus */
footer { background: var(--kk-ink) !important; color: rgba(246,243,238,.7) !important; padding: 64px 0 0; margin-top: 0 !important; }
footer a, footer p, footer li a { color: rgba(246,243,238,.75) !important; }
footer a:hover { color: #fff !important; }
footer h4, footer .widget-title, footer h3 { color: #fff !important; font-family: var(--kk-ui); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
footer .kk-word { color: #fff; }
footer .copyright { border-top: 1px solid rgba(246,243,238,.12) !important; margin-top: 40px; padding: 22px 0; }
footer .copyright p { font-size: 13px; }
.kk-credits { font-size: 11.5px; opacity: .55; margin-top: 6px; line-height: 1.6; }
.kk-credits a { text-decoration: underline; }
.kk-foot-pitch { font-size: 15px; line-height: 1.6; margin: 16px 0 18px; max-width: 34ch; }

/* Pakettide leht */
.kk-page-hero { background: var(--kk-ink) url("/kk/img/droon.webp") center/cover; position: relative; isolation: isolate; color: #fff; padding: clamp(80px, 12vw, 150px) 0 clamp(56px, 8vw, 90px); }
.kk-page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,20,23,.6), rgba(13,20,23,.92)); }
.kk-page-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 80px); line-height: 1; font-weight: 600; margin: 16px 0; max-width: 14ch; }
.kk-page-hero h1 em { color: var(--kk-gold); font-weight: 500; }
.kk-page-hero p { font-size: 19px; max-width: 52ch; color: rgba(255,255,255,.82); }
.kk-order { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .kk-order { grid-template-columns: 1fr; } }
.kk-order__box { background: #fff; border: 1px solid var(--kk-line); border-radius: 26px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--kk-shadow); }
.kk-faq details { border-bottom: 1px solid var(--kk-line); padding: 18px 0; }
.kk-faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.kk-faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--kk-accent); transition: transform .2s; }
.kk-faq details[open] summary::after { transform: rotate(45deg); }
.kk-faq p { margin: 12px 0 0; color: var(--kk-muted); line-height: 1.6; }

/* Kui lehe-sisu on täislaiuses (kk-sektsioonid), eemalda teema konteineri polsterdus */
.kk-full { margin-left: 0; margin-right: 0; }

/* Ilmumisanimatsioon */
.kk-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.kk-reveal.kk-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .kk-reveal { opacity: 1; transform: none; } .kk-hero__bg { animation: none; } }

/* Tellimiskast: ainult vorm, ilma teema kontaktandmete veeruta */
.kk-order__box .row > .col-md-6:first-child:has(.contact-main) { display: none; }
.kk-order__box .row > .col-md-6:has(form) { flex: 0 0 100%; max-width: 100%; }
.kk-order__box .wrapper { padding: 0 !important; background: transparent !important; box-shadow: none !important; border: 0 !important; }
.kk-order__box .wrapper h3, .kk-order__box .wrapper h2 { font-size: 26px; margin-bottom: 16px; }
.kk-order__box .contact-form .btn, .kk-order__box .contact-form button[type="submit"] { background: var(--kk-accent) !important; border: 0 !important; color: #fff !important; border-radius: 999px !important; padding: 14px 26px !important; font-weight: 700; width: 100%; }
.skeleton-heading-subtitle { max-width: 100%; }
@media (max-width: 991px) { .bravo_topbar .topbar-right { display: none !important; } }

/* Grid-veerud ei tohi sisu tõttu laiemaks venida (tellimislehe tekst lõikus ära) */
.kk-order > *, .kk-split > *, .kk-packs > *, .kk-steps > * { min-width: 0; }
.kk-order .kk-lead, .kk-faq p { overflow-wrap: anywhere; }

/* Registreerimine: maakler / omanik */
.kk-types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.kk-types__label { grid-column: 1 / -1; font-weight: 700; font-size: 14px; }
.kk-type { margin: 0; cursor: pointer; }
.kk-type input { position: absolute; opacity: 0; pointer-events: none; }
.kk-type span { display: block; height: 100%; border: 1.5px solid var(--kk-line); border-radius: 14px; padding: 14px; transition: border-color .15s, background .15s; }
.kk-type b { display: block; font-size: 15px; margin-bottom: 4px; }
.kk-type small { display: block; font-size: 12.5px; color: var(--kk-muted); line-height: 1.4; }
.kk-type input:checked + span { border-color: var(--kk-accent); background: rgba(255,90,31,.06); box-shadow: 0 0 0 3px rgba(255,90,31,.12); }
.kk-type input:focus-visible + span { outline: 2px solid var(--kk-accent); outline-offset: 2px; }
@media (max-width: 420px) { .kk-types { grid-template-columns: 1fr; } }

/* Otse omanikult */
.kk-owner-badge { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: #E3F2EA; color: #146C43; font-size: 12px; font-weight: 700; white-space: nowrap; }
.kk-owner-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1E9E5A; }
.kk-owner-list { padding-top: 40px; padding-bottom: 80px; }

/* Päise menüü: alati ühel real */
header.topmenu .container-fluid.w90 { max-width: 1440px; }
@media (min-width: 992px) {
  header.topmenu .navbar-nav, header.topmenu .menu { flex-wrap: nowrap !important; }
  header.topmenu .navbar-nav > li > a, header.topmenu .menu > li > a { white-space: nowrap; padding: 10px 12px !important; }
  header.topmenu .add-property { white-space: nowrap; }
  .main-menu-nav { align-items: center; }
}
@media (min-width: 992px) and (max-width: 1439px) {
  header.topmenu .navbar-nav > li > a, header.topmenu .menu > li > a { padding: 8px 8px !important; font-size: 14px; }
  .kk-brand { margin-right: 10px; }
  header.topmenu .add-property { padding: 10px 14px !important; font-size: 13px; margin-left: 6px; }
}
@media (min-width: 992px) and (max-width: 1279px) {
  .kk-word { display: none; }
}

/* Partnerpaketid (tumedal taustal) */
.kk-pack--sub { background: var(--kk-ink-2); border-color: rgba(246,243,238,.1); color: rgba(246,243,238,.78); }
.kk-pack--sub h3, .kk-pack--sub .kk-pack__price { color: #fff; }
.kk-pack--sub p, .kk-pack--sub .kk-pack__price small { color: rgba(246,243,238,.62); }
.kk-pack--sub .kk-list li::before { background-color: rgba(255,90,31,.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5A1F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.kk-pack--sub .kk-btn--line { border-color: rgba(246,243,238,.5); color: #fff !important; }
.kk-pack--sub .kk-btn--line:hover { background: #fff; color: var(--kk-ink) !important; }
.kk-pack--sub.kk-pack--hot { border-color: var(--kk-accent); box-shadow: 0 30px 60px -30px rgba(255,90,31,.55); }
.kk-pack--custom { background: linear-gradient(160deg, var(--kk-forest), var(--kk-ink-2)); }
.kk-pack__tier { display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(246,243,238,.1); color: #fff; margin-bottom: 14px; }
.kk-pack--hot .kk-pack__tier { background: var(--kk-accent); }
.kk-pack--custom .kk-pack__price { font-size: 30px; }
.kk-partner-strip { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 20px 22px; border-radius: 20px; background: var(--kk-paper); border: 1px dashed var(--kk-line); font-size: 16px; line-height: 1.5; }
.kk-partner-strip > div { flex: 1 1 320px; }
/* <button>-elemendil on brauseri vaikimisi hall taust – joonnupud peavad olema läbipaistvad */
button.kk-btn { font-family: inherit; cursor: pointer; }
.kk-btn--line, .kk-btn--ghost { background-color: transparent; }

/* Sõidutsoonid */
.kk-zones { margin-top: 26px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 12px; }
.kk-zones__head { display: flex; flex-direction: column; gap: 6px; padding: 18px 4px; font-size: 14.5px; line-height: 1.5; color: var(--kk-muted); }
.kk-zones__head b { font-size: 18px; color: var(--kk-ink); }
.kk-zone { background: #fff; border: 1px solid var(--kk-line); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kk-zone small { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--kk-accent); }
.kk-zone b { font-family: var(--kk-display); font-size: 30px; font-weight: 600; line-height: 1.1; }
.kk-zone span { font-size: 14px; color: var(--kk-muted); line-height: 1.45; }
@media (max-width: 991px) { .kk-zones { grid-template-columns: 1fr 1fr 1fr; } .kk-zones__head { grid-column: 1 / -1; padding: 0; } }
@media (max-width: 600px) { .kk-zones { grid-template-columns: 1fr; } }
/* Tellimisvormi nupp: tekst täpselt keskel */
.kk-order__box .contact-form button[type="submit"], .kk-order__box .contact-form .btn {
  display: flex !important; align-items: center; justify-content: center; height: auto !important; min-height: 54px;
  line-height: 1.2 !important; padding: 15px 26px !important; font-size: 16px; margin-top: 8px;
}
.kk-order__box .contact-form button[type="submit"] > *, .kk-order__box .contact-form .btn > * { margin: 0 !important; }
/* Jalus: logoveerg ei tohi kattuda menüüdega */
footer .kk-brand { flex-wrap: nowrap; }
footer .kk-word { font-size: 22px; }
@media (max-width: 1199px) {
  footer > .container-fluid > .row > .col-sm-3, footer > .container-fluid > .row > .col-sm-9 { flex: 0 0 100%; max-width: 100%; }
  footer > .container-fluid > .row > .col-sm-3 { margin-bottom: 28px; }
  footer .kk-foot-pitch { max-width: 52ch; }
}
footer .kk-mark rect { fill: #1F2B31; stroke: rgba(246,243,238,.18); stroke-width: 1; }

/* Kanal: videod, vlog, uudised */
.kk-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kk-video { background: #fff; border: 1px solid var(--kk-line); border-radius: 20px; overflow: hidden; min-width: 0; }
.kk-video video { width: 100%; aspect-ratio: 16/9; background: var(--kk-ink); display: block; object-fit: cover; }
.kk-video a { display: block; padding: 14px 16px 16px; text-decoration: none !important; }
.kk-video h3 { font-family: var(--kk-ui); font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.kk-video span { color: var(--kk-muted); font-size: 14px; }
.kk-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kk-post { display: block; text-decoration: none !important; min-width: 0; }
.kk-post__img { display: block; aspect-ratio: 16/10; border-radius: 18px; background: var(--kk-ink) center/cover; margin-bottom: 12px; transition: transform .3s; }
.kk-post:hover .kk-post__img { transform: translateY(-4px); }
.kk-post small { color: var(--kk-accent); font-weight: 700; font-size: 12.5px; }
.kk-post h3 { font-family: var(--kk-ui); font-size: 19px; font-weight: 700; margin: 4px 0 6px; }
.kk-post p { color: var(--kk-muted); font-size: 15px; line-height: 1.5; margin: 0; }
.kk-empty { border: 1px dashed var(--kk-line); border-radius: 22px; padding: 34px; text-align: center; background: rgba(255,255,255,.5); }
.kk-empty .kk-live { background: var(--kk-ink); border-color: transparent; color: #fff; }
.kk-empty p { margin: 14px 0 0; color: var(--kk-muted); font-size: 16px; }
@media (max-width: 991px) { .kk-videos, .kk-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .kk-videos, .kk-posts { grid-template-columns: 1fr; } }
