/* ============================================================
   Marka fontları — MİM Marka Kılavuzu s. 33-35
   Başlık: NOCTADO Regular · Gövde: McQueen
   ============================================================ */
@font-face {
  font-family: "NOCTADO";
  src: url("../fonts/NOCTADO.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "McQueen";
  src: url("../fonts/McQueen-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "McQueen";
  src: url("../fonts/McQueen-LightItalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "McQueen";
  src: url("../fonts/McQueen-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "McQueen";
  src: url("../fonts/McQueen-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "McQueen";
  src: url("../fonts/McQueen-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "McQueen";
  src: url("../fonts/McQueen-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   EXPORTROIA
   ------------------------------------------------------------
   Signature: "the crossing" (geçiş hattı) — a 1px cyan rule
   that ends in a small ✕ node, the letterform lifted straight
   out of the EXPORTROIA wordmark. A line that reaches a border
   and crosses it: that is the whole business, and it is the
   only ornament on the page. It sits under the nav, beside
   every section label, under the hero headline, at the end of
   every arrow link, and across the footer. Nothing else
   decorates; the rest is white space and type.
   ============================================================ */

:root {
  /* Brand — MİM Marka Kılavuzu s. 26-27 */
  --navy: #01273e; /* Gece  %30 */
  --cream: #eeeae7; /* Taş   %60 */
  --cyan: #70d3ef; /* Deniz %10 */

  /* Extended neutrals — hepsi Gece'nin türevi */
  --deep: #011b2c;
  --paper: #f7f5f3;
  --white: #ffffff;
  --cyan-ink: #10728d; /* Deniz'in metin tonu — açık zeminde AA */

  --ink-70: rgba(1, 39, 62, 0.72);
  /* Etiket tonu. %50'de Taş üstünde kontrast 3.1'e düşüyordu;
     12 px etiketler için AA (4.5) gereği %64'e çekildi. */
  --ink-label: rgba(1, 39, 62, 0.64);
  --line: rgba(1, 39, 62, 0.14);
  --cream-70: rgba(238, 234, 231, 0.72);
  /* Aynı gerekçe: %45'te Gece üstünde 3.7 idi, %58'de 5.2. */
  --cream-label: rgba(238, 234, 231, 0.58);
  --cream-line: rgba(238, 234, 231, 0.18);

  --shadow-md: 0 24px 50px -34px rgba(1, 39, 62, 0.45);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;

  --gutter: clamp(20px, 5vw, 76px);
  --wrap: 1280px;
  --pad-y: clamp(76px, 10vw, 148px);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: "McQueen", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: clamp(15.5px, 0.4vw + 14.2px, 17px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  /* `clip`, `hidden` değil: hidden <body>'yi scroll container yapıp
     kök öğedeki anchor kaydırmasını bozuyor. */
  overflow-x: clip;
}

/* Mobil menü açıkken gövde kilidi. iOS Safari'de `overflow:hidden` tek
   başına tutmuyor — sayfa altta kaymaya devam ediyor — bu yüzden gövde
   sabitleniyor, main.js kapanışta offset'i geri veriyor. */
body.is-locked {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--cyan-ink);
  outline-offset: 3px;
}

.section--navy :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--cyan);
}

::selection {
  background: var(--cyan);
  color: var(--navy);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 300;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--cream);
}

/* ============================================================
   Tipografi — tüm metinler sola hizalı (Kılavuz s. 33)
   ============================================================ */
h1,
h2,
h3,
h4 {
  font-family: "NOCTADO", Georgia, serif;
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

/* NOCTADO tek ağırlıklı; tarayıcı sahte italik/bold üretmesin diye
   başlık vurgusu stille değil Deniz tonuyla taşınıyor. */
h1 em,
h2 em,
h3 em {
  font-style: normal;
  font-weight: 400;
  color: var(--cyan-ink);
}

.hero__title em,
.page-hero__title em,
.section--navy :is(h1, h2, h3) em {
  color: var(--cyan);
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

/* Vurgu bold ile yapılır — renk veya italikle değil (Kılavuz s. 33) */
strong,
b {
  font-weight: 700;
}

/* Yardımcı ses: NOCTADO küçük punto, dik ve geniş harf aralıklı.
   Yalnız etiket ve durum bilgisi için. */
.label {
  font-family: "NOCTADO", Georgia, serif;
  font-weight: 400;
  font-size: 0.75rem; /* 12px — kılavuzun alt sınırı */
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: 860px;
}

/* ============================================================
   Geçiş hattı — sayfanın tek süslemesi
   1px Deniz çizgisi + logodaki ✕ harf formundan düğüm
   ============================================================ */
.xline {
  --x-size: 10px;
  --x-color: var(--cyan);
  position: relative;
  display: block;
  width: 100%;
  height: var(--x-size);
}

.xline::before {
  content: "";
  position: absolute;
  left: 0;
  right: calc(var(--x-size) + 6px);
  top: calc(var(--x-size) / 2 - 0.5px);
  height: 1px;
  background: var(--x-color);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s var(--ease);
}

/* ✕ düğümü: iki çapraz, stroke 1.5 — ikon setiyle aynı kalınlık */
.xline::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: var(--x-size);
  height: var(--x-size);
  opacity: 0;
  transition: opacity 0.45s var(--ease) 0.45s;
  background-image: linear-gradient(
      45deg,
      transparent calc(50% - 0.75px),
      var(--x-color) calc(50% - 0.75px),
      var(--x-color) calc(50% + 0.75px),
      transparent calc(50% + 0.75px)
    ),
    linear-gradient(
      -45deg,
      transparent calc(50% - 0.75px),
      var(--x-color) calc(50% - 0.75px),
      var(--x-color) calc(50% + 0.75px),
      transparent calc(50% + 0.75px)
    );
}

.xline.is-in::before {
  transform: scaleX(1);
}

.xline.is-in::after {
  opacity: 1;
}

.xline--short {
  width: clamp(52px, 8vw, 84px);
}

.xline--tight {
  --x-size: 8px;
}

/* ============================================================
   Bölüm iskeleti
   ============================================================ */
.section {
  padding-block: var(--pad-y);
}

.section--tight {
  padding-block: clamp(56px, 7vw, 104px);
}

.section--cream {
  background: var(--cream);
}

.section--navy {
  background: var(--navy);
  color: var(--cream);
}

.section--navy .section__lead,
.section--navy p {
  color: var(--cream-70);
}

.section__title {
  font-size: clamp(1.85rem, 3.6vw, 3.1rem);
  max-width: 20ch;
}

.section__lead {
  margin-top: 1.15em;
  max-width: 62ch;
  color: var(--ink-70);
  font-size: clamp(1rem, 0.35vw + 0.93rem, 1.125rem);
}

/* Etiket sütunu + içerik. 900px altında tek sütuna iner. */
.split {
  display: grid;
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.split__label {
  color: var(--ink-label);
  padding-top: 0.55em;
}

.section--navy .split__label {
  color: var(--cream-label);
}

.split__label .xline {
  margin-top: 14px;
}

/* ============================================================
   Bağlantı oku — geçiş hattının satır içi hâli
   ============================================================ */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 1.6em;
  min-height: 44px;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.section--navy .arrow-link,
.hero .arrow-link,
.site-footer .arrow-link {
  color: var(--cream);
}

.arrow-link__rule {
  position: relative;
  display: block;
  width: 46px;
  height: 10px;
  flex: none;
  transition: width 0.4s var(--ease);
}

.arrow-link__rule::before {
  content: "";
  position: absolute;
  left: 0;
  right: 16px;
  top: 4px;
  height: 1px;
  background: var(--cyan);
}

.arrow-link__rule::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 10px;
  height: 10px;
  background-image: linear-gradient(
      45deg,
      transparent calc(50% - 0.75px),
      var(--cyan) calc(50% - 0.75px),
      var(--cyan) calc(50% + 0.75px),
      transparent calc(50% + 0.75px)
    ),
    linear-gradient(
      -45deg,
      transparent calc(50% - 0.75px),
      var(--cyan) calc(50% - 0.75px),
      var(--cyan) calc(50% + 0.75px),
      transparent calc(50% + 0.75px)
    );
}

.arrow-link:hover .arrow-link__rule,
a:hover .arrow-link__rule {
  width: 62px;
}

/* ============================================================
   Buton
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 48px;
  padding: 12px 28px;
  background: var(--navy);
  color: var(--cream);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--navy);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.btn:hover {
  background: transparent;
  color: var(--navy);
}

.btn--light {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}

.btn--light:hover {
  background: transparent;
  color: var(--cream);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream-line);
}

.btn--ghost:hover {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-solid,
.site-header.is-static {
  background: var(--navy);
  border-bottom-color: var(--cyan);
}

/* Geçiş hattının ilk görünüşü: nav'ın altındaki 1px */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.site-header.is-solid::after,
.site-header.is-static::after {
  transform: scaleX(1);
}

.header__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}

/* Logo. Güvenli alan: sağında en az bir "x" (≈ logo yüksekliği) boşluk. */
.brand {
  display: block;
  flex: none;
  margin-right: clamp(8px, 2vw, 24px);
}

.brand img {
  width: clamp(150px, 14vw, 190px); /* min 120px kuralının üstünde */
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  margin-left: auto;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--cream);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

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

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--cream-label);
  font-size: 0.8125rem; /* 13px */
  letter-spacing: 0.08em;
}

.lang__btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  color: var(--cream-label);
  transition: color 0.25s var(--ease);
}

.lang__btn:hover {
  color: var(--cream);
}

.lang__btn.is-active {
  color: var(--cyan);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s var(--ease), opacity 0.25s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: min(94vh, 880px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(48px, 7vw, 92px);
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

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

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(1, 39, 62, 0.8) 0%,
      rgba(1, 39, 62, 0.48) 38%,
      rgba(1, 39, 62, 0.86) 100%
    );
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__eyebrow {
  color: var(--cyan);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.hero__title {
  font-size: clamp(2.5rem, 7.2vw, 5.6rem);
  max-width: 15ch; /* masaüstü ve mobilde 4 satırı geçmiyor */
  line-height: 1.02;
}

/* Başlığın oturduğu geçiş hattı */
.hero__rule {
  margin-top: clamp(24px, 3.5vw, 40px);
  max-width: 520px;
}

.hero__lead {
  margin-top: clamp(22px, 3vw, 32px);
  max-width: 46ch;
  color: var(--cream-70);
  font-size: clamp(1.02rem, 0.4vw + 0.94rem, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 40px);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--cream-line);
}

.hero__fact {
  max-width: 24ch;
}

.hero__fact .label {
  color: var(--cyan);
  margin-bottom: 8px;
}

.hero__fact p {
  margin: 0;
  color: var(--cream-70);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   Sayfa başlığı (iç sayfalar)
   ============================================================ */
.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 108px));
  padding-bottom: clamp(56px, 8vw, 104px);
}

.page-hero__title {
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  max-width: 17ch;
}

.page-hero__lead {
  margin-top: 1.1em;
  max-width: 56ch;
  color: var(--cream-70);
  font-size: clamp(1rem, 0.35vw + 0.93rem, 1.125rem);
}

.page-hero .xline {
  margin-top: clamp(22px, 3vw, 34px);
  max-width: 420px;
}

/* Sayfa başlığının altına oturan tam genişlikte görsel şeridi */
.plate-strip {
  display: block;
  background: var(--navy);
}

.plate-strip img {
  width: 100%;
  height: clamp(220px, 34vw, 420px);
  object-fit: cover;
}

/* ============================================================
   Kapasite kartları (hizmetler)
   ============================================================ */
.capability {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 1px;
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--line);
  border-block: 1px solid var(--line);
}

