/* BTK Savunma - ortak kurumsal tasarım katmanı (main.css ve kurum.css üzerine yüklenir) */
:root {
    --ink: #0d1726;
    --ink-2: #16243a;
    --line: #dde3ea;
    --muted: #526175;
    --paper: #f5f7f9;
    --brand-red: #a42733;
    --gold: #c9a44c;
    --wrap: 1200px;
}

/* Ortak kapsayıcı ve başlık */
.home-wrap, .s-wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.s-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--brand-red); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.s-eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.s-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.s-head h2 { margin: 0; color: var(--ink); font: 700 clamp(1.7rem, 3vw, 2.5rem)/1.12 var(--font-display); letter-spacing: -.03em; }
.s-head p { max-width: 52ch; margin: 10px 0 0; color: var(--muted); }
.s-link { flex-shrink: 0; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--brand-red); text-underline-offset: 6px; }
.s-link:hover { color: var(--brand-red); }
.s-section { padding-block: clamp(48px, 7vw, 96px); }
.s-section--paper { background: var(--paper); }

/* Düğmeler */
.s-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 4px; font-weight: 600; font-size: .95rem; transition: background .15s, color .15s, border-color .15s; }
.s-btn--primary { background: #fff; color: var(--ink); }
.s-btn--primary:hover { background: var(--gold); color: var(--ink); }
.s-btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.s-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.s-btn--dark { background: var(--ink); color: #fff; }
.s-btn--dark:hover { background: var(--brand-red); color: #fff; }

/* Ana sayfa hero */
.s-hero { position: relative; overflow: hidden; margin-top: var(--header-h); color: #fff; background: radial-gradient(ellipse 70% 90% at 78% 55%, #22324a 0%, var(--ink) 62%); }
.s-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 164, 76, .5), transparent); }
.s-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 32px; min-height: min(640px, calc(100vh - var(--header-h))); padding-block: 56px; }
.s-hero__eyebrow { color: var(--gold); }
.s-hero h1 { margin: 0; max-width: 15ch; color: #fff; font: 700 clamp(2.2rem, 5vw, 3.9rem)/1.05 var(--font-display); letter-spacing: -.035em; }
.s-hero__lead { max-width: 46ch; margin: 22px 0 0; color: #c5cfdc; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.65; }
.s-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.s-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 40px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); list-style: none; color: #aab6c6; font-size: .9rem; }
.s-hero__facts strong { display: block; color: #fff; font-size: 1rem; }
.s-hero__media { position: relative; margin: 0; justify-self: center; width: min(100%, 520px); }
.s-hero__media img { display: block; width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, #000 58%, transparent 100%); }
.s-hero__media figcaption { position: absolute; right: 8%; bottom: 8%; color: #aab6c6; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }

/* Ürün aileleri */
.s-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.s-product { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.s-product:hover { border-color: #b9c4d1; box-shadow: 0 10px 28px rgba(13, 23, 38, .08); transform: translateY(-2px); }
.s-product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(180deg, #eef1f4, #e3e8ee); }
.s-product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.s-product:hover .s-product__media img { transform: scale(1.03); }
.s-product__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 18px 20px 20px; border-top: 1px solid var(--line); }
.s-product__cat { color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.s-product h3 { margin: 0; color: var(--ink); font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.s-product p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.s-product__more { margin-top: auto; padding-top: 12px; color: var(--ink); font-size: .9rem; font-weight: 600; }
.s-product:hover .s-product__more { color: var(--brand-red); }

/* Faaliyet alanları */
.s-areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.s-area { padding: 22px 24px 8px 0; }
.s-area + .s-area { padding-left: 24px; border-left: 1px solid var(--line); }
.s-area__no { color: var(--brand-red); font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.s-area h3 { margin: 10px 0 8px; color: var(--ink); font-size: 1.08rem; font-weight: 700; }
.s-area p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* Ar-Ge bandı */
.s-rnd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 80px); }
.s-rnd h2 { margin: 0 0 16px; color: var(--ink); font: 700 clamp(1.7rem, 3vw, 2.5rem)/1.12 var(--font-display); letter-spacing: -.03em; }
.s-rnd p { margin: 0 0 14px; color: #36475b; line-height: 1.7; }
.s-rnd__links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.s-rnd figure { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.s-rnd figure img { display: block; width: 100%; height: auto; }
.s-rnd figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--muted); font-size: .88rem; }
.s-rnd figcaption strong { color: var(--ink); }

/* Haberler */
.s-news { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; }
.s-news__lead { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.s-news__lead img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.s-news__lead div { padding: 22px 24px 26px; }
.s-news time { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.s-news h3 { margin: 8px 0 0; color: var(--ink); font-size: 1.2rem; line-height: 1.35; }
.s-news__lead h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.s-news__lead p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }
.s-news a:hover h3 { color: var(--brand-red); }
.s-news__list { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.s-news__list a { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); }

/* İletişim çağrısı */
.s-cta { color: #fff; background: var(--ink); }
.s-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 5vw, 64px); }
.s-cta h2 { margin: 0; color: #fff; font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.2 var(--font-display); letter-spacing: -.02em; }
.s-cta p { margin: 8px 0 0; color: #b5c1d0; }

/* Çerez çubuğu: daha az yer kaplasın */
.cookie-banner .cookie-inner { padding-block: 10px; }

@media (max-width: 960px) {
    .s-hero__inner { grid-template-columns: 1fr; min-height: 0; padding-block: 40px 32px; gap: 8px; }
    .s-hero__media { order: -1; width: min(70%, 300px); }
    .s-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s-area:nth-child(3) { padding-left: 0; border-left: 0; }
    .s-rnd, .s-news { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .s-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .s-hero h1 { font-size: 2rem; }
    .s-hero__facts { margin-top: 28px; gap: 12px 20px; }
    .s-hero__actions .s-btn { flex: 1 1 auto; }
    .s-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .s-product__body { padding: 12px 14px 14px; }
    .s-product h3 { font-size: 1rem; }
    .s-product p, .s-product__cat { display: none; }
    .s-areas { grid-template-columns: 1fr; }
    .s-area, .s-area + .s-area { padding: 18px 0 14px; border-left: 0; }
    .s-area + .s-area { border-top: 1px solid var(--line); }
    .s-cta__inner { flex-direction: column; align-items: flex-start; }
    .cookie-banner .cookie-text strong { display: none; }
}
@media (prefers-reduced-motion: reduce) { .s-product, .s-product:hover { transform: none; transition: none; } }

/* Ürün detayı: teknik özellikler */
.s-specs { margin-top: 28px; }
.s-specs h2 { margin: 0 0 12px; color: var(--ink); font-size: 1.15rem; font-weight: 700; }
.s-specs dl { margin: 0; border-top: 1px solid var(--ink); }
.s-specs dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.s-specs dt { color: var(--muted); }
.s-specs dd { margin: 0; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.s-detail-cta { margin-top: 28px; }

/* Ürün detayı: galeri */
.s-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 32px; }
.s-gallery a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.s-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.s-gallery a:hover img { transform: scale(1.03); }

/* Dinamik sayfa metni */
.profile-copy h2 { margin: 1.6em 0 .5em; color: var(--ink); font-size: 1.15rem; font-weight: 700; letter-spacing: .01em; }
.profile-copy ul { margin: .4em 0 0; padding-left: 1.2em; color: #364555; line-height: 1.65; }
.profile-copy li + li { margin-top: .25em; }

/* Ürün detay şablonu */
.s-pd { margin-top: var(--header-h); padding-top: clamp(20px, 3vw, 36px); }
.s-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-bottom: clamp(18px, 2.5vw, 28px); color: var(--muted); font-size: .9rem; }
.s-crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.s-crumbs a:hover { color: var(--ink); }
.s-crumbs [aria-current] { color: var(--ink); }
.s-pd__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(32px, 5vw, 64px); }
.s-pd__media figure { margin: 0; }
.s-pd__media figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(180deg, #eef1f4, #e3e8ee); }
.s-pd__media figcaption { margin-top: 10px; color: var(--muted); font-size: .88rem; }
.s-pd__media .s-gallery { margin-top: 14px; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.s-pd__info h1 { margin: 0; color: var(--ink); font: 700 clamp(2rem, 4vw, 3.2rem)/1.05 var(--font-display); letter-spacing: -.035em; }
.s-pd__lead { margin: 16px 0 0; color: #36475b; font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.65; }
.s-pd__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
.s-pd__body { max-width: 820px; padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.s-pd__body h2 { margin: 0 0 16px; color: var(--ink); font: 700 clamp(1.4rem, 2.2vw, 1.8rem)/1.2 var(--font-display); letter-spacing: -.02em; }
.s-detail-cta { display: none; }
@media (max-width: 860px) { .s-pd__top { grid-template-columns: 1fr; } }

/* Eski sayfa başlığı bandı: site genişliğiyle hizalı */
.page-banner .banner-content { width: min(var(--wrap), 100% - 32px); max-width: none; margin-inline: auto; padding-inline: 0; }

/* === Ana sayfa v3: fotoğraflı hero, öne çıkan sistemler, çekirdek, yazılım === */
.s-hero--photo { background: var(--ink); }
.s-hero__bg { position: absolute; inset: 0; }
.s-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.s-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 14, 24, .94) 0%, rgba(8, 14, 24, .78) 38%, rgba(8, 14, 24, .18) 72%, rgba(8, 14, 24, .05) 100%), linear-gradient(0deg, rgba(8, 14, 24, .55), transparent 40%); }
.s-hero--photo .s-hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: min(680px, calc(100vh - var(--header-h))); padding-block: 72px 56px; }
.s-hero__copy { max-width: 620px; }
.s-hero--photo h1 { max-width: 12ch; font-size: clamp(2.5rem, 6vw, 4.6rem); }
.s-hero__note { position: absolute; right: 0; bottom: 18px; margin: 0; color: rgba(255, 255, 255, .62); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }

.s-strip { color: #c9d3e0; background: #0a1220; border-bottom: 1px solid #1c2a40; }
.s-strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; padding: 0; list-style: none; }
.s-strip li { padding: 20px 20px 20px 0; font-size: .88rem; line-height: 1.5; }
.s-strip li + li { padding-left: 20px; border-left: 1px solid #1c2a40; }
.s-strip strong { display: block; margin-bottom: 2px; color: #fff; font-size: .95rem; }

.s-flag { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.s-flag__card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.s-flag__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0d1726; }
.s-flag__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.s-flag__card:hover .s-flag__media img { transform: scale(1.03); }
.s-flag__body { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 26px; }
.s-flag__label { margin: 0 0 8px; color: var(--brand-red); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.s-flag__body h3 { margin: 0; color: var(--ink); font: 700 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--font-display); letter-spacing: -.02em; }
.s-flag__body h3 a:hover { color: var(--brand-red); }
.s-flag__body > p:not(.s-flag__label) { margin: 12px 0 0; color: #36475b; line-height: 1.65; }
.s-flag__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 20px; }
.s-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #b9c4d1; border-radius: 999px; color: var(--ink); font-size: .9rem; font-weight: 600; }
.s-chip:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.s-products--four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; }

.s-core { color: #c9d3e0; background: linear-gradient(180deg, #0d1726, #111e33); }
.s-core__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.s-core h2 { margin: 0; color: #fff; font: 700 clamp(1.8rem, 3.2vw, 2.7rem)/1.1 var(--font-display); letter-spacing: -.03em; }
.s-core__lead { max-width: 56ch; margin: 16px 0 0; line-height: 1.7; }
.s-core__layers { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid #2a3a55; }
.s-core__layers li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid #2a3a55; color: #e6ecf3; line-height: 1.55; }
.s-core__layers span { color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.s-core__side figure { margin: 0; padding: 18px; border: 1px solid #2a3a55; border-radius: 8px; background: #0a1220; }
.s-core__side figure img { display: block; width: 100%; height: auto; }
.s-core__side figcaption { margin-top: 12px; color: #9fb0c5; font-size: .85rem; }
.s-core__list { margin: 16px 0 0; padding: 0; list-style: none; }
.s-core__list a { display: block; padding: 14px 0; border-bottom: 1px solid #2a3a55; }
.s-core__list strong { display: block; color: #fff; }
.s-core__list span { color: #9fb0c5; font-size: .88rem; }
.s-core__list a:hover strong { color: var(--gold); }

.s-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.s-shot__frame { overflow: hidden; padding: 10px; border: 1px solid #1c2a40; border-radius: 8px; background: #0d1726; box-shadow: 0 14px 34px rgba(13, 23, 38, .16); }
.s-shot__frame img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: left top; border-radius: 3px; }
.s-shot h3 { margin: 18px 0 6px; color: var(--ink); font-size: 1.2rem; font-weight: 700; }
.s-shot p { margin: 0; color: var(--muted); line-height: 1.6; }
.s-shot:hover h3 { color: var(--brand-red); }

@media (max-width: 960px) {
    .s-hero--photo .s-hero__inner { min-height: 520px; padding-block: 56px 48px; }
    .s-hero--photo::before { background: linear-gradient(0deg, rgba(8, 14, 24, .96) 0%, rgba(8, 14, 24, .78) 55%, rgba(8, 14, 24, .35) 100%); }
    .s-hero--photo .s-hero__inner { justify-content: flex-end; }
    .s-hero__note { position: static; margin-top: 24px; }
    .s-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .s-strip li:nth-child(3) { padding-left: 0; border-left: 0; }
    .s-strip li:nth-child(n+3) { border-top: 1px solid #1c2a40; }
    .s-flag, .s-core__grid, .s-shots { grid-template-columns: 1fr; }
    .s-products--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .s-strip li { padding: 14px 12px 14px 0; font-size: .8rem; }
    .s-strip li + li { padding-left: 12px; }
    .s-flag__body { padding: 18px 18px 20px; }
    .s-core__layers li { grid-template-columns: 1fr; gap: 4px; }
}

/* Ürün kataloğu */
.s-catalog__head h1 { margin: 0; color: var(--ink); font: 700 clamp(2.2rem, 4.6vw, 3.6rem)/1.05 var(--font-display); letter-spacing: -.035em; }
.s-catalog__head p { max-width: 62ch; margin: 14px 0 0; color: #36475b; font-size: 1.05rem; line-height: 1.65; }
.s-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(22px, 3vw, 34px) 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.s-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .92rem; font-weight: 600; }
.s-tabs a span { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.s-tabs a:hover { border-color: var(--ink); }
.s-tabs a[aria-current] { border-color: var(--ink); background: var(--ink); color: #fff; }
.s-tabs a[aria-current] span { color: #c5cfdc; }
.s-catalog__group { padding-bottom: clamp(36px, 5vw, 64px); }
.s-catalog__group h2 { margin: 0 0 18px; color: var(--ink); font: 700 clamp(1.3rem, 2vw, 1.6rem)/1.2 var(--font-display); letter-spacing: -.015em; }
.s-products--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 3px; background: var(--brand-red); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 960px) { .s-products--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .s-product__cat { display: block; font-size: .68rem; } }
.s-hero--photo .s-hero__inner { align-items: flex-start; }
.s-hero--photo .s-hero__note { align-self: flex-end; }
.s-pd__media figure img { aspect-ratio: auto; height: auto; max-height: 560px; }
