/* SİMLAB — statik site stilleri
   Kurumsal renkler aşağıdaki değişkenlerden yönetilir. */
:root {
  --ink: #15253d;        /* ana kurumsal lacivert */
  --ink-2: #24395a;
  --accent: #b5452a;     /* vurgu rengi */
  --accent-dark: #93361f;
  --text: #222a35;
  --muted: #5d6673;
  --line: #dedad2;
  --paper: #f5f3ee;
  --white: #fff;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.65 var(--sans);
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: rgba(21, 37, 61, .35); text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- üst bar ---------- */
.topbar { background: var(--ink); color: #c9d1dc; font-size: 13.5px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar-r { display: flex; gap: 22px; }
.lang b { color: #fff; font-weight: 600; }
.lang a { color: #9fb0c6; }

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 44px; width: auto; }
.brand img + .brand-text { display: none; }
.brand-text { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: .04em; color: var(--ink); line-height: 1; }
.brand-text small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .08em; font-weight: 500; color: var(--muted); margin-top: 4px; text-transform: uppercase; }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: 6px; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--text); font-weight: 500; font-size: 16px; }
.nav > ul > li > a { position: relative; }
.nav > ul > li > a.is-active::after,
.nav > ul > li > a:hover::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--accent); }
.nav a.is-active { color: var(--ink); }
.has-sub { position: relative; }
.has-sub > a::before { content: ""; float: right; margin: 9px 0 0 7px; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; }
.sub { position: absolute; left: 0; top: 100%; min-width: 290px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--ink); padding: 6px 0; visibility: hidden; opacity: 0; transform: translateY(4px); transition: .15s ease; }
.has-sub:hover .sub, .has-sub:focus-within .sub { visibility: visible; opacity: 1; transform: none; }
.sub a { padding: 9px 18px; font-size: 15px; font-weight: 400; }
.sub a:hover { background: var(--paper); color: var(--ink); }
.menu-btn { display: none; font: 600 15px var(--sans); background: none; border: 1px solid var(--ink); color: var(--ink); padding: 8px 14px; cursor: pointer; }

/* ---------- ortak bileşenler ---------- */
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 12px 22px; border: 0; cursor: pointer; font-family: var(--sans); }
.btn:hover { background: var(--accent); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }

