/* ==========================================================================
   AKCABLE — katalog renk paletinden türetilmiş tasarım sistemi
   Palet kaynağı: Katalog «Акнур кабель» 2025
   ========================================================================== */

:root {
  /* katalogdan alınan turuncular */
  --brand:        #F3761F;
  --brand-deep:   #EC5A22;
  --brand-dark:   #C4470F;
  --brand-mid:    #F69562;
  --brand-soft:   #F8AD69;
  --brand-amber:  #FFCE7A;
  --brand-tint:   #FDF0E4;
  --brand-tint-2: #FCE3D0;

  /* nötrler */
  --ink:      #23262B;
  --ink-2:    #4A5058;
  --ink-3:    #767D87;
  --line:     #E5E6E7;
  --line-2:   #D5D4DA;
  --surface:  #FFFFFF;
  --surface-2:#F7F7F8;
  --surface-3:#F1F1F3;

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(35,38,43,.06), 0 2px 6px rgba(35,38,43,.05);
  --shadow:    0 2px 6px rgba(35,38,43,.06), 0 10px 26px rgba(35,38,43,.07);
  --shadow-lg: 0 8px 20px rgba(196,71,15,.10), 0 24px 60px rgba(35,38,43,.13);

  --wrap: 1200px;
  --nav-h: 76px;

  --font: "Segoe UI", Roboto, "Helvetica Neue", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.15rem); }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); }
p  { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

/* ---------- yerleşim ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section--tint { background: linear-gradient(180deg, var(--brand-tint) 0%, #fff 100%); }
.section--gray { background: var(--surface-2); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head p { color: var(--ink-2); margin: 0; }

.kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-dark); background: var(--brand-tint-2);
  padding: 6px 13px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff; box-shadow: 0 6px 18px rgba(236,90,34,.28);
}
.btn--primary:hover { box-shadow: 0 10px 26px rgba(236,90,34,.36); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn--onDark { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.42); backdrop-filter: blur(6px); }
.btn--onDark:hover { background: #fff; color: var(--brand-dark); border-color: #fff; }
.btn--sm { padding: 9px 17px; font-size: .875rem; }

/* ==========================================================================
   navigasyon
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.93); backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 40px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 9px 14px; border-radius: 9px; font-size: .94rem; font-weight: 500;
  color: var(--ink-2); transition: color .16s, background .16s;
}
.nav__links a:hover { color: var(--brand-dark); background: var(--brand-tint); }
.nav__links a.is-active { color: var(--brand-dark); background: var(--brand-tint-2); font-weight: 600; }

.nav__side { display: flex; align-items: center; gap: 10px; flex: none; }

/* dil seçici */
.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: 7px;
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 8px 12px; border-radius: 999px; font-size: .86rem; font-weight: 600;
  transition: border-color .16s, background .16s;
}
.lang__btn:hover { border-color: var(--brand); background: var(--brand-tint); }
.lang__btn svg { width: 15px; height: 15px; opacity: .65; }
.lang__caret { width: 10px !important; height: 10px !important; transition: transform .2s; }
.lang.is-open .lang__caret { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 6px; z-index: 70;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; background: none; border: 0; text-align: left;
  padding: 9px 12px; border-radius: 7px; font-size: .9rem;
}
.lang__menu button:hover { background: var(--surface-2); }
.lang__menu button.is-active { background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; }
.lang__code { font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); }
.lang__menu button.is-active .lang__code { color: var(--brand); }

.nav__burger {
  display: none; background: none; border: 0; padding: 8px;
  width: 42px; height: 42px; border-radius: 9px;
}
.nav__burger span {
  display: block; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .22s, opacity .22s;
}
.nav__burger span + span { margin-top: 5px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(115deg, #C4470F 0%, var(--brand-deep) 42%, var(--brand) 78%, var(--brand-soft) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1000px 460px at 84% -12%, rgba(255,255,255,.30), transparent 62%),
    radial-gradient(760px 420px at 6% 108%, rgba(196,71,15,.55), transparent 60%);
  pointer-events: none;
}
.hero__in {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 60px); align-items: center;
  padding: clamp(50px, 6.5vw, 92px) 0 clamp(56px, 7vw, 100px);
}
.hero .kicker { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(4px); }
.hero h1 { margin-bottom: .45em; text-shadow: 0 2px 22px rgba(140,45,4,.28); }
.hero p { font-size: clamp(1rem, .94rem + .3vw, 1.11rem); color: rgba(255,255,255,.93); max-width: 56ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.hero__visual { position: relative; }
.hero__visual img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(120,38,2,.42); border: 5px solid rgba(255,255,255,.24);
}
.hero__badge {
  position: absolute; left: -18px; bottom: -22px;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 15px 20px; box-shadow: var(--shadow-lg); text-align: center;
}
.hero__badge b { display: block; font-size: 1.7rem; color: var(--brand-deep); line-height: 1.1; }
.hero__badge span { font-size: .77rem; color: var(--ink-3); }

