/* =========================================================================
   Concept Aluminium — ön yüz tasarım sistemi
   includes/Header.php'den EN SONDA yüklenir; main.css ve eklenti stillerini ezer.
   ========================================================================= */

/* ---------- Fontlar (yerel, OFL — @fontsource 5.3.0) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokenlar ---------- */
:root {
  --cx-bg: #faf8f5;
  --cx-bg-alt: #f4f1ec;
  --cx-card: #f1eeea;
  --cx-text: #1c1c1c;
  --cx-muted: #6b6b6b;
  --cx-line: #d9d4cc;
  --cx-dark: #1e1e1e;
  --cx-dark-hover: #3a3a3a;
  --cx-accent: #a27b5c;
  --cx-on-dark: #faf8f5;

  --cx-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --cx-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --cx-radius: 2px;
  --cx-container: 1320px;
  --cx-gutter: 40px;
  --cx-section: 72px;
  --cx-header-h: 84px;
  --cx-ease: cubic-bezier(.2, .6, .2, 1);
}

/* ---------- Temel ---------- */
/* main.css body'ye overflow-x:hidden veriyor; bu body'yi kaydırma kabı yapar ve sticky header'ı bozar */
html, html body.cx-site { overflow-x: clip !important; overflow-y: visible !important; }
body.cx-site {
  background: var(--cx-bg);
  color: var(--cx-text);
  font-family: var(--cx-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.cx-site h1, .cx-site h2, .cx-site h3, .cx-site h4 {
  font-family: var(--cx-serif);
  font-weight: 500;
  color: var(--cx-text);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}
.cx-site p { color: var(--cx-muted); margin: 0; }
.cx-site a { color: inherit; text-decoration: none; transition: color .2s var(--cx-ease); }
.cx-site img { max-width: 100%; height: auto; display: block; }
.cx-site :focus-visible { outline: 2px solid var(--cx-accent); outline-offset: 3px; }

.cx-container {
  width: 100%;
  max-width: var(--cx-container);
  margin: 0 auto;
  padding: 0 var(--cx-gutter);
}
.cx-section { padding: var(--cx-section) 0; }
.cx-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Etiket: büyük harf, geniş aralık, sağında ince çizgi */
.cx-eyebrow {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--cx-sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--cx-text);
  margin-bottom: 20px;
}
.cx-eyebrow::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .55; }
.cx-num {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .12em; color: var(--cx-muted);
}
.cx-num::after { content: ""; width: 40px; height: 1px; background: var(--cx-line); }

/* Butonlar */
.cx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 12px 28px;
  font-family: var(--cx-sans); font-size: 13px; font-weight: 500; letter-spacing: .02em;
  border: 1px solid var(--cx-dark); border-radius: var(--cx-radius);
  background: var(--cx-dark); color: var(--cx-on-dark) !important;
  transition: background .2s var(--cx-ease), color .2s var(--cx-ease), border-color .2s var(--cx-ease);
  cursor: pointer; white-space: nowrap;
}
.cx-btn:hover { background: var(--cx-dark-hover); border-color: var(--cx-dark-hover); }
.cx-btn--ghost { background: transparent; color: var(--cx-text) !important; }
.cx-btn--ghost:hover { background: var(--cx-dark); color: var(--cx-on-dark) !important; }
.cx-btn--sm { min-height: 44px; padding: 10px 20px; font-size: 12.5px; }

.cx-link {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 44px;
  font-size: 13px; font-weight: 500; color: var(--cx-text);
  border-bottom: 1px solid var(--cx-text);
  padding-bottom: 2px;
}
.cx-link:hover { color: var(--cx-accent); border-color: var(--cx-accent); }

.cx-arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s var(--cx-ease); }
a:hover > .cx-arrow, a:hover .cx-arrow { transform: translateX(4px); }

/* =========================================================================
   HEADER
   ========================================================================= */
.cx-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(250, 248, 245, .97);
  border-bottom: 1px solid var(--cx-line);
  transition: box-shadow .25s var(--cx-ease);
}
.cx-header.sticky { box-shadow: 0 6px 24px rgba(28, 28, 28, .06); }
.cx-header__inner {
  display: flex; align-items: center; gap: 32px;
  min-height: var(--cx-header-h);
}
.cx-logo { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.cx-logo img { max-height: 50px; width: auto; }
.cx-nav > ul > li > a, .cx-lang button, .cx-header__cta { white-space: nowrap; }
/* 1200-1399px: menüyü sıkılaştır, taşmasın */
@media (max-width: 1399.98px) {
  .cx-header__inner { gap: 20px; }
  .cx-nav > ul { gap: clamp(12px, 1.3vw, 22px); }
  .cx-header__tools { gap: 12px; }
  .cx-lang button { min-width: 28px; padding: 0 2px; }
  .cx-header__cta.cx-btn { padding: 10px 14px; }
}
/* 1280px altı: logo + 6 menü öğesi + dil + buton sığmıyor → hamburger menü */
@media (max-width: 1279.98px) {
  .cx-nav, .cx-header__cta { display: none; }
  .cx-burger { display: inline-flex; }
  .cx-header__inner { justify-content: space-between; }
}

/* Masaüstü menü: KHeaderMenu() çıktısı (li > a.main1, li.dropdown-menu-parrent > ul) */
.cx-nav { flex: 1; display: flex; justify-content: center; }
.cx-nav > ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.cx-nav li { position: relative; list-style: none; }
.cx-nav > ul > li > a {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0;
  font-family: var(--cx-sans); font-size: 13px; font-weight: 400;
  color: var(--cx-text);
  background: none;
}
.cx-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px;
  height: 1px; background: var(--cx-accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--cx-ease);
}
.cx-nav > ul > li > a:hover::after,
.cx-nav > ul > li > a.is-active::after,
.cx-nav > ul > li:focus-within > a::after { transform: scaleX(1); }
.cx-nav > ul > li > a svg, .cx-nav > ul > li > a i { font-size: 10px; width: 10px; opacity: .6; }

/* Dropdown: hover/focus ile açılır */
.cx-nav li > ul {
  position: absolute; top: 100%; left: -20px;
  min-width: 220px; margin: 0; padding: 10px 0;
  list-style: none;
  background: var(--cx-bg); border: 1px solid var(--cx-line);
  box-shadow: 0 16px 40px rgba(28, 28, 28, .08);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--cx-ease), transform .2s var(--cx-ease), visibility .2s;
  z-index: 50;
}
.cx-nav li:hover > ul,
.cx-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.cx-nav li > ul a {
  display: flex; align-items: center; min-height: 44px; padding: 8px 20px;
  font-size: 13px; color: var(--cx-text);
}
.cx-nav li > ul a:hover { background: var(--cx-card); color: var(--cx-accent); }
/* Sistemler açılır menüsü: 5 + 5 iki sütun, "Tüm Sistemleri Gör" altta tam genişlik (alt liste: data.php concept_menu_with_systems) */
.cx-nav li:has(> a[href$="/hizmetler"]) > ul {
  display: grid; grid-template-columns: repeat(2, minmax(250px, 1fr)); grid-template-rows: repeat(5, auto); grid-auto-flow: column;
  column-gap: 8px; width: max-content; max-width: min(640px, calc(100vw - 48px)); padding: 12px 8px;
}
.cx-nav li:has(> a[href$="/hizmetler"]) > ul > li:last-child { grid-column: 1 / -1; grid-row: 6; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--cx-line); }
.cx-nav li:has(> a[href$="/hizmetler"]) > ul > li:last-child a { color: var(--cx-accent); font-weight: 500; }
.cx-nav li:has(> a[href$="/hizmetler"]) > ul a { padding: 8px 14px; line-height: 1.35; }

