/* ==========================================================================
   KLC Kablo — Premium design layer
   Loaded after the template CSS. All new components use the `k-` prefix.
   ========================================================================== */

:root {
    --k-ink: #0b0f17;
    --k-ink-2: #121a29;
    --k-ink-3: #1b2436;
    --k-navy: #1b2551;
    --k-red: #e3262f;
    --k-red-600: #c81e27;
    --k-red-50: #fdeced;
    --k-bg: #ffffff;
    --k-bg-soft: #f5f6f8;
    --k-bg-mute: #eef0f3;
    --k-line: #e4e7ec;
    --k-line-dark: rgba(255, 255, 255, .12);
    --k-text: #0b0f17;
    --k-text-2: #3d4554;
    --k-muted: #6b7384;
    --k-on-dark: #ffffff;
    --k-on-dark-2: rgba(255, 255, 255, .72);
    --k-on-dark-3: rgba(255, 255, 255, .5);

    --k-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --k-font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;

    --k-radius-sm: 10px;
    --k-radius: 16px;
    --k-radius-lg: 24px;
    --k-shadow-sm: 0 1px 2px rgba(11, 15, 23, .06), 0 1px 1px rgba(11, 15, 23, .04);
    --k-shadow: 0 12px 32px -12px rgba(11, 15, 23, .18);
    --k-shadow-lg: 0 30px 60px -20px rgba(11, 15, 23, .28);
    --k-ease: cubic-bezier(.2, .7, .2, 1);
    --k-header-h: 80px;
    --k-gutter: clamp(16px, 4vw, 40px);
    --k-section: clamp(72px, 10vw, 140px);

    /* Re-point template font variables so legacy blocks inherit the new type */
    --tp-ff-body: var(--k-font);
    --tp-ff-heading: var(--k-font-display);
    --tp-ff-p: var(--k-font);
    --tp-theme-1: var(--k-red);
    --tp-common-black: var(--k-ink);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--k-font);
    color: var(--k-text-2);
    background: var(--k-bg);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'cv11', 'ss01';
}
h1, h2, h3, h4, h5, h6 { font-family: var(--k-font-display); color: var(--k-text); letter-spacing: -.02em; text-wrap: balance; }
p { font-family: var(--k-font); }
::selection { background: var(--k-red); color: #fff; }
:focus-visible { outline: 2px solid var(--k-red); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }

.k-skip {
    position: absolute; left: 16px; top: -60px; z-index: 1000;
    background: var(--k-ink); color: #fff; padding: 10px 16px; border-radius: 8px;
    transition: top .2s var(--k-ease);
}
.k-skip:focus { top: 16px; color: #fff; }

.k-container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--k-gutter); }
.k-section { padding-block: var(--k-section); }
.k-section--soft { background: var(--k-bg-soft); }
.k-section--dark { background: var(--k-ink); color: var(--k-on-dark-2); }
.k-section--dark h1, .k-section--dark h2, .k-section--dark h3, .k-section--dark h4 { color: var(--k-on-dark); }

/* ---------- Type ---------- */
.k-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--k-red);
    margin-bottom: 18px;
}
.k-eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.k-eyebrow--light { color: #fff; }
.k-eyebrow--light::before { background: var(--k-red); }

.k-display {
    font-family: var(--k-font-display);
    font-size: clamp(40px, 6.4vw, 92px);
    line-height: 1.02;
    letter-spacing: -.035em;
    font-weight: 600;
    margin: 0;
}
.k-h2 {
    font-family: var(--k-font-display);
    font-size: clamp(32px, 4.2vw, 56px);
    line-height: 1.06;
    letter-spacing: -.03em;
    font-weight: 600;
    margin: 0;
}
.k-h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.k-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--k-muted); max-width: 640px; margin: 0; }
.k-section--dark .k-lead { color: var(--k-on-dark-2); }

.k-section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
    margin-bottom: clamp(40px, 5vw, 64px);
}
.k-section-head__text { max-width: 720px; }
.k-section-head .k-lead { margin-top: 20px; }

/* ---------- Buttons ---------- */
.k-btn {
    --_bg: var(--k-ink); --_fg: #fff; --_bd: var(--k-ink);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 26px;
    font-family: var(--k-font); font-size: 15px; font-weight: 600; letter-spacing: -.005em;
    color: var(--_fg); background: var(--_bg); border: 1px solid var(--_bd);
    border-radius: 999px; white-space: nowrap; cursor: pointer;
    transition: background .25s var(--k-ease), color .25s var(--k-ease), border-color .25s var(--k-ease), transform .25s var(--k-ease), box-shadow .25s var(--k-ease);
}
.k-btn:hover { color: var(--_fg); transform: translateY(-1px); box-shadow: var(--k-shadow); }
.k-btn:active { transform: translateY(0); }
.k-btn i, .k-btn svg { font-size: 14px; transition: transform .25s var(--k-ease); }
.k-btn:hover .k-arrow { transform: translateX(3px); }
.k-btn--red { --_bg: var(--k-red); --_bd: var(--k-red); }
.k-btn--red:hover { --_bg: var(--k-red-600); --_bd: var(--k-red-600); }
.k-btn--light { --_bg: #fff; --_fg: var(--k-ink); --_bd: #fff; }
.k-btn--ghost { --_bg: transparent; --_fg: var(--k-ink); --_bd: var(--k-line); }
.k-btn--ghost:hover { --_bd: var(--k-ink); box-shadow: none; }
.k-btn--ghost-light { --_bg: rgba(255, 255, 255, .06); --_fg: #fff; --_bd: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.k-btn--ghost-light:hover { --_bg: #fff; --_fg: var(--k-ink); --_bd: #fff; }
.k-btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }

.k-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 15px; color: var(--k-ink);
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .3s var(--k-ease), color .2s;
    padding-bottom: 2px;
}
.k-link:hover { color: var(--k-red); background-size: 100% 1px; }
.k-link i { font-size: 13px; transition: transform .25s var(--k-ease); }
.k-link:hover i { transform: translateX(3px); }

