/* Kurumsal Fikir — kamu yüzü. Marka turuncusu + mürekkep lacivert. */
:root {
  --kf-ink: #08111c;
  --kf-ink-2: #122033;
  --kf-paper: #eef1f4;
  --kf-surface: #ffffff;
  --kf-amber: #f7931e;
  --kf-amber-hover: #e08412;
  --kf-amber-ink: #1a1208;
  --kf-text: #0d1624;
  --kf-muted: #3d4c61;
  --kf-line: #d5dce6;
  --kf-line-strong: #b7c2d0;
  --kf-focus: #f7931e;
  --kf-danger: #b42318;
  --kf-ok: #067647;
  --kf-ok-bg: #ecfdf3;
  --kf-header-h: 4.5rem;
  --kf-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --kf-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --kf-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --kf-shadow: 0 12px 32px rgba(8, 17, 28, 0.12);
  --kf-radius: 4px;
  --kf-max: 72rem;
  --kf-gutter: 1.5rem;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html:focus-within { scroll-behavior: smooth; }

body.kf-body {
  margin: 0;
  font-family: var(--kf-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--kf-text);
  background: var(--kf-paper);
  min-height: 100dvh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; }

::selection {
  background: var(--kf-amber);
  color: var(--kf-amber-ink);
}

:focus-visible {
  outline: 2px solid var(--kf-focus);
  outline-offset: 3px;
}

.kf-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10000;
  background: var(--kf-amber);
  color: var(--kf-amber-ink);
  padding: 0.75rem 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--kf-radius);
}
.kf-skip:focus { top: 1rem; }

.kf-wrap { min-height: 100dvh; display: flex; flex-direction: column; }
.kf-main { flex: 1; }

.kf-container {
  width: min(100% - (var(--kf-gutter) * 2), var(--kf-max));
  margin-inline: auto;
}

.kf-prose { max-width: 42rem; }
.kf-prose p { margin: 0 0 1rem; }
.kf-prose ul, .kf-prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.kf-prose img { margin: 1rem 0; border-radius: 8px; }

/* Header */
.kf-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--kf-header-h);
  background: var(--kf-surface);
  border-bottom: 1px solid var(--kf-line);
  transition: background 220ms var(--kf-ease), border-color 220ms var(--kf-ease), box-shadow 220ms var(--kf-ease);
}
.kf-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(8, 17, 28, 0.06);
}
.kf-header--overlay {
  position: fixed;
  left: 0; right: 0; top: 0;
  width: 100%;
  background: transparent;
  border-bottom-color: rgba(255,255,255,0.12);
}
.kf-header--overlay .kf-nav a { color: #f4f6f8; }
.kf-header--overlay .kf-nav a[aria-current="page"] { color: #fff; }
.kf-header--overlay .kf-nav-toggle span { background: #fff; }
.kf-header--overlay.is-scrolled,
.kf-header--overlay.is-open {
  background: var(--kf-ink);
  border-bottom-color: rgba(255,255,255,0.1);
}

.kf-header__bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: var(--kf-header-h);
}

.kf-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.kf-logo img {
  height: 2.5rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
}

.kf-nav {
  display: none;
  list-style: none;
  margin-left: auto;
  gap: 0.15rem;
}
.kf-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.7rem;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--kf-text);
  position: relative;
}
.kf-nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem; right: 0.7rem; bottom: 0.55rem;
  height: 2px;
  background: var(--kf-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms var(--kf-ease);
}
.kf-nav a:hover::after,
.kf-nav a[aria-current="page"]::after { transform: scaleX(1); }

.kf-header__cta { margin-left: auto; display: none; }