.cx-header__tools { display: flex; align-items: center; gap: 22px; flex: none; }

/* Dil seçici: TR | EN | FR | DE */
.cx-lang { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.cx-lang li { display: flex; align-items: center; }
.cx-lang li + li::before { content: "|"; color: var(--cx-line); padding: 0 2px; font-size: 12px; }
.cx-lang button {
  min-width: 34px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--cx-sans); font-size: 12px; font-weight: 500; letter-spacing: .08em;
  color: var(--cx-muted);
}
.cx-lang button:hover { color: var(--cx-text); }
.cx-lang button[aria-current="true"] {
  color: var(--cx-text);
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}

/* Dil seçici (açılır liste): düğmede aktif dil, tıklanınca diğer diller aşağı açılır — concept.js .is-open */
.cx-langsel { position: relative; flex: none; }
.cx-langsel__toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  background: none; border: 1px solid var(--cx-line); cursor: pointer;
  font-family: var(--cx-sans); font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--cx-text);
  transition: border-color .2s var(--cx-ease);
}
.cx-langsel__toggle:hover, .cx-langsel.is-open .cx-langsel__toggle { border-color: var(--cx-text); }
.cx-langsel__caret { width: 6px; height: 6px; margin-top: -3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--cx-ease); }
.cx-langsel.is-open .cx-langsel__caret { margin-top: 3px; transform: rotate(-135deg); }
.cx-langsel__list {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 60;
  min-width: 170px; margin: 0; padding: 6px 0; list-style: none;
  background: var(--cx-bg); border: 1px solid var(--cx-line); box-shadow: 0 16px 40px rgba(28, 28, 28, .08);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--cx-ease), transform .2s var(--cx-ease), visibility .2s;
}
.cx-langsel.is-open .cx-langsel__list { opacity: 1; visibility: visible; transform: translateY(0); }
.cx-langsel__list button {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--cx-sans); font-size: 13px; color: var(--cx-text);
}
.cx-langsel__list button:hover { background: var(--cx-card); }
.cx-langsel__code { min-width: 22px; font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--cx-muted); }
.cx-langsel__list button[aria-current="true"] .cx-langsel__code { color: var(--cx-accent); }
.cx-langsel__list button[aria-current="true"] .cx-langsel__name { font-weight: 500; }
/* Mobil menü içinde: liste düğmenin altında akışta açılır (çekmece kaydırılabilir kalsın) */
.cx-langsel--drawer .cx-langsel__toggle { width: 100%; justify-content: space-between; }
.cx-langsel--drawer .cx-langsel__list { position: static; display: none; margin-top: 6px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
.cx-langsel--drawer.is-open .cx-langsel__list { display: block; }

/* Hamburger (mobile-menu.js .mobile-nav-icon sınıfını dinler) */
.cx-burger {
  display: none;
  width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  background: none; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); cursor: pointer;
}
.cx-burger span { display: block; width: 18px; height: 1px; background: var(--cx-text); }

/* Mobil panel (mobile-menu.js: .mobile-sidebar.mobile-menu-active, .mobile-nav akordeon) */
.cx-site .mobile-sidebar.cx-drawer {
  position: fixed; top: 0; right: 0; left: auto; bottom: 0; z-index: 1000;
  width: min(380px, 100%); height: 100%;
  padding: 20px 24px 32px;
  background: var(--cx-bg);
  border-left: 1px solid var(--cx-line);
  overflow-y: auto;
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s var(--cx-ease), visibility .3s;
  display: block;
}
.cx-site .mobile-sidebar.cx-drawer,
.cx-site .mobile-sidebar.cx-drawer.mobile-menu-active { left: auto; right: 0; opacity: 1; max-height: none; }
.cx-site .mobile-sidebar.cx-drawer.mobile-menu-active { transform: translateX(0); visibility: visible; padding-top: 20px; overflow-y: auto; }
.cx-drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.cx-drawer__top .cx-logo img { max-height: 44px; }
.cx-site .cx-drawer .menu-close {
  position: static; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--cx-line); background: none; color: var(--cx-text);
  font-size: 16px; cursor: pointer;
}
.cx-site .cx-drawer .mobile-nav { padding: 0; }
.cx-site .cx-drawer .mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.cx-site .cx-drawer .mobile-nav > ul > li { position: relative; border-bottom: 1px solid var(--cx-line); }
.cx-site .cx-drawer .mobile-nav li a {
  display: flex; align-items: center; min-height: 52px; padding: 10px 52px 10px 0;
  font-family: var(--cx-serif); font-size: 22px; color: var(--cx-text);
}
.cx-site .cx-drawer .mobile-nav li ul { display: none; padding: 0 0 10px 14px; }
.cx-site .cx-drawer .mobile-nav li ul a { min-height: 44px; font-family: var(--cx-sans); font-size: 14px; color: var(--cx-muted); }
.cx-site .cx-drawer .mobile-nav .submenu-button {
  position: absolute; top: 4px; right: 0; left: auto; /* mobile-menu.css: left:0; width:100% — sola kayıp yazının üstüne biniyordu */
  width: 44px; height: 44px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.cx-site .cx-drawer .mobile-nav .submenu-button::before,
.cx-site .cx-drawer .mobile-nav .submenu-button::after {
  content: ""; position: absolute; top: 50%; left: 50%; right: auto;
  width: 12px; height: 1px; margin: 0 0 0 -6px; background: var(--cx-text);
  transition: transform .2s var(--cx-ease);
}
.cx-site .cx-drawer .mobile-nav .submenu-button::after { transform: rotate(90deg); }
.cx-site .cx-drawer .mobile-nav .submenu-button.submenu-opened::after { transform: rotate(0); visibility: visible; opacity: 1; }
.cx-site .cx-drawer .mobile-nav .submenu-button em { display: none; }
.cx-drawer__meta { margin-top: 28px; display: grid; gap: 20px; }
.cx-drawer__meta .cx-btn { width: 100%; }
.cx-drawer__contact { display: grid; gap: 8px; font-size: 14px; color: var(--cx-muted); }
.cx-drawer__contact a { display: inline-flex; min-height: 44px; align-items: center; }
.cx-drawer-backdrop {
  position: fixed; inset: 0; z-index: 999; background: rgba(28, 28, 28, .35);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--cx-ease), visibility .3s;
}
.mobile-menu-active + .cx-drawer-backdrop { opacity: 1; visibility: visible; }

/* =========================================================================
   HERO
   ========================================================================= */