.section--navy .capability {
  background: var(--cream-line);
  border-block-color: var(--cream-line);
}

.cap {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: clamp(28px, 3vw, 40px) clamp(22px, 2.4vw, 32px);
  transition: background 0.35s var(--ease);
}

.section--cream .cap {
  background: var(--cream);
}

.section--navy .cap {
  background: var(--navy);
}

.cap:hover {
  background: var(--white);
}

.section--navy .cap:hover {
  background: var(--deep);
}

.cap__no {
  font-family: "NOCTADO", Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--cyan-ink);
  display: block;
  margin-bottom: 18px;
}

.section--navy .cap__no {
  color: var(--cyan);
}

.cap__title {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  margin-bottom: 12px;
  max-width: 16ch;
}

.cap__text {
  margin: 0;
  color: var(--ink-70);
  font-size: 0.95rem;
  line-height: 1.65;
}

.section--navy .cap__text {
  color: var(--cream-70);
}

/* Kart yükseklikleri farklı olsa da geçiş hattı hep aynı hizada bitsin.
   Asgari boşluk metnin altından geliyor; `auto` da kartın dibine itiyor. */
.cap__text {
  margin-bottom: 24px;
}

.cap .xline {
  margin-top: auto;
  max-width: 68px;
}

/* ============================================================
   İki sütun liste (ihracat / ithalat)
   ============================================================ */
