/* =========================================================================
   ARD Modern Yapı — tasarım sistemi
   Renkler logodan türetildi: kırmızı #FB0C0F, siyah #000508, beyaz.
   ========================================================================= */

/* ---------- Font ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Değişkenler ---------- */
:root {
  /* Marka kırmızısı logodan (#FB0C0F). --red açık zeminde, --red-on-dark koyu
     zeminde kullanılır; ikisi de kendi zemininde okunaklı kontrast verir. */
  --red: #d40c12;
  --red-bright: #fb0c0f;
  --red-on-dark: #ff5257;
  --red-dark: #a80a0e;
  --red-tint: #fff1f1;

  --ink: #08090b;
  --ink-2: #14171a;
  --ink-3: #2a2f35;

  /* Açık zemin üzerindeki metin renkleri (beyaza karşı kontrast oranı yorumda) */
  --gray-900: #23272b; /* 13.6:1 — gövde metni */
  --gray-700: #3d434a; /* 9.6:1  — ikincil metin, lead */
  --gray-500: #5c636b; /* 6.4:1  — küçük yardımcı metin */
  --gray-400: #767d85; /* 4.6:1  — yalnızca dekoratif */
  --gray-300: #c9ced3;
  --gray-200: #e2e6ea;
  --gray-100: #f1f3f5;
  --gray-50: #f7f8f9;
  --paper: #ffffff;

  /* Koyu zemin (#08090b) üzerindeki metin renkleri */
  --on-dark: #eceef0; /* 15.8:1 — ana metin */
  --on-dark-2: #c8cdd2; /* 11.4:1 — ikincil metin */
  --on-dark-3: #a5acb3; /* 7.7:1  — yardımcı metin, etiketler */

  --line: rgba(8, 9, 11, 0.1);
  --line-strong: rgba(8, 9, 11, 0.18);
  --line-dark: rgba(255, 255, 255, 0.16);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --step--1: clamp(0.875rem, 0.85rem + 0.14vw, 0.95rem);
  --step-0: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.1rem, 1.02rem + 0.38vw, 1.32rem);
  --step-2: clamp(1.32rem, 1.16rem + 0.75vw, 1.75rem);
  --step-3: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --step-4: clamp(2rem, 1.45rem + 2.5vw, 3.4rem);
  --step-5: clamp(2.4rem, 1.5rem + 4.2vw, 4.75rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(8, 9, 11, 0.06), 0 2px 8px rgba(8, 9, 11, 0.04);
  --shadow-md: 0 4px 12px rgba(8, 9, 11, 0.08), 0 12px 32px rgba(8, 9, 11, 0.07);
  --shadow-lg: 0 12px 28px rgba(8, 9, 11, 0.12), 0 32px 64px rgba(8, 9, 11, 0.1);

  --container: 1280px;
  --gutter: clamp(1rem, 0.5rem + 2.4vw, 2.75rem);
  --header-h: 76px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Temel ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--gray-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
  font-weight: 800;
  letter-spacing: -0.035em;
}
h2 {
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h3 {
  font-size: var(--step-2);
}
h4 {
  font-size: var(--step-1);
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
svg {
  max-width: 100%;
  display: block;
}

/* <picture> düzenden çıkarılır; böylece içindeki <img> doğrudan kabının
   ölçülerine (aspect-ratio, absolute konum) uyar. */
picture {
  display: contents;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--space-7) 0;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus {
  transform: translate(-50%, 0);
}

.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;
}

/* ---------- Yerleşim ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: 1560px;
}

.section {
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem);
}
.section--tight {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}
.section--dark {
  background: var(--ink);
  color: var(--on-dark-2);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}
.section--gray {
  background: var(--gray-50);
}

.grid {
  display: grid;
  gap: var(--space-5);
}

/* ---------- Tipografi yardımcıları ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--red);
  flex: none;
}
.section--dark .eyebrow {
  color: var(--red-on-dark);
}
.section--dark .eyebrow::before {
  background: var(--red-on-dark);
}

.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--gray-700);
  max-width: 62ch;
}
.section--dark .lead {
  color: var(--on-dark-2);
}

.accent {
  color: var(--red);
}
.section--dark .accent,
.hero .accent,
.page-hero .accent {
  color: var(--red-on-dark);
}

.section-head {
  max-width: 64ch;
  margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow {
  justify-content: center;
}
.section-head p {
  margin-top: var(--space-4);
}

.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
}
.section-head--split > div:first-child {
  max-width: 60ch;
}

/* ---------- Butonlar ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  --btn-bg-hover: var(--red-dark);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
  will-change: transform;
}
/* Üzerine gelince dolgu aşağıdan yukarı kayarak dolar */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-bg-hover);
  transform: translate3d(0, 101%, 0);
  transition: transform 0.45s var(--ease-out);
}
.btn:hover::before,
.btn:focus-visible::before {
  transform: translate3d(0, 0, 0);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.btn svg {
  flex: none;
  transition: transform 0.25s var(--ease-out);
}
.btn:hover svg {
  transform: translateX(3px);
}

.btn--dark {
  --btn-bg: var(--ink);
  --btn-bg-hover: var(--ink-3);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bg-hover: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  color: #fff;
  border-color: var(--ink);
}
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bg-hover: #fff;
  border-color: var(--line-dark);
}
.btn--ghost-light:hover {
  color: var(--ink);
  border-color: #fff;
}
.btn--sm {
  padding: 0.65rem 1.1rem;
  font-size: var(--step--1);
}
.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease-out);
}
.link-arrow:hover {
  color: var(--red);
  gap: 0.8rem;
}
.section--dark .link-arrow {
  color: #fff;
}
.section--dark .link-arrow:hover {
  color: var(--red-on-dark);
}

