/*
Theme Name: Keverest
Theme URI: https://www.keverest.ca
Author: KEVEREST Technologies Inc
Description: Custom theme for KEVEREST Technologies
Version: 1.0.0
Text Domain: keverest
*/

/* ── RESET ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html,body{height:100%;overflow:hidden;font-family:'Segoe UI',Arial,sans-serif;background:#f4f6f9;color:#1a1a2e;}

/* ── SCROLL WRAPPER ── */
#kw{position:fixed;top:102px;bottom:0;left:0;right:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;}

/* ── TOPBAR ── */
#kt{position:fixed;top:0;left:0;right:0;height:34px;background:#0b3d2e;color:#a8d5b5;font-size:12px;display:flex;align-items:center;z-index:10000;}
#kt-in{max-width:1200px;margin:auto;padding:0 24px;width:100%;display:flex;align-items:center;justify-content:space-between;}
#kt a{color:#a8d5b5;text-decoration:none;}
.kt-c{display:flex;gap:18px;}
.kt-c span{display:flex;align-items:center;gap:5px;}
.kt-c svg{width:12px;height:12px;fill:#5db88a;flex-shrink:0;}

/* ── HEADER ── */
#kh{position:fixed;top:34px;left:0;right:0;height:68px;background:#fff;border-bottom:1px solid #e0e6e3;box-shadow:0 2px 12px rgba(0,80,50,.07);z-index:9999;display:flex;align-items:center;}
#kh-in{max-width:1200px;margin:auto;padding:0 24px;width:100%;display:flex;align-items:center;justify-content:space-between;}
.kh-logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.kh-lm{width:38px;height:38px;background:linear-gradient(135deg,#1a6b45,#2ecc88);border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.kh-lm svg{width:22px;height:22px;fill:#fff;display:block;}
.kh-lt{font-size:20px;font-weight:700;color:#0b3d2e;letter-spacing:.5px;}
.kh-lt span{color:#2ecc88;}
.kh-nav{display:flex;align-items:center;gap:4px;}
.kh-nav a{text-decoration:none;color:#2c4a3e;font-size:14px;font-weight:500;padding:8px 14px;border-radius:7px;transition:background .2s,color .2s;}
.kh-nav a:hover,.kh-nav a.active{background:#eaf7f0;color:#1a6b45;}
.kh-cta{background:#1a6b45;color:#fff;font-size:13px;font-weight:600;padding:9px 20px;border-radius:8px;text-decoration:none;white-space:nowrap;}
.kh-cta:hover{background:#145435;color:#fff;}
.kh-ham{display:none;flex-direction:column;gap:5px;cursor:pointer;border:none;background:none;padding:8px;}
.kh-ham span{width:23px;height:2px;background:#2c4a3e;border-radius:2px;display:block;}
#kh-mob{display:none;position:fixed;top:102px;left:0;right:0;background:#fff;border-top:1px solid #e0e6e3;padding:16px 24px 20px;flex-direction:column;gap:4px;box-shadow:0 8px 24px rgba(0,0,0,.08);z-index:9998;}
#kh-mob.open{display:flex;}
#kh-mob a{color:#2c4a3e;text-decoration:none;font-size:15px;font-weight:500;padding:10px 12px;border-radius:7px;}
#kh-mob a:hover{background:#eaf7f0;}
#kh-mob .kh-cta{text-align:center;margin-top:8px;padding:12px;}

/* ── FOOTER ── */
#kf{background:#3a3a3a;color:#ccc;font-family:'Segoe UI',Arial,sans-serif;}
.kf-top{max-width:1200px;margin:auto;padding:40px 24px 28px;display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1fr;gap:28px;}
.kf-top h4{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:#bbb;margin-bottom:16px;}
.kf-top ul{list-style:none;padding:0;margin:0;}
.kf-top ul li{margin-bottom:8px;}
.kf-top ul li a{color:#bbb;text-decoration:none;font-size:13px;}
.kf-top ul li a:hover{color:#fff;}
.kf-mid{border-top:1px solid #555;max-width:1200px;margin:0 auto;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;}
.kf-contact{display:flex;gap:20px;flex-wrap:wrap;}
.kf-contact span{display:flex;align-items:center;gap:7px;font-size:13px;color:#bbb;}
.kf-contact svg{width:14px;height:14px;fill:#2ecc88;flex-shrink:0;}
.kf-contact a{color:#bbb;text-decoration:none;}
.kf-certs{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.kf-cert{display:flex;align-items:center;gap:6px;}
.kf-cert-ic{width:22px;height:22px;background:#1e6643;border-radius:5px;display:flex;align-items:center;justify-content:center;}
.kf-cert-ic svg{width:12px;height:12px;fill:#2ecc88;}
.kf-cert span{font-size:11px;color:#bbb;}
.kf-bot{background:#2a2a2a;border-top:1px solid #444;}
.kf-bot-in{max-width:1200px;margin:0 auto;padding:12px 24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;}
.kf-bot-in p{font-size:11px;color:#777;}
.kf-links{display:flex;gap:14px;}
.kf-links a{font-size:11px;color:#777;text-decoration:none;}
.kf-links a:hover{color:#bbb;}

/* ── SHARED HERO ── */
.k-hero{background:linear-gradient(135deg,#0b3d2e 0%,#1a6b45 60%,#2ecc88 100%);padding:80px 24px;text-align:center;position:relative;overflow:hidden;}
.k-hero::before{content:'';position:absolute;top:-80px;right:-80px;width:320px;height:320px;background:rgba(255,255,255,.04);border-radius:50%;}
.k-hero::after{content:'';position:absolute;bottom:-80px;left:-60px;width:260px;height:260px;background:rgba(255,255,255,.03);border-radius:50%;}
.k-hero-badge{display:inline-block;background:rgba(255,255,255,.15);color:#fff;font-size:12px;font-weight:600;padding:5px 16px;border-radius:20px;letter-spacing:1px;text-transform:uppercase;margin-bottom:20px;}
.k-hero h1{font-size:clamp(28px,5vw,52px);font-weight:800;color:#fff;line-height:1.2;margin-bottom:16px;}
.k-hero h1 em{font-style:normal;color:#b8f5d8;}
.k-hero p{font-size:17px;color:rgba(255,255,255,.85);max-width:620px;margin:0 auto 36px;line-height:1.8;}

/* ── SHARED BUTTONS ── */
.k-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}
.k-btn-w{background:#fff;color:#1a6b45;padding:13px 28px;border-radius:8px;text-decoration:none;font-weight:700;font-size:14px;}
.k-btn-w:hover{background:#f0fdf6;color:#1a6b45;}
.k-btn-g{border:2px solid rgba(255,255,255,.5);color:#fff;padding:12px 26px;border-radius:8px;text-decoration:none;font-weight:600;font-size:14px;}
.k-btn-g:hover{border-color:#fff;}
.k-btn-green{background:#1a6b45;color:#fff;padding:12px 24px;border-radius:8px;text-decoration:none;font-weight:700;font-size:14px;display:inline-block;}
.k-btn-green:hover{background:#145435;color:#fff;}

/* ── SHARED SECTION HEADER ── */
.k-sec{max-width:1100px;margin:0 auto;padding:70px 24px;}
.k-sec-hdr{text-align:center;margin-bottom:48px;}
.k-sec-hdr .badge{display:inline-block;background:#eaf7f0;color:#1a6b45;font-size:11px;font-weight:700;padding:4px 14px;border-radius:20px;letter-spacing:1px;text-transform:uppercase;margin-bottom:12px;}
.k-sec-hdr h2{font-size:clamp(22px,3vw,36px);font-weight:800;color:#0b3d2e;margin-bottom:10px;}
.k-sec-hdr p{font-size:15px;color:#4a6b5d;max-width:560px;margin:0 auto;line-height:1.7;}

/* ── SHARED CARDS ── */
.k-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.k-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.k-card{background:#fff;border:1px solid #e0e8e4;border-radius:14px;padding:28px 24px;transition:box-shadow .2s,transform .2s;}
.k-card:hover{box-shadow:0 8px 32px rgba(0,80,50,.1);transform:translateY(-3px);}
.k-card-icon{width:52px;height:52px;border-radius:13px;display:flex;align-items:center;justify-content:center;margin-bottom:18px;}
.k-card-icon svg{width:26px;height:26px;fill:#fff;}
.k-card-icon.green{background:linear-gradient(135deg,#1a6b45,#2ecc88);}
.k-card-icon.blue{background:linear-gradient(135deg,#1a3a6b,#2563c4);}
.k-card-icon.red{background:linear-gradient(135deg,#6b1a1a,#c42525);}
.k-card-icon.purple{background:linear-gradient(135deg,#4a1a6b,#8b2ecc);}
.k-card-icon.teal{background:linear-gradient(135deg,#0b3d3a,#1a9b8a);}
.k-card-icon.orange{background:linear-gradient(135deg,#7a3a0b,#e07820);}
.k-card h3{font-size:16px;font-weight:700;color:#0b3d2e;margin-bottom:8px;}
.k-card p{font-size:13px;color:#5a7a6b;line-height:1.7;margin-bottom:14px;}
.k-tag{display:inline-block;background:#eaf7f0;color:#1a6b45;font-size:11px;font-weight:600;padding:3px 10px;border-radius:20px;margin:4px 3px 0 0;}
.k-card-link{font-size:13px;font-weight:600;color:#1a6b45;text-decoration:none;display:inline-flex;align-items:center;gap:4px;margin-top:12px;}
.k-card-link:hover{color:#0b3d2e;}

/* ── SHARED CTA STRIP ── */
.k-cta{background:linear-gradient(135deg,#0b3d2e,#1a6b45);padding:70px 24px;text-align:center;}
.k-cta h2{font-size:clamp(22px,3vw,38px);font-weight:800;color:#fff;margin-bottom:12px;}
.k-cta p{font-size:16px;color:#a8d5b5;margin:0 auto 32px;max-width:520px;line-height:1.7;}

/* ── SHARED STATS ── */
.k-stats{background:#fff;border-bottom:1px solid #e8f0eb;}
.k-stats-in{max-width:1000px;margin:0 auto;padding:28px 24px;display:grid;grid-template-columns:repeat(4,1fr);}
.k-stat{text-align:center;padding:12px;border-right:1px solid #e8f0eb;}
.k-stat:last-child{border-right:none;}
.k-stat .n{font-size:28px;font-weight:800;color:#1a6b45;line-height:1;}
.k-stat .l{font-size:12px;color:#7a9a8a;margin-top:4px;}

/* ── SHARED ALT SECTION ── */
.k-alt{background:#fff;padding:70px 0;}
.k-alt-inner{max-width:1100px;margin:0 auto;padding:0 24px;}

/* ── SHARED SOLUTION CARDS (two-column) ── */
.k-sol-grid{display:flex;flex-direction:column;gap:48px;}
.k-sol-item{display:grid;grid-template-columns:1fr 1fr;gap:0;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 4px 24px rgba(0,50,30,.07);}
.k-sol-item.rev{direction:rtl;}
.k-sol-item.rev>*{direction:ltr;}
.k-sol-visual{padding:44px 36px;display:flex;flex-direction:column;gap:14px;}
.k-sol-visual.green{background:linear-gradient(135deg,#0b3d2e,#1a6b45);}
.k-sol-visual.blue{background:linear-gradient(135deg,#0d1b4b,#1a3a8f);}
.k-sol-visual.teal{background:linear-gradient(135deg,#0b3d3a,#1a9b8a);}
.k-sol-visual.orange{background:linear-gradient(135deg,#7a3a0b,#e07820);}
.k-sol-visual.red{background:linear-gradient(135deg,#6b1a1a,#c42525);}
.k-vis-tag{display:inline-block;background:rgba(255,255,255,.15);color:#fff;font-size:11px;font-weight:700;padding:4px 12px;border-radius:20px;letter-spacing:1px;text-transform:uppercase;margin-bottom:8px;width:fit-content;}
.k-vis-title{font-size:22px;font-weight:800;color:#fff;margin-bottom:6px;}
.k-vis-sub{font-size:13px;color:rgba(255,255,255,.7);margin-bottom:16px;}
.k-feature-row{display:flex;flex-direction:column;gap:10px;}
.k-feature{background:rgba(255,255,255,.1);border-radius:10px;padding:12px 16px;display:flex;align-items:center;gap:12px;}
.k-feature-icon{width:34px;height:34px;background:rgba(255,255,255,.15);border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.k-feature-icon svg{width:16px;height:16px;fill:#fff;}
.k-feature-text .ft{font-size:13px;font-weight:600;color:#fff;}
.k-feature-text .fd{font-size:11px;color:rgba(255,255,255,.6);}
.k-sol-content{padding:44px 36px;}
.k-sol-badge{display:inline-block;font-size:11px;font-weight:700;padding:4px 14px;border-radius:20px;letter-spacing:1px;text-transform:uppercase;margin-bottom:14px;}
.k-sol-badge.green{background:#eaf7f0;color:#1a6b45;}
.k-sol-badge.blue{background:#e6eeff;color:#1a3a6b;}
.k-sol-badge.teal{background:#e0f7f5;color:#0b3d3a;}
.k-sol-badge.orange{background:#fff3e0;color:#7a3a0b;}
.k-sol-badge.red{background:#fff0f0;color:#6b1a1a;}
.k-sol-content h3{font-size:clamp(18px,2.5vw,26px);font-weight:800;color:#0b3d2e;margin-bottom:12px;line-height:1.3;}
.k-sol-content p{font-size:14px;color:#4a6b5d;line-height:1.8;margin-bottom:20px;}
.k-bullets{list-style:none;padding:0;margin:0 0 24px;display:flex;flex-direction:column;gap:8px;}
.k-bullets li{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:#2c4a3e;}
.k-bullets li::before{content:'✓';width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:10px;font-weight:700;margin-top:2px;}
.k-bullets li.green::before{background:#eaf7f0;color:#1a6b45;}
.k-bullets li.blue::before{background:#e6eeff;color:#1a3a6b;}
.k-bullets li.teal::before{background:#e0f7f5;color:#0b3d3a;}
.k-bullets li.orange::before{background:#fff3e0;color:#7a3a0b;}
.k-bullets li.red::before{background:#fff0f0;color:#6b1a1a;}
.k-sol-link{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;text-decoration:none;padding:11px 22px;border-radius:8px;color:#fff;}
.k-sol-link.green{background:#1a6b45;}
.k-sol-link.blue{background:#1a3a6b;}
.k-sol-link.teal{background:#0b3d3a;}
.k-sol-link.orange{background:#e07820;}
.k-sol-link.red{background:#c42525;}
.k-sol-link:hover{opacity:.9;}

/* ── PROCESS STEPS ── */
.k-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.k-step{text-align:center;}
.k-step-num{width:64px;height:64px;background:linear-gradient(135deg,#1a6b45,#2ecc88);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:22px;font-weight:800;color:#fff;}
.k-step h4{font-size:14px;font-weight:700;color:#0b3d2e;margin-bottom:6px;}
.k-step p{font-size:12px;color:#6b8c7d;line-height:1.6;}

/* ── WHY US ── */
.k-why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.k-why-card{text-align:center;padding:28px 16px;border:1px solid #e0e8e4;border-radius:14px;background:#f8faf9;}
.k-why-card .wi{width:52px;height:52px;background:#eaf7f0;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;}
.k-why-card .wi svg{width:26px;height:26px;fill:#1a6b45;}
.k-why-card h3{font-size:14px;font-weight:700;color:#0b3d2e;margin-bottom:6px;}
.k-why-card p{font-size:12px;color:#6b8c7d;line-height:1.6;}

/* ── PRODUCT CARDS (shop) ── */
.k-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.k-product-card{background:#fff;border:1px solid #e0e6e3;border-radius:14px;overflow:hidden;transition:box-shadow .2s,transform .2s;display:flex;flex-direction:column;}
.k-product-card:hover{box-shadow:0 8px 28px rgba(0,80,50,.12);transform:translateY(-3px);}
.k-product-img{height:160px;display:flex;align-items:center;justify-content:center;font-size:52px;position:relative;}
.k-product-body{padding:16px;flex:1;display:flex;flex-direction:column;}
.k-product-body h3{font-size:14px;font-weight:700;color:#0b3d2e;margin-bottom:5px;line-height:1.4;}
.k-product-body p{font-size:12px;color:#6b8c7d;line-height:1.6;flex:1;margin-bottom:12px;}
.k-product-specs{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:12px;}
.k-spec{font-size:10px;background:#f0f8f4;color:#2c6b4a;padding:2px 8px;border-radius:10px;font-weight:600;}
.k-product-footer{display:flex;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid #f0f4f2;}
.k-price{font-size:16px;font-weight:800;color:#1a6b45;}
.k-price span{font-size:11px;font-weight:400;color:#7a9a8a;}
.k-add-btn{background:#1a6b45;color:#fff;border:none;font-size:12px;font-weight:600;padding:7px 14px;border-radius:7px;cursor:pointer;transition:background .2s;}
.k-add-btn:hover{background:#145435;}
.k-badge-new{position:absolute;top:10px;right:10px;background:#2ecc88;color:#fff;font-size:10px;font-weight:700;padding:3px 8px;border-radius:10px;text-transform:uppercase;}
.k-badge-hot{position:absolute;top:10px;right:10px;background:#e74c3c;color:#fff;font-size:10px;font-weight:700;padding:3px 8px;border-radius:10px;text-transform:uppercase;}

/* ── TRUST BAR ── */
.k-trust{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;margin-top:8px;}
.k-trust-item{display:flex;align-items:center;gap:7px;color:rgba(255,255,255,.8);font-size:13px;}
.k-trust-item svg{width:16px;height:16px;fill:#2ecc88;}

/* ── DIVIDER ── */
.k-divider{max-width:1200px;margin:0 auto;padding:0 24px;}
.k-divider hr{border:none;border-top:1px solid #e0e8e4;}

/* ── RESPONSIVE ── */
@media(max-width:1000px){
  .k-product-grid{grid-template-columns:repeat(3,1fr);}
  .k-grid-4{grid-template-columns:repeat(2,1fr);}
  .kf-top{grid-template-columns:1fr 1fr 1fr;}
}
@media(max-width:900px){
  .k-grid-3{grid-template-columns:1fr 1fr;}
  .k-sol-item{grid-template-columns:1fr;}
  .k-sol-item.rev{direction:ltr;}
  .k-steps{grid-template-columns:1fr 1fr;}
  .k-why-grid{grid-template-columns:1fr 1fr;}
  .k-stats-in{grid-template-columns:1fr 1fr;}
  .kf-top{grid-template-columns:1fr 1fr;}
  .k-product-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:600px){
  html,body{overflow:auto;}
  #kw{position:static;overflow:visible;}
  #kt{display:none;}
  #kh{top:0;}
  body{padding-top:68px!important;}
  .kh-nav,.kh-cta{display:none;}
  .kh-ham{display:flex;}
  #kh-mob{top:68px;}
  .k-grid-3,.k-grid-4{grid-template-columns:1fr;}
  .k-product-grid{grid-template-columns:1fr 1fr;}
  .k-steps,.k-why-grid{grid-template-columns:1fr 1fr;}
  .k-stats-in{grid-template-columns:1fr 1fr;}
  .k-stat{border-right:none;border-bottom:1px solid #e8f0eb;}
  .kf-top{grid-template-columns:1fr 1fr;padding:20px 16px;}
  .kf-mid{flex-direction:column;gap:10px;padding:14px 16px;}
  .kf-bot-in{flex-direction:column;text-align:center;}
  .k-sol-visual,.k-sol-content{padding:24px 16px;}
}