.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 5vw, 80px);
  margin-top: clamp(40px, 5vw, 64px);
}

.duo__title {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.duo .xline {
  margin-block: 20px 26px;
  max-width: 120px;
}

.ticklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticklist li {
  position: relative;
  padding-left: 30px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-70);
}

.section--navy .ticklist li {
  border-bottom-color: var(--cream-line);
  color: var(--cream-70);
}

.ticklist li:first-child {
  border-top: 1px solid var(--line);
}

.section--navy .ticklist li:first-child {
  border-top-color: var(--cream-line);
}

/* Madde işareti de aynı ✕ düğümü */
.ticklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.32em;
  width: 9px;
  height: 9px;
  background-image: linear-gradient(
      45deg,
      transparent calc(50% - 0.75px),
      var(--cyan-ink) calc(50% - 0.75px),
      var(--cyan-ink) calc(50% + 0.75px),
      transparent calc(50% + 0.75px)
    ),
    linear-gradient(
      -45deg,
      transparent calc(50% - 0.75px),
      var(--cyan-ink) calc(50% - 0.75px),
      var(--cyan-ink) calc(50% + 0.75px),
      transparent calc(50% + 0.75px)
    );
}

.section--navy .ticklist li::before {
  background-image: linear-gradient(
      45deg,
      transparent calc(50% - 0.75px),
      var(--cyan) calc(50% - 0.75px),
      var(--cyan) calc(50% + 0.75px),
      transparent calc(50% + 0.75px)
    ),
    linear-gradient(
      -45deg,
      transparent calc(50% - 0.75px),
      var(--cyan) calc(50% - 0.75px),
      var(--cyan) calc(50% + 0.75px),
      transparent calc(50% + 0.75px)
    );
}