.cx-hero { position: relative; background: var(--cx-dark); overflow: hidden; }
.cx-hero__slide {
  position: relative;
  /* tasarımdaki gibi ~2.2:1 oran; ekran yüksekliğini (header hariç) aşmaz → fotoğraf daha az kırpılır */
  min-height: clamp(560px, min(46vw, calc(100vh - var(--cx-header-h))), 920px);
  display: flex !important; align-items: center;
}
.cx-site .cx-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: left 62%; }
.cx-hero__slide::before {
  /* okunabilirlik gradyanı */
  content: ""; position: absolute; inset: 0; z-index: 1;
  /* yalnızca sol ~%44: en çok .4 opaklık, tamamen şeffafa söner; sağ taraf etkilenmez */
  background: linear-gradient(90deg, rgba(250, 248, 245, .4) 0%, rgba(250, 248, 245, .22) 24%, rgba(250, 248, 245, 0) 44%);
}
/* okunabilirlik: beyaz katman yerine metnin arkasında çok hafif, yumuşak bir hale + ince gölge */
.cx-hero__text { position: relative; }
.cx-hero__text::before {
  content: ""; position: absolute; z-index: -1; inset: -48px -64px;
  background: radial-gradient(closest-side, rgba(250, 248, 245, .32), rgba(250, 248, 245, 0));
  pointer-events: none;
}
.cx-hero__title, .cx-hero__desc, .cx-hero__text .cx-eyebrow { text-shadow: 0 1px 16px rgba(250, 248, 245, .7), 0 0 2px rgba(250, 248, 245, .5); }
.cx-hero__content { position: relative; z-index: 2; width: 100%; padding: 88px 0 120px; }
.cx-hero__text { max-width: 560px; }
.cx-hero__title { font-size: clamp(32px, 4.37vw, 61px); line-height: 1.02; margin-bottom: 22px !important; }
.cx-hero__desc { font-size: 17px; line-height: 1.6; color: #3d3d3d !important; max-width: 440px; }
/* İmza görseli (assets/images/concept/imza.png, koyu, şeffaf zemin) — açıklama yazısının yerinde */
.cx-site .cx-hero__signature { display: block; width: clamp(216px, 21.6vw, 360px); height: auto; margin: 4px 0 0 -6px; filter: drop-shadow(0 1px 10px rgba(250, 248, 245, .8)); }
.cx-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
/* hero'daki çerçeveli buton: fotoğraf üzerinde kaybolmasın diye yarı saydam açık zemin */
.cx-hero__actions .cx-btn--ghost {
  background: rgba(250, 248, 245, .5);
  border-color: var(--cx-dark);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cx-hero__actions .cx-btn--ghost:hover { background: var(--cx-dark); border-color: var(--cx-dark); }
.cx-hero__counter {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 34px;
  pointer-events: none;
}
.cx-hero__dots { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; pointer-events: auto; }
.cx-hero__dots button {
  min-width: 44px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--cx-sans); font-size: 12px; letter-spacing: .1em; color: var(--cx-muted);
  position: relative; text-align: left;
}
.cx-hero__dots button::after {
  content: ""; position: absolute; left: 4px; bottom: 8px; width: 18px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--cx-ease);
}
.cx-hero__dots button[aria-current="true"] { color: var(--cx-text); }
.cx-hero__dots button[aria-current="true"]::after { transform: scaleX(1); }
.cx-hero__slogan {
  /* koyu şerit: açık renkli fotoğrafta da okunur, ekranın içinde kalır */
  /* sağdaki sabit WhatsApp butonuyla (right:30px, ~50px genişlik) çakışmasın diye biraz solda */
  position: absolute; z-index: 3; right: calc(var(--cx-gutter) + 80px); bottom: 40px;
  box-sizing: border-box; width: max-content; max-width: min(240px, calc(100% - 2 * var(--cx-gutter)));
  padding: 16px 20px; text-align: left;
  background: rgba(28, 28, 28, .78);
  border-left: 1px solid var(--cx-accent);
  font-size: 10.5px; font-weight: 500; letter-spacing: .26em; line-height: 2; text-transform: uppercase;
  overflow-wrap: anywhere;
  color: #faf8f5 !important;
}
.cx-hero--empty .cx-hero__slide { background: var(--cx-card); }
/* slick başlamadan önce yalnızca ilk slayt görünsün */
.cx-hero__slides:not(.slick-initialized) > .cx-hero__slide + .cx-hero__slide { display: none !important; }

/* =========================================================================
   HİZMET KARTLARI (2 kart)
   ========================================================================= */
.cx-services { padding: 0 0 var(--cx-section); }
.cx-hero + .cx-services { padding-top: 24px; } /* Şirketimiz modülü kapalıysa kartlar hero'nun altına gelir */
.cx-services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cx-scard {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 230px;
  background: var(--cx-card);
  transition: background .25s var(--cx-ease);
}
.cx-scard:hover { background: #ebe7e1; }
.cx-scard__media { overflow: hidden; }
.cx-scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--cx-ease); }
.cx-scard:hover .cx-scard__media img { transform: scale(1.04); }
.cx-scard__body { display: flex; flex-direction: column; justify-content: center; padding: 30px 34px; }
.cx-scard__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 18px 0 14px; }
.cx-scard__title { font-size: clamp(26px, 2.2vw, 32px); }
.cx-scard__desc { font-size: 14px; line-height: 1.6; }

/* =========================================================================
   ŞİRKETİMİZ + ÖZELLİKLER
   ========================================================================= */
.cx-about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.cx-about__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.cx-about__title { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 26px !important; }
.cx-about__desc { font-size: 15.5px; line-height: 1.8; }
.cx-about__desc p + p { margin-top: 12px; }
.cx-about__cta { margin-top: 28px; }
.cx-features { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.cx-feature { padding: 0 26px; border-left: 1px solid var(--cx-line); }
.cx-feature:first-child { padding-left: 0; border-left: 0; }
.cx-feature .cx-num { color: var(--cx-text); margin-bottom: 22px; }
.cx-feature__row { display: flex; gap: 16px; align-items: flex-start; }
.cx-feature__icon { width: 32px; height: 32px; flex: none; fill: none; stroke: var(--cx-text); stroke-width: 1.1; }
.cx-feature__title { font-size: 21px; margin-bottom: 8px !important; }
.cx-feature__desc { font-size: 13px; line-height: 1.6; }

/* =========================================================================
   SEÇİLMİŞ PROJELER
   ========================================================================= */
.cx-projects { background: var(--cx-bg-alt); }
.cx-projects__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.cx-projects__title { font-size: clamp(32px, 3.4vw, 46px); max-width: 520px; }
.cx-projects__desc { margin-top: 14px !important; max-width: 520px; font-size: 15px; }
.cx-projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Projelerimiz sayfası: masaüstü 4 sütun (Alüminyum Üretimi sayfasıyla aynı) */
.cx-projects__grid--4 { grid-template-columns: repeat(4, 1fr); }
.cx-projects__grid--4 .cx-pcard__title { font-size: 21px; }
@media (max-width: 1199.98px) { .cx-projects__grid--4 { grid-template-columns: repeat(3, 1fr); } }
.cx-pcard { display: flex; flex-direction: column; background: var(--cx-bg); }
.cx-pcard__media { overflow: hidden; aspect-ratio: 4 / 2.6; }
.cx-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--cx-ease); }
.cx-pcard:hover .cx-pcard__media img { transform: scale(1.04); }
.cx-pcard__body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px 22px; }
.cx-pcard__title { font-size: 23px; }
.cx-pcard__cat { display: block; margin-top: 6px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--cx-muted); }
/* Proje kartı galeriyi açar (concept-parts.php concept_render_project_card): görsel sayısı rozeti + kısa açıklama */
.cx-pgallery { cursor: zoom-in; }
.cx-pcard__media { position: relative; }
.cx-pcard__count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: rgba(28, 28, 28, .72); color: #faf8f5; font-size: 12px; font-weight: 500; letter-spacing: .04em; }
/* Büyüteç simgesi: concept-icons.php 'zoom' sınıfsız gelir — boyut ve çizgi stili burada */
.cx-pcard__zoom { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s var(--cx-ease); }
.cx-pcard:hover .cx-pcard__body > .cx-pcard__zoom { transform: scale(1.12); }
.cx-pcard__count .cx-pcard__zoom { width: 14px; height: 14px; stroke-width: 1.8; }
.cx-pcard__desc { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--cx-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cx-pcard__body:has(.cx-pcard__desc) { align-items: flex-start; }
.cx-pcard__body > svg { flex: none; }
/* Galeri penceresi: başlık + sayaç alt satırda */
.mfp-cx .mfp-title { font-family: var(--cx-serif); font-size: 18px; color: #faf8f5; padding-right: 60px; }
.mfp-cx .mfp-counter { color: rgba(250, 248, 245, .7); font-size: 12px; letter-spacing: .08em; }

/* =========================================================================
   GALERİ ŞERİDİ
   ========================================================================= */
/* ---------- Ana sayfa proje şeridi (slick; masaüstü 4, sürüklenebilir, oklar) ---------- */
.cx-pslider__tools { display: flex; align-items: center; gap: 24px; flex: none; }
.cx-pslider__nav { display: flex; gap: 8px; }
.cx-pslider__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid var(--cx-text); border-radius: var(--cx-radius); color: var(--cx-text);
  transition: background .2s var(--cx-ease), color .2s var(--cx-ease), opacity .2s var(--cx-ease);
}
.cx-pslider__btn:hover { background: var(--cx-dark); color: var(--cx-on-dark); }
.cx-pslider__btn.slick-disabled, .cx-pslider__btn:disabled { opacity: .3; pointer-events: none; }
.cx-pslider__btn .cx-arrow { width: 18px; height: 18px; }
/* yan oklar: yalnızca geniş ekranda (kartların dışında yer var); dar ekranda üstteki oklar */
.cx-pslider-wrap { position: relative; }
/* slick okları başlatırken butonlara inline "display:inline-block" verir; bu yüzden !important */
.cx-pslider__btn { display: inline-flex !important; }
.cx-pslider__btn.cx-pslider__side { display: none !important; }
@media (min-width: 1440px) {
  .cx-pslider__nav { display: none !important; }
  .cx-pslider__btn.cx-pslider__side {
    display: inline-flex !important; position: absolute; z-index: 2; transform: translateY(-50%);
    background: var(--cx-bg); width: 50px; height: 50px;
  }
  .cx-pslider__side--prev { left: -76px; }
  .cx-pslider__side--next { right: -76px; }
  .cx-projects .cx-pslider__side { top: 40%; }  /* proje görselinin ortası */
  .cx-services .cx-pslider__side { top: 50%; }  /* hizmet kartının dikey ortası */
}
/* tüm kartlar sığıyorsa oklar gizli (concept.js sınıfı ekler) */
.cx-pslider--static .cx-pslider__nav, .cx-pslider--static .cx-pslider__side { display: none !important; }
/* slick başlamadan önce / JS yoksa: yatay sıra, 4 görünür */
.cx-pslider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; overflow: hidden; }
.cx-pslider.slick-initialized { display: block; overflow: visible; }
.cx-pslider .slick-list { margin: 0 -12px; overflow: hidden; }
.cx-pslider .slick-track { display: flex; }
.cx-pslider .slick-slide { height: auto; margin: 0 12px; display: flex !important; }
.cx-pslider .cx-pcard, .cx-pslider .cx-svc { width: 100%; }
/* ana sayfa hizmet şeridi başlık satırı */
.cx-services__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.cx-services__head .cx-eyebrow { margin-bottom: 0; }
.cx-pslider .cx-svc__title { font-size: clamp(20px, 1.5vw, 24px); }
.cx-pslider .slick-slide:focus, .cx-pslider .cx-pcard:focus { outline: none; }
.cx-pslider .cx-pcard:focus-visible { outline: 2px solid var(--cx-accent); outline-offset: 3px; }
.cx-pslider .cx-pcard__title { font-size: 21px; }
.cx-pslider.slick-dragging .cx-pcard { pointer-events: none; }