/* istatistik şeridi */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); margin-top: -38px; position: relative; z-index: 5;
}
.stats__i { background: #fff; padding: 24px 20px; text-align: center; }
.stats__i b { display: block; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); color: var(--brand-deep); line-height: 1.1; }
.stats__i span { font-size: .84rem; color: var(--ink-3); }

/* ==========================================================================
   kartlar
   ========================================================================== */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-mid); }

/* ürün kartı */
.pcard__media {
  position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden;
}
.pcard__media::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, #fff 0%, var(--surface-2) 72%);
}
.pcard__media img {
  position: absolute; inset: 18px;
  width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain;
  transition: transform .3s ease; mix-blend-mode: multiply;
}
.card:hover .pcard__media img { transform: scale(1.07); }
.pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand-dark); margin-bottom: 6px; }
.pcard__name { font-size: 1.14rem; font-weight: 700; margin-bottom: 5px; }
.pcard__short { font-size: .88rem; color: var(--ink-2); margin: 0 0 14px; flex: 1; }
.pcard__link { font-size: .87rem; font-weight: 600; color: var(--brand-deep); display: inline-flex; align-items: center; gap: 6px; }
.pcard__link svg { width: 14px; height: 14px; transition: transform .2s; }
.card:hover .pcard__link svg { transform: translateX(4px); }

/* kategori kartı */
.ccard { position: relative; padding: 26px 24px; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 168px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .2s, box-shadow .2s; }
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ccard::before { content: ''; position: absolute; inset: 0; background: linear-gradient(140deg, var(--brand-deep), var(--brand)); }
.ccard::after { content: ''; position: absolute; right: -34px; top: -34px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.14); }
.ccard > * { position: relative; z-index: 2; }
.ccard h3 { margin-bottom: 4px; }
.ccard span { font-size: .85rem; opacity: .9; }
.ccard:nth-child(2)::before { background: linear-gradient(140deg, var(--brand), var(--brand-soft)); }
.ccard:nth-child(3)::before { background: linear-gradient(140deg, var(--brand-dark), var(--brand-deep)); }
.ccard:nth-child(4)::before { background: linear-gradient(140deg, var(--brand-deep), var(--brand-amber)); }
.ccard:nth-child(5)::before { background: linear-gradient(140deg, #A93A08, var(--brand)); }

/* özellik kartı */
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.fcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-mid); }
.fcard__icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 15px;
  background: linear-gradient(140deg, var(--brand-tint-2), var(--brand-tint)); color: var(--brand-deep);
}
.fcard__icon svg { width: 25px; height: 25px; }
.fcard h3 { font-size: 1.06rem; margin-bottom: 6px; }
.fcard p { font-size: .89rem; color: var(--ink-2); margin: 0; }

/* ==========================================================================
   ürünler sayfası
   ========================================================================== */
.page-head { background: linear-gradient(160deg, var(--brand-tint) 0%, #fff 100%); padding: clamp(34px, 4.5vw, 60px) 0 clamp(28px, 3.5vw, 44px); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: .3em; }
.page-head p { color: var(--ink-2); max-width: 68ch; margin: 0; }

.crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .83rem; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a:hover { color: var(--brand-deep); }
.crumbs span { opacity: .5; }

.toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.search {
  position: relative; flex: 1 1 260px; max-width: 380px;
}
.search input {
  width: 100%; padding: 11px 16px 11px 40px; font: inherit; font-size: .93rem;
  border: 1px solid var(--line-2); border-radius: 999px; background: #fff; transition: border-color .16s, box-shadow .16s;
}
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint-2); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-3); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: 999px; font-size: .87rem; font-weight: 500;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-2);
  transition: all .16s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-dark); }
.chip.is-active { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(236,90,34,.26); }

.empty { padding: 60px 20px; text-align: center; color: var(--ink-3); }

/* ==========================================================================
   ürün detay
   ========================================================================== */