/* ============================================================
   Görsel + metin ikilisi
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.feature--flip .feature__media {
  order: 2;
}

.feature__media img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
}

.feature__body .xline {
  margin-block: 22px 26px;
  max-width: 160px;
}

/* Ticaret koridoru haritası */
.corridor {
  margin-top: clamp(36px, 5vw, 56px);
  border: 1px solid var(--line);
  background: var(--white);
}

.corridor img {
  width: 100%;
}

.corridor__legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.corridor__item {
  background: var(--white);
  padding: 18px clamp(16px, 2vw, 24px);
}

.corridor__item .label {
  color: var(--ink-label);
  letter-spacing: 0.2em; /* 12px'in altına inilmiyor; sıkışmasın diye tracking azaltıldı */
  margin-bottom: 6px;
}

.corridor__item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================================
   Referans galerisi
   ============================================================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(32px, 4vw, 48px);
}

.filter {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  color: var(--ink-70);
  font-size: 0.9rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.filter:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(28px, 3.5vw, 40px);
}

.shot {
  position: relative;
  display: block;
}

.shot.is-hidden {
  display: none;
}

/* Görselin kendi kırpma kutusu — hover'daki büyüme altyazıya taşmasın */
.shot__media {
  display: block;
  overflow: hidden;
  background: var(--navy);
}