.section { padding: 84px 0; }
.section-alt { background: var(--paper); }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head h2 { font-size: 34px; }
.sec-head p { color: var(--muted); margin: 0; }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.sec-head-row > div { max-width: 640px; }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); padding: 88px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: end; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -.01em; max-width: 13em; }
.hero-lede { font-size: 19px; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin: 32px 0 0; flex-wrap: wrap; }
.hero-side { border-left: 2px solid var(--ink); padding-left: 28px; }
.side-h { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero-side ul { list-style: none; margin: 0; padding: 0; }
.hero-side li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.hero-side li:last-child { border-bottom: 0; }

/* ---------- uzmanlıklar ---------- */
.expertise { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.expertise li { display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr) auto; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.expertise .num { font-family: var(--serif); color: var(--accent); font-size: 18px; }
.expertise h3 { font-size: 23px; margin: 0; }
.expertise h3 a { text-decoration: none; }
.expertise p { margin: 0; color: var(--muted); }
.more { font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.more::after { content: " →"; }

/* ---------- hakkımızda özet ---------- */
.about-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; }
.about-teaser h2 { font-size: 38px; }
.about-text p { font-size: 18px; }

/* ---------- proje listeleri ---------- */
.proj-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 1px solid var(--ink); }
.proj-index a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.proj-index .p-title { font-weight: 600; font-size: 17.5px; color: var(--ink); }
.proj-index .p-kind { color: var(--muted); font-size: 14px; white-space: nowrap; }
.proj-index a:hover .p-title { color: var(--accent); }

.proj-table { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.proj-table a { display: grid; grid-template-columns: 48px minmax(0, 4fr) minmax(0, 6fr) 170px; gap: 24px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.proj-table .p-num { font-family: var(--serif); color: var(--accent); }
.proj-table .p-title { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.proj-table .p-lede { color: var(--muted); font-size: 16px; }
.proj-table .p-kind { font-size: 13.5px; color: var(--muted); text-align: right; }
.proj-table a:hover { background: var(--paper); }
.proj-table a:hover .p-title { color: var(--accent); }

/* ---------- referanslar ---------- */
.section-refs { padding-top: 0; }
.refs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.refs li { display: flex; align-items: center; justify-content: center; height: 108px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.refs img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.refs li:hover img { filter: none; opacity: 1; }

/* ---------- cta ---------- */
.cta { background: var(--ink); color: #fff; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.cta p { margin: 0; font-family: var(--serif); font-size: 25px; max-width: 30em; }

/* ---------- iç sayfa başlığı ---------- */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 40px 0 52px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { margin: 0 6px; opacity: .6; }
.page-head h1 { font-size: clamp(32px, 4.2vw, 50px); max-width: 18em; }
.page-head .lede { font-size: 20px; color: var(--muted); max-width: 38em; margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 0 48px; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.meta dt { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.meta dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }

/* ---------- iç sayfa düzeni ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 72px; align-items: start; }
.prose { max-width: 42em; }
.prose > p:first-child { font-size: 19px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.list-rule { list-style: none; padding: 0 !important; margin: 0 0 1.4em; border-top: 1px solid var(--line); }
.list-rule li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); position: relative; }
.list-rule li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 8px; height: 2px; background: var(--accent); }
.steps { list-style: none; padding: 0 !important; margin: 0 0 1.4em; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); color: var(--accent); }
.defs { margin: 0 0 1.4em; border-top: 1px solid var(--line); }
.defs dt { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--ink); padding-top: 16px; }
.defs dd { margin: 4px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--text); }
.callout { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; font-weight: 500; margin-top: 2em; }
.links { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.links a { font-weight: 600; }
.links a::after { content: " ↗"; font-weight: 400; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 2.4em; padding-top: 28px; border-top: 2px solid var(--ink); }
.vm h2 { margin-top: 0; font-size: 22px; }

.aside { position: sticky; top: 104px; display: grid; gap: 24px; }
.aside-box { border-top: 2px solid var(--ink); padding-top: 18px; }
.aside-h { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15.5px; }
.side-nav a[aria-current] { color: var(--accent); font-weight: 600; }
.side-nav-long { position: relative; max-height: 380px; overflow: auto; padding-right: 8px; }
.aside-contact { background: var(--paper); border-top-color: var(--accent); padding: 20px 22px 24px; }
.aside-contact p { margin-bottom: 6px; color: var(--muted); font-size: 15.5px; }
.aside-contact .big-tel { color: var(--ink); margin: 10px 0 0; font-family: var(--serif); font-size: 24px; }
.big-tel a { text-decoration: none; color: var(--ink) !important; }
.aside-contact .btn { margin-top: 12px; }
.facts { margin: 0; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; border-top: 1px solid var(--ink); }
.pager a { padding: 18px 0; text-decoration: none; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.pager small { display: block; font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.pager .prev small::before { content: "← "; }
.pager .next { text-align: right; }
.pager .next small::after { content: " →"; }

/* ---------- iletişim ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; margin-bottom: 56px; }
.form p { margin: 0 0 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; font: 16px var(--sans); padding: 11px 12px; border: 1px solid #c9c4b9; background: #fff; color: var(--text); border-radius: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.contact-info { border-top: 2px solid var(--ink); padding-top: 18px; }
.contact-info h2 { font-size: 24px; }
.contact-info address { font-style: normal; margin-bottom: 16px; }
.contact-info .link-arrow { display: inline-block; margin-top: 18px; }
.map { border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.4); }

/* ---------- footer ---------- */
.site-footer { background: #0f1c2f; color: #b9c3d0; font-size: 15px; padding-top: 64px; }
.site-footer a { color: #e6ebf1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.f-about .brand-text { color: #fff; }
.f-about .brand-text small { color: #8d9bb0; }
.f-about .brand img { filter: brightness(0) invert(1); }
.f-about p { margin-top: 18px; }
.f-h { font-family: var(--sans); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 14px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.f-list { list-style: none; margin: 0; padding: 0; }
.f-list li { padding: 3px 0; }
.news-form { display: flex; flex-direction: column; gap: 8px; }
.news-form input { font: 15px var(--sans); padding: 10px 12px; border: 1px solid #34465f; background: transparent; color: #fff; border-radius: 0; }
.news-form input::placeholder { color: #8d9bb0; }
.news-form button { font: 600 15px var(--sans); padding: 10px 12px; background: var(--accent); color: #fff; border: 0; cursor: pointer; }
.news-form button:hover { background: var(--accent-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #263750; padding-top: 20px; padding-bottom: 24px; font-size: 13.5px; color: #8d9bb0; }

/* ---------- duyarlı ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .f-about { grid-column: 1 / -1; }
  .refs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .nav > ul > li > a.is-active::after, .nav > ul > li > a:hover::after { display: none; }
  .nav a.is-active { color: var(--accent); }
  .sub { position: static; visibility: visible; opacity: 1; transform: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
  .has-sub > a::before { display: none; }
  .site-header { position: relative; }
  .hero-grid, .about-teaser, .layout, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .aside { position: static; }
  .expertise li { grid-template-columns: 44px 1fr; }
  .expertise p, .expertise .more { grid-column: 2; }
  .proj-table a { grid-template-columns: 40px 1fr; gap: 6px 16px; }
  .proj-table .p-lede, .proj-table .p-kind { grid-column: 2; text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar-in > span:first-child { display: none; }
  .topbar-in { justify-content: flex-end; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0; }
  .sec-head h2 { font-size: 28px; }
  .sec-head-row { flex-direction: column; align-items: start; }
  .proj-index { grid-template-columns: 1fr; }
  .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-in { flex-direction: column; align-items: start; }
  .cta p { font-size: 21px; }
  .vm, .row2, .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
.form-note { margin: 10px 0 0; font-size: 14.5px; font-weight: 600; color: var(--accent); }
.site-footer .form-note { color: #fff; }
.form-note.is-error { color: #b42318; }
.site-footer .form-note.is-error { color: #ffb4a8; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cf-turnstile { margin: 4px 0 18px; min-height: 65px; }