.k-icon-btn {
    width: 52px; height: 52px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--k-line); background: #fff; color: var(--k-ink);
    transition: all .25s var(--k-ease); cursor: pointer;
}
.k-icon-btn:hover { background: var(--k-ink); border-color: var(--k-ink); color: #fff; }
.k-icon-btn.swiper-button-disabled { opacity: .35; pointer-events: none; }

/* ---------- Header ---------- */
.k-header {
    position: fixed; inset: 0 0 auto 0; z-index: 900;
    height: var(--k-header-h);
    transition: background .35s var(--k-ease), box-shadow .35s var(--k-ease), transform .35s var(--k-ease), height .35s var(--k-ease);
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid rgba(11, 15, 23, .06);
}
.k-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(11, 15, 23, .35); }
.k-header.is-hidden { transform: translateY(-100%); }
.k-header__inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.k-header__logo { flex: 0 0 auto; display: flex; align-items: center; }
.k-header__logo img { height: 44px; width: auto; display: block; }
.k-header-spacer { height: var(--k-header-h); }

.k-nav { flex: 1 1 auto; height: 100%; }
.k-nav > ul { display: flex; align-items: center; height: 100%; gap: 4px; margin: 0; padding: 0; list-style: none; }
.k-nav > ul > li { height: 100%; display: flex; align-items: center; position: relative; }
.k-nav > ul > li.k-has-mega { position: static; }
.k-nav__link {
    display: inline-flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 14px; border-radius: 999px;
    font-size: 15px; font-weight: 500; color: var(--k-text);
    background: none; border: 0; cursor: pointer;
    transition: background .2s, color .2s;
}
.k-nav__link:hover, .k-nav__link[aria-expanded="true"], .k-nav__link.is-active { background: var(--k-bg-mute); color: var(--k-ink); }
.k-nav__link .k-caret { font-size: 10px; transition: transform .25s var(--k-ease); opacity: .6; }
.k-nav__link[aria-expanded="true"] .k-caret { transform: rotate(180deg); }

.k-dropdown {
    position: absolute; top: calc(100% - 8px); left: 0; min-width: 280px;
    background: #fff; border-radius: var(--k-radius); border: 1px solid var(--k-line);
    box-shadow: var(--k-shadow-lg); padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .25s var(--k-ease), transform .25s var(--k-ease), visibility .25s;
}
.k-dropdown a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 14px; border-radius: 10px;
    font-size: 15px; font-weight: 500; color: var(--k-text);
}
.k-dropdown a i { font-size: 12px; opacity: 0; transform: translateX(-4px); transition: all .2s var(--k-ease); color: var(--k-red); }
.k-dropdown a:hover { background: var(--k-bg-soft); color: var(--k-ink); }
.k-dropdown a:hover i { opacity: 1; transform: none; }

.k-mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 1px solid var(--k-line);
    box-shadow: 0 40px 60px -30px rgba(11, 15, 23, .3);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .3s var(--k-ease), transform .3s var(--k-ease), visibility .3s;
}
.k-mega__inner { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding-block: 36px 40px; }
/* auto-fit: kategori sayısı kadar sütun (boş sütun kalmaz); kartlar yan kutunun boyuna esnemez */
.k-mega__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; align-items: start; align-content: start; }
.k-mega__card { display: flex; flex-direction: column; border-radius: var(--k-radius); overflow: hidden; background: var(--k-bg-soft); border: 1px solid var(--k-line); color: var(--k-text); transition: transform .3s var(--k-ease), box-shadow .3s var(--k-ease); }
.k-mega__card:hover { transform: translateY(-3px); box-shadow: var(--k-shadow); color: var(--k-ink); }
.k-mega__card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.k-mega__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--k-ease); }
.k-mega__card:hover img { transform: scale(1.05); }
.k-mega__card span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; font-weight: 600; font-size: 15px; line-height: 1.3; border-top: 1px solid var(--k-line); }
.k-mega__card span i { font-size: 12px; color: var(--k-red); }
.k-mega__aside {
    border-radius: var(--k-radius); background: var(--k-ink); color: var(--k-on-dark-2);
    padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
    background-image: radial-gradient(120% 80% at 100% 0%, rgba(227, 38, 47, .35), transparent 60%);
}
.k-mega__aside h4 { color: #fff; font-size: 22px; line-height: 1.25; margin: 0 0 10px; }
.k-mega__aside p { color: var(--k-on-dark-2); font-size: 14px; margin: 0; }

.k-nav li:hover > .k-dropdown,
.k-nav li:focus-within > .k-dropdown,
.k-nav li.is-open > .k-dropdown,
.k-nav li.is-open > .k-mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
    .k-nav li.k-has-mega:hover > .k-mega { opacity: 1; visibility: visible; transform: none; }
}