.kf-nav-toggle {
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  gap: 5px;
  padding: 0;
}
.kf-nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--kf-ink);
  transition: transform 200ms var(--kf-ease), opacity 200ms;
}
.kf-header.is-open .kf-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kf-header.is-open .kf-nav-toggle span:nth-child(2) { opacity: 0; }
.kf-header.is-open .kf-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.kf-drawer {
  display: none;
  position: fixed;
  inset: var(--kf-header-h) 0 0 0;
  background: var(--kf-ink);
  z-index: 79;
  padding: 1.5rem;
  overflow: auto;
}
.kf-header.is-open .kf-drawer { display: block; }
.kf-drawer a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--kf-display);
  font-size: 1.5rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.kf-drawer a[aria-current="page"] { color: var(--kf-amber); }
.kf-drawer__cta { margin-top: 1.5rem; }

@media (min-width: 992px) {
  .kf-nav { display: flex; }
  .kf-header__cta { display: block; margin-left: 0.5rem; }
  .kf-nav-toggle, .kf-drawer { display: none !important; }
}

/* Buttons */
.kf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: var(--kf-radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: background 160ms var(--kf-ease), color 160ms, border-color 160ms, transform 160ms;
}
.kf-btn:active { transform: scale(0.98); }
.kf-btn--primary {
  background: var(--kf-amber);
  color: var(--kf-amber-ink);
}
.kf-btn--primary:hover { background: var(--kf-amber-hover); }
.kf-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.kf-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.kf-btn--outline {
  background: transparent;
  color: var(--kf-ink);
  border-color: var(--kf-ink);
}
.kf-btn--outline:hover { background: var(--kf-ink); color: #fff; }
.kf-btn--light {
  background: #fff;
  color: var(--kf-ink);
}
.kf-btn--light:hover { background: var(--kf-paper); }

/* Hero */
.kf-hero {
  position: relative;
  background: var(--kf-ink);
  color: #f4f6f8;
  min-height: min(92dvh, 46rem);
  display: grid;
  isolation: isolate;
  overflow: hidden;
}
.kf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(247, 147, 30, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(18, 48, 82, 0.9), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.kf-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  padding: calc(var(--kf-header-h) + 3rem) 0 4rem;
  align-items: center;
}
.kf-hero h1 {
  font-family: var(--kf-display);
  font-size: clamp(2.35rem, 5.4vw, 4.35rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
  color: #fff;
}
.kf-hero__lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #c5ceda;
  max-width: 38rem;
  margin: 0 0 2rem;
}
.kf-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.kf-hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 34rem;
}
.kf-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kf-hero-scale 18s var(--kf-ease) both;
}
.kf-hero__frame {
  position: absolute;
  inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  border: 1px solid var(--kf-amber);
  pointer-events: none;
}
@keyframes kf-hero-scale {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@media (min-width: 900px) {
  .kf-hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
  .kf-hero__media { aspect-ratio: 4 / 5; }
}

/* Sections */
.kf-section { padding: 4.5rem 0; }
.kf-section--tight { padding: 3rem 0; }
.kf-section--ink { background: var(--kf-ink); color: #f4f6f8; }
.kf-section--surface { background: var(--kf-surface); }
.kf-section h2,
.kf-mast h1 {
  font-family: var(--kf-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.75rem;
}
.kf-section h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); }
.kf-lede {
  color: var(--kf-muted);
  max-width: 40rem;
  margin: 0 0 2.5rem;
}
.kf-section--ink .kf-lede { color: #c5ceda; }

.kf-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 880px) {
  .kf-split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.kf-media {
  overflow: hidden;
  border-radius: 8px;
  background: var(--kf-ink-2);
}
.kf-media img { width: 100%; height: 100%; object-fit: cover; }
.kf-media--4x3 { aspect-ratio: 4 / 3; }
.kf-media--3x2 { aspect-ratio: 3 / 2; }
.kf-media--wide { aspect-ratio: 16 / 9; }

/* Services as editorial rows */
.kf-service-list { list-style: none; border-top: 1px solid var(--kf-line); }
.kf-service-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--kf-line);
  text-decoration: none;
  transition: transform 180ms var(--kf-ease);
}
.kf-service-list a:hover { transform: translateX(6px); }
.kf-service-list i {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: var(--kf-amber);
  font-size: 1.35rem;
  background: rgba(247, 147, 30, 0.1);
  border-radius: var(--kf-radius);
}
.kf-service-list h2,
.kf-service-list h3 {
  margin: 0 0 0.2rem;
  font-family: var(--kf-display);
  font-size: 1.2rem;
  font-weight: 700;
}
.kf-service-list p { margin: 0; color: var(--kf-muted); font-size: 0.95rem; }
.kf-service-list .kf-i { color: var(--kf-amber); }

