/* Media Store — Ana sayfa (Figma AnaSayfa Desktop) */
:root {
  --color-bg: #fdfdfd;
  --color-hero: #0d0431;
  --color-black: #0a0a0a;
  --color-white: #ffffff;
  --color-muted: #bfbfbf;
  --color-purple: #9a509f;
  --color-border-light: #f7f7f7;
  /* Figma: Neutral/Shadow 02 */
  --shadow-stat: 0 1px 4px rgba(25, 33, 61, 0.08);
  --shadow-figma-hover: 0 2px 8px rgba(25, 33, 61, 0.12);
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
  --page-max: 1440px;
  --container-pad: clamp(24px, 8vw, 100px);
  --site-header-h: 96px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-black);
  background: var(--color-bg);
  line-height: 1.45;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.page {
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
  background: var(--color-bg);
}

/* İçerik genişliği (Figma 1440 iç hizalama) */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Hero: Figma ile aynı yatay hizalama (120px) */
@media (min-width: 1024px) {
  .container--hero {
    padding-left: 120px;
    padding-right: 120px;
  }
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  background: rgba(253, 253, 253, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.08) 30%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0.45;
}

.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-header--on-dark {
  background: linear-gradient(
    180deg,
    rgba(72, 52, 124, 0.42) 0%,
    rgba(31, 18, 71, 0.34) 100%
  );
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.site-header:not(.site-header--on-dark) {
  background: rgba(253, 253, 253, 0.82);
  border-bottom-color: rgba(10, 10, 10, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.site-header:not(.site-header--on-dark) .site-header__nav {
  color: var(--color-black);
}

.site-header__logo {
  flex-shrink: 0;
}

.site-header__logo-img {
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 62px);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-bg);
}
.site-header__nav li {
  list-style: none;
  padding:0;
  margin:0;
}

.site-header__nav a:hover {
  opacity: 0.85;
}

/* Mobil menüdeki İletişim — masaüstünde üst CTA kullanılır */
.site-header__nav-contact {
  display: none;
}

/* .btn-pill (buttons.css) display:inline-flex — masaüstünde çift CTA olmasın */
.site-header__nav .site-header__nav-contact.btn-pill {
  display: none;
}

.site-header__end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-header__menu-toggle {
  display: none;
  position: relative;
  z-index: 200;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--color-bg);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.site-header:not(.site-header--on-dark) .site-header__menu-toggle {
  color: var(--color-black);
}

.site-header__menu-toggle:focus-visible {
  outline: 2px solid rgba(154, 80, 159, 0.45);
  outline-offset: 2px;
}

.site-header__menu-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 26px;
  height: 18px;
}

.site-header__menu-toggle-line {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: currentColor;
  transition:
    transform 0.28s ease,
    opacity 0.2s ease;
}

