/* Karlaane Site plugin styles */
.k-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,470px);gap:70px;align-items:center;padding:82px 0 95px}
.k-hero h1{font-size:clamp(2.8rem,5vw,5.2rem);line-height:.99;letter-spacing:-.06em;margin:0 0 24px;font-weight:850}
.k-hero__product{min-width:0}
.k-product-card{background:#fff;border:1px solid #e3e7e3;border-radius:18px;overflow:hidden;box-shadow:0 14px 40px rgba(37,42,39,.08);height:100%}
.k-product-card__image{aspect-ratio:1.45;background:#edf1ec;overflow:hidden}
.k-product-card__image img{width:100%;height:100%;object-fit:cover;display:block}
.k-product-card__body{padding:23px}
.k-product-code{display:inline-block;font-size:.9rem;font-weight:850;letter-spacing:.1em;color:#3f7d4a;text-transform:uppercase;margin-bottom:6px}
.k-product-card h3{font-size:1.35rem;line-height:1.2;margin:0 0 15px}
.k-product-card p{font-size:.9rem;color:#66706a;margin:0 0 10px}
.k-product-card p strong{color:#252a27}
.k-product-info{border-top:1px solid #e3e7e3;padding-top:13px;margin-top:13px!important}
.k-card-link{display:flex;justify-content:space-between;margin-top:17px;padding-top:16px;border-top:1px solid #e3e7e3;text-decoration:none;font-weight:800;color:#3f7d4a}
.k-carousel-block{padding:30px 0 75px}
.k-carousel-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.k-carousel-head h2{font-size:clamp(1.8rem,3vw,2.6rem);letter-spacing:-.04em;margin:0}
.k-carousel-controls{display:flex;gap:7px}
.k-carousel-controls button{width:40px;height:40px;border:1px solid #e3e7e3;border-radius:50%;background:#fff;cursor:pointer;font-size:1rem}
.k-carousel{display:flex;align-items:stretch;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:3px 3px 18px;scrollbar-width:thin}
.k-carousel>.k-product-card{flex:0 0 min(360px,82vw);scroll-snap-align:start;height:auto}
.k-process{margin-left:-24px;margin-right:-24px;padding:75px 24px}
.k-process h2{font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.05em;margin:0 0 32px}
.k-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.k-steps>div{background:#fff;border:1px solid #e3e7e3;border-radius:16px;padding:23px}
.k-steps b{color:#3f7d4a;font-size:.8rem}
.k-steps h3{margin:8px 0 6px}
.k-steps p{margin:0;color:#66706a}
.k-options{margin-top:28px;color:#66706a}
.k-form{max-width:800px}
.k-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.k-form label{display:block;font-weight:700;margin:0 0 16px}
.k-form input,.k-form textarea{display:block;width:100%;margin-top:7px;padding:13px 14px;border:1px solid #dce1dc;border-radius:10px;background:#fff;font:inherit;color:#252a27}
.k-form textarea{resize:vertical}
.k-check{font-weight:500!important;font-size:.9rem;color:#66706a}
.k-check input{display:inline;width:auto;margin-right:7px}
.k-form button{cursor:pointer;border:0}
.k-notice{padding:14px 17px;border-radius:12px;background:#eef6ef;color:#2f6038;margin:0 0 24px}
.k-cookie{position:fixed;z-index:100;left:20px;right:20px;bottom:20px;max-width:900px;margin:auto;background:#252a27;color:#fff;border-radius:15px;padding:17px 19px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 20px 50px rgba(0,0,0,.18)}
.k-cookie p{margin:3px 0 0;color:#d5dbd6;font-size:.88rem}
.k-cookie__actions{display:flex;align-items:center;gap:12px;white-space:nowrap}
.k-cookie__actions button{border:0;border-radius:999px;padding:10px 15px;background:#3f7d4a;color:#fff;font-weight:800;cursor:pointer}
.k-cookie__actions a{color:#fff;font-size:.85rem}
.k-admin-placeholder{border:1px dashed #9eaaa0;padding:25px;border-radius:12px;background:#f7f9f6}
@media(max-width:780px){
 .k-hero{grid-template-columns:1fr;gap:35px;padding:55px 0 65px}
 .k-steps{grid-template-columns:1fr 1fr}
 .k-form-grid{grid-template-columns:1fr}
 .k-cookie{left:12px;right:12px;bottom:12px;display:block}
 .k-cookie__actions{margin-top:12px}
}
@media(max-width:480px){.k-steps{grid-template-columns:1fr}}
.k-product-card{display:flex;flex-direction:column}
.k-product-card__image{position:relative;width:100%;padding:0;border:0;cursor:zoom-in;background:#edf1ec}
.k-product-card__image img{transition:transform .2s ease}
.k-product-card__image:hover img{transform:scale(1.025)}
.k-product-card__zoom{position:absolute;right:12px;bottom:12px;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(37,42,39,.82);color:#fff;font-size:1.05rem;pointer-events:none}
.k-product-card__body{display:flex;flex-direction:column;flex:1}
.k-card-link{margin-top:auto}
.k-cookie[hidden]{display:none!important}
.k-lightbox[hidden]{display:none!important}
.k-lightbox{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:30px}
.k-lightbox__backdrop{position:absolute;inset:0;background:rgba(20,24,21,.82);cursor:zoom-out}
.k-lightbox__dialog{position:relative;z-index:1;max-width:min(1100px,94vw);max-height:90vh;display:flex;align-items:center;justify-content:center}
.k-lightbox__img{display:block;max-width:94vw;max-height:88vh;width:auto;height:auto;border-radius:12px;box-shadow:0 25px 80px rgba(0,0,0,.35)}
.k-lightbox__close{position:absolute;right:-12px;top:-14px;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#252a27;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 5px 20px rgba(0,0,0,.2)}
.k-lightbox-open{overflow:hidden}

/* v1.0.6: equal-height catalogue cards */
.k-carousel{align-items:stretch}
.k-carousel>.k-product-card{display:flex;flex-direction:column}
.k-carousel>.k-product-card .k-product-card__body{display:flex;flex-direction:column;flex:1}
.k-carousel>.k-product-card .k-card-link{margin-top:auto}
.k-product-code{display:block;font-size:1.05rem;line-height:1.2;font-weight:850;letter-spacing:.02em;margin:0 0 16px}

.k-carousel-description{max-width:780px;margin:8px 0 0;color:#66706a;font-size:.98rem;line-height:1.6}.k-options ul{margin:10px 0 0 1.15rem;padding:0}.k-options li{margin:5px 0}
.k-hero__product .k-product-card.is-hero-slide{display:none}.k-hero__product .k-product-card.is-hero-slide.is-active{display:flex}

.k-roof-note{margin:0 auto 55px;max-width:920px;padding:0 2px;color:#66706a;font-size:.98rem;line-height:1.7}
.k-hero-slide{display:none}.k-hero-slide.is-active{display:block}

/* Hero product crossfade */
.k-hero__product{position:relative;min-height:520px}
.k-hero-slide{display:block;position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s ease}
.k-hero-slide.is-active{opacity:1;visibility:visible}
.k-hero-slide>.k-product-card{height:100%}
.k-finish-notes{max-width:980px;margin:-25px auto 55px;padding:0 24px;color:var(--k-muted);font-size:.95rem;line-height:1.65}
.k-finish-notes p{margin:8px 0}
.k-finish-notes strong{color:var(--k-graphite)}
@media (max-width:780px){.k-hero__product{min-height:560px}.k-finish-notes{margin-top:-10px}}

.k-contact-direct{display:flex;flex-direction:column;gap:16px;margin:0 0 32px}.k-contact-direct__item{display:inline-flex;align-items:center;gap:14px;width:max-content;text-decoration:none;font-weight:650}.k-contact-direct__item:hover{color:var(--k-green)}.k-contact-direct__icon{width:34px;height:34px;border:2px solid var(--k-green);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--k-green);font-size:18px;line-height:1}.k-contact-direct__item span:last-child{transition:color .2s ease}.k-contact-direct__item:hover span:last-child{color:var(--k-green)}

.k-steps-editor{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:28px}
.k-step-editor{padding:22px;border:1px solid #e6e8e6;border-radius:14px;background:#fff}
.k-step-editor b{font-size:14px;letter-spacing:.08em}
@media(max-width:900px){.k-steps-editor{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.k-steps-editor{grid-template-columns:1fr}}

/* Product cards intentionally restored to the 1.0.x reference appearance. */


/* About page */
.k-about-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:50px;align-items:end;padding:88px 0 74px;border-bottom:1px solid #e3e7e3;overflow:hidden}
.k-about-hero:before{content:"";position:absolute;width:360px;height:360px;right:-150px;top:-150px;border-radius:50%;background:#eef5ee;z-index:-1}
.k-about-hero__main{max-width:820px}
.k-about-eyebrow{margin:0 0 14px;color:#3f7d4a;font-size:.78rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.k-about-hero h1{margin:0;max-width:850px;font-size:clamp(2.7rem,6vw,5.2rem);line-height:.98;letter-spacing:-.06em;font-weight:850}
.k-about-lead{max-width:760px;margin:28px 0 0;font-size:1.16rem;line-height:1.7;color:#66706a}
.k-about-hero__badge{justify-self:end;width:220px;min-height:220px;padding:25px;border:1px solid #dce3dc;border-radius:50%;background:#fff;box-shadow:0 18px 45px rgba(37,42,39,.08);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;transform:rotate(3deg)}
.k-about-hero__number{color:#3f7d4a;font-size:.78rem;font-weight:850;letter-spacing:.12em;margin-bottom:8px}
.k-about-hero__badge strong{font-size:1.25rem;letter-spacing:-.02em}
.k-about-hero__badge span:last-child{display:block;margin-top:8px;color:#66706a;font-size:.78rem;line-height:1.45;max-width:145px}
.k-about-intro{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:80px;padding:82px 0 65px}
.k-about-intro h2,.k-about-support h2,.k-about-final h2{margin:0;font-size:clamp(2rem,3.8vw,3.35rem);line-height:1.05;letter-spacing:-.05em}
.k-about-intro__text{padding-top:30px;font-size:1.08rem;color:#66706a;line-height:1.75}
.k-about-intro__text p{margin:0 0 18px}
.k-about-values{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:20px 0 92px}
.k-about-value{position:relative;min-height:260px;padding:28px;border:1px solid #e3e7e3;border-radius:18px;background:#fff;box-shadow:0 14px 40px rgba(37,42,39,.06);overflow:hidden}
.k-about-value:after{content:"";position:absolute;width:90px;height:90px;right:-28px;bottom:-30px;border-radius:50%;background:#f0f5f0}
.k-about-value__mark{color:#3f7d4a;font-size:.78rem;font-weight:850;letter-spacing:.1em}
.k-about-value h3{margin:34px 0 10px;font-size:1.55rem;letter-spacing:-.035em}
.k-about-value p{margin:0;color:#66706a;line-height:1.65;font-size:.96rem}
.k-about-support{display:grid;grid-template-columns:180px minmax(0,1fr);gap:45px;padding:58px 0 62px;border-top:1px solid #e3e7e3;border-bottom:1px solid #e3e7e3;background:linear-gradient(90deg,#f5f7f4 0%,#fff 72%)}
.k-about-support__label{font-size:.78rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#3f7d4a;padding-top:8px}
.k-about-support__content{max-width:820px}
.k-about-support__content p{max-width:790px;margin:22px 0;color:#66706a;line-height:1.7;font-size:1.02rem}
.k-about-support__link{display:inline-flex;align-items:center;gap:10px;color:#3f7d4a;text-decoration:none;font-weight:800}
.k-about-support__link:hover{text-decoration:underline}
.k-about-final{display:flex;justify-content:space-between;align-items:end;gap:35px;padding:92px 0 100px}
.k-about-final h2{max-width:780px}
.k-about-final__button{flex:0 0 auto;display:inline-flex;align-items:center;gap:14px;padding:14px 20px;border-radius:999px;background:#3f7d4a;color:#fff;text-decoration:none;font-weight:800}
.k-about-final__button:hover{background:#2f6038}
@media(max-width:900px){
 .k-about-hero{grid-template-columns:1fr;gap:35px;padding:65px 0 55px}
 .k-about-hero__badge{justify-self:start;width:175px;min-height:175px}
 .k-about-intro{grid-template-columns:1fr;gap:10px;padding:65px 0 45px}
 .k-about-intro__text{padding-top:0}
 .k-about-values{grid-template-columns:1fr;padding-bottom:65px}
 .k-about-value{min-height:0}
 .k-about-support{grid-template-columns:1fr;gap:10px;padding:48px 0}
 .k-about-final{align-items:flex-start;flex-direction:column;padding:70px 0 75px}
}

/* v1.1.7: mobile carousel header keeps navigation out of the text column */
@media (max-width:780px){
 .k-carousel-head{display:block;min-width:0}
 .k-carousel-head>div:first-child{min-width:0;width:100%}
 .k-carousel-head h2{max-width:none;width:100%;overflow-wrap:break-word}
 .k-carousel-description{max-width:none;width:100%;overflow-wrap:break-word}
 .k-carousel-controls{margin-top:14px;justify-content:flex-start;align-items:center}
}

/* Korteriühistutele landing page */
.k-ku-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:28px;align-items:stretch;margin:0 0 72px}
.k-ku-hero__copy{padding:54px 0 34px}
.k-ku-hero__copy h1{max-width:850px;font-size:clamp(2.6rem,6vw,5.4rem);line-height:.98;letter-spacing:-.055em;margin:8px 0 24px}
.k-ku-hero__lead{max-width:720px;font-size:1.16rem;line-height:1.7;color:#59625d}
.k-ku-hero__side{background:#1f2723;color:#fff;border-radius:28px;padding:34px;display:flex;flex-direction:column;justify-content:flex-end;min-height:360px}
.k-ku-hero__number{font-size:5rem;font-weight:800;letter-spacing:-.07em;line-height:1;margin-bottom:auto;color:#8fba98}
.k-ku-hero__side strong{font-size:1.3rem;margin-bottom:8px}
.k-ku-hero__side span:last-child{color:#cbd4cf;line-height:1.6}
.k-ku-hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.k-ku-button{display:inline-flex;align-items:center;gap:12px;padding:14px 20px;border-radius:999px;text-decoration:none;font-weight:700}
.k-ku-button--primary{background:#3f7d4a;color:#fff}
.k-ku-button--primary:hover{background:#2f6038;color:#fff}
.k-ku-button--ghost{border:1px solid #d6ddd8;color:#202622;background:#fff}
.k-ku-intro{display:grid;grid-template-columns:.6fr 1.4fr;gap:48px;border-top:1px solid #e2e7e3;padding:60px 0}
.k-ku-section-label{font-weight:800;text-transform:uppercase;letter-spacing:.1em;font-size:.76rem;color:#3f7d4a}
.k-ku-intro h2,.k-ku-process h2,.k-ku-support h2,.k-ku-final h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.05;letter-spacing:-.045em;margin:0 0 22px}
.k-ku-intro p{font-size:1.06rem;line-height:1.8;color:#59625d;max-width:780px}
.k-ku-services{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:8px 0 80px}
.k-ku-services article{border:1px solid #e1e6e2;border-radius:22px;padding:26px;min-height:260px;background:#fff}
.k-ku-services article span,.k-ku-quality span{font-weight:800;color:#3f7d4a;font-size:.8rem}
.k-ku-services h3{font-size:1.35rem;margin:40px 0 12px}
.k-ku-services p,.k-ku-steps p,.k-ku-quality p{line-height:1.65;color:#626b66}
.k-ku-process{background:#f3f6f3;border-radius:30px;padding:54px;margin-bottom:72px}
.k-ku-process__head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:34px}
.k-ku-process__head h2{max-width:520px;margin:0}
.k-ku-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.k-ku-steps>div{border-top:2px solid #b9cfc0;padding-top:18px}
.k-ku-steps b{font-size:.82rem;color:#3f7d4a}
.k-ku-steps h3{margin:28px 0 8px}
.k-ku-support{display:grid;grid-template-columns:150px 1fr;gap:40px;background:#1f2723;color:#fff;border-radius:30px;padding:48px;margin-bottom:72px}
.k-ku-support .k-about-eyebrow{color:#8fba98}
.k-ku-support h2{max-width:800px}
.k-ku-support p{color:#d2dad5;line-height:1.75;max-width:820px}
.k-ku-support__badge{font-size:.75rem;font-weight:800;letter-spacing:.12em;color:#8fba98;padding-top:5px}
.k-ku-support__link{display:inline-flex;gap:10px;color:#fff;font-weight:700;text-decoration:none;border-bottom:1px solid #3f7d4a;padding-bottom:5px}
.k-ku-quality{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid #e1e6e2;border-bottom:1px solid #e1e6e2;margin-bottom:72px}
.k-ku-quality>div{padding:34px;border-right:1px solid #e1e6e2}
.k-ku-quality>div:last-child{border-right:0}
.k-ku-quality h3{font-size:1.45rem;margin:34px 0 10px}
.k-ku-final{text-align:center;max-width:760px;margin:0 auto 30px;padding:20px 0 50px}
.k-ku-final .k-about-eyebrow{color:#3f7d4a}
.k-ku-final p{color:#626b66;line-height:1.7;margin:0 auto 26px}
@media(max-width:900px){
 .k-ku-hero{grid-template-columns:1fr}.k-ku-hero__side{min-height:250px}
 .k-ku-services{grid-template-columns:repeat(2,1fr)}
 .k-ku-steps{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
 .k-ku-hero{margin-bottom:48px}.k-ku-hero__copy{padding-top:24px}
 .k-ku-hero__copy h1{font-size:clamp(2.35rem,12vw,3.8rem)}
 .k-ku-hero__side{min-height:220px;padding:26px;border-radius:22px}
 .k-ku-intro{grid-template-columns:1fr;gap:18px;padding:44px 0}
 .k-ku-services,.k-ku-steps{grid-template-columns:1fr;margin-bottom:48px}
 .k-ku-services article{min-height:auto}
 .k-ku-process,.k-ku-support{padding:30px;border-radius:22px;margin-bottom:48px}
 .k-ku-process__head{display:block}
 .k-ku-support{grid-template-columns:1fr;gap:18px}
 .k-ku-quality{grid-template-columns:1fr;margin-bottom:48px}
 .k-ku-quality>div{border-right:0;border-bottom:1px solid #e1e6e2}
 .k-ku-quality>div:last-child{border-bottom:0}
}