/* Stats */
.kf-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--kf-line);
  border: 1px solid var(--kf-line);
}
.kf-stats article {
  background: var(--kf-surface);
  padding: 1.5rem 1.25rem;
  text-align: left;
}
.kf-stats .kf-stat-n {
  font-family: var(--kf-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--kf-ink);
}
.kf-stats span { color: var(--kf-muted); font-size: 0.9rem; }
@media (min-width: 800px) {
  .kf-stats { grid-template-columns: repeat(4, 1fr); }
}

/* Quality list */
.kf-quality { list-style: none; display: grid; gap: 1.5rem; }
.kf-quality li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.kf-quality i {
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  background: var(--kf-ink);
  color: var(--kf-amber);
  border-radius: var(--kf-radius);
  font-size: 1.2rem;
}
.kf-quality h3 { margin: 0 0 0.25rem; font-size: 1.1rem; font-family: var(--kf-display); }
.kf-quality p { margin: 0; color: var(--kf-muted); }

/* Projects */
.kf-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
}
.kf-filters button {
  min-height: 2.5rem;
  padding: 0 0.9rem;
  border: 1px solid var(--kf-line-strong);
  background: transparent;
  color: var(--kf-text);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
}
.kf-filters button[aria-pressed="true"],
.kf-filters button:hover {
  background: var(--kf-ink);
  color: #fff;
  border-color: var(--kf-ink);
}