.shot__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.4s var(--ease);
}

.shot:hover .shot__media img {
  transform: scale(1.03);
  opacity: 0.9;
}

.shot__cap {
  padding: 16px 2px 0;
}

.shot__cap strong {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}

.shot__cap span {
  display: block;
  color: var(--ink-label);
  font-size: 0.85rem;
}

.section--navy .shot__cap strong {
  color: var(--cream);
}

.section--navy .shot__cap span {
  color: var(--cream-label);
}

/* ============================================================
   Referans / ortak logo şeritleri
   ============================================================ */
.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 52px);
}

.logo-row__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 88px;
  padding: 12px 0;
  transition: opacity 0.3s var(--ease);
  opacity: 0.82;
}

.logo-row__item:hover {
  opacity: 1;
}

.logo-row__item img {
  max-width: 148px;
  width: 100%;
  height: auto;
}

.logo-row--marks .logo-row__item img {
  max-width: 96px;
}

/* ============================================================
   Künye / bilgi listesi
   ============================================================ */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  margin-top: clamp(36px, 4.5vw, 56px);
  background: var(--line);
  border: 1px solid var(--line);
}

.section--navy .facts {
  background: var(--cream-line);
  border-color: var(--cream-line);
}

.fact {
  background: var(--paper);
  padding: clamp(22px, 2.4vw, 30px);
}

.section--cream .fact {
  background: var(--cream);
}

.section--navy .fact {
  background: var(--navy);
}

.fact .label {
  color: var(--ink-label);
  margin-bottom: 10px;
}

.section--navy .fact .label {
  color: var(--cyan);
}

.fact p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.fact a:hover {
  color: var(--cyan-ink);
}

.section--navy .fact a:hover {
  color: var(--cyan);
}

/* ============================================================
   Form
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Sadece doku olsun; form alanlarının kenarını yutmasın. */
  opacity: 0.1;
}

.cta .wrap {
  position: relative;
}

/* İki sütun sabit: `auto-fit` geniş ekranda üç sütuna çıkıp
   son alanı tek başına bırakıyordu. */
.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px 24px;
  margin-top: clamp(32px, 4vw, 44px);
}

@media (min-width: 620px) {
  .form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.8125rem; /* 13px */
  letter-spacing: 0.06em;
  color: var(--cream-70);
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--cream);
  background: rgba(238, 234, 231, 0.06);
  border: 1px solid var(--cream-line);
  border-radius: 0;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

/* Açılır liste oku. Burada ✕ kullanılmıyor: bir <select> içinde ✕,
   "temizle" düğmesi gibi okunuyor. Aynı 1.5 stroke diliyle çizilmiş
   bir chevron doğru işaret. */
.field select {
  background-image: linear-gradient(
      45deg,
      transparent 50%,
      var(--cyan) 50%,
      var(--cyan) calc(50% + 1.5px),
      transparent calc(50% + 1.5px)
    ),
    linear-gradient(
      -45deg,
      transparent 50%,
      var(--cyan) 50%,
      var(--cyan) calc(50% + 1.5px),
      transparent calc(50% + 1.5px)
    );
  background-size: 7px 7px, 7px 7px;
  background-position: right 21px center, right 15px center;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.field select option {
  color: var(--navy);
  background: var(--cream);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  background: rgba(238, 234, 231, 0.1);
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--cream-label);
}

/* Bot tuzağı */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem; /* 14px */
  line-height: 1.6;
  color: var(--cream-70);
  cursor: pointer;
  min-height: 44px;
  padding-block: 4px;
}

.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--cyan);
}

.consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--cream);
}

.consent a:hover {
  color: var(--cyan);
}

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.form__note {
  font-size: 0.8125rem;
  color: var(--cream-label);
}

.form__msg {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--cyan);
}