.pdetail { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(26px, 4vw, 52px); align-items: start; }
.pdetail > * { min-width: 0; }
.pdetail__media {
  background: linear-gradient(160deg, #fff, var(--surface-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; display: grid; place-items: center; min-height: 320px;
  position: sticky; top: calc(var(--nav-h) + 20px);
}
.pdetail__media img { max-height: 380px; width: auto; mix-blend-mode: multiply; }
.pdetail h1 { margin-bottom: .2em; }
.pdetail__sub { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 22px; }
.pdetail__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 32px; }

.block { margin-bottom: 32px; }
.block > h2 {
  font-size: 1.18rem; display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--brand-tint-2);
}
.block > h2::before { content: ''; width: 5px; height: 20px; border-radius: 3px; background: linear-gradient(180deg, var(--brand), var(--brand-deep)); flex: none; }

.decode { list-style: none; padding: 0; margin: 0; }
.decode li { position: relative; padding: 7px 0 7px 24px; font-size: .94rem; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.decode li:last-child { border-bottom: 0; }
.decode li::before { content: ''; position: absolute; left: 6px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.decode b { color: var(--ink); }

.numlist { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.numlist li { counter-increment: n; position: relative; padding: 7px 0 7px 34px; font-size: .94rem; color: var(--ink-2); }
.numlist li::before {
  content: counter(n); position: absolute; left: 0; top: 8px;
  width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-tint-2); color: var(--brand-dark); font-size: .74rem; font-weight: 700;
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.spec { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 460px; }
table.spec thead th {
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  color: #fff; text-align: left; padding: 12px 16px; font-weight: 600; font-size: .88rem;
}
table.spec td { padding: 11px 16px; border-top: 1px solid var(--line); vertical-align: top; }
table.spec tbody tr:nth-child(even) { background: var(--surface-2); }
table.spec td:first-child { color: var(--ink-2); width: 58%; }
table.spec td:last-child { font-weight: 600; }

/* ==========================================================================
   belge / PDF görüntüleyici
   ========================================================================== */
.doc-hero { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 44px); align-items: center; }
.doc-hero__cover img { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); width: 100%; }
.doc-hero__meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 16px 0 22px; font-size: .88rem; color: var(--ink-3); }
.doc-hero__meta b { color: var(--ink); }

.viewer {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface-3); box-shadow: var(--shadow);
}
.viewer__bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line);
}
.viewer__title { font-weight: 600; font-size: .95rem; margin-right: auto; }
.viewer__frame { width: 100%; height: min(78vh, 860px); border: 0; display: block; background: var(--surface-3); }
.viewer__fallback { padding: 30px; text-align: center; color: var(--ink-2); font-size: .92rem; }

.pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.pages figure { margin: 0; }
.pages button {
  display: block; width: 100%; padding: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm);
  aspect-ratio: 1.4 / 1;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.pages button img { width: 100%; height: 100%; object-fit: contain; }
.pages button:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand); }
.pages figcaption { text-align: center; font-size: .78rem; color: var(--ink-3); padding-top: 6px; }

.doc-list { display: grid; gap: 14px; }
.doc-item {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.doc-item:hover { border-color: var(--brand-mid); box-shadow: var(--shadow); transform: translateY(-2px); }
.doc-item__icon {
  width: 46px; height: 46px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand-tint-2), var(--brand-tint)); color: var(--brand-deep);
}
.doc-item__icon svg { width: 22px; height: 22px; }
.doc-item__txt { flex: 1; min-width: 0; }
.doc-item__txt b { display: block; font-size: .98rem; }
.doc-item__txt span { font-size: .85rem; color: var(--ink-3); }
.doc-item__act { display: flex; gap: 8px; flex: none; flex-wrap: wrap; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(24,14,8,.9);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .22s, visibility .22s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(100%, 1200px); max-height: 90vh; width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.16); border: 0; color: #fff;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  backdrop-filter: blur(6px); transition: background .16s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--brand); }
.lightbox__close { top: 20px; right: 20px; font-size: 1.5rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 1.6rem; line-height: 1; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: .85rem; }

/* ==========================================================================
   iletişim
   ========================================================================== */
