/* ==========================================================================
   kodend.com — site katmanı. Token'lar kodend-ui.css'ten gelir.
   Düzen: 1200px içerik kolonu; degrade arka planlar, canlı panel mockup'ları, kaydırınca beliren bölümler.
   ========================================================================== */

:root {
  --wrap: 1200px;
  --gutter: 20px;
  --section: clamp(64px, 9vw, 112px);
  --hero-tint: color-mix(in srgb, var(--kd-accent) 7%, var(--kd-bg));
  --ink-band: #11153A;
  --ink-band-fg: #EEF0FF;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ink-band: #1B2050; } }
:root[data-theme="dark"] { --ink-band: #1B2050; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-size: 1rem; }
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--kd-ink); color: var(--kd-bg); padding: 8px 14px; border-radius: var(--kd-r-sm); z-index: 100; }
.skip:focus { top: 12px; }
.muted { color: var(--kd-muted); }
.ic { width: 22px; height: 22px; flex: none; }
.ic-sm { width: 16px; height: 16px; }

.display { font-family: var(--kd-font-display); font-weight: 700; font-size: clamp(2.25rem, 5.2vw, 4rem); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; font-variation-settings: "opsz" 96; }
.display em { font-style: normal; color: var(--kd-accent); }
.h2 { font-family: var(--kd-font-display); font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--kd-muted); max-width: 58ch; }

.section { padding-block: var(--section); }
.section-soft { background: var(--kd-soft); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--kd-bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--kd-line); padding-top: env(safe-area-inset-top, 0px); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { font: 700 1.5rem/1 var(--kd-font-display); letter-spacing: -.03em; text-decoration: none; color: var(--kd-ink); }
.logo img { display: block; height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; flex: 1; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: var(--kd-r-sm); border: 0; background: none; font: 500 .95rem var(--kd-font-body); color: var(--kd-ink); text-decoration: none; cursor: pointer; }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--kd-soft); }
.nav-link.is-active { color: var(--kd-brand); }
.nav-link[aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav-actions { display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--kd-line); background: var(--kd-surface); color: var(--kd-ink); border-radius: var(--kd-r-sm); width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

.has-menu { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); left: -12px; width: 560px; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; background: var(--kd-surface); border: 1px solid var(--kd-line); border-radius: var(--kd-r-lg); box-shadow: var(--kd-shadow-float); }
.has-menu.is-open .mega { display: grid; }
.mega-card { display: flex; gap: 12px; padding: 14px; border-radius: var(--kd-r-md); text-decoration: none; }
.mega-card:hover { background: var(--kd-soft); }
.mega-card b { display: block; font-family: var(--kd-font-display); font-size: 1.05rem; margin-bottom: 2px; }
.mega-card small { color: var(--kd-muted); font-size: .85rem; line-height: 1.45; }
.mega-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.mega-commerce .mega-ic { background: var(--kd-commerce-soft); color: var(--kd-commerce); }
.mega-connect .mega-ic { background: var(--kd-connect-soft); color: var(--kd-connect); }
.mega-bundle { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-radius: var(--kd-r-md); background: var(--kd-brand-soft); font-size: .9rem; text-decoration: none; }
.mega-bundle b { color: var(--kd-brand); }

/* ---------- Ürün kartları ---------- */
.product-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-card { --pc: var(--kd-brand); --pc-soft: var(--kd-brand-soft); display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--kd-line); border-radius: var(--kd-r-lg); background: var(--kd-surface); text-decoration: none; transition: border-color .2s, transform .2s var(--kd-ease); position: relative; overflow: hidden; }
.product-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--pc); }
.product-card:hover { border-color: var(--pc); transform: translateY(-2px); }
.pc-commerce { --pc: var(--kd-commerce); --pc-soft: var(--kd-commerce-soft); }
.pc-connect { --pc: var(--kd-connect); --pc-soft: var(--kd-connect-soft); }
.pc-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--kd-r-pill); background: var(--pc-soft); color: var(--pc); font-weight: 600; font-size: .85rem; }
.product-card h3 { font-family: var(--kd-font-display); font-size: 1.6rem; letter-spacing: -.015em; }
.product-card > p { color: var(--kd-muted); }
.pc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--pc); }
.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.checks .ic { color: var(--kd-ok); margin-top: 3px; }
.bundle-bar { margin-top: 20px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--kd-r-md); background: var(--kd-brand-soft); color: var(--kd-ink); text-decoration: none; }
.bundle-bar > span:nth-child(2) { flex: 1; }
.bundle-bar .ic { color: var(--kd-brand); }
.bundle-bar:hover > .ic:last-child { transform: translateX(3px); }