/* ---------- Üst bar ---------- */
.topbar {
  background: var(--ink);
  color: var(--on-dark-3);
  font-size: var(--step--1);
  border-bottom: 1px solid var(--line-dark);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar__list {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: color 0.2s var(--ease);
}
.topbar a:hover {
  color: #fff;
}
.topbar svg {
  color: var(--red-on-dark);
  flex: none;
}

/* ---------- Başlık / menü ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.header.is-stuck {
  box-shadow: 0 1px 0 var(--line), 0 8px 28px rgba(8, 9, 11, 0.07);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  flex: none;
  margin-right: auto;
}
.logo img {
  height: 38px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
  white-space: nowrap;
}
/* Menü öğesinin altında soldan çizilen kırmızı çizgi */
.nav__link::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.38s var(--ease-out);
}
.nav__link:hover::after,
.nav__item:focus-within > .nav__link::after,
.nav__link[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__link:hover,
.nav__item:focus-within > .nav__link {
  color: var(--red);
  background: var(--gray-50);
}
.nav__link[aria-current='page'] {
  color: var(--red);
  font-weight: 600;
}
.nav__link .chev {
  transition: transform 0.25s var(--ease);
  opacity: 0.55;
}
.nav__item:hover .chev,
.nav__item:focus-within .chev {
  transform: rotate(180deg);
}

/* Açılır menü */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease-out), visibility 0.2s;
}
.nav__item:hover > .dropdown,
.nav__item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown--mega {
  left: 50%;
  transform: translate(-50%, -6px);
  width: min(760px, calc(100vw - 3rem));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem;
  padding: 0.75rem;
}
.nav__item:hover > .dropdown--mega,
.nav__item:focus-within > .dropdown--mega {
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.dropdown a:hover {
  background: var(--red-tint);
  color: var(--red);
}
.dropdown__all {
  grid-column: 1 / -1;
  margin-top: 0.35rem;
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}
.dropdown__all a {
  font-weight: 600;
  color: var(--red);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang a {
  padding: 0.4rem 0.65rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--gray-700);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}
.lang a:hover {
  background: var(--gray-100);
  color: var(--ink);
}
.lang a.is-active {
  background: var(--ink);
  color: #fff;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.burger span {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: background-color 0.2s var(--ease);
}
.burger span::before,
.burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease-out);
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}
.burger[aria-expanded='true'] span {
  background: transparent;
}
.burger[aria-expanded='true'] span::before {
  transform: translateY(6px) rotate(45deg);
}
.burger[aria-expanded='true'] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobil menü */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #fff;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease-out), visibility 0.25s;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.mobile-nav__link .chev {
  transition: transform 0.25s var(--ease);
  color: var(--red);
}
.mobile-nav__link[aria-expanded='true'] .chev {
  transform: rotate(180deg);
}
.mobile-nav__sub {
  display: grid;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}