.branch {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.branch:hover { border-color: var(--brand-mid); box-shadow: var(--shadow); transform: translateY(-3px); }
.branch--hq { border-color: var(--brand-mid); background: linear-gradient(160deg, var(--brand-tint) 0%, #fff 55%); }
.branch__tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand-dark); background: var(--brand-tint-2); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.branch h3 { margin-bottom: 10px; }
.branch__row { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); padding: 5px 0; }
.branch__row svg { width: 16px; height: 16px; flex: none; color: var(--brand); margin-top: 4px; }
.branch__row a:hover { color: var(--brand-deep); }

/* ==========================================================================
   CTA + altbilgi
   ========================================================================== */
.cta {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-lg);
  padding: clamp(34px, 4.5vw, 58px); text-align: center;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand-deep) 55%, var(--brand));
}
.cta::after { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 300px at 78% -20%, rgba(255,255,255,.24), transparent 62%); }
.cta > * { position: relative; z-index: 2; }
.cta p { max-width: 58ch; margin-inline: auto; color: rgba(255,255,255,.93); }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ==========================================================================
   iş ortakları şeridi
   ========================================================================== */
.partners {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: center;
}
.partner {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; min-height: 108px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.partner img {
  max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain;
  transition: transform .2s ease;
}
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-mid); }
.partner:hover img { transform: scale(1.04); }

.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(44px, 5vw, 64px) 0 26px; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 36px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: .02em; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { height: 42px; width: auto; flex: none; }
.footer__brand span { color: #fff; font-size: 1.32rem; font-weight: 300; letter-spacing: .22em; line-height: 1; }
.footer p { font-size: .89rem; margin: 0 0 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 4px 0; font-size: .9rem; }
.footer a:hover { color: var(--brand-soft); }
.footer__contacts { display: flex; flex-direction: column; gap: 14px; }
.footer__crow { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; line-height: 1.5; }
.footer__crow > svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--brand-soft); }
.footer__clines { display: flex; flex-direction: column; gap: 8px; }
.footer__clines a, .footer__crow a { display: inline-block; }

.footer__bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; gap: 14px; justify-content: center; text-align: center; flex-wrap: wrap; font-size: .83rem; color: rgba(255,255,255,.5);
}
.footer__by { color: rgba(255,255,255,.5); }
.footer__by:hover { color: var(--brand-soft); text-decoration: underline; }

/* ==========================================================================
   WhatsApp yüzen düğmesi
   ========================================================================== */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  display: flex; align-items: center; gap: 0;
}
.wa__btn {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  background: linear-gradient(145deg, #34D375, #1FA855);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 18px rgba(31,168,85,.42), 0 2px 6px rgba(0,0,0,.14);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa__btn svg { width: 31px; height: 31px; }
.wa:hover .wa__btn { transform: scale(1.07); box-shadow: 0 10px 26px rgba(31,168,85,.5); }
.wa__label {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: #fff; color: var(--ink); font-size: .87rem; font-weight: 600;
  padding: 9px 15px; border-radius: 999px; white-space: nowrap;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.wa:hover .wa__label { opacity: 1; transform: translateY(-50%) translateX(0); }
.wa__pulse {
  position: absolute; right: 0; bottom: 0; width: 58px; height: 58px; border-radius: 50%;
  background: rgba(52,211,117,.5); animation: wapulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes wapulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* yukarı çık */
.totop {
  position: fixed; right: 28px; bottom: 92px; z-index: 110;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); display: grid; place-items: center;
  box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden;
  transition: opacity .22s, visibility .22s, transform .22s, color .16s, border-color .16s;
}
.totop.is-visible { opacity: 1; visibility: visible; }
.totop:hover { color: var(--brand-deep); border-color: var(--brand); transform: translateY(-3px); }
.totop svg { width: 17px; height: 17px; }

/* ==========================================================================
   duyarlı düzen
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; }
  .hero__badge { left: auto; right: 12px; }
  .pdetail { grid-template-columns: minmax(0, 1fr); }
  .pdetail__media { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__burger { display: block; margin-left: auto; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px;
    box-shadow: var(--shadow); margin-left: 0;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .22s ease;
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 13px 14px; font-size: 1rem; }
  .nav__side { order: 2; margin-left: auto; }
  .nav__burger { order: 3; margin-left: 0; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -20px; }
  .doc-hero { grid-template-columns: 1fr; }
  .doc-hero__cover { max-width: 260px; }
  .doc-item { flex-wrap: wrap; }
  .doc-item__act { width: 100%; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .partners { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partner { min-height: 88px; padding: 14px 12px; }
  .partner img { max-height: 48px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .viewer__frame { height: 62vh; }
  .wa { right: 16px; bottom: 16px; }
  .wa__btn, .wa__pulse { width: 52px; height: 52px; }
  .wa__btn svg { width: 27px; height: 27px; }
  .totop { right: 20px; bottom: 80px; }
  .pages { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  table.spec { min-width: 340px; font-size: .86rem; }
  table.spec td, table.spec thead th { padding: 9px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