.form__msg.is-error {
  color: #ffb4a8;
}

/* ============================================================
   Yasal metin
   ============================================================ */
.prose h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-top: 2.2em;
  margin-bottom: 0.7em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.prose p,
.prose li {
  color: var(--ink-70);
  font-size: 0.975rem;
  line-height: 1.8;
}

.prose ul {
  margin: 0 0 1.2em;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--cyan-ink);
}

.prose .xline {
  margin-block: 2.4em 2.2em;
  max-width: 220px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding-block: clamp(56px, 7vw, 88px) 32px;
}

.site-footer .xline {
  margin-bottom: clamp(36px, 4vw, 52px);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(32px, 4vw, 56px);
}

.footer__brand {
  display: inline-block;
  margin-bottom: 22px;
}

.footer__brand img {
  width: 190px;
}

.footer__addr {
  margin: 0;
  color: var(--cream-70);
  font-size: 0.9rem;
  line-height: 1.85;
}

.footer__addr a:hover {
  color: var(--cyan);
}

.footer__heading {
  display: block;
  color: var(--cyan);
  margin-bottom: 18px;
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__list li {
  margin-bottom: 2px;
}

.footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--cream-70);
  font-size: 0.9rem;
  transition: color 0.25s var(--ease);
}

.footer__list a:hover {
  color: var(--cream);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--cream-line);
  color: var(--cream-label);
  font-size: 0.8125rem;
}

.footer__bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer__bottom a:hover {
  color: var(--cream);
}

.social {
  display: flex;
  gap: 4px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--cream-70);
  transition: color 0.25s var(--ease);
}

.social a:hover {
  color: var(--cyan);
}

.social svg {
  width: 19px;
  height: 19px;
}

/* ============================================================
   Çerez şeridi
   ============================================================ */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 680px;
  margin-inline: auto;
  padding: 18px 22px;
  background: var(--navy);
  color: var(--cream-70);
  border: 1px solid var(--cyan);
  font-size: 0.85rem;
  line-height: 1.6;
  box-shadow: var(--shadow-md);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}

.cookie.is-in {
  transform: none;
  opacity: 1;
}

.cookie a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie button {
  flex: none;
  min-height: 44px;
  padding: 10px 22px;
  background: var(--cream);
  color: var(--navy);
  font-size: 0.875rem;
}

.cookie button:hover {
  background: var(--cyan);
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal--d1 {
  transition-delay: 0.09s;
}

.reveal--d2 {
  transition-delay: 0.18s;
}

.reveal--d3 {
  transition-delay: 0.27s;
}

/* ============================================================
   Duraklar — 1024 / 900 / 620 / 400
   ============================================================ */
@media (max-width: 1024px) {
  .split {
    grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  }

  .footer__top {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

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

  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 28px;
    background: var(--navy);
    border-bottom: 1px solid var(--cyan);
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }

  .nav.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.4s var(--ease), visibility 0s;
  }

  .nav__link {
    min-height: 54px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--cream-line);
  }

  .nav__link::after {
    bottom: 0;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .split__label {
    padding-top: 0;
  }

  .split__label .xline {
    margin-top: 12px;
    max-width: 64px;
  }

  .feature--flip .feature__media {
    order: 0;
  }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + clamp(64px, 16vw, 120px));
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 150px; /* mobilde de 120px minimumun üstünde */
  }

  .hero__title {
    max-width: 12ch;
  }

  .hero__facts {
    gap: 22px;
  }

  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 400px) {
  .header__inner {
    gap: 8px;
  }

  .brand img {
    width: 132px;
  }

  .lang__btn {
    min-width: 38px;
    padding: 0 2px;
  }
}

/* ============================================================
   Hareket azaltma tercihi — her şey açık ve sabit
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .xline::before {
    transform: scaleX(1);
  }

  .xline::after {
    opacity: 1;
  }
}

/* ============================================================
   Yazdırma
   ============================================================ */
@media print {
  .site-header,
  .cookie,
  .cta,
  .hero__actions {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