/* Galeri şeridi: görseller sağ kenara kadar uzanır; soldaki yazı bloğu sayfa içeriğiyle aynı hizadan başlar.
   İlk (boş) sütun = ekran kenarı ile içerik kenarı arası; % kaydırma çubuğundan etkilenmez. */
.cx-gallery {
  /* yazı (ekranın solundan başlar, sol boşluğa yayılır) | 4 görsel | sağ boşluk (içerik kenarına kadar)
     → görseller ortadaki alanın büyük kısmını alır, sağ kenarları içerikle hizalı, sağa yapışmaz */
  display: grid;
  grid-template-columns: max(300px, (100% - var(--cx-container)) / 2 + var(--cx-gutter) + 60px) repeat(4, 1fr) calc(max(0px, (100% - var(--cx-container)) / 2) + var(--cx-gutter));
  height: clamp(280px, 20vw, 380px); background: var(--cx-card);
}
.cx-gallery::after { content: ""; }
.cx-gallery__intro { display: flex; flex-direction: column; justify-content: center; padding: 40px 32px 40px calc(var(--cx-gutter) + 52px); }
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* dar masaüstü: 3 görsel (4'ü çok daralıyor) */
  .cx-gallery { grid-template-columns: 300px repeat(3, 1fr) var(--cx-gutter); }
  .cx-gallery > .cx-gallery__item:nth-child(n+5) { display: none; }
}
.cx-gallery__title { font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 14px !important; }
.cx-gallery__desc { font-size: 14px; margin-bottom: 22px !important; }
.cx-gallery__intro .cx-link { align-self: flex-start; }
.cx-gallery__item { overflow: hidden; }
.cx-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--cx-ease); }
.cx-gallery__item:hover img { transform: scale(1.05); }

/* =========================================================================
   İLETİŞİM BANDI
   ========================================================================= */