.mobile-nav__sub.is-open {
  max-height: 700px;
}
.mobile-nav__sub a {
  padding: 0.7rem 0 0.7rem 1rem;
  font-size: var(--step-0);
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  border-left: 2px solid var(--red);
  margin-left: 0.25rem;
}
.mobile-nav__sub a:hover {
  color: var(--red);
}
.mobile-nav__footer {
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-3);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 820px);
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}
.hero__media,
.hero__slide {
  position: absolute;
  inset: 0;
}

/* Slaytlar üst üste durur. Yeni slayt, eskisinin üzerinde perde gibi açılır;
   eski slayt altta kaldığı için geçiş sırasında boşluk oluşmaz. */
.hero__slide {
  clip-path: inset(0 0 0 100%);
  z-index: 0;
  overflow: hidden;
}
.hero__slide.is-prev {
  clip-path: inset(0 0 0 0);
  z-index: 1;
}
.hero__slide.is-active {
  clip-path: inset(0 0 0 0);
  z-index: 2;
  transition: clip-path 1.15s var(--ease-out);
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

/* Duran görüntü yerine yavaşça yaklaşan/kayan görüntü */
@keyframes kenBurnsA {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-1.8%, -1.2%, 0);
  }
}
@keyframes kenBurnsB {
  from {
    transform: scale(1.16) translate3d(1.6%, 1%, 0);
  }
  to {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
}
.hero__slide.is-active img {
  animation: kenBurnsA 9.5s linear forwards;
}
.hero__slide.is-active:nth-child(even) img {
  animation-name: kenBurnsB;
}
/* Karartma katmanı slaytların üzerinde kalmalı (slaytlar z-index 0–2 kullanır),
   metin de karartmanın üzerinde. */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(100deg, rgba(8, 9, 11, 0.94) 0%, rgba(8, 9, 11, 0.82) 46%, rgba(8, 9, 11, 0.45) 100%);
}
.hero__inner {
  position: relative;
  z-index: 4;
  padding-block: clamp(4rem, 2rem + 8vw, 8rem);
  width: 100%;
}
.hero__content {
  max-width: 44rem;
}
.hero h1 {
  color: #fff;
  margin-bottom: var(--space-5);
}
.hero .eyebrow {
  color: #fff;
}
.hero .eyebrow::before {
  background: var(--red-on-dark);
}
.hero .lead {
  color: rgba(255, 255, 255, 0.94);
  max-width: 40rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.hero__dots {
  position: absolute;
  left: var(--gutter);
  bottom: 2rem;
  z-index: 5;
  display: flex;
  gap: 0.6rem;
}
.hero__dots button {
  position: relative;
  width: 46px;
  height: 3px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
  transition: width 0.4s var(--ease-out), background-color 0.25s var(--ease);
}
.hero__dots button:hover {
  background: rgba(255, 255, 255, 0.5);
}
/* Etkin göstergede otomatik geçiş süresi dolarak ilerler */
.hero__dots button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red-on-dark);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dots button.is-active {
  width: 64px;
}
.hero__dots button.is-active::after {
  animation: dotProgress var(--slide-duration, 6500ms) linear forwards;
}
@keyframes dotProgress {
  to {
    transform: scaleX(1);
  }
}

