/* Softeconomics page CSS (the prototype's second inline style block, unchanged; theme additions at the end) */
.nav__logo img { display: block; height: 22px; width: auto; }
.closing__links .nav__logo img { height: 26px; }
/* the logo's red square, used once as the page's one small marker: before list and card titles and the hero
   line; decorative only, it carries no meaning */
:root { --mark-red: #d20a11; }
.mk { display: inline-block; flex: none; width: 8px; height: 8px; background: var(--mark-red); }
.hero__kicker .mk { margin-right: 2px; }
.row-link { position: relative; color: var(--ink); text-decoration: none; text-underline-offset: 4px; text-decoration-thickness: from-font; }
.row-link:hover, .row-link:focus-visible { text-decoration: underline; }
.row-link::before { content: ""; position: absolute; left: -16px; top: 0.55em; width: 8px; height: 8px; background: var(--mark-red); }
.rows.list > li { row-gap: var(--s-2); }
.rows__name.row-link { font-weight: 500; }
@media (max-width: 639px) { .rows__name.row-link, .svc h3 .row-link { display: inline-flex; align-items: center; min-height: 44px; } .row-link::before { left: -14px; top: calc(50% - 4px); } }
/* drawings sit whole on the page ground; only the step and product frames keep a panel */
.hero__media > img.drawing-img { object-fit: cover; object-position: 50% 0; }
.line-draw { margin: 0 0 var(--s-7); }
.line-draw img { display: block; width: 100%; height: auto; }
.svc h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; margin-bottom: var(--s-3); }
.draw { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
#risk-denetim .draw > img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 1024px) { #risk-denetim .draw { height: 596px; } }
@media (max-width: 1023px) { #risk-denetim .draw { aspect-ratio: 15 / 16; } }
@media (max-width: 639px) { #risk-denetim .draw { aspect-ratio: 16 / 10; } }
#urunler .panel { --p-h: 300px; background: var(--p-bg); }
#urunler .panel > img { object-fit: contain; }
@media (max-width: 639px) { #urunler .panel { --p-h: 220px; } }
/* the Lopus phone screens in a plain phone frame */
.phone { margin: 0; aspect-ratio: 9 / 16; border: 8px solid var(--p-ink); border-radius: 34px; overflow: hidden; background: #fff; }
.phone > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
@media (min-width: 640px) and (max-width: 1023px) { #lopus .grid > .phone { grid-column: auto / span 6; margin-top: var(--s-6); } }
@media (max-width: 639px) { #lopus .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } #lopus .grid > .rows { grid-column: 1 / -1; } #lopus .grid > .phone { grid-column: auto; margin-top: var(--s-6); border-width: 6px; border-radius: 24px; } }
.lopus-dg { --p-h: 420px; align-self: start; }
.lopus-dg .dg { height: 100%; }
@media (max-width: 1023px) { .lopus-dg { --p-h: 300px; margin-top: var(--s-6); } }
@media (max-width: 639px) { .lopus-dg { --p-h: 657px; margin-top: var(--s-4); } }
/* the quote on the logo's navy */
.quote--big { margin: 0; max-width: 1080px; }
.quote--big blockquote { font: var(--display-weight) clamp(28px, 1.9vw + 14px, 44px)/1.22 var(--font-display); letter-spacing: var(--display-tracking); color: var(--ink); }
.quote--big figcaption { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-7); font-size: var(--t-lead); }
.quote--big .person__name { font-weight: 500; }
.quote--big .person__role { color: var(--ink); opacity: .86; }
.band-facts { margin: var(--s-8) 0 0; font-variant-numeric: tabular-nums; }
.band-facts dt { font-size: var(--t-small); color: var(--ink); opacity: .86; }
.band-facts dd { margin: var(--s-2) 0 0; font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); }
@media (min-width: 640px) and (max-width: 1023px) { .band-facts > .span-4 { grid-column: auto / span 4; } .quote--big blockquote { font-size: 40px; } }
@media (max-width: 639px) { .quote--big blockquote { font-size: 28px; line-height: 1.25; } .quote--big figcaption { margin-top: var(--s-8); } .band-facts { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: var(--s-9); } .band-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding-block: var(--s-5); } .band-facts dd { margin: 0; font-size: var(--t-lead); text-align: right; } }
/* about: vision and mission left, the certificates right */
.about-vm { display: grid; gap: var(--s-6); }
.about-vm h3, #hakkimizda .t-card { margin-bottom: var(--s-3); }
.iso-draw { margin: 0; }
.iso-draw img { display: block; width: 100%; height: auto; }
@media (max-width: 1023px) { #hakkimizda .grid > .start-7 { margin-top: var(--s-7); } }
.facts { display: grid; margin: 0; font-variant-numeric: tabular-nums; }
.facts > div { display: grid; grid-template-columns: 10rem 1fr; gap: var(--s-4); padding-block: var(--s-2); border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink); font-weight: 500; }
.facts dd { margin: 0; }
.hero__kicker { font-variant-numeric: tabular-nums; }
.posts > li { grid-template-columns: minmax(0, 1fr); }
.posts h3 { font: 500 var(--t-card)/1.35 var(--font-text); letter-spacing: -0.01em; }
.posts .t-small { color: var(--muted); }
.chart-draw { margin: var(--s-6) 0 0; }
.chart-draw img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); }
@media (min-width: 640px) and (max-width: 1279px) { .chart-draw { background: var(--surface); border-radius: var(--r-lg); } .chart-draw img { height: 340px; object-fit: contain; } }
@media (max-width: 1279px) { .footer__nav { column-gap: var(--s-5); } }
.consent { display: grid; gap: var(--s-4); }
.consent p { font-size: var(--t-small); line-height: 1.5; color: var(--muted); max-width: 70ch; }
.consent .btn-row { margin: 0; }
.consent [aria-pressed="true"] { outline: 2px solid var(--action); outline-offset: 2px; }

/* ---- theme additions (not in the prototype) ---- */
/* the WordPress toolbar for logged-in editors sits above the fixed header */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* cookie consent banner: fixed at the bottom until the visitor chooses (se_cerez cookie, 1 year) */
.cz { position: fixed; z-index: 60; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(920px, calc(100% - 32px)); display: flex; align-items: center; gap: var(--s-5);
  padding: var(--s-5); border-radius: var(--r-lg); box-shadow: 0 18px 50px -18px rgba(14, 28, 46, .55); }
.cz[hidden] { display: none !important; }
.cz__text { flex: 1 1 auto; min-width: 0; display: grid; gap: var(--s-1); }
.cz__title { font-weight: 500; }
.cz__text p { font-size: var(--t-small); line-height: 1.5; color: var(--ink); }
.cz__text p + p { opacity: .86; }
.cz__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: from-font; }
.cz .btn-row { flex: none; display: flex; gap: var(--s-2); margin: 0; flex-wrap: nowrap; }
/* 1.1.4: koyu bantta ikincil düğme açık yazıyla (önceden 2.68:1 idi) */
.cz .btn--secondary { background: rgb(255 255 255 / .08); color: #fff; border: 1px solid rgb(255 255 255 / .5); }
@media (hover: hover) { .cz .btn--secondary:hover { background: rgb(255 255 255 / .16); border-color: #fff; } }
@media (prefers-reduced-motion: no-preference) {
  .cz { animation: cz-in .45s var(--ease) both; }
  @keyframes cz-in { from { opacity: 0; transform: translate(-50%, 16px); } }
}
@media (max-width: 767px) {
  .cz { flex-direction: column; align-items: stretch; gap: var(--s-4); padding: var(--s-4); }
  .cz .btn-row { flex-direction: row; width: 100%; }
  .cz .btn-row > .btn { flex: 1 1 0; width: auto; min-height: var(--btn-h); height: var(--btn-h); justify-content: center; padding-inline: var(--s-3); }
}

/* 1.1.5: ana sayfa hero görseli, Yapı / Süreç / Sistem katmanları (satır içi SVG, kırpılmadan sığar) */
.hero__media--layers { display: grid; place-items: center; padding: var(--s-5); background: linear-gradient(160deg, #0a4a86 0%, #003d73 45%, #002a52 100%); }
.hero-layers { display: block; width: 100%; height: 100%; max-height: 760px; font-family: var(--font-text); }
.hero-layers .hl-t { font-family: var(--font-display, var(--font-text)); }
@media (max-width: 1023px) { .hero__media--layers { aspect-ratio: 8 / 9; height: auto; padding: var(--s-4); } }
@media (max-width: 639px) {
  .hero-layers .hl-lab { display: none; }
  .hero-layers .hl-plates { transform: translateX(-84px); }
}
/* 1.1.6: çok geniş/uzun ekranlarda görsel kutusu katmanlardan fazla uzamasın; üst kenarı yazıyla hizalı */
@media (min-width: 1024px) { .hero--split .hero__media--layers { max-height: 780px; align-self: start; } }