.site-header--nav-open .site-header__menu-toggle-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header--nav-open .site-header__menu-toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header--nav-open .site-header__menu-toggle-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-header__backdrop {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --site-header-h: 78px;
  }

  .site-header__inner {
    position: relative;
    z-index: 150;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-header__logo-img {
    height: 48px;
  }

  .site-header__menu-toggle {
    display: inline-flex !important;
  }

  .site-header .btn-pill--header-cta {
    display: none !important;
  }

  /* Açık menü: Figma (siyah bar, beyaz logo) */
  .site-header--nav-open {
    background: #0a0a0a;
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header--nav-open::before {
    opacity: 0;
  }

  .site-header--nav-open .site-header__menu-toggle {
    color: #fdfdfd;
  }

  .site-header__backdrop {
    display: block;
    position: fixed;
    top: var(--site-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 135;
    background: rgba(10, 10, 10, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .site-header--nav-open .site-header__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header__nav {
    display: flex;
    position: fixed;
    top: var(--site-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 140;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    margin: 0;
    padding: 40px var(--container-pad) max(24px, env(safe-area-inset-bottom, 0px));
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: #fdfdfd;
    color: #0a0a0a;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.32s cubic-bezier(0.33, 1, 0.32, 1),
      visibility 0.32s;
    height: calc(100dvh - var(--site-header-h));
    box-sizing: border-box;
  }

  .site-header--nav-open .site-header__nav {
    transform: translateX(0);
    visibility: visible;
  }

  .site-header--nav-open .site-header__inner {
    background: var(----black, #0A0A0A);;
  }

  .site-header--nav-open .site-header__menu-toggle {
    color: #fff !important;
  }

  .site-header--nav-open .site-header__end .btn-pill--header-cta {
    background: var(--color-purple);
    color: #fdfdfd;
  }

  .site-header__nav a:not(.site-header__nav-contact) {
    padding: 14px 16px;
    border-radius: 16px;
    border-bottom: none;
    text-decoration: none;
    color: #0a0a0a;
  }

  .site-header__nav a.site-header__nav-active:not(.site-header__nav-contact) {
    color: var(--color-purple) !important;
    background: rgba(154, 80, 159, 0.1);
  }

  .site-header__nav .site-header__nav-contact.btn-pill {
    display: inline-flex;
    margin-top: auto;
    margin-bottom: 0;
    align-self: stretch;
    width: 100%;
    max-width: none;
    flex-shrink: 0;
  }
}

@media (min-width: 901px) {
  .site-header__menu-toggle {
    display: none !important;
  }

  .site-header__backdrop {
    display: none !important;
    pointer-events: none !important;
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 860px;
  background: var(--color-hero);
  overflow: hidden;
}

/* CMS slider: birden fazla öğe (Esco benzeri sm_slider_items) */
.hero--multi .hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
  z-index: 1;
}

.hero--multi .hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hero__video--image {
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.05);
}

.hero__cta {
  margin-top: 32px;
  margin-bottom: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Soldan okunabilirlik için geçiş */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    #0d0431 0%,
    rgba(13, 4, 49, 0.82) 28%,
    rgba(13, 4, 49, 0.35) 55%,
    transparent 78%
  );
  pointer-events: none;
}

.hero__video-layer {
  position: absolute;
  top: 0;
  right: -5%;
  width: min(115%, 1600px);
  height: 100%;
  min-height: 872px;
  z-index: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.05);
}

/* Figma: mor tema rengi (mix-blend color) */
.hero__video-tint {
  position: absolute;
  inset: 0;
  background: rgba(154, 80, 159, 0.72);
  mix-blend-mode: color;
  pointer-events: none;
}

.hero__video-shade {
  position: absolute;
  inset: 0;
  background: var(--color-hero);
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  /* Figma: top 217px, blok genişliği 924px */
  padding-top: clamp(100px, 18vh, 217px);
  padding-bottom: 80px;
  max-width: 924px;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .hero__video-tint,
  .hero__video-shade {
    display: none;
  }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 140px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.hero__title-line {
  margin: 0;
  display: block;
}

.hero__title-line--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-bg);
  text-stroke: 2px var(--color-bg);
}

.hero__title-line--solid {
  color: var(--color-bg);
}

/* Figma: Sonuca pl-[100px], yolculuk pl-[40px] */
.hero__title-line--indent-sonuca {
  padding-left: 100px;
}

.hero__title-line--indent-yolculuk {
  padding-left: 40px;
}

@media (max-width: 600px) {
  .hero__title-line--indent-sonuca {
    padding-left: clamp(24px, 12vw, 100px);
  }

  .hero__title-line--indent-yolculuk {
    padding-left: clamp(12px, 6vw, 40px);
  }
}

.hero__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  color: var(--color-bg);
  font-size: 14px;
  max-width: 924px;
}

.hero__sub p {
  margin: 0;
  flex: 0 1 auto;
}

/* Figma: 417px + 467px sütunlar */
.hero__sub p:first-child {
  max-width: 417px;
}

.hero__sub p:last-child {
  max-width: 467px;
}

@media (max-width: 900px) {
  .hero {
    min-height: min(100svh, 720px);
  }

  .hero__video-layer {
    right: 0;
    width: 100%;
    min-height: 0;
    height: 100%;
  }

  .hero__bg::after {
    background: linear-gradient(
      180deg,
      #0d0431 0%,
      rgba(13, 4, 49, 0.88) 38%,
      rgba(13, 4, 49, 0.55) 65%,
      rgba(13, 4, 49, 0.25) 100%
    );
  }

  .hero__inner {
    padding-top: max(96px, calc(var(--site-header-h) + 24px));
    padding-bottom: 48px;
    max-width: none;
  }

  .hero__title {
    margin-bottom: clamp(28px, 8vw, 72px);
    font-size: clamp(34px, 10.5vw, 72px);
  }

  .hero__title-line--outline {
    -webkit-text-stroke-width: 1.5px;
  }

  .hero__sub {
    flex-direction: column;
    gap: 20px;
    max-width: none;
  }

  .hero__sub p:first-child,
  .hero__sub p:last-child {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero__title-line--indent-sonuca {
    padding-left: clamp(16px, 8vw, 48px);
  }

  .hero__title-line--indent-yolculuk {
    padding-left: clamp(8px, 4vw, 24px);
  }
}

/* ----- Client logos ----- */
.client-strip {
  position: relative;
  min-height: 200px;
  padding: 36px 0;
  background: var(--color-hero);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-strip__viewport {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.client-strip__track {
  display: flex;
  align-items: center;
  gap: clamp(48px, 8vw, 80px);
  width: max-content;
  animation: marquee 55s linear infinite;
}

.client-strip__group {
  display: flex;
  align-items: center;
  gap: clamp(48px, 8vw, 80px);
  flex-shrink: 0;
}

.client-strip__group img {
  height: 40px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

@media (max-width: 900px) {
  .client-strip {
    min-height: 0;
    padding: 20px 0;
  }

  .client-strip__group img {
    height: 32px;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ----- Mission ----- */
.mission {
  padding-top: 104px;
  padding-bottom: 80px;
  min-height: 574px;
}

@media (max-width: 900px) {
  .mission {
    padding-top: 64px;
    padding-bottom: 56px;
    min-height: 0;
  }
}

.mission__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  max-width: 1253px;
  margin: 0;
}

.mission__lead {
  color: var(--color-black);
}

.mission__rest {
  color: var(--color-muted);
  margin-top: 0.5em;
}

/* ----- Services ----- */
.services-intro {
  padding-top: 60px;
  padding-bottom: 40px;
}

.services-intro h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  margin: 0 0 28px;
}

.services-intro p {
  margin: 0;
  max-width: 870px;
  font-size: 14px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--color-black);
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services__media {
    height: min(52vh, 420px);
  }

  .services__card {
    padding: 28px 20px;
    min-height: 0;
  }

  .services__card-head h3 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .services__lists {
    flex-direction: column;
    gap: 28px;
  }

  .services__item span {
    font-size: 16px;
  }
}

.services-col {
  border-left: 1px solid var(--color-black);
  border-bottom: 1px solid var(--color-black);
  display: flex;
  flex-direction: column;
}

.services-col--reverse {
  flex-direction: column-reverse;
}

.services__media {
  height: 720px;
  overflow: hidden;
  background: #fff;
  position: relative;
}

.services__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services__card {
  border: 1px solid var(--color-black);
  padding: 40px 32px;
  min-height: 400px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
}

.services__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.services__card-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
}

.services__lists {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
  margin-top: auto;
  padding-top: 8px;
}

.services__list {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.services__item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.services__item-icon {
  width: 8px;
  height: 16px;
  max-width: none;
  flex-shrink: 0;
  margin-top: 4px;
  object-fit: contain;
}

.services__item span {
  font-weight: 500;
  font-size: 18px;
  line-height: normal;
  color: var(--color-black);
}

.services__item[data-accordion-trigger] {
  cursor: pointer;
  user-select: none;
}

.services__item[data-accordion-trigger]:focus-visible {
  outline: 2px solid rgba(154, 80, 159, 0.35);
  outline-offset: 3px;
}

.services__nested {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services__item-desc {
  padding-left: 20px;
  margin-top: -12px;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-black);
}

.services__item-desc p:last-child {
  margin-bottom: 0;
}

.services__subtags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-left: 0;
  color: var(--color-black);
}

.services__subtags span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0;
}

/* ----- Stats + CTA block ----- */
.stats-block {
  padding: clamp(80px, 12vw, 180px) 0;
}

.stats-block__inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 220px);
  gap: 22px 24px;
}