.cx-contact { background: linear-gradient(110deg, #ece7e0 0%, #f3efea 55%, #e6e0d8 100%); padding: 48px 0; }
.cx-contact__grid { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 48px; align-items: center; }
.cx-contact__title { font-size: clamp(28px, 2.7vw, 38px); }
.cx-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cx-contact__list li { display: flex; align-items: center; gap: 14px; min-height: 44px; font-size: 14px; color: var(--cx-text); }
.cx-contact__list a { display: inline-flex; align-items: center; min-height: 44px; }
.cx-contact__list a:hover { color: var(--cx-accent); }
.cx-contact__icon { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--cx-text); stroke-width: 1.3; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.cx-footer { background: var(--cx-bg); border-top: 1px solid var(--cx-line); }
.cx-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 0; }
.cx-footer__logo img { max-height: 42px; width: auto; }
.cx-footer__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; list-style: none; margin: 0; padding: 0; }
.cx-footer__menu a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12.5px; color: var(--cx-text); }
.cx-footer__menu a:hover { color: var(--cx-accent); }
.cx-social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.cx-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 16px; color: var(--cx-text); }
.cx-social a:hover { color: var(--cx-accent); }
.cx-footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 0 22px; border-top: 1px solid var(--cx-line);
  font-size: 11.5px; color: var(--cx-muted);
}
.cx-footer__bottom p { font-size: 11.5px; }
.cx-legal { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.cx-legal li + li::before { content: "|"; color: var(--cx-line); padding: 0 12px; }
.cx-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.cx-legal a:hover { color: var(--cx-text); }

/* Eski şablonun yüzen öğeleri sitenin diline uysun */
.cx-site .progress-wrap::after { color: var(--cx-text); }
.cx-site .progress-wrap svg.progress-circle path { stroke: var(--cx-text); }

/* Eski main.css içindeki --vtc-bg-main-bg-1 (panel "Renk") vurgusu yerine site rengi */
.cx-site .cookie-consent .cookie-accept { background: var(--cx-dark); color: var(--cx-on-dark); border-radius: var(--cx-radius); }

/* =========================================================================
   DUYARLI
   ========================================================================= */
@media (max-width: 1199.98px) {
  :root { --cx-gutter: 32px; --cx-section: 60px; }
  /* 1200px altı: menü hamburger'e geçer (logo + 6 menü öğesi + dil + buton bu genişliğe sığmıyor) */
  .cx-nav, .cx-header__cta { display: none; }
  .cx-burger { display: inline-flex; }
  .cx-header__inner { justify-content: space-between; gap: 22px; }
  .cx-header__tools { gap: 14px; }
  .cx-scard { grid-template-columns: 2fr 3fr; }
  .cx-scard__body { padding: 26px; }
  .cx-feature { padding: 0 16px; }
  .cx-contact__grid { grid-template-columns: 1fr 1fr; }
  .cx-contact__action { grid-column: 1 / -1; }
}

@media (max-width: 991.98px) {
  :root { --cx-header-h: 68px; --cx-section: 48px; }
  .cx-nav, .cx-header__cta { display: none; }
  .cx-burger { display: inline-flex; }
  .cx-header__inner { justify-content: space-between; }
  .cx-logo img { max-height: 44px; }

  .cx-hero__slide { min-height: 0; align-items: flex-end; }
  .cx-site .cx-hero__img { object-position: 62% center; } /* dar ekranda binanın cam cephesi görünsün (gökyüzü değil) */
  .cx-hero__slide::before {
    /* mobil/tablet: yalnızca alttan yukarı yumuşak gradyan; üst kısımdaki görsel olduğu gibi kalır */
    background: linear-gradient(0deg, rgba(250, 248, 245, .92) 0%, rgba(250, 248, 245, .78) 42%, rgba(250, 248, 245, .5) 64%, rgba(250, 248, 245, 0) 86%); /* bina görünür olunca başlık arkası da açık kalsın */
  }
  .cx-hero__text::before { display: none; }
  .cx-hero__content { padding: 220px 0 104px; }
  .cx-hero__slogan { display: none; }

  .cx-services__grid { grid-template-columns: 1fr; gap: 16px; }
  .cx-about__grid { grid-template-columns: 1fr; gap: 40px; }
  .cx-about__media img { aspect-ratio: 4 / 3; }
  .cx-features { grid-template-columns: 1fr; gap: 28px; }
  .cx-feature { padding: 0; border-left: 0; }
  .cx-projects__head { flex-direction: column; align-items: flex-start; }
  .cx-projects__grid { grid-template-columns: 1fr 1fr; }
  .cx-gallery { grid-template-columns: repeat(2, 1fr); height: auto; }
  .cx-gallery::before, .cx-gallery::after { display: none; }
  .cx-pslider { grid-auto-columns: calc((100% - 24px) / 2); }
  .cx-projects__head .cx-pslider__tools { width: 100%; justify-content: space-between; }
  .cx-services__head { flex-direction: column; align-items: flex-start; }
  .cx-services__head .cx-pslider__tools { width: 100%; justify-content: space-between; }
  .cx-gallery__intro { grid-column: 1 / -1; padding: 40px var(--cx-gutter); }
  .cx-gallery__item { aspect-ratio: 1 / 1; }
  .cx-footer__top { flex-direction: column; text-align: center; }
}

@media (max-width: 767.98px) {
  :root { --cx-gutter: 20px; --cx-section: 40px; }
  .cx-hero__title { font-size: clamp(29px, 8.1vw, 39px); }
  .cx-hero__desc { font-size: 15.5px; }
  .cx-site .cx-hero__signature { width: min(70vw, 270px); }
  .cx-hero__actions .cx-btn { flex: 1 1 100%; }
  .cx-scard { grid-template-columns: 1fr; }
  .cx-scard__media { aspect-ratio: 16 / 9; }
  .cx-projects__grid { grid-template-columns: 1fr; }
  .cx-pslider { grid-auto-columns: 82%; gap: 16px; }
  .cx-pslider .slick-list { margin: 0 -8px; padding-right: 14%; }
  .cx-pslider .slick-slide { margin: 0 8px; }
  .cx-contact__grid { grid-template-columns: 1fr; gap: 28px; }
  .cx-contact__action .cx-btn { width: 100%; }
  .cx-footer__bottom { flex-direction: column; text-align: center; padding-bottom: 150px; } /* sağ alttaki WhatsApp + yukarı çık düğmeleri son satırı örtmesin */
  .cx-legal { justify-content: center; }
}

@media (max-width: 400px) {
  .cx-header__tools .cx-lang { display: none; }
  .cx-header__tools .cx-langsel__toggle { padding: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .cx-site *, .cx-site *::before, .cx-site *::after { transition: none !important; animation: none !important; }
}


/* =========================================================================
   İÇ SAYFALAR
   ========================================================================= */

/* ---------- Başlık bandı ---------- */
.cx-pagehead {
  background: var(--cx-card);
  border-bottom: 1px solid var(--cx-line);
  padding: clamp(18px, 2vw, 28px) 0 clamp(16px, 1.6vw, 22px);
}
.cx-pagehead__title { font-size: clamp(26px, 2.34vw, 36px); line-height: 1.1; max-width: 900px; overflow-wrap: anywhere; }
/* masaüstü: başlık solda, breadcrumb sağda alt hizada — sağdaki boşluk dolar, bant alçalır */
.cx-pagehead > .cx-container { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; }
.cx-pagehead .cx-eyebrow { grid-column: 1 / -1; margin-bottom: 8px; }
/* başlık bandının hemen altındaki bölüm daha yakın başlasın */
.cx-pagehead + .cx-section { padding-top: clamp(24px, 2.4vw, 36px); }
.cx-crumbs { margin-top: 0; padding-bottom: 4px; }
.cx-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: var(--cx-muted); }
.cx-crumbs li { display: inline-flex; align-items: center; }
.cx-crumbs li + li::before { content: "/"; padding: 0 12px; color: var(--cx-line); }
.cx-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cx-muted); }
.cx-crumbs a:hover { color: var(--cx-text); }
.cx-crumbs [aria-current="page"] { color: var(--cx-text); }

/* ---------- Sayfalama ---------- */
.cx-pagination { margin-top: 40px; }
.cx-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.cx-pagination a, .cx-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 10px;
  border: 1px solid var(--cx-line); border-radius: var(--cx-radius);
  font-size: 12.5px; letter-spacing: .08em; color: var(--cx-text);
}
.cx-pagination a:hover { border-color: var(--cx-text); }
.cx-pagination .is-current { background: var(--cx-dark); border-color: var(--cx-dark); color: var(--cx-on-dark); }
.cx-pagination .is-disabled { opacity: .35; }
.cx-arrow--back { transform: scaleX(-1); }
a:hover > .cx-arrow--back { transform: scaleX(-1) translateX(4px); }

.cx-empty { text-align: center; padding: 40px 0; font-size: 15px; }

