/* =========================================================
   KUANTUM SERVIS V0.10 — FINAL COMPOSITION PASS
   - Home project showcase + proof strip restored in new design language
   - Service detail pages redesigned without deleting source text
   - Footer page rebuilt
========================================================= */

/* ---------- Home project showcase ---------- */
.ks-home-project-showcase{padding:72px 0 28px;background:#fff}
.ks-home-project-showcase__shell{
    display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:34px;
    min-height:520px;padding:28px;border-radius:28px;background:#062b54;
    box-shadow:0 24px 70px rgba(3,38,75,.14);overflow:hidden
}
.ks-home-project-showcase__copy{padding:58px 30px 46px;align-self:center;color:#fff}
.ks-home-project-showcase__copy h2{margin:10px 0 18px!important;max-width:520px;color:#fff!important;font-size:clamp(34px,3.2vw,52px)!important;line-height:1.03!important;letter-spacing:-1.2px!important}
.ks-home-project-showcase__copy p{max-width:560px;margin:0 0 14px!important;color:rgba(255,255,255,.84)!important;font-size:14px!important;line-height:1.75!important}
.ks-link-button{display:inline-flex;align-items:center;gap:18px;margin-top:18px;color:#fff!important;text-decoration:none!important;font-weight:700;font-size:12px}
.ks-link-button span{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:#fff;color:#073665}
.ks-home-project-showcase__visual{position:relative;min-height:464px;border-radius:22px;overflow:hidden;background:#0d3e73}
.ks-project-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s ease}
.ks-project-slide.is-active{opacity:1;visibility:visible}
.ks-project-slide>img{width:100%;height:100%;object-fit:cover;display:block}
.ks-project-slide__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(1,24,51,.04) 34%,rgba(1,24,51,.46) 100%)}
.ks-project-slide__card{position:absolute;left:28px;bottom:28px;width:min(430px,calc(100% - 56px));padding:24px 26px;border-radius:18px;background:#214ba8;color:#fff;box-shadow:0 18px 46px rgba(0,0,0,.2)}
.ks-project-slide__top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;font-size:11px;font-weight:800}
.ks-project-slide__arrows{display:flex;gap:8px}
.ks-project-slide__arrows button{width:34px;height:30px;padding:0;border:1px solid rgba(255,255,255,.6);border-radius:7px;background:transparent;color:#fff;font:inherit;font-size:22px;line-height:1;cursor:pointer}
.ks-project-slide__card h3{margin:0 0 9px!important;color:#fff!important;font-size:22px!important;line-height:1.25!important}
.ks-project-slide__card a{color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:700}

/* ---------- Home proof strip ---------- */
.ks-home-proof-strip{padding:26px 0 72px;background:#fff}
.ks-home-proof-strip__grid{display:grid;grid-template-columns:.88fr .88fr .88fr 1.85fr;gap:18px}
.ks-proof-card{min-height:176px;border-radius:20px;padding:26px;display:flex;align-items:center;justify-content:center;text-decoration:none!important;overflow:hidden}
.ks-proof-card--seal{background:#eef1f2}
.ks-proof-seal{width:126px;height:126px;border:1px solid #d4dade;border-radius:999px;display:flex;align-items:center;justify-content:center;position:relative;text-align:center;padding:20px;color:#202a31;text-transform:uppercase;font-size:9px;letter-spacing:1.5px;line-height:1.45}
.ks-proof-seal:before,.ks-proof-seal:after{content:"";position:absolute;inset:16px;border:1px dashed #b8c0c5;border-radius:999px}
.ks-proof-seal i{position:absolute;width:20px;height:20px;background:#08131d;transform:rotate(45deg)}
.ks-proof-seal strong{position:relative;z-index:2;background:#eef1f2;padding:3px 5px;max-width:94px}
.ks-proof-card--navy{flex-direction:column;background:#1d5276;color:#fff}
.ks-proof-card--soft{flex-direction:column;background:#e5e9ea;color:#052f5c}
.ks-proof-card--navy>strong,.ks-proof-card--soft>strong{font-size:66px;line-height:.95;letter-spacing:-3px}
.ks-proof-card--navy>strong span,.ks-proof-card--soft>strong span{font-size:34px;vertical-align:top;margin-left:4px}
.ks-proof-card--navy small,.ks-proof-card--soft small{margin-top:10px;font-size:13px;text-transform:uppercase;letter-spacing:.3px}
.ks-proof-card--contact{justify-content:space-between;gap:22px;background:#c82149;color:#fff!important;padding:32px 30px}
.ks-proof-card--contact strong{max-width:430px;font-size:26px;line-height:1.05;text-transform:uppercase;letter-spacing:-.6px}
.ks-proof-card--contact>span{flex:0 0 54px;width:54px;height:54px;border-radius:14px;background:#fff;color:#16468f;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800}

/* ---------- Service detail pages ---------- */
.ks-modernized-source--service-detail{background:#fff}
.ks-modernized-source--service-detail .ks-preserved-source{background:#fff!important}
.ks-modernized-source--service-detail .avia-section:has(#anabaslikalt),
.ks-modernized-source--service-detail .avia-section:has(.cms-ebanner-rate){display:none!important}
.ks-modernized-source--service-detail .avia-section{position:relative!important;margin:0!important;padding:72px 0!important;background:#fff!important;border:0!important}
.ks-modernized-source--service-detail .avia-section:nth-of-type(even){background:#f6fafc!important}
.ks-modernized-source--service-detail .avia-section .container{width:min(1240px,calc(100% - 48px))!important;max-width:1240px!important;margin:0 auto!important;padding:0!important}
.ks-modernized-source--service-detail .entry-content-wrapper{max-width:1240px!important;margin:0 auto!important}
.ks-modernized-source--service-detail .flex_column{box-sizing:border-box!important;min-width:0!important}
.ks-modernized-source--service-detail .av_two_fifth,
.ks-modernized-source--service-detail .av_one_half{padding-right:20px!important}
.ks-modernized-source--service-detail .av_three_fifth,
.ks-modernized-source--service-detail .av_one_half.el_after_av_one_half{padding-left:20px!important}
.ks-modernized-source--service-detail .avia-image-container img,
.ks-modernized-source--service-detail img{border-radius:24px!important;box-shadow:0 20px 54px rgba(5,48,90,.10)!important}
.ks-modernized-source--service-detail h1,.ks-modernized-source--service-detail h2,.ks-modernized-source--service-detail h3,.ks-modernized-source--service-detail h4{color:#073665!important;letter-spacing:-.5px!important}
.ks-modernized-source--service-detail h2{font-size:clamp(28px,2.4vw,40px)!important;line-height:1.15!important;margin:0 0 18px!important}
.ks-modernized-source--service-detail h3{font-size:clamp(22px,1.9vw,30px)!important;line-height:1.2!important;margin:22px 0 12px!important}
.ks-modernized-source--service-detail p{max-width:780px!important;margin:0 0 16px!important;color:#5f7282!important;font-size:15px!important;line-height:1.86!important}
.ks-modernized-source--service-detail .avia_textblock{max-width:800px!important;color:#5f7282!important;font-size:15px!important;line-height:1.86!important}
.ks-modernized-source--service-detail .avia_textblock strong{color:#073665!important}
.ks-modernized-source--service-detail ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px!important;max-width:860px!important;margin:22px 0 0!important;padding:0!important;list-style:none!important}
.ks-modernized-source--service-detail ul li{position:relative!important;margin:0!important;padding:15px 16px 15px 42px!important;border:1px solid #e0eaf1!important;border-radius:12px!important;background:#fff!important;color:#33526a!important;font-size:13px!important;line-height:1.55!important}
.ks-modernized-source--service-detail ul li:before{content:"✓"!important;position:absolute!important;left:15px!important;top:15px!important;width:19px!important;height:19px!important;border-radius:999px!important;background:#e8f4ff!important;color:#0b75dc!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:11px!important;font-weight:900!important;transform:none!important}
.ks-modernized-source--service-detail .avia-button,.ks-modernized-source--service-detail .avia-button-wrap a{border-radius:10px!important;background:#0a477f!important;border-color:#0a477f!important;color:#fff!important;box-shadow:none!important}
.ks-modernized-source--service-detail .abs-keyword-tags{display:flex!important;flex-wrap:wrap!important;gap:8px!important;max-width:1240px!important;margin:18px auto 0!important;padding:0 24px!important}
.ks-modernized-source--service-detail .abs-tag{display:inline-flex!important;padding:8px 11px!important;border-radius:999px!important;background:#eef6fc!important;color:#49687d!important;font-size:10px!important}
.ks-modernized-source--service-detail .hr,.ks-modernized-source--service-detail hr{margin:38px 0!important;border-color:#e2ebf1!important}

/* ---------- Footer ---------- */
.ks-footer-v2{padding:42px 0 0;background:#fff}
.ks-footer-v2__cta{display:grid;grid-template-columns:minmax(0,1.25fr) auto;gap:36px;align-items:center;padding:38px 42px;border-radius:26px;background:linear-gradient(112deg,#0a3a6d 0%,#0b5586 62%,#1384b1 100%);color:#fff;box-shadow:0 22px 54px rgba(4,52,98,.14)}
.ks-footer-v2__cta h2{margin:8px 0 10px!important;max-width:760px;color:#fff!important;font-size:clamp(28px,2.5vw,42px)!important;line-height:1.08!important}
.ks-footer-v2__cta p{margin:0!important;max-width:700px;color:rgba(255,255,255,.82)!important;font-size:13px!important;line-height:1.7!important}
.ks-footer-v2__cta-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.ks-footer-v2__cta-actions .ks-btn{min-height:48px;border-radius:10px}
.ks-btn--white{background:#fff!important;color:#073665!important}
.ks-btn--ghost-light{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.5)!important}
.ks-footer-v2__main{display:grid;grid-template-columns:1.45fr .85fr .85fr 1fr;gap:42px;margin-top:22px;padding:48px 44px 42px;border-radius:26px 26px 0 0;background:#061f3d;color:#fff}
.ks-footer-v2__wordmark{font-size:27px;font-weight:800;letter-spacing:4px;color:#fff}
.ks-footer-v2__wordmark span{display:block;margin-top:3px;font-size:10px;letter-spacing:6px;color:#7bc9ff}
.ks-footer-v2__brand p{max-width:420px;margin:22px 0 18px!important;color:#b8cadb!important;font-size:12px!important;line-height:1.8!important}
.ks-footer-v2__trust{display:inline-flex;padding:9px 13px;border:1px solid rgba(255,255,255,.18);border-radius:999px;color:#fff;font-size:10px;font-weight:700}
.ks-footer-v2__col{display:flex;flex-direction:column;gap:11px}
.ks-footer-v2__col>strong{margin-bottom:5px;color:#7bc9ff;font-size:10px;letter-spacing:1.7px;text-transform:uppercase}
.ks-footer-v2__col a{color:#d5e2ed!important;text-decoration:none!important;font-size:12px;line-height:1.5}
.ks-footer-v2__col a:hover{color:#fff!important}
.ks-footer-v2__contact a small{display:block;color:#6f8ca7;font-size:9px;text-transform:uppercase;letter-spacing:1px}
.ks-footer-v2__bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 44px;border-top:1px solid rgba(255,255,255,.08);background:#061f3d;color:#7993aa;font-size:10px}

/* Footer source page itself should not inherit old spacing. */
body.page-footer #main,.page-id-footer #main{padding-top:0!important}

/* ---------- Breakpoints ---------- */
@media(max-width:1100px){
  .ks-home-project-showcase__shell{grid-template-columns:1fr;min-height:0}
  .ks-home-project-showcase__visual{min-height:440px}
  .ks-home-proof-strip__grid{grid-template-columns:1fr 1fr}
  .ks-footer-v2__main{grid-template-columns:1.3fr 1fr 1fr}
  .ks-footer-v2__contact{grid-column:2/4}
}
@media(max-width:980px){
  .ks-footer-v2__cta{grid-template-columns:1fr}
  .ks-footer-v2__cta-actions{justify-content:flex-start}
  .ks-modernized-source--service-detail .av_two_fifth,
  .ks-modernized-source--service-detail .av_three_fifth,
  .ks-modernized-source--service-detail .av_one_half{width:100%!important;margin:0 0 26px!important;padding:0!important}
  .ks-modernized-source--service-detail ul{grid-template-columns:1fr}
}
@media(max-width:767px){
  .ks-home-project-showcase{padding:42px 0 18px}
  .ks-home-project-showcase__shell{padding:16px;border-radius:20px;gap:12px}
  .ks-home-project-showcase__copy{padding:28px 12px 26px}
  .ks-home-project-showcase__copy h2{font-size:34px!important}
  .ks-home-project-showcase__visual{min-height:400px;border-radius:16px}
  .ks-project-slide__card{left:14px;right:14px;bottom:14px;width:auto;padding:18px;border-radius:14px}
  .ks-home-proof-strip__grid{grid-template-columns:1fr}
  .ks-proof-card{min-height:140px}
  .ks-proof-card--contact strong{font-size:22px}
  .ks-footer-v2{padding-top:24px}
  .ks-footer-v2__cta{padding:28px 22px;border-radius:20px}
  .ks-footer-v2__main{grid-template-columns:1fr;padding:34px 24px 30px;border-radius:20px 20px 0 0;gap:30px}
  .ks-footer-v2__contact{grid-column:auto}
  .ks-footer-v2__bottom{padding:18px 24px;flex-direction:column;align-items:flex-start}
  .ks-modernized-source--service-detail .avia-section{padding:46px 0!important}
  .ks-modernized-source--service-detail .avia-section .container{width:min(100% - 34px,1240px)!important}
  .ks-modernized-source--service-detail p,.ks-modernized-source--service-detail .avia_textblock{font-size:14px!important;line-height:1.78!important}
}