.stats-grid .stat-card:first-child,
.stats-grid .stat-card:nth-child(3) {
  margin-top: 20px;
}

.stat-card {
  width: 220px;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow-stat);
}

.stat-card--light {
  background: var(--color-bg);
  border: 2px solid var(--color-border-light);
  color: var(--color-black);
}

.stat-card--dark {
  background: var(--color-black);
  color: var(--color-bg);
}

.stat-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  margin: 0;
}

.stat-card__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin: 0;
}

.stats-content {
  flex: 1 1 320px;
  max-width: 678px;
}

.stats-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.15;
  margin: 0 0 20px;
}

.stats-content h2 .accent {
  color: var(--color-purple);
}

.stats-content > p {
  font-size: 18px;
  margin: 0 0 40px;
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    justify-items: stretch;
  }


  .stat-card {
    width: 100%;
    max-width: none;
  }
}

/* ----- Projects ----- */
.projects {
  padding: 110px 0;
}

.projects__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.projects__head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  margin: 0;
}

@media (max-width: 900px) {
  .projects {
    padding: 64px 0;
  }

  .projects__head {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 40px;
  }
}

.projects__masonry {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 6’dan az öğede JS cluster oluşmaz; slot CSS’i uygulanmaz. Kart modifier sınıflarına göre yükseklik verilir (cluster varken doğrudan child cluster olduğu için çakışmaz). */
.projects__masonry > .project-card.project-card--ratio-16-9 {
  aspect-ratio: 16 / 9;
  width: 100%;
}
.projects__masonry > .project-card.project-card--ratio-3-4 {
  aspect-ratio: 3 / 4;
  width: 100%;
}
.projects__masonry > .project-card.project-card--ratio-1-1 {
  aspect-ratio: 1 / 1;
  width: 100%;
}

.projects__cluster {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.projects__lane {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Üst blok: 631 + 589 */
.projects__cluster--top .projects__lane:first-child {
  width: 631px;
}

.projects__cluster--top .projects__lane:last-child {
  width: 589px;
}

/* Alt blok: 855 + 365 */
.projects__cluster--bottom .projects__lane:first-child {
  width: 855px;
}

.projects__cluster--bottom .projects__lane:last-child {
  width: 365px;
}

/* Slot bazlı aspect-ratio: üst sol */
.projects__cluster--top .projects__lane:first-child .project-card:first-child {
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.projects__cluster--top .projects__lane:first-child .project-card:last-child {
  flex: 1 1 auto;
  min-height: 0;
}

/* Slot bazlı aspect-ratio: üst sağ */
.projects__cluster--top .projects__lane:last-child .project-card:first-child {
  aspect-ratio: 3 / 4;
}

.projects__cluster--top .projects__lane:last-child .project-card:last-child {
  aspect-ratio: 543 / 559;
}

/* Slot bazlı aspect-ratio: alt sol */
.projects__cluster--bottom .projects__lane:first-child .project-card {
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

/* Slot bazlı aspect-ratio: alt sağ — sol kolonla aynı yüksekliğe stretch */
.projects__cluster--bottom .projects__lane:last-child .project-card {
  flex: 1 1 auto;
  min-height: 0;
}

@media (max-width: 1280px) {
  .projects__cluster--top .projects__lane:first-child,
  .projects__cluster--top .projects__lane:last-child,
  .projects__cluster--bottom .projects__lane:first-child,
  .projects__cluster--bottom .projects__lane:last-child {
    width: auto;
    flex: 1 1 0;
  }
}

@media (max-width: 900px) {
  .projects__cluster {
    flex-direction: column;
  }

  .projects__cluster--top .projects__lane:first-child,
  .projects__cluster--top .projects__lane:last-child,
  .projects__cluster--bottom .projects__lane:first-child,
  .projects__cluster--bottom .projects__lane:last-child {
    width: 100%;
    flex: none;
  }
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #0a0a0a;
  cursor: pointer;
}

.project-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1) rotate(0deg);
  transition: transform 0.3s ease-in;
}

.project-card__img--placeholder {
  object-fit: cover;
  background: #141414;
}

.project-card:hover .project-card__img {
  transform: scale(1.04) rotate(2deg);
}

.project-card__overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  padding: 20px;
  background: var(--color-bg);
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  opacity: 0;
  transform: translateY(calc(100% + 20px));
  transition:
    transform 0.3s ease-in,
    opacity 0.3s ease-in;
}

.project-card:hover .project-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-card:focus-within .project-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-card__overlay h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 12px;
}

.project-card__overlay p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(10, 10, 10, 0.8);
}