/* ---------- Hizmetler: 2 sütun kart ---------- */
.cx-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1199.98px) { .cx-svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991.98px) { .cx-svc-grid { grid-template-columns: repeat(2, 1fr); } }
.cx-svc { display: flex; flex-direction: column; background: var(--cx-card); transition: background .25s var(--cx-ease); }
.cx-svc:hover { background: #ebe7e1; }
.cx-svc__media { overflow: hidden; aspect-ratio: 4 / 3; }
.cx-svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--cx-ease); }
.cx-svc:hover .cx-svc__media img { transform: scale(1.04); }
.cx-svc__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.cx-svc__title { font-size: clamp(22px, 1.7vw, 27px); margin: 14px 0 8px !important; }
.cx-svc__desc {
  font-size: 14.5px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cx-svc__more { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; min-height: 44px; font-size: 13px; font-weight: 500; color: var(--cx-text); }

/* ---------- Detay sayfaları ---------- */
/* Sistem görseli: metin sütununun başında, görselin kendi oranında — kolajlar da kesilmeden görünür */
.cx-detail__media { margin: 0 0 clamp(24px, 3vw, 36px); }
.cx-detail__text > :first-child { margin-top: 0 !important; }
.cx-site .cx-detail__text h3 { margin-top: 1.1em !important; margin-bottom: .45em !important; } /* "Öne çıkanlar" üst boşluğu dar */
/* İki görsel (panel "Hizmet İkonu" alanı doluysa): alt alta, aralarında küçük boşluk */
.cx-detail__media--two { display: grid; gap: 12px; }
/* Telefonda sistem sayfaları: daha küçük metin, ana kategori görseli %25 daha yüksek (3:1 → 2.4:1) */
@media (max-width: 767.98px) {
  .cx-site .cx-detail__text, .cx-site .cx-detail__text p, .cx-site .cx-detail__text li { font-size: 14.5px; line-height: 1.65; }
  .cx-site .cx-detail__text p { margin-bottom: .75em; }
  .cx-site .cx-detail__text h3 { font-size: 20px; }
  .cx-site .cx-syscat .cx-detail__media--band img { aspect-ratio: 2.4 / 1; }
} /* metin kutusu (ServiceDetail.php) — .cx-prose > :first-child kuralının yerine */
/* Ana kategori sayfası: tek fotoğraf, basık bant (alt kategorilerdeki kolajlar tam boy kalır) */
.cx-site .cx-detail__media--band img { aspect-ratio: 3 / 1; object-fit: cover !important; max-height: 300px !important; }
/* Ana kategori sayfası (main.cx-syscat): başlık %20 küçük, boşluklar dar — alt sistem kartları daha çabuk görünsün */
.cx-syscat .cx-pagehead { padding: 14px 0 14px; }
.cx-syscat .cx-pagehead .cx-eyebrow { margin-bottom: 6px; }
.cx-syscat .cx-pagehead__title { font-size: clamp(22px, 1.9vw, 29px); }
.cx-syscat .cx-pagehead + .cx-section { padding-top: 20px; }
.cx-syscat .cx-detail__media { margin-bottom: 18px; }
/* Ana kategori görseli metnin yanında, küçük (masaüstü); metin sağında akar */
@media (min-width: 768px) {
  /* iki sütun: görsel solda, metnin tamamı sağda (satırlar görselin altına kaymaz) */
  .cx-syscat .cx-detail__grid > .cx-prose:has(> .cx-detail__media--band) { display: grid; grid-template-columns: 48% minmax(0, 1fr); column-gap: 40px; align-items: start; }
  .cx-syscat .cx-prose > .cx-detail__media--band { margin: 4px 0 0; }
  .cx-site .cx-syscat .cx-detail__text p, .cx-site .cx-syscat .cx-detail__text li { font-size: 15.7px; } /* %5 küçük (16.5 → 15.7) */
  .cx-syscat .cx-detail__text > :last-child { margin-bottom: 0 !important; } /* .cx-syscat … .cx-prose p (.8em) kuralını ezer */
  .cx-site .cx-syscat .cx-detail__media--band img { aspect-ratio: 4 / 3; max-height: none !important; }
}
.cx-syscat .cx-detail__grid > .cx-prose p { margin-bottom: .8em; }
.cx-syscat .cx-detail__grid:has(> .cx-subsys) { row-gap: 14px; }
.cx-syscat .cx-detail__grid > .cx-subsys { padding-top: 20px; }
.cx-syscat .cx-subsys__grid { margin-top: 14px; }
.cx-site .cx-detail__media img { display: block; width: 100%; height: auto; max-height: 640px; margin: 0; /* .cx-prose img üst/alt boşluğu burada yok — yan kutuyla aynı hizadan başlar */ object-fit: contain; background: var(--cx-card); }
.cx-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 80px); align-items: start; }
/* Ana kategori sayfasında alt sistem kartları (ServiceDetail.php) */
/* Izgarada metnin altında, sol sütunda; yan liste sağ sütunda 1. ve 2. satırı kaplar */
.cx-detail__grid > .cx-prose { grid-column: 1; grid-row: 1; }
.cx-detail__grid > .cx-subsys { grid-column: 1; grid-row: 2; padding-top: 28px; border-top: 1px solid var(--cx-line); }
.cx-detail__grid:has(> .cx-subsys) { row-gap: 28px; } /* metin ile alt sistemler arası dar; sütun arası aynı */
.cx-detail__grid > .cx-aside { grid-column: 2; grid-row: 1 / span 2; }
.cx-subsys__title { margin: 0 0 20px; font-size: clamp(22px, 2vw, 28px); }
.cx-subsys__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; } /* başlığın alt boşluğu genel h2 kuralıyla sıfırlanıyor */
.cx-subsys .cx-svc__title { font-size: clamp(19px, 1.5vw, 22px); }
@media (max-width: 1199.98px) { .cx-subsys__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
  .cx-detail__grid > .cx-prose, .cx-detail__grid > .cx-subsys, .cx-detail__grid > .cx-aside { grid-column: 1; grid-row: auto; }
}
@media (max-width: 575.98px) { .cx-subsys__grid { grid-template-columns: 1fr; } }
.cx-aside { display: grid; gap: 24px; position: sticky; top: calc(var(--cx-header-h) + 24px); }
.cx-aside__box { border: 1px solid var(--cx-line); padding: 26px 26px 18px; background: var(--cx-bg); }
.cx-aside__title { font-family: var(--cx-sans) !important; font-size: 11px !important; font-weight: 500 !important; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 10px !important; }
.cx-aside__links { list-style: none; margin: 0; padding: 0; }
.cx-aside__links li + li { border-top: 1px solid var(--cx-line); }
.cx-aside__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 0; font-size: 14.5px; color: var(--cx-muted); }
.cx-aside__links a:hover { color: var(--cx-text); }
.cx-aside__links a[aria-current="page"] { color: var(--cx-text); font-weight: 500; }
.cx-aside__links a[aria-current="page"]::before { content: ""; width: 3px; align-self: stretch; background: var(--cx-accent); margin-right: 4px; }
.cx-aside__links a[aria-current="page"] span { flex: 1; }

.cx-cta-box { background: var(--cx-dark); color: var(--cx-on-dark); padding: 32px 28px; }
.cx-cta-box .cx-eyebrow { color: var(--cx-on-dark); }
.cx-cta-box__title { color: var(--cx-on-dark) !important; font-size: 28px; margin-bottom: 20px !important; }
.cx-cta-box ul { list-style: none; margin: 0 0 22px; padding: 0; }
.cx-cta-box li a { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; color: var(--cx-on-dark); }
.cx-cta-box li a:hover { color: #d9c3ae; }
.cx-cta-box .cx-contact__icon { stroke: var(--cx-on-dark); }
.cx-cta-box .cx-btn { width: 100%; background: var(--cx-on-dark); border-color: var(--cx-on-dark); color: var(--cx-dark) !important; }
.cx-cta-box .cx-btn:hover { background: transparent; color: var(--cx-on-dark) !important; }

/* Bilgi satırları (Proje Bilgileri) */
.cx-info { margin: 0; }
.cx-info__row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--cx-line); font-size: 14px; }
.cx-info__row:first-child { border-top: 0; }
.cx-info dt { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--cx-muted); font-weight: 500; padding-top: 3px; }
.cx-info dd { margin: 0; color: var(--cx-text); overflow-wrap: anywhere; }
.cx-info dd a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border-bottom: 1px solid var(--cx-text); }