.k-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.k-lang { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--k-bg-mute); }
.k-lang a {
    min-width: 38px; height: 32px; padding: 0 10px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 600; color: var(--k-muted); text-transform: uppercase;
    transition: all .2s;
}
.k-lang a:hover { color: var(--k-ink); }
.k-lang a.is-active { background: #fff; color: var(--k-ink); box-shadow: var(--k-shadow-sm); }

.k-burger {
    display: none; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--k-line); background: #fff; cursor: pointer;
    align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.k-burger span { display: block; width: 18px; height: 2px; background: var(--k-ink); border-radius: 2px; transition: transform .3s var(--k-ease), opacity .2s; }
.k-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.k-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.k-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.k-drawer {
    position: fixed; inset: var(--k-header-h) 0 0 0; z-index: 899;
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--k-ease), transform .3s var(--k-ease), visibility .3s;
}
.k-drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.k-drawer__body { padding: 16px var(--k-gutter) 40px; display: flex; flex-direction: column; min-height: 100%; }
.k-drawer__nav { list-style: none; margin: 0; padding: 0; }
.k-drawer__nav > li { border-bottom: 1px solid var(--k-line); }
.k-drawer__nav > li > a, .k-drawer__nav > li > button {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0; background: none; border: 0; text-align: left;
    font-family: var(--k-font-display); font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--k-ink);
}
.k-drawer__nav > li > button i { font-size: 14px; transition: transform .3s var(--k-ease); }
.k-drawer__nav > li > button[aria-expanded="true"] i { transform: rotate(45deg); }
.k-drawer__sub { list-style: none; margin: 0; padding: 0 0 16px; display: none; }
.k-drawer__sub.is-open { display: block; }
.k-drawer__sub a { display: block; padding: 10px 0; font-size: 17px; color: var(--k-text-2); }
.k-drawer__foot { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.k-drawer__foot .k-btn { width: 100%; }
body.k-drawer-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.k-hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: calc(100svh - var(--k-header-h)); min-height: calc(100vh - var(--k-header-h));
    display: flex; flex-direction: column; justify-content: flex-end;
    background: var(--k-ink); color: #fff;
}
.k-hero__media { position: absolute; inset: 0; z-index: -2; }
.k-hero__media video, .k-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.k-hero__media img { transform: scale(1.06); animation: k-kenburns 14s var(--k-ease) forwards; }
.k-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 15, 23, .88) 0%, rgba(11, 15, 23, .55) 45%, rgba(11, 15, 23, .15) 100%),
        linear-gradient(0deg, rgba(11, 15, 23, .9) 0%, rgba(11, 15, 23, 0) 45%);
}
.k-hero__content { padding-top: clamp(80px, 12vh, 160px); padding-bottom: clamp(48px, 8vh, 96px); max-width: 960px; }
.k-hero__title { color: #fff; }
.k-hero__text { margin-top: 28px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: var(--k-on-dark-2); max-width: 620px; }
.k-hero__ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.k-hero__bar { border-top: 1px solid var(--k-line-dark); background: rgba(11, 15, 23, .35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.k-hero__bar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 4vw, 64px); }
/* Stats share the bar width evenly and wrap into balanced rows when space runs out */
.k-hero__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.k-stat-inline {
    padding: clamp(20px, 2.2vw, 32px) clamp(16px, 2.4vw, 40px);
    border-left: 1px solid var(--k-line-dark);
    min-width: 0;
}
.k-stat-inline:first-child { border-left: 0; padding-left: 0; }
.k-stat-inline strong {
    display: block; font-family: var(--k-font-display); font-weight: 600; color: #fff;
    font-size: clamp(26px, 2.4vw, 42px); letter-spacing: -.025em; line-height: 1.05;
    font-variant-numeric: tabular-nums; white-space: nowrap;
}
.k-stat-inline > span { display: block; margin-top: 6px; font-size: clamp(13px, .95vw, 15px); color: var(--k-on-dark-3); line-height: 1.35; }
.k-scroll-cue { display: flex; align-items: center; gap: 14px; color: var(--k-on-dark-2); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.k-scroll-cue:hover { color: #fff; }
.k-scroll-cue__line { width: 1px; height: 40px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.k-scroll-cue__line::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: k-scroll 2.2s var(--k-ease) infinite; }
.k-hero__dots { display: flex; gap: 8px; align-items: center; }
.k-hero__dots button { width: 28px; height: 3px; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .3); cursor: pointer; padding: 0; }
.k-hero__dots button.is-active { background: #fff; }
.k-hero__slide { display: none; }
.k-hero__slide.is-active { display: block; animation: k-fade-up .9s var(--k-ease) both; }

@keyframes k-kenburns { to { transform: scale(1); } }
@keyframes k-scroll { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes k-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Pillars ---------- */
.k-pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--k-line); }
.k-pillar { padding: 36px 32px 8px 0; position: relative; }
.k-pillar + .k-pillar { padding-left: 32px; border-left: 1px solid var(--k-line); }
.k-pillar__num { font-family: var(--k-font-display); font-size: 14px; font-weight: 600; color: var(--k-red); font-variant-numeric: tabular-nums; }
.k-pillar h3 { margin: 40px 0 12px; font-size: 22px; font-weight: 600; }
.k-pillar p { margin: 0; color: var(--k-muted); font-size: 15px; line-height: 1.65; }

/* ---------- Category cards ---------- */
.k-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.k-cat-card {
    position: relative; display: flex; flex-direction: column;
    border-radius: var(--k-radius-lg); overflow: hidden; background: #fff;
    border: 1px solid var(--k-line); color: var(--k-text);
    transition: transform .45s var(--k-ease), box-shadow .45s var(--k-ease), border-color .3s;
}
.k-cat-card:hover { transform: translateY(-6px); box-shadow: var(--k-shadow-lg); border-color: transparent; color: var(--k-text); }
.k-cat-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--k-bg-soft); margin: 0; }
.k-cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--k-ease); }
.k-cat-card:hover .k-cat-card__media img { transform: scale(1.06); }
.k-cat-card__body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.k-cat-card__index { font-size: 13px; font-weight: 600; color: var(--k-muted); letter-spacing: .08em; }
.k-cat-card__title { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.k-cat-card__desc { color: var(--k-muted); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.k-cat-card__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 15px; }
.k-cat-card__arrow {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--k-line);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .35s var(--k-ease);
}
.k-cat-card:hover .k-cat-card__arrow { background: var(--k-red); border-color: var(--k-red); color: #fff; transform: rotate(-45deg); }

/* ---------- Feature (sustainability) ---------- */
.k-feature {
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: var(--k-radius-lg);
    min-height: 560px; display: flex; align-items: flex-end;
    background: var(--k-ink) center / cover no-repeat;
    color: #fff;
}
.k-feature::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 15, 23, .92) 0%, rgba(11, 15, 23, .35) 60%, rgba(11, 15, 23, .15) 100%); }
.k-feature--plain {
    min-height: 460px;
    background:
        radial-gradient(60% 90% at 100% 100%, rgba(52, 168, 83, .28), transparent 60%),
        radial-gradient(50% 70% at 85% 0%, rgba(227, 38, 47, .22), transparent 60%),
        var(--k-ink);
}
.k-feature--plain::before {
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
}
/* Anasayfa varsayılan arka planı (admin'den görsel yüklenmemişse) */
.k-feature--klc { background-image: url('../img/home/surdurulebilirlik-bg-1600.webp?v=2'); background-position: center top; }
.k-feature--klc::before { background: linear-gradient(90deg, rgba(11, 15, 23, .7) 0%, rgba(11, 15, 23, .4) 45%, rgba(11, 15, 23, 0) 100%), linear-gradient(0deg, rgba(11, 15, 23, .3) 0%, transparent 50%); }
.k-feature__content { padding: clamp(32px, 6vw, 80px); max-width: 820px; }
.k-feature h2 { color: #fff; }
.k-feature__content p { color: var(--k-on-dark-2); font-size: clamp(16px, 1.3vw, 19px); margin: 24px 0 36px; }

/* ---------- Stats band ---------- */
.k-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--k-line-dark); }
.k-stat { padding: 40px 32px 0 0; }
.k-stat strong { display: block; font-family: var(--k-font-display); font-size: clamp(48px, 6vw, 84px); line-height: 1; font-weight: 600; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.k-stat strong sup { font-size: .45em; top: -.9em; margin-left: 4px; color: var(--k-red); }
.k-stat > span { display: block; margin-top: 14px; color: var(--k-on-dark-2); font-size: 16px; }

/* ---------- Product cards ---------- */
.k-product-card {
    display: flex; flex-direction: column; height: 100%;
    border-radius: var(--k-radius-lg); background: #fff; border: 1px solid var(--k-line);
    overflow: hidden; color: var(--k-text);
    transition: transform .4s var(--k-ease), box-shadow .4s var(--k-ease), border-color .3s;
}
.k-product-card:hover { transform: translateY(-4px); box-shadow: var(--k-shadow); border-color: transparent; color: var(--k-text); }
.k-product-card__media {
    aspect-ratio: 4 / 3; margin: 0; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(80% 80% at 50% 40%, #fff 0%, var(--k-bg-soft) 70%);
    padding: 0; overflow: hidden; border-bottom: 1px solid var(--k-line);
}
/* Kare ürün renderlarındaki boşluk kırpılır ve hafif yakınlaştırılır; ürün alanı doldurur */
.k-product-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); transition: transform .6s var(--k-ease); mix-blend-mode: multiply; }
.k-product-card:hover .k-product-card__media img { transform: scale(1.48); }
.k-product-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.k-product-card__cat { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--k-red); }
.k-product-card__title { font-size: 18px; line-height: 1.35; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.k-product-card__desc { font-size: 14px; color: var(--k-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.k-product-card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--k-ink); }
.k-product-card__foot i { font-size: 12px; transition: transform .25s var(--k-ease); }
.k-product-card:hover .k-product-card__foot i { transform: translateX(4px); color: var(--k-red); }

.k-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.k-products-swiper { overflow: visible; }
.k-products-swiper .swiper-slide { height: auto; }
.k-slider-nav { display: flex; align-items: center; gap: 10px; }
.k-slider-nav .k-link { margin-inline-end: 14px; }

/* ---------- Logo marquee ---------- */
.k-marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.k-marquee__track { display: flex; gap: 20px; width: max-content; animation: k-marquee 50s linear infinite; }
.k-marquee:hover .k-marquee__track { animation-play-state: paused; }
.k-marquee__item {
    flex: 0 0 auto; width: 220px; height: 120px; border-radius: var(--k-radius);
    background: #fff; border: 1px solid var(--k-line);
    display: flex; align-items: center; justify-content: center; padding: 14px 20px;
}
.k-marquee__item img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .3s; }
.k-marquee__item:hover img { filter: none; opacity: 1; }
@keyframes k-marquee { to { transform: translateX(calc(-50% - 10px)); } }