@media (prefers-reduced-motion: reduce) {
  .project-card__img,
  .project-card__overlay {
    transition: none;
  }

  .project-card:hover .project-card__img {
    transform: none;
  }

  .project-card .project-card__overlay {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dokunmatik: caption her zaman görünsün */
@media (hover: none) {
  .project-card__overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .project-card:hover .project-card__img {
    transform: none;
  }
}

/* ----- Testimonials ----- */
.testimonials {
  padding: 100px 0 60px;
  background: #fff;
  overflow: hidden;
}

.testimonials h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  text-transform: uppercase;
  max-width: 700px;
  line-height: 1;
  margin: 0 0 60px;
}

.testimonial-slider {
  overflow: visible;
  padding-left: var(--container-pad);
  margin-left: max(0px, calc((100vw - var(--page-max)) / 2));
  margin-bottom: 0;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
}

.testimonial-card {
  flex: 0 0 min(calc(100vw - 48px), 500px);
  border: 1px solid var(--color-black);
  overflow: hidden;
  background: #fff;
}

.testimonial-card__top {
  padding: 40px 32px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  align-items: flex-start;
}

.testimonial-card__top--dark {
  background: var(--color-black);
  color: var(--color-bg);
}

.testimonial-card__top--gray {
  background: var(--color-muted);
}

.testimonial-card__person {
  text-align: right;
}

.testimonial-card__person strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 20px;
}