/* ---------- Zengin metin (panel HTML'i) ---------- */
.cx-prose { font-size: 16.5px; line-height: 1.8; color: #3d3d3d; overflow-wrap: break-word; }
.cx-prose > *:first-child { margin-top: 0 !important; }
.cx-prose p, .cx-prose li { color: #3d3d3d; font-size: inherit; line-height: inherit; }
.cx-prose p { margin: 0 0 1.1em; }
.cx-prose h2 { font-size: clamp(28px, 2.6vw, 36px); margin: 1.6em 0 .6em; }
.cx-prose h3 { font-size: clamp(22px, 2vw, 27px); margin: 1.5em 0 .5em; }
.cx-prose h4 { font-family: var(--cx-sans); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin: 1.6em 0 .6em; }
.cx-prose ul, .cx-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.cx-prose ul { list-style: none; padding-left: 0; }
.cx-prose ul > li { position: relative; padding-left: 22px; margin-bottom: .45em; }
.cx-prose ul > li::before { content: ""; position: absolute; left: 0; top: .85em; width: 10px; height: 1px; background: var(--cx-accent); }
.cx-prose ol > li { margin-bottom: .45em; padding-left: 4px; }
.cx-prose a { color: var(--cx-text); border-bottom: 1px solid var(--cx-accent); }
.cx-prose a:hover { color: var(--cx-accent); }
.cx-prose strong, .cx-prose b { color: var(--cx-text); font-weight: 500; }
.cx-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--cx-accent); font-family: var(--cx-serif); font-size: 22px; line-height: 1.5; color: var(--cx-text); }
.cx-prose img { max-width: 100%; height: auto !important; margin: 1.6em 0; }
.cx-prose hr { border: 0; border-top: 1px solid var(--cx-line); margin: 2.4em 0; }
.cx-prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 14.5px; display: block; overflow-x: auto; }
.cx-prose th, .cx-prose td { border-bottom: 1px solid var(--cx-line); padding: 12px 14px; text-align: left; vertical-align: top; }
.cx-prose th { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--cx-muted); background: var(--cx-card); }
.cx-prose iframe, .cx-prose video { max-width: 100%; }
/* PDF / indirme linkleri: sade dosya satırı */
.cx-prose a[href$=".pdf"], .cx-prose a[href$=".PDF"], .cx-prose a[download] {
  display: flex; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 18px; margin: 10px 0;
  border: 1px solid var(--cx-line); border-bottom-color: var(--cx-line);
  background: var(--cx-bg); font-size: 15px; color: var(--cx-text);
  transition: border-color .2s var(--cx-ease), background .2s var(--cx-ease);
}
.cx-prose a[href$=".pdf"]::before, .cx-prose a[href$=".PDF"]::before, .cx-prose a[download]::before {
  content: "PDF"; flex: none;
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 30px;
  border: 1px solid var(--cx-text); font-size: 10px; letter-spacing: .12em; font-weight: 500;
}
.cx-prose a[download]:not([href$=".pdf"]):not([href$=".PDF"])::before { content: "↓"; font-size: 14px; }
.cx-prose a[href$=".pdf"]::after, .cx-prose a[href$=".PDF"]::after, .cx-prose a[download]::after { content: "↓"; margin-left: auto; color: var(--cx-muted); }
.cx-prose a[href$=".pdf"]:hover, .cx-prose a[href$=".PDF"]:hover, .cx-prose a[download]:hover { border-color: var(--cx-text); background: var(--cx-card); color: var(--cx-text); }
.cx-prose li > a[href$=".pdf"], .cx-prose li > a[href$=".PDF"] { margin: 4px 0; }

/* Tek sütun sayfa (page.php) */
/* Tek sütun (görselsiz): ortalanmış okunaklı metin */
.cx-page__body { max-width: 760px; margin: 0 auto; }
/* Görselli sayfa: metin solda, görsel sağda (ana sayfadaki Şirketimiz bölümüyle aynı dil) */
.cx-page--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.cx-page--split .cx-page__body { max-width: 640px; margin: 0; }
.cx-page--split .cx-page__media { position: sticky; top: calc(var(--cx-header-h) + 24px); justify-self: end; width: 100%; max-width: 400px; }
.cx-page__media img { width: 100%; aspect-ratio: 4 / 5; max-height: 480px; object-fit: cover; }

/* Video bandı (page.php — assets/videos/{sayfa}.mp4 varsa): geniş video, üstünde içeriğin giriş kısmı */
/* Tam genişlik (kenardan kenara); yazı sitenin içerik hizasında kalır */
.cx-pagemedia > .cx-container { max-width: none; padding: 0; }
/* Video yalnızca ekran yüksekliği kadar: sayfa açıldığında (üst menü + ince başlık bandı + video) tek ekrana sığar */
.cx-pagemedia__frame { position: relative; overflow: hidden; height: min(56.25vw, calc(100vh - var(--cx-header-h) - 108px)); min-height: 440px; width: 100%; background: var(--cx-dark); }
/* Videolu sayfada başlık bandı ince */
.cx-pagehead:has(+ .cx-pagemedia) { padding: 14px 0 16px; }
.cx-pagehead:has(+ .cx-pagemedia) .cx-eyebrow { margin-bottom: 6px; }
.cx-pagehead:has(+ .cx-pagemedia) .cx-pagehead__title { font-size: clamp(26px, 2.2vw, 34px); }
.cx-site .cx-pagemedia__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cx-pagemedia__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(20, 20, 20, .78) 0%, rgba(20, 20, 20, .38) 42%, rgba(20, 20, 20, 0) 72%); }
.cx-pagemedia__text { position: absolute; z-index: 1; left: max(var(--cx-gutter), calc((100% - var(--cx-container)) / 2 + var(--cx-gutter))); right: var(--cx-gutter); bottom: clamp(28px, 4vw, 64px); max-width: 720px; color: #faf8f5; }
.cx-pagemedia__text > :first-child { margin: 0 0 14px; font-family: var(--cx-serif); font-size: clamp(28px, 3vw, 44px); font-weight: 500; line-height: 1.15; color: #fff; }
.cx-pagemedia__text > :first-child em { font-style: normal; }
.cx-pagemedia__text p:not(:first-child) { margin: 0; padding-left: 16px; border-left: 2px solid var(--cx-accent); font-size: 15.5px; line-height: 1.7; color: rgba(250, 248, 245, .9); }
.cx-pagemedia__text p:not(:first-child) + p { margin-top: 10px; }
.cx-pagemedia + .cx-section { padding-top: clamp(40px, 4.4vw, 64px); }

/* Video düzeninin altındaki metin: her h2 bölümü bir satır — numara + başlık solda, metin sağda */
.cx-chapters__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); padding: clamp(28px, 2.8vw, 42px) 0; border-top: 1px solid var(--cx-line); }
.cx-chapters__row:first-child { border-top: 0; padding-top: 0; }
.cx-chapters__head { align-self: start; position: sticky; top: calc(var(--cx-header-h) + 32px); }
.cx-chapters__num { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 12px; font-weight: 500; letter-spacing: .24em; color: var(--cx-accent); }
.cx-chapters__num::after { content: ""; width: 48px; height: 1px; background: var(--cx-accent); }
.cx-chapters__head h2 { margin: 0; font-size: clamp(30px, 2.6vw, 42px); line-height: 1.12; }
.cx-chapters__body { max-width: 760px; font-size: 17.5px; line-height: 1.85; }
.cx-chapters__body > :first-child { margin-top: 0; }
.cx-chapters__body > :last-child { margin-bottom: 0; }
.cx-chapters__body > p:first-child { font-size: 19px; color: var(--cx-text); }
/* Maddeleri kalın başlıkla başlayan liste (Felsefemiz: Güvenlik / Estetik / Yenilik) → yan yana kartlar */
.cx-site .cx-chapters__body ul:has(> li > strong:first-child) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
/* 4 kart (örn. Felsefemiz: Güvenlik/Estetik/Yenilik/Ekonomik): masaüstünde yan yana, daha sıkı kart; 1200 px altı 2 × 2 */
.cx-site .cx-chapters__body ul:has(> li > strong:first-child):has(> li:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cx-site .cx-chapters__body ul:has(> li > strong:first-child):has(> li:nth-child(4)) > li { padding: 26px 18px 28px; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; hyphens: auto; }
.cx-chapters__body ul:has(> li > strong:first-child):has(> li:nth-child(4)) > li > strong:first-child { font-size: 24px; margin-bottom: 10px; }
@media (max-width: 1199.98px) {
  .cx-site .cx-chapters__body ul:has(> li > strong:first-child):has(> li:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cx-site .cx-chapters__body ul:has(> li > strong:first-child) > li { margin: 0; padding: 28px 24px 30px; background: var(--cx-card); border-top: 2px solid var(--cx-accent); font-size: 15.5px; line-height: 1.7; }
.cx-site .cx-chapters__body ul:has(> li > strong:first-child) > li::before { display: none; }
.cx-chapters__body ul:has(> li > strong:first-child) > li > strong:first-child { display: block; margin-bottom: 10px; font-family: var(--cx-serif); font-size: 26px; font-weight: 500; color: var(--cx-text); }

/* ---------- Görsel şeridi (proje görselleri) ---------- */
.cx-strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.cx-strip-head h2 { font-size: clamp(28px, 2.6vw, 38px); }
.cx-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cx-photo-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cx-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--cx-card); }
.cx-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--cx-ease); }
.cx-photo::after {
  content: ""; position: absolute; inset: 0; background: rgba(28, 28, 28, .45);
  opacity: 0; transition: opacity .3s var(--cx-ease);
}
.cx-photo__zoom {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(250, 248, 245, .8); color: var(--cx-on-dark);
  opacity: 0; transform: scale(.9); transition: opacity .3s var(--cx-ease), transform .3s var(--cx-ease);
}
.cx-photo__zoom svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.cx-photo:hover img, .cx-photo:focus-visible img { transform: scale(1.05); }
.cx-photo:hover::after, .cx-photo:focus-visible::after { opacity: 1; }
.cx-photo:hover .cx-photo__zoom, .cx-photo:focus-visible .cx-photo__zoom { opacity: 1; transform: scale(1); }