/* ---------- İstatistik şeridi ---------- */
.stats {
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats__item {
  padding: clamp(1.75rem, 1rem + 2.5vw, 3rem) var(--space-4);
  text-align: center;
  border-right: 1px solid var(--line-dark);
}
.stats__item:last-child {
  border-right: 0;
}
.stats__num {
  display: block;
  font-size: var(--step-4);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}
.stats__num .unit {
  color: var(--red-on-dark);
}
.stats__label {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}

/* ---------- Kart ızgaraları ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(1rem, 0.6rem + 1.2vw, 1.75rem);
}
.cards--2 {
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
}
.cards--4 {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.card:hover .card__media img {
  transform: scale(1.05);
}
.card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.6rem;
  border-radius: 2px;
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.1rem, 0.8rem + 0.8vw, 1.6rem);
}
.card__title {
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.card:hover .card__title {
  color: var(--red);
}
.card__text {
  margin-top: 0.6rem;
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--gray-700);
}
.card__foot {
  margin-top: auto;
  padding-top: var(--space-4);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--red);
}
.card__foot svg {
  transition: transform 0.25s var(--ease-out);
}
.card:hover .card__foot svg {
  transform: translateX(4px);
}
.card__link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* Kategori kartı — koyu üstü yazı */
.cat-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 3 / 4;
  isolation: isolate;
}
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0) 30%, rgba(8, 9, 11, 0.55) 62%, rgba(8, 9, 11, 0.92) 100%);
  transition: background 0.4s var(--ease);
}
.cat-card:hover img {
  transform: scale(1.06);
}
.cat-card:hover::after {
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.1) 20%, rgba(8, 9, 11, 0.7) 60%, rgba(8, 9, 11, 0.95) 100%);
}
.cat-card__body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.1rem, 0.8rem + 1vw, 1.75rem);
  color: #fff;
}
.cat-card__title {
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}
.cat-card__text {
  margin-top: 0.5rem;
  font-size: var(--step--1);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out), opacity 0.35s var(--ease), margin-top 0.35s var(--ease);
}
.cat-card:hover .cat-card__text,
.cat-card:focus-visible .cat-card__text {
  max-height: 12rem;
  opacity: 1;
}
.cat-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--red-on-dark);
}
.cat-card__count {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

/* ---------- Özellik listesi ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.25rem, 0.8rem + 1.5vw, 2.5rem);
}
.feature {
  position: relative;
  padding-top: var(--space-5);
  border-top: 2px solid var(--line);
  transition: border-color 0.3s var(--ease);
}
.feature:hover {
  border-color: var(--red);
}
.feature__num {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
}
.feature h3 {
  margin: 0.6rem 0 0.6rem;
  font-size: var(--step-1);
}
.feature p {
  font-size: var(--step--1);
  color: var(--gray-700);
  line-height: 1.65;
}
.section--dark .feature {
  border-color: var(--line-dark);
}
.section--dark .feature:hover {
  border-color: var(--red-on-dark);
}
.section--dark .feature p {
  color: var(--on-dark-2);
}
.section--dark .feature__num {
  color: var(--red-on-dark);
}

/* ---------- Bölünmüş içerik ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__media--offset::before {
  content: '';
  position: absolute;
  left: -1px;
  bottom: -1px;
  width: 42%;
  height: 6px;
  background: var(--red);
  z-index: 2;
}

/* ---------- Sayfa başlığı ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 9, 11, 0.96) 10%, rgba(8, 9, 11, 0.72) 100%);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 1.5rem + 6vw, 6rem);
}
.page-hero h1 {
  color: #fff;
  font-size: var(--step-4);
  max-width: 22ch;
}
.page-hero .lead {
  color: rgba(255, 255, 255, 0.92);
  margin-top: var(--space-4);
}

/* Varsayılan: açık zemin üzerinde koyu metin.
   Koyu sayfa başlığı içindeyken beyaza döner (aşağıdaki .page-hero kuralı). */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  color: var(--gray-500);
  margin-bottom: var(--space-4);
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
}
.breadcrumb a {
  color: var(--gray-500);
}
.breadcrumb a:hover {
  color: var(--red);
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--gray-300);
}
.breadcrumb [aria-current] {
  color: var(--ink);
  font-weight: 600;
}

.page-hero .breadcrumb,
.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}
.page-hero .breadcrumb a:hover {
  color: #fff;
}
.page-hero .breadcrumb li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.4);
}
.page-hero .breadcrumb [aria-current] {
  color: #fff;
}