/* ---------- Adımlar ---------- */
.steps-row { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps-row li { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--kd-surface); border-radius: var(--kd-r-lg); }
.step-n { font: 700 .9rem var(--kd-font-mono); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--kd-ink); color: var(--kd-bg); }
.steps-row h3 { font-family: var(--kd-font-display); font-size: 1.25rem; }
.steps-row p { color: var(--kd-muted); }

/* ---------- Özellik ızgarası ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--kd-line); border: 1px solid var(--kd-line); border-radius: var(--kd-r-lg); overflow: hidden; }
.feature { background: var(--kd-surface); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.feature > .ic { width: 26px; height: 26px; color: var(--kd-accent); }
.feature h3 { font-family: var(--kd-font-display); font-size: 1.15rem; }
.feature p { color: var(--kd-muted); font-size: .95rem; }

/* ---------- SSS ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq-grid > div:first-child { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 100px; }
.faq-grid a { color: var(--kd-brand); }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--kd-line); }
.faq-list details { border-bottom: 1px solid var(--kd-line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 600; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { transition: transform .2s; color: var(--kd-muted); }
.faq-list details[open] summary .ic { transform: rotate(180deg); }
.faq-list details p { padding: 0 0 20px; color: var(--kd-muted); max-width: 64ch; }

/* ---------- CTA bandı ---------- */
.cta-band { background: var(--kd-brand); color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-inner .h2 { color: #fff; max-width: 20ch; }
.cta-inner p { opacity: .85; margin-top: 10px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-primary { background: #fff; color: #9E1A1F; }
.cta-primary:hover { background: #FFF0F0; }
.cta-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-ghost:hover { background: rgba(255,255,255,.1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-band { background: #8E161B; } }
:root[data-theme="dark"] .cta-band { background: #8E161B; }

/* ---------- Ürün sayfası ortakları ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 88px); background: radial-gradient(900px 420px at 90% 0%, var(--hero-tint), transparent 70%), var(--kd-bg); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.page-hero .display { font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 18ch; }
.crumb { font-size: .85rem; color: var(--kd-muted); }
.crumb a { text-decoration: none; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split + .split { margin-top: 88px; }
.split.reverse > :first-child { order: 2; }
.split-copy { display: flex; flex-direction: column; gap: 16px; }
.split-copy h3 { font-family: var(--kd-font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.015em; }
.split-copy > p { color: var(--kd-muted); }
.panel { background: var(--kd-surface); border: 1px solid var(--kd-line); border-radius: var(--kd-r-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.panel-title { display: flex; justify-content: space-between; align-items: center; font-weight: 600; gap: 12px; flex-wrap: wrap; }
.panel-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--kd-line); font-size: .92rem; }
.panel-row:first-of-type { border-top: 0; }
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch-row span { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--kd-line); }

.cap-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 720px; }
.cap-table th, .cap-table td { padding: 12px 14px; border-bottom: 1px solid var(--kd-line); text-align: center; }
.cap-table th:first-child, .cap-table td:first-child { text-align: left; }
.cap-table thead th { background: var(--kd-soft); color: var(--kd-muted); font-size: .8rem; font-weight: 600; }
.cap-table .yes { color: var(--kd-ok); }
.cap-table .no { color: var(--kd-line); }

/* ---------- Fiyatlar ---------- */
.price-controls { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 40px; }
.seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; border-radius: var(--kd-r-pill); background: var(--kd-soft); }
.seg a, .seg button { border: 0; background: transparent; color: var(--kd-muted); font: 600 .92rem var(--kd-font-body); padding: 10px 18px; border-radius: var(--kd-r-pill); text-decoration: none; cursor: pointer; }
.seg [aria-current="page"], .seg [aria-pressed="true"] { background: var(--kd-surface); color: var(--kd-ink); box-shadow: 0 1px 3px rgba(20,26,51,.12); }
.seg .save { color: var(--kd-ok); font-weight: 700; }
.plans { display: grid; gap: 20px; align-items: stretch; }
.plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
.plan { display: flex; flex-direction: column; gap: 22px; padding: 28px; background: var(--kd-surface); border: 1px solid var(--kd-line); border-radius: var(--kd-r-lg); position: relative; }
.plan.is-featured { border: 2px solid var(--kd-accent); box-shadow: 0 20px 50px -28px color-mix(in srgb, var(--kd-accent) 60%, transparent); }
.plan header { display: flex; flex-direction: column; gap: 4px; }
.plan h3 { font-family: var(--kd-font-display); font-size: 1.35rem; }
.plan-flag { position: absolute; top: -12px; right: 20px; background: var(--kd-accent); color: var(--kd-on-accent); font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: var(--kd-r-pill); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .amount { font: 700 2.5rem/1 var(--kd-font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price .per { color: var(--kd-muted); font-size: .9rem; }
.plan .checks { flex: 1; font-size: .95rem; }
.plan .kd-btn { width: 100%; }
.price-note { text-align: center; color: var(--kd-muted); font-size: .9rem; margin-top: 28px; }
[data-plans-group][hidden] { display: none !important; }

/* ---------- Entegrasyonlar ---------- */
.int-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.int-filter button { border: 1px solid var(--kd-line); background: var(--kd-surface); color: var(--kd-ink); font: 600 .9rem var(--kd-font-body); padding: 8px 16px; border-radius: var(--kd-r-pill); cursor: pointer; }
.int-filter button[aria-pressed="true"] { background: var(--kd-ink); color: var(--kd-bg); border-color: var(--kd-ink); }
.int-group + .int-group { margin-top: 48px; }
.int-group h2 { font-family: var(--kd-font-display); font-size: 1.4rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; list-style: none; }
.int-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--kd-surface); border: 1px solid var(--kd-line); border-radius: var(--kd-r-md); }
.int-card-head { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.int-caps { display: flex; flex-wrap: wrap; gap: 4px; }
.int-caps span { font-size: .72rem; padding: 2px 8px; border-radius: var(--kd-r-pill); background: var(--kd-soft); color: var(--kd-muted); }
.prod-pill { font: 600 .72rem var(--kd-font-body); padding: 3px 10px; border-radius: var(--kd-r-pill); }
.prod-pill.commerce { background: var(--kd-commerce-soft); color: var(--kd-commerce); }
.prod-pill.connect { background: var(--kd-connect-soft); color: var(--kd-connect); }
.prod-pill.both { background: var(--kd-brand-soft); color: var(--kd-brand); }

/* ---------- Demo formu ---------- */
.demo-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.demo-aside { display: flex; flex-direction: column; gap: 20px; }
.demo-form { background: var(--kd-surface); border: 1px solid var(--kd-line); border-radius: var(--kd-r-lg); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.demo-form .full { grid-column: 1 / -1; }
.demo-form .kd-field { min-width: 0; }
.radio-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.radio-cards label { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--kd-line); border-radius: var(--kd-r-md); cursor: pointer; font-weight: 600; font-size: .9rem; }
.radio-cards small { font-weight: 400; color: var(--kd-muted); font-size: .8rem; }
.radio-cards input { position: absolute; opacity: 0; pointer-events: none; }
.radio-cards label:has(input:checked) { border-color: var(--kd-brand); background: var(--kd-brand-soft); }
.radio-cards label:has(input:focus-visible) { box-shadow: var(--kd-focus); }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--kd-muted); }
.check-line input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--kd-brand); }
.form-alert { padding: 12px 16px; border-radius: var(--kd-r-md); background: color-mix(in srgb, var(--kd-err) 12%, transparent); color: var(--kd-err); font-weight: 600; font-size: .92rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kd-textarea { min-height: 110px; resize: vertical; }
.thanks { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-block: 120px; }
.thanks-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--kd-ok) 15%, transparent); color: var(--kd-ok); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--kd-line); padding-block: 56px 24px; background: var(--kd-surface); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { margin-top: 12px; color: var(--kd-muted); max-width: 32ch; font-size: .95rem; }
.site-footer h2 { font: 600 .78rem var(--kd-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--kd-muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer nav a { text-decoration: none; font-size: .95rem; }
.site-footer nav a:hover { color: var(--kd-brand); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--kd-line); color: var(--kd-muted); font-size: .85rem; }

/* ---------- 404 ---------- */
.notfound { padding-block: 120px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.notfound code { background: var(--kd-soft); padding: 2px 8px; border-radius: 4px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 24px; background: var(--kd-bg); border-bottom: 1px solid var(--kd-line); max-height: calc(100dvh - 68px); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { width: 100%; justify-content: space-between; padding: 12px; font-size: 1rem; }
  .mega { position: static; width: auto; grid-template-columns: 1fr; box-shadow: none; margin-top: 4px; }
  .nav-actions { flex-direction: column; }
  .nav-actions .kd-btn { width: 100%; min-height: 46px; }
  .split, .demo-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .faq-grid > div:first-child { position: static; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans-3 { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .product-split, .steps-row, .feature-grid, .plans-2 { grid-template-columns: minmax(0, 1fr); }
  .strip-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .demo-form { grid-template-columns: minmax(0, 1fr); }
  .radio-cards { grid-template-columns: minmax(0, 1fr); }
  .stock-num { font-size: 2.5rem; }
  .hero-actions .kd-btn { flex: 1 1 100%; }
  .bundle-bar { align-items: flex-start; }
  .bundle-bar > .ic:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card, .product-card:hover { transform: none; transition: none; }
}

/* ---------- Panel yardımcıları ---------- */
.panel-actions { display: flex; gap: 8px; justify-content: flex-end; padding-top: 6px; }
.small { font-size: .8rem; }
.code-panel { font-size: .82rem; overflow-x: auto; white-space: pre; margin: 0; line-height: 1.6; }
.sw-a { background: #E5571F; } .sw-b { background: #141A33; } .sw-c { background: #F4F1EC; }
.fieldset-reset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset-reset legend { padding: 0; margin-bottom: 6px; }
.thanks .lead { margin-inline: auto; }
.demo-aside a, .price-note a { color: var(--kd-brand); }
/* .sr etiketleri absolute; kaydırılan kapsayıcıdan kaçıp sayfayı genişletmesinler */
.kd-table-wrap, .code-panel { position: relative; }

/* ---------- Logo: koyu temada siyah yazı beyaza döner, kırmızı korunur ---------- */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo img { filter: invert(1) hue-rotate(180deg) saturate(1.4); } }
:root[data-theme="dark"] .logo img { filter: invert(1) hue-rotate(180deg) saturate(1.4); }

/* ---------- Referanslar ---------- */
.refs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.refs-head .section-head { margin-bottom: 0; }
.ref-grid { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ref-tile { display: block; background: #fff; border: 1px solid var(--kd-line); border-radius: var(--kd-r-md); overflow: hidden; aspect-ratio: 1; max-width: 100%; }
.ref-tile img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .25s var(--kd-ease); }
.ref-tile:hover img { transform: scale(1.04); }
.ref-grid--full { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 16px; }
.ref-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ref-card b { font-size: .92rem; margin-top: 6px; line-height: 1.3; }
.ref-card .muted { font-size: .8rem; }
.ref-card[hidden] { display: none; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--kd-brand); }
.footer-contact li.muted { font-size: .85rem; }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; flex-direction: row !important; }
.social a { font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--kd-muted); }
.social a:hover { color: var(--kd-brand); }
@media (max-width: 1020px) { .ref-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 720px) { .ref-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ref-grid--full { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Fiyatlar: paket karşılaştırma (views/partials/paket-karsilastir.php) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cmp { margin-top: 56px; }
.cmp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.cmp-baslik { font-family: var(--kd-font-display); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.15; letter-spacing: -.01em; }
.cmp-head p { margin-top: 6px; max-width: 62ch; font-size: .95rem; }
.cmp-toggle { display: inline-flex; align-items: center; gap: 8px; font: 600 .9rem var(--kd-font-body); color: var(--kd-ink); cursor: pointer; padding: 8px 14px; border: 1px solid var(--kd-line); border-radius: var(--kd-r-pill); background: var(--kd-surface); }
.cmp-toggle input { accent-color: var(--kd-accent); width: 16px; height: 16px; }
.cmp-scroll { overflow-x: auto; border: 1px solid var(--kd-line); border-radius: var(--kd-r-lg); background: var(--kd-surface); }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; }
.cmp-table th, .cmp-table td { padding: 12px 16px; border-bottom: 1px solid var(--kd-line); text-align: center; vertical-align: middle; }
.cmp-table tbody th[scope="row"] { text-align: left; font-weight: 500; color: var(--kd-ink); min-width: 220px; }
.cmp-table tbody th small { display: block; margin-top: 2px; color: var(--kd-muted); font-size: .8rem; font-weight: 400; line-height: 1.4; }
.cmp-table thead th { position: sticky; top: 0; z-index: 2; background: var(--kd-surface); border-bottom: 2px solid var(--kd-line); }
.cmp-table thead th b { display: block; font: 700 1rem var(--kd-font-display); }
.cmp-table thead th small { display: block; margin-top: 2px; color: var(--kd-muted); font-size: .8rem; font-weight: 500; }
.cmp-3 thead th:not(:first-child), .cmp-3 td { width: 18%; }
.cmp-2 thead th:not(:first-child), .cmp-2 td { width: 24%; }
.cmp-table .is-featured { background: color-mix(in srgb, var(--kd-accent) 5%, var(--kd-surface)); }
.cmp-table thead .is-featured { box-shadow: inset 0 3px 0 var(--kd-accent); }
.cmp-grup th { text-align: left; padding: 18px 16px 8px; font: 700 .78rem var(--kd-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--kd-muted); background: var(--kd-soft); }
.cmp-bolum th { text-align: left; padding: 16px; font: 700 1.05rem var(--kd-font-display); color: var(--kd-ink); background: var(--kd-surface); border-bottom: 2px solid var(--kd-ink); }
.cmp-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--kd-ok) 14%, transparent); color: var(--kd-ok); }
.cmp-no { color: var(--kd-muted); opacity: .6; }
.cmp-val { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmp-val.is-ek { font-weight: 500; font-size: .82rem; color: var(--kd-muted); padding: 2px 8px; border: 1px dashed var(--kd-line); border-radius: var(--kd-r-pill); }
.cmp.is-fark [data-cmp-ayni] { display: none; }
.cmp.is-fark tbody:not(:has(tr:not(.cmp-grup):not([data-cmp-ayni]))) .cmp-grup { display: none; }
.cmp-not { margin-top: 12px; font-size: .85rem; }
@media (max-width: 640px) {
  .cmp-table th, .cmp-table td { padding: 10px 8px; }
  .cmp-table tbody th[scope="row"] { min-width: 128px; font-size: .86rem; }
  .cmp-table thead th b { font-size: .88rem; }
  .cmp-val { white-space: normal; font-size: .82rem; }
}