/* ---------- CTA ---------- */
.k-cta {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: var(--k-radius-lg); background: var(--k-ink); color: #fff;
    padding: clamp(40px, 7vw, 96px);
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
}
.k-cta::before {
    content: ''; position: absolute; z-index: -1; width: 720px; height: 720px; right: -200px; top: -320px;
    background: radial-gradient(closest-side, rgba(227, 38, 47, .55), transparent);
}
.k-cta::after {
    content: ''; position: absolute; z-index: -1; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000);
    mask-image: linear-gradient(90deg, transparent, #000);
}
/* Anasayfa "Bize ulaşın" arka planı */
.k-cta--klc {
    background:
        linear-gradient(90deg, rgba(11, 15, 23, .72) 0%, rgba(11, 15, 23, .4) 50%, rgba(11, 15, 23, .05) 100%),
        url('../img/home/iletisim-bg-1600.webp?v=2') center / cover no-repeat,
        var(--k-ink);
}
.k-cta--klc::before, .k-cta--klc::after { display: none; }
.k-cta h2 { color: #fff; }
.k-cta p { color: var(--k-on-dark-2); margin: 20px 0 0; font-size: 18px; max-width: 560px; }
.k-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Page hero (inner pages) ---------- */
.k-page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--k-ink) center / cover no-repeat; color: #fff;
    padding-block: clamp(72px, 10vw, 140px) clamp(48px, 6vw, 80px);
}
.k-page-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(11, 15, 23, .94) 0%, rgba(11, 15, 23, .7) 55%, rgba(11, 15, 23, .45) 100%);
}
.k-page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 72px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; margin: 0; max-width: 960px; }
.k-page-hero p { margin: 22px 0 0; color: var(--k-on-dark-2); font-size: clamp(16px, 1.3vw, 19px); max-width: 640px; }