/* ---------- Ürün detay ---------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}

.product-gallery__main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  cursor: zoom-in;
}
.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 0.55rem;
  margin-top: 0.65rem;
}
.product-gallery__thumb {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--gray-100);
  padding: 0;
  transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
  opacity: 0.68;
}
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-gallery__thumb:hover {
  opacity: 1;
}
.product-gallery__thumb.is-active {
  border-color: var(--red);
  opacity: 1;
}

.product__aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.product__cat {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-3);
}
.product__title {
  font-size: var(--step-3);
  margin-bottom: var(--space-4);
}
.product__intro p {
  color: var(--gray-700);
  line-height: 1.7;
}
.product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}

.specs {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.specs li {
  display: flex;
  gap: var(--space-4);
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
  line-height: 1.65;
  color: var(--gray-900);
}
.specs li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 0.6rem;
  background: var(--red);
  border-radius: 50%;
}
.specs--2col {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  column-gap: clamp(1.5rem, 1rem + 2vw, 3.5rem);
}

/* ---------- Galeri ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-6);
}
.filters button {
  padding: 0.55rem 1rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--gray-700);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: all 0.2s var(--ease);
}
.filters button:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.filters button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.masonry {
  columns: 4 260px;
  column-gap: clamp(0.6rem, 0.4rem + 0.8vw, 1.1rem);
}
.masonry__item {
  break-inside: avoid;
  margin-bottom: clamp(0.6rem, 0.4rem + 0.8vw, 1.1rem);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  position: relative;
}
.masonry__item img {
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease-out), opacity 0.3s var(--ease);
}
.masonry__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 11, 0);
  transition: background 0.3s var(--ease);
}
.masonry__item:hover img {
  transform: scale(1.04);
}
.masonry__item:hover::after {
  background: rgba(8, 9, 11, 0.18);
}
.masonry__item.is-hidden {
  display: none;
}

/* ---------- Projeler ---------- */
.project__head {
  max-width: 62ch;
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.75rem);
}
.project__head h2 {
  font-size: var(--step-3);
}
.project__meta {
  margin-top: 0.75rem;
  font-size: var(--step--1);
  color: var(--gray-500);
  letter-spacing: 0.01em;
}

.project__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(0.6rem, 0.4rem + 0.8vw, 1.1rem);
}
.project__shot {
  position: relative;
  padding: 0;
  border: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-100);
  cursor: zoom-in;
}
.project__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.project__shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 11, 0);
  transition: background 0.3s var(--ease);
}
.project__shot:hover img {
  transform: scale(1.05);
}
.project__shot:hover::after {
  background: rgba(8, 9, 11, 0.16);
}

.project__media {
  margin-bottom: clamp(0.6rem, 0.4rem + 0.8vw, 1.1rem);
}

/* ---------- Gömülü video ---------- */
.video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: var(--ratio, 16 / 9);
  /* Kaynak videonun kendi genişliğini aşmaz; büyütmek bulanıklaştırıyor. */
  max-width: min(var(--max-w, 980px), 100%);
}
.video--portrait {
  max-height: 78vh;
}
.video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 9, 11, 0.28);
  color: #fff;
  transition: background 0.3s var(--ease), opacity 0.25s var(--ease);
}
.video__play::before {
  content: '';
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 10px 30px rgba(8, 9, 11, 0.35);
  transition: transform 0.3s var(--ease-out), background-color 0.25s var(--ease);
}
.video__play svg {
  position: relative;
  z-index: 1;
  margin-left: 4px;
  transition: transform 0.3s var(--ease-out);
}
.video__play:hover {
  background: rgba(8, 9, 11, 0.16);
}
.video__play:hover::before {
  transform: scale(1.09);
  background: var(--red-bright);
}
.video.is-playing .video__play {
  opacity: 0;
  pointer-events: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 9, 11, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background 0.2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--red);
}
.lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
}
.lightbox__nav--prev {
  left: 1.25rem;
}
.lightbox__nav--next {
  right: 1.25rem;
}
.lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
}

/* ---------- Formlar ---------- */
.form {
  display: grid;
  gap: var(--space-4);
}
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}
.field label {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 0.4rem;
}
.field label .req {
  color: var(--red);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 13, 19, 0.12);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--red);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6167' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.form__note {
  font-size: var(--step--1);
  color: var(--gray-500);
}
.form__status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  font-size: var(--step--1);
  font-weight: 500;
  display: none;
}
.form__status.is-ok {
  display: block;
  background: #edf7ed;
  color: #1e6b2a;
  border: 1px solid #bfe0c2;
}
.form__status.is-err {
  display: block;
  background: var(--red-tint);
  color: var(--red-dark);
  border: 1px solid #f5c2c4;
}