.testimonial-card__avatar {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  position: relative;
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card__avatar img + img {
  position: absolute;
  inset: 0;
}

.testimonial-card__body {
  padding: 40px 32px;
  font-size: 18px;
}

.testimonial-card__body--accent {
  background: var(--color-purple);
  color: var(--color-bg);
}

@media (max-width: 900px) {
  .testimonials {
    padding: 56px 0 40px;
  }

  .testimonials h2 {
    margin-bottom: 36px;
  }

  .testimonial-slider {
    margin-left: 0;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }

  .testimonial-card__top {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding: 28px 20px;
    gap: 16px;
  }

  .testimonial-card__person {
    text-align: left;
  }

  .testimonial-card__person strong {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .testimonial-card__avatar {
    width: min(160px, 40vw);
    height: min(160px, 40vw);
  }

  .testimonial-card__body {
    padding: 24px 20px;
    font-size: 16px;
  }
}

.testimonial-nav {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  padding: 40px 0 0;
}

.testimonial-nav__btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-muted);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease;
}

.testimonial-nav__btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  rotate: 45deg;
}

.testimonial-nav__btn--prev img {
  transform: rotate(180deg);
}

.testimonial-nav__btn:hover {
  background: var(--color-black);
}

/* ----- SEO text ----- */
.seo-block {
  padding: 60px 0 100px;
  background: #fff;
}

.seo-block h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 24px;
}

.seo-block p {
  font-size: 18px;
  margin: 0;
  white-space: pre-wrap;
}

@media (max-width: 768px) {
  .seo-block {
    padding: 40px 0 60px;
  }

  .seo-block h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .seo-block p {
    font-size: 14px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .seo-block {
    padding: 60px 0;
  }

  .seo-block h2 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .seo-block p {
    font-size: 12px;
    line-height: 1.7;
  }
}

/* ----- Footer ----- */
.footer {
  padding: 80px 0 40px;
  background: var(--color-bg);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 100px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 62px;
}

.footer__logo {
  height: 56px;
  width: fit-content;
}

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 100px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
}

.footer__contact h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 48px;
}

.footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer__contact-row img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__cta {
  flex: 1 1 320px;
  max-width: 520px;
  text-align: right;
}

.footer__cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--color-purple);
  margin: 0 0 45px;
}

.footer__cta p {
  font-size: 18px;
  margin: 0 0 60px;
  margin-left: auto;
  max-width: 498px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 100px;
  font-weight: 500;
  font-size: 16px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__social a {
  display: flex;
  transition: opacity 0.2s ease;
}

.footer__social a:hover {
  opacity: 0.7;
}

.footer__social img {
  height: 24px;
  width: 24px;
}

@media (max-width: 900px) {
  .footer {
    padding: 56px 0 32px;
  }

  .footer__top {
    flex-direction: column;
    gap: 48px;
    margin-bottom: 56px;
  }

  .footer__brand {
    gap: 40px;
  }

  .footer__cols {
    flex-direction: column;
    gap: 40px;
  }

  .footer__links {
    gap: 24px;
    font-size: 20px;
  }

  .footer__cta {
    flex: none;
    max-width: none;
    text-align: left;
  }

  .footer__cta p {
    margin-left: 0;
    max-width: none;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__legal {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 60px 0 40px;
  }

  .footer__top {
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer__brand {
    gap: 32px;
  }

  .footer__logo {
    height: 40px;
  }

  .footer__cols {
    gap: 32px;
  }

  .footer__links {
    gap: 32px;
    font-size: 18px;
  }

  .footer__contact h3 {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .footer__contact-row {
    font-size: 12px;
  }

  .footer__contact-row img {
    width: 16px;
    height: 16px;
  }

  .footer__cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .footer__cta p {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .footer__bottom {
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer__legal {
    align-items: center;
    gap: 20px;
  }

  .footer__legal span,
  .footer__legal a {
    font-size: 14px;
  }

  .footer__social {
    justify-content: center;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