.k-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; font-size: 14px; }
.k-crumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--k-on-dark-3); }
.k-crumbs li + li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.k-crumbs a { color: var(--k-on-dark-2); }
.k-crumbs a:hover { color: #fff; }
.k-crumbs li[aria-current] { color: #fff; }
.k-crumbs--light li { color: var(--k-muted); }
.k-crumbs--light a { color: var(--k-text-2); }
.k-crumbs--light a:hover { color: var(--k-red); }
.k-crumbs--light li[aria-current] { color: var(--k-ink); }

/* ---------- Product detail ---------- */
.k-pd { padding-block: 40px var(--k-section); }
.k-pd__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.k-pd__gallery { position: sticky; top: calc(var(--k-header-h) + 24px); }
.k-pd__stage {
    border-radius: var(--k-radius-lg); aspect-ratio: 5 / 4; max-height: 560px; width: 100%;
    background: radial-gradient(70% 70% at 50% 45%, #fff 0%, var(--k-bg-soft) 75%);
    border: 1px solid var(--k-line);
    display: flex; align-items: center; justify-content: center; padding: 48px; overflow: hidden;
}
.k-pd__stage img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .3s; }
.k-pd__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.k-pd__thumbs button {
    width: 76px; height: 76px; border-radius: 12px; border: 1px solid var(--k-line); background: var(--k-bg-soft);
    padding: 8px; cursor: pointer; transition: border-color .2s;
}
.k-pd__thumbs button img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.k-pd__thumbs button.is-active, .k-pd__thumbs button:hover { border-color: var(--k-ink); }
.k-pd__info { padding-top: 8px; }
.k-pd__info > :first-child { margin-top: 0; }

/* Product detail header — datasheet style: big code + standard lines, image on a diagonal navy band */
.k-pdh { position: relative; margin: 8px 0 clamp(40px, 5vw, 64px); }
/* Föydeki gibi: başlık bandın sol üstündeki beyaz eğik alanın içinde */
.k-pdh__head { position: absolute; z-index: 2; top: 0; inset-inline-start: 0; padding: clamp(20px, 2.6vw, 36px) clamp(20px, 3.6vw, 52px); }
.k-pdh__title {
    position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px clamp(16px, 2vw, 28px);
    margin: 0; padding-top: 18px; color: var(--k-navy);
}
.k-pdh__title::before { content: ''; position: absolute; top: 0; inset-inline-start: 0; width: 64px; height: 4px; background: var(--k-red); }
.k-pdh__code {
    font-family: var(--k-font-display); font-weight: 800; letter-spacing: -.02em; line-height: .9;
    font-size: clamp(56px, 8vw, 104px);
}
.k-pdh__code--long { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; }
.k-pdh__std { display: flex; flex-direction: column; gap: 2px; font-size: clamp(12px, 1.1vw, 15px); font-weight: 800; letter-spacing: .02em; line-height: 1.25; text-transform: uppercase; }
.k-pdh__fullname { margin: 14px 0 0; font-family: var(--k-font-display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--k-navy); text-transform: uppercase; }
.k-pdh .k-pd__stage {
    position: relative; isolation: isolate; aspect-ratio: 16 / 6.5; max-height: none; padding: 0;
    border: 0; border-radius: 0; background: #dbe3ea; display: block; overflow: hidden;
}
.k-pdh .k-pd__stage::before,
.k-pdh .k-pd__stage::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.k-pdh .k-pd__stage::before { background: #fff; clip-path: polygon(0 0, 57% 0, 51% 30%, 0 30%); }
.k-pdh .k-pd__stage::after { background: var(--k-navy); clip-path: polygon(68% 0, 100% 0, 100% 100%, 48% 100%); }
.k-pdh .k-pd__stage img {
    position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
    object-fit: cover; object-position: 50% 36%; mix-blend-mode: normal; /* kablo bandın alt kısmında, başlığın altında */
    transform: scaleX(-1); /* föydeki gibi: kablo ucu solda, gövde sağa (lacivert alana) uzanır */
    filter: drop-shadow(0 18px 18px rgba(11, 15, 23, .25));
}
.k-pd .k-pd__gallery .k-pd__chips { margin-top: 18px; }
.k-pd__title { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 600; margin: 0; }
.k-pd__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.k-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px; background: var(--k-bg-soft); border: 1px solid var(--k-line);
    font-size: 13px; font-weight: 500; color: var(--k-text-2);
}
.k-chip i { color: var(--k-red); font-size: 12px; }
.k-pd__desc { margin: 28px 0 0; padding: 0; list-style: none; }
.k-pd__desc li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--k-line); color: var(--k-text-2); line-height: 1.6; }
.k-pd__desc li::before { content: ''; position: absolute; left: 4px; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--k-red); }
.k-pd__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--k-line); border: 1px solid var(--k-line); border-radius: var(--k-radius); overflow: hidden; margin-top: 28px; }
.k-pd__fact { background: #fff; padding: 16px 18px; }
.k-pd__fact dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--k-muted); margin-bottom: 4px; }
.k-pd__fact dd { margin: 0; font-weight: 600; color: var(--k-ink); font-size: 15px; }
.k-pd__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.k-tabs-wrap { margin-top: clamp(64px, 8vw, 120px); }
.k-tabs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.k-tabs {
    display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--k-bg-mute);
    max-width: 100%; overflow-x: auto; scrollbar-width: none; list-style: none; margin: 0; border: 0;
}
.k-tabs::-webkit-scrollbar { display: none; }
.k-tabs .nav-item { margin: 0; flex: 0 0 auto; }
.k-tabs .k-tab {
    height: 42px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent;
    font-size: 14px; font-weight: 600; color: var(--k-muted); white-space: nowrap; cursor: pointer;
    transition: all .25s var(--k-ease);
}
.k-tabs .k-tab:hover { color: var(--k-ink); }
.k-tabs .k-tab.active { background: #fff; color: var(--k-ink); box-shadow: var(--k-shadow-sm); }

.k-table-wrap {
    border: 1px solid var(--k-line); border-radius: var(--k-radius); overflow: auto; background: #fff;
    max-height: 70vh;
}
.k-table-wrap table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.k-table-wrap th, .k-table-wrap td { padding: 12px 16px; border-bottom: 1px solid var(--k-line); border-right: 1px solid var(--k-line); text-align: center; vertical-align: middle; color: var(--k-text-2); }
.k-table-wrap tr > :last-child { border-right: 0; }
.k-table-wrap tbody tr:last-child > * { border-bottom: 0; }
/* Başlık tek parça halinde üstte sabit kalır (çok satırlı / rowspan'li başlıklarda satırlar ayrışmaz) */
.k-table-wrap thead { position: sticky; top: 0; z-index: 3; }
.k-table-wrap thead th { background: var(--k-ink); color: #fff; font-weight: 600; font-size: 13px; border-color: rgba(255, 255, 255, .12); }
.k-table-wrap tbody tr:nth-child(even) { background: #fafbfc; }
.k-table-wrap tbody tr:hover { background: var(--k-red-50); }
/* Geniş veri tablolarında ilk sütun (kod) yatay kaydırmada solda sabit kalır */
.k-table-wrap table:not(.k-spec) thead tr:first-child > :first-child { position: sticky; inset-inline-start: 0; z-index: 1; }
.k-table-wrap table:not(.k-spec) tbody > tr > :first-child { position: sticky; inset-inline-start: 0; z-index: 1; background: #fff; box-shadow: inset -1px 0 0 var(--k-line); }
.k-table-wrap table:not(.k-spec) tbody > tr:nth-child(even) > :first-child { background: #fafbfc; }
.k-table-wrap table:not(.k-spec) tbody > tr:hover > :first-child { background: var(--k-red-50); }
.k-table-wrap .k-spec thead th { text-align: left; }
.k-table-wrap .k-spec th[scope="row"] { text-align: left; font-weight: 500; color: var(--k-muted); width: 40%; background: transparent; }
.k-table-wrap .k-spec td { text-align: left; font-weight: 500; color: var(--k-ink); }
.k-table-wrap .k-spec .k-spec__group td { background: var(--k-bg-soft); font-weight: 700; color: var(--k-ink); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }

.k-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.k-apps li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--k-line); border-radius: var(--k-radius); background: #fff; color: var(--k-text-2); }
.k-apps li i { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--k-red-50); color: var(--k-red); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; margin-top: 1px; }

.k-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.k-doc {
    display: flex; align-items: center; gap: 16px; padding: 18px 20px;
    border: 1px solid var(--k-line); border-radius: var(--k-radius); background: #fff; color: var(--k-ink);
    transition: all .25s var(--k-ease);
}
.k-doc:hover { border-color: var(--k-ink); color: var(--k-ink); transform: translateY(-2px); box-shadow: var(--k-shadow); }
.k-doc__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--k-red-50); color: var(--k-red); display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 auto; }
.k-doc strong { display: block; font-size: 15px; font-weight: 600; }
.k-doc small { color: var(--k-muted); font-size: 13px; }
.k-doc > i { margin-left: auto; color: var(--k-muted); }

/* ---------- Prose (CMS content) ---------- */
.k-prose { color: var(--k-text-2); font-size: 17px; line-height: 1.8; }
.k-prose > *:first-child { margin-top: 0; }
.k-prose h1, .k-prose h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 2.2em 0 .7em; font-weight: 600; letter-spacing: -.025em; }
.k-prose h3, .k-prose h4 { font-size: 22px; margin: 1.8em 0 .6em; font-weight: 600; }
.k-prose p { margin: 0 0 1.2em; color: var(--k-text-2); font-size: 17px; line-height: 1.8; }
.k-prose ul, .k-prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.k-prose ul { list-style: disc; }
.k-prose li { margin-bottom: .5em; }
.k-prose li::marker { color: var(--k-red); }
.k-prose img { border-radius: var(--k-radius); height: auto; }
.k-prose a { color: var(--k-red); text-decoration: underline; text-underline-offset: 3px; }
.k-prose blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--k-red); font-size: 20px; color: var(--k-ink); }
.k-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.k-prose td, .k-prose th { border: 1px solid var(--k-line); padding: 10px 14px; }