/* ---------- İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: start;
}
.info-list {
  display: grid;
  gap: var(--space-5);
}
.info-item {
  display: flex;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
}
.info-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.info-item__icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--red-tint);
  color: var(--red);
  border-radius: var(--radius);
}
.info-item__label {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 0.3rem;
}
.info-item__value {
  color: var(--ink);
  line-height: 1.55;
}
.info-item__value a:hover {
  color: var(--red);
}
.map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: var(--gray-100);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Logolar ---------- */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-4);
  align-items: center;
}
.logos__item {
  display: grid;
  place-items: center;
  padding: var(--space-5) var(--space-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 110px;
}
.logos__item img {
  max-height: 62px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}
.logos__item:hover img {
  filter: none;
  opacity: 1;
}

/* ---------- CTA şeridi ---------- */
.cta-band {
  position: relative;
  background: var(--red);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -8%;
  top: -60%;
  width: 46rem;
  height: 46rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 62%);
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem);
}
.cta-band h2 {
  color: #fff;
  font-size: var(--step-3);
  max-width: 22ch;
}
.cta-band p {
  margin-top: 0.75rem;
  color: #fff;
  max-width: 48ch;
}
.cta-band .btn {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-bg-hover: var(--ink);
}
.cta-band .btn:hover {
  color: #fff;
}

/* ---------- Alt bilgi ---------- */
.footer {
  background: var(--ink);
  color: var(--on-dark-2);
  font-size: var(--step--1);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
}
.footer__logo img {
  height: 38px;
  width: auto;
  margin-bottom: var(--space-4);
}
.footer__about {
  line-height: 1.7;
  max-width: 34ch;
}
.footer h4 {
  color: #fff;
  font-size: var(--step-0);
  font-weight: 700;
  margin-bottom: var(--space-4);
}
.footer__links {
  display: grid;
  gap: 0.65rem;
}
.footer__links a {
  transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}
.footer__links a:hover {
  color: #fff;
  padding-left: 4px;
}
.footer__contact {
  display: grid;
  gap: 0.9rem;
}
.footer__contact div {
  display: flex;
  gap: 0.7rem;
  line-height: 1.6;
}
.footer__contact svg {
  flex: none;
  margin-top: 3px;
  color: var(--red-on-dark);
}
.footer__contact small {
  color: var(--on-dark-3);
}
.footer__contact a:hover {
  color: #fff;
}
.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--space-5);
}
.footer__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
}
.footer__social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-3);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.footer__legal a:hover {
  color: #fff;
}

/* ---------- WhatsApp ---------- */
.wa {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 90;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease);
}
.wa:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

/* ---------- Boş durum ---------- */
.empty {
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  text-align: center;
  background: var(--gray-50);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--gray-700);
}

/* =========================================================================
   Hareket sistemi
   Öğeler görüş alanına girdiğinde canlanır. Tür `data-anim` ile seçilir,
   sıra gecikmesi JS tarafından --d değişkenine yazılır.
   ========================================================================= */

.reveal {
  --d: 0ms;
  opacity: 0;
  transition: opacity 0.85s var(--ease-out) var(--d), transform 0.95s var(--ease-out) var(--d),
    clip-path 1s var(--ease-out) var(--d), filter 0.85s var(--ease-out) var(--d);
  will-change: opacity, transform;
}
/* Varsayılan: aşağıdan yükselerek gel */
.reveal,
.reveal[data-anim='up'] {
  transform: translate3d(0, 42px, 0);
}

.reveal[data-anim='fade'] {
  transform: none;
}

.reveal[data-anim='left'] {
  transform: translate3d(-48px, 0, 0);
}
.reveal[data-anim='right'] {
  transform: translate3d(48px, 0, 0);
}

.reveal[data-anim='scale'] {
  transform: scale(0.93);
}

/* Görseller için perde açılımı: aşağıdan yukarı sıyrılarak + hafif yakınlaşma */
.reveal[data-anim='curtain'] {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.06);
}