.kf-projects {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  list-style: none;
}
@media (min-width: 640px) {
  .kf-projects { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .kf-projects { grid-template-columns: repeat(3, 1fr); }
  .kf-projects > li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}
.kf-projects.is-filtered > li:nth-child(1) { grid-column: auto; grid-row: auto; }
.kf-projects > li.is-hidden { display: none; }

.kf-project {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--kf-ink);
  text-decoration: none;
  color: #fff;
  min-height: 16rem;
  height: 100%;
}
.kf-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
  transition: transform 400ms var(--kf-ease);
}
.kf-projects > li:nth-child(1) .kf-project img { min-height: 100%; }
.kf-project:hover img { transform: scale(1.05); }
.kf-project__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.15rem 1.1rem;
  background: linear-gradient(transparent, rgba(8,17,28,0.88));
}
.kf-project__meta h3 {
  margin: 0 0 0.2rem;
  font-family: var(--kf-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.kf-project__meta span {
  font-size: 0.8125rem;
  color: var(--kf-amber);
  font-weight: 600;
}

/* Team */
.kf-team {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(14rem, 18rem);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  list-style: none;
}
.kf-team li { scroll-snap-align: start; }
.kf-team figure { margin: 0; background: var(--kf-surface); }
.kf-team img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
.kf-team figcaption { padding: 0.9rem 0.2rem 0; }
.kf-team h3 { margin: 0; font-size: 1.05rem; font-family: var(--kf-display); }
.kf-team p { margin: 0.15rem 0 0; color: var(--kf-muted); font-size: 0.9rem; }

/* Pricing */
.kf-prices {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .kf-prices { grid-template-columns: repeat(3, 1fr); }
}
.kf-price {
  background: var(--kf-surface);
  border: 1px solid var(--kf-line);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.kf-price h3 {
  margin: 0 0 0.5rem;
  font-family: var(--kf-display);
  font-size: 1.25rem;
}
.kf-price .kf-amount {
  font-family: var(--kf-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 1.25rem;
}
.kf-price ul { list-style: none; margin: 0 0 1.5rem; flex: 1; }
.kf-price li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--kf-line);
  color: var(--kf-muted);
}
.kf-prices > .kf-price:nth-child(2) {
  background: var(--kf-ink);
  color: #fff;
  border-color: var(--kf-ink);
}
.kf-prices > .kf-price:nth-child(2) .kf-amount,
.kf-prices > .kf-price:nth-child(2) h3 { color: #fff; }
.kf-prices > .kf-price:nth-child(2) li { color: #c5ceda; border-color: rgba(255,255,255,0.12); }

/* Blog cards */
.kf-blog {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .kf-blog { grid-template-columns: 1.2fr 1fr 1fr; }
  .kf-blog article:first-child { grid-row: span 2; }
}
.kf-blog a { text-decoration: none; color: inherit; display: block; height: 100%; }
.kf-blog article {
  background: var(--kf-surface);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.kf-blog img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.kf-blog article:first-child img { aspect-ratio: 16 / 11; }
.kf-blog .kf-blog__body { padding: 1.1rem 0.15rem 0; }
.kf-blog time { color: var(--kf-muted); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.kf-blog h3 {
  margin: 0.35rem 0 0.4rem;
  font-family: var(--kf-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.kf-blog article:first-child h3 { font-size: 1.5rem; }
.kf-blog p { margin: 0; color: var(--kf-muted); }

.kf-blog-layout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .kf-blog-layout { grid-template-columns: minmax(0, 1fr) 18rem; }
}

.kf-post-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--kf-line);
  text-decoration: none;
  color: inherit;
}
@media (min-width: 700px) {
  .kf-post-card { grid-template-columns: 16rem 1fr; align-items: center; }
}
.kf-post-card h2 {
  font-family: var(--kf-display);
  font-size: 1.35rem;
  margin: 0.3rem 0 0.5rem;
}
.kf-aside {
  background: var(--kf-surface);
  padding: 1.25rem;
  border: 1px solid var(--kf-line);
  position: sticky;
  top: calc(var(--kf-header-h) + 1rem);
}
.kf-aside h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.kf-aside a {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  text-decoration: none;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--kf-line);
}
.kf-aside a:last-child { border-bottom: 0; }
.kf-aside img { width: 4.5rem; height: 3.2rem; object-fit: cover; }
.kf-aside h3 { margin: 0; font-size: 0.95rem; font-weight: 700; }
.kf-aside time { font-size: 0.75rem; color: var(--kf-muted); }

/* Newsletter */
.kf-news {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}
@media (min-width: 800px) {
  .kf-news { grid-template-columns: 1fr 1fr; }
}
.kf-news h2 { color: #fff; }
.kf-inline-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.kf-inline-form input {
  flex: 1;
  min-width: 12rem;
  min-height: 2.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 0 1rem;
  border-radius: var(--kf-radius);
}
.kf-inline-form input::placeholder { color: #9aa6b5; }

/* Forms */
.kf-form { display: grid; gap: 1rem; }
.kf-form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .kf-form-row { grid-template-columns: 1fr 1fr; }
}
.kf-field { display: grid; gap: 0.35rem; }
.kf-field label { font-weight: 600; font-size: 0.9rem; }
.kf-req { color: var(--kf-danger); }
.kf-field input,
.kf-field select,
.kf-field textarea {
  min-height: 2.75rem;
  border: 1px solid var(--kf-line-strong);
  background: var(--kf-surface);
  color: var(--kf-text);
  padding: 0.6rem 0.85rem;
  border-radius: var(--kf-radius);
  width: 100%;
}
.kf-field textarea { min-height: 8rem; resize: vertical; }
.kf-field input:focus,
.kf-field select:focus,
.kf-field textarea:focus {
  border-color: var(--kf-ink);
}

.kf-alert {
  padding: 0.9rem 1rem;
  border-radius: var(--kf-radius);
  background: var(--kf-ok-bg);
  color: var(--kf-ok);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.kf-contact-cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .kf-contact-cards { grid-template-columns: repeat(3, 1fr); }
}
.kf-contact-cards a,
.kf-contact-cards article {
  background: var(--kf-surface);
  padding: 1.25rem;
  border: 1px solid var(--kf-line);
  text-decoration: none;
  display: block;
}
.kf-contact-cards h2 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
  font-family: var(--kf-sans);
  font-weight: 700;
  letter-spacing: 0;
}
.kf-contact-cards p { margin: 0; color: var(--kf-muted); }

.kf-map { width: 100%; height: 22rem; border: 0; display: block; background: var(--kf-line); }

/* Masthead */
.kf-mast {
  background: var(--kf-ink);
  color: #fff;
  padding: 2.75rem 0;
}
.kf-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.kf-mast h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 0.75rem; }
.kf-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  font-size: 0.875rem;
  color: #c5ceda;
}
.kf-crumbs a { color: #fff; text-decoration: none; }
.kf-crumbs a:hover { color: var(--kf-amber); }
.kf-crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: #6b7788;
}

/* Article */
.kf-article { background: var(--kf-surface); }
.kf-article__media { margin-bottom: 1.75rem; }
.kf-article__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.kf-article .kf-prose p { margin: 0 0 1rem; }
.kf-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.5rem 0; }
.kf-tags span {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--kf-line);
  color: var(--kf-muted);
}
.kf-share { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* Footer */
.kf-footer {
  background: var(--kf-ink);
  color: #d5dce6;
  margin-top: auto;
  border-top: 3px solid var(--kf-amber);
}
.kf-footer a { color: #fff; text-decoration: none; }
.kf-footer a:hover { color: var(--kf-amber); }
.kf-footer__top {
  display: grid;
  gap: 2rem;
  padding: 3rem 0 2rem;
}
@media (min-width: 800px) {
  .kf-footer__top { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.kf-footer h2 {
  font-family: var(--kf-display);
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: 0;
  font-weight: 700;
}
.kf-footer ul { list-style: none; }
.kf-footer li { margin: 0 0 0.45rem; }
.kf-footer__nap { font-style: normal; display: grid; gap: 0.5rem; }
.kf-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.kf-social a {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--kf-radius);
}
.kf-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  font-size: 0.875rem;
}

.kf-top {
  position: fixed;
  right: 1.35rem;
  bottom: 6.2rem;
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: var(--kf-radius);
  background: var(--kf-ink);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms;
}
.kf-top.is-visible { opacity: 1; pointer-events: auto; }

/* 404 */
.kf-empty { text-align: left; padding: 2rem 0 4rem; }
.kf-empty .kf-code {
  font-family: var(--kf-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--kf-ink);
  margin: 0 0 1rem;
}

/* Cookie policy table */
.kf-legal { background: var(--kf-surface); padding: 2.5rem; }
@media (max-width: 700px) {
  .kf-legal { padding: 0; background: transparent; }
}
.kf-legal h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}
.kf-legal h2:first-of-type { margin-top: 0; }
.kf-cookie-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.kf-cookie-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.kf-cookie-table th, .kf-cookie-table td {
  border: 1px solid var(--kf-line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.kf-cookie-table th { background: var(--kf-paper); }
.kf-cookie-cards { display: none; }

@media (max-width: 700px) {
  .kf-cookie-table-wrap { display: none; }
  .kf-cookie-cards { display: grid; gap: 0.75rem; }
  .kf-cookie-card-item {
    background: var(--kf-paper);
    padding: 1rem;
    display: grid;
    grid-template-columns: 8rem 1fr;
    gap: 0.35rem 0.75rem;
    margin: 0;
  }
  .kf-cookie-card-item dt { font-weight: 700; font-size: 0.8rem; }
  .kf-cookie-card-item dd { margin: 0; }
}

.kf-related {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .kf-related { grid-template-columns: repeat(3, 1fr); }
}

.kf-cta-band .kf-split { align-items: center; }

/* WhatsApp clearance */
body.kf-body .kf-whatsapp-float { bottom: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .kf-hero__media img { animation: none; }
}