.k-article { max-width: 820px; margin-inline: auto; }
.k-article__media { border-radius: var(--k-radius-lg); overflow: hidden; margin-bottom: 48px; background: var(--k-bg-soft); }
.k-article__media img { width: 100%; display: block; }
.k-article__media--video { position: relative; aspect-ratio: 16 / 9; }
.k-article__media--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.k-article__meta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; color: var(--k-on-dark-2); font-size: 15px; margin-top: 24px; }
.k-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--k-line); }
.k-share span { font-weight: 600; color: var(--k-ink); margin-right: 6px; }
.k-share a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--k-line); display: inline-flex; align-items: center; justify-content: center; color: var(--k-ink); transition: all .2s; }
.k-share a:hover { background: var(--k-ink); color: #fff; border-color: var(--k-ink); }

.k-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.k-split__media { position: sticky; top: calc(var(--k-header-h) + 32px); border-radius: var(--k-radius-lg); overflow: hidden; margin: 0; }
.k-split__media img { width: 100%; display: block; }

/* Accordion generated from CMS headings */
.k-accordion .accordion-item { border: 0; border-bottom: 1px solid var(--k-line); border-radius: 0 !important; background: transparent; }
.k-accordion .accordion-button {
    padding: 26px 0; background: transparent !important; box-shadow: none !important;
    font-family: var(--k-font-display); font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; color: var(--k-ink) !important; letter-spacing: -.015em;
}
.k-accordion .accordion-button::after {
    background-image: none; content: '+'; font-family: var(--k-font); font-weight: 300; font-size: 28px; line-height: 1;
    width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid var(--k-line); transform: none; transition: all .3s var(--k-ease); color: var(--k-ink);
}
.k-accordion .accordion-button:not(.collapsed)::after { content: '–'; background: var(--k-ink); border-color: var(--k-ink); color: #fff; transform: none; }
.k-accordion .accordion-body { padding: 0 0 28px; }

/* ---------- News ---------- */
.k-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.k-news-card { display: flex; flex-direction: column; color: var(--k-text); }
.k-news-card:hover { color: var(--k-text); }
.k-news-card__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--k-radius-lg); overflow: hidden; margin: 0 0 22px; background: var(--k-bg-soft); }
.k-news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--k-ease); }
.k-news-card:hover .k-news-card__media img { transform: scale(1.05); }
.k-news-card__badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; color: var(--k-ink); }
.k-news-card__meta { font-size: 14px; color: var(--k-muted); margin-bottom: 10px; }
.k-news-card__title { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; margin: 0 0 16px; transition: color .2s; }
.k-news-card:hover .k-news-card__title { color: var(--k-red); }
.k-news-card:first-child:nth-last-child(n+4) { grid-column: span 2; }

/* ---------- Gallery ---------- */
.k-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.k-gallery__item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--k-radius); overflow: hidden; background: var(--k-bg-soft); }
.k-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--k-ease); }
.k-gallery__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 15, 23, .7), rgba(11, 15, 23, 0) 55%); opacity: 0; transition: opacity .35s var(--k-ease); }
.k-gallery__item:hover img { transform: scale(1.05); }
.k-gallery__item:hover::after, .k-gallery__item:focus-visible::after { opacity: 1; }
.k-gallery__caption { position: absolute; z-index: 1; inset-inline: 18px; bottom: 16px; color: #fff; font-weight: 600; font-size: 15px; line-height: 1.35; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--k-ease), transform .35s var(--k-ease); }
.k-gallery__zoom { position: absolute; z-index: 1; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--k-ink); display: flex; align-items: center; justify-content: center; font-size: 15px; opacity: 0; transform: scale(.85); transition: opacity .35s var(--k-ease), transform .35s var(--k-ease); }
.k-gallery__item:hover .k-gallery__caption, .k-gallery__item:hover .k-gallery__zoom,
.k-gallery__item:focus-visible .k-gallery__caption, .k-gallery__item:focus-visible .k-gallery__zoom { opacity: 1; transform: none; }
@media (hover: none) {
    .k-gallery__item::after, .k-gallery__caption { opacity: 1; transform: none; }
}

/* ---------- Certificates ---------- */
.k-cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.k-cert-group + .k-cert-group { margin-top: clamp(48px, 6vw, 80px); }
.k-cert-group__title { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--k-line); }
.k-cert-group__icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: var(--k-bg-soft); border: 1px solid var(--k-line); display: flex; align-items: center; justify-content: center; padding: 7px; }
.k-cert-group__icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.k-cert-group__icon i { font-size: 22px; color: var(--k-red); }
.k-cert-group[hidden] { display: none; }
.k-cert-group__empty { margin: 0; padding: 28px; border: 1px dashed var(--k-line); border-radius: var(--k-radius); color: var(--k-muted); text-align: center; }

