:root{
  --ink:#181818;
  --muted:#777;
  --line:#dedede;
  --paper:#fff;
  --header-h:68px;
  --contact-h:62px;
  --page-x:clamp(24px, 14vw, 228px);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Calibri,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
img{display:block;max-width:100%}

.site-header{height:var(--header-h);background:#fff;position:relative;z-index:50;border-bottom:1px solid #efefef}
.header-inner{height:100%;max-width:1140px;margin:0 auto;padding:0 20px;display:grid;grid-template-columns:minmax(320px,1fr) auto 28px;gap:34px;align-items:center}
.brand{display:flex;align-items:center;min-width:0;white-space:nowrap}
.brand-name{font-size:22px;line-height:1;font-weight:700;letter-spacing:3px}
.brand-divider{width:1px;height:20px;background:#d9d9d9;margin:0 11px}
.brand-subtitle{font-size:9px;letter-spacing:2.4px;color:#777;font-weight:600}
.main-nav{display:flex;align-items:center;gap:34px;height:100%}
.main-nav a{height:100%;display:flex;align-items:center;position:relative;font-size:12px;letter-spacing:1.8px;font-weight:700;color:#2f2f2f}
.main-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:19px;height:1px;background:#111;transition:right .25s ease}
.main-nav a:hover::after,.main-nav a.active::after{right:0}
.search-toggle{width:28px;height:28px;border:0;background:transparent;padding:5px;cursor:pointer;color:#222}
.search-toggle svg{width:100%;height:100%;fill:currentColor}
.mobile-menu-toggle{display:none;border:0;background:none;width:34px;height:34px;padding:7px;cursor:pointer}
.mobile-menu-toggle span{display:block;height:1px;background:#111;margin:5px 0}
.search-panel{position:absolute;top:100%;left:0;right:0;background:#fff;border-top:1px solid #eee;border-bottom:1px solid #e3e3e3;padding:16px 20px;transform:translateY(-8px);opacity:0;pointer-events:none;transition:.2s ease}
.search-panel.is-open{transform:translateY(0);opacity:1;pointer-events:auto}
.search-form{max-width:1140px;margin:auto;display:flex;gap:10px}
.search-form input{flex:1;border:1px solid #ccc;padding:12px 14px;outline:none}
.search-form button{border:1px solid #111;background:#111;color:#fff;padding:0 18px;font-size:10px;letter-spacing:1.5px;font-weight:700}

.home-page{
  height:100vh;
  overflow:hidden;
}

/*
  ANA SAYFA YÜKSEKLİĞİ
  Fotoğraf üst bölümde biter.
  Alt bölüm tamamen beyaz bilgi alanıdır.
*/
.home-main{
  height:calc(100vh - var(--header-h) - var(--contact-h));
  min-height:0;
  padding:0 clamp(24px,4vw,72px);
  background:#fff;
}

/*
  66% = FOTOĞRAF
  34% = PROJE BİLGİLERİ
  Fotoğrafı daha da kısaltmak istersen 66% değerini 62% yap.
*/
.hero-feature{
  width:100%;
  max-width:1600px;
  height:100%;
  margin:0 auto;
  display:grid;
  grid-template-rows:66% 34%;
  background:#fff;
}

/* FOTOĞRAF ALANI */
.hero-slider{
  width:100%;
  height:100%;
  position:relative;
  overflow:hidden;
  background:#111;
}

.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .7s ease;
  pointer-events:none;
}

.hero-slide.is-active{
  opacity:1;
}

.hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:var(--hero-x,50%) var(--hero-y,50%);
  filter:none;
  transform:none;
}

/*
  Alt yazılar artık fotoğraf üstünde olmadığı için
  karartma / blur / gradient kullanılmıyor.
*/
.hero-shade{
  display:none;
}

/* BEYAZ BİLGİ ALANI */
.hero-info{
  height:100%;
  background:#fff;
  border-bottom:1px solid #efefef;
}

.hero-info-inner{
  width:min(1450px,calc(100% - 64px));
  height:100%;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:50px;
  align-items:center;
}

/* SOLDAKİ PROJE YAZILARI */
.hero-copy{
  position:static;
  width:min(720px,65vw);
  color:#111;
  text-shadow:none;
}

.hero-kicker{
  margin:0 0 7px;
  font-size:9px;
  letter-spacing:2px;
  font-weight:700;
  color:#777;
}

.hero-copy h1,.hero-copy h2{
  max-width:700px;
  margin:0 0 9px;
  font-size:34px;
  line-height:1.02;
  font-weight:700;
  letter-spacing:-.5px;
  color:#111;
}

.hero-description{
  max-width:680px;
  margin:0 0 13px;
  font-size:12px;
  line-height:1.4;
  color:#555;
}

/* SERVICE / SCOPE / LOCATION */
.hero-meta{
  display:flex;
  gap:36px;
  max-width:680px;
  padding-top:10px;
  border-top:1px solid #d9d9d9;
}

.hero-meta div{
  min-width:125px;
  max-width:230px;
}

.hero-meta span{
  display:block;
  margin-bottom:3px;
  font-size:8px;
  letter-spacing:1.3px;
  font-weight:700;
  color:#888;
}

.hero-meta strong{
  font-size:10px;
  line-height:1.25;
  font-weight:600;
  color:#111;
}

/* SAĞDAKİ 01/10 ve OKLAR */
.hero-controls{
  position:static;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  color:#111;
  text-shadow:none;
  align-self:center;
}

.hero-counter{
  display:flex;
  align-items:center;
  gap:7px;
  margin-right:12px;
  font-size:11px;
  letter-spacing:.8px;
}

.hero-counter strong{
  font-size:13px;
}

.hero-arrow{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid #bcbcbc;
  background:#fff;
  color:#111;
  cursor:pointer;
  transition:.2s ease;
  font-size:18px;
}

.hero-arrow:hover{
  background:#111;
  color:#fff;
  border-color:#111;
}

/* EN ALT İLETİŞİM ŞERİDİ */
.home-contact-strip{
  height:var(--contact-h);
  background:#fff;
  border-top:1px solid #eee;
}

.contact-strip-inner{
  max-width:1140px;
  height:100%;
  margin:auto;
  padding:0 20px;
  display:grid;
  grid-template-columns:1.2fr 1.4fr 1fr 1fr;
  gap:24px;
  align-items:center;
  font-size:11px;
  color:#666;
}
.contact-strip-inner b{font-size:11px;color:#111;letter-spacing:1.2px}
.contact-strip-inner a:hover{color:#111}

.content-page{min-height:100vh;background:#fff}
.page-wrap{max-width:1140px;margin:0 auto;padding:54px 20px 70px}
.page-heading{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:end;margin-bottom:38px}
.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#777;margin:0 0 10px}
.page-heading h1,.split-page h1,.contact-page h1{font-size:44px;line-height:1;margin:0;font-weight:700;letter-spacing:-.6px}
.page-intro{margin:0;line-height:1.55;color:#666;font-size:15px;max-width:500px}

.projects-wrap{padding-top:34px}
.reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px}
.reference-card{height:calc((100vh - 184px)/3);min-height:210px;display:flex;flex-direction:column}
.reference-card img{width:100%;height:calc(100% - 31px);object-fit:cover;object-position:center;filter:none}
.reference-card h2{font-size:12px;line-height:1.1;letter-spacing:.2px;margin:9px 0 0;font-weight:600}

.service-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.service-grid article{min-height:235px;padding:28px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.service-grid article>span{font-size:10px;color:#999;letter-spacing:1px}
.service-grid h2{margin:55px 0 12px;font-size:22px}
.service-grid p{margin:0;color:#666;line-height:1.55;font-size:14px}

.split-page{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}
.split-page>section:first-child{padding-top:20px}
.large-copy{font-size:27px;line-height:1.25;margin:28px 0;max-width:470px}
.split-page p:not(.eyebrow):not(.large-copy){color:#666;font-size:15px;line-height:1.6;max-width:500px}
.practice-image img{width:100%;height:65vh;object-fit:cover;object-position:center;filter:none}

.feature-list{border-top:1px solid var(--line)}
.feature-list article{display:grid;grid-template-columns:90px 1fr;gap:24px;border-bottom:1px solid var(--line);padding:24px 0}
.feature-number{font-size:11px;color:#888}
.feature-list h2{font-size:23px;margin:0 0 8px}
.feature-list p{font-size:14px;color:#666;margin:0;line-height:1.5}

.contact-page{display:grid;grid-template-columns:1fr 1fr;gap:90px;padding-top:80px}
.contact-page .large-copy{max-width:480px}
.contact-details{border-top:1px solid var(--line)}
.contact-details>div{padding:22px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:130px 1fr;gap:20px}
.contact-details span{font-size:9px;letter-spacing:1.5px;color:#888;font-weight:700}
.contact-details a,.contact-details p{margin:0;font-size:17px}

.site-footer{max-width:1140px;margin:0 auto;padding:28px 20px 40px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:30px;color:#666;font-size:11px}
.site-footer>div{display:flex;gap:18px;align-items:center}
.site-footer b{letter-spacing:1.2px;color:#111}
.site-footer a:hover{color:#111}

@media (max-width:1000px){
  :root{--header-h:64px;--contact-h:76px}
  .home-main{padding:0}
  .header-inner{grid-template-columns:1fr 34px;padding:0 22px;gap:16px}
  .brand-subtitle{font-size:8px;letter-spacing:1.7px}
  .main-nav{position:fixed;top:var(--header-h);left:0;right:0;background:#fff;display:none;flex-direction:column;height:auto;gap:0;padding:8px 22px 20px;border-top:1px solid #eee;border-bottom:1px solid #ddd}
  .main-nav.is-open{display:flex}
  .main-nav a{height:auto;padding:16px 0;border-bottom:1px solid #eee;font-size:13px;letter-spacing:1.5px}
  .main-nav a::after{display:none}
  .search-toggle{display:none}
  .mobile-menu-toggle{display:block}
  .hero-feature{max-width:none;grid-template-rows:64% 36%}
  .hero-info-inner{width:calc(100% - 44px);gap:24px}
  .hero-copy{width:100%}
  .hero-copy h1,.hero-copy h2{font-size:30px}
  .hero-meta{gap:18px}
  .hero-controls{justify-self:end}
  .contact-strip-inner{grid-template-columns:1fr 1fr;padding:10px 22px;gap:6px 20px}
  .reference-grid{grid-template-columns:repeat(2,1fr)}
  .reference-card{height:320px}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .split-page,.contact-page{grid-template-columns:1fr;gap:42px}
}

@media (max-width:640px){
  .home-page{height:auto;overflow:auto}
  .home-main{height:calc(100svh - var(--header-h));min-height:620px}
  .home-contact-strip{height:auto}
  .brand-name{font-size:18px;letter-spacing:2px}
  .brand-divider{margin:0 8px}
  .brand-subtitle{display:none}
  .hero-feature{display:block;height:auto}
  .hero-slider{height:56svh;min-height:360px}
  .hero-info{height:auto}
  .hero-info-inner{
    width:calc(100% - 32px);
    display:block;
    padding:22px 0 20px;
  }
  .hero-copy{width:100%}
  .hero-copy h1,.hero-copy h2{font-size:30px;line-height:1.06;margin-bottom:12px}
  .hero-description{font-size:12px;max-width:100%}
  .hero-meta{display:none}
  .hero-controls{
    margin-top:20px;
    justify-content:flex-start;
  }
  .contact-strip-inner{display:flex;flex-direction:column;align-items:flex-start;padding:18px 16px;gap:8px}
  .page-wrap{padding:36px 16px 55px}
  .page-heading{grid-template-columns:1fr;gap:18px;margin-bottom:25px}
  .page-heading h1,.split-page h1,.contact-page h1{font-size:36px}
  .reference-grid{grid-template-columns:1fr;gap:24px}
  .reference-card{height:auto}
  .reference-card img{height:56vw;min-height:230px}
  .service-grid{grid-template-columns:1fr}
  .service-grid article{min-height:205px}
  .split-page{display:block}
  .practice-image{margin-top:34px}
  .practice-image img{height:58vw;min-height:320px}
  .contact-page{display:block;padding-top:44px}
  .contact-details{margin-top:45px}
  .contact-details>div{grid-template-columns:1fr;gap:7px}
  .site-footer{flex-direction:column}
  .site-footer>div{flex-wrap:wrap}
}


/* ENG / TR language selector */
.language-switch{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:10px;letter-spacing:1.1px;color:#9a9a9a}
.lang-btn{border:0;background:transparent;color:#888;padding:7px 2px;cursor:pointer;font-size:10px;letter-spacing:1.1px;font-weight:700;position:relative}
.lang-btn::after{content:"";position:absolute;left:2px;right:100%;bottom:3px;height:1px;background:#111;transition:right .2s ease}
.lang-btn:hover,.lang-btn.is-active{color:#111}
.lang-btn.is-active::after{right:2px}
@media (min-width:1001px){.header-inner{grid-template-columns:minmax(320px,1fr) auto auto 28px;gap:24px}}
@media (max-width:1000px){.header-inner{grid-template-columns:1fr auto 34px}.language-switch{justify-self:end}.main-nav{z-index:60}}
@media (max-width:640px){.language-switch{font-size:8px;gap:3px}.lang-btn{font-size:8px;padding-left:1px;padding-right:1px}.header-inner{padding-left:16px;padding-right:16px;gap:9px}}


/* =========================================================
   PROJECTS PAGE — CLICKABLE PROJECT CARDS + MODERN MODAL
   ========================================================= */

.project-card{
  cursor:pointer;
  outline:none;
}

.project-card:focus-visible .project-media{
  outline:2px solid #111;
  outline-offset:3px;
}

.project-card .project-media{
  position:relative;
  overflow:hidden;
  flex:1;
  min-height:0;
}

.project-card .project-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:none;
}

.project-view-label{
  display:inline-block;
  margin-top:16px;
  font-size:9px;
  line-height:1;
  letter-spacing:1.5px;
  font-weight:700;
  color:#fff;
}

/* Popup open olduğunda sayfanın arkası kaymasın */
body.project-modal-open{
  overflow:hidden;
}

.project-modal{
  position:fixed;
  inset:0;
  z-index:500;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .28s ease, visibility .28s ease;
}

.project-modal.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.project-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(10,10,10,.68);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}

.project-modal-dialog{
  position:relative;
  z-index:1;
  width:min(1180px,94vw);
  max-height:min(780px,90vh);
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);
  background:#fff;
  box-shadow:0 30px 90px rgba(0,0,0,.28);
  overflow:hidden;
  transform:translateY(18px) scale(.985);
  transition:transform .3s ease;
}

.project-modal.is-open .project-modal-dialog{
  transform:translateY(0) scale(1);
}

.project-modal-close{
  position:absolute;
  top:18px;
  right:18px;
  z-index:4;
  width:42px;
  height:42px;
  border:1px solid rgba(0,0,0,.16);
  border-radius:50%;
  background:rgba(255,255,255,.94);
  color:#111;
  font-size:26px;
  line-height:1;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}

.project-modal-close:hover{
  background:#111;
  color:#fff;
  transform:rotate(4deg);
}

.project-modal-media{
  min-height:560px;
  background:#eee;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.project-modal-stage{
  position:relative;
  flex:1 1 auto;
  min-height:460px;
  overflow:hidden;
  background:#e9e9e9;
}

.project-modal-stage > img{
  width:100%;
  height:100%;
  min-height:460px;
  object-fit:cover;
  object-position:center;
  display:block;
}

.project-gallery-thumbs{
  flex:0 0 auto;
  display:flex;
  gap:8px;
  width:100%;
  padding:10px 12px 12px;
  overflow-x:auto;
  overflow-y:hidden;
  background:#fff;
  border-top:1px solid #e5e5e5;
  scrollbar-width:thin;
}

.project-gallery-thumbs[hidden]{display:none!important}

.project-gallery-thumb{
  flex:0 0 92px;
  width:92px;
  height:64px;
  padding:0;
  border:2px solid transparent;
  background:#eee;
  overflow:hidden;
  cursor:pointer;
  opacity:.68;
  transition:opacity .18s ease,border-color .18s ease,transform .18s ease;
}

.project-gallery-thumb:hover{opacity:1;transform:translateY(-1px)}
.project-gallery-thumb.is-active{opacity:1;border-color:#111}
.project-gallery-thumb img{
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  display:block;
}

.project-gallery-nav{
  position:absolute;
  top:50%;
  z-index:3;
  width:48px;
  height:48px;
  margin-top:-24px;
  border:1px solid rgba(255,255,255,.5);
  border-radius:50%;
  background:rgba(12,12,12,.48);
  color:#fff;
  font-size:32px;
  line-height:1;
  display:grid;
  place-items:center;
  cursor:pointer;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  transition:background .2s ease,transform .2s ease;
}

.project-gallery-nav:hover{
  background:rgba(12,12,12,.76);
  transform:scale(1.04);
}

.project-gallery-prev{left:18px}
.project-gallery-next{right:18px}

.project-gallery-counter{
  position:absolute;
  left:50%;
  bottom:18px;
  z-index:3;
  transform:translateX(-50%);
  padding:7px 11px;
  border-radius:999px;
  background:rgba(12,12,12,.58);
  color:#fff;
  font-size:10px;
  line-height:1;
  letter-spacing:1.2px;
  font-weight:700;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}

.project-gallery-nav[hidden],
.project-gallery-counter[hidden]{display:none!important}

.project-modal-content{
  padding:58px 48px 46px;
  overflow:auto;
}

.project-modal-eyebrow{
  margin:0 0 13px;
  font-size:9px;
  letter-spacing:2px;
  font-weight:700;
  color:#888;
}

.project-modal-content h2{
  margin:0;
  font-size:36px;
  line-height:1.05;
  letter-spacing:-.6px;
  font-weight:700;
  color:#111;
}

.project-modal-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 24px;
  padding:28px 0;
  margin-top:26px;
  border-top:1px solid #ddd;
  border-bottom:1px solid #ddd;
}

.project-modal-meta div{
  min-width:0;
}

.project-modal-meta span{
  display:block;
  margin-bottom:5px;
  font-size:8px;
  letter-spacing:1.4px;
  font-weight:700;
  color:#999;
}

.project-modal-meta strong{
  display:block;
  font-size:13px;
  line-height:1.35;
  font-weight:600;
  color:#222;
  overflow-wrap:anywhere;
}

.project-modal-description{
  padding-top:28px;
}

.project-modal-description h3{
  margin:0 0 12px;
  font-size:10px;
  letter-spacing:1.5px;
  font-weight:700;
  color:#777;
}

.project-modal-description p{
  margin:0;
  font-size:15px;
  line-height:1.68;
  color:#555;
  white-space:pre-line;
}

@media (max-width:900px){
  .project-modal{
    padding:18px;
  }

  .project-modal-dialog{
    width:min(720px,96vw);
    max-height:92vh;
    grid-template-columns:1fr;
    overflow:auto;
  }

  .project-modal-media{
    min-height:0;
    height:42vh;
  }

  .project-modal-stage > img{
    min-height:0;
    height:100%;
  }

  .project-modal-content{
    padding:34px 28px 34px;
    overflow:visible;
  }
}

@media (max-width:560px){
  .project-modal{
    padding:0;
    align-items:flex-end;
  }

  .project-modal-dialog{
    width:100%;
    max-height:94vh;
    border-radius:18px 18px 0 0;
  }

  .project-modal-media{
    height:auto;
    min-height:0;
  }

  .project-modal-stage{
    min-height:34vh;
    height:34vh;
  }

  .project-gallery-thumb{
    flex-basis:76px;
    width:76px;
    height:54px;
  }

  .project-modal-content{
    padding:28px 20px 32px;
  }

  .project-modal-content h2{
    font-size:29px;
  }

  .project-modal-meta{
    grid-template-columns:1fr 1fr;
    gap:16px;
  }

  .project-modal-close{
    top:12px;
    right:12px;
  }
}

/* =========================================================
   KINACI HEADER LOGO — requested exact typography
   ========================================================= */

.brand{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:0;
  min-width:0;
  white-space:nowrap;
  color:rgb(0,0,128);
  font-family:"Montserrat",Arial,sans-serif;
}
.brand-name{
  display:block;
  margin:0;
  color:rgb(0,0,128);
  font-family:"Montserrat",Arial,sans-serif;
  font-size:24px;
  line-height:.8;
  font-weight:700;
  letter-spacing:2.2px;
}
.brand-subtitle{
  display:block !important;
  margin:0;
  color:rgb(0,0,128);
  font-family:"Montserrat",Arial,sans-serif;
  font-size:12px;
  line-height:.8;
  font-weight:600;
  letter-spacing:1.85px;
}
.brand-divider{display:none !important;}

/* All non-logo site copy stays Calibri. */
body,button,input,select,textarea,
.main-nav,.language-switch,.search-panel,
main,.site-footer,.home-contact-strip{
  font-family:Calibri,"Segoe UI",Arial,sans-serif;
}

/* =========================================================
   CONTACT — full-width horizontal Google Maps
   ========================================================= */
.contact-map-section{
  grid-column:1 / -1;
  width:100%;
  margin-top:48px;
  padding-top:28px;
  border-top:1px solid #e8e8e8;
}
.contact-map-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:28px;
  margin-bottom:16px;
}
.contact-map-copy{max-width:760px;}
.contact-map-eyebrow{margin:0 0 7px;font-size:10px;line-height:1;font-weight:700;letter-spacing:2px;color:#777;}
.contact-map-title{margin:0;font-size:29px;line-height:1.08;font-weight:700;letter-spacing:-.4px;color:#111;}
.contact-map-address{margin:8px 0 0;font-size:13px;line-height:1.5;color:#666;}
.contact-map-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:0 16px;border:1px solid #111;background:#fff;color:#111;text-decoration:none;font-size:10px;font-weight:700;letter-spacing:1.2px;white-space:nowrap;transition:background .2s ease,color .2s ease;}
.contact-map-link:hover{background:#111;color:#fff;}
.contact-map-link svg{width:14px;height:14px;fill:currentColor;}
.contact-map-frame{
  position:relative;
  left:50%;
  width:100vw;
  height:clamp(280px,22vw,360px);
  margin-left:-50vw;
  overflow:hidden;
  background:#f3f3f3;
  border-top:1px solid #e4e4e4;
  border-bottom:1px solid #e4e4e4;
}
.contact-map-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}
.contact-map-note{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:10px;font-size:10px;line-height:1.4;color:#8a8a8a;}

@media (max-width:760px){
  .contact-map-section{margin-top:34px;padding-top:24px;}
  .contact-map-head{grid-template-columns:1fr;gap:15px;}
  .contact-map-title{font-size:26px;}
  .contact-map-link{justify-self:start;}
  .contact-map-frame{height:250px;}
  .contact-map-note{display:grid;gap:4px;}
}


/* =========================================================
   FINAL HEADER LOGO — exact shared left/right alignment
   KINACI and ENGINEERING occupy exactly the same width.
   ========================================================= */
.site-header .brand{
  display:inline-flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:center !important;
  width:122px !important;
  min-width:122px !important;
  gap:1px !important;
  white-space:nowrap;
  color:rgb(0,0,128) !important;
  font-family:"Montserrat",Arial,sans-serif !important;
  text-decoration:none;
}

.site-header .brand-line{
  display:flex !important;
  width:100% !important;
  align-items:baseline;
  justify-content:space-between !important;
  margin:0 !important;
  padding:0 !important;
  color:rgb(0,0,128) !important;
  font-family:"Montserrat",Arial,sans-serif !important;
  text-align:left !important;
  letter-spacing:0 !important;
}

.site-header .brand-name{
  font-size:27px !important;
  line-height:.82 !important;
  font-weight:700 !important;
}

.site-header .brand-subtitle{
  font-size:13px !important;
  line-height:.82 !important;
  font-weight:600 !important;
}

.site-header .brand-line > span{
  display:block;
  flex:0 0 auto;
  margin:0;
  padding:0;
}

.site-header .brand-divider{display:none !important;}

/* =========================================================
   FINAL CONTACT MAP — stays inside the page content width
   ========================================================= */
.contact-map-section{
  grid-column:1 / -1;
  width:100%;
}

.contact-map-frame{
  position:relative !important;
  left:auto !important;
  width:100% !important;
  height:360px !important;
  margin:0 !important;
  overflow:hidden;
  background:#f3f3f3;
  border:1px solid #e4e4e4 !important;
  box-sizing:border-box;
}

.contact-map-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  display:block;
}

@media (max-width:1000px){
  .site-header .brand{
    width:116px !important;
    min-width:116px !important;
  }
  .site-header .brand-name{font-size:25px !important;}
  .site-header .brand-subtitle{font-size:12px !important;display:flex !important;}
}

@media (max-width:640px){
  .site-header .brand{
    width:108px !important;
    min-width:108px !important;
  }
  .site-header .brand-name{font-size:23px !important;}
  .site-header .brand-subtitle{font-size:11px !important;display:flex !important;}
  .contact-map-frame{height:250px !important;}
}


/* =========================================================
   ABSOLUTE FINAL LOGO FIX — 21.08.2026
   Do not add another .brand / .brand-name / .brand-subtitle
   rule below this block.
   ========================================================= */
.site-header .header-inner > a.brand{
  --logo-w:132px;
  display:inline-flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  width:var(--logo-w) !important;
  min-width:var(--logo-w) !important;
  max-width:var(--logo-w) !important;
  height:auto !important;
  gap:2px !important;
  margin:0 !important;
  padding:0 !important;
  color:rgb(0,0,128) !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  font-family:"Montserrat",Arial,sans-serif !important;
  box-sizing:border-box !important;
}

.site-header .header-inner > a.brand > .brand-line{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:space-between !important;
  width:var(--logo-w) !important;
  min-width:var(--logo-w) !important;
  max-width:var(--logo-w) !important;
  margin:0 !important;
  padding:0 !important;
  color:rgb(0,0,128) !important;
  font-family:"Montserrat",Arial,sans-serif !important;
  font-style:normal !important;
  text-align:left !important;
  letter-spacing:0 !important;
  white-space:nowrap !important;
  box-sizing:border-box !important;
}

.site-header .header-inner > a.brand > .brand-name{
  font-size:27px !important;
  line-height:.82 !important;
  font-weight:700 !important;
}

.site-header .header-inner > a.brand > .brand-subtitle{
  display:flex !important;
  font-size:12.5px !important;
  line-height:.86 !important;
  font-weight:600 !important;
}

.site-header .header-inner > a.brand > .brand-line > span{
  display:block !important;
  flex:0 0 auto !important;
  margin:0 !important;
  padding:0 !important;
  color:inherit !important;
  font-family:inherit !important;
  font-size:inherit !important;
  font-weight:inherit !important;
  line-height:inherit !important;
  letter-spacing:0 !important;
  transform:none !important;
}

.site-header .brand-divider{display:none !important;}

/* The Google map must stay inside the contact content column. */
.contact-map-frame{
  position:relative !important;
  left:auto !important;
  right:auto !important;
  width:100% !important;
  max-width:100% !important;
  height:360px !important;
  margin:0 !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
  border:1px solid #e4e4e4 !important;
  background:#f3f3f3 !important;
}
.contact-map-frame iframe{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  border:0 !important;
  display:block !important;
}

@media (max-width:1000px){
  .site-header .header-inner > a.brand{--logo-w:124px;}
  .site-header .header-inner > a.brand > .brand-name{font-size:25px !important;}
  .site-header .header-inner > a.brand > .brand-subtitle{display:flex !important;font-size:11.7px !important;}
}

@media (max-width:640px){
  .site-header .header-inner > a.brand{--logo-w:116px;}
  .site-header .header-inner > a.brand > .brand-name{font-size:23px !important;}
  .site-header .header-inner > a.brand > .brand-subtitle{display:flex !important;font-size:10.8px !important;}
  .contact-map-frame{height:250px !important;}
}

/* =========================================================
   HOSTINGER PRODUCTION FINAL OVERRIDES — 2026-08-22
   ========================================================= */

/* Exact logo geometry: K/E share the left edge, final I/G share right edge. */
.site-header .header-inner > a.brand{
  --kinaci-logo-width:132px;
  display:inline-flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:center !important;
  width:var(--kinaci-logo-width) !important;
  min-width:var(--kinaci-logo-width) !important;
  max-width:var(--kinaci-logo-width) !important;
  gap:2px !important;
  margin:0 !important;
  padding:0 !important;
  color:rgb(0,0,128) !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  font-family:"Montserrat",Arial,sans-serif !important;
  box-sizing:border-box !important;
}
.site-header .header-inner > a.brand > .brand-line{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:space-between !important;
  width:100% !important;
  min-width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  color:rgb(0,0,128) !important;
  font-family:"Montserrat",Arial,sans-serif !important;
  font-style:normal !important;
  text-align:left !important;
  letter-spacing:0 !important;
  white-space:nowrap !important;
  box-sizing:border-box !important;
}
.site-header .header-inner > a.brand > .brand-name{
  font-size:27px !important;
  line-height:.82 !important;
  font-weight:700 !important;
}
.site-header .header-inner > a.brand > .brand-subtitle{
  display:flex !important;
  font-size:12.5px !important;
  line-height:.86 !important;
  font-weight:600 !important;
}
.site-header .header-inner > a.brand > .brand-line > span{
  display:block !important;
  flex:0 0 auto !important;
  margin:0 !important;
  padding:0 !important;
  color:inherit !important;
  font-family:inherit !important;
  font-size:inherit !important;
  font-weight:inherit !important;
  line-height:inherit !important;
  letter-spacing:0 !important;
  transform:none !important;
}
.site-header .brand-divider{display:none !important;}

/* Map stays inside the content container, never viewport-wide. */
.contact-map-frame{
  position:relative !important;
  left:auto !important;
  right:auto !important;
  width:100% !important;
  max-width:100% !important;
  height:360px !important;
  margin:0 !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
  border:1px solid #e4e4e4 !important;
  background:#f3f3f3 !important;
}
.contact-map-frame iframe{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  border:0 !important;
  display:block !important;
}

@media (max-width:1000px){
  .site-header .header-inner > a.brand{--kinaci-logo-width:124px;}
  .site-header .header-inner > a.brand > .brand-name{font-size:25px !important;}
  .site-header .header-inner > a.brand > .brand-subtitle{display:flex !important;font-size:11.7px !important;}
}
@media (max-width:640px){
  .site-header .header-inner > a.brand{--kinaci-logo-width:116px;}
  .site-header .header-inner > a.brand > .brand-name{font-size:23px !important;}
  .site-header .header-inner > a.brand > .brand-subtitle{display:flex !important;font-size:10.8px !important;}
  .contact-map-frame{height:250px !important;}
}


/* 2026 project library update */
.projects-page .reference-card{cursor:pointer}
.projects-page .reference-card .project-media{background:#f1f1f1}
.projects-page .reference-card .project-media img{will-change:transform}
@media (max-width:560px){
  .project-gallery-nav{width:42px;height:42px;margin-top:-21px;font-size:28px}
  .project-gallery-prev{left:10px}
  .project-gallery-next{right:10px}
  .project-gallery-counter{bottom:10px}
}


/* 2026-09-22 — Independent project cover + full gallery */
.projects-page .project-card .project-media > img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.project-gallery-thumbs{
  scrollbar-width:thin;
  overscroll-behavior-x:contain;
}
.project-gallery-thumb{
  flex:0 0 104px;
  aspect-ratio:4/3;
}
.project-gallery-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
@media (max-width:760px){
  .project-gallery-thumb{flex-basis:82px}
}


/* 2026-09-22 — Compact project hover overlay; keeps long project titles inside image */
.projects-page .reference-card .project-hover{
  box-sizing:border-box;
  overflow:hidden;
  padding:16px 18px;
}
.projects-page .project-hover-inner{
  width:100%;
  max-height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-width:0;
}
.projects-page .project-hover-title{
  margin:0 0 8px;
  font-size:clamp(16px,1.15vw,19px);
  line-height:1.08;
}
.projects-page .project-meta{gap:4px}
.projects-page .project-meta-row{
  grid-template-columns:78px minmax(0,1fr);
  gap:8px;
  font-size:11px;
  line-height:1.25;
  min-width:0;
}
.projects-page .project-meta-value{min-width:0;overflow-wrap:anywhere}
.projects-page .project-view-label{margin-top:9px;font-size:8px;line-height:1}
@media (max-width:760px){
  .projects-page .reference-card .project-hover{padding:15px}
  .projects-page .project-hover-title{font-size:17px;margin-bottom:7px}
  .projects-page .project-meta-row{grid-template-columns:72px minmax(0,1fr);gap:7px;font-size:10.5px}
}


/* =========================================================
   2026-09-22 PERFORMANCE + PROJECT HOVER CONSOLIDATION
   ========================================================= */
.reference-card{
  position:relative;
  overflow:hidden;
}
.reference-card .project-media{
  position:relative;
  overflow:hidden;
  background:#f1f1f1;
}
.reference-card .project-media > img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .35s ease,filter .35s ease;
}
.reference-card .project-hover{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
  padding:16px 18px;
  box-sizing:border-box;
  overflow:hidden;
  background:linear-gradient(to top,rgba(0,0,0,.78) 0%,rgba(0,0,0,.42) 52%,rgba(0,0,0,.08) 100%);
  color:#fff;
  opacity:0;
  transform:translateY(8px);
  transition:opacity .28s ease,transform .28s ease;
  pointer-events:none;
}
.reference-card:hover .project-hover,
.reference-card:focus-within .project-hover,
.reference-card:focus-visible .project-hover{
  opacity:1;
  transform:translateY(0);
}
.reference-card:hover .project-media > img,
.reference-card:focus-visible .project-media > img{
  transform:scale(1.025);
}
.project-hover-inner{
  width:100%;
  max-height:100%;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.project-hover-title{
  margin:0 0 8px;
  font-size:clamp(16px,1.15vw,19px);
  line-height:1.08;
  font-weight:700;
  letter-spacing:-.02em;
}
.project-meta{display:grid;grid-template-columns:1fr;gap:4px;margin:0}
.project-meta-row{
  display:grid;
  grid-template-columns:78px minmax(0,1fr);
  gap:8px;
  align-items:start;
  font-size:11px;
  line-height:1.25;
  min-width:0;
}
.project-meta-label{
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.72;
}
.project-meta-value{font-weight:500;min-width:0;overflow-wrap:anywhere}
.project-view-label{margin-top:9px;font-size:8px;line-height:1}

/* Home image uses project-specific focal point from index.php. */
.hero-slide img{
  object-position:var(--hero-x,50%) var(--hero-y,50%);
}

@media (max-width:760px){
  .reference-card .project-hover{padding:15px}
  .project-hover-title{font-size:17px;margin-bottom:7px}
  .project-meta-row{grid-template-columns:72px minmax(0,1fr);gap:7px;font-size:10.5px}
  /* Mobile crop is taller; keep focal point conservative. */
  .hero-slide img{object-position:var(--hero-x,50%) 50%}
}


/* Crawlable company summary on the home page */
.home-seo-summary{background:#fff;border-top:1px solid #e8e8e8;padding:34px 4.5%;color:#2b2b2b}
.home-seo-summary-inner{max-width:1500px;margin:0 auto}
.home-seo-summary .eyebrow{margin:0 0 10px;color:#777;font-size:10px;letter-spacing:.16em}
.home-seo-summary h1{margin:0 0 12px;font-size:22px;line-height:1.3;font-weight:600;color:#171717}
.home-seo-summary p:not(.eyebrow){max-width:1040px;margin:0 0 8px;font-size:14px;line-height:1.65;color:#595959}
@media(max-width:640px){.home-seo-summary{padding:28px 22px}.home-seo-summary h1{font-size:19px}}


/* 2026-09-24 — interaction reliability hardening */
.site-header{
  z-index:1000;
  isolation:isolate;
}
.site-header .header-inner,
.main-nav,
.main-nav a,
.language-switch,
.search-toggle,
.mobile-menu-toggle{
  position:relative;
  pointer-events:auto;
}
.main-nav{z-index:1002;}
.search-panel{z-index:1001;}
.hero-info{position:relative;z-index:20;}
.hero-controls,.hero-arrow{position:relative;z-index:25;pointer-events:auto;}


/* 2026-09-24 — Chrome/Brave hero image fill hardening
   Every slide paints a lightweight preview behind the main image, and the
   actual IMG is pinned to all four edges. This prevents the slider's #111
   background from becoming visible during partial/lazy image decoding. */
.hero-slider{
  isolation:isolate;
  background:#f3f3f3;
  min-height:0;
}
.hero-slide{
  top:0;
  right:0;
  bottom:0;
  left:0;
  width:100%;
  height:100%;
  min-width:100%;
  min-height:100%;
  overflow:hidden;
  background-color:#f3f3f3;
  background-image:var(--hero-preview,none);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:var(--hero-x,50%) var(--hero-y,50%);
}
.hero-slide > img{
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  bottom:0 !important;
  left:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  object-fit:cover !important;
  object-position:var(--hero-x,50%) var(--hero-y,50%) !important;
}
@media (max-width:760px){
  .hero-slide{
    background-position:var(--hero-x,50%) 50%;
  }
  .hero-slide > img{
    object-position:var(--hero-x,50%) 50% !important;
  }
}