/* ---------- Galeri sekmeleri ---------- */
.cx-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--cx-line); margin-bottom: 40px; overflow-x: auto; }
.cx-tabs a {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 4px; margin-right: 32px;
  font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--cx-muted);
  border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.cx-tabs a:hover { color: var(--cx-text); }
.cx-tabs a[aria-current="page"] { color: var(--cx-text); border-bottom-color: var(--cx-text); }

/* ---------- Video kartları ---------- */
.cx-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cx-video { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--cx-dark); }
.cx-video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .6s var(--cx-ease), opacity .3s var(--cx-ease); }
.cx-video:hover img { transform: scale(1.04); opacity: .75; }
.cx-video__play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(250, 248, 245, .92); color: var(--cx-dark);
  transition: transform .3s var(--cx-ease);
}
.cx-video__play svg { width: 18px; height: 18px; margin-left: 3px; fill: currentColor; }
.cx-video:hover .cx-video__play { transform: scale(1.08); }

/* ---------- İletişim sayfası ---------- */
.cx-cpage__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cx-cpage__list { list-style: none; margin: 0 0 32px; padding: 0; }
.cx-cpage__list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--cx-line); }
.cx-cpage__list li:first-child { border-top: 0; padding-top: 0; }
.cx-cpage__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--cx-line); }
.cx-cpage__label { display: block; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--cx-muted); margin-bottom: 4px; }
.cx-cpage__value, .cx-cpage__value a { font-size: 16px; color: var(--cx-text); line-height: 1.55; }
.cx-cpage__value a { display: inline-flex; min-height: 44px; align-items: center; }
.cx-cpage__value a:hover { color: var(--cx-accent); }
.cx-map { position: relative; aspect-ratio: 4 / 3; background: var(--cx-card); border: 1px solid var(--cx-line); }
.cx-map iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; filter: grayscale(1) contrast(1.05); }

.cx-form-wrap { background: var(--cx-card); padding: clamp(28px, 4vw, 48px); }
.cx-form-wrap__title { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 10px !important; }
.cx-form-wrap__desc { font-size: 14.5px; margin-bottom: 28px !important; }
.cx-form .row { --bs-gutter-x: 20px; }
.cx-form .single-input { margin-bottom: 20px; }
.cx-form label { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--cx-muted); margin-bottom: 8px; }
.cx-site .cx-form input[type="text"], .cx-site .cx-form input[type="email"], .cx-site .cx-form input[type="phone"], .cx-site .cx-form textarea {
  display: block; width: 100%; min-height: 50px; padding: 12px 16px;
  background: var(--cx-bg); border: 1px solid var(--cx-line); border-radius: var(--cx-radius);
  font-family: var(--cx-sans); font-size: 15px; color: var(--cx-text);
  box-shadow: none; outline: none; transition: border-color .2s var(--cx-ease);
}
.cx-site .cx-form textarea { min-height: 150px; resize: vertical; }
.cx-site .cx-form input:focus, .cx-site .cx-form textarea:focus { border-color: var(--cx-text); }
.cx-site .cx-form ::placeholder { color: #9a958e; }
.cx-form .button { margin-top: 4px; }
.cx-site .cx-form #sendMessage { width: auto; min-width: 180px; }

/* ---------- 404 ---------- */
.cx-404 { text-align: center; padding: clamp(56px, 8vw, 104px) 0; }
.cx-404__code { display: block; font-family: var(--cx-serif); font-size: clamp(110px, 20vw, 220px); line-height: .9; color: var(--cx-text); letter-spacing: -.02em; }
.cx-404__text { font-size: clamp(22px, 2.4vw, 30px); font-family: var(--cx-serif); color: var(--cx-text) !important; margin: 18px 0 36px !important; }
.cx-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- İç sayfa duyarlı ---------- */
@media (max-width: 1199.98px) {
  .cx-detail__grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .cx-photo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  .cx-detail__grid { grid-template-columns: 1fr; }
  .cx-aside { position: static; }
  .cx-video-grid { grid-template-columns: repeat(2, 1fr); }
  .cx-cpage__grid { grid-template-columns: 1fr; }
  .cx-page--split { grid-template-columns: 1fr; gap: 28px; }
  .cx-chapters__row { grid-template-columns: 1fr; gap: 20px; }
  .cx-chapters__head { position: static; }
  .cx-site .cx-chapters__body ul:has(> li > strong:first-child),
  .cx-site .cx-chapters__body ul:has(> li > strong:first-child):has(> li:nth-child(4)) { grid-template-columns: 1fr; }
  .cx-page--split .cx-page__media { position: static; justify-self: stretch; max-width: none; }
  .cx-page__media img { aspect-ratio: 16 / 9; max-height: 360px; }
}
@media (max-width: 767.98px) {
  .cx-svc-grid { grid-template-columns: 1fr; gap: 20px; }
  .cx-svc__body { padding: 24px 22px 26px; }
  .cx-photo-grid, .cx-photo-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cx-video-grid { grid-template-columns: 1fr; }
  .cx-info__row { grid-template-columns: 1fr; gap: 4px; }
  .cx-strip-head { flex-direction: column; align-items: flex-start; }
  .cx-prose { font-size: 16px; }
  .cx-pagemedia__frame { height: auto; aspect-ratio: 4 / 5; max-height: 560px; }
  .cx-pagemedia__frame::after { background: linear-gradient(to top, rgba(20, 20, 20, .82) 0%, rgba(20, 20, 20, .45) 50%, rgba(20, 20, 20, 0) 80%); }
  .cx-pagemedia__text p:not(:first-child) { font-size: 14.5px; }
  .cx-chapters__body { font-size: 16.5px; }
  .cx-chapters__body > p:first-child { font-size: 17.5px; }
  .cx-site .cx-form #sendMessage { width: 100%; }
  .cx-404__actions .cx-btn { flex: 1 1 100%; }
  .cx-pagehead > .cx-container { grid-template-columns: 1fr; }
  .cx-crumbs { margin-top: 10px; }
}

.cx-pcard__cat--top { margin: 0 0 8px; }