/* Başlıklar için maskeli açılım */
.reveal[data-anim='mask'] {
  clip-path: inset(0 0 105% 0);
  transform: translate3d(0, 12px, 0);
}

/* Başlığın altındaki kırmızı çizgi soldan çizilir */
.reveal[data-anim='line'] {
  transform: none;
  clip-path: inset(0 100% 0 0);
}

/* Kart ve ızgara öğeleri: yükselirken hafifçe büyür */
.reveal[data-anim='card'] {
  transform: translate3d(0, 46px, 0) scale(0.97);
}

/* Bitiş durumu — başlangıç tanımlarıyla aynı ağırlıkta olduğu için
   onlardan SONRA gelmek zorunda, yoksa öğeler yerine oturmaz. */
.reveal.is-visible,
.reveal.is-visible[data-anim] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
  filter: none;
}

/* ---------- Sayfa açılış animasyonu ---------- */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.intro > * {
  opacity: 0;
  animation: riseIn 0.9s var(--ease-out) forwards;
}
.intro > *:nth-child(1) {
  animation-delay: 0.15s;
}
.intro > *:nth-child(2) {
  animation-delay: 0.28s;
}
.intro > *:nth-child(3) {
  animation-delay: 0.41s;
}
.intro > *:nth-child(4) {
  animation-delay: 0.54s;
}
.intro > *:nth-child(5) {
  animation-delay: 0.67s;
}

/* ---------- Sayfalar arası geçiş (destekleyen tarayıcılarda) ---------- */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vtOut 0.28s var(--ease) both;
}
::view-transition-new(root) {
  animation: vtIn 0.42s var(--ease-out) both;
}
@keyframes vtOut {
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@keyframes vtIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Duyarlılık ---------- */
@media (max-width: 1100px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .product {
    grid-template-columns: 1fr;
  }
  .product__aside {
    position: static;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .nav,
  .header__actions .lang {
    display: none;
  }
  .burger {
    display: flex;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats__item:nth-child(2) {
    border-right: 0;
  }
  .stats__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }
  .topbar__list--secondary {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }
  .logo img {
    height: 32px;
  }
  /* Üst bar tek satırda kalsın: yalnızca telefon */
  .topbar__list li:not(:first-child) {
    display: none;
  }
  .topbar__inner {
    justify-content: center;
  }
  .cards,
  .cards--2,
  .cards--4 {
    grid-template-columns: 1fr;
  }
  .cat-card {
    aspect-ratio: 4 / 3;
  }
  .cat-card__text {
    max-height: 12rem;
    opacity: 1;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .masonry {
    columns: 2 140px;
  }
  .hero__dots {
    bottom: 1.25rem;
  }
  .btn {
    width: 100%;
  }
  .hero__actions .btn,
  .product__actions .btn {
    width: 100%;
  }
}

/* Ziyaretçi "hareketi azalt" seçtiyse: yer değiştiren, yakınlaşan ve derinlik veren
   hareketler kapanır; yumuşak belirme (opaklık) korunur — böylece sayfa ne baş
   döndürür ne de cansız kalır. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal[data-anim] {
    transform: none !important;
    clip-path: none !important;
    filter: none !important;
    transition: opacity 0.6s ease var(--d) !important;
  }

  .hero__slide {
    clip-path: none;
    opacity: 0;
    transition: opacity 0.7s ease;
  }
  .hero__slide.is-prev {
    opacity: 1;
  }
  .hero__slide.is-active {
    opacity: 1;
    transition: opacity 0.7s ease;
  }
  .hero__slide img,
  .hero__slide.is-active img {
    animation: none !important;
    transform: scale(1.02) !important;
  }

  [data-parallax] img {
    transform: scale(1.06) !important;
  }

  .intro > * {
    animation-name: fadeInOnly;
  }
  @keyframes fadeInOnly {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .btn:hover {
    transform: none;
  }
  .card:hover {
    transform: none;
  }
  .card:hover .card__media img,
  .cat-card:hover img {
    transform: none;
  }

  @view-transition {
    navigation: none;
  }
}

@media print {
  .header,
  .topbar,
  .footer,
  .wa,
  .cta-band,
  .mobile-nav {
    display: none !important;
  }
  body {
    color: #000;
  }
}