/* Kalite belgesi türleri (kategori kartları) */
.k-cert-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.k-cert-cat {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--k-radius);
    border: 1px solid var(--k-line); background: #fff; color: var(--k-ink); text-decoration: none;
    transition: border-color .2s, box-shadow .3s var(--k-ease), transform .3s var(--k-ease);
}
.k-cert-cat:hover { color: var(--k-ink); transform: translateY(-2px); box-shadow: var(--k-shadow); }
.k-cert-cat.is-active { border-color: var(--k-ink); box-shadow: inset 0 0 0 1px var(--k-ink); }
.k-cert-cat__icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 14px; background: var(--k-bg-soft); display: flex; align-items: center; justify-content: center; padding: 8px; }
.k-cert-cat__icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.k-cert-cat__icon i { font-size: 24px; color: var(--k-red); }
.k-cert-cat.is-active .k-cert-cat__icon { background: var(--k-red-50); }
.k-cert-cat__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.k-cert-cat__text strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.k-cert-cat__text small { font-size: 13px; color: var(--k-muted); }
.k-cert {
    display: flex; flex-direction: column; text-align: left; width: 100%;
    border-radius: var(--k-radius-lg); border: 1px solid var(--k-line); background: #fff; overflow: hidden; padding: 0; cursor: pointer;
    transition: transform .4s var(--k-ease), box-shadow .4s var(--k-ease);
}
.k-cert:hover { transform: translateY(-4px); box-shadow: var(--k-shadow); }
.k-cert__media { aspect-ratio: 3 / 4; background: var(--k-bg-soft); display: flex; align-items: center; justify-content: center; padding: 28px; }
.k-cert__media img { max-height: 100%; max-width: 100%; object-fit: contain; box-shadow: 0 18px 40px -18px rgba(11, 15, 23, .35); background: #fff; }
.k-cert__media i { font-size: 56px; color: var(--k-muted); opacity: .5; }
.k-cert__fallback { width: 40%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.k-cert__fallback img { box-shadow: none; background: transparent; }
.k-cert__media--pdf.is-rendered { padding: 0; overflow: hidden; background: #fff; }
.k-cert__media--pdf canvas { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.k-cert__body { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--k-line); }
.k-cert__body strong { font-size: 16px; font-weight: 600; color: var(--k-ink); line-height: 1.35; }
.k-cert__body i { color: var(--k-muted); flex: 0 0 auto; }
.k-modal .modal-content { border: 0; border-radius: var(--k-radius-lg); overflow: hidden; }
.k-modal .modal-header { padding: 18px 24px; border-bottom: 1px solid var(--k-line); }
.k-modal .modal-title { font-size: 18px; font-weight: 600; }
.k-modal .modal-body { height: 75vh; background: var(--k-bg-soft); }
.k-modal .modal-footer { padding: 14px 24px; border-top: 1px solid var(--k-line); gap: 8px; }

/* ---------- Contact ---------- */
.k-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.k-hours { margin: 0; display: flex; flex-direction: column; }
.k-hours__row { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--k-line); }
.k-hours__row:first-child { padding-top: 0; }
.k-hours__row:last-child { border-bottom: 0; padding-bottom: 0; }
.k-hours dt { font-size: 14px; font-weight: 500; color: var(--k-muted); }
.k-hours dd { margin: 0; font-size: 19px; font-weight: 500; color: var(--k-ink); line-height: 1.4; font-variant-numeric: tabular-nums; }
.k-hours__row.is-closed dd { color: var(--k-red); }
.k-contact-card { padding: 32px; border-radius: var(--k-radius-lg); border: 1px solid var(--k-line); background: #fff; display: flex; flex-direction: column; gap: 14px; }
.k-contact-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--k-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; }
.k-contact-card h3 { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--k-muted); margin: 0; }
.k-contact-card a, .k-contact-card p { font-size: 19px; font-weight: 500; color: var(--k-ink); margin: 0; line-height: 1.5; word-break: break-word; }
.k-contact-card a:hover { color: var(--k-red); }
.k-map { margin-top: 24px; border-radius: var(--k-radius-lg); overflow: hidden; border: 1px solid var(--k-line); line-height: 0; }
.k-map iframe { width: 100% !important; height: 520px !important; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- References ---------- */
.k-logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.k-logo-grid .k-marquee__item { width: auto; height: 128px; }

/* ---------- Empty state ---------- */
.k-empty { text-align: center; padding: 80px 24px; border: 1px dashed var(--k-line); border-radius: var(--k-radius-lg); background: var(--k-bg-soft); }
.k-empty h3 { font-size: 22px; margin: 0 0 8px; }
.k-empty p { color: var(--k-muted); margin: 0; }

/* ---------- Footer ---------- */
.k-footer { background: var(--k-ink); color: var(--k-on-dark-2); position: relative; overflow: hidden; }
.k-footer a { color: var(--k-on-dark-2); transition: color .2s; }
.k-footer a:hover { color: #fff; }
.k-footer__top { padding-block: clamp(64px, 8vw, 112px) 56px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.k-footer__brand img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.k-footer__brand p { margin: 24px 0 0; max-width: 360px; font-size: 15px; line-height: 1.7; color: var(--k-on-dark-3); }
.k-footer h4 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 22px; font-family: var(--k-font); }
.k-footer ul { list-style: none; margin: 0; padding: 0; }
.k-footer li { margin-bottom: 12px; }
.k-footer li a { font-size: 15px; }
.k-footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; }
.k-footer__contact i { color: var(--k-red); margin-top: 5px; font-size: 13px; width: 14px; flex: 0 0 auto; }
.k-footer__wordmark {
    font-family: var(--k-font-display); font-weight: 700; letter-spacing: -.05em; line-height: .8;
    font-size: clamp(80px, 19vw, 300px); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
    white-space: nowrap; user-select: none; pointer-events: none; margin-bottom: -.12em; text-align: center;
}
.k-footer__bottom { border-top: 1px solid var(--k-line-dark); padding-block: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--k-on-dark-3); }
.k-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; }
.k-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.k-footer .k-legal li { margin: 0; }
.k-legal a, .k-legal button {
    font: inherit; font-size: 14px; color: var(--k-on-dark-2);
    background: none; border: 0; padding: 0; cursor: pointer; transition: color .2s;
}
.k-legal a:hover, .k-legal button:hover { color: #fff; }
.k-social { display: flex; gap: 8px; }
.k-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--k-line-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; transition: all .25s var(--k-ease); }
.k-social a:hover { background: #fff; color: var(--k-ink); border-color: #fff; }

.k-to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 800;
    width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: var(--k-ink); color: #fff; box-shadow: var(--k-shadow);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: all .3s var(--k-ease);
}
.k-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.k-to-top:hover { background: var(--k-red); }

/* ---------- Cookie consent (KVKK) ----------
   Logical properties (inset-inline-*) so it sits on the start side in both LTR and RTL */
.k-consent {
    position: fixed; z-index: 950; inset-block-end: 24px; inset-inline-start: 24px;
    width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto;
    background: #fff; color: var(--k-text-2);
    border: 1px solid var(--k-line); border-radius: var(--k-radius-lg); box-shadow: var(--k-shadow-lg);
    padding: 24px;
    animation: k-fade-up .5s var(--k-ease) both;
}
.k-consent[hidden], .k-consent [hidden] { display: none; }
.k-consent__title { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; margin: 0 0 8px; }
.k-consent__text { font-size: 14px; line-height: 1.6; color: var(--k-muted); margin: 0; }
.k-consent__text a { color: var(--k-ink); text-decoration: underline; text-underline-offset: 3px; }
.k-consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.k-consent__actions .k-btn { flex: 1 1 0; }
.k-consent__link {
    flex: 1 1 100%; background: none; border: 0; padding: 6px 0 0; cursor: pointer;
    font: inherit; font-size: 14px; font-weight: 600; color: var(--k-ink);
    text-decoration: underline; text-underline-offset: 3px;
}
.k-consent__link:hover { color: var(--k-red); }
.k-consent__list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--k-line); }
.k-consent__list li { border-bottom: 1px solid var(--k-line); }
.k-consent__list label { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; cursor: pointer; }
.k-consent__list strong { display: block; font-size: 14px; font-weight: 600; color: var(--k-ink); }
.k-consent__list small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--k-muted); }
.k-switch__input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.k-switch { position: relative; flex: 0 0 auto; width: 42px; height: 24px; border-radius: 999px; background: var(--k-line); transition: background .2s; }
.k-switch::after {
    content: ''; position: absolute; top: 3px; inset-inline-start: 3px;
    width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--k-shadow-sm);
    transition: inset-inline-start .2s var(--k-ease);
}
.k-switch__input:checked + .k-switch { background: var(--k-red); }
.k-switch__input:checked + .k-switch::after { inset-inline-start: 21px; }
.k-switch__input:disabled + .k-switch { opacity: .5; }
.k-switch__input:focus-visible + .k-switch { outline: 2px solid var(--k-red); outline-offset: 2px; }

/* ---------- Reveal on scroll ---------- */
.k-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--k-ease), transform .9s var(--k-ease); transition-delay: var(--k-delay, 0s); }
.k-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Menü + Teklif Al + Bayi Girişi bu aralıkta sığmıyor; katalog zaten Ürünler menüsünde ve mobil menüde var */
@media (min-width: 1200px) and (max-width: 1359.98px) {
    .k-header__actions .k-hide-lg { display: none; }
}
@media (max-width: 1199.98px) {
    .k-nav, .k-header__actions .k-hide-lg { display: none; }
    .k-burger { display: inline-flex; }
    .k-pillars { grid-template-columns: repeat(2, 1fr); }
    .k-pillar:nth-child(3) { padding-left: 0; border-left: 0; }
    .k-pillar:nth-child(n+3) { border-top: 1px solid var(--k-line); margin-top: 24px; }
    .k-product-grid { grid-template-columns: repeat(3, 1fr); }
    .k-footer__top { grid-template-columns: 1fr 1fr; }
    .k-cta { grid-template-columns: 1fr; align-items: start; }
    .k-cta__actions { justify-content: flex-start; }
}
@media (max-width: 991.98px) {
    :root { --k-header-h: 68px; }
    .k-header__logo img { height: 36px; }
    .k-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .k-product-grid { grid-template-columns: repeat(2, 1fr); }
    .k-news-grid { grid-template-columns: repeat(2, 1fr); }
    .k-news-card:first-child:nth-last-child(n+4) { grid-column: auto; }
    .k-contact-grid { grid-template-columns: 1fr; }
    .k-pd__top, .k-split { grid-template-columns: 1fr; }
    .k-pd__gallery, .k-split__media { position: static; }
    .k-section-head { flex-direction: column; align-items: flex-start; }
    .k-hero__bar-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .k-scroll-cue { display: none; }
}
@media (max-width: 767.98px) {
    .k-header__actions .k-hide-md { display: none; }
    .k-pillars, .k-cat-grid, .k-news-grid { grid-template-columns: 1fr; }
    .k-pillar, .k-pillar + .k-pillar { padding: 28px 0 0; border-left: 0; }
    .k-pillar + .k-pillar { border-top: 1px solid var(--k-line); margin-top: 28px; }
    .k-pillar h3 { margin-top: 16px; }
    .k-product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .k-product-card__body { padding: 16px; }
    .k-product-card__title { font-size: 15px; }
    .k-product-card__desc { display: none; }
    .k-footer__top { grid-template-columns: 1fr; gap: 40px; }
    .k-hero__stats { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
    .k-stat-inline { padding: 16px 10px; }
    .k-stat-inline:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
    .k-stat-inline strong { font-size: 22px; }
    .k-stat-inline > span { font-size: 12px; }
    .k-feature { min-height: 480px; }
    .k-feature--klc { background-image: url('../img/home/surdurulebilirlik-bg-800.webp?v=2'); }
    .k-cta--klc {
        background:
            linear-gradient(180deg, rgba(11, 15, 23, .25) 0%, rgba(11, 15, 23, .75) 70%),
            url('../img/home/iletisim-bg-800.webp?v=2') center / cover no-repeat,
            var(--k-ink);
    }
    .k-pd__facts { grid-template-columns: 1fr; }
    .k-pd__stage { padding: 24px; }
    .k-cert-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .k-cert-cat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .k-cert-cat__icon { width: 44px; height: 44px; border-radius: 12px; padding: 6px; }
    .k-cert-cat__text strong { font-size: 14px; }
    .k-pdh__head { position: static; padding: 18px 0 20px; }
    .k-pdh .k-pd__stage { aspect-ratio: 16 / 8; }
    .k-pdh .k-pd__stage::before { display: none; }
    .k-pdh .k-pd__stage img { object-position: center; }
    .k-pdh .k-pd__stage::after { clip-path: polygon(74% 0, 100% 0, 100% 100%, 50% 100%); }
    .k-hero__ctas .k-btn, .k-pd__actions .k-btn { flex: 1 1 100%; }
    .k-map iframe { height: 380px !important; }
    .k-to-top { right: 16px; bottom: 16px; }
    .k-consent { inset-inline: 16px; inset-block-end: 16px; width: auto; padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .k-js [data-reveal] { opacity: 1; transform: none; }
    .k-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